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,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
3,
4,
18,
13,
17,
4,
18,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
101,
11
],
[
101,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
14,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
14,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
14,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
43,
50
],
[
50,
51
],
[
50,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
43,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
57,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
57,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
57,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
14,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
14,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
84,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
12,
98
],
[
98,
99
],
[
0,
100
],
[
100,
101
],
[
100,
102
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n\n String input = br.readLine();\n int n = Integer.parseInt(input);\n input = br.readLine();\n String[] strArray = input.split(\" \");\n\n for (int i = (n - 1); i >= 0; i--) {\n int x = Integer.parseInt(strArray[i]);\n output.append(x);\n if(i == 0){\n break;\n }\n output.append(\" \");\n }\n output.append(\"\\n\");\n\n try {\n System.out.print(output);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n\n String input = br.readLine();\n int n = Integer.parseInt(input);\n input = br.readLine();\n String[] strArray = input.split(\" \");\n\n for (int i = (n - 1); i >= 0; i--) {\n int x = Integer.parseInt(strArray[i]);\n output.append(x);\n if(i == 0){\n break;\n }\n output.append(\" \");\n }\n output.append(\"\\n\");\n\n try {\n System.out.print(output);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n\n String input = br.readLine();\n int n = Integer.parseInt(input);\n input = br.readLine();\n String[] strArray = input.split(\" \");\n\n for (int i = (n - 1); i >= 0; i--) {\n int x = Integer.parseInt(strArray[i]);\n output.append(x);\n if(i == 0){\n break;\n }\n output.append(\" \");\n }\n output.append(\"\\n\");\n\n try {\n System.out.print(output);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n\n String input = br.readLine();\n int n = Integer.parseInt(input);\n input = br.readLine();\n String[] strArray = input.split(\" \");\n\n for (int i = (n - 1); i >= 0; i--) {\n int x = Integer.parseInt(strArray[i]);\n output.append(x);\n if(i == 0){\n break;\n }\n output.append(\" \");\n }\n output.append(\"\\n\");\n\n try {\n System.out.print(output);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder output = new StringBuilder();",
"output",
"new StringBuilder()",
"String input = br.readLine();",
"input",
"br.readLine()",
"br.readLine",
"br",
"int n = Integer.parseInt(input);",
"n",
"Integer.parseInt(input)",
"Integer.parseInt",
"Integer",
"input",
"input = br.readLine()",
"input",
"br.readLine()",
"br.readLine",
"br",
"String[] strArray = input.split(\" \");",
"strArray",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"for (int i = (n - 1); i >= 0; i--) {\n int x = Integer.parseInt(strArray[i]);\n output.append(x);\n if(i == 0){\n break;\n }\n output.append(\" \");\n }",
"int i = (n - 1);",
"int i = (n - 1);",
"i",
"(n - 1)",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n int x = Integer.parseInt(strArray[i]);\n output.append(x);\n if(i == 0){\n break;\n }\n output.append(\" \");\n }",
"{\n int x = Integer.parseInt(strArray[i]);\n output.append(x);\n if(i == 0){\n break;\n }\n output.append(\" \");\n }",
"int x = Integer.parseInt(strArray[i]);",
"x",
"Integer.parseInt(strArray[i])",
"Integer.parseInt",
"Integer",
"strArray[i]",
"strArray",
"i",
"output.append(x)",
"output.append",
"output",
"x",
"if(i == 0){\n break;\n }",
"i == 0",
"i",
"0",
"{\n break;\n }",
"break;",
"output.append(\" \")",
"output.append",
"output",
"\" \"",
"output.append(\"\\n\")",
"output.append",
"output",
"\"\\n\"",
"try {\n System.out.print(output);\n } catch (Exception e) {\n e.printStackTrace();\n }",
"catch (Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n System.out.print(output);\n }",
"System.out.print(output)",
"System.out.print",
"System.out",
"System",
"System.out",
"output",
"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 StringBuilder output = new StringBuilder();\n\n String input = br.readLine();\n int n = Integer.parseInt(input);\n input = br.readLine();\n String[] strArray = input.split(\" \");\n\n for (int i = (n - 1); i >= 0; i--) {\n int x = Integer.parseInt(strArray[i]);\n output.append(x);\n if(i == 0){\n break;\n }\n output.append(\" \");\n }\n output.append(\"\\n\");\n\n try {\n System.out.print(output);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n\n String input = br.readLine();\n int n = Integer.parseInt(input);\n input = br.readLine();\n String[] strArray = input.split(\" \");\n\n for (int i = (n - 1); i >= 0; i--) {\n int x = Integer.parseInt(strArray[i]);\n output.append(x);\n if(i == 0){\n break;\n }\n output.append(\" \");\n }\n output.append(\"\\n\");\n\n try {\n System.out.print(output);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder output = new StringBuilder();
String input = br.readLine();
int n = Integer.parseInt(input);
input = br.readLine();
String[] strArray = input.split(" ");
for (int i = (n - 1); i >= 0; i--) {
int x = Integer.parseInt(strArray[i]);
output.append(x);
if(i == 0){
break;
}
output.append(" ");
}
output.append("\n");
try {
System.out.print(output);
} catch (Exception e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
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,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
17,
4,
18,
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
],
[
110,
11
],
[
110,
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
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
14,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
14,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
14,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
14,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
66,
75
],
[
75,
76
],
[
75,
77
],
[
66,
78
],
[
78,
79
],
[
79,
80
],
[
66,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
82,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
82,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
14,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
12,
107
],
[
107,
108
],
[
0,
109
],
[
109,
110
],
[
109,
111
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tString first = br.readLine();\n\t\tint[] a = new int[Integer.parseInt(first)];\n\t\tString str = br.readLine();\n\t\tString[] stra = str.split(\" \");\n\t\tfor (int i = 0 ; i < a.length ; i++){\n\t\t\ta[i] = Integer.parseInt(stra[i]);\n\t\t}\n\t\tfor (int i = a.length-1 ; i >= 0 ; i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif ( i == 0) break;\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\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\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tString first = br.readLine();\n\t\tint[] a = new int[Integer.parseInt(first)];\n\t\tString str = br.readLine();\n\t\tString[] stra = str.split(\" \");\n\t\tfor (int i = 0 ; i < a.length ; i++){\n\t\t\ta[i] = Integer.parseInt(stra[i]);\n\t\t}\n\t\tfor (int i = a.length-1 ; i >= 0 ; i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif ( i == 0) break;\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tString first = br.readLine();\n\t\tint[] a = new int[Integer.parseInt(first)];\n\t\tString str = br.readLine();\n\t\tString[] stra = str.split(\" \");\n\t\tfor (int i = 0 ; i < a.length ; i++){\n\t\t\ta[i] = Integer.parseInt(stra[i]);\n\t\t}\n\t\tfor (int i = a.length-1 ; i >= 0 ; i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif ( i == 0) break;\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tString first = br.readLine();\n\t\tint[] a = new int[Integer.parseInt(first)];\n\t\tString str = br.readLine();\n\t\tString[] stra = str.split(\" \");\n\t\tfor (int i = 0 ; i < a.length ; i++){\n\t\t\ta[i] = Integer.parseInt(stra[i]);\n\t\t}\n\t\tfor (int i = a.length-1 ; i >= 0 ; i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif ( i == 0) break;\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}",
"BufferedReader br =new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String first = br.readLine();",
"first",
"br.readLine()",
"br.readLine",
"br",
"int[] a = new int[Integer.parseInt(first)];",
"a",
"new int[Integer.parseInt(first)]",
"Integer.parseInt(first)",
"Integer.parseInt",
"Integer",
"first",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] stra = str.split(\" \");",
"stra",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"for (int i = 0 ; i < a.length ; i++){\n\t\t\ta[i] = Integer.parseInt(stra[i]);\n\t\t}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = Integer.parseInt(stra[i]);\n\t\t}",
"{\n\t\t\ta[i] = Integer.parseInt(stra[i]);\n\t\t}",
"a[i] = Integer.parseInt(stra[i])",
"a[i]",
"a",
"i",
"Integer.parseInt(stra[i])",
"Integer.parseInt",
"Integer",
"stra[i]",
"stra",
"i",
"for (int i = a.length-1 ; i >= 0 ; i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif ( i == 0) break;\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"int i = a.length-1 ;",
"int i = a.length-1 ;",
"i",
"a.length-1",
"a.length",
"a",
"a.length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif ( i == 0) break;\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"{\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif ( i == 0) break;\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"System.out.print(a[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"if ( i == 0) break;",
"i == 0",
"i",
"0",
"break;",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tString first = br.readLine();\n\t\tint[] a = new int[Integer.parseInt(first)];\n\t\tString str = br.readLine();\n\t\tString[] stra = str.split(\" \");\n\t\tfor (int i = 0 ; i < a.length ; i++){\n\t\t\ta[i] = Integer.parseInt(stra[i]);\n\t\t}\n\t\tfor (int i = a.length-1 ; i >= 0 ; i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif ( i == 0) break;\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tString first = br.readLine();\n\t\tint[] a = new int[Integer.parseInt(first)];\n\t\tString str = br.readLine();\n\t\tString[] stra = str.split(\" \");\n\t\tfor (int i = 0 ; i < a.length ; i++){\n\t\t\ta[i] = Integer.parseInt(stra[i]);\n\t\t}\n\t\tfor (int i = a.length-1 ; i >= 0 ; i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif ( i == 0) break;\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\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 first = br.readLine();
int[] a = new int[Integer.parseInt(first)];
String str = br.readLine();
String[] stra = str.split(" ");
for (int i = 0 ; i < a.length ; i++){
a[i] = Integer.parseInt(stra[i]);
}
for (int i = a.length-1 ; i >= 0 ; i--){
System.out.print(a[i]);
if ( i == 0) break;
System.out.print(" ");
}
System.out.println();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
4,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
14,
2,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
2,
18,
13,
13,
17,
13,
0,
18,
13,
2,
2,
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
],
[
161,
11
],
[
161,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
28,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
37,
38
],
[
37,
39
],
[
14,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
14,
64
],
[
64,
65
],
[
64,
66
],
[
14,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
67,
77
],
[
77,
78
],
[
78,
79
],
[
67,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
81,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
94,
95
],
[
94,
96
],
[
81,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
12,
107
],
[
107,
108
],
[
161,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
112,
124
],
[
124,
125
],
[
125,
126
],
[
112,
127
],
[
128,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
131,
133
],
[
128,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
134,
138
],
[
138,
139
],
[
138,
140
],
[
141,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
141,
146
],
[
128,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
151,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
151,
155
],
[
151,
156
],
[
147,
157
],
[
109,
158
],
[
158,
159
],
[
0,
160
],
[
160,
161
],
[
160,
162
]
] | [
"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 reader = new BufferedReader(new InputStreamReader(System.in));\n int length = Integer.parseInt(reader.readLine());\n \n String[] intAryStr = reader.readLine().split(\" \");\n int[] intAry = new int[intAryStr.length];\n for (int i = 0; i < intAry.length; i++)\n intAry[i] = Integer.parseInt(intAryStr[i]);\n \n reverse(intAry);\n\n for (int i = 0; i < intAry.length; i++)\n if (i == intAry.length-1)\n System.out.println(intAry[i]);\n else\n System.out.print(intAry[i] + \" \");\n }\n\n public static void reverse(int[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n int tmp = array[i];\n array[i] = array[array.length-1-i];\n array[array.length-1-i] = tmp;\n }\n }\n \n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int length = Integer.parseInt(reader.readLine());\n \n String[] intAryStr = reader.readLine().split(\" \");\n int[] intAry = new int[intAryStr.length];\n for (int i = 0; i < intAry.length; i++)\n intAry[i] = Integer.parseInt(intAryStr[i]);\n \n reverse(intAry);\n\n for (int i = 0; i < intAry.length; i++)\n if (i == intAry.length-1)\n System.out.println(intAry[i]);\n else\n System.out.print(intAry[i] + \" \");\n }\n\n public static void reverse(int[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n int tmp = array[i];\n array[i] = array[array.length-1-i];\n array[array.length-1-i] = tmp;\n }\n }\n \n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int length = Integer.parseInt(reader.readLine());\n \n String[] intAryStr = reader.readLine().split(\" \");\n int[] intAry = new int[intAryStr.length];\n for (int i = 0; i < intAry.length; i++)\n intAry[i] = Integer.parseInt(intAryStr[i]);\n \n reverse(intAry);\n\n for (int i = 0; i < intAry.length; i++)\n if (i == intAry.length-1)\n System.out.println(intAry[i]);\n else\n System.out.print(intAry[i] + \" \");\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int length = Integer.parseInt(reader.readLine());\n \n String[] intAryStr = reader.readLine().split(\" \");\n int[] intAry = new int[intAryStr.length];\n for (int i = 0; i < intAry.length; i++)\n intAry[i] = Integer.parseInt(intAryStr[i]);\n \n reverse(intAry);\n\n for (int i = 0; i < intAry.length; i++)\n if (i == intAry.length-1)\n System.out.println(intAry[i]);\n else\n System.out.print(intAry[i] + \" \");\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"int length = Integer.parseInt(reader.readLine());",
"length",
"Integer.parseInt(reader.readLine())",
"Integer.parseInt",
"Integer",
"reader.readLine()",
"reader.readLine",
"reader",
"String[] intAryStr = reader.readLine().split(\" \");",
"intAryStr",
"reader.readLine().split(\" \")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"int[] intAry = new int[intAryStr.length];",
"intAry",
"new int[intAryStr.length]",
"intAryStr.length",
"intAryStr",
"intAryStr.length",
"for (int i = 0; i < intAry.length; i++)\n intAry[i] = Integer.parseInt(intAryStr[i]);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < intAry.length",
"i",
"intAry.length",
"intAry",
"intAry.length",
"i++",
"i++",
"i",
"intAry[i] = Integer.parseInt(intAryStr[i]);",
"intAry[i] = Integer.parseInt(intAryStr[i])",
"intAry[i]",
"intAry",
"i",
"Integer.parseInt(intAryStr[i])",
"Integer.parseInt",
"Integer",
"intAryStr[i]",
"intAryStr",
"i",
"reverse(intAry)",
"reverse",
"intAry",
"for (int i = 0; i < intAry.length; i++)\n if (i == intAry.length-1)\n System.out.println(intAry[i]);\n else\n System.out.print(intAry[i] + \" \");",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < intAry.length",
"i",
"intAry.length",
"intAry",
"intAry.length",
"i++",
"i++",
"i",
"if (i == intAry.length-1)\n System.out.println(intAry[i]);\n else\n System.out.print(intAry[i] + \" \");",
"if (i == intAry.length-1)\n System.out.println(intAry[i]);\n else\n System.out.print(intAry[i] + \" \");",
"i == intAry.length-1",
"i",
"intAry.length-1",
"intAry.length",
"intAry",
"intAry.length",
"1",
"System.out.println(intAry[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"intAry[i]",
"intAry",
"i",
"System.out.print(intAry[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"intAry[i] + \" \"",
"intAry[i]",
"intAry",
"i",
"\" \"",
"String[] args",
"args",
"public static void reverse(int[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n int tmp = array[i];\n array[i] = array[array.length-1-i];\n array[array.length-1-i] = tmp;\n }\n }",
"reverse",
"{\n for (int i = 0; i < array.length / 2; i++) {\n int tmp = array[i];\n array[i] = array[array.length-1-i];\n array[array.length-1-i] = tmp;\n }\n }",
"for (int i = 0; i < array.length / 2; i++) {\n int tmp = array[i];\n array[i] = array[array.length-1-i];\n array[array.length-1-i] = tmp;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length / 2",
"i",
"array.length / 2",
"array.length",
"array",
"array.length",
"2",
"i++",
"i++",
"i",
"{\n int tmp = array[i];\n array[i] = array[array.length-1-i];\n array[array.length-1-i] = tmp;\n }",
"{\n int tmp = array[i];\n array[i] = array[array.length-1-i];\n array[array.length-1-i] = tmp;\n }",
"int tmp = array[i];",
"tmp",
"array[i]",
"array",
"i",
"array[i] = array[array.length-1-i]",
"array[i]",
"array",
"i",
"array[array.length-1-i]",
"array",
"array.length-1-i",
"array.length-1-i",
"array.length",
"array",
"array.length",
"1",
"i",
"array[array.length-1-i] = tmp",
"array[array.length-1-i]",
"array",
"array.length-1-i",
"array.length-1-i",
"array.length",
"array",
"array.length",
"1",
"i",
"tmp",
"int[] array",
"array",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int length = Integer.parseInt(reader.readLine());\n \n String[] intAryStr = reader.readLine().split(\" \");\n int[] intAry = new int[intAryStr.length];\n for (int i = 0; i < intAry.length; i++)\n intAry[i] = Integer.parseInt(intAryStr[i]);\n \n reverse(intAry);\n\n for (int i = 0; i < intAry.length; i++)\n if (i == intAry.length-1)\n System.out.println(intAry[i]);\n else\n System.out.print(intAry[i] + \" \");\n }\n\n public static void reverse(int[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n int tmp = array[i];\n array[i] = array[array.length-1-i];\n array[array.length-1-i] = tmp;\n }\n }\n \n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int length = Integer.parseInt(reader.readLine());\n \n String[] intAryStr = reader.readLine().split(\" \");\n int[] intAry = new int[intAryStr.length];\n for (int i = 0; i < intAry.length; i++)\n intAry[i] = Integer.parseInt(intAryStr[i]);\n \n reverse(intAry);\n\n for (int i = 0; i < intAry.length; i++)\n if (i == intAry.length-1)\n System.out.println(intAry[i]);\n else\n System.out.print(intAry[i] + \" \");\n }\n\n public static void reverse(int[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n int tmp = array[i];\n array[i] = array[array.length-1-i];\n array[array.length-1-i] = tmp;\n }\n }\n \n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int length = Integer.parseInt(reader.readLine());
String[] intAryStr = reader.readLine().split(" ");
int[] intAry = new int[intAryStr.length];
for (int i = 0; i < intAry.length; i++)
intAry[i] = Integer.parseInt(intAryStr[i]);
reverse(intAry);
for (int i = 0; i < intAry.length; i++)
if (i == intAry.length-1)
System.out.println(intAry[i]);
else
System.out.print(intAry[i] + " ");
}
public static void reverse(int[] array) {
for (int i = 0; i < array.length / 2; i++) {
int tmp = array[i];
array[i] = array[array.length-1-i];
array[array.length-1-i] = tmp;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
40,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
13,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
98,
8
],
[
98,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
11,
44
],
[
44,
45
],
[
44,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
47,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
47,
60
],
[
60,
61
],
[
61,
62
],
[
47,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
65,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
11,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
9,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] array = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\n\t\tString blank = \" \";\n\t\tfor (int i = array.length-1; i >-1; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(array[i] + blank);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] array = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\n\t\tString blank = \" \";\n\t\tfor (int i = array.length-1; i >-1; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(array[i] + blank);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] array = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\n\t\tString blank = \" \";\n\t\tfor (int i = array.length-1; i >-1; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(array[i] + blank);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] array = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\n\t\tString blank = \" \";\n\t\tfor (int i = array.length-1; i >-1; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(array[i] + blank);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[] array = new int[n];",
"array",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tarray[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tarray[i] = sc.nextInt();\n\t\t}",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String blank = \" \";",
"blank",
"\" \"",
"for (int i = array.length-1; i >-1; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(array[i] + blank);\n\t\t\t}\n\t\t}",
"int i = array.length-1;",
"int i = array.length-1;",
"i",
"array.length-1",
"array.length",
"array",
"array.length",
"1",
"i >-1",
"i",
"-1",
"1",
"i--",
"i--",
"i",
"{\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(array[i] + blank);\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(array[i] + blank);\n\t\t\t}\n\t\t}",
"if (i == 0) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(array[i] + blank);\n\t\t\t}",
"i == 0",
"i",
"0",
"{\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t}",
"System.out.print(array[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"array[i]",
"array",
"i",
"{\n\t\t\t\tSystem.out.print(array[i] + blank);\n\t\t\t}",
"System.out.print(array[i] + blank)",
"System.out.print",
"System.out",
"System",
"System.out",
"array[i] + blank",
"array[i]",
"array",
"i",
"blank",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] array = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\n\t\tString blank = \" \";\n\t\tfor (int i = array.length-1; i >-1; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(array[i] + blank);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] array = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\n\t\tString blank = \" \";\n\t\tfor (int i = array.length-1; i >-1; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(array[i] + blank);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n}",
"Main"
] | import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] array = new int[n];
for (int i = 0; i < n; i++) {
array[i] = sc.nextInt();
}
String blank = " ";
for (int i = array.length-1; i >-1; i--) {
if (i == 0) {
System.out.print(array[i]);
} else {
System.out.print(array[i] + blank);
}
}
System.out.println("");
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
97,
5
],
[
97,
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
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
61,
68
],
[
68,
69
],
[
68,
70
],
[
61,
71
],
[
71,
72
],
[
72,
73
],
[
61,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
8,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
6,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
] | [
"import java.io.*;\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 sc = br.readLine();\n\t\tint n = Integer.parseInt(sc);\n\t\tString line2 = br.readLine();\n\t\tString[] str = line2.split(\" \");\n\t\tint[] x = new int[n];\n\t\tfor (int i = 0; i<n ; i++ ) {\n\t\t\tx[i] = Integer.parseInt(str[i]);\n\t\t}\n\t\tfor (int i = n-1; i>0 ; i-- ) {\n\t\t\tSystem.out.print(x[i] + \" \");\n\t\t}\n\t\tSystem.out.println(x[0]);\n\t}\n\n}",
"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 sc = br.readLine();\n\t\tint n = Integer.parseInt(sc);\n\t\tString line2 = br.readLine();\n\t\tString[] str = line2.split(\" \");\n\t\tint[] x = new int[n];\n\t\tfor (int i = 0; i<n ; i++ ) {\n\t\t\tx[i] = Integer.parseInt(str[i]);\n\t\t}\n\t\tfor (int i = n-1; i>0 ; i-- ) {\n\t\t\tSystem.out.print(x[i] + \" \");\n\t\t}\n\t\tSystem.out.println(x[0]);\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException{ \n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString sc = br.readLine();\n\t\tint n = Integer.parseInt(sc);\n\t\tString line2 = br.readLine();\n\t\tString[] str = line2.split(\" \");\n\t\tint[] x = new int[n];\n\t\tfor (int i = 0; i<n ; i++ ) {\n\t\t\tx[i] = Integer.parseInt(str[i]);\n\t\t}\n\t\tfor (int i = n-1; i>0 ; i-- ) {\n\t\t\tSystem.out.print(x[i] + \" \");\n\t\t}\n\t\tSystem.out.println(x[0]);\n\t}",
"main",
"{ \n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString sc = br.readLine();\n\t\tint n = Integer.parseInt(sc);\n\t\tString line2 = br.readLine();\n\t\tString[] str = line2.split(\" \");\n\t\tint[] x = new int[n];\n\t\tfor (int i = 0; i<n ; i++ ) {\n\t\t\tx[i] = Integer.parseInt(str[i]);\n\t\t}\n\t\tfor (int i = n-1; i>0 ; i-- ) {\n\t\t\tSystem.out.print(x[i] + \" \");\n\t\t}\n\t\tSystem.out.println(x[0]);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String sc = br.readLine();",
"sc",
"br.readLine()",
"br.readLine",
"br",
"int n = Integer.parseInt(sc);",
"n",
"Integer.parseInt(sc)",
"Integer.parseInt",
"Integer",
"sc",
"String line2 = br.readLine();",
"line2",
"br.readLine()",
"br.readLine",
"br",
"String[] str = line2.split(\" \");",
"str",
"line2.split(\" \")",
"line2.split",
"line2",
"\" \"",
"int[] x = new int[n];",
"x",
"new int[n]",
"n",
"for (int i = 0; i<n ; i++ ) {\n\t\t\tx[i] = Integer.parseInt(str[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tx[i] = Integer.parseInt(str[i]);\n\t\t}",
"{\n\t\t\tx[i] = Integer.parseInt(str[i]);\n\t\t}",
"x[i] = Integer.parseInt(str[i])",
"x[i]",
"x",
"i",
"Integer.parseInt(str[i])",
"Integer.parseInt",
"Integer",
"str[i]",
"str",
"i",
"for (int i = n-1; i>0 ; i-- ) {\n\t\t\tSystem.out.print(x[i] + \" \");\n\t\t}",
"int i = n-1;",
"int i = n-1;",
"i",
"n-1",
"n",
"1",
"i>0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(x[i] + \" \");\n\t\t}",
"{\n\t\t\tSystem.out.print(x[i] + \" \");\n\t\t}",
"System.out.print(x[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"x[i] + \" \"",
"x[i]",
"x",
"i",
"\" \"",
"System.out.println(x[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"x[0]",
"x",
"0",
"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 sc = br.readLine();\n\t\tint n = Integer.parseInt(sc);\n\t\tString line2 = br.readLine();\n\t\tString[] str = line2.split(\" \");\n\t\tint[] x = new int[n];\n\t\tfor (int i = 0; i<n ; i++ ) {\n\t\t\tx[i] = Integer.parseInt(str[i]);\n\t\t}\n\t\tfor (int i = n-1; i>0 ; i-- ) {\n\t\t\tSystem.out.print(x[i] + \" \");\n\t\t}\n\t\tSystem.out.println(x[0]);\n\t}\n\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 sc = br.readLine();\n\t\tint n = Integer.parseInt(sc);\n\t\tString line2 = br.readLine();\n\t\tString[] str = line2.split(\" \");\n\t\tint[] x = new int[n];\n\t\tfor (int i = 0; i<n ; i++ ) {\n\t\t\tx[i] = Integer.parseInt(str[i]);\n\t\t}\n\t\tfor (int i = n-1; i>0 ; i-- ) {\n\t\t\tSystem.out.print(x[i] + \" \");\n\t\t}\n\t\tSystem.out.println(x[0]);\n\t}\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 sc = br.readLine();
int n = Integer.parseInt(sc);
String line2 = br.readLine();
String[] str = line2.split(" ");
int[] x = new int[n];
for (int i = 0; i<n ; i++ ) {
x[i] = Integer.parseInt(str[i]);
}
for (int i = n-1; i>0 ; i-- ) {
System.out.print(x[i] + " ");
}
System.out.println(x[0]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
8,
2,
13,
2,
4,
18,
13,
17,
4,
18,
13,
13,
2,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
88,
5
],
[
88,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
42,
52
],
[
52,
53
],
[
53,
54
],
[
42,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
65,
69
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
62,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
74,
79
],
[
8,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n ArrayList<Integer> ls = new ArrayList<>();\n\n for (int i = 0; i < n; i++) ls.add(scan.nextInt());\n\n Collections.reverse(ls);\n for (int i = 0; i < ls.size(); i++) {\n System.out.print(i == ls.size() -1? ls.get(i) : ls.get(i) + \" \");\n }\n System.out.println();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n ArrayList<Integer> ls = new ArrayList<>();\n\n for (int i = 0; i < n; i++) ls.add(scan.nextInt());\n\n Collections.reverse(ls);\n for (int i = 0; i < ls.size(); i++) {\n System.out.print(i == ls.size() -1? ls.get(i) : ls.get(i) + \" \");\n }\n System.out.println();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n ArrayList<Integer> ls = new ArrayList<>();\n\n for (int i = 0; i < n; i++) ls.add(scan.nextInt());\n\n Collections.reverse(ls);\n for (int i = 0; i < ls.size(); i++) {\n System.out.print(i == ls.size() -1? ls.get(i) : ls.get(i) + \" \");\n }\n System.out.println();\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n ArrayList<Integer> ls = new ArrayList<>();\n\n for (int i = 0; i < n; i++) ls.add(scan.nextInt());\n\n Collections.reverse(ls);\n for (int i = 0; i < ls.size(); i++) {\n System.out.print(i == ls.size() -1? ls.get(i) : ls.get(i) + \" \");\n }\n System.out.println();\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"ArrayList<Integer> ls = new ArrayList<>();",
"ls",
"new ArrayList<>()",
"for (int i = 0; i < n; i++) ls.add(scan.nextInt());",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"ls.add(scan.nextInt());",
"ls.add(scan.nextInt())",
"ls.add",
"ls",
"scan.nextInt()",
"scan.nextInt",
"scan",
"Collections.reverse(ls)",
"Collections.reverse",
"Collections",
"ls",
"for (int i = 0; i < ls.size(); i++) {\n System.out.print(i == ls.size() -1? ls.get(i) : ls.get(i) + \" \");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < ls.size()",
"i",
"ls.size()",
"ls.size",
"ls",
"i++",
"i++",
"i",
"{\n System.out.print(i == ls.size() -1? ls.get(i) : ls.get(i) + \" \");\n }",
"{\n System.out.print(i == ls.size() -1? ls.get(i) : ls.get(i) + \" \");\n }",
"System.out.print(i == ls.size() -1? ls.get(i) : ls.get(i) + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"i == ls.size() -1? ls.get(i) : ls.get(i) + \" \"",
"i == ls.size() -1",
"i",
"ls.size() -1",
"ls.size()",
"ls.size",
"ls",
"1",
"ls.get(i)",
"ls.get",
"ls",
"i",
"ls.get(i) + \" \"",
"ls.get(i)",
"ls.get",
"ls",
"i",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n ArrayList<Integer> ls = new ArrayList<>();\n\n for (int i = 0; i < n; i++) ls.add(scan.nextInt());\n\n Collections.reverse(ls);\n for (int i = 0; i < ls.size(); i++) {\n System.out.print(i == ls.size() -1? ls.get(i) : ls.get(i) + \" \");\n }\n System.out.println();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n ArrayList<Integer> ls = new ArrayList<>();\n\n for (int i = 0; i < n; i++) ls.add(scan.nextInt());\n\n Collections.reverse(ls);\n for (int i = 0; i < ls.size(); i++) {\n System.out.print(i == ls.size() -1? ls.get(i) : ls.get(i) + \" \");\n }\n System.out.println();\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
ArrayList<Integer> ls = new ArrayList<>();
for (int i = 0; i < n; i++) ls.add(scan.nextInt());
Collections.reverse(ls);
for (int i = 0; i < ls.size(); i++) {
System.out.print(i == ls.size() -1? ls.get(i) : ls.get(i) + " ");
}
System.out.println();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
40,
17,
1,
40,
13,
30,
30,
4,
18,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
14,
2,
13,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
130,
17
],
[
130,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
24,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
31,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
42,
47
],
[
31,
48
],
[
48,
49
],
[
48,
50
],
[
18,
51
],
[
51,
52
],
[
130,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
59,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
59,
72
],
[
72,
73
],
[
73,
74
],
[
59,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
80,
81
],
[
80,
82
],
[
55,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
83,
93
],
[
93,
94
],
[
94,
95
],
[
83,
96
],
[
97,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
97,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
110,
114
],
[
107,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
55,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
53,
127
],
[
127,
128
],
[
0,
129
],
[
129,
130
],
[
129,
131
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\n\n/**\n??°???????????¢\n\n?????????????????°???????????????????????????????????°?????????????????????????????????\n\nInput\n??\\????????\\????????¢?????§?????????????????????\n\nn\na1 a2 . . . an\nn ?????°????????????????????????ai ??? i ???????????°?????¨????????????\n\nOutput\n???????????°?????????????????????????????????????????°??????????´??????????????????????????????\\?????????????????????????????°????????????????????\\??????????????¨?????¨????????????????????????\n\nConstraints\nn ??? 100\n0 ??? ai < 1000\n\nhttp://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_6_A\n\n * @author wsKmatsuda\n *\n */\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tint num = Integer.parseInt(reader.readLine());\n\t\t\tString[] numData = reader.readLine().split(\" \");\n\t\t\toutputReverseArray(numData);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\t/**\n\t *\n\t * @param numData\n\t */\n\tprivate static void outputReverseArray(String[] numData) {\n\n\t\tList<String> revList = new ArrayList<String>();\n\t\tfor(int i=numData.length-1 ; i > -1; i--){\n\t\t\trevList.add(numData[i]);\n\t\t}\n\t\tfor(int i=0;i<revList.size();i++){\n\t\t\tSystem.out.print(revList.get(i));\n\t\t\tif(i != revList.size()-1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\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.List;",
"List",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tint num = Integer.parseInt(reader.readLine());\n\t\t\tString[] numData = reader.readLine().split(\" \");\n\t\t\toutputReverseArray(numData);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\t/**\n\t *\n\t * @param numData\n\t */\n\tprivate static void outputReverseArray(String[] numData) {\n\n\t\tList<String> revList = new ArrayList<String>();\n\t\tfor(int i=numData.length-1 ; i > -1; i--){\n\t\t\trevList.add(numData[i]);\n\t\t}\n\t\tfor(int i=0;i<revList.size();i++){\n\t\t\tSystem.out.print(revList.get(i));\n\t\t\tif(i != revList.size()-1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tint num = Integer.parseInt(reader.readLine());\n\t\t\tString[] numData = reader.readLine().split(\" \");\n\t\t\toutputReverseArray(numData);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"main",
"{\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tint num = Integer.parseInt(reader.readLine());\n\t\t\tString[] numData = reader.readLine().split(\" \");\n\t\t\toutputReverseArray(numData);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n\t\t\tint num = Integer.parseInt(reader.readLine());\n\t\t\tString[] numData = reader.readLine().split(\" \");\n\t\t\toutputReverseArray(numData);\n\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\tint num = Integer.parseInt(reader.readLine());\n\t\t\tString[] numData = reader.readLine().split(\" \");\n\t\t\toutputReverseArray(numData);\n\n\t\t}",
"int num = Integer.parseInt(reader.readLine());",
"num",
"Integer.parseInt(reader.readLine())",
"Integer.parseInt",
"Integer",
"reader.readLine()",
"reader.readLine",
"reader",
"String[] numData = reader.readLine().split(\" \");",
"numData",
"reader.readLine().split(\" \")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"outputReverseArray(numData)",
"outputReverseArray",
"numData",
"String[] args",
"args",
"/**\n\t *\n\t * @param numData\n\t */\n\tprivate static void outputReverseArray(String[] numData) {\n\n\t\tList<String> revList = new ArrayList<String>();\n\t\tfor(int i=numData.length-1 ; i > -1; i--){\n\t\t\trevList.add(numData[i]);\n\t\t}\n\t\tfor(int i=0;i<revList.size();i++){\n\t\t\tSystem.out.print(revList.get(i));\n\t\t\tif(i != revList.size()-1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}",
"outputReverseArray",
"{\n\n\t\tList<String> revList = new ArrayList<String>();\n\t\tfor(int i=numData.length-1 ; i > -1; i--){\n\t\t\trevList.add(numData[i]);\n\t\t}\n\t\tfor(int i=0;i<revList.size();i++){\n\t\t\tSystem.out.print(revList.get(i));\n\t\t\tif(i != revList.size()-1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}",
"List<String> revList = new ArrayList<String>();",
"revList",
"new ArrayList<String>()",
"for(int i=numData.length-1 ; i > -1; i--){\n\t\t\trevList.add(numData[i]);\n\t\t}",
"int i=numData.length-1 ;",
"int i=numData.length-1 ;",
"i",
"numData.length-1",
"numData.length",
"numData",
"numData.length",
"1",
"i > -1",
"i",
"-1",
"1",
"i--",
"i--",
"i",
"{\n\t\t\trevList.add(numData[i]);\n\t\t}",
"{\n\t\t\trevList.add(numData[i]);\n\t\t}",
"revList.add(numData[i])",
"revList.add",
"revList",
"numData[i]",
"numData",
"i",
"for(int i=0;i<revList.size();i++){\n\t\t\tSystem.out.print(revList.get(i));\n\t\t\tif(i != revList.size()-1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<revList.size()",
"i",
"revList.size()",
"revList.size",
"revList",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.print(revList.get(i));\n\t\t\tif(i != revList.size()-1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"{\n\t\t\tSystem.out.print(revList.get(i));\n\t\t\tif(i != revList.size()-1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"System.out.print(revList.get(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"revList.get(i)",
"revList.get",
"revList",
"i",
"if(i != revList.size()-1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"i != revList.size()-1",
"i",
"revList.size()-1",
"revList.size()",
"revList.size",
"revList",
"1",
"{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] numData",
"numData",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tint num = Integer.parseInt(reader.readLine());\n\t\t\tString[] numData = reader.readLine().split(\" \");\n\t\t\toutputReverseArray(numData);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\t/**\n\t *\n\t * @param numData\n\t */\n\tprivate static void outputReverseArray(String[] numData) {\n\n\t\tList<String> revList = new ArrayList<String>();\n\t\tfor(int i=numData.length-1 ; i > -1; i--){\n\t\t\trevList.add(numData[i]);\n\t\t}\n\t\tfor(int i=0;i<revList.size();i++){\n\t\t\tSystem.out.print(revList.get(i));\n\t\t\tif(i != revList.size()-1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tint num = Integer.parseInt(reader.readLine());\n\t\t\tString[] numData = reader.readLine().split(\" \");\n\t\t\toutputReverseArray(numData);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\t/**\n\t *\n\t * @param numData\n\t */\n\tprivate static void outputReverseArray(String[] numData) {\n\n\t\tList<String> revList = new ArrayList<String>();\n\t\tfor(int i=numData.length-1 ; i > -1; i--){\n\t\t\trevList.add(numData[i]);\n\t\t}\n\t\tfor(int i=0;i<revList.size();i++){\n\t\t\tSystem.out.print(revList.get(i));\n\t\t\tif(i != revList.size()-1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
/**
??°???????????¢
?????????????????°???????????????????????????????????°?????????????????????????????????
Input
??\????????\????????¢?????§?????????????????????
n
a1 a2 . . . an
n ?????°????????????????????????ai ??? i ???????????°?????¨????????????
Output
???????????°?????????????????????????????????????????°??????????´??????????????????????????????\?????????????????????????????°????????????????????\??????????????¨?????¨????????????????????????
Constraints
n ??? 100
0 ??? ai < 1000
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_6_A
* @author wsKmatsuda
*
*/
public class Main{
public static void main(String[] args) {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
try {
int num = Integer.parseInt(reader.readLine());
String[] numData = reader.readLine().split(" ");
outputReverseArray(numData);
} catch (IOException e) {
e.printStackTrace();
}
}
/**
*
* @param numData
*/
private static void outputReverseArray(String[] numData) {
List<String> revList = new ArrayList<String>();
for(int i=numData.length-1 ; i > -1; i--){
revList.add(numData[i]);
}
for(int i=0;i<revList.size();i++){
System.out.print(revList.get(i));
if(i != revList.size()-1){
System.out.print(" ");
}
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
18,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
4,
18,
18,
13,
13,
2,
18,
13,
2,
13,
17,
17,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
77,
5
],
[
77,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
22,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
28,
35
],
[
35,
36
],
[
35,
37
],
[
28,
38
],
[
38,
39
],
[
39,
40
],
[
28,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
52,
58
],
[
43,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
8,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
6,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
] | [
"import java.util.Scanner;\n \npublic class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int index = Integer.parseInt(sc.nextLine());\n String[] str = sc.nextLine().split(\" \");\n \n for(int loopcnt = str.length; loopcnt > 0; loopcnt--){\n if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + \" \");\n else System.out.print(str[loopcnt-1]);\n }\n System.out.println();\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 int index = Integer.parseInt(sc.nextLine());\n String[] str = sc.nextLine().split(\" \");\n \n for(int loopcnt = str.length; loopcnt > 0; loopcnt--){\n if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + \" \");\n else System.out.print(str[loopcnt-1]);\n }\n System.out.println();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int index = Integer.parseInt(sc.nextLine());\n String[] str = sc.nextLine().split(\" \");\n \n for(int loopcnt = str.length; loopcnt > 0; loopcnt--){\n if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + \" \");\n else System.out.print(str[loopcnt-1]);\n }\n System.out.println();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int index = Integer.parseInt(sc.nextLine());\n String[] str = sc.nextLine().split(\" \");\n \n for(int loopcnt = str.length; loopcnt > 0; loopcnt--){\n if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + \" \");\n else System.out.print(str[loopcnt-1]);\n }\n System.out.println();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int index = Integer.parseInt(sc.nextLine());",
"index",
"Integer.parseInt(sc.nextLine())",
"Integer.parseInt",
"Integer",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] str = sc.nextLine().split(\" \");",
"str",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"for(int loopcnt = str.length; loopcnt > 0; loopcnt--){\n if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + \" \");\n else System.out.print(str[loopcnt-1]);\n }",
"int loopcnt = str.length;",
"int loopcnt = str.length;",
"loopcnt",
"str.length",
"str",
"str.length",
"loopcnt > 0",
"loopcnt",
"0",
"loopcnt--",
"loopcnt--",
"loopcnt",
"{\n if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + \" \");\n else System.out.print(str[loopcnt-1]);\n }",
"{\n if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + \" \");\n else System.out.print(str[loopcnt-1]);\n }",
"if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + \" \");\n else System.out.print(str[loopcnt-1]);",
"loopcnt != 1",
"loopcnt",
"1",
"System.out.print(str[loopcnt-1] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"str[loopcnt-1] + \" \"",
"str[loopcnt-1]",
"str",
"loopcnt-1",
"loopcnt",
"1",
"\" \"",
"System.out.print(str[loopcnt-1])",
"System.out.print",
"System.out",
"System",
"System.out",
"str[loopcnt-1]",
"str",
"loopcnt-1",
"loopcnt",
"1",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int index = Integer.parseInt(sc.nextLine());\n String[] str = sc.nextLine().split(\" \");\n \n for(int loopcnt = str.length; loopcnt > 0; loopcnt--){\n if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + \" \");\n else System.out.print(str[loopcnt-1]);\n }\n System.out.println();\n }\n}",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int index = Integer.parseInt(sc.nextLine());\n String[] str = sc.nextLine().split(\" \");\n \n for(int loopcnt = str.length; loopcnt > 0; loopcnt--){\n if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + \" \");\n else System.out.print(str[loopcnt-1]);\n }\n System.out.println();\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int index = Integer.parseInt(sc.nextLine());
String[] str = sc.nextLine().split(" ");
for(int loopcnt = str.length; loopcnt > 0; loopcnt--){
if( loopcnt != 1 ) System.out.print(str[loopcnt-1] + " ");
else System.out.print(str[loopcnt-1]);
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
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
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
8,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
31,
38
],
[
38,
39
],
[
38,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
8,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"import java.util.Scanner;\npublic class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint n = Integer.parseInt(scan.nextLine());\n\tString input = scan.nextLine();\n\tString[] sequence = input.split(\" \");\n\tfor (int i = n - 1; i > 0; i--) {\n\t System.out.print(sequence[i] + \" \");\n\t}\n\tSystem.out.println(sequence[0]);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint n = Integer.parseInt(scan.nextLine());\n\tString input = scan.nextLine();\n\tString[] sequence = input.split(\" \");\n\tfor (int i = n - 1; i > 0; i--) {\n\t System.out.print(sequence[i] + \" \");\n\t}\n\tSystem.out.println(sequence[0]);\n }\n}",
"Main",
"public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint n = Integer.parseInt(scan.nextLine());\n\tString input = scan.nextLine();\n\tString[] sequence = input.split(\" \");\n\tfor (int i = n - 1; i > 0; i--) {\n\t System.out.print(sequence[i] + \" \");\n\t}\n\tSystem.out.println(sequence[0]);\n }",
"main",
"{\n\tScanner scan = new Scanner(System.in);\n\tint n = Integer.parseInt(scan.nextLine());\n\tString input = scan.nextLine();\n\tString[] sequence = input.split(\" \");\n\tfor (int i = n - 1; i > 0; i--) {\n\t System.out.print(sequence[i] + \" \");\n\t}\n\tSystem.out.println(sequence[0]);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = Integer.parseInt(scan.nextLine());",
"n",
"Integer.parseInt(scan.nextLine())",
"Integer.parseInt",
"Integer",
"scan.nextLine()",
"scan.nextLine",
"scan",
"String input = scan.nextLine();",
"input",
"scan.nextLine()",
"scan.nextLine",
"scan",
"String[] sequence = input.split(\" \");",
"sequence",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"for (int i = n - 1; i > 0; i--) {\n\t System.out.print(sequence[i] + \" \");\n\t}",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t System.out.print(sequence[i] + \" \");\n\t}",
"{\n\t System.out.print(sequence[i] + \" \");\n\t}",
"System.out.print(sequence[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"sequence[i] + \" \"",
"sequence[i]",
"sequence",
"i",
"\" \"",
"System.out.println(sequence[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"sequence[0]",
"sequence",
"0",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint n = Integer.parseInt(scan.nextLine());\n\tString input = scan.nextLine();\n\tString[] sequence = input.split(\" \");\n\tfor (int i = n - 1; i > 0; i--) {\n\t System.out.print(sequence[i] + \" \");\n\t}\n\tSystem.out.println(sequence[0]);\n }\n}",
"public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint n = Integer.parseInt(scan.nextLine());\n\tString input = scan.nextLine();\n\tString[] sequence = input.split(\" \");\n\tfor (int i = n - 1; i > 0; i--) {\n\t System.out.print(sequence[i] + \" \");\n\t}\n\tSystem.out.println(sequence[0]);\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int n = Integer.parseInt(scan.nextLine());
String input = scan.nextLine();
String[] sequence = input.split(" ");
for (int i = n - 1; i > 0; i--) {
System.out.print(sequence[i] + " ");
}
System.out.println(sequence[0]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
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
],
[
86,
11
],
[
86,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
14,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
37,
46
],
[
46,
47
],
[
46,
48
],
[
37,
49
],
[
49,
50
],
[
50,
51
],
[
37,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
54,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
14,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
12,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"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 \n BufferedReader std = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(std.readLine());\n String str = std.readLine();\n String[] strs = str.split(\" \");\n \n for(int i = strs.length-1; i >= 0; i--){\n if(i != 0){\n System.out.print(strs[i] + \" \");\n } else {\n System.out.print(strs[i]);\n }\n }\n System.out.println();\n \n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n \n BufferedReader std = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(std.readLine());\n String str = std.readLine();\n String[] strs = str.split(\" \");\n \n for(int i = strs.length-1; i >= 0; i--){\n if(i != 0){\n System.out.print(strs[i] + \" \");\n } else {\n System.out.print(strs[i]);\n }\n }\n System.out.println();\n \n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n \n BufferedReader std = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(std.readLine());\n String str = std.readLine();\n String[] strs = str.split(\" \");\n \n for(int i = strs.length-1; i >= 0; i--){\n if(i != 0){\n System.out.print(strs[i] + \" \");\n } else {\n System.out.print(strs[i]);\n }\n }\n System.out.println();\n \n }",
"main",
"{\n \n BufferedReader std = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(std.readLine());\n String str = std.readLine();\n String[] strs = str.split(\" \");\n \n for(int i = strs.length-1; i >= 0; i--){\n if(i != 0){\n System.out.print(strs[i] + \" \");\n } else {\n System.out.print(strs[i]);\n }\n }\n System.out.println();\n \n }",
"BufferedReader std = new BufferedReader(new InputStreamReader(System.in));",
"std",
"new BufferedReader(new InputStreamReader(System.in))",
"int n = Integer.parseInt(std.readLine());",
"n",
"Integer.parseInt(std.readLine())",
"Integer.parseInt",
"Integer",
"std.readLine()",
"std.readLine",
"std",
"String str = std.readLine();",
"str",
"std.readLine()",
"std.readLine",
"std",
"String[] strs = str.split(\" \");",
"strs",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"for(int i = strs.length-1; i >= 0; i--){\n if(i != 0){\n System.out.print(strs[i] + \" \");\n } else {\n System.out.print(strs[i]);\n }\n }",
"int i = strs.length-1;",
"int i = strs.length-1;",
"i",
"strs.length-1",
"strs.length",
"strs",
"strs.length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n if(i != 0){\n System.out.print(strs[i] + \" \");\n } else {\n System.out.print(strs[i]);\n }\n }",
"{\n if(i != 0){\n System.out.print(strs[i] + \" \");\n } else {\n System.out.print(strs[i]);\n }\n }",
"if(i != 0){\n System.out.print(strs[i] + \" \");\n } else {\n System.out.print(strs[i]);\n }",
"i != 0",
"i",
"0",
"{\n System.out.print(strs[i] + \" \");\n }",
"System.out.print(strs[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"strs[i] + \" \"",
"strs[i]",
"strs",
"i",
"\" \"",
"{\n System.out.print(strs[i]);\n }",
"System.out.print(strs[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"strs[i]",
"strs",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n \n BufferedReader std = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(std.readLine());\n String str = std.readLine();\n String[] strs = str.split(\" \");\n \n for(int i = strs.length-1; i >= 0; i--){\n if(i != 0){\n System.out.print(strs[i] + \" \");\n } else {\n System.out.print(strs[i]);\n }\n }\n System.out.println();\n \n }\n\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n \n BufferedReader std = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(std.readLine());\n String str = std.readLine();\n String[] strs = str.split(\" \");\n \n for(int i = strs.length-1; i >= 0; i--){\n if(i != 0){\n System.out.print(strs[i] + \" \");\n } else {\n System.out.print(strs[i]);\n }\n }\n System.out.println();\n \n }\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader std = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(std.readLine());
String str = std.readLine();
String[] strs = str.split(" ");
for(int i = strs.length-1; i >= 0; i--){
if(i != 0){
System.out.print(strs[i] + " ");
} else {
System.out.print(strs[i]);
}
}
System.out.println();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
20,
13,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
0,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
30,
30,
4,
18,
13,
18,
13,
2,
13,
40,
13,
4,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
0,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
112,
11
],
[
112,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
14,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
32,
37
],
[
14,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
14,
61
],
[
61,
62
],
[
61,
63
],
[
14,
64
],
[
64,
65
],
[
64,
66
],
[
14,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
67,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
78,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
14,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
95,
96
],
[
95,
97
],
[
14,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
104,
105
],
[
14,
106
],
[
106,
107
],
[
106,
108
],
[
12,
109
],
[
109,
110
],
[
0,
111
],
[
111,
112
],
[
111,
113
]
] | [
"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 NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint[] arr = new int[n];\n\t\tString[] tmp = br.readLine().split(\" \");\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tarr[i] = Integer.parseInt(tmp[i]);\n\t\t}\n\t\ttmp = null;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor(int i = 0;i < n - 1;){\n\t\t\tsb.append(arr[n - ++i]);\n\t\t\tsb.append(\" \");\n\t\t}\n\t\tsb.append(arr[0]);\n\t\tSystem.out.println(sb.toString());\n\t\tsb = null;\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 NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint[] arr = new int[n];\n\t\tString[] tmp = br.readLine().split(\" \");\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tarr[i] = Integer.parseInt(tmp[i]);\n\t\t}\n\t\ttmp = null;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor(int i = 0;i < n - 1;){\n\t\t\tsb.append(arr[n - ++i]);\n\t\t\tsb.append(\" \");\n\t\t}\n\t\tsb.append(arr[0]);\n\t\tSystem.out.println(sb.toString());\n\t\tsb = null;\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint[] arr = new int[n];\n\t\tString[] tmp = br.readLine().split(\" \");\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tarr[i] = Integer.parseInt(tmp[i]);\n\t\t}\n\t\ttmp = null;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor(int i = 0;i < n - 1;){\n\t\t\tsb.append(arr[n - ++i]);\n\t\t\tsb.append(\" \");\n\t\t}\n\t\tsb.append(arr[0]);\n\t\tSystem.out.println(sb.toString());\n\t\tsb = null;\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint[] arr = new int[n];\n\t\tString[] tmp = br.readLine().split(\" \");\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tarr[i] = Integer.parseInt(tmp[i]);\n\t\t}\n\t\ttmp = null;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor(int i = 0;i < n - 1;){\n\t\t\tsb.append(arr[n - ++i]);\n\t\t\tsb.append(\" \");\n\t\t}\n\t\tsb.append(arr[0]);\n\t\tSystem.out.println(sb.toString());\n\t\tsb = null;\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int n = Integer.parseInt(br.readLine());",
"n",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"int[] arr = new int[n];",
"arr",
"new int[n]",
"n",
"String[] tmp = br.readLine().split(\" \");",
"tmp",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for(int i = 0;i < n;i++){\n\t\t\tarr[i] = Integer.parseInt(tmp[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tarr[i] = Integer.parseInt(tmp[i]);\n\t\t}",
"{\n\t\t\tarr[i] = Integer.parseInt(tmp[i]);\n\t\t}",
"arr[i] = Integer.parseInt(tmp[i])",
"arr[i]",
"arr",
"i",
"Integer.parseInt(tmp[i])",
"Integer.parseInt",
"Integer",
"tmp[i]",
"tmp",
"i",
"tmp = null",
"tmp",
"null",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for(int i = 0;i < n - 1;){\n\t\t\tsb.append(arr[n - ++i]);\n\t\t\tsb.append(\" \");\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n - 1",
"i",
"n - 1",
"n",
"1",
"{\n\t\t\tsb.append(arr[n - ++i]);\n\t\t\tsb.append(\" \");\n\t\t}",
"{\n\t\t\tsb.append(arr[n - ++i]);\n\t\t\tsb.append(\" \");\n\t\t}",
"sb.append(arr[n - ++i])",
"sb.append",
"sb",
"arr[n - ++i]",
"arr",
"n - ++i",
"n",
"++i",
"i",
"sb.append(\" \")",
"sb.append",
"sb",
"\" \"",
"sb.append(arr[0])",
"sb.append",
"sb",
"arr[0]",
"arr",
"0",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"sb = null",
"sb",
"null",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint[] arr = new int[n];\n\t\tString[] tmp = br.readLine().split(\" \");\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tarr[i] = Integer.parseInt(tmp[i]);\n\t\t}\n\t\ttmp = null;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor(int i = 0;i < n - 1;){\n\t\t\tsb.append(arr[n - ++i]);\n\t\t\tsb.append(\" \");\n\t\t}\n\t\tsb.append(arr[0]);\n\t\tSystem.out.println(sb.toString());\n\t\tsb = null;\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint[] arr = new int[n];\n\t\tString[] tmp = br.readLine().split(\" \");\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tarr[i] = Integer.parseInt(tmp[i]);\n\t\t}\n\t\ttmp = null;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor(int i = 0;i < n - 1;){\n\t\t\tsb.append(arr[n - ++i]);\n\t\t\tsb.append(\" \");\n\t\t}\n\t\tsb.append(arr[0]);\n\t\tSystem.out.println(sb.toString());\n\t\tsb = null;\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 NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(br.readLine());
int[] arr = new int[n];
String[] tmp = br.readLine().split(" ");
for(int i = 0;i < n;i++){
arr[i] = Integer.parseInt(tmp[i]);
}
tmp = null;
StringBuilder sb = new StringBuilder();
for(int i = 0;i < n - 1;){
sb.append(arr[n - ++i]);
sb.append(" ");
}
sb.append(arr[0]);
System.out.println(sb.toString());
sb = null;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
13,
4,
18,
13,
30,
4,
18,
4,
18,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
11,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
48,
55
],
[
55,
56
],
[
55,
57
],
[
48,
58
],
[
58,
59
],
[
59,
60
],
[
48,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
72,
73
],
[
63,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
80,
81
],
[
81,
82
],
[
75,
83
],
[
11,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
90,
91
],
[
9,
92
],
[
92,
93
]
] | [
"import java.util.LinkedList;\nimport java.util.Scanner;\n\n/**\n * \n */\n\n/**\n * @author kawakami\n *\n */\nclass Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner as = new Scanner(System.in);\n \n int n=as.nextInt(); //??°????????????n\n LinkedList<Integer> list = new LinkedList<Integer>();\n StringBuilder sb = new StringBuilder();\n \n \n \n \n \n for(int i=0;i<n;i++){ //??\\???????????????????????????????´????????´?\n \n list.add(Integer.parseInt(as.next()));\n \n }\n \n \n for(int l=n-1;l>=0;l--){ //?????????????´???????????????¨???\n \n if(l==0){\n \t\n \tsb.append(list.removeLast());\n \t\n }\n else{\n \t\n \tsb.append(list.removeLast()).append(\" \");\n \t\n }\n \n }\n \n System.out.println(sb.toString());\n\n\t}\n\n}",
"import java.util.LinkedList;",
"LinkedList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner as = new Scanner(System.in);\n \n int n=as.nextInt(); //??°????????????n\n LinkedList<Integer> list = new LinkedList<Integer>();\n StringBuilder sb = new StringBuilder();\n \n \n \n \n \n for(int i=0;i<n;i++){ //??\\???????????????????????????????´????????´?\n \n list.add(Integer.parseInt(as.next()));\n \n }\n \n \n for(int l=n-1;l>=0;l--){ //?????????????´???????????????¨???\n \n if(l==0){\n \t\n \tsb.append(list.removeLast());\n \t\n }\n else{\n \t\n \tsb.append(list.removeLast()).append(\" \");\n \t\n }\n \n }\n \n System.out.println(sb.toString());\n\n\t}\n\n}",
"Main",
"/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner as = new Scanner(System.in);\n \n int n=as.nextInt(); //??°????????????n\n LinkedList<Integer> list = new LinkedList<Integer>();\n StringBuilder sb = new StringBuilder();\n \n \n \n \n \n for(int i=0;i<n;i++){ //??\\???????????????????????????????´????????´?\n \n list.add(Integer.parseInt(as.next()));\n \n }\n \n \n for(int l=n-1;l>=0;l--){ //?????????????´???????????????¨???\n \n if(l==0){\n \t\n \tsb.append(list.removeLast());\n \t\n }\n else{\n \t\n \tsb.append(list.removeLast()).append(\" \");\n \t\n }\n \n }\n \n System.out.println(sb.toString());\n\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner as = new Scanner(System.in);\n \n int n=as.nextInt(); //??°????????????n\n LinkedList<Integer> list = new LinkedList<Integer>();\n StringBuilder sb = new StringBuilder();\n \n \n \n \n \n for(int i=0;i<n;i++){ //??\\???????????????????????????????´????????´?\n \n list.add(Integer.parseInt(as.next()));\n \n }\n \n \n for(int l=n-1;l>=0;l--){ //?????????????´???????????????¨???\n \n if(l==0){\n \t\n \tsb.append(list.removeLast());\n \t\n }\n else{\n \t\n \tsb.append(list.removeLast()).append(\" \");\n \t\n }\n \n }\n \n System.out.println(sb.toString());\n\n\t}",
"Scanner as = new Scanner(System.in);",
"as",
"new Scanner(System.in)",
"int n=as.nextInt();",
"n",
"as.nextInt()",
"as.nextInt",
"as",
"LinkedList<Integer> list = new LinkedList<Integer>();",
"list",
"new LinkedList<Integer>()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for(int i=0;i<n;i++){ //??\\???????????????????????????????´????????´?\n \n list.add(Integer.parseInt(as.next()));\n \n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{ //??\\???????????????????????????????´????????´?\n \n list.add(Integer.parseInt(as.next()));\n \n }",
"{ //??\\???????????????????????????????´????????´?\n \n list.add(Integer.parseInt(as.next()));\n \n }",
"list.add(Integer.parseInt(as.next()))",
"list.add",
"list",
"Integer.parseInt(as.next())",
"Integer.parseInt",
"Integer",
"as.next()",
"as.next",
"as",
"for(int l=n-1;l>=0;l--){ //?????????????´???????????????¨???\n \n if(l==0){\n \t\n \tsb.append(list.removeLast());\n \t\n }\n else{\n \t\n \tsb.append(list.removeLast()).append(\" \");\n \t\n }\n \n }",
"int l=n-1;",
"int l=n-1;",
"l",
"n-1",
"n",
"1",
"l>=0",
"l",
"0",
"l--",
"l--",
"l",
"{ //?????????????´???????????????¨???\n \n if(l==0){\n \t\n \tsb.append(list.removeLast());\n \t\n }\n else{\n \t\n \tsb.append(list.removeLast()).append(\" \");\n \t\n }\n \n }",
"{ //?????????????´???????????????¨???\n \n if(l==0){\n \t\n \tsb.append(list.removeLast());\n \t\n }\n else{\n \t\n \tsb.append(list.removeLast()).append(\" \");\n \t\n }\n \n }",
"if(l==0){\n \t\n \tsb.append(list.removeLast());\n \t\n }\n else{\n \t\n \tsb.append(list.removeLast()).append(\" \");\n \t\n }",
"l==0",
"l",
"0",
"{\n \t\n \tsb.append(list.removeLast());\n \t\n }",
"sb.append(list.removeLast())",
"sb.append",
"sb",
"list.removeLast()",
"list.removeLast",
"list",
"{\n \t\n \tsb.append(list.removeLast()).append(\" \");\n \t\n }",
"sb.append(list.removeLast()).append(\" \")",
"sb.append(list.removeLast()).append",
"sb.append(list.removeLast())",
"sb.append",
"sb",
"list.removeLast()",
"list.removeLast",
"list",
"\" \"",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args"
] | import java.util.LinkedList;
import java.util.Scanner;
/**
*
*/
/**
* @author kawakami
*
*/
class Main {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner as = new Scanner(System.in);
int n=as.nextInt(); //??°????????????n
LinkedList<Integer> list = new LinkedList<Integer>();
StringBuilder sb = new StringBuilder();
for(int i=0;i<n;i++){ //??\???????????????????????????????´????????´?
list.add(Integer.parseInt(as.next()));
}
for(int l=n-1;l>=0;l--){ //?????????????´???????????????¨???
if(l==0){
sb.append(list.removeLast());
}
else{
sb.append(list.removeLast()).append(" ");
}
}
System.out.println(sb.toString());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
88,
5
],
[
88,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
44,
51
],
[
51,
52
],
[
51,
53
],
[
44,
54
],
[
54,
55
],
[
55,
56
],
[
44,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
58,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
67,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] number = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tnumber[i] = a;\n\t\t}\n\n\t\tfor(int i = n - 1; i >= 0; i--){\n\t\t\tSystem.out.print(number[i]);\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] number = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tnumber[i] = a;\n\t\t}\n\n\t\tfor(int i = n - 1; i >= 0; i--){\n\t\t\tSystem.out.print(number[i]);\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] number = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tnumber[i] = a;\n\t\t}\n\n\t\tfor(int i = n - 1; i >= 0; i--){\n\t\t\tSystem.out.print(number[i]);\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] number = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tnumber[i] = a;\n\t\t}\n\n\t\tfor(int i = n - 1; i >= 0; i--){\n\t\t\tSystem.out.print(number[i]);\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] number = new int[n];",
"number",
"new int[n]",
"n",
"for(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tnumber[i] = a;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tint a = scan.nextInt();\n\t\t\tnumber[i] = a;\n\t\t}",
"{\n\t\t\tint a = scan.nextInt();\n\t\t\tnumber[i] = a;\n\t\t}",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"number[i] = a",
"number[i]",
"number",
"i",
"a",
"for(int i = n - 1; i >= 0; i--){\n\t\t\tSystem.out.print(number[i]);\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(number[i]);\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}",
"{\n\t\t\tSystem.out.print(number[i]);\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}",
"System.out.print(number[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"number[i]",
"number",
"i",
"if(i != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"i != 0",
"i",
"0",
"{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] number = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tnumber[i] = a;\n\t\t}\n\n\t\tfor(int i = n - 1; i >= 0; i--){\n\t\t\tSystem.out.print(number[i]);\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\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\tint n = scan.nextInt();\n\t\tint[] number = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tnumber[i] = a;\n\t\t}\n\n\t\tfor(int i = n - 1; i >= 0; i--){\n\t\t\tSystem.out.print(number[i]);\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int[] number = new int[n];
for(int i = 0; i < n; i++){
int a = scan.nextInt();
number[i] = a;
}
for(int i = n - 1; i >= 0; i--){
System.out.print(number[i]);
if(i != 0){
System.out.print(" ");
} else{
System.out.println("");
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
8,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
31,
38
],
[
38,
39
],
[
38,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
45,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
6,
73
],
[
73,
74
]
] | [
"import java.io.*;\n\nclass Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\t\n\t\tString sz_input = br.readLine();\n\t\tString[] sz_number = sz_input.split(\" \");\n\t\t\n\t\tfor (int i = n-1; i>=0; i--) {\n\t\t\tSystem.out.print(Integer.parseInt(sz_number[i]));\n\t\t\tif (i > 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println();\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\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\t\n\t\tString sz_input = br.readLine();\n\t\tString[] sz_number = sz_input.split(\" \");\n\t\t\n\t\tfor (int i = n-1; i>=0; i--) {\n\t\t\tSystem.out.print(Integer.parseInt(sz_number[i]));\n\t\t\tif (i > 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}\n}",
"Main",
"public static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\t\n\t\tString sz_input = br.readLine();\n\t\tString[] sz_number = sz_input.split(\" \");\n\t\t\n\t\tfor (int i = n-1; i>=0; i--) {\n\t\t\tSystem.out.print(Integer.parseInt(sz_number[i]));\n\t\t\tif (i > 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\t\n\t\tString sz_input = br.readLine();\n\t\tString[] sz_number = sz_input.split(\" \");\n\t\t\n\t\tfor (int i = n-1; i>=0; i--) {\n\t\t\tSystem.out.print(Integer.parseInt(sz_number[i]));\n\t\t\tif (i > 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int n = Integer.parseInt(br.readLine());",
"n",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"String sz_input = br.readLine();",
"sz_input",
"br.readLine()",
"br.readLine",
"br",
"String[] sz_number = sz_input.split(\" \");",
"sz_number",
"sz_input.split(\" \")",
"sz_input.split",
"sz_input",
"\" \"",
"for (int i = n-1; i>=0; i--) {\n\t\t\tSystem.out.print(Integer.parseInt(sz_number[i]));\n\t\t\tif (i > 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"int i = n-1;",
"int i = n-1;",
"i",
"n-1",
"n",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(Integer.parseInt(sz_number[i]));\n\t\t\tif (i > 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"{\n\t\t\tSystem.out.print(Integer.parseInt(sz_number[i]));\n\t\t\tif (i > 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"System.out.print(Integer.parseInt(sz_number[i]))",
"System.out.print",
"System.out",
"System",
"System.out",
"Integer.parseInt(sz_number[i])",
"Integer.parseInt",
"Integer",
"sz_number[i]",
"sz_number",
"i",
"if (i > 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"i > 0",
"i",
"0",
"{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String args[]",
"args"
] | import java.io.*;
class Main {
public static void main(String args[]) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(br.readLine());
String sz_input = br.readLine();
String[] sz_number = sz_input.split(" ");
for (int i = n-1; i>=0; i--) {
System.out.print(Integer.parseInt(sz_number[i]));
if (i > 0) {
System.out.print(" ");
}
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
2,
13,
13,
17,
0,
18,
13,
2,
2,
13,
13,
17,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
8,
2,
13,
2,
13,
17,
17,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
114,
5
],
[
114,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
68,
68
],
[
68,
69
],
[
68,
70
],
[
68,
71
],
[
55,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
76,
76
],
[
76,
77
],
[
76,
78
],
[
76,
79
],
[
72,
80
],
[
8,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
86,
88
],
[
81,
89
],
[
89,
90
],
[
90,
91
],
[
81,
92
],
[
93,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
106,
108
],
[
103,
109
],
[
103,
110
],
[
6,
111
],
[
111,
112
],
[
0,
113
],
[
113,
114
],
[
113,
115
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\t\n\t\tint[] a = new int[n];\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scanner.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n/2; i++)\n\t\t{\n\t\t\tint buf = a[i];\n\t\t\ta[i] = a[n-i-1] ;\n\t\t\ta[n-i-1] = buf;\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tSystem.out.print(a[i]+(i==n-1?\"\\n\":\" \"));\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{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\t\n\t\tint[] a = new int[n];\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scanner.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n/2; i++)\n\t\t{\n\t\t\tint buf = a[i];\n\t\t\ta[i] = a[n-i-1] ;\n\t\t\ta[n-i-1] = buf;\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tSystem.out.print(a[i]+(i==n-1?\"\\n\":\" \"));\n\t\t}\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\t\n\t\tint[] a = new int[n];\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scanner.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n/2; i++)\n\t\t{\n\t\t\tint buf = a[i];\n\t\t\ta[i] = a[n-i-1] ;\n\t\t\ta[n-i-1] = buf;\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tSystem.out.print(a[i]+(i==n-1?\"\\n\":\" \"));\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\t\n\t\tint[] a = new int[n];\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scanner.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n/2; i++)\n\t\t{\n\t\t\tint buf = a[i];\n\t\t\ta[i] = a[n-i-1] ;\n\t\t\ta[n-i-1] = buf;\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tSystem.out.print(a[i]+(i==n-1?\"\\n\":\" \"));\n\t\t}\n\t\t\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int n = scanner.nextInt();",
"n",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for(int i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scanner.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = scanner.nextInt();\n\t\t}",
"{\n\t\t\ta[i] = scanner.nextInt();\n\t\t}",
"a[i] = scanner.nextInt()",
"a[i]",
"a",
"i",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"for(int i=0; i<n/2; i++)\n\t\t{\n\t\t\tint buf = a[i];\n\t\t\ta[i] = a[n-i-1] ;\n\t\t\ta[n-i-1] = buf;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n/2",
"i",
"n/2",
"n",
"2",
"i++",
"i++",
"i",
"{\n\t\t\tint buf = a[i];\n\t\t\ta[i] = a[n-i-1] ;\n\t\t\ta[n-i-1] = buf;\n\t\t}",
"{\n\t\t\tint buf = a[i];\n\t\t\ta[i] = a[n-i-1] ;\n\t\t\ta[n-i-1] = buf;\n\t\t}",
"int buf = a[i];",
"buf",
"a[i]",
"a",
"i",
"a[i] = a[n-i-1]",
"a[i]",
"a",
"i",
"a[n-i-1]",
"a",
"n-i-1",
"n-i-1",
"n",
"i",
"1",
"a[n-i-1] = buf",
"a[n-i-1]",
"a",
"n-i-1",
"n-i-1",
"n",
"i",
"1",
"buf",
"for(int i=0; i<n; i++)\n\t\t{\n\t\t\tSystem.out.print(a[i]+(i==n-1?\"\\n\":\" \"));\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.print(a[i]+(i==n-1?\"\\n\":\" \"));\n\t\t}",
"{\n\t\t\tSystem.out.print(a[i]+(i==n-1?\"\\n\":\" \"));\n\t\t}",
"System.out.print(a[i]+(i==n-1?\"\\n\":\" \"))",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i]+(i==n-1?\"\\n\":\" \")",
"a[i]",
"a",
"i",
"(i==n-1?\"\\n\":\" \")",
"i==n-1",
"i",
"n-1",
"n",
"1",
"\"\\n\"",
"\" \"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\t\n\t\tint[] a = new int[n];\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scanner.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n/2; i++)\n\t\t{\n\t\t\tint buf = a[i];\n\t\t\ta[i] = a[n-i-1] ;\n\t\t\ta[n-i-1] = buf;\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tSystem.out.print(a[i]+(i==n-1?\"\\n\":\" \"));\n\t\t}\n\t\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\t\n\t\tint[] a = new int[n];\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scanner.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n/2; i++)\n\t\t{\n\t\t\tint buf = a[i];\n\t\t\ta[i] = a[n-i-1] ;\n\t\t\ta[n-i-1] = buf;\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tSystem.out.print(a[i]+(i==n-1?\"\\n\":\" \"));\n\t\t}\n\t\t\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args)
{
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int[] a = new int[n];
for(int i=0; i<n; i++)
{
a[i] = scanner.nextInt();
}
for(int i=0; i<n/2; i++)
{
int buf = a[i];
a[i] = a[n-i-1] ;
a[n-i-1] = buf;
}
for(int i=0; i<n; i++)
{
System.out.print(a[i]+(i==n-1?"\n":" "));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
13,
2,
13,
17,
3,
11,
1,
41,
13,
2,
13,
17,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
86,
5
],
[
86,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
21,
27
],
[
27,
28
],
[
28,
29
],
[
21,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
39,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
46,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
58,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
58,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
6,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint x = scan.nextInt();\n int[] n = new int[x];\n \n for(int i=0; true; i++){\n \tn[i] = scan.nextInt();\n \tif(i == x-1) break;\n }\n for(int i=x-1; true; i--){\n \tSystem.out.print(n[i]);\n \tif(i == 0) break;\n \tSystem.out.print(\" \");\n }\n \tSystem.out.println();\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\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint x = scan.nextInt();\n int[] n = new int[x];\n \n for(int i=0; true; i++){\n \tn[i] = scan.nextInt();\n \tif(i == x-1) break;\n }\n for(int i=x-1; true; i--){\n \tSystem.out.print(n[i]);\n \tif(i == 0) break;\n \tSystem.out.print(\" \");\n }\n \tSystem.out.println();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint x = scan.nextInt();\n int[] n = new int[x];\n \n for(int i=0; true; i++){\n \tn[i] = scan.nextInt();\n \tif(i == x-1) break;\n }\n for(int i=x-1; true; i--){\n \tSystem.out.print(n[i]);\n \tif(i == 0) break;\n \tSystem.out.print(\" \");\n }\n \tSystem.out.println();\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint x = scan.nextInt();\n int[] n = new int[x];\n \n for(int i=0; true; i++){\n \tn[i] = scan.nextInt();\n \tif(i == x-1) break;\n }\n for(int i=x-1; true; i--){\n \tSystem.out.print(n[i]);\n \tif(i == 0) break;\n \tSystem.out.print(\" \");\n }\n \tSystem.out.println();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] n = new int[x];",
"n",
"new int[x]",
"x",
"for(int i=0; true; i++){\n \tn[i] = scan.nextInt();\n \tif(i == x-1) break;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"true",
"i++",
"i++",
"i",
"{\n \tn[i] = scan.nextInt();\n \tif(i == x-1) break;\n }",
"{\n \tn[i] = scan.nextInt();\n \tif(i == x-1) break;\n }",
"n[i] = scan.nextInt()",
"n[i]",
"n",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(i == x-1) break;",
"i == x-1",
"i",
"x-1",
"x",
"1",
"break;",
"for(int i=x-1; true; i--){\n \tSystem.out.print(n[i]);\n \tif(i == 0) break;\n \tSystem.out.print(\" \");\n }",
"int i=x-1;",
"int i=x-1;",
"i",
"x-1",
"x",
"1",
"true",
"i--",
"i--",
"i",
"{\n \tSystem.out.print(n[i]);\n \tif(i == 0) break;\n \tSystem.out.print(\" \");\n }",
"{\n \tSystem.out.print(n[i]);\n \tif(i == 0) break;\n \tSystem.out.print(\" \");\n }",
"System.out.print(n[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"n[i]",
"n",
"i",
"if(i == 0) break;",
"i == 0",
"i",
"0",
"break;",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint x = scan.nextInt();\n int[] n = new int[x];\n \n for(int i=0; true; i++){\n \tn[i] = scan.nextInt();\n \tif(i == x-1) break;\n }\n for(int i=x-1; true; i--){\n \tSystem.out.print(n[i]);\n \tif(i == 0) break;\n \tSystem.out.print(\" \");\n }\n \tSystem.out.println();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint x = scan.nextInt();\n int[] n = new int[x];\n \n for(int i=0; true; i++){\n \tn[i] = scan.nextInt();\n \tif(i == x-1) break;\n }\n for(int i=x-1; true; i--){\n \tSystem.out.print(n[i]);\n \tif(i == 0) break;\n \tSystem.out.print(\" \");\n }\n \tSystem.out.println();\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
int[] n = new int[x];
for(int i=0; true; i++){
n[i] = scan.nextInt();
if(i == x-1) break;
}
for(int i=x-1; true; i--){
System.out.print(n[i]);
if(i == 0) break;
System.out.print(" ");
}
System.out.println();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
20,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
4,
18,
13,
18,
13,
13,
17,
41,
13,
17,
14,
2,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
17,
2,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
101,
11
],
[
101,
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
],
[
18,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
25,
42
],
[
42,
43
],
[
42,
44
],
[
25,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
45,
54
],
[
54,
55
],
[
54,
56
],
[
45,
57
],
[
57,
58
],
[
58,
59
],
[
45,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
25,
71
],
[
71,
72
],
[
71,
73
],
[
25,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
75,
79
],
[
74,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
83,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
87,
91
],
[
25,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
12,
98
],
[
98,
99
],
[
0,
100
],
[
100,
101
],
[
100,
102
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\t// 1???????????\\???\n\t\t\tString str = br.readLine();\n\t\t\t// 2???????????\\???\n\t\t\tstr = br.readLine();\n\t\t\tString[] strs = str.split(\" \");\n\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tfor(int i=strs.length -1;i>=0;i--){\n\t\t\t\tsb.append(strs[i]).append(\" \");\n\t\t\t}\n\t\t\tString mes = \"\";\n\t\t\tif(sb.length()>0){\n\t\t\t\tmes = sb.substring(0,sb.length()-1);\n\t\t\t}\n\t\t\tSystem.out.println(mes);\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",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\t// 1???????????\\???\n\t\t\tString str = br.readLine();\n\t\t\t// 2???????????\\???\n\t\t\tstr = br.readLine();\n\t\t\tString[] strs = str.split(\" \");\n\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tfor(int i=strs.length -1;i>=0;i--){\n\t\t\t\tsb.append(strs[i]).append(\" \");\n\t\t\t}\n\t\t\tString mes = \"\";\n\t\t\tif(sb.length()>0){\n\t\t\t\tmes = sb.substring(0,sb.length()-1);\n\t\t\t}\n\t\t\tSystem.out.println(mes);\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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\t// 1???????????\\???\n\t\t\tString str = br.readLine();\n\t\t\t// 2???????????\\???\n\t\t\tstr = br.readLine();\n\t\t\tString[] strs = str.split(\" \");\n\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tfor(int i=strs.length -1;i>=0;i--){\n\t\t\t\tsb.append(strs[i]).append(\" \");\n\t\t\t}\n\t\t\tString mes = \"\";\n\t\t\tif(sb.length()>0){\n\t\t\t\tmes = sb.substring(0,sb.length()-1);\n\t\t\t}\n\t\t\tSystem.out.println(mes);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\t// 1???????????\\???\n\t\t\tString str = br.readLine();\n\t\t\t// 2???????????\\???\n\t\t\tstr = br.readLine();\n\t\t\tString[] strs = str.split(\" \");\n\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tfor(int i=strs.length -1;i>=0;i--){\n\t\t\t\tsb.append(strs[i]).append(\" \");\n\t\t\t}\n\t\t\tString mes = \"\";\n\t\t\tif(sb.length()>0){\n\t\t\t\tmes = sb.substring(0,sb.length()-1);\n\t\t\t}\n\t\t\tSystem.out.println(mes);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n\t\t\t// 1???????????\\???\n\t\t\tString str = br.readLine();\n\t\t\t// 2???????????\\???\n\t\t\tstr = br.readLine();\n\t\t\tString[] strs = str.split(\" \");\n\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tfor(int i=strs.length -1;i>=0;i--){\n\t\t\t\tsb.append(strs[i]).append(\" \");\n\t\t\t}\n\t\t\tString mes = \"\";\n\t\t\tif(sb.length()>0){\n\t\t\t\tmes = sb.substring(0,sb.length()-1);\n\t\t\t}\n\t\t\tSystem.out.println(mes);\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\t// 1???????????\\???\n\t\t\tString str = br.readLine();\n\t\t\t// 2???????????\\???\n\t\t\tstr = br.readLine();\n\t\t\tString[] strs = str.split(\" \");\n\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tfor(int i=strs.length -1;i>=0;i--){\n\t\t\t\tsb.append(strs[i]).append(\" \");\n\t\t\t}\n\t\t\tString mes = \"\";\n\t\t\tif(sb.length()>0){\n\t\t\t\tmes = sb.substring(0,sb.length()-1);\n\t\t\t}\n\t\t\tSystem.out.println(mes);\n\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] strs = str.split(\" \");",
"strs",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for(int i=strs.length -1;i>=0;i--){\n\t\t\t\tsb.append(strs[i]).append(\" \");\n\t\t\t}",
"int i=strs.length -1;",
"int i=strs.length -1;",
"i",
"strs.length -1",
"strs.length",
"strs",
"strs.length",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\t\tsb.append(strs[i]).append(\" \");\n\t\t\t}",
"{\n\t\t\t\tsb.append(strs[i]).append(\" \");\n\t\t\t}",
"sb.append(strs[i]).append(\" \")",
"sb.append(strs[i]).append",
"sb.append(strs[i])",
"sb.append",
"sb",
"strs[i]",
"strs",
"i",
"\" \"",
"String mes = \"\";",
"mes",
"\"\"",
"if(sb.length()>0){\n\t\t\t\tmes = sb.substring(0,sb.length()-1);\n\t\t\t}",
"sb.length()>0",
"sb.length()",
"sb.length",
"sb",
"0",
"{\n\t\t\t\tmes = sb.substring(0,sb.length()-1);\n\t\t\t}",
"mes = sb.substring(0,sb.length()-1)",
"mes",
"sb.substring(0,sb.length()-1)",
"sb.substring",
"sb",
"0",
"sb.length()-1",
"sb.length()",
"sb.length",
"sb",
"1",
"System.out.println(mes)",
"System.out.println",
"System.out",
"System",
"System.out",
"mes",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\t// 1???????????\\???\n\t\t\tString str = br.readLine();\n\t\t\t// 2???????????\\???\n\t\t\tstr = br.readLine();\n\t\t\tString[] strs = str.split(\" \");\n\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tfor(int i=strs.length -1;i>=0;i--){\n\t\t\t\tsb.append(strs[i]).append(\" \");\n\t\t\t}\n\t\t\tString mes = \"\";\n\t\t\tif(sb.length()>0){\n\t\t\t\tmes = sb.substring(0,sb.length()-1);\n\t\t\t}\n\t\t\tSystem.out.println(mes);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\t// 1???????????\\???\n\t\t\tString str = br.readLine();\n\t\t\t// 2???????????\\???\n\t\t\tstr = br.readLine();\n\t\t\tString[] strs = str.split(\" \");\n\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tfor(int i=strs.length -1;i>=0;i--){\n\t\t\t\tsb.append(strs[i]).append(\" \");\n\t\t\t}\n\t\t\tString mes = \"\";\n\t\t\tif(sb.length()>0){\n\t\t\t\tmes = sb.substring(0,sb.length()-1);\n\t\t\t}\n\t\t\tSystem.out.println(mes);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\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) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try {
// 1???????????\???
String str = br.readLine();
// 2???????????\???
str = br.readLine();
String[] strs = str.split(" ");
StringBuilder sb = new StringBuilder();
for(int i=strs.length -1;i>=0;i--){
sb.append(strs[i]).append(" ");
}
String mes = "";
if(sb.length()>0){
mes = sb.substring(0,sb.length()-1);
}
System.out.println(mes);
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
68,
17
],
[
68,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
20,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
20,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
60,
64
],
[
18,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"import java.io.*;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[]) throws IOException {\n\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// ???????????°?????????\n\t\tint count = sc.nextInt();\n\n\t\t// ??????????????????????´?\n\t\tList<String> list = new ArrayList<String>();\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tlist.add(sc.next());\n\t\t}\n\n\t\t// ???????????????????????\\?????????\n\t\tCollections.reverse(list);\n\t\t\n\t\t// ?????????????????§??£???????????????\n\t\tSystem.out.println(String.join(\" \", list));\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// ???????????°?????????\n\t\tint count = sc.nextInt();\n\n\t\t// ??????????????????????´?\n\t\tList<String> list = new ArrayList<String>();\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tlist.add(sc.next());\n\t\t}\n\n\t\t// ???????????????????????\\?????????\n\t\tCollections.reverse(list);\n\t\t\n\t\t// ?????????????????§??£???????????????\n\t\tSystem.out.println(String.join(\" \", list));\n\t}\n}",
"Main",
"public static void main(String args[]) throws IOException {\n\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// ???????????°?????????\n\t\tint count = sc.nextInt();\n\n\t\t// ??????????????????????´?\n\t\tList<String> list = new ArrayList<String>();\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tlist.add(sc.next());\n\t\t}\n\n\t\t// ???????????????????????\\?????????\n\t\tCollections.reverse(list);\n\t\t\n\t\t// ?????????????????§??£???????????????\n\t\tSystem.out.println(String.join(\" \", list));\n\t}",
"main",
"{\n\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// ???????????°?????????\n\t\tint count = sc.nextInt();\n\n\t\t// ??????????????????????´?\n\t\tList<String> list = new ArrayList<String>();\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tlist.add(sc.next());\n\t\t}\n\n\t\t// ???????????????????????\\?????????\n\t\tCollections.reverse(list);\n\t\t\n\t\t// ?????????????????§??£???????????????\n\t\tSystem.out.println(String.join(\" \", list));\n\t}",
"@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int count = sc.nextInt();",
"count",
"sc.nextInt()",
"sc.nextInt",
"sc",
"List<String> list = new ArrayList<String>();",
"list",
"new ArrayList<String>()",
"for (int i = 0; i < count; i++) {\n\t\t\tlist.add(sc.next());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < count",
"i",
"count",
"i++",
"i++",
"i",
"{\n\t\t\tlist.add(sc.next());\n\t\t}",
"{\n\t\t\tlist.add(sc.next());\n\t\t}",
"list.add(sc.next())",
"list.add",
"list",
"sc.next()",
"sc.next",
"sc",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"System.out.println(String.join(\" \", list))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.join(\" \", list)",
"String.join",
"String",
"\" \"",
"list",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// ???????????°?????????\n\t\tint count = sc.nextInt();\n\n\t\t// ??????????????????????´?\n\t\tList<String> list = new ArrayList<String>();\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tlist.add(sc.next());\n\t\t}\n\n\t\t// ???????????????????????\\?????????\n\t\tCollections.reverse(list);\n\t\t\n\t\t// ?????????????????§??£???????????????\n\t\tSystem.out.println(String.join(\" \", list));\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// ???????????°?????????\n\t\tint count = sc.nextInt();\n\n\t\t// ??????????????????????´?\n\t\tList<String> list = new ArrayList<String>();\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tlist.add(sc.next());\n\t\t}\n\n\t\t// ???????????????????????\\?????????\n\t\tCollections.reverse(list);\n\t\t\n\t\t// ?????????????????§??£???????????????\n\t\tSystem.out.println(String.join(\" \", list));\n\t}\n}",
"Main"
] | import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String args[]) throws IOException {
@SuppressWarnings("resource")
Scanner sc = new Scanner(System.in);
// ???????????°?????????
int count = sc.nextInt();
// ??????????????????????´?
List<String> list = new ArrayList<String>();
for (int i = 0; i < count; i++) {
list.add(sc.next());
}
// ???????????????????????\?????????
Collections.reverse(list);
// ?????????????????§??£???????????????
System.out.println(String.join(" ", list));
}
} |
[
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,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
88,
11
],
[
88,
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
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
14,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
40,
47
],
[
47,
48
],
[
47,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
55,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
70,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
12,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String str = br.readLine();\n\t int n = Integer.parseInt(str);\n\t str = br.readLine();\n\t String [] ary = str.split(\" \");\n//\t int[] kaka = new int[n];\n//\t for (int i=0 ; i<n ; i++){\n//\t \t kaka[i] = Integer.parseInt(ary[i]);\n//\t }\n\n // Collection.reverse(ary);\n\t // System.out.println(Arrays.toString(kaka));\n\t \n\t for (int i= n-1; i>=0 ; i--){\n\t \tif (i !=0 ){\n\t \t System.out.print(ary[i]+\" \");}\n\t \telse { System.out.print(ary[i]);\n\t \t System.out.print(\"\\n\");\n\t \t}\n\t }\n\n\t}\n\n\t}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String str = br.readLine();\n\t int n = Integer.parseInt(str);\n\t str = br.readLine();\n\t String [] ary = str.split(\" \");\n//\t int[] kaka = new int[n];\n//\t for (int i=0 ; i<n ; i++){\n//\t \t kaka[i] = Integer.parseInt(ary[i]);\n//\t }\n\n // Collection.reverse(ary);\n\t // System.out.println(Arrays.toString(kaka));\n\t \n\t for (int i= n-1; i>=0 ; i--){\n\t \tif (i !=0 ){\n\t \t System.out.print(ary[i]+\" \");}\n\t \telse { System.out.print(ary[i]);\n\t \t System.out.print(\"\\n\");\n\t \t}\n\t }\n\n\t}\n\n\t}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String str = br.readLine();\n\t int n = Integer.parseInt(str);\n\t str = br.readLine();\n\t String [] ary = str.split(\" \");\n//\t int[] kaka = new int[n];\n//\t for (int i=0 ; i<n ; i++){\n//\t \t kaka[i] = Integer.parseInt(ary[i]);\n//\t }\n\n // Collection.reverse(ary);\n\t // System.out.println(Arrays.toString(kaka));\n\t \n\t for (int i= n-1; i>=0 ; i--){\n\t \tif (i !=0 ){\n\t \t System.out.print(ary[i]+\" \");}\n\t \telse { System.out.print(ary[i]);\n\t \t System.out.print(\"\\n\");\n\t \t}\n\t }\n\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String str = br.readLine();\n\t int n = Integer.parseInt(str);\n\t str = br.readLine();\n\t String [] ary = str.split(\" \");\n//\t int[] kaka = new int[n];\n//\t for (int i=0 ; i<n ; i++){\n//\t \t kaka[i] = Integer.parseInt(ary[i]);\n//\t }\n\n // Collection.reverse(ary);\n\t // System.out.println(Arrays.toString(kaka));\n\t \n\t for (int i= n-1; i>=0 ; i--){\n\t \tif (i !=0 ){\n\t \t System.out.print(ary[i]+\" \");}\n\t \telse { System.out.print(ary[i]);\n\t \t System.out.print(\"\\n\");\n\t \t}\n\t }\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",
"int n = Integer.parseInt(str);",
"n",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"String [] ary = str.split(\" \");",
"ary",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"for (int i= n-1; i>=0 ; i--){\n\t \tif (i !=0 ){\n\t \t System.out.print(ary[i]+\" \");}\n\t \telse { System.out.print(ary[i]);\n\t \t System.out.print(\"\\n\");\n\t \t}\n\t }",
"int i= n-1;",
"int i= n-1;",
"i",
"n-1",
"n",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t \tif (i !=0 ){\n\t \t System.out.print(ary[i]+\" \");}\n\t \telse { System.out.print(ary[i]);\n\t \t System.out.print(\"\\n\");\n\t \t}\n\t }",
"{\n\t \tif (i !=0 ){\n\t \t System.out.print(ary[i]+\" \");}\n\t \telse { System.out.print(ary[i]);\n\t \t System.out.print(\"\\n\");\n\t \t}\n\t }",
"if (i !=0 ){\n\t \t System.out.print(ary[i]+\" \");}\n\t \telse { System.out.print(ary[i]);\n\t \t System.out.print(\"\\n\");\n\t \t}",
"i !=0",
"i",
"0",
"{\n\t \t System.out.print(ary[i]+\" \");}",
"System.out.print(ary[i]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"ary[i]+\" \"",
"ary[i]",
"ary",
"i",
"\" \"",
"{ System.out.print(ary[i]);\n\t \t System.out.print(\"\\n\");\n\t \t}",
"System.out.print(ary[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"ary[i]",
"ary",
"i",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String str = br.readLine();\n\t int n = Integer.parseInt(str);\n\t str = br.readLine();\n\t String [] ary = str.split(\" \");\n//\t int[] kaka = new int[n];\n//\t for (int i=0 ; i<n ; i++){\n//\t \t kaka[i] = Integer.parseInt(ary[i]);\n//\t }\n\n // Collection.reverse(ary);\n\t // System.out.println(Arrays.toString(kaka));\n\t \n\t for (int i= n-1; i>=0 ; i--){\n\t \tif (i !=0 ){\n\t \t System.out.print(ary[i]+\" \");}\n\t \telse { System.out.print(ary[i]);\n\t \t System.out.print(\"\\n\");\n\t \t}\n\t }\n\n\t}\n\n\t}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String str = br.readLine();\n\t int n = Integer.parseInt(str);\n\t str = br.readLine();\n\t String [] ary = str.split(\" \");\n//\t int[] kaka = new int[n];\n//\t for (int i=0 ; i<n ; i++){\n//\t \t kaka[i] = Integer.parseInt(ary[i]);\n//\t }\n\n // Collection.reverse(ary);\n\t // System.out.println(Arrays.toString(kaka));\n\t \n\t for (int i= n-1; i>=0 ; i--){\n\t \tif (i !=0 ){\n\t \t System.out.print(ary[i]+\" \");}\n\t \telse { System.out.print(ary[i]);\n\t \t System.out.print(\"\\n\");\n\t \t}\n\t }\n\n\t}\n\n\t}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
// TODO ?????????????????????????????????????????????
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
int n = Integer.parseInt(str);
str = br.readLine();
String [] ary = str.split(" ");
// int[] kaka = new int[n];
// for (int i=0 ; i<n ; i++){
// kaka[i] = Integer.parseInt(ary[i]);
// }
// Collection.reverse(ary);
// System.out.println(Arrays.toString(kaka));
for (int i= n-1; i>=0 ; i--){
if (i !=0 ){
System.out.print(ary[i]+" ");}
else { System.out.print(ary[i]);
System.out.print("\n");
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
13,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
81,
5
],
[
81,
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
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
34,
41
],
[
41,
42
],
[
41,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
49,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
8,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
6,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line1 = sc.nextLine();\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] a = line2.split(\" \");\n\n\t\tint n = Integer.parseInt(line1);\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(a[i]);\n\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line1 = sc.nextLine();\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] a = line2.split(\" \");\n\n\t\tint n = Integer.parseInt(line1);\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(a[i]);\n\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line1 = sc.nextLine();\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] a = line2.split(\" \");\n\n\t\tint n = Integer.parseInt(line1);\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(a[i]);\n\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line1 = sc.nextLine();\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] a = line2.split(\" \");\n\n\t\tint n = Integer.parseInt(line1);\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(a[i]);\n\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String line1 = sc.nextLine();",
"line1",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String line2 = sc.nextLine();",
"line2",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] a = line2.split(\" \");",
"a",
"line2.split(\" \")",
"line2.split",
"line2",
"\" \"",
"int n = Integer.parseInt(line1);",
"n",
"Integer.parseInt(line1)",
"Integer.parseInt",
"Integer",
"line1",
"for (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(a[i]);\n\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\n\t\t\t}\n\n\t\t}",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(a[i]);\n\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\n\t\t\t}\n\n\t\t}",
"{\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(a[i]);\n\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\n\t\t\t}\n\n\t\t}",
"if (i == 0) {\n\t\t\t\tSystem.out.print(a[i]);\n\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\n\t\t\t}",
"i == 0",
"i",
"0",
"{\n\t\t\t\tSystem.out.print(a[i]);\n\n\t\t\t}",
"System.out.print(a[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"{\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\n\t\t\t}",
"System.out.print(a[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i] + \" \"",
"a[i]",
"a",
"i",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line1 = sc.nextLine();\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] a = line2.split(\" \");\n\n\t\tint n = Integer.parseInt(line1);\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(a[i]);\n\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line1 = sc.nextLine();\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] a = line2.split(\" \");\n\n\t\tint n = Integer.parseInt(line1);\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(a[i]);\n\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String line1 = sc.nextLine();
String line2 = sc.nextLine();
String[] a = line2.split(" ");
int n = Integer.parseInt(line1);
for (int i = n - 1; i >= 0; i--) {
if (i == 0) {
System.out.print(a[i]);
} else {
System.out.print(a[i] + " ");
}
}
System.out.println();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
17,
13,
30,
4,
18,
18,
13,
13,
18,
13,
13,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
89,
11
],
[
89,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
23,
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
],
[
41,
42
],
[
42,
43
],
[
39,
44
],
[
14,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
45,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
45,
57
],
[
57,
58
],
[
58,
59
],
[
45,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
62,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
12,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n //???????????\\???\n String[] input = br.readLine().split(\" \");\n int n = Integer.parseInt(input[0]);\n\n //2???????????\\???\n String[] input2 = br.readLine().split(\" \");\n\n //??????\n for(int a = n - 1; 0 < a + 1; a--){\n\n \tif(0 == a){\n \t\tSystem.out.println(input2[a]);\n \t}else{\n \tSystem.out.print(input2[a] + \" \");\n \t}\n }\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n //???????????\\???\n String[] input = br.readLine().split(\" \");\n int n = Integer.parseInt(input[0]);\n\n //2???????????\\???\n String[] input2 = br.readLine().split(\" \");\n\n //??????\n for(int a = n - 1; 0 < a + 1; a--){\n\n \tif(0 == a){\n \t\tSystem.out.println(input2[a]);\n \t}else{\n \tSystem.out.print(input2[a] + \" \");\n \t}\n }\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n //???????????\\???\n String[] input = br.readLine().split(\" \");\n int n = Integer.parseInt(input[0]);\n\n //2???????????\\???\n String[] input2 = br.readLine().split(\" \");\n\n //??????\n for(int a = n - 1; 0 < a + 1; a--){\n\n \tif(0 == a){\n \t\tSystem.out.println(input2[a]);\n \t}else{\n \tSystem.out.print(input2[a] + \" \");\n \t}\n }\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n //???????????\\???\n String[] input = br.readLine().split(\" \");\n int n = Integer.parseInt(input[0]);\n\n //2???????????\\???\n String[] input2 = br.readLine().split(\" \");\n\n //??????\n for(int a = n - 1; 0 < a + 1; a--){\n\n \tif(0 == a){\n \t\tSystem.out.println(input2[a]);\n \t}else{\n \tSystem.out.print(input2[a] + \" \");\n \t}\n }\n\t}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"String[] input = br.readLine().split(\" \");",
"input",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int n = Integer.parseInt(input[0]);",
"n",
"Integer.parseInt(input[0])",
"Integer.parseInt",
"Integer",
"input[0]",
"input",
"0",
"String[] input2 = br.readLine().split(\" \");",
"input2",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for(int a = n - 1; 0 < a + 1; a--){\n\n \tif(0 == a){\n \t\tSystem.out.println(input2[a]);\n \t}else{\n \tSystem.out.print(input2[a] + \" \");\n \t}\n }",
"int a = n - 1;",
"int a = n - 1;",
"a",
"n - 1",
"n",
"1",
"0 < a + 1",
"0",
"a + 1",
"a",
"1",
"a--",
"a--",
"a",
"{\n\n \tif(0 == a){\n \t\tSystem.out.println(input2[a]);\n \t}else{\n \tSystem.out.print(input2[a] + \" \");\n \t}\n }",
"{\n\n \tif(0 == a){\n \t\tSystem.out.println(input2[a]);\n \t}else{\n \tSystem.out.print(input2[a] + \" \");\n \t}\n }",
"if(0 == a){\n \t\tSystem.out.println(input2[a]);\n \t}else{\n \tSystem.out.print(input2[a] + \" \");\n \t}",
"0 == a",
"0",
"a",
"{\n \t\tSystem.out.println(input2[a]);\n \t}",
"System.out.println(input2[a])",
"System.out.println",
"System.out",
"System",
"System.out",
"input2[a]",
"input2",
"a",
"{\n \tSystem.out.print(input2[a] + \" \");\n \t}",
"System.out.print(input2[a] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"input2[a] + \" \"",
"input2[a]",
"input2",
"a",
"\" \"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n //???????????\\???\n String[] input = br.readLine().split(\" \");\n int n = Integer.parseInt(input[0]);\n\n //2???????????\\???\n String[] input2 = br.readLine().split(\" \");\n\n //??????\n for(int a = n - 1; 0 < a + 1; a--){\n\n \tif(0 == a){\n \t\tSystem.out.println(input2[a]);\n \t}else{\n \tSystem.out.print(input2[a] + \" \");\n \t}\n }\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n //???????????\\???\n String[] input = br.readLine().split(\" \");\n int n = Integer.parseInt(input[0]);\n\n //2???????????\\???\n String[] input2 = br.readLine().split(\" \");\n\n //??????\n for(int a = n - 1; 0 < a + 1; a--){\n\n \tif(0 == a){\n \t\tSystem.out.println(input2[a]);\n \t}else{\n \tSystem.out.print(input2[a] + \" \");\n \t}\n }\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 {
// TODO ?????????????????????????????????????????????
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
//???????????\???
String[] input = br.readLine().split(" ");
int n = Integer.parseInt(input[0]);
//2???????????\???
String[] input2 = br.readLine().split(" ");
//??????
for(int a = n - 1; 0 < a + 1; a--){
if(0 == a){
System.out.println(input2[a]);
}else{
System.out.print(input2[a] + " ");
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
13,
41,
13,
2,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
0,
18,
13,
13,
18,
13,
13,
0,
13,
18,
13,
13,
30,
0,
18,
13,
13,
18,
13,
13,
40,
13,
0,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
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
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
22,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
62,
64
],
[
57,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
53,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
70,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
8,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
6,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
] | [
"import java.io.*;\n\npublic class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n String [] num =new String[n];\n int count=n-1;\n String res=\"\";\n for(int i=0;i<n;i++){\n if(count==0){\n num[i]=(str[count]);\n \n res+=num[i];\n }else{\n num[i]=(str[count]);\n count--;\n res+=num[i]+\" \";\n }\n }\n System.out.println(res);\n }\n\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n String [] num =new String[n];\n int count=n-1;\n String res=\"\";\n for(int i=0;i<n;i++){\n if(count==0){\n num[i]=(str[count]);\n \n res+=num[i];\n }else{\n num[i]=(str[count]);\n count--;\n res+=num[i]+\" \";\n }\n }\n System.out.println(res);\n }\n\n}",
"Main",
"public static void main(String[]args) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n String [] num =new String[n];\n int count=n-1;\n String res=\"\";\n for(int i=0;i<n;i++){\n if(count==0){\n num[i]=(str[count]);\n \n res+=num[i];\n }else{\n num[i]=(str[count]);\n count--;\n res+=num[i]+\" \";\n }\n }\n System.out.println(res);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n String [] num =new String[n];\n int count=n-1;\n String res=\"\";\n for(int i=0;i<n;i++){\n if(count==0){\n num[i]=(str[count]);\n \n res+=num[i];\n }else{\n num[i]=(str[count]);\n count--;\n res+=num[i]+\" \";\n }\n }\n System.out.println(res);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int n = Integer.parseInt(br.readLine());",
"n",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"String[] str = br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"String [] num =new String[n];",
"num",
"new String[n]",
"n",
"int count=n-1;",
"count",
"n-1",
"n",
"1",
"String res=\"\";",
"res",
"\"\"",
"for(int i=0;i<n;i++){\n if(count==0){\n num[i]=(str[count]);\n \n res+=num[i];\n }else{\n num[i]=(str[count]);\n count--;\n res+=num[i]+\" \";\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n if(count==0){\n num[i]=(str[count]);\n \n res+=num[i];\n }else{\n num[i]=(str[count]);\n count--;\n res+=num[i]+\" \";\n }\n }",
"{\n if(count==0){\n num[i]=(str[count]);\n \n res+=num[i];\n }else{\n num[i]=(str[count]);\n count--;\n res+=num[i]+\" \";\n }\n }",
"if(count==0){\n num[i]=(str[count]);\n \n res+=num[i];\n }else{\n num[i]=(str[count]);\n count--;\n res+=num[i]+\" \";\n }",
"count==0",
"count",
"0",
"{\n num[i]=(str[count]);\n \n res+=num[i];\n }",
"num[i]=(str[count])",
"num[i]",
"num",
"i",
"(str[count])",
"str",
"count",
"res+=num[i]",
"res",
"num[i]",
"num",
"i",
"{\n num[i]=(str[count]);\n count--;\n res+=num[i]+\" \";\n }",
"num[i]=(str[count])",
"num[i]",
"num",
"i",
"(str[count])",
"str",
"count",
"count--",
"count",
"res+=num[i]+\" \"",
"res",
"num[i]+\" \"",
"num[i]",
"num",
"i",
"\" \"",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String[]args",
"args",
"public class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n String [] num =new String[n];\n int count=n-1;\n String res=\"\";\n for(int i=0;i<n;i++){\n if(count==0){\n num[i]=(str[count]);\n \n res+=num[i];\n }else{\n num[i]=(str[count]);\n count--;\n res+=num[i]+\" \";\n }\n }\n System.out.println(res);\n }\n\n}",
"public class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n String [] num =new String[n];\n int count=n-1;\n String res=\"\";\n for(int i=0;i<n;i++){\n if(count==0){\n num[i]=(str[count]);\n \n res+=num[i];\n }else{\n num[i]=(str[count]);\n count--;\n res+=num[i]+\" \";\n }\n }\n System.out.println(res);\n }\n\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[]args) throws NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(br.readLine());
String[] str = br.readLine().split(" ");
String [] num =new String[n];
int count=n-1;
String res="";
for(int i=0;i<n;i++){
if(count==0){
num[i]=(str[count]);
res+=num[i];
}else{
num[i]=(str[count]);
count--;
res+=num[i]+" ";
}
}
System.out.println(res);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
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
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
41,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
55,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
8,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
6,
80
],
[
80,
81
]
] | [
"import java.util.Scanner;\n\n class Main{\n public static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n\n int n = scan.nextInt();\n\n int[] a = new int[n];\n\n for(int i=0;i<n;i++){\n\n a[i] =scan.nextInt();\n\n }\n\n for(int i =n-1;i>=0;i--){\n\n System.out.print(a[i]);\n\n if(i!=0){\n System.out.print(\" \");\n }\n } \n System.out.println(); \n }\n }\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n\n int n = scan.nextInt();\n\n int[] a = new int[n];\n\n for(int i=0;i<n;i++){\n\n a[i] =scan.nextInt();\n\n }\n\n for(int i =n-1;i>=0;i--){\n\n System.out.print(a[i]);\n\n if(i!=0){\n System.out.print(\" \");\n }\n } \n System.out.println(); \n }\n }",
"Main",
"public static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n\n int n = scan.nextInt();\n\n int[] a = new int[n];\n\n for(int i=0;i<n;i++){\n\n a[i] =scan.nextInt();\n\n }\n\n for(int i =n-1;i>=0;i--){\n\n System.out.print(a[i]);\n\n if(i!=0){\n System.out.print(\" \");\n }\n } \n System.out.println(); \n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n\n int n = scan.nextInt();\n\n int[] a = new int[n];\n\n for(int i=0;i<n;i++){\n\n a[i] =scan.nextInt();\n\n }\n\n for(int i =n-1;i>=0;i--){\n\n System.out.print(a[i]);\n\n if(i!=0){\n System.out.print(\" \");\n }\n } \n System.out.println(); \n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for(int i=0;i<n;i++){\n\n a[i] =scan.nextInt();\n\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\n a[i] =scan.nextInt();\n\n }",
"{\n\n a[i] =scan.nextInt();\n\n }",
"a[i] =scan.nextInt()",
"a[i]",
"a",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(int i =n-1;i>=0;i--){\n\n System.out.print(a[i]);\n\n if(i!=0){\n System.out.print(\" \");\n }\n }",
"int i =n-1;",
"int i =n-1;",
"i",
"n-1",
"n",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\n System.out.print(a[i]);\n\n if(i!=0){\n System.out.print(\" \");\n }\n }",
"{\n\n System.out.print(a[i]);\n\n if(i!=0){\n System.out.print(\" \");\n }\n }",
"System.out.print(a[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"if(i!=0){\n System.out.print(\" \");\n }",
"i!=0",
"i",
"0",
"{\n System.out.print(\" \");\n }",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String args[]",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int[] a = new int[n];
for(int i=0;i<n;i++){
a[i] =scan.nextInt();
}
for(int i =n-1;i>=0;i--){
System.out.print(a[i]);
if(i!=0){
System.out.print(" ");
}
}
System.out.println();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
17,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
84,
5
],
[
84,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
51,
58
],
[
58,
59
],
[
58,
60
],
[
51,
61
],
[
61,
62
],
[
62,
63
],
[
51,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
8,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner x = new Scanner(System.in);\n\t\tint n = x.nextInt();\n\t\tint[] price = new int[n];\n\t\tfor(int m = 0 ; m < n ; m++){\n\t\t\tprice[m] = x.nextInt();\n\t\t}\n\t\tSystem.out.print(price[n-1]);\n\t\tfor(int g = n-2 ; g >= 0 ; g--){\n\t\t\tSystem.out.print(\" \" + price[g]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner x = new Scanner(System.in);\n\t\tint n = x.nextInt();\n\t\tint[] price = new int[n];\n\t\tfor(int m = 0 ; m < n ; m++){\n\t\t\tprice[m] = x.nextInt();\n\t\t}\n\t\tSystem.out.print(price[n-1]);\n\t\tfor(int g = n-2 ; g >= 0 ; g--){\n\t\t\tSystem.out.print(\" \" + price[g]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner x = new Scanner(System.in);\n\t\tint n = x.nextInt();\n\t\tint[] price = new int[n];\n\t\tfor(int m = 0 ; m < n ; m++){\n\t\t\tprice[m] = x.nextInt();\n\t\t}\n\t\tSystem.out.print(price[n-1]);\n\t\tfor(int g = n-2 ; g >= 0 ; g--){\n\t\t\tSystem.out.print(\" \" + price[g]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\tScanner x = new Scanner(System.in);\n\t\tint n = x.nextInt();\n\t\tint[] price = new int[n];\n\t\tfor(int m = 0 ; m < n ; m++){\n\t\t\tprice[m] = x.nextInt();\n\t\t}\n\t\tSystem.out.print(price[n-1]);\n\t\tfor(int g = n-2 ; g >= 0 ; g--){\n\t\t\tSystem.out.print(\" \" + price[g]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"Scanner x = new Scanner(System.in);",
"x",
"new Scanner(System.in)",
"int n = x.nextInt();",
"n",
"x.nextInt()",
"x.nextInt",
"x",
"int[] price = new int[n];",
"price",
"new int[n]",
"n",
"for(int m = 0 ; m < n ; m++){\n\t\t\tprice[m] = x.nextInt();\n\t\t}",
"int m = 0 ;",
"int m = 0 ;",
"m",
"0",
"m < n",
"m",
"n",
"m++",
"m++",
"m",
"{\n\t\t\tprice[m] = x.nextInt();\n\t\t}",
"{\n\t\t\tprice[m] = x.nextInt();\n\t\t}",
"price[m] = x.nextInt()",
"price[m]",
"price",
"m",
"x.nextInt()",
"x.nextInt",
"x",
"System.out.print(price[n-1])",
"System.out.print",
"System.out",
"System",
"System.out",
"price[n-1]",
"price",
"n-1",
"n",
"1",
"for(int g = n-2 ; g >= 0 ; g--){\n\t\t\tSystem.out.print(\" \" + price[g]);\n\t\t}",
"int g = n-2 ;",
"int g = n-2 ;",
"g",
"n-2",
"n",
"2",
"g >= 0",
"g",
"0",
"g--",
"g--",
"g",
"{\n\t\t\tSystem.out.print(\" \" + price[g]);\n\t\t}",
"{\n\t\t\tSystem.out.print(\" \" + price[g]);\n\t\t}",
"System.out.print(\" \" + price[g])",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \" + price[g]",
"\" \"",
"price[g]",
"price",
"g",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner x = new Scanner(System.in);\n\t\tint n = x.nextInt();\n\t\tint[] price = new int[n];\n\t\tfor(int m = 0 ; m < n ; m++){\n\t\t\tprice[m] = x.nextInt();\n\t\t}\n\t\tSystem.out.print(price[n-1]);\n\t\tfor(int g = n-2 ; g >= 0 ; g--){\n\t\t\tSystem.out.print(\" \" + price[g]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner x = new Scanner(System.in);\n\t\tint n = x.nextInt();\n\t\tint[] price = new int[n];\n\t\tfor(int m = 0 ; m < n ; m++){\n\t\t\tprice[m] = x.nextInt();\n\t\t}\n\t\tSystem.out.print(price[n-1]);\n\t\tfor(int g = n-2 ; g >= 0 ; g--){\n\t\t\tSystem.out.print(\" \" + price[g]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner x = new Scanner(System.in);
int n = x.nextInt();
int[] price = new int[n];
for(int m = 0 ; m < n ; m++){
price[m] = x.nextInt();
}
System.out.print(price[n-1]);
for(int g = n-2 ; g >= 0 ; g--){
System.out.print(" " + price[g]);
}
System.out.println();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
120,
8
],
[
120,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
27,
32
],
[
11,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
33,
40
],
[
40,
41
],
[
40,
42
],
[
33,
43
],
[
43,
44
],
[
44,
45
],
[
33,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
47,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
56,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
9,
78
],
[
78,
79
],
[
120,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
82,
88
],
[
88,
89
],
[
88,
90
],
[
82,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
97,
98
],
[
97,
99
],
[
92,
100
],
[
100,
101
],
[
101,
102
],
[
92,
103
],
[
104,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
112,
113
],
[
112,
114
],
[
82,
115
],
[
115,
116
],
[
80,
117
],
[
117,
118
],
[
0,
119
],
[
119,
120
],
[
119,
121
]
] | [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint[] intArray = convertInt(br.readLine().split(\" \"));\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tSystem.out.print(intArray[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else if (i == 0) {\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate static int[] convertInt(String[] strArray) {\n\t\tint len = strArray.length;\n\t\tint[] intArray = new int[len];\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint[] intArray = convertInt(br.readLine().split(\" \"));\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tSystem.out.print(intArray[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else if (i == 0) {\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate static int[] convertInt(String[] strArray) {\n\t\tint len = strArray.length;\n\t\tint[] intArray = new int[len];\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint[] intArray = convertInt(br.readLine().split(\" \"));\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tSystem.out.print(intArray[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else if (i == 0) {\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint[] intArray = convertInt(br.readLine().split(\" \"));\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tSystem.out.print(intArray[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else if (i == 0) {\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int n = Integer.parseInt(br.readLine());",
"n",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"int[] intArray = convertInt(br.readLine().split(\" \"));",
"intArray",
"convertInt(br.readLine().split(\" \"))",
"convertInt",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for (int i = n - 1; i >= 0; i--) {\n\t\t\tSystem.out.print(intArray[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else if (i == 0) {\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(intArray[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else if (i == 0) {\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}",
"{\n\t\t\tSystem.out.print(intArray[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else if (i == 0) {\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}",
"System.out.print(intArray[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"intArray[i]",
"intArray",
"i",
"if (i != 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else if (i == 0) {\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"i != 0",
"i",
"0",
"{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"if (i == 0) {\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"i == 0",
"i",
"0",
"{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"private static int[] convertInt(String[] strArray) {\n\t\tint len = strArray.length;\n\t\tint[] intArray = new int[len];\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}",
"convertInt",
"{\n\t\tint len = strArray.length;\n\t\tint[] intArray = new int[len];\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}",
"int len = strArray.length;",
"len",
"strArray.length",
"strArray",
"strArray.length",
"int[] intArray = new int[len];",
"intArray",
"new int[len]",
"len",
"for (int i = 0; i < len; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len",
"i",
"len",
"i++",
"i++",
"i",
"{\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}",
"{\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}",
"intArray[i] = Integer.parseInt(strArray[i])",
"intArray[i]",
"intArray",
"i",
"Integer.parseInt(strArray[i])",
"Integer.parseInt",
"Integer",
"strArray[i]",
"strArray",
"i",
"return intArray;",
"intArray",
"String[] strArray",
"strArray",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint[] intArray = convertInt(br.readLine().split(\" \"));\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tSystem.out.print(intArray[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else if (i == 0) {\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate static int[] convertInt(String[] strArray) {\n\t\tint len = strArray.length;\n\t\tint[] intArray = new int[len];\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tint[] intArray = convertInt(br.readLine().split(\" \"));\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tSystem.out.print(intArray[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t} else if (i == 0) {\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate static int[] convertInt(String[] strArray) {\n\t\tint len = strArray.length;\n\t\tint[] intArray = new int[len];\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(br.readLine());
int[] intArray = convertInt(br.readLine().split(" "));
for (int i = n - 1; i >= 0; i--) {
System.out.print(intArray[i]);
if (i != 0) {
System.out.print(" ");
} else if (i == 0) {
System.out.println("");
}
}
}
private static int[] convertInt(String[] strArray) {
int len = strArray.length;
int[] intArray = new int[len];
for (int i = 0; i < len; i++) {
intArray[i] = Integer.parseInt(strArray[i]);
}
return intArray;
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
41,
13,
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,
20,
42,
2,
13,
17,
30,
4,
18,
13,
18,
13,
2,
13,
17,
14,
2,
13,
17,
30,
3,
4,
18,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
102,
5
],
[
102,
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
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
8,
65
],
[
65,
66
],
[
65,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
72,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
72,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
72,
91
],
[
91,
92
],
[
8,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
6,
99
],
[
99,
100
],
[
0,
101
],
[
101,
102
],
[
101,
103
]
] | [
"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 line1 = sc.nextLine();\n\t\tint n = Integer.parseInt(line1);\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] s = line2.split(\" \");\n\n\t\tint[] a = new int[s.length];\n\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\ta[i] = Integer.parseInt(s[i]);\n\t\t}\n\n\t\tStringBuilder str = new StringBuilder();\n\n\t\twhile (n > 0) {\n\t\t\tstr.append(a[n - 1]);\n\t\t\tif (n == 1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tstr.append(\" \");\n\t\t\tn--;\n\t\t}\n\n\t\tSystem.out.println(str);\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 line1 = sc.nextLine();\n\t\tint n = Integer.parseInt(line1);\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] s = line2.split(\" \");\n\n\t\tint[] a = new int[s.length];\n\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\ta[i] = Integer.parseInt(s[i]);\n\t\t}\n\n\t\tStringBuilder str = new StringBuilder();\n\n\t\twhile (n > 0) {\n\t\t\tstr.append(a[n - 1]);\n\t\t\tif (n == 1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tstr.append(\" \");\n\t\t\tn--;\n\t\t}\n\n\t\tSystem.out.println(str);\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 line1 = sc.nextLine();\n\t\tint n = Integer.parseInt(line1);\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] s = line2.split(\" \");\n\n\t\tint[] a = new int[s.length];\n\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\ta[i] = Integer.parseInt(s[i]);\n\t\t}\n\n\t\tStringBuilder str = new StringBuilder();\n\n\t\twhile (n > 0) {\n\t\t\tstr.append(a[n - 1]);\n\t\t\tif (n == 1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tstr.append(\" \");\n\t\t\tn--;\n\t\t}\n\n\t\tSystem.out.println(str);\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tString line1 = sc.nextLine();\n\t\tint n = Integer.parseInt(line1);\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] s = line2.split(\" \");\n\n\t\tint[] a = new int[s.length];\n\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\ta[i] = Integer.parseInt(s[i]);\n\t\t}\n\n\t\tStringBuilder str = new StringBuilder();\n\n\t\twhile (n > 0) {\n\t\t\tstr.append(a[n - 1]);\n\t\t\tif (n == 1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tstr.append(\" \");\n\t\t\tn--;\n\t\t}\n\n\t\tSystem.out.println(str);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String line1 = sc.nextLine();",
"line1",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int n = Integer.parseInt(line1);",
"n",
"Integer.parseInt(line1)",
"Integer.parseInt",
"Integer",
"line1",
"String line2 = sc.nextLine();",
"line2",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] s = line2.split(\" \");",
"s",
"line2.split(\" \")",
"line2.split",
"line2",
"\" \"",
"int[] a = new int[s.length];",
"a",
"new int[s.length]",
"s.length",
"s",
"s.length",
"for (int i = 0; i < s.length; i++) {\n\t\t\ta[i] = Integer.parseInt(s[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length",
"i",
"s.length",
"s",
"s.length",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = Integer.parseInt(s[i]);\n\t\t}",
"{\n\t\t\ta[i] = Integer.parseInt(s[i]);\n\t\t}",
"a[i] = Integer.parseInt(s[i])",
"a[i]",
"a",
"i",
"Integer.parseInt(s[i])",
"Integer.parseInt",
"Integer",
"s[i]",
"s",
"i",
"StringBuilder str = new StringBuilder();",
"str",
"new StringBuilder()",
"while (n > 0) {\n\t\t\tstr.append(a[n - 1]);\n\t\t\tif (n == 1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tstr.append(\" \");\n\t\t\tn--;\n\t\t}",
"n > 0",
"n",
"0",
"{\n\t\t\tstr.append(a[n - 1]);\n\t\t\tif (n == 1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tstr.append(\" \");\n\t\t\tn--;\n\t\t}",
"str.append(a[n - 1])",
"str.append",
"str",
"a[n - 1]",
"a",
"n - 1",
"n",
"1",
"if (n == 1) {\n\t\t\t\tbreak;\n\t\t\t}",
"n == 1",
"n",
"1",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"str.append(\" \")",
"str.append",
"str",
"\" \"",
"n--",
"n",
"System.out.println(str)",
"System.out.println",
"System.out",
"System",
"System.out",
"str",
"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 line1 = sc.nextLine();\n\t\tint n = Integer.parseInt(line1);\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] s = line2.split(\" \");\n\n\t\tint[] a = new int[s.length];\n\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\ta[i] = Integer.parseInt(s[i]);\n\t\t}\n\n\t\tStringBuilder str = new StringBuilder();\n\n\t\twhile (n > 0) {\n\t\t\tstr.append(a[n - 1]);\n\t\t\tif (n == 1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tstr.append(\" \");\n\t\t\tn--;\n\t\t}\n\n\t\tSystem.out.println(str);\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 line1 = sc.nextLine();\n\t\tint n = Integer.parseInt(line1);\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] s = line2.split(\" \");\n\n\t\tint[] a = new int[s.length];\n\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\ta[i] = Integer.parseInt(s[i]);\n\t\t}\n\n\t\tStringBuilder str = new StringBuilder();\n\n\t\twhile (n > 0) {\n\t\t\tstr.append(a[n - 1]);\n\t\t\tif (n == 1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tstr.append(\" \");\n\t\t\tn--;\n\t\t}\n\n\t\tSystem.out.println(str);\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 line1 = sc.nextLine();
int n = Integer.parseInt(line1);
String line2 = sc.nextLine();
String[] s = line2.split(" ");
int[] a = new int[s.length];
for (int i = 0; i < s.length; i++) {
a[i] = Integer.parseInt(s[i]);
}
StringBuilder str = new StringBuilder();
while (n > 0) {
str.append(a[n - 1]);
if (n == 1) {
break;
}
str.append(" ");
n--;
}
System.out.println(str);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
79,
11
],
[
79,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
14,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
37,
44
],
[
44,
45
],
[
44,
46
],
[
37,
47
],
[
47,
48
],
[
48,
49
],
[
37,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
52,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
12,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint length = Integer.parseInt(br.readLine());\n\t\tString in = br.readLine();\n\t\tString[] inArray = in.split(\" \");\n\n\t\tfor(int i=length-1; i>=0; i--){\n\t\t\tif(i == 0 ){\n\t\t\t\tSystem.out.println(inArray[0]);;\n\t\t\t}else{\n\t\t\tSystem.out.print(inArray[i]+\" \");\n\t\t\t}\n\t\t}\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\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint length = Integer.parseInt(br.readLine());\n\t\tString in = br.readLine();\n\t\tString[] inArray = in.split(\" \");\n\n\t\tfor(int i=length-1; i>=0; i--){\n\t\t\tif(i == 0 ){\n\t\t\t\tSystem.out.println(inArray[0]);;\n\t\t\t}else{\n\t\t\tSystem.out.print(inArray[i]+\" \");\n\t\t\t}\n\t\t}\n\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\tint length = Integer.parseInt(br.readLine());\n\t\tString in = br.readLine();\n\t\tString[] inArray = in.split(\" \");\n\n\t\tfor(int i=length-1; i>=0; i--){\n\t\t\tif(i == 0 ){\n\t\t\t\tSystem.out.println(inArray[0]);;\n\t\t\t}else{\n\t\t\tSystem.out.print(inArray[i]+\" \");\n\t\t\t}\n\t\t}\n\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint length = Integer.parseInt(br.readLine());\n\t\tString in = br.readLine();\n\t\tString[] inArray = in.split(\" \");\n\n\t\tfor(int i=length-1; i>=0; i--){\n\t\t\tif(i == 0 ){\n\t\t\t\tSystem.out.println(inArray[0]);;\n\t\t\t}else{\n\t\t\tSystem.out.print(inArray[i]+\" \");\n\t\t\t}\n\t\t}\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int length = Integer.parseInt(br.readLine());",
"length",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"String in = br.readLine();",
"in",
"br.readLine()",
"br.readLine",
"br",
"String[] inArray = in.split(\" \");",
"inArray",
"in.split(\" \")",
"in.split",
"in",
"\" \"",
"for(int i=length-1; i>=0; i--){\n\t\t\tif(i == 0 ){\n\t\t\t\tSystem.out.println(inArray[0]);;\n\t\t\t}else{\n\t\t\tSystem.out.print(inArray[i]+\" \");\n\t\t\t}\n\t\t}",
"int i=length-1;",
"int i=length-1;",
"i",
"length-1",
"length",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tif(i == 0 ){\n\t\t\t\tSystem.out.println(inArray[0]);;\n\t\t\t}else{\n\t\t\tSystem.out.print(inArray[i]+\" \");\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(i == 0 ){\n\t\t\t\tSystem.out.println(inArray[0]);;\n\t\t\t}else{\n\t\t\tSystem.out.print(inArray[i]+\" \");\n\t\t\t}\n\t\t}",
"if(i == 0 ){\n\t\t\t\tSystem.out.println(inArray[0]);;\n\t\t\t}else{\n\t\t\tSystem.out.print(inArray[i]+\" \");\n\t\t\t}",
"i == 0",
"i",
"0",
"{\n\t\t\t\tSystem.out.println(inArray[0]);;\n\t\t\t}",
"System.out.println(inArray[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"inArray[0]",
"inArray",
"0",
"{\n\t\t\tSystem.out.print(inArray[i]+\" \");\n\t\t\t}",
"System.out.print(inArray[i]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"inArray[i]+\" \"",
"inArray[i]",
"inArray",
"i",
"\" \"",
"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\tint length = Integer.parseInt(br.readLine());\n\t\tString in = br.readLine();\n\t\tString[] inArray = in.split(\" \");\n\n\t\tfor(int i=length-1; i>=0; i--){\n\t\t\tif(i == 0 ){\n\t\t\t\tSystem.out.println(inArray[0]);;\n\t\t\t}else{\n\t\t\tSystem.out.print(inArray[i]+\" \");\n\t\t\t}\n\t\t}\n\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\tint length = Integer.parseInt(br.readLine());\n\t\tString in = br.readLine();\n\t\tString[] inArray = in.split(\" \");\n\n\t\tfor(int i=length-1; i>=0; i--){\n\t\t\tif(i == 0 ){\n\t\t\t\tSystem.out.println(inArray[0]);;\n\t\t\t}else{\n\t\t\tSystem.out.print(inArray[i]+\" \");\n\t\t\t}\n\t\t}\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 {
// TODO ?????????????????????????????????????????????
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int length = Integer.parseInt(br.readLine());
String in = br.readLine();
String[] inArray = in.split(" ");
for(int i=length-1; i>=0; i--){
if(i == 0 ){
System.out.println(inArray[0]);;
}else{
System.out.print(inArray[i]+" ");
}
}
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
20,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
2,
13,
17,
13,
0,
18,
13,
2,
2,
13,
17,
13,
13,
11,
1,
0,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
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
],
[
141,
2
],
[
141,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
5,
11
],
[
11,
12
],
[
5,
13
],
[
13,
14
],
[
5,
15
],
[
15,
16
],
[
5,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
5,
22
],
[
22,
23
],
[
22,
24
],
[
5,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
5,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
46,
56
],
[
56,
57
],
[
57,
58
],
[
46,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
60,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
73,
73
],
[
73,
74
],
[
73,
75
],
[
73,
76
],
[
60,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
81,
81
],
[
81,
82
],
[
81,
83
],
[
81,
84
],
[
77,
85
],
[
5,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
86,
96
],
[
96,
97
],
[
97,
98
],
[
86,
99
],
[
100,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
5,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
116,
118
],
[
5,
119
],
[
119,
120
],
[
120,
121
],
[
3,
122
],
[
122,
123
],
[
3,
124
],
[
124,
125
],
[
141,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
132,
133
],
[
132,
134
],
[
129,
135
],
[
135,
136
],
[
135,
137
],
[
126,
138
],
[
138,
139
],
[
0,
140
],
[
140,
141
],
[
140,
142
]
] | [
"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 n;\n int[] a;\n int i, tmp;\n\n n = sc.nextInt();\n a = new int[n];\n for(i = 0;i < n;i++){\n a[i] = sc.nextInt();\n }\n\n for(i = 0;i < (n / 2);i++){\n tmp = a[i];\n a[i] = a[n - 1 - i];\n a[n - 1 - i] = tmp;\n }\n\n for(i = 0;i < (n - 1);i++){\n System.out.print(a[i] + \" \");\n }\n System.out.println(a[i]);\n\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 n;\n int[] a;\n int i, tmp;\n\n n = sc.nextInt();\n a = new int[n];\n for(i = 0;i < n;i++){\n a[i] = sc.nextInt();\n }\n\n for(i = 0;i < (n / 2);i++){\n tmp = a[i];\n a[i] = a[n - 1 - i];\n a[n - 1 - i] = tmp;\n }\n\n for(i = 0;i < (n - 1);i++){\n System.out.print(a[i] + \" \");\n }\n System.out.println(a[i]);\n\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 n;\n int[] a;\n int i, tmp;\n\n n = sc.nextInt();\n a = new int[n];\n for(i = 0;i < n;i++){\n a[i] = sc.nextInt();\n }\n\n for(i = 0;i < (n / 2);i++){\n tmp = a[i];\n a[i] = a[n - 1 - i];\n a[n - 1 - i] = tmp;\n }\n\n for(i = 0;i < (n - 1);i++){\n System.out.print(a[i] + \" \");\n }\n System.out.println(a[i]);\n\n sc.close();\n }",
"run",
"{\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int n;\n int[] a;\n int i, tmp;\n\n n = sc.nextInt();\n a = new int[n];\n for(i = 0;i < n;i++){\n a[i] = sc.nextInt();\n }\n\n for(i = 0;i < (n / 2);i++){\n tmp = a[i];\n a[i] = a[n - 1 - i];\n a[n - 1 - i] = tmp;\n }\n\n for(i = 0;i < (n - 1);i++){\n System.out.print(a[i] + \" \");\n }\n System.out.println(a[i]);\n\n sc.close();\n }",
"java.util.Scanner sc = new java.util.Scanner(in);",
"sc",
"new java.util.Scanner(in)",
"int n;",
"n",
"int[] a;",
"a",
"int i",
"i",
"tmp;",
"tmp",
"n = sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"a = new int[n]",
"a",
"new int[n]",
"n",
"for(i = 0;i < n;i++){\n a[i] = sc.nextInt();\n }",
"i = 0;",
"i = 0",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = sc.nextInt();\n }",
"{\n a[i] = sc.nextInt();\n }",
"a[i] = sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(i = 0;i < (n / 2);i++){\n tmp = a[i];\n a[i] = a[n - 1 - i];\n a[n - 1 - i] = tmp;\n }",
"i = 0;",
"i = 0",
"i",
"0",
"i < (n / 2)",
"i",
"(n / 2)",
"n",
"2",
"i++",
"i++",
"i",
"{\n tmp = a[i];\n a[i] = a[n - 1 - i];\n a[n - 1 - i] = tmp;\n }",
"{\n tmp = a[i];\n a[i] = a[n - 1 - i];\n a[n - 1 - i] = tmp;\n }",
"tmp = a[i]",
"tmp",
"a[i]",
"a",
"i",
"a[i] = a[n - 1 - i]",
"a[i]",
"a",
"i",
"a[n - 1 - i]",
"a",
"n - 1 - i",
"n - 1 - i",
"n",
"1",
"i",
"a[n - 1 - i] = tmp",
"a[n - 1 - i]",
"a",
"n - 1 - i",
"n - 1 - i",
"n",
"1",
"i",
"tmp",
"for(i = 0;i < (n - 1);i++){\n System.out.print(a[i] + \" \");\n }",
"i = 0;",
"i = 0",
"i",
"0",
"i < (n - 1)",
"i",
"(n - 1)",
"n",
"1",
"i++",
"i++",
"i",
"{\n System.out.print(a[i] + \" \");\n }",
"{\n System.out.print(a[i] + \" \");\n }",
"System.out.print(a[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i] + \" \"",
"a[i]",
"a",
"i",
"\" \"",
"System.out.println(a[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"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 n;\n int[] a;\n int i, tmp;\n\n n = sc.nextInt();\n a = new int[n];\n for(i = 0;i < n;i++){\n a[i] = sc.nextInt();\n }\n\n for(i = 0;i < (n / 2);i++){\n tmp = a[i];\n a[i] = a[n - 1 - i];\n a[n - 1 - i] = tmp;\n }\n\n for(i = 0;i < (n - 1);i++){\n System.out.print(a[i] + \" \");\n }\n System.out.println(a[i]);\n\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 n;\n int[] a;\n int i, tmp;\n\n n = sc.nextInt();\n a = new int[n];\n for(i = 0;i < n;i++){\n a[i] = sc.nextInt();\n }\n\n for(i = 0;i < (n / 2);i++){\n tmp = a[i];\n a[i] = a[n - 1 - i];\n a[n - 1 - i] = tmp;\n }\n\n for(i = 0;i < (n - 1);i++){\n System.out.print(a[i] + \" \");\n }\n System.out.println(a[i]);\n\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 n;
int[] a;
int i, tmp;
n = sc.nextInt();
a = new int[n];
for(i = 0;i < n;i++){
a[i] = sc.nextInt();
}
for(i = 0;i < (n / 2);i++){
tmp = a[i];
a[i] = a[n - 1 - i];
a[n - 1 - i] = tmp;
}
for(i = 0;i < (n - 1);i++){
System.out.print(a[i] + " ");
}
System.out.println(a[i]);
sc.close();
}
public static void main(String[] args){
(new Main()).run(System.in, System.out);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
42,
4,
18,
13,
30,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
83,
14
],
[
83,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
17,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
40,
47
],
[
47,
48
],
[
47,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
60,
65
],
[
54,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
17,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
15,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\nimport java.util.List;\nimport java.util.ArrayList;\n//import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n List<Integer> list = new ArrayList<Integer>();\n while (sc.hasNext()){\n list.add(sc.nextInt());\n }\n for (int i = n - 1; i > 0; i--){\n System.out.print(list.get(i)+\" \");\n System.out.flush();\n }\n System.out.println(list.get(0));\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n List<Integer> list = new ArrayList<Integer>();\n while (sc.hasNext()){\n list.add(sc.nextInt());\n }\n for (int i = n - 1; i > 0; i--){\n System.out.print(list.get(i)+\" \");\n System.out.flush();\n }\n System.out.println(list.get(0));\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n List<Integer> list = new ArrayList<Integer>();\n while (sc.hasNext()){\n list.add(sc.nextInt());\n }\n for (int i = n - 1; i > 0; i--){\n System.out.print(list.get(i)+\" \");\n System.out.flush();\n }\n System.out.println(list.get(0));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n List<Integer> list = new ArrayList<Integer>();\n while (sc.hasNext()){\n list.add(sc.nextInt());\n }\n for (int i = n - 1; i > 0; i--){\n System.out.print(list.get(i)+\" \");\n System.out.flush();\n }\n System.out.println(list.get(0));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"while (sc.hasNext()){\n list.add(sc.nextInt());\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n list.add(sc.nextInt());\n }",
"list.add(sc.nextInt())",
"list.add",
"list",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int i = n - 1; i > 0; i--){\n System.out.print(list.get(i)+\" \");\n System.out.flush();\n }",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n System.out.print(list.get(i)+\" \");\n System.out.flush();\n }",
"{\n System.out.print(list.get(i)+\" \");\n System.out.flush();\n }",
"System.out.print(list.get(i)+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"list.get(i)+\" \"",
"list.get(i)",
"list.get",
"list",
"i",
"\" \"",
"System.out.flush()",
"System.out.flush",
"System.out",
"System",
"System.out",
"System.out.println(list.get(0))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(0)",
"list.get",
"list",
"0",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n List<Integer> list = new ArrayList<Integer>();\n while (sc.hasNext()){\n list.add(sc.nextInt());\n }\n for (int i = n - 1; i > 0; i--){\n System.out.print(list.get(i)+\" \");\n System.out.flush();\n }\n System.out.println(list.get(0));\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n List<Integer> list = new ArrayList<Integer>();\n while (sc.hasNext()){\n list.add(sc.nextInt());\n }\n for (int i = n - 1; i > 0; i--){\n System.out.print(list.get(i)+\" \");\n System.out.flush();\n }\n System.out.println(list.get(0));\n }\n}",
"Main"
] | import java.io.IOException;
import java.util.Scanner;
import java.util.List;
import java.util.ArrayList;
//import java.util.*;
public class Main {
public static void main(String[] args) throws IOException {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
List<Integer> list = new ArrayList<Integer>();
while (sc.hasNext()){
list.add(sc.nextInt());
}
for (int i = n - 1; i > 0; i--){
System.out.print(list.get(i)+" ");
System.out.flush();
}
System.out.println(list.get(0));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
94,
5
],
[
94,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
41,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
55,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
64,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
94,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
89,
90
],
[
82,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tvoid reverse(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tint a[] = new int[n];\n\t\tfor(int i = 0;i < n;i++){\n\t\t\ta[i] = s.nextInt();\n\t\t}\n\t\tfor(int i = n-1;i >= 0;i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif(i > 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.reverse();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tvoid reverse(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tint a[] = new int[n];\n\t\tfor(int i = 0;i < n;i++){\n\t\t\ta[i] = s.nextInt();\n\t\t}\n\t\tfor(int i = n-1;i >= 0;i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif(i > 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.reverse();\n\t}\n}",
"Main",
"void reverse(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tint a[] = new int[n];\n\t\tfor(int i = 0;i < n;i++){\n\t\t\ta[i] = s.nextInt();\n\t\t}\n\t\tfor(int i = n-1;i >= 0;i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif(i > 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t}\n\t}",
"reverse",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tint a[] = new int[n];\n\t\tfor(int i = 0;i < n;i++){\n\t\t\ta[i] = s.nextInt();\n\t\t}\n\t\tfor(int i = n-1;i >= 0;i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif(i > 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t}\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int n = s.nextInt();",
"n",
"s.nextInt()",
"s.nextInt",
"s",
"int a[] = new int[n];",
"a",
"new int[n]",
"n",
"for(int i = 0;i < n;i++){\n\t\t\ta[i] = s.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = s.nextInt();\n\t\t}",
"{\n\t\t\ta[i] = s.nextInt();\n\t\t}",
"a[i] = s.nextInt()",
"a[i]",
"a",
"i",
"s.nextInt()",
"s.nextInt",
"s",
"for(int i = n-1;i >= 0;i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif(i > 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t}",
"int i = n-1;",
"int i = n-1;",
"i",
"n-1",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif(i > 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t}",
"{\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif(i > 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t}",
"System.out.print(a[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"if(i > 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}",
"i > 0",
"i",
"0",
"{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"{\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"public static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.reverse();\n\t}",
"main",
"{\n\t\tMain m = new Main();\n\t\tm.reverse();\n\t}",
"Main m = new Main();",
"m",
"new Main()",
"m.reverse()",
"m.reverse",
"m",
"String args[]",
"args",
"public class Main {\n\tvoid reverse(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tint a[] = new int[n];\n\t\tfor(int i = 0;i < n;i++){\n\t\t\ta[i] = s.nextInt();\n\t\t}\n\t\tfor(int i = n-1;i >= 0;i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif(i > 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.reverse();\n\t}\n}",
"public class Main {\n\tvoid reverse(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tint a[] = new int[n];\n\t\tfor(int i = 0;i < n;i++){\n\t\t\ta[i] = s.nextInt();\n\t\t}\n\t\tfor(int i = n-1;i >= 0;i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif(i > 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.reverse();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
void reverse(){
Scanner s = new Scanner(System.in);
int n = s.nextInt();
int a[] = new int[n];
for(int i = 0;i < n;i++){
a[i] = s.nextInt();
}
for(int i = n-1;i >= 0;i--){
System.out.print(a[i]);
if(i > 0){
System.out.print(" ");
}else{
System.out.print("\n");
}
}
}
public static void main(String args[]){
Main m = new Main();
m.reverse();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
17,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
89,
8
],
[
89,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
42,
49
],
[
49,
50
],
[
49,
51
],
[
42,
52
],
[
52,
53
],
[
53,
54
],
[
42,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
56,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
66,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
11,
83
],
[
83,
84
],
[
84,
85
],
[
9,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint intInput = scan.nextInt();\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tfor(int i = 0; i < intInput; i++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tfor(int i = intInput - 1; 0 <= i; i--){\n\t\t\tSystem.out.print(list.get(i));\n\t\t\tif(i == 0){\n\t\t\t\tSystem.out.println();\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"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 intInput = scan.nextInt();\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tfor(int i = 0; i < intInput; i++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tfor(int i = intInput - 1; 0 <= i; i--){\n\t\t\tSystem.out.print(list.get(i));\n\t\t\tif(i == 0){\n\t\t\t\tSystem.out.println();\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\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 intInput = scan.nextInt();\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tfor(int i = 0; i < intInput; i++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tfor(int i = intInput - 1; 0 <= i; i--){\n\t\t\tSystem.out.print(list.get(i));\n\t\t\tif(i == 0){\n\t\t\t\tSystem.out.println();\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint intInput = scan.nextInt();\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tfor(int i = 0; i < intInput; i++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tfor(int i = intInput - 1; 0 <= i; i--){\n\t\t\tSystem.out.print(list.get(i));\n\t\t\tif(i == 0){\n\t\t\t\tSystem.out.println();\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int intInput = scan.nextInt();",
"intInput",
"scan.nextInt()",
"scan.nextInt",
"scan",
"ArrayList<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"for(int i = 0; i < intInput; i++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < intInput",
"i",
"intInput",
"i++",
"i++",
"i",
"{\n\t\t\tlist.add(scan.nextInt());\n\t\t}",
"{\n\t\t\tlist.add(scan.nextInt());\n\t\t}",
"list.add(scan.nextInt())",
"list.add",
"list",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(int i = intInput - 1; 0 <= i; i--){\n\t\t\tSystem.out.print(list.get(i));\n\t\t\tif(i == 0){\n\t\t\t\tSystem.out.println();\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"int i = intInput - 1;",
"int i = intInput - 1;",
"i",
"intInput - 1",
"intInput",
"1",
"0 <= i",
"0",
"i",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(list.get(i));\n\t\t\tif(i == 0){\n\t\t\t\tSystem.out.println();\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"{\n\t\t\tSystem.out.print(list.get(i));\n\t\t\tif(i == 0){\n\t\t\t\tSystem.out.println();\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"System.out.print(list.get(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"list.get(i)",
"list.get",
"list",
"i",
"if(i == 0){\n\t\t\t\tSystem.out.println();\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"i == 0",
"i",
"0",
"{\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"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 intInput = scan.nextInt();\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tfor(int i = 0; i < intInput; i++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tfor(int i = intInput - 1; 0 <= i; i--){\n\t\t\tSystem.out.print(list.get(i));\n\t\t\tif(i == 0){\n\t\t\t\tSystem.out.println();\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\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 intInput = scan.nextInt();\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tfor(int i = 0; i < intInput; i++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tfor(int i = intInput - 1; 0 <= i; i--){\n\t\t\tSystem.out.print(list.get(i));\n\t\t\tif(i == 0){\n\t\t\t\tSystem.out.println();\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int intInput = scan.nextInt();
ArrayList<Integer> list = new ArrayList<Integer>();
for(int i = 0; i < intInput; i++){
list.add(scan.nextInt());
}
for(int i = intInput - 1; 0 <= i; i--){
System.out.print(list.get(i));
if(i == 0){
System.out.println();
}else{
System.out.print(" ");
}
}
scan.close();
}
} |
[
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,
4,
18,
13,
13,
0,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
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
],
[
122,
14
],
[
122,
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
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
28,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
28,
51
],
[
51,
52
],
[
51,
53
],
[
28,
54
],
[
54,
55
],
[
54,
56
],
[
28,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
58,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
78,
79
],
[
79,
80
],
[
28,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
81,
88
],
[
88,
89
],
[
88,
90
],
[
81,
91
],
[
91,
92
],
[
92,
93
],
[
81,
94
],
[
95,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
101,
102
],
[
101,
103
],
[
95,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
104,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
15,
119
],
[
119,
120
],
[
0,
121
],
[
121,
122
],
[
121,
123
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\t\ttry {\n\t\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tString buf = br.readLine();\n\t\t\tint n = Integer.parseInt(buf);\n\t\t\tbuf = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(buf, \" \");\n\t\t\tint[] a = new int[n];\n\n\t\t\tfor(int i=0;i<n;i++){\n\n\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t}\n\n\t\t\tfor(int i=n-1;i>=0;i--){\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\t\tif(i!=0)\tSystem.out.print(\" \");\n\t\t\t\telse\tSystem.out.println();\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(e);\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.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\ttry {\n\t\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tString buf = br.readLine();\n\t\t\tint n = Integer.parseInt(buf);\n\t\t\tbuf = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(buf, \" \");\n\t\t\tint[] a = new int[n];\n\n\t\t\tfor(int i=0;i<n;i++){\n\n\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t}\n\n\t\t\tfor(int i=n-1;i>=0;i--){\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\t\tif(i!=0)\tSystem.out.print(\" \");\n\t\t\t\telse\tSystem.out.println();\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\ttry {\n\t\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tString buf = br.readLine();\n\t\t\tint n = Integer.parseInt(buf);\n\t\t\tbuf = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(buf, \" \");\n\t\t\tint[] a = new int[n];\n\n\t\t\tfor(int i=0;i<n;i++){\n\n\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t}\n\n\t\t\tfor(int i=n-1;i>=0;i--){\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\t\tif(i!=0)\tSystem.out.print(\" \");\n\t\t\t\telse\tSystem.out.println();\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}",
"main",
"{\n\n\t\ttry {\n\t\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tString buf = br.readLine();\n\t\t\tint n = Integer.parseInt(buf);\n\t\t\tbuf = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(buf, \" \");\n\t\t\tint[] a = new int[n];\n\n\t\t\tfor(int i=0;i<n;i++){\n\n\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t}\n\n\t\t\tfor(int i=n-1;i>=0;i--){\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\t\tif(i!=0)\tSystem.out.print(\" \");\n\t\t\t\telse\tSystem.out.println();\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}",
"try {\n\t\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tString buf = br.readLine();\n\t\t\tint n = Integer.parseInt(buf);\n\t\t\tbuf = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(buf, \" \");\n\t\t\tint[] a = new int[n];\n\n\t\t\tfor(int i=0;i<n;i++){\n\n\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t}\n\n\t\t\tfor(int i=n-1;i>=0;i--){\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\t\tif(i!=0)\tSystem.out.print(\" \");\n\t\t\t\telse\tSystem.out.println();\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(e);\n\t\t}",
"catch (IOException e) {\n\t\t\tSystem.err.println(e);\n\t\t}",
"IOException e",
"{\n\t\t\tSystem.err.println(e);\n\t\t}",
"System.err.println(e)",
"System.err.println",
"System.err",
"System",
"System.err",
"e",
"{\n\t\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tString buf = br.readLine();\n\t\t\tint n = Integer.parseInt(buf);\n\t\t\tbuf = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(buf, \" \");\n\t\t\tint[] a = new int[n];\n\n\t\t\tfor(int i=0;i<n;i++){\n\n\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t}\n\n\t\t\tfor(int i=n-1;i>=0;i--){\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\t\tif(i!=0)\tSystem.out.print(\" \");\n\t\t\t\telse\tSystem.out.println();\n\t\t\t}\n\t\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",
"int n = Integer.parseInt(buf);",
"n",
"Integer.parseInt(buf)",
"Integer.parseInt",
"Integer",
"buf",
"buf = br.readLine()",
"buf",
"br.readLine()",
"br.readLine",
"br",
"StringTokenizer st = new StringTokenizer(buf, \" \");",
"st",
"new StringTokenizer(buf, \" \")",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for(int i=0;i<n;i++){\n\n\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\n\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t}",
"{\n\n\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t}",
"a[i]=Integer.parseInt(st.nextToken())",
"a[i]",
"a",
"i",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"for(int i=n-1;i>=0;i--){\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\t\tif(i!=0)\tSystem.out.print(\" \");\n\t\t\t\telse\tSystem.out.println();\n\t\t\t}",
"int i=n-1;",
"int i=n-1;",
"i",
"n-1",
"n",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\t\tif(i!=0)\tSystem.out.print(\" \");\n\t\t\t\telse\tSystem.out.println();\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\t\tif(i!=0)\tSystem.out.print(\" \");\n\t\t\t\telse\tSystem.out.println();\n\t\t\t}",
"System.out.print(a[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"if(i!=0)\tSystem.out.print(\" \");\n\t\t\t\telse\tSystem.out.println();",
"i!=0",
"i",
"0",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\ttry {\n\t\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tString buf = br.readLine();\n\t\t\tint n = Integer.parseInt(buf);\n\t\t\tbuf = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(buf, \" \");\n\t\t\tint[] a = new int[n];\n\n\t\t\tfor(int i=0;i<n;i++){\n\n\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t}\n\n\t\t\tfor(int i=n-1;i>=0;i--){\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\t\tif(i!=0)\tSystem.out.print(\" \");\n\t\t\t\telse\tSystem.out.println();\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\ttry {\n\t\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tString buf = br.readLine();\n\t\t\tint n = Integer.parseInt(buf);\n\t\t\tbuf = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(buf, \" \");\n\t\t\tint[] a = new int[n];\n\n\t\t\tfor(int i=0;i<n;i++){\n\n\t\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\t}\n\n\t\t\tfor(int i=n-1;i>=0;i--){\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\t\tif(i!=0)\tSystem.out.print(\" \");\n\t\t\t\telse\tSystem.out.println();\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
try {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf = br.readLine();
int n = Integer.parseInt(buf);
buf = br.readLine();
StringTokenizer st = new StringTokenizer(buf, " ");
int[] a = new int[n];
for(int i=0;i<n;i++){
a[i]=Integer.parseInt(st.nextToken());
}
for(int i=n-1;i>=0;i--){
System.out.print(a[i]);
if(i!=0) System.out.print(" ");
else System.out.println();
}
} catch (IOException e) {
System.err.println(e);
}
}
} |
[
7,
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,
4,
18,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
2,
18,
13,
13,
17,
41,
13,
4,
18,
13,
4,
18,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
25,
30
],
[
8,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
31,
38
],
[
38,
39
],
[
38,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
8,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
6,
71
],
[
71,
72
]
] | [
"import java.io.*;\n\nclass Main {\n public static void main(String args[]) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n\n for (int i = n - 1; i >= 0; i--) {\n sb.append(str[i] + \" \");\n }\n int a = sb.length();\n sb.deleteCharAt(a-1);\n System.out.println(sb);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n public static void main(String args[]) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n\n for (int i = n - 1; i >= 0; i--) {\n sb.append(str[i] + \" \");\n }\n int a = sb.length();\n sb.deleteCharAt(a-1);\n System.out.println(sb);\n }\n}",
"Main",
"public static void main(String args[]) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n\n for (int i = n - 1; i >= 0; i--) {\n sb.append(str[i] + \" \");\n }\n int a = sb.length();\n sb.deleteCharAt(a-1);\n System.out.println(sb);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n\n for (int i = n - 1; i >= 0; i--) {\n sb.append(str[i] + \" \");\n }\n int a = sb.length();\n sb.deleteCharAt(a-1);\n System.out.println(sb);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int n = Integer.parseInt(br.readLine());",
"n",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"String[] str = br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for (int i = n - 1; i >= 0; i--) {\n sb.append(str[i] + \" \");\n }",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n sb.append(str[i] + \" \");\n }",
"{\n sb.append(str[i] + \" \");\n }",
"sb.append(str[i] + \" \")",
"sb.append",
"sb",
"str[i] + \" \"",
"str[i]",
"str",
"i",
"\" \"",
"int a = sb.length();",
"a",
"sb.length()",
"sb.length",
"sb",
"sb.deleteCharAt(a-1)",
"sb.deleteCharAt",
"sb",
"a-1",
"a",
"1",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String args[]",
"args"
] | import java.io.*;
class Main {
public static void main(String args[]) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
int n = Integer.parseInt(br.readLine());
String[] str = br.readLine().split(" ");
for (int i = n - 1; i >= 0; i--) {
sb.append(str[i] + " ");
}
int a = sb.length();
sb.deleteCharAt(a-1);
System.out.println(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
8,
2,
13,
17,
17,
17,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
82,
5
],
[
82,
6
],
[
6,
7
],
[
82,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
17,
18
],
[
18,
19
],
[
10,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
20,
30
],
[
30,
31
],
[
31,
32
],
[
20,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
10,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
42,
51
],
[
51,
52
],
[
51,
53
],
[
42,
54
],
[
54,
55
],
[
55,
56
],
[
42,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
68,
73
],
[
10,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
8,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] | [
"import java.util.*;\n\npublic class Main {\n static Scanner scanner;\n public static void main(String[] args) {\n scanner = new Scanner(System.in);\n \n int[] arr = new int[scanner.nextInt()];\n \n for(int i = 0; i < arr.length; ++i) {\n arr[i] = scanner.nextInt();\n }\n \n for(int i = arr.length - 1; i >= 0; --i) {\n System.out.print(arr[i] + (i != 0 ? \" \" : \"\"));\n }\n System.out.println();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n static Scanner scanner;\n public static void main(String[] args) {\n scanner = new Scanner(System.in);\n \n int[] arr = new int[scanner.nextInt()];\n \n for(int i = 0; i < arr.length; ++i) {\n arr[i] = scanner.nextInt();\n }\n \n for(int i = arr.length - 1; i >= 0; --i) {\n System.out.print(arr[i] + (i != 0 ? \" \" : \"\"));\n }\n System.out.println();\n }\n}",
"Main",
"static Scanner scanner;",
"scanner",
"public static void main(String[] args) {\n scanner = new Scanner(System.in);\n \n int[] arr = new int[scanner.nextInt()];\n \n for(int i = 0; i < arr.length; ++i) {\n arr[i] = scanner.nextInt();\n }\n \n for(int i = arr.length - 1; i >= 0; --i) {\n System.out.print(arr[i] + (i != 0 ? \" \" : \"\"));\n }\n System.out.println();\n }",
"main",
"{\n scanner = new Scanner(System.in);\n \n int[] arr = new int[scanner.nextInt()];\n \n for(int i = 0; i < arr.length; ++i) {\n arr[i] = scanner.nextInt();\n }\n \n for(int i = arr.length - 1; i >= 0; --i) {\n System.out.print(arr[i] + (i != 0 ? \" \" : \"\"));\n }\n System.out.println();\n }",
"scanner = new Scanner(System.in)",
"scanner",
"new Scanner(System.in)",
"int[] arr = new int[scanner.nextInt()];",
"arr",
"new int[scanner.nextInt()]",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"for(int i = 0; i < arr.length; ++i) {\n arr[i] = scanner.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"++i",
"++i",
"i",
"{\n arr[i] = scanner.nextInt();\n }",
"{\n arr[i] = scanner.nextInt();\n }",
"arr[i] = scanner.nextInt()",
"arr[i]",
"arr",
"i",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"for(int i = arr.length - 1; i >= 0; --i) {\n System.out.print(arr[i] + (i != 0 ? \" \" : \"\"));\n }",
"int i = arr.length - 1;",
"int i = arr.length - 1;",
"i",
"arr.length - 1",
"arr.length",
"arr",
"arr.length",
"1",
"i >= 0",
"i",
"0",
"--i",
"--i",
"i",
"{\n System.out.print(arr[i] + (i != 0 ? \" \" : \"\"));\n }",
"{\n System.out.print(arr[i] + (i != 0 ? \" \" : \"\"));\n }",
"System.out.print(arr[i] + (i != 0 ? \" \" : \"\"))",
"System.out.print",
"System.out",
"System",
"System.out",
"arr[i] + (i != 0 ? \" \" : \"\")",
"arr[i]",
"arr",
"i",
"(i != 0 ? \" \" : \"\")",
"i != 0",
"i",
"0",
"\" \"",
"\"\"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n static Scanner scanner;\n public static void main(String[] args) {\n scanner = new Scanner(System.in);\n \n int[] arr = new int[scanner.nextInt()];\n \n for(int i = 0; i < arr.length; ++i) {\n arr[i] = scanner.nextInt();\n }\n \n for(int i = arr.length - 1; i >= 0; --i) {\n System.out.print(arr[i] + (i != 0 ? \" \" : \"\"));\n }\n System.out.println();\n }\n}",
"public class Main {\n static Scanner scanner;\n public static void main(String[] args) {\n scanner = new Scanner(System.in);\n \n int[] arr = new int[scanner.nextInt()];\n \n for(int i = 0; i < arr.length; ++i) {\n arr[i] = scanner.nextInt();\n }\n \n for(int i = arr.length - 1; i >= 0; --i) {\n System.out.print(arr[i] + (i != 0 ? \" \" : \"\"));\n }\n System.out.println();\n }\n}",
"Main"
] | import java.util.*;
public class Main {
static Scanner scanner;
public static void main(String[] args) {
scanner = new Scanner(System.in);
int[] arr = new int[scanner.nextInt()];
for(int i = 0; i < arr.length; ++i) {
arr[i] = scanner.nextInt();
}
for(int i = arr.length - 1; i >= 0; --i) {
System.out.print(arr[i] + (i != 0 ? " " : ""));
}
System.out.println();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
20,
17,
0,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
42,
17,
30,
40,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
13,
3,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
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
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
8,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
54,
63
],
[
47,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
8,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
6,
79
],
[
79,
80
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n int i,x;\n int [] num = new int[101];\n x = sc.nextInt();\n for(i = 0;i < x;i++){\n num[i] = sc.nextInt();\n }\n while(true){\n i--;\n if(i <= 0){\n System.out.print(num[i]);\n break;\n }\n System.out.print(num[i] + \" \");\n }\n System.out.println();\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 i,x;\n int [] num = new int[101];\n x = sc.nextInt();\n for(i = 0;i < x;i++){\n num[i] = sc.nextInt();\n }\n while(true){\n i--;\n if(i <= 0){\n System.out.print(num[i]);\n break;\n }\n System.out.print(num[i] + \" \");\n }\n System.out.println();\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n int i,x;\n int [] num = new int[101];\n x = sc.nextInt();\n for(i = 0;i < x;i++){\n num[i] = sc.nextInt();\n }\n while(true){\n i--;\n if(i <= 0){\n System.out.print(num[i]);\n break;\n }\n System.out.print(num[i] + \" \");\n }\n System.out.println();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int i,x;\n int [] num = new int[101];\n x = sc.nextInt();\n for(i = 0;i < x;i++){\n num[i] = sc.nextInt();\n }\n while(true){\n i--;\n if(i <= 0){\n System.out.print(num[i]);\n break;\n }\n System.out.print(num[i] + \" \");\n }\n System.out.println();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i",
"i",
"x;",
"x",
"int [] num = new int[101];",
"num",
"new int[101]",
"101",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(i = 0;i < x;i++){\n num[i] = sc.nextInt();\n }",
"i = 0;",
"i = 0",
"i",
"0",
"i < x",
"i",
"x",
"i++",
"i++",
"i",
"{\n num[i] = sc.nextInt();\n }",
"{\n num[i] = sc.nextInt();\n }",
"num[i] = sc.nextInt()",
"num[i]",
"num",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while(true){\n i--;\n if(i <= 0){\n System.out.print(num[i]);\n break;\n }\n System.out.print(num[i] + \" \");\n }",
"true",
"{\n i--;\n if(i <= 0){\n System.out.print(num[i]);\n break;\n }\n System.out.print(num[i] + \" \");\n }",
"i--",
"i",
"if(i <= 0){\n System.out.print(num[i]);\n break;\n }",
"i <= 0",
"i",
"0",
"{\n System.out.print(num[i]);\n break;\n }",
"System.out.print(num[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"num[i]",
"num",
"i",
"break;",
"System.out.print(num[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"num[i] + \" \"",
"num[i]",
"num",
"i",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String args[]",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int i,x;
int [] num = new int[101];
x = sc.nextInt();
for(i = 0;i < x;i++){
num[i] = sc.nextInt();
}
while(true){
i--;
if(i <= 0){
System.out.print(num[i]);
break;
}
System.out.print(num[i] + " ");
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
20,
17,
41,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
0,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
85,
5
],
[
85,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
55,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
55,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
8,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
6,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i;\n\t\tint x[] = new int[256];\n\t\tint n = scan.nextInt();\n\t\tfor(i = 1; i <= n; i++) {\n\t\t x[i] = scan.nextInt();\n\t\t}\n\t\t for( i = n; i >= 1 ; i--){\n\t\t\t System.out.print(x[i]);\n\t\t\t if(i==1){\n\t\t\t\t break;\n\t\t\t }\n\t\t\t System.out.print(\" \");\n\t\t }\n\t\t System.out.println(\"\");\n\t\t}\n\t}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i;\n\t\tint x[] = new int[256];\n\t\tint n = scan.nextInt();\n\t\tfor(i = 1; i <= n; i++) {\n\t\t x[i] = scan.nextInt();\n\t\t}\n\t\t for( i = n; i >= 1 ; i--){\n\t\t\t System.out.print(x[i]);\n\t\t\t if(i==1){\n\t\t\t\t break;\n\t\t\t }\n\t\t\t System.out.print(\" \");\n\t\t }\n\t\t System.out.println(\"\");\n\t\t}\n\t}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i;\n\t\tint x[] = new int[256];\n\t\tint n = scan.nextInt();\n\t\tfor(i = 1; i <= n; i++) {\n\t\t x[i] = scan.nextInt();\n\t\t}\n\t\t for( i = n; i >= 1 ; i--){\n\t\t\t System.out.print(x[i]);\n\t\t\t if(i==1){\n\t\t\t\t break;\n\t\t\t }\n\t\t\t System.out.print(\" \");\n\t\t }\n\t\t System.out.println(\"\");\n\t\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i;\n\t\tint x[] = new int[256];\n\t\tint n = scan.nextInt();\n\t\tfor(i = 1; i <= n; i++) {\n\t\t x[i] = scan.nextInt();\n\t\t}\n\t\t for( i = n; i >= 1 ; i--){\n\t\t\t System.out.print(x[i]);\n\t\t\t if(i==1){\n\t\t\t\t break;\n\t\t\t }\n\t\t\t System.out.print(\" \");\n\t\t }\n\t\t System.out.println(\"\");\n\t\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int i;",
"i",
"int x[] = new int[256];",
"x",
"new int[256]",
"256",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(i = 1; i <= n; i++) {\n\t\t x[i] = scan.nextInt();\n\t\t}",
"i = 1;",
"i = 1",
"i",
"1",
"i <= n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t x[i] = scan.nextInt();\n\t\t}",
"{\n\t\t x[i] = scan.nextInt();\n\t\t}",
"x[i] = scan.nextInt()",
"x[i]",
"x",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for( i = n; i >= 1 ; i--){\n\t\t\t System.out.print(x[i]);\n\t\t\t if(i==1){\n\t\t\t\t break;\n\t\t\t }\n\t\t\t System.out.print(\" \");\n\t\t }",
"i = n;",
"i = n",
"i",
"n",
"i >= 1",
"i",
"1",
"i--",
"i--",
"i",
"{\n\t\t\t System.out.print(x[i]);\n\t\t\t if(i==1){\n\t\t\t\t break;\n\t\t\t }\n\t\t\t System.out.print(\" \");\n\t\t }",
"{\n\t\t\t System.out.print(x[i]);\n\t\t\t if(i==1){\n\t\t\t\t break;\n\t\t\t }\n\t\t\t System.out.print(\" \");\n\t\t }",
"System.out.print(x[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"x[i]",
"x",
"i",
"if(i==1){\n\t\t\t\t break;\n\t\t\t }",
"i==1",
"i",
"1",
"{\n\t\t\t\t break;\n\t\t\t }",
"break;",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i;\n\t\tint x[] = new int[256];\n\t\tint n = scan.nextInt();\n\t\tfor(i = 1; i <= n; i++) {\n\t\t x[i] = scan.nextInt();\n\t\t}\n\t\t for( i = n; i >= 1 ; i--){\n\t\t\t System.out.print(x[i]);\n\t\t\t if(i==1){\n\t\t\t\t break;\n\t\t\t }\n\t\t\t System.out.print(\" \");\n\t\t }\n\t\t System.out.println(\"\");\n\t\t}\n\t}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i;\n\t\tint x[] = new int[256];\n\t\tint n = scan.nextInt();\n\t\tfor(i = 1; i <= n; i++) {\n\t\t x[i] = scan.nextInt();\n\t\t}\n\t\t for( i = n; i >= 1 ; i--){\n\t\t\t System.out.print(x[i]);\n\t\t\t if(i==1){\n\t\t\t\t break;\n\t\t\t }\n\t\t\t System.out.print(\" \");\n\t\t }\n\t\t System.out.println(\"\");\n\t\t}\n\t}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int i;
int x[] = new int[256];
int n = scan.nextInt();
for(i = 1; i <= n; i++) {
x[i] = scan.nextInt();
}
for( i = n; i >= 1 ; i--){
System.out.print(x[i]);
if(i==1){
break;
}
System.out.print(" ");
}
System.out.println("");
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
42,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
4,
18,
13,
17,
4,
18,
18,
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
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
40,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
51,
55
],
[
8,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
6,
64
],
[
64,
65
]
] | [
"import java.util.*;\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tDeque<Integer> stack = new LinkedList<Integer>();\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tstack.add(stdIn.nextInt());\n\t\t}\n\t\twhile(stack.size()>1){\n\t\t\tSystem.out.print(stack.pollLast()+\" \");\n\t\t}\n\t\tSystem.out.println(stack.pollLast());\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tDeque<Integer> stack = new LinkedList<Integer>();\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tstack.add(stdIn.nextInt());\n\t\t}\n\t\twhile(stack.size()>1){\n\t\t\tSystem.out.print(stack.pollLast()+\" \");\n\t\t}\n\t\tSystem.out.println(stack.pollLast());\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tDeque<Integer> stack = new LinkedList<Integer>();\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tstack.add(stdIn.nextInt());\n\t\t}\n\t\twhile(stack.size()>1){\n\t\t\tSystem.out.print(stack.pollLast()+\" \");\n\t\t}\n\t\tSystem.out.println(stack.pollLast());\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tDeque<Integer> stack = new LinkedList<Integer>();\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tstack.add(stdIn.nextInt());\n\t\t}\n\t\twhile(stack.size()>1){\n\t\t\tSystem.out.print(stack.pollLast()+\" \");\n\t\t}\n\t\tSystem.out.println(stack.pollLast());\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int n = stdIn.nextInt();",
"n",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"Deque<Integer> stack = new LinkedList<Integer>();",
"stack",
"new LinkedList<Integer>()",
"for (int i=0; i<n; i++) {\n\t\t\tstack.add(stdIn.nextInt());\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tstack.add(stdIn.nextInt());\n\t\t}",
"{\n\t\t\tstack.add(stdIn.nextInt());\n\t\t}",
"stack.add(stdIn.nextInt())",
"stack.add",
"stack",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"while(stack.size()>1){\n\t\t\tSystem.out.print(stack.pollLast()+\" \");\n\t\t}",
"stack.size()>1",
"stack.size()",
"stack.size",
"stack",
"1",
"{\n\t\t\tSystem.out.print(stack.pollLast()+\" \");\n\t\t}",
"System.out.print(stack.pollLast()+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"stack.pollLast()+\" \"",
"stack.pollLast()",
"stack.pollLast",
"stack",
"\" \"",
"System.out.println(stack.pollLast())",
"System.out.println",
"System.out",
"System",
"System.out",
"stack.pollLast()",
"stack.pollLast",
"stack",
"String[] args",
"args"
] | import java.util.*;
class Main {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
int n = stdIn.nextInt();
Deque<Integer> stack = new LinkedList<Integer>();
for (int i=0; i<n; i++) {
stack.add(stdIn.nextInt());
}
while(stack.size()>1){
System.out.print(stack.pollLast()+" ");
}
System.out.println(stack.pollLast());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
0,
13,
20,
17,
41,
13,
20,
0,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
0,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
95,
5
],
[
95,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
47,
54
],
[
54,
55
],
[
54,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
47,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
67,
73
],
[
73,
74
],
[
73,
75
],
[
62,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
77,
83
],
[
83,
84
],
[
83,
85
],
[
8,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
6,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n int count,i;\n int a[];\n a = new int[100000];\n Scanner n = new Scanner(System.in);\n count = n.nextInt();\n for(i=0;i<count;i++){\n a[i] = n.nextInt();\n }\n for(i=count-1;i>=0;i--){\n if(i==0){\n System.out.printf(\"%d\",a[i]);\n }else{\n System.out.printf(\"%d \",a[i]);\n }\n }\n System.out.printf(\"\\n\");\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n int count,i;\n int a[];\n a = new int[100000];\n Scanner n = new Scanner(System.in);\n count = n.nextInt();\n for(i=0;i<count;i++){\n a[i] = n.nextInt();\n }\n for(i=count-1;i>=0;i--){\n if(i==0){\n System.out.printf(\"%d\",a[i]);\n }else{\n System.out.printf(\"%d \",a[i]);\n }\n }\n System.out.printf(\"\\n\");\n }\n}",
"Main",
"public static void main(String[] args){\n int count,i;\n int a[];\n a = new int[100000];\n Scanner n = new Scanner(System.in);\n count = n.nextInt();\n for(i=0;i<count;i++){\n a[i] = n.nextInt();\n }\n for(i=count-1;i>=0;i--){\n if(i==0){\n System.out.printf(\"%d\",a[i]);\n }else{\n System.out.printf(\"%d \",a[i]);\n }\n }\n System.out.printf(\"\\n\");\n }",
"main",
"{\n int count,i;\n int a[];\n a = new int[100000];\n Scanner n = new Scanner(System.in);\n count = n.nextInt();\n for(i=0;i<count;i++){\n a[i] = n.nextInt();\n }\n for(i=count-1;i>=0;i--){\n if(i==0){\n System.out.printf(\"%d\",a[i]);\n }else{\n System.out.printf(\"%d \",a[i]);\n }\n }\n System.out.printf(\"\\n\");\n }",
"int count",
"count",
"i;",
"i",
"int a[];",
"a",
"a = new int[100000]",
"a",
"new int[100000]",
"100000",
"Scanner n = new Scanner(System.in);",
"n",
"new Scanner(System.in)",
"count = n.nextInt()",
"count",
"n.nextInt()",
"n.nextInt",
"n",
"for(i=0;i<count;i++){\n a[i] = n.nextInt();\n }",
"i=0;",
"i=0",
"i",
"0",
"i<count",
"i",
"count",
"i++",
"i++",
"i",
"{\n a[i] = n.nextInt();\n }",
"{\n a[i] = n.nextInt();\n }",
"a[i] = n.nextInt()",
"a[i]",
"a",
"i",
"n.nextInt()",
"n.nextInt",
"n",
"for(i=count-1;i>=0;i--){\n if(i==0){\n System.out.printf(\"%d\",a[i]);\n }else{\n System.out.printf(\"%d \",a[i]);\n }\n }",
"i=count-1;",
"i=count-1",
"i",
"count-1",
"count",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n if(i==0){\n System.out.printf(\"%d\",a[i]);\n }else{\n System.out.printf(\"%d \",a[i]);\n }\n }",
"{\n if(i==0){\n System.out.printf(\"%d\",a[i]);\n }else{\n System.out.printf(\"%d \",a[i]);\n }\n }",
"if(i==0){\n System.out.printf(\"%d\",a[i]);\n }else{\n System.out.printf(\"%d \",a[i]);\n }",
"i==0",
"i",
"0",
"{\n System.out.printf(\"%d\",a[i]);\n }",
"System.out.printf(\"%d\",a[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\"",
"a[i]",
"a",
"i",
"{\n System.out.printf(\"%d \",a[i]);\n }",
"System.out.printf(\"%d \",a[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d \"",
"a[i]",
"a",
"i",
"System.out.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n int count,i;\n int a[];\n a = new int[100000];\n Scanner n = new Scanner(System.in);\n count = n.nextInt();\n for(i=0;i<count;i++){\n a[i] = n.nextInt();\n }\n for(i=count-1;i>=0;i--){\n if(i==0){\n System.out.printf(\"%d\",a[i]);\n }else{\n System.out.printf(\"%d \",a[i]);\n }\n }\n System.out.printf(\"\\n\");\n }\n}",
"public class Main{\n public static void main(String[] args){\n int count,i;\n int a[];\n a = new int[100000];\n Scanner n = new Scanner(System.in);\n count = n.nextInt();\n for(i=0;i<count;i++){\n a[i] = n.nextInt();\n }\n for(i=count-1;i>=0;i--){\n if(i==0){\n System.out.printf(\"%d\",a[i]);\n }else{\n System.out.printf(\"%d \",a[i]);\n }\n }\n System.out.printf(\"\\n\");\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
int count,i;
int a[];
a = new int[100000];
Scanner n = new Scanner(System.in);
count = n.nextInt();
for(i=0;i<count;i++){
a[i] = n.nextInt();
}
for(i=count-1;i>=0;i--){
if(i==0){
System.out.printf("%d",a[i]);
}else{
System.out.printf("%d ",a[i]);
}
}
System.out.printf("\n");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
30,
3,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
88,
5
],
[
88,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
41,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
55,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
64,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
8,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint n = in.nextInt();\n\t\tint[] ary = new int[n];\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\tary[i] = in.nextInt();\n\t\t}\n\t\tfor(int i=n-1; i>=0; i--){\n\t\t\tSystem.out.print(ary[i]);\n\t\t\tif(i == 0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t\tin.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint n = in.nextInt();\n\t\tint[] ary = new int[n];\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\tary[i] = in.nextInt();\n\t\t}\n\t\tfor(int i=n-1; i>=0; i--){\n\t\t\tSystem.out.print(ary[i]);\n\t\t\tif(i == 0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t\tin.close();\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint n = in.nextInt();\n\t\tint[] ary = new int[n];\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\tary[i] = in.nextInt();\n\t\t}\n\t\tfor(int i=n-1; i>=0; i--){\n\t\t\tSystem.out.print(ary[i]);\n\t\t\tif(i == 0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t\tin.close();\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tint n = in.nextInt();\n\t\tint[] ary = new int[n];\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\tary[i] = in.nextInt();\n\t\t}\n\t\tfor(int i=n-1; i>=0; i--){\n\t\t\tSystem.out.print(ary[i]);\n\t\t\tif(i == 0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t\tin.close();\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int n = in.nextInt();",
"n",
"in.nextInt()",
"in.nextInt",
"in",
"int[] ary = new int[n];",
"ary",
"new int[n]",
"n",
"for(int i=0; i<n; i++){\n\t\t\tary[i] = in.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tary[i] = in.nextInt();\n\t\t}",
"{\n\t\t\tary[i] = in.nextInt();\n\t\t}",
"ary[i] = in.nextInt()",
"ary[i]",
"ary",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"for(int i=n-1; i>=0; i--){\n\t\t\tSystem.out.print(ary[i]);\n\t\t\tif(i == 0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"int i=n-1;",
"int i=n-1;",
"i",
"n-1",
"n",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(ary[i]);\n\t\t\tif(i == 0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"{\n\t\t\tSystem.out.print(ary[i]);\n\t\t\tif(i == 0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"System.out.print(ary[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"ary[i]",
"ary",
"i",
"if(i == 0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"i == 0",
"i",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"in.close()",
"in.close",
"in",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint n = in.nextInt();\n\t\tint[] ary = new int[n];\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\tary[i] = in.nextInt();\n\t\t}\n\t\tfor(int i=n-1; i>=0; i--){\n\t\t\tSystem.out.print(ary[i]);\n\t\t\tif(i == 0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t\tin.close();\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint n = in.nextInt();\n\t\tint[] ary = new int[n];\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\tary[i] = in.nextInt();\n\t\t}\n\t\tfor(int i=n-1; i>=0; i--){\n\t\t\tSystem.out.print(ary[i]);\n\t\t\tif(i == 0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t\tin.close();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner in = new Scanner(System.in);
int n = in.nextInt();
int[] ary = new int[n];
for(int i=0; i<n; i++){
ary[i] = in.nextInt();
}
for(int i=n-1; i>=0; i--){
System.out.print(ary[i]);
if(i == 0){
break;
}else{
System.out.print(" ");
}
}
System.out.println();
in.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
4,
18,
13,
17,
17,
41,
13,
2,
13,
17,
11,
1,
0,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
123,
11
],
[
123,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
26,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
26,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
45,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
45,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
45,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
72,
76
],
[
69,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
69,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
82,
92
],
[
92,
93
],
[
93,
94
],
[
82,
95
],
[
96,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
97,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
96,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
109,
111
],
[
96,
112
],
[
112,
113
],
[
69,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
12,
120
],
[
120,
121
],
[
0,
122
],
[
122,
123
],
[
122,
124
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint numN = 0;\n\t\tint i = 0;\n\n\t\t//????????¨????????°\n\t\tString outputNum = \"\";\n\n\t\tString[] NumList;\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line = br.readLine();\n\n\t\t\tnumN = Integer.parseInt(line);\n\n\t\t\t//????????????\n\t\t\tline = br.readLine();\n\n\t\t\tif (line != null) {\n\n\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\tNumList = line.split(\" \", 0);\n\t\t\t\t//System.out.println(numN );\n\n\t\t\t\tint Count = numN - 1;\n\t\t\t\tfor (i = 0; i < NumList.length;i++) {\n\t\t\t\t\t\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tif(Count != numN - 1){\n\t\t\t\t\t\toutputNum += \" \";\n\t\t\t\t\t}\n\t\t\t\t\toutputNum += NumList[Count];\n\t\t\t\t\tCount--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(outputNum);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t}catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\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) {\n\n\t\t//?????£?????????\n\t\tint numN = 0;\n\t\tint i = 0;\n\n\t\t//????????¨????????°\n\t\tString outputNum = \"\";\n\n\t\tString[] NumList;\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line = br.readLine();\n\n\t\t\tnumN = Integer.parseInt(line);\n\n\t\t\t//????????????\n\t\t\tline = br.readLine();\n\n\t\t\tif (line != null) {\n\n\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\tNumList = line.split(\" \", 0);\n\t\t\t\t//System.out.println(numN );\n\n\t\t\t\tint Count = numN - 1;\n\t\t\t\tfor (i = 0; i < NumList.length;i++) {\n\t\t\t\t\t\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tif(Count != numN - 1){\n\t\t\t\t\t\toutputNum += \" \";\n\t\t\t\t\t}\n\t\t\t\t\toutputNum += NumList[Count];\n\t\t\t\t\tCount--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(outputNum);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t}catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint numN = 0;\n\t\tint i = 0;\n\n\t\t//????????¨????????°\n\t\tString outputNum = \"\";\n\n\t\tString[] NumList;\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line = br.readLine();\n\n\t\t\tnumN = Integer.parseInt(line);\n\n\t\t\t//????????????\n\t\t\tline = br.readLine();\n\n\t\t\tif (line != null) {\n\n\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\tNumList = line.split(\" \", 0);\n\t\t\t\t//System.out.println(numN );\n\n\t\t\t\tint Count = numN - 1;\n\t\t\t\tfor (i = 0; i < NumList.length;i++) {\n\t\t\t\t\t\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tif(Count != numN - 1){\n\t\t\t\t\t\toutputNum += \" \";\n\t\t\t\t\t}\n\t\t\t\t\toutputNum += NumList[Count];\n\t\t\t\t\tCount--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(outputNum);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t}catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\t}",
"main",
"{\n\n\t\t//?????£?????????\n\t\tint numN = 0;\n\t\tint i = 0;\n\n\t\t//????????¨????????°\n\t\tString outputNum = \"\";\n\n\t\tString[] NumList;\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line = br.readLine();\n\n\t\t\tnumN = Integer.parseInt(line);\n\n\t\t\t//????????????\n\t\t\tline = br.readLine();\n\n\t\t\tif (line != null) {\n\n\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\tNumList = line.split(\" \", 0);\n\t\t\t\t//System.out.println(numN );\n\n\t\t\t\tint Count = numN - 1;\n\t\t\t\tfor (i = 0; i < NumList.length;i++) {\n\t\t\t\t\t\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tif(Count != numN - 1){\n\t\t\t\t\t\toutputNum += \" \";\n\t\t\t\t\t}\n\t\t\t\t\toutputNum += NumList[Count];\n\t\t\t\t\tCount--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(outputNum);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t}catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\t}",
"int numN = 0;",
"numN",
"0",
"int i = 0;",
"i",
"0",
"String outputNum = \"\";",
"outputNum",
"\"\"",
"String[] NumList;",
"NumList",
"try {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line = br.readLine();\n\n\t\t\tnumN = Integer.parseInt(line);\n\n\t\t\t//????????????\n\t\t\tline = br.readLine();\n\n\t\t\tif (line != null) {\n\n\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\tNumList = line.split(\" \", 0);\n\t\t\t\t//System.out.println(numN );\n\n\t\t\t\tint Count = numN - 1;\n\t\t\t\tfor (i = 0; i < NumList.length;i++) {\n\t\t\t\t\t\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tif(Count != numN - 1){\n\t\t\t\t\t\toutputNum += \" \";\n\t\t\t\t\t}\n\t\t\t\t\toutputNum += NumList[Count];\n\t\t\t\t\tCount--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(outputNum);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t}catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}",
"catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t}",
"NumberFormatException e",
"{\n\t\t\tSystem.out.println(e);\n\t\t}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}",
"IOException e",
"{\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\t\t\tString line = br.readLine();\n\n\t\t\tnumN = Integer.parseInt(line);\n\n\t\t\t//????????????\n\t\t\tline = br.readLine();\n\n\t\t\tif (line != null) {\n\n\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\tNumList = line.split(\" \", 0);\n\t\t\t\t//System.out.println(numN );\n\n\t\t\t\tint Count = numN - 1;\n\t\t\t\tfor (i = 0; i < NumList.length;i++) {\n\t\t\t\t\t\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tif(Count != numN - 1){\n\t\t\t\t\t\toutputNum += \" \";\n\t\t\t\t\t}\n\t\t\t\t\toutputNum += NumList[Count];\n\t\t\t\t\tCount--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(outputNum);\n\t\t\t}\n\t\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",
"numN = Integer.parseInt(line)",
"numN",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"if (line != null) {\n\n\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\tNumList = line.split(\" \", 0);\n\t\t\t\t//System.out.println(numN );\n\n\t\t\t\tint Count = numN - 1;\n\t\t\t\tfor (i = 0; i < NumList.length;i++) {\n\t\t\t\t\t\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tif(Count != numN - 1){\n\t\t\t\t\t\toutputNum += \" \";\n\t\t\t\t\t}\n\t\t\t\t\toutputNum += NumList[Count];\n\t\t\t\t\tCount--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(outputNum);\n\t\t\t}",
"line != null",
"line",
"null",
"{\n\n\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\tNumList = line.split(\" \", 0);\n\t\t\t\t//System.out.println(numN );\n\n\t\t\t\tint Count = numN - 1;\n\t\t\t\tfor (i = 0; i < NumList.length;i++) {\n\t\t\t\t\t\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tif(Count != numN - 1){\n\t\t\t\t\t\toutputNum += \" \";\n\t\t\t\t\t}\n\t\t\t\t\toutputNum += NumList[Count];\n\t\t\t\t\tCount--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(outputNum);\n\t\t\t}",
"NumList = line.split(\" \", 0)",
"NumList",
"line.split(\" \", 0)",
"line.split",
"line",
"\" \"",
"0",
"int Count = numN - 1;",
"Count",
"numN - 1",
"numN",
"1",
"for (i = 0; i < NumList.length;i++) {\n\t\t\t\t\t\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tif(Count != numN - 1){\n\t\t\t\t\t\toutputNum += \" \";\n\t\t\t\t\t}\n\t\t\t\t\toutputNum += NumList[Count];\n\t\t\t\t\tCount--;\n\t\t\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < NumList.length",
"i",
"NumList.length",
"NumList",
"NumList.length",
"i++",
"i++",
"i",
"{\n\t\t\t\t\t\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tif(Count != numN - 1){\n\t\t\t\t\t\toutputNum += \" \";\n\t\t\t\t\t}\n\t\t\t\t\toutputNum += NumList[Count];\n\t\t\t\t\tCount--;\n\t\t\t\t}",
"{\n\t\t\t\t\t\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tif(Count != numN - 1){\n\t\t\t\t\t\toutputNum += \" \";\n\t\t\t\t\t}\n\t\t\t\t\toutputNum += NumList[Count];\n\t\t\t\t\tCount--;\n\t\t\t\t}",
"if(Count != numN - 1){\n\t\t\t\t\t\toutputNum += \" \";\n\t\t\t\t\t}",
"Count != numN - 1",
"Count",
"numN - 1",
"numN",
"1",
"{\n\t\t\t\t\t\toutputNum += \" \";\n\t\t\t\t\t}",
"outputNum += \" \"",
"outputNum",
"\" \"",
"outputNum += NumList[Count]",
"outputNum",
"NumList[Count]",
"NumList",
"Count",
"Count--",
"Count",
"System.out.println(outputNum)",
"System.out.println",
"System.out",
"System",
"System.out",
"outputNum",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint numN = 0;\n\t\tint i = 0;\n\n\t\t//????????¨????????°\n\t\tString outputNum = \"\";\n\n\t\tString[] NumList;\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line = br.readLine();\n\n\t\t\tnumN = Integer.parseInt(line);\n\n\t\t\t//????????????\n\t\t\tline = br.readLine();\n\n\t\t\tif (line != null) {\n\n\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\tNumList = line.split(\" \", 0);\n\t\t\t\t//System.out.println(numN );\n\n\t\t\t\tint Count = numN - 1;\n\t\t\t\tfor (i = 0; i < NumList.length;i++) {\n\t\t\t\t\t\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tif(Count != numN - 1){\n\t\t\t\t\t\toutputNum += \" \";\n\t\t\t\t\t}\n\t\t\t\t\toutputNum += NumList[Count];\n\t\t\t\t\tCount--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(outputNum);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t}catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint numN = 0;\n\t\tint i = 0;\n\n\t\t//????????¨????????°\n\t\tString outputNum = \"\";\n\n\t\tString[] NumList;\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString line = br.readLine();\n\n\t\t\tnumN = Integer.parseInt(line);\n\n\t\t\t//????????????\n\t\t\tline = br.readLine();\n\n\t\t\tif (line != null) {\n\n\t\t\t\t//??°??£?????´??°?????????\n\t\t\t\tNumList = line.split(\" \", 0);\n\t\t\t\t//System.out.println(numN );\n\n\t\t\t\tint Count = numN - 1;\n\t\t\t\tfor (i = 0; i < NumList.length;i++) {\n\t\t\t\t\t\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tif(Count != numN - 1){\n\t\t\t\t\t\toutputNum += \" \";\n\t\t\t\t\t}\n\t\t\t\t\toutputNum += NumList[Count];\n\t\t\t\t\tCount--;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(outputNum);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t}catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\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) {
//?????£?????????
int numN = 0;
int i = 0;
//????????¨????????°
String outputNum = "";
String[] NumList;
try {
//??\????????????
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
numN = Integer.parseInt(line);
//????????????
line = br.readLine();
if (line != null) {
//??°??£?????´??°?????????
NumList = line.split(" ", 0);
//System.out.println(numN );
int Count = numN - 1;
for (i = 0; i < NumList.length;i++) {
//???????????????????????????
if(Count != numN - 1){
outputNum += " ";
}
outputNum += NumList[Count];
Count--;
}
System.out.println(outputNum);
}
} catch (NumberFormatException e) {
System.out.println(e);
}catch (IOException e) {
System.out.println(e);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
41,
13,
17,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
0,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
88,
5
],
[
88,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
44,
51
],
[
51,
52
],
[
51,
53
],
[
44,
54
],
[
54,
55
],
[
55,
56
],
[
44,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
59,
65
],
[
65,
66
],
[
65,
67
],
[
58,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
68,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[]a = new int[n];\n int i=0;\n\n for(i=0;i<n;i++){\n a[i]=sc.nextInt();\n }\n\n for(i=(n-1);i>=0;i--){\n System.out.printf(\"%d\",a[i]);\n if(i != 0){\n System.out.printf(\" \");\n }else{\n System.out.println(); \n \n }\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 int n = sc.nextInt();\n int[]a = new int[n];\n int i=0;\n\n for(i=0;i<n;i++){\n a[i]=sc.nextInt();\n }\n\n for(i=(n-1);i>=0;i--){\n System.out.printf(\"%d\",a[i]);\n if(i != 0){\n System.out.printf(\" \");\n }else{\n System.out.println(); \n \n }\n }\n }\n}",
"Main",
"public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[]a = new int[n];\n int i=0;\n\n for(i=0;i<n;i++){\n a[i]=sc.nextInt();\n }\n\n for(i=(n-1);i>=0;i--){\n System.out.printf(\"%d\",a[i]);\n if(i != 0){\n System.out.printf(\" \");\n }else{\n System.out.println(); \n \n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[]a = new int[n];\n int i=0;\n\n for(i=0;i<n;i++){\n a[i]=sc.nextInt();\n }\n\n for(i=(n-1);i>=0;i--){\n System.out.printf(\"%d\",a[i]);\n if(i != 0){\n System.out.printf(\" \");\n }else{\n System.out.println(); \n \n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[]a = new int[n];",
"a",
"new int[n]",
"n",
"int i=0;",
"i",
"0",
"for(i=0;i<n;i++){\n a[i]=sc.nextInt();\n }",
"i=0;",
"i=0",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i]=sc.nextInt();\n }",
"{\n a[i]=sc.nextInt();\n }",
"a[i]=sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(i=(n-1);i>=0;i--){\n System.out.printf(\"%d\",a[i]);\n if(i != 0){\n System.out.printf(\" \");\n }else{\n System.out.println(); \n \n }\n }",
"i=(n-1);",
"i=(n-1)",
"i",
"(n-1)",
"n",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n System.out.printf(\"%d\",a[i]);\n if(i != 0){\n System.out.printf(\" \");\n }else{\n System.out.println(); \n \n }\n }",
"{\n System.out.printf(\"%d\",a[i]);\n if(i != 0){\n System.out.printf(\" \");\n }else{\n System.out.println(); \n \n }\n }",
"System.out.printf(\"%d\",a[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\"",
"a[i]",
"a",
"i",
"if(i != 0){\n System.out.printf(\" \");\n }else{\n System.out.println(); \n \n }",
"i != 0",
"i",
"0",
"{\n System.out.printf(\" \");\n }",
"System.out.printf(\" \")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\" \"",
"{\n System.out.println(); \n \n }",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[]args",
"args",
"public class Main{\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[]a = new int[n];\n int i=0;\n\n for(i=0;i<n;i++){\n a[i]=sc.nextInt();\n }\n\n for(i=(n-1);i>=0;i--){\n System.out.printf(\"%d\",a[i]);\n if(i != 0){\n System.out.printf(\" \");\n }else{\n System.out.println(); \n \n }\n }\n }\n}",
"public class Main{\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[]a = new int[n];\n int i=0;\n\n for(i=0;i<n;i++){\n a[i]=sc.nextInt();\n }\n\n for(i=(n-1);i>=0;i--){\n System.out.printf(\"%d\",a[i]);\n if(i != 0){\n System.out.printf(\" \");\n }else{\n System.out.println(); \n \n }\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[]args){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[]a = new int[n];
int i=0;
for(i=0;i<n;i++){
a[i]=sc.nextInt();
}
for(i=(n-1);i>=0;i--){
System.out.printf("%d",a[i]);
if(i != 0){
System.out.printf(" ");
}else{
System.out.println();
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
41,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
0,
13,
2,
13,
17,
2,
17,
13,
1,
40,
13,
30,
30,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
17,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
86,
5
],
[
86,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
43,
50
],
[
50,
51
],
[
50,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
43,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
62,
68
],
[
68,
69
],
[
68,
70
],
[
58,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
71,
77
],
[
77,
78
],
[
77,
79
],
[
8,
80
],
[
80,
81
],
[
81,
82
],
[
6,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\n\t\tint i;\n\n\t\tfor(i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\n\t\tfor(i=n-1; 0<=i; i--)\n\t\t{\n\t\t\tif(i == 0) System.out.printf(\"%d\\n\", a[i]);\n\t\t\telse System.out.printf(\"%d \", a[i]);\n\t\t}\n\n\t\tscan.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\n\t\tint i;\n\n\t\tfor(i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\n\t\tfor(i=n-1; 0<=i; i--)\n\t\t{\n\t\t\tif(i == 0) System.out.printf(\"%d\\n\", a[i]);\n\t\t\telse System.out.printf(\"%d \", a[i]);\n\t\t}\n\n\t\tscan.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\n\t\tint i;\n\n\t\tfor(i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\n\t\tfor(i=n-1; 0<=i; i--)\n\t\t{\n\t\t\tif(i == 0) System.out.printf(\"%d\\n\", a[i]);\n\t\t\telse System.out.printf(\"%d \", a[i]);\n\t\t}\n\n\t\tscan.close();\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\n\t\tint i;\n\n\t\tfor(i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\n\t\tfor(i=n-1; 0<=i; i--)\n\t\t{\n\t\t\tif(i == 0) System.out.printf(\"%d\\n\", a[i]);\n\t\t\telse System.out.printf(\"%d \", a[i]);\n\t\t}\n\n\t\tscan.close();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"int i;",
"i",
"for(i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scan.nextInt();\n\t\t}",
"i=0;",
"i=0",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = scan.nextInt();\n\t\t}",
"{\n\t\t\ta[i] = scan.nextInt();\n\t\t}",
"a[i] = scan.nextInt()",
"a[i]",
"a",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(i=n-1; 0<=i; i--)\n\t\t{\n\t\t\tif(i == 0) System.out.printf(\"%d\\n\", a[i]);\n\t\t\telse System.out.printf(\"%d \", a[i]);\n\t\t}",
"i=n-1;",
"i=n-1",
"i",
"n-1",
"n",
"1",
"0<=i",
"0",
"i",
"i--",
"i--",
"i",
"{\n\t\t\tif(i == 0) System.out.printf(\"%d\\n\", a[i]);\n\t\t\telse System.out.printf(\"%d \", a[i]);\n\t\t}",
"{\n\t\t\tif(i == 0) System.out.printf(\"%d\\n\", a[i]);\n\t\t\telse System.out.printf(\"%d \", a[i]);\n\t\t}",
"if(i == 0) System.out.printf(\"%d\\n\", a[i]);\n\t\t\telse System.out.printf(\"%d \", a[i]);",
"i == 0",
"i",
"0",
"System.out.printf(\"%d\\n\", a[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\\n\"",
"a[i]",
"a",
"i",
"System.out.printf(\"%d \", a[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d \"",
"a[i]",
"a",
"i",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\n\t\tint i;\n\n\t\tfor(i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\n\t\tfor(i=n-1; 0<=i; i--)\n\t\t{\n\t\t\tif(i == 0) System.out.printf(\"%d\\n\", a[i]);\n\t\t\telse System.out.printf(\"%d \", a[i]);\n\t\t}\n\n\t\tscan.close();\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\n\t\tint i;\n\n\t\tfor(i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\n\t\tfor(i=n-1; 0<=i; i--)\n\t\t{\n\t\t\tif(i == 0) System.out.printf(\"%d\\n\", a[i]);\n\t\t\telse System.out.printf(\"%d \", a[i]);\n\t\t}\n\n\t\tscan.close();\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int[] a = new int[n];
int i;
for(i=0; i<n; i++)
{
a[i] = scan.nextInt();
}
for(i=n-1; 0<=i; i--)
{
if(i == 0) System.out.printf("%d\n", a[i]);
else System.out.printf("%d ", a[i]);
}
scan.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
2,
2,
13,
13,
17,
4,
18,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
18,
13,
13,
14,
40,
2,
13,
2,
13,
17,
30,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
110,
5
],
[
110,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
8,
37
],
[
37,
38
],
[
37,
39
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
41,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
65,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
68,
78
],
[
78,
79
],
[
79,
80
],
[
68,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
86,
87
],
[
86,
88
],
[
82,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
89,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
8,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
6,
107
],
[
107,
108
],
[
0,
109
],
[
109,
110
],
[
109,
111
]
] | [
"import java.io.*;\npublic class Main{\n\tpublic static void main(String[] args)throws Exception{\n\t\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\tString str=input.readLine();\n\t\tint n=Integer.parseInt(str);\n\t\tString str2=input.readLine();\n\t\tString[] arr=str2.split(\" \");\n\t\tint[] number=new int[n];\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tnumber[n-i-1]=Integer.parseInt(arr[i]);\n\t\t}\n\t\tfor(int i=0;i<number.length;i++){\n\t\t\tsb.append(number[i]);\n\t\t\tif(!(i==n-1)){\n\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\t\n\t\t\n\t\tSystem.out.println(sb);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String[] args)throws Exception{\n\t\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\tString str=input.readLine();\n\t\tint n=Integer.parseInt(str);\n\t\tString str2=input.readLine();\n\t\tString[] arr=str2.split(\" \");\n\t\tint[] number=new int[n];\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tnumber[n-i-1]=Integer.parseInt(arr[i]);\n\t\t}\n\t\tfor(int i=0;i<number.length;i++){\n\t\t\tsb.append(number[i]);\n\t\t\tif(!(i==n-1)){\n\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\t\n\t\t\n\t\tSystem.out.println(sb);\n\t}\n}",
"Main",
"public static void main(String[] args)throws Exception{\n\t\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\tString str=input.readLine();\n\t\tint n=Integer.parseInt(str);\n\t\tString str2=input.readLine();\n\t\tString[] arr=str2.split(\" \");\n\t\tint[] number=new int[n];\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tnumber[n-i-1]=Integer.parseInt(arr[i]);\n\t\t}\n\t\tfor(int i=0;i<number.length;i++){\n\t\t\tsb.append(number[i]);\n\t\t\tif(!(i==n-1)){\n\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\t\n\t\t\n\t\tSystem.out.println(sb);\n\t}",
"main",
"{\n\t\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\tString str=input.readLine();\n\t\tint n=Integer.parseInt(str);\n\t\tString str2=input.readLine();\n\t\tString[] arr=str2.split(\" \");\n\t\tint[] number=new int[n];\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tnumber[n-i-1]=Integer.parseInt(arr[i]);\n\t\t}\n\t\tfor(int i=0;i<number.length;i++){\n\t\t\tsb.append(number[i]);\n\t\t\tif(!(i==n-1)){\n\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\t\n\t\t\n\t\tSystem.out.println(sb);\n\t}",
"BufferedReader input=new BufferedReader(new InputStreamReader(System.in));",
"input",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb=new StringBuilder();",
"sb",
"new StringBuilder()",
"String str=input.readLine();",
"str",
"input.readLine()",
"input.readLine",
"input",
"int n=Integer.parseInt(str);",
"n",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"String str2=input.readLine();",
"str2",
"input.readLine()",
"input.readLine",
"input",
"String[] arr=str2.split(\" \");",
"arr",
"str2.split(\" \")",
"str2.split",
"str2",
"\" \"",
"int[] number=new int[n];",
"number",
"new int[n]",
"n",
"for(int i=0;i<n;i++){\n\t\t\tnumber[n-i-1]=Integer.parseInt(arr[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tnumber[n-i-1]=Integer.parseInt(arr[i]);\n\t\t}",
"{\n\t\t\tnumber[n-i-1]=Integer.parseInt(arr[i]);\n\t\t}",
"number[n-i-1]=Integer.parseInt(arr[i])",
"number[n-i-1]",
"number",
"n-i-1",
"n-i-1",
"n",
"i",
"1",
"Integer.parseInt(arr[i])",
"Integer.parseInt",
"Integer",
"arr[i]",
"arr",
"i",
"for(int i=0;i<number.length;i++){\n\t\t\tsb.append(number[i]);\n\t\t\tif(!(i==n-1)){\n\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<number.length",
"i",
"number.length",
"number",
"number.length",
"i++",
"i++",
"i",
"{\n\t\t\tsb.append(number[i]);\n\t\t\tif(!(i==n-1)){\n\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}",
"{\n\t\t\tsb.append(number[i]);\n\t\t\tif(!(i==n-1)){\n\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}",
"sb.append(number[i])",
"sb.append",
"sb",
"number[i]",
"number",
"i",
"if(!(i==n-1)){\n\t\t\tsb.append(\" \");\n\t\t\t}",
"!(i==n-1)",
"(i==n-1)",
"i",
"n-1",
"n",
"1",
"{\n\t\t\tsb.append(\" \");\n\t\t\t}",
"sb.append(\" \")",
"sb.append",
"sb",
"\" \"",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args)throws Exception{\n\t\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\tString str=input.readLine();\n\t\tint n=Integer.parseInt(str);\n\t\tString str2=input.readLine();\n\t\tString[] arr=str2.split(\" \");\n\t\tint[] number=new int[n];\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tnumber[n-i-1]=Integer.parseInt(arr[i]);\n\t\t}\n\t\tfor(int i=0;i<number.length;i++){\n\t\t\tsb.append(number[i]);\n\t\t\tif(!(i==n-1)){\n\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\t\n\t\t\n\t\tSystem.out.println(sb);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args)throws Exception{\n\t\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\tString str=input.readLine();\n\t\tint n=Integer.parseInt(str);\n\t\tString str2=input.readLine();\n\t\tString[] arr=str2.split(\" \");\n\t\tint[] number=new int[n];\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tnumber[n-i-1]=Integer.parseInt(arr[i]);\n\t\t}\n\t\tfor(int i=0;i<number.length;i++){\n\t\t\tsb.append(number[i]);\n\t\t\tif(!(i==n-1)){\n\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\t\n\t\t\n\t\tSystem.out.println(sb);\n\t}\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[] args)throws Exception{
BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb=new StringBuilder();
String str=input.readLine();
int n=Integer.parseInt(str);
String str2=input.readLine();
String[] arr=str2.split(" ");
int[] number=new int[n];
for(int i=0;i<n;i++){
number[n-i-1]=Integer.parseInt(arr[i]);
}
for(int i=0;i<number.length;i++){
sb.append(number[i]);
if(!(i==n-1)){
sb.append(" ");
}
}
System.out.println(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
17,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
17,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
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
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
34,
41
],
[
41,
42
],
[
41,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
48,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
57,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
6,
75
],
[
75,
76
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner kb = new Scanner( System.in );\n\n\t\tString str = kb.nextLine();\n\t\tint n = Integer.parseInt( str );\n\n\t\tstr = kb.nextLine();\n\t\tString[] arr = str.split( \" \" );\n\t\t\t\n\t\tfor( int i=n-1; 0<=i; i-- ) {\n\t\t\tSystem.out.print( arr[i] );\n\t\t\tif( 0 != i ) {\n\t\t\t\tSystem.out.print( \" \" );\n\t\t\t} else {\n\t\t\t\tSystem.out.print( \"\\n\" );\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner kb = new Scanner( System.in );\n\n\t\tString str = kb.nextLine();\n\t\tint n = Integer.parseInt( str );\n\n\t\tstr = kb.nextLine();\n\t\tString[] arr = str.split( \" \" );\n\t\t\t\n\t\tfor( int i=n-1; 0<=i; i-- ) {\n\t\t\tSystem.out.print( arr[i] );\n\t\t\tif( 0 != i ) {\n\t\t\t\tSystem.out.print( \" \" );\n\t\t\t} else {\n\t\t\t\tSystem.out.print( \"\\n\" );\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner kb = new Scanner( System.in );\n\n\t\tString str = kb.nextLine();\n\t\tint n = Integer.parseInt( str );\n\n\t\tstr = kb.nextLine();\n\t\tString[] arr = str.split( \" \" );\n\t\t\t\n\t\tfor( int i=n-1; 0<=i; i-- ) {\n\t\t\tSystem.out.print( arr[i] );\n\t\t\tif( 0 != i ) {\n\t\t\t\tSystem.out.print( \" \" );\n\t\t\t} else {\n\t\t\t\tSystem.out.print( \"\\n\" );\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner kb = new Scanner( System.in );\n\n\t\tString str = kb.nextLine();\n\t\tint n = Integer.parseInt( str );\n\n\t\tstr = kb.nextLine();\n\t\tString[] arr = str.split( \" \" );\n\t\t\t\n\t\tfor( int i=n-1; 0<=i; i-- ) {\n\t\t\tSystem.out.print( arr[i] );\n\t\t\tif( 0 != i ) {\n\t\t\t\tSystem.out.print( \" \" );\n\t\t\t} else {\n\t\t\t\tSystem.out.print( \"\\n\" );\n\t\t\t}\n\t\t}\n\t}",
"Scanner kb = new Scanner( System.in );",
"kb",
"new Scanner( System.in )",
"String str = kb.nextLine();",
"str",
"kb.nextLine()",
"kb.nextLine",
"kb",
"int n = Integer.parseInt( str );",
"n",
"Integer.parseInt( str )",
"Integer.parseInt",
"Integer",
"str",
"str = kb.nextLine()",
"str",
"kb.nextLine()",
"kb.nextLine",
"kb",
"String[] arr = str.split( \" \" );",
"arr",
"str.split( \" \" )",
"str.split",
"str",
"\" \"",
"for( int i=n-1; 0<=i; i-- ) {\n\t\t\tSystem.out.print( arr[i] );\n\t\t\tif( 0 != i ) {\n\t\t\t\tSystem.out.print( \" \" );\n\t\t\t} else {\n\t\t\t\tSystem.out.print( \"\\n\" );\n\t\t\t}\n\t\t}",
"int i=n-1;",
"int i=n-1;",
"i",
"n-1",
"n",
"1",
"0<=i",
"0",
"i",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print( arr[i] );\n\t\t\tif( 0 != i ) {\n\t\t\t\tSystem.out.print( \" \" );\n\t\t\t} else {\n\t\t\t\tSystem.out.print( \"\\n\" );\n\t\t\t}\n\t\t}",
"{\n\t\t\tSystem.out.print( arr[i] );\n\t\t\tif( 0 != i ) {\n\t\t\t\tSystem.out.print( \" \" );\n\t\t\t} else {\n\t\t\t\tSystem.out.print( \"\\n\" );\n\t\t\t}\n\t\t}",
"System.out.print( arr[i] )",
"System.out.print",
"System.out",
"System",
"System.out",
"arr[i]",
"arr",
"i",
"if( 0 != i ) {\n\t\t\t\tSystem.out.print( \" \" );\n\t\t\t} else {\n\t\t\t\tSystem.out.print( \"\\n\" );\n\t\t\t}",
"0 != i",
"0",
"i",
"{\n\t\t\t\tSystem.out.print( \" \" );\n\t\t\t}",
"System.out.print( \" \" )",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"{\n\t\t\t\tSystem.out.print( \"\\n\" );\n\t\t\t}",
"System.out.print( \"\\n\" )",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner kb = new Scanner( System.in );
String str = kb.nextLine();
int n = Integer.parseInt( str );
str = kb.nextLine();
String[] arr = str.split( " " );
for( int i=n-1; 0<=i; i-- ) {
System.out.print( arr[i] );
if( 0 != i ) {
System.out.print( " " );
} else {
System.out.print( "\n" );
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
41,
13,
17,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
0,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
17,
12,
13,
30,
4,
18,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
10
],
[
10,
11
],
[
10,
12
],
[
4,
13
],
[
13,
14
],
[
4,
15
],
[
15,
16
],
[
15,
17
],
[
4,
18
],
[
18,
19
],
[
4,
20
],
[
20,
21
],
[
4,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
24,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
41,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
62,
69
],
[
69,
70
],
[
69,
71
],
[
62,
72
],
[
72,
73
],
[
73,
74
],
[
62,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
77,
83
],
[
83,
84
],
[
83,
85
],
[
41,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
4,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
94,
100
],
[
100,
101
]
] | [
"import java.util.Scanner;\nclass Main {\n\tint[] ai = new int [100];\n\tint n = 0,w,j = 1,h,i;\n\tpublic void nu () {\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\t\tif(n >= 0 || n <= 100) {\n\t\t\tfor(w = 0; w < n; w++) {\n\t\t\t\tai[w] = sc.nextInt();\n\t\t\t}\n\t\t\tfor(w = n-1; w > 0; w--) {\n\t\t\t\tSystem.out.printf(\"%d \",ai[w]);\n\t\t\t}\n\t\t\tSystem.out.println(ai[0]);\n\t\t}\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().nu();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tint[] ai = new int [100];\n\tint n = 0,w,j = 1,h,i;\n\tpublic void nu () {\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\t\tif(n >= 0 || n <= 100) {\n\t\t\tfor(w = 0; w < n; w++) {\n\t\t\t\tai[w] = sc.nextInt();\n\t\t\t}\n\t\t\tfor(w = n-1; w > 0; w--) {\n\t\t\t\tSystem.out.printf(\"%d \",ai[w]);\n\t\t\t}\n\t\t\tSystem.out.println(ai[0]);\n\t\t}\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().nu();\n\t}\n}",
"Main",
"int[] ai = new int [100];",
"ai",
"new int [100]",
"100",
"int n = 0",
"n",
"0",
"w",
"w",
"j = 1",
"j",
"1",
"h",
"h",
"i;",
"i",
"public void nu () {\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\t\tif(n >= 0 || n <= 100) {\n\t\t\tfor(w = 0; w < n; w++) {\n\t\t\t\tai[w] = sc.nextInt();\n\t\t\t}\n\t\t\tfor(w = n-1; w > 0; w--) {\n\t\t\t\tSystem.out.printf(\"%d \",ai[w]);\n\t\t\t}\n\t\t\tSystem.out.println(ai[0]);\n\t\t}\n\t}",
"nu",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\t\tif(n >= 0 || n <= 100) {\n\t\t\tfor(w = 0; w < n; w++) {\n\t\t\t\tai[w] = sc.nextInt();\n\t\t\t}\n\t\t\tfor(w = n-1; w > 0; w--) {\n\t\t\t\tSystem.out.printf(\"%d \",ai[w]);\n\t\t\t}\n\t\t\tSystem.out.println(ai[0]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"n = sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n >= 0 || n <= 100) {\n\t\t\tfor(w = 0; w < n; w++) {\n\t\t\t\tai[w] = sc.nextInt();\n\t\t\t}\n\t\t\tfor(w = n-1; w > 0; w--) {\n\t\t\t\tSystem.out.printf(\"%d \",ai[w]);\n\t\t\t}\n\t\t\tSystem.out.println(ai[0]);\n\t\t}",
"n >= 0 || n <= 100",
"n >= 0",
"n",
"0",
"n <= 100",
"n",
"100",
"{\n\t\t\tfor(w = 0; w < n; w++) {\n\t\t\t\tai[w] = sc.nextInt();\n\t\t\t}\n\t\t\tfor(w = n-1; w > 0; w--) {\n\t\t\t\tSystem.out.printf(\"%d \",ai[w]);\n\t\t\t}\n\t\t\tSystem.out.println(ai[0]);\n\t\t}",
"for(w = 0; w < n; w++) {\n\t\t\t\tai[w] = sc.nextInt();\n\t\t\t}",
"w = 0;",
"w = 0",
"w",
"0",
"w < n",
"w",
"n",
"w++",
"w++",
"w",
"{\n\t\t\t\tai[w] = sc.nextInt();\n\t\t\t}",
"{\n\t\t\t\tai[w] = sc.nextInt();\n\t\t\t}",
"ai[w] = sc.nextInt()",
"ai[w]",
"ai",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(w = n-1; w > 0; w--) {\n\t\t\t\tSystem.out.printf(\"%d \",ai[w]);\n\t\t\t}",
"w = n-1;",
"w = n-1",
"w",
"n-1",
"n",
"1",
"w > 0",
"w",
"0",
"w--",
"w--",
"w",
"{\n\t\t\t\tSystem.out.printf(\"%d \",ai[w]);\n\t\t\t}",
"{\n\t\t\t\tSystem.out.printf(\"%d \",ai[w]);\n\t\t\t}",
"System.out.printf(\"%d \",ai[w])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d \"",
"ai[w]",
"ai",
"w",
"System.out.println(ai[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"ai[0]",
"ai",
"0",
"public static void main(String[] args) {\n\t\tnew Main().nu();\n\t}",
"main",
"{\n\t\tnew Main().nu();\n\t}",
"new Main().nu()",
"new Main().nu",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
int[] ai = new int [100];
int n = 0,w,j = 1,h,i;
public void nu () {
Scanner sc = new Scanner(System.in);
n = sc.nextInt();
if(n >= 0 || n <= 100) {
for(w = 0; w < n; w++) {
ai[w] = sc.nextInt();
}
for(w = n-1; w > 0; w--) {
System.out.printf("%d ",ai[w]);
}
System.out.println(ai[0]);
}
}
public static void main(String[] args) {
new Main().nu();
}
} |
[
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,
17,
11,
1,
41,
13,
2,
4,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
73,
5
],
[
73,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
32,
37
],
[
28,
38
],
[
38,
39
],
[
38,
40
],
[
28,
41
],
[
41,
42
],
[
42,
43
],
[
28,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
46,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
6,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
] | [
"import java.io.*;\npublic class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tBufferedReader a=new BufferedReader(new InputStreamReader(System.in));\n\t\tString n=a.readLine();\n\t\tString str=a.readLine();\n\t\tString[] i=str.split(\" \");\n\t\tfor (int m=Integer.parseInt(n)-1;m>=0;m--){\n\t\t\tif(m!=0){System.out.print(i[m]+\" \");}\n\t\t\telse{System.out.println(i[m]);}\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tBufferedReader a=new BufferedReader(new InputStreamReader(System.in));\n\t\tString n=a.readLine();\n\t\tString str=a.readLine();\n\t\tString[] i=str.split(\" \");\n\t\tfor (int m=Integer.parseInt(n)-1;m>=0;m--){\n\t\t\tif(m!=0){System.out.print(i[m]+\" \");}\n\t\t\telse{System.out.println(i[m]);}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException {\n\t\tBufferedReader a=new BufferedReader(new InputStreamReader(System.in));\n\t\tString n=a.readLine();\n\t\tString str=a.readLine();\n\t\tString[] i=str.split(\" \");\n\t\tfor (int m=Integer.parseInt(n)-1;m>=0;m--){\n\t\t\tif(m!=0){System.out.print(i[m]+\" \");}\n\t\t\telse{System.out.println(i[m]);}\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader a=new BufferedReader(new InputStreamReader(System.in));\n\t\tString n=a.readLine();\n\t\tString str=a.readLine();\n\t\tString[] i=str.split(\" \");\n\t\tfor (int m=Integer.parseInt(n)-1;m>=0;m--){\n\t\t\tif(m!=0){System.out.print(i[m]+\" \");}\n\t\t\telse{System.out.println(i[m]);}\n\t\t}\n\t}",
"BufferedReader a=new BufferedReader(new InputStreamReader(System.in));",
"a",
"new BufferedReader(new InputStreamReader(System.in))",
"String n=a.readLine();",
"n",
"a.readLine()",
"a.readLine",
"a",
"String str=a.readLine();",
"str",
"a.readLine()",
"a.readLine",
"a",
"String[] i=str.split(\" \");",
"i",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"for (int m=Integer.parseInt(n)-1;m>=0;m--){\n\t\t\tif(m!=0){System.out.print(i[m]+\" \");}\n\t\t\telse{System.out.println(i[m]);}\n\t\t}",
"int m=Integer.parseInt(n)-1;",
"int m=Integer.parseInt(n)-1;",
"m",
"Integer.parseInt(n)-1",
"Integer.parseInt(n)",
"Integer.parseInt",
"Integer",
"n",
"1",
"m>=0",
"m",
"0",
"m--",
"m--",
"m",
"{\n\t\t\tif(m!=0){System.out.print(i[m]+\" \");}\n\t\t\telse{System.out.println(i[m]);}\n\t\t}",
"{\n\t\t\tif(m!=0){System.out.print(i[m]+\" \");}\n\t\t\telse{System.out.println(i[m]);}\n\t\t}",
"if(m!=0){System.out.print(i[m]+\" \");}\n\t\t\telse{System.out.println(i[m]);}",
"m!=0",
"m",
"0",
"{System.out.print(i[m]+\" \");}",
"System.out.print(i[m]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"i[m]+\" \"",
"i[m]",
"i",
"m",
"\" \"",
"{System.out.println(i[m]);}",
"System.out.println(i[m])",
"System.out.println",
"System.out",
"System",
"System.out",
"i[m]",
"i",
"m",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tBufferedReader a=new BufferedReader(new InputStreamReader(System.in));\n\t\tString n=a.readLine();\n\t\tString str=a.readLine();\n\t\tString[] i=str.split(\" \");\n\t\tfor (int m=Integer.parseInt(n)-1;m>=0;m--){\n\t\t\tif(m!=0){System.out.print(i[m]+\" \");}\n\t\t\telse{System.out.println(i[m]);}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tBufferedReader a=new BufferedReader(new InputStreamReader(System.in));\n\t\tString n=a.readLine();\n\t\tString str=a.readLine();\n\t\tString[] i=str.split(\" \");\n\t\tfor (int m=Integer.parseInt(n)-1;m>=0;m--){\n\t\t\tif(m!=0){System.out.print(i[m]+\" \");}\n\t\t\telse{System.out.println(i[m]);}\n\t\t}\n\t}\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args)throws IOException {
BufferedReader a=new BufferedReader(new InputStreamReader(System.in));
String n=a.readLine();
String str=a.readLine();
String[] i=str.split(" ");
for (int m=Integer.parseInt(n)-1;m>=0;m--){
if(m!=0){System.out.print(i[m]+" ");}
else{System.out.println(i[m]);}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
13,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
104,
11
],
[
104,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
38,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
14,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
14,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
52,
62
],
[
62,
63
],
[
63,
64
],
[
52,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
70,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
67,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
85,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
12,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\n/**\n * Created 2017/06/10.\n */\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n ArrayList<Integer> num = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n int input = sc.nextInt();\n num.add(input);\n }\n Collections.reverse(num);\n\n //System.out.println(num);\n \n for (int i = 0; i < num.size(); i++) {\n if (i == num.size() - 1) {\n System.out.println(num.get(i));\n } else {\n System.out.print(num.get(i));\n System.out.print(\" \");\n }\n }\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n ArrayList<Integer> num = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n int input = sc.nextInt();\n num.add(input);\n }\n Collections.reverse(num);\n\n //System.out.println(num);\n \n for (int i = 0; i < num.size(); i++) {\n if (i == num.size() - 1) {\n System.out.println(num.get(i));\n } else {\n System.out.print(num.get(i));\n System.out.print(\" \");\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n ArrayList<Integer> num = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n int input = sc.nextInt();\n num.add(input);\n }\n Collections.reverse(num);\n\n //System.out.println(num);\n \n for (int i = 0; i < num.size(); i++) {\n if (i == num.size() - 1) {\n System.out.println(num.get(i));\n } else {\n System.out.print(num.get(i));\n System.out.print(\" \");\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n ArrayList<Integer> num = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n int input = sc.nextInt();\n num.add(input);\n }\n Collections.reverse(num);\n\n //System.out.println(num);\n \n for (int i = 0; i < num.size(); i++) {\n if (i == num.size() - 1) {\n System.out.println(num.get(i));\n } else {\n System.out.print(num.get(i));\n System.out.print(\" \");\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"ArrayList<Integer> num = new ArrayList<>();",
"num",
"new ArrayList<>()",
"for (int i = 0; i < n; i++) {\n int input = sc.nextInt();\n num.add(input);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n int input = sc.nextInt();\n num.add(input);\n }",
"{\n int input = sc.nextInt();\n num.add(input);\n }",
"int input = sc.nextInt();",
"input",
"sc.nextInt()",
"sc.nextInt",
"sc",
"num.add(input)",
"num.add",
"num",
"input",
"Collections.reverse(num)",
"Collections.reverse",
"Collections",
"num",
"for (int i = 0; i < num.size(); i++) {\n if (i == num.size() - 1) {\n System.out.println(num.get(i));\n } else {\n System.out.print(num.get(i));\n System.out.print(\" \");\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < num.size()",
"i",
"num.size()",
"num.size",
"num",
"i++",
"i++",
"i",
"{\n if (i == num.size() - 1) {\n System.out.println(num.get(i));\n } else {\n System.out.print(num.get(i));\n System.out.print(\" \");\n }\n }",
"{\n if (i == num.size() - 1) {\n System.out.println(num.get(i));\n } else {\n System.out.print(num.get(i));\n System.out.print(\" \");\n }\n }",
"if (i == num.size() - 1) {\n System.out.println(num.get(i));\n } else {\n System.out.print(num.get(i));\n System.out.print(\" \");\n }",
"i == num.size() - 1",
"i",
"num.size() - 1",
"num.size()",
"num.size",
"num",
"1",
"{\n System.out.println(num.get(i));\n }",
"System.out.println(num.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"num.get(i)",
"num.get",
"num",
"i",
"{\n System.out.print(num.get(i));\n System.out.print(\" \");\n }",
"System.out.print(num.get(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"num.get(i)",
"num.get",
"num",
"i",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n ArrayList<Integer> num = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n int input = sc.nextInt();\n num.add(input);\n }\n Collections.reverse(num);\n\n //System.out.println(num);\n \n for (int i = 0; i < num.size(); i++) {\n if (i == num.size() - 1) {\n System.out.println(num.get(i));\n } else {\n System.out.print(num.get(i));\n System.out.print(\" \");\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n ArrayList<Integer> num = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n int input = sc.nextInt();\n num.add(input);\n }\n Collections.reverse(num);\n\n //System.out.println(num);\n \n for (int i = 0; i < num.size(); i++) {\n if (i == num.size() - 1) {\n System.out.println(num.get(i));\n } else {\n System.out.print(num.get(i));\n System.out.print(\" \");\n }\n }\n }\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
/**
* Created 2017/06/10.
*/
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
ArrayList<Integer> num = new ArrayList<>();
for (int i = 0; i < n; i++) {
int input = sc.nextInt();
num.add(input);
}
Collections.reverse(num);
//System.out.println(num);
for (int i = 0; i < num.size(); i++) {
if (i == num.size() - 1) {
System.out.println(num.get(i));
} else {
System.out.print(num.get(i));
System.out.print(" ");
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
42,
2,
13,
13,
30,
0,
13,
4,
18,
13,
4,
18,
13,
13,
40,
13,
0,
13,
17,
42,
2,
13,
13,
30,
4,
18,
13,
4,
18,
13,
2,
2,
13,
17,
13,
40,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
114,
5
],
[
114,
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
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
32,
42
],
[
42,
43
],
[
8,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
59,
59
],
[
59,
60
],
[
59,
61
],
[
59,
62
],
[
51,
63
],
[
63,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
74,
75
],
[
65,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
78,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
85,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
78,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
96,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
8,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
6,
111
],
[
111,
112
],
[
0,
113
],
[
113,
114
],
[
113,
115
]
] | [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer>plane = new ArrayList<>();\n\t\tArrayList<Integer> reverse = new ArrayList<>();\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint i = 0;\n\t\tint input;\n\t\t\n\t\twhile(i < n) {\n\t\t\tinput = sc.nextInt();\n\t\t\tplane.add(input);\n\t\t\ti++;\n\t\t}\n\t\t\n\t\ti = 0;\n\t\twhile(i < n) {\n\t\t\treverse.add(plane.get(n-1-i));\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tfor(i = 0; i < n; i++) {\n\t\t\tif(i == n - 1) {\n\t\t\t\tSystem.out.printf(\"%d\", reverse.get(i));\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d \", reverse.get(i));\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer>plane = new ArrayList<>();\n\t\tArrayList<Integer> reverse = new ArrayList<>();\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint i = 0;\n\t\tint input;\n\t\t\n\t\twhile(i < n) {\n\t\t\tinput = sc.nextInt();\n\t\t\tplane.add(input);\n\t\t\ti++;\n\t\t}\n\t\t\n\t\ti = 0;\n\t\twhile(i < n) {\n\t\t\treverse.add(plane.get(n-1-i));\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tfor(i = 0; i < n; i++) {\n\t\t\tif(i == n - 1) {\n\t\t\t\tSystem.out.printf(\"%d\", reverse.get(i));\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d \", reverse.get(i));\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer>plane = new ArrayList<>();\n\t\tArrayList<Integer> reverse = new ArrayList<>();\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint i = 0;\n\t\tint input;\n\t\t\n\t\twhile(i < n) {\n\t\t\tinput = sc.nextInt();\n\t\t\tplane.add(input);\n\t\t\ti++;\n\t\t}\n\t\t\n\t\ti = 0;\n\t\twhile(i < n) {\n\t\t\treverse.add(plane.get(n-1-i));\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tfor(i = 0; i < n; i++) {\n\t\t\tif(i == n - 1) {\n\t\t\t\tSystem.out.printf(\"%d\", reverse.get(i));\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d \", reverse.get(i));\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer>plane = new ArrayList<>();\n\t\tArrayList<Integer> reverse = new ArrayList<>();\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint i = 0;\n\t\tint input;\n\t\t\n\t\twhile(i < n) {\n\t\t\tinput = sc.nextInt();\n\t\t\tplane.add(input);\n\t\t\ti++;\n\t\t}\n\t\t\n\t\ti = 0;\n\t\twhile(i < n) {\n\t\t\treverse.add(plane.get(n-1-i));\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tfor(i = 0; i < n; i++) {\n\t\t\tif(i == n - 1) {\n\t\t\t\tSystem.out.printf(\"%d\", reverse.get(i));\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d \", reverse.get(i));\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer>plane = new ArrayList<>();",
"plane",
"new ArrayList<>()",
"ArrayList<Integer> reverse = new ArrayList<>();",
"reverse",
"new ArrayList<>()",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int i = 0;",
"i",
"0",
"int input;",
"input",
"while(i < n) {\n\t\t\tinput = sc.nextInt();\n\t\t\tplane.add(input);\n\t\t\ti++;\n\t\t}",
"i < n",
"i",
"n",
"{\n\t\t\tinput = sc.nextInt();\n\t\t\tplane.add(input);\n\t\t\ti++;\n\t\t}",
"input = sc.nextInt()",
"input",
"sc.nextInt()",
"sc.nextInt",
"sc",
"plane.add(input)",
"plane.add",
"plane",
"input",
"i++",
"i",
"i = 0",
"i",
"0",
"while(i < n) {\n\t\t\treverse.add(plane.get(n-1-i));\n\t\t\ti++;\n\t\t}",
"i < n",
"i",
"n",
"{\n\t\t\treverse.add(plane.get(n-1-i));\n\t\t\ti++;\n\t\t}",
"reverse.add(plane.get(n-1-i))",
"reverse.add",
"reverse",
"plane.get(n-1-i)",
"plane.get",
"plane",
"n-1-i",
"n-1-i",
"n",
"1",
"i",
"i++",
"i",
"for(i = 0; i < n; i++) {\n\t\t\tif(i == n - 1) {\n\t\t\t\tSystem.out.printf(\"%d\", reverse.get(i));\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d \", reverse.get(i));\n\t\t\t}\n\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tif(i == n - 1) {\n\t\t\t\tSystem.out.printf(\"%d\", reverse.get(i));\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d \", reverse.get(i));\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(i == n - 1) {\n\t\t\t\tSystem.out.printf(\"%d\", reverse.get(i));\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d \", reverse.get(i));\n\t\t\t}\n\t\t}",
"if(i == n - 1) {\n\t\t\t\tSystem.out.printf(\"%d\", reverse.get(i));\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d \", reverse.get(i));\n\t\t\t}",
"i == n - 1",
"i",
"n - 1",
"n",
"1",
"{\n\t\t\t\tSystem.out.printf(\"%d\", reverse.get(i));\n\t\t\t}",
"System.out.printf(\"%d\", reverse.get(i))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\"",
"reverse.get(i)",
"reverse.get",
"reverse",
"i",
"{\n\t\t\t\tSystem.out.printf(\"%d \", reverse.get(i));\n\t\t\t}",
"System.out.printf(\"%d \", reverse.get(i))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d \"",
"reverse.get(i)",
"reverse.get",
"reverse",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer>plane = new ArrayList<>();\n\t\tArrayList<Integer> reverse = new ArrayList<>();\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint i = 0;\n\t\tint input;\n\t\t\n\t\twhile(i < n) {\n\t\t\tinput = sc.nextInt();\n\t\t\tplane.add(input);\n\t\t\ti++;\n\t\t}\n\t\t\n\t\ti = 0;\n\t\twhile(i < n) {\n\t\t\treverse.add(plane.get(n-1-i));\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tfor(i = 0; i < n; i++) {\n\t\t\tif(i == n - 1) {\n\t\t\t\tSystem.out.printf(\"%d\", reverse.get(i));\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d \", reverse.get(i));\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer>plane = new ArrayList<>();\n\t\tArrayList<Integer> reverse = new ArrayList<>();\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint i = 0;\n\t\tint input;\n\t\t\n\t\twhile(i < n) {\n\t\t\tinput = sc.nextInt();\n\t\t\tplane.add(input);\n\t\t\ti++;\n\t\t}\n\t\t\n\t\ti = 0;\n\t\twhile(i < n) {\n\t\t\treverse.add(plane.get(n-1-i));\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tfor(i = 0; i < n; i++) {\n\t\t\tif(i == n - 1) {\n\t\t\t\tSystem.out.printf(\"%d\", reverse.get(i));\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d \", reverse.get(i));\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<Integer>plane = new ArrayList<>();
ArrayList<Integer> reverse = new ArrayList<>();
int n = sc.nextInt();
int i = 0;
int input;
while(i < n) {
input = sc.nextInt();
plane.add(input);
i++;
}
i = 0;
while(i < n) {
reverse.add(plane.get(n-1-i));
i++;
}
for(i = 0; i < n; i++) {
if(i == n - 1) {
System.out.printf("%d", reverse.get(i));
} else {
System.out.printf("%d ", reverse.get(i));
}
}
System.out.println();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
40,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
89,
8
],
[
89,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
11,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
44,
53
],
[
53,
54
],
[
53,
55
],
[
44,
56
],
[
56,
57
],
[
57,
58
],
[
44,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
61,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
83,
85
],
[
9,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int nl[] = new int[n];\n\n for (int i = 0; i < n; i++) {\n nl[i] = sc.nextInt();\n }\n\n for (int j = nl.length-1; j >= 0; j--) {\n if (!(j == 0)) {\n System.out.print(nl[j] + \" \");\n } else {\n System.out.println(nl[j]);\n }\n }\n }\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int nl[] = new int[n];\n\n for (int i = 0; i < n; i++) {\n nl[i] = sc.nextInt();\n }\n\n for (int j = nl.length-1; j >= 0; j--) {\n if (!(j == 0)) {\n System.out.print(nl[j] + \" \");\n } else {\n System.out.println(nl[j]);\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int nl[] = new int[n];\n\n for (int i = 0; i < n; i++) {\n nl[i] = sc.nextInt();\n }\n\n for (int j = nl.length-1; j >= 0; j--) {\n if (!(j == 0)) {\n System.out.print(nl[j] + \" \");\n } else {\n System.out.println(nl[j]);\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int nl[] = new int[n];\n\n for (int i = 0; i < n; i++) {\n nl[i] = sc.nextInt();\n }\n\n for (int j = nl.length-1; j >= 0; j--) {\n if (!(j == 0)) {\n System.out.print(nl[j] + \" \");\n } else {\n System.out.println(nl[j]);\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int nl[] = new int[n];",
"nl",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n nl[i] = sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n nl[i] = sc.nextInt();\n }",
"{\n nl[i] = sc.nextInt();\n }",
"nl[i] = sc.nextInt()",
"nl[i]",
"nl",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int j = nl.length-1; j >= 0; j--) {\n if (!(j == 0)) {\n System.out.print(nl[j] + \" \");\n } else {\n System.out.println(nl[j]);\n }\n }",
"int j = nl.length-1;",
"int j = nl.length-1;",
"j",
"nl.length-1",
"nl.length",
"nl",
"nl.length",
"1",
"j >= 0",
"j",
"0",
"j--",
"j--",
"j",
"{\n if (!(j == 0)) {\n System.out.print(nl[j] + \" \");\n } else {\n System.out.println(nl[j]);\n }\n }",
"{\n if (!(j == 0)) {\n System.out.print(nl[j] + \" \");\n } else {\n System.out.println(nl[j]);\n }\n }",
"if (!(j == 0)) {\n System.out.print(nl[j] + \" \");\n } else {\n System.out.println(nl[j]);\n }",
"!(j == 0)",
"(j == 0)",
"j",
"0",
"{\n System.out.print(nl[j] + \" \");\n }",
"System.out.print(nl[j] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"nl[j] + \" \"",
"nl[j]",
"nl",
"j",
"\" \"",
"{\n System.out.println(nl[j]);\n }",
"System.out.println(nl[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"nl[j]",
"nl",
"j",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int nl[] = new int[n];\n\n for (int i = 0; i < n; i++) {\n nl[i] = sc.nextInt();\n }\n\n for (int j = nl.length-1; j >= 0; j--) {\n if (!(j == 0)) {\n System.out.print(nl[j] + \" \");\n } else {\n System.out.println(nl[j]);\n }\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int nl[] = new int[n];\n\n for (int i = 0; i < n; i++) {\n nl[i] = sc.nextInt();\n }\n\n for (int j = nl.length-1; j >= 0; j--) {\n if (!(j == 0)) {\n System.out.print(nl[j] + \" \");\n } else {\n System.out.println(nl[j]);\n }\n }\n }\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int nl[] = new int[n];
for (int i = 0; i < n; i++) {
nl[i] = sc.nextInt();
}
for (int j = nl.length-1; j >= 0; j--) {
if (!(j == 0)) {
System.out.print(nl[j] + " ");
} else {
System.out.println(nl[j]);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
0,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
18,
13,
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
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
12,
21
],
[
21,
22
],
[
21,
23
],
[
12,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
12,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
45,
52
],
[
52,
53
],
[
52,
54
],
[
45,
55
],
[
55,
56
],
[
56,
57
],
[
45,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
65,
71
],
[
71,
72
],
[
71,
73
],
[
60,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
75,
81
],
[
81,
82
],
[
81,
83
],
[
4,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
84,
90
],
[
90,
91
]
] | [
"import java.util.Scanner;\nclass Main{\n int n,x;\n public void solve(){\n Scanner sc = new Scanner(System.in);\n n = sc.nextInt();\n int a[] = new int [n];\n for(x = 0; x < n; x++){\n a[x] = sc.nextInt();\n }\n for(x = n-1;x >= 0; x--){\n if(x != 0){\n System.out.printf(\"%d \",a[x]);\n }else{\n System.out.printf(\"%d\\n\",a[x]);\n }\n }\n }\n public static void main(String[] args){\n new Main().solve();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n int n,x;\n public void solve(){\n Scanner sc = new Scanner(System.in);\n n = sc.nextInt();\n int a[] = new int [n];\n for(x = 0; x < n; x++){\n a[x] = sc.nextInt();\n }\n for(x = n-1;x >= 0; x--){\n if(x != 0){\n System.out.printf(\"%d \",a[x]);\n }else{\n System.out.printf(\"%d\\n\",a[x]);\n }\n }\n }\n public static void main(String[] args){\n new Main().solve();\n }\n}",
"Main",
"int n",
"n",
"x;",
"x",
"public void solve(){\n Scanner sc = new Scanner(System.in);\n n = sc.nextInt();\n int a[] = new int [n];\n for(x = 0; x < n; x++){\n a[x] = sc.nextInt();\n }\n for(x = n-1;x >= 0; x--){\n if(x != 0){\n System.out.printf(\"%d \",a[x]);\n }else{\n System.out.printf(\"%d\\n\",a[x]);\n }\n }\n }",
"solve",
"{\n Scanner sc = new Scanner(System.in);\n n = sc.nextInt();\n int a[] = new int [n];\n for(x = 0; x < n; x++){\n a[x] = sc.nextInt();\n }\n for(x = n-1;x >= 0; x--){\n if(x != 0){\n System.out.printf(\"%d \",a[x]);\n }else{\n System.out.printf(\"%d\\n\",a[x]);\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"n = sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int a[] = new int [n];",
"a",
"new int [n]",
"n",
"for(x = 0; x < n; x++){\n a[x] = sc.nextInt();\n }",
"x = 0;",
"x = 0",
"x",
"0",
"x < n",
"x",
"n",
"x++",
"x++",
"x",
"{\n a[x] = sc.nextInt();\n }",
"{\n a[x] = sc.nextInt();\n }",
"a[x] = sc.nextInt()",
"a[x]",
"a",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(x = n-1;x >= 0; x--){\n if(x != 0){\n System.out.printf(\"%d \",a[x]);\n }else{\n System.out.printf(\"%d\\n\",a[x]);\n }\n }",
"x = n-1;",
"x = n-1",
"x",
"n-1",
"n",
"1",
"x >= 0",
"x",
"0",
"x--",
"x--",
"x",
"{\n if(x != 0){\n System.out.printf(\"%d \",a[x]);\n }else{\n System.out.printf(\"%d\\n\",a[x]);\n }\n }",
"{\n if(x != 0){\n System.out.printf(\"%d \",a[x]);\n }else{\n System.out.printf(\"%d\\n\",a[x]);\n }\n }",
"if(x != 0){\n System.out.printf(\"%d \",a[x]);\n }else{\n System.out.printf(\"%d\\n\",a[x]);\n }",
"x != 0",
"x",
"0",
"{\n System.out.printf(\"%d \",a[x]);\n }",
"System.out.printf(\"%d \",a[x])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d \"",
"a[x]",
"a",
"x",
"{\n System.out.printf(\"%d\\n\",a[x]);\n }",
"System.out.printf(\"%d\\n\",a[x])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\\n\"",
"a[x]",
"a",
"x",
"public static void main(String[] args){\n new Main().solve();\n }",
"main",
"{\n new Main().solve();\n }",
"new Main().solve()",
"new Main().solve",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
int n,x;
public void solve(){
Scanner sc = new Scanner(System.in);
n = sc.nextInt();
int a[] = new int [n];
for(x = 0; x < n; x++){
a[x] = sc.nextInt();
}
for(x = n-1;x >= 0; x--){
if(x != 0){
System.out.printf("%d ",a[x]);
}else{
System.out.printf("%d\n",a[x]);
}
}
}
public static void main(String[] args){
new Main().solve();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
0,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
13,
12,
13,
30,
4,
18,
20,
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
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
43,
50
],
[
50,
51
],
[
50,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
43,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
58,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
79,
80
],
[
79,
81
],
[
4,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
82,
88
],
[
88,
89
]
] | [
"import java.util.*;\nclass Main{\npublic void yatary() {\n\tScanner sc = new Scanner(System.in);\n\tint i;\n\tint x = sc.nextInt();\n\tint [] num = new int [x];\n\tfor(i=0; i<x; i++){\n\t\tnum[i] = sc.nextInt();\n\t}\n\tfor(i=x-1; i>=0; i--){\n\t\tif(i != 0){\n\t\tSystem.out.print(num[i] + \" \");\n\t\t}else{\n\t\t\tSystem.out.println(num[i]);\n\t\t}\n\t}\n}\npublic static void main(String[]args){\n\tnew Main().yatary();\n}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\npublic void yatary() {\n\tScanner sc = new Scanner(System.in);\n\tint i;\n\tint x = sc.nextInt();\n\tint [] num = new int [x];\n\tfor(i=0; i<x; i++){\n\t\tnum[i] = sc.nextInt();\n\t}\n\tfor(i=x-1; i>=0; i--){\n\t\tif(i != 0){\n\t\tSystem.out.print(num[i] + \" \");\n\t\t}else{\n\t\t\tSystem.out.println(num[i]);\n\t\t}\n\t}\n}\npublic static void main(String[]args){\n\tnew Main().yatary();\n}\n}",
"Main",
"public void yatary() {\n\tScanner sc = new Scanner(System.in);\n\tint i;\n\tint x = sc.nextInt();\n\tint [] num = new int [x];\n\tfor(i=0; i<x; i++){\n\t\tnum[i] = sc.nextInt();\n\t}\n\tfor(i=x-1; i>=0; i--){\n\t\tif(i != 0){\n\t\tSystem.out.print(num[i] + \" \");\n\t\t}else{\n\t\t\tSystem.out.println(num[i]);\n\t\t}\n\t}\n}",
"yatary",
"{\n\tScanner sc = new Scanner(System.in);\n\tint i;\n\tint x = sc.nextInt();\n\tint [] num = new int [x];\n\tfor(i=0; i<x; i++){\n\t\tnum[i] = sc.nextInt();\n\t}\n\tfor(i=x-1; i>=0; i--){\n\t\tif(i != 0){\n\t\tSystem.out.print(num[i] + \" \");\n\t\t}else{\n\t\t\tSystem.out.println(num[i]);\n\t\t}\n\t}\n}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i;",
"i",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int [] num = new int [x];",
"num",
"new int [x]",
"x",
"for(i=0; i<x; i++){\n\t\tnum[i] = sc.nextInt();\n\t}",
"i=0;",
"i=0",
"i",
"0",
"i<x",
"i",
"x",
"i++",
"i++",
"i",
"{\n\t\tnum[i] = sc.nextInt();\n\t}",
"{\n\t\tnum[i] = sc.nextInt();\n\t}",
"num[i] = sc.nextInt()",
"num[i]",
"num",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(i=x-1; i>=0; i--){\n\t\tif(i != 0){\n\t\tSystem.out.print(num[i] + \" \");\n\t\t}else{\n\t\t\tSystem.out.println(num[i]);\n\t\t}\n\t}",
"i=x-1;",
"i=x-1",
"i",
"x-1",
"x",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\tif(i != 0){\n\t\tSystem.out.print(num[i] + \" \");\n\t\t}else{\n\t\t\tSystem.out.println(num[i]);\n\t\t}\n\t}",
"{\n\t\tif(i != 0){\n\t\tSystem.out.print(num[i] + \" \");\n\t\t}else{\n\t\t\tSystem.out.println(num[i]);\n\t\t}\n\t}",
"if(i != 0){\n\t\tSystem.out.print(num[i] + \" \");\n\t\t}else{\n\t\t\tSystem.out.println(num[i]);\n\t\t}",
"i != 0",
"i",
"0",
"{\n\t\tSystem.out.print(num[i] + \" \");\n\t\t}",
"System.out.print(num[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"num[i] + \" \"",
"num[i]",
"num",
"i",
"\" \"",
"{\n\t\t\tSystem.out.println(num[i]);\n\t\t}",
"System.out.println(num[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"num[i]",
"num",
"i",
"public static void main(String[]args){\n\tnew Main().yatary();\n}",
"main",
"{\n\tnew Main().yatary();\n}",
"new Main().yatary()",
"new Main().yatary",
"new Main()",
"String[]args",
"args"
] | import java.util.*;
class Main{
public void yatary() {
Scanner sc = new Scanner(System.in);
int i;
int x = sc.nextInt();
int [] num = new int [x];
for(i=0; i<x; i++){
num[i] = sc.nextInt();
}
for(i=x-1; i>=0; i--){
if(i != 0){
System.out.print(num[i] + " ");
}else{
System.out.println(num[i]);
}
}
}
public static void main(String[]args){
new Main().yatary();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
2,
2,
13,
17,
13,
14,
2,
13,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
91,
5
],
[
91,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
44,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
56,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
69,
75
],
[
75,
76
],
[
56,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
6,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\n\t\t\t\tint n = sc.nextInt();\n\n\t\t\t\tint array[] = new int[n];\n\n\t\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\t\tint a = sc.nextInt();\n\t\t\t\t\tarray[i] = a;\n\t\t\t\t}\n\n\t\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\t\tSystem.out.print(array[(n - 1) - i]);\n\t\t\t\t\tif(i == n - 1) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\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\n\n\t\t\t\tint n = sc.nextInt();\n\n\t\t\t\tint array[] = new int[n];\n\n\t\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\t\tint a = sc.nextInt();\n\t\t\t\t\tarray[i] = a;\n\t\t\t\t}\n\n\t\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\t\tSystem.out.print(array[(n - 1) - i]);\n\t\t\t\t\tif(i == n - 1) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\n\t\t\t\tint n = sc.nextInt();\n\n\t\t\t\tint array[] = new int[n];\n\n\t\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\t\tint a = sc.nextInt();\n\t\t\t\t\tarray[i] = a;\n\t\t\t\t}\n\n\t\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\t\tSystem.out.print(array[(n - 1) - i]);\n\t\t\t\t\tif(i == n - 1) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\n\t\t\t\tint n = sc.nextInt();\n\n\t\t\t\tint array[] = new int[n];\n\n\t\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\t\tint a = sc.nextInt();\n\t\t\t\t\tarray[i] = a;\n\t\t\t\t}\n\n\t\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\t\tSystem.out.print(array[(n - 1) - i]);\n\t\t\t\t\tif(i == n - 1) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int array[] = new int[n];",
"array",
"new int[n]",
"n",
"for(int i = 0; i < n; i++) {\n\t\t\t\t\tint a = sc.nextInt();\n\t\t\t\t\tarray[i] = a;\n\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tint a = sc.nextInt();\n\t\t\t\t\tarray[i] = a;\n\t\t\t\t}",
"{\n\t\t\t\t\tint a = sc.nextInt();\n\t\t\t\t\tarray[i] = a;\n\t\t\t\t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"array[i] = a",
"array[i]",
"array",
"i",
"a",
"for(int i = 0; i < n; i++) {\n\t\t\t\t\tSystem.out.print(array[(n - 1) - i]);\n\t\t\t\t\tif(i == n - 1) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tSystem.out.print(array[(n - 1) - i]);\n\t\t\t\t\tif(i == n - 1) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print(array[(n - 1) - i]);\n\t\t\t\t\tif(i == n - 1) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}",
"System.out.print(array[(n - 1) - i])",
"System.out.print",
"System.out",
"System",
"System.out",
"array[(n - 1) - i]",
"array",
"(n - 1) - i",
"(n - 1)",
"n",
"1",
"i",
"if(i == n - 1) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"i == n - 1",
"i",
"n - 1",
"n",
"1",
"{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"break;",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\n\t\t\t\tint n = sc.nextInt();\n\n\t\t\t\tint array[] = new int[n];\n\n\t\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\t\tint a = sc.nextInt();\n\t\t\t\t\tarray[i] = a;\n\t\t\t\t}\n\n\t\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\t\tSystem.out.print(array[(n - 1) - i]);\n\t\t\t\t\tif(i == n - 1) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\n\t\t\t\tint n = sc.nextInt();\n\n\t\t\t\tint array[] = new int[n];\n\n\t\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\t\tint a = sc.nextInt();\n\t\t\t\t\tarray[i] = a;\n\t\t\t\t}\n\n\t\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\t\tSystem.out.print(array[(n - 1) - i]);\n\t\t\t\t\tif(i == n - 1) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int array[] = new int[n];
for(int i = 0; i < n; i++) {
int a = sc.nextInt();
array[i] = a;
}
for(int i = 0; i < n; i++) {
System.out.print(array[(n - 1) - i]);
if(i == n - 1) {
break;
}
System.out.print(" ");
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
2,
13,
13,
17,
0,
18,
13,
2,
2,
13,
13,
17,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
3,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
124,
5
],
[
124,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
68,
68
],
[
68,
69
],
[
68,
70
],
[
68,
71
],
[
55,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
76,
76
],
[
76,
77
],
[
76,
78
],
[
76,
79
],
[
72,
80
],
[
8,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
86,
88
],
[
81,
89
],
[
89,
90
],
[
90,
91
],
[
81,
92
],
[
93,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
99,
100
],
[
99,
101
],
[
93,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
105,
107
],
[
102,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
108,
114
],
[
93,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
6,
121
],
[
121,
122
],
[
0,
123
],
[
123,
124
],
[
123,
125
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] array = new int[n];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tarray[i] = scan.nextInt();\n\t\t}\n\t\t\n\t\tfor(int j = 0; j < n / 2; j++){\n\t\t\tint a = array[j];\n\t\t\tarray[j] = array[n - j - 1];\n\t\t\tarray[n - j - 1] = a;\n\t\t}\n\t\t\n\t\tfor(int k = 0; k < n; k++){\n\t\t\tSystem.out.print(array[k]);\n\t\t\tif(k == n - 1){\n\t\t\t\tSystem.out.println();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] array = new int[n];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tarray[i] = scan.nextInt();\n\t\t}\n\t\t\n\t\tfor(int j = 0; j < n / 2; j++){\n\t\t\tint a = array[j];\n\t\t\tarray[j] = array[n - j - 1];\n\t\t\tarray[n - j - 1] = a;\n\t\t}\n\t\t\n\t\tfor(int k = 0; k < n; k++){\n\t\t\tSystem.out.print(array[k]);\n\t\t\tif(k == n - 1){\n\t\t\t\tSystem.out.println();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] array = new int[n];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tarray[i] = scan.nextInt();\n\t\t}\n\t\t\n\t\tfor(int j = 0; j < n / 2; j++){\n\t\t\tint a = array[j];\n\t\t\tarray[j] = array[n - j - 1];\n\t\t\tarray[n - j - 1] = a;\n\t\t}\n\t\t\n\t\tfor(int k = 0; k < n; k++){\n\t\t\tSystem.out.print(array[k]);\n\t\t\tif(k == n - 1){\n\t\t\t\tSystem.out.println();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t}",
"main",
"{\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] array = new int[n];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tarray[i] = scan.nextInt();\n\t\t}\n\t\t\n\t\tfor(int j = 0; j < n / 2; j++){\n\t\t\tint a = array[j];\n\t\t\tarray[j] = array[n - j - 1];\n\t\t\tarray[n - j - 1] = a;\n\t\t}\n\t\t\n\t\tfor(int k = 0; k < n; k++){\n\t\t\tSystem.out.print(array[k]);\n\t\t\tif(k == n - 1){\n\t\t\t\tSystem.out.println();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] array = new int[n];",
"array",
"new int[n]",
"n",
"for(int i = 0; i < n; i++){\n\t\t\tarray[i] = scan.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tarray[i] = scan.nextInt();\n\t\t}",
"{\n\t\t\tarray[i] = scan.nextInt();\n\t\t}",
"array[i] = scan.nextInt()",
"array[i]",
"array",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(int j = 0; j < n / 2; j++){\n\t\t\tint a = array[j];\n\t\t\tarray[j] = array[n - j - 1];\n\t\t\tarray[n - j - 1] = a;\n\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < n / 2",
"j",
"n / 2",
"n",
"2",
"j++",
"j++",
"j",
"{\n\t\t\tint a = array[j];\n\t\t\tarray[j] = array[n - j - 1];\n\t\t\tarray[n - j - 1] = a;\n\t\t}",
"{\n\t\t\tint a = array[j];\n\t\t\tarray[j] = array[n - j - 1];\n\t\t\tarray[n - j - 1] = a;\n\t\t}",
"int a = array[j];",
"a",
"array[j]",
"array",
"j",
"array[j] = array[n - j - 1]",
"array[j]",
"array",
"j",
"array[n - j - 1]",
"array",
"n - j - 1",
"n - j - 1",
"n",
"j",
"1",
"array[n - j - 1] = a",
"array[n - j - 1]",
"array",
"n - j - 1",
"n - j - 1",
"n",
"j",
"1",
"a",
"for(int k = 0; k < n; k++){\n\t\t\tSystem.out.print(array[k]);\n\t\t\tif(k == n - 1){\n\t\t\t\tSystem.out.println();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"int k = 0;",
"int k = 0;",
"k",
"0",
"k < n",
"k",
"n",
"k++",
"k++",
"k",
"{\n\t\t\tSystem.out.print(array[k]);\n\t\t\tif(k == n - 1){\n\t\t\t\tSystem.out.println();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"{\n\t\t\tSystem.out.print(array[k]);\n\t\t\tif(k == n - 1){\n\t\t\t\tSystem.out.println();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"System.out.print(array[k])",
"System.out.print",
"System.out",
"System",
"System.out",
"array[k]",
"array",
"k",
"if(k == n - 1){\n\t\t\t\tSystem.out.println();\n\t\t\t\tbreak;\n\t\t\t}",
"k == n - 1",
"k",
"n - 1",
"n",
"1",
"{\n\t\t\t\tSystem.out.println();\n\t\t\t\tbreak;\n\t\t\t}",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"break;",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] array = new int[n];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tarray[i] = scan.nextInt();\n\t\t}\n\t\t\n\t\tfor(int j = 0; j < n / 2; j++){\n\t\t\tint a = array[j];\n\t\t\tarray[j] = array[n - j - 1];\n\t\t\tarray[n - j - 1] = a;\n\t\t}\n\t\t\n\t\tfor(int k = 0; k < n; k++){\n\t\t\tSystem.out.print(array[k]);\n\t\t\tif(k == n - 1){\n\t\t\t\tSystem.out.println();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] array = new int[n];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tarray[i] = scan.nextInt();\n\t\t}\n\t\t\n\t\tfor(int j = 0; j < n / 2; j++){\n\t\t\tint a = array[j];\n\t\t\tarray[j] = array[n - j - 1];\n\t\t\tarray[n - j - 1] = a;\n\t\t}\n\t\t\n\t\tfor(int k = 0; k < n; k++){\n\t\t\tSystem.out.print(array[k]);\n\t\t\tif(k == n - 1){\n\t\t\t\tSystem.out.println();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\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);
int n = scan.nextInt();
int[] array = new int[n];
for(int i = 0; i < n; i++){
array[i] = scan.nextInt();
}
for(int j = 0; j < n / 2; j++){
int a = array[j];
array[j] = array[n - j - 1];
array[n - j - 1] = a;
}
for(int k = 0; k < n; k++){
System.out.print(array[k]);
if(k == n - 1){
System.out.println();
break;
}
System.out.print(" ");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
81,
5
],
[
81,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
21,
31
],
[
31,
32
],
[
32,
33
],
[
21,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
43,
52
],
[
52,
53
],
[
52,
54
],
[
43,
55
],
[
55,
56
],
[
56,
57
],
[
43,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
8,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
6,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\n\n\t\tint number = scanner.nextInt();\n\n\t\tint[] array = new int[number];\n\n\n\t\tfor(int i=0; i<array.length; i++){\n\t\t\tarray[i] = scanner.nextInt();\n\t\t}\n\n\t\n\n\t\tfor (int i = array.length - 1; i >= 1; i--) {\n\t\t\tSystem.out.print(array[i] + \" \");\n\n\t\t}\n\t\tSystem.out.println(array[0]);\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\n\n\t\tint number = scanner.nextInt();\n\n\t\tint[] array = new int[number];\n\n\n\t\tfor(int i=0; i<array.length; i++){\n\t\t\tarray[i] = scanner.nextInt();\n\t\t}\n\n\t\n\n\t\tfor (int i = array.length - 1; i >= 1; i--) {\n\t\t\tSystem.out.print(array[i] + \" \");\n\n\t\t}\n\t\tSystem.out.println(array[0]);\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\n\n\t\tint number = scanner.nextInt();\n\n\t\tint[] array = new int[number];\n\n\n\t\tfor(int i=0; i<array.length; i++){\n\t\t\tarray[i] = scanner.nextInt();\n\t\t}\n\n\t\n\n\t\tfor (int i = array.length - 1; i >= 1; i--) {\n\t\t\tSystem.out.print(array[i] + \" \");\n\n\t\t}\n\t\tSystem.out.println(array[0]);\n\n\t}",
"main",
"{\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\n\n\t\tint number = scanner.nextInt();\n\n\t\tint[] array = new int[number];\n\n\n\t\tfor(int i=0; i<array.length; i++){\n\t\t\tarray[i] = scanner.nextInt();\n\t\t}\n\n\t\n\n\t\tfor (int i = array.length - 1; i >= 1; i--) {\n\t\t\tSystem.out.print(array[i] + \" \");\n\n\t\t}\n\t\tSystem.out.println(array[0]);\n\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int number = scanner.nextInt();",
"number",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int[] array = new int[number];",
"array",
"new int[number]",
"number",
"for(int i=0; i<array.length; i++){\n\t\t\tarray[i] = scanner.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\t\tarray[i] = scanner.nextInt();\n\t\t}",
"{\n\t\t\tarray[i] = scanner.nextInt();\n\t\t}",
"array[i] = scanner.nextInt()",
"array[i]",
"array",
"i",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"for (int i = array.length - 1; i >= 1; i--) {\n\t\t\tSystem.out.print(array[i] + \" \");\n\n\t\t}",
"int i = array.length - 1;",
"int i = array.length - 1;",
"i",
"array.length - 1",
"array.length",
"array",
"array.length",
"1",
"i >= 1",
"i",
"1",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(array[i] + \" \");\n\n\t\t}",
"{\n\t\t\tSystem.out.print(array[i] + \" \");\n\n\t\t}",
"System.out.print(array[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"array[i] + \" \"",
"array[i]",
"array",
"i",
"\" \"",
"System.out.println(array[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"array[0]",
"array",
"0",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\n\n\t\tint number = scanner.nextInt();\n\n\t\tint[] array = new int[number];\n\n\n\t\tfor(int i=0; i<array.length; i++){\n\t\t\tarray[i] = scanner.nextInt();\n\t\t}\n\n\t\n\n\t\tfor (int i = array.length - 1; i >= 1; i--) {\n\t\t\tSystem.out.print(array[i] + \" \");\n\n\t\t}\n\t\tSystem.out.println(array[0]);\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\n\n\t\tint number = scanner.nextInt();\n\n\t\tint[] array = new int[number];\n\n\n\t\tfor(int i=0; i<array.length; i++){\n\t\t\tarray[i] = scanner.nextInt();\n\t\t}\n\n\t\n\n\t\tfor (int i = array.length - 1; i >= 1; i--) {\n\t\t\tSystem.out.print(array[i] + \" \");\n\n\t\t}\n\t\tSystem.out.println(array[0]);\n\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int number = scanner.nextInt();
int[] array = new int[number];
for(int i=0; i<array.length; i++){
array[i] = scanner.nextInt();
}
for (int i = array.length - 1; i >= 1; i--) {
System.out.print(array[i] + " ");
}
System.out.println(array[0]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
13,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
17,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
90,
5
],
[
90,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
36,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
57,
64
],
[
64,
65
],
[
64,
66
],
[
57,
67
],
[
67,
68
],
[
68,
69
],
[
57,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
6,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n = scan.nextInt();\n\t\tint[] ar = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint x = scan.nextInt();\n\t\t\tar[i] = x;\n\t\t}\n\t\tSystem.out.print(ar[n-1]);\n\t\tfor (int i = n - 2; i >= 0; i--) {\n\t\t\tSystem.out.print(\" \" + ar[i]);\n\t\t}\n\t\tSystem.out.println();\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\tStringBuilder sb = new StringBuilder();\n\t\tint n = scan.nextInt();\n\t\tint[] ar = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint x = scan.nextInt();\n\t\t\tar[i] = x;\n\t\t}\n\t\tSystem.out.print(ar[n-1]);\n\t\tfor (int i = n - 2; i >= 0; i--) {\n\t\t\tSystem.out.print(\" \" + ar[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n = scan.nextInt();\n\t\tint[] ar = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint x = scan.nextInt();\n\t\t\tar[i] = x;\n\t\t}\n\t\tSystem.out.print(ar[n-1]);\n\t\tfor (int i = n - 2; i >= 0; i--) {\n\t\t\tSystem.out.print(\" \" + ar[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n = scan.nextInt();\n\t\tint[] ar = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint x = scan.nextInt();\n\t\t\tar[i] = x;\n\t\t}\n\t\tSystem.out.print(ar[n-1]);\n\t\tfor (int i = n - 2; i >= 0; i--) {\n\t\t\tSystem.out.print(\" \" + ar[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] ar = new int[n];",
"ar",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n\t\t\tint x = scan.nextInt();\n\t\t\tar[i] = x;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tint x = scan.nextInt();\n\t\t\tar[i] = x;\n\t\t}",
"{\n\t\t\tint x = scan.nextInt();\n\t\t\tar[i] = x;\n\t\t}",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"ar[i] = x",
"ar[i]",
"ar",
"i",
"x",
"System.out.print(ar[n-1])",
"System.out.print",
"System.out",
"System",
"System.out",
"ar[n-1]",
"ar",
"n-1",
"n",
"1",
"for (int i = n - 2; i >= 0; i--) {\n\t\t\tSystem.out.print(\" \" + ar[i]);\n\t\t}",
"int i = n - 2;",
"int i = n - 2;",
"i",
"n - 2",
"n",
"2",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(\" \" + ar[i]);\n\t\t}",
"{\n\t\t\tSystem.out.print(\" \" + ar[i]);\n\t\t}",
"System.out.print(\" \" + ar[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \" + ar[i]",
"\" \"",
"ar[i]",
"ar",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n = scan.nextInt();\n\t\tint[] ar = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint x = scan.nextInt();\n\t\t\tar[i] = x;\n\t\t}\n\t\tSystem.out.print(ar[n-1]);\n\t\tfor (int i = n - 2; i >= 0; i--) {\n\t\t\tSystem.out.print(\" \" + ar[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n = scan.nextInt();\n\t\tint[] ar = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint x = scan.nextInt();\n\t\t\tar[i] = x;\n\t\t}\n\t\tSystem.out.print(ar[n-1]);\n\t\tfor (int i = n - 2; i >= 0; i--) {\n\t\t\tSystem.out.print(\" \" + ar[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
int n = scan.nextInt();
int[] ar = new int[n];
for (int i = 0; i < n; i++) {
int x = scan.nextInt();
ar[i] = x;
}
System.out.print(ar[n-1]);
for (int i = n - 2; i >= 0; i--) {
System.out.print(" " + ar[i]);
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
13,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
125,
5
],
[
125,
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
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
22,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
25,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
61,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
60,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
72,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
83,
90
],
[
90,
91
],
[
90,
92
],
[
83,
93
],
[
93,
94
],
[
94,
95
],
[
83,
96
],
[
97,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
108,
109
],
[
108,
110
],
[
98,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
6,
122
],
[
122,
123
],
[
0,
124
],
[
124,
125
],
[
124,
126
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\n\t\tif (n <= 0 || n > 100) {\n\t\t\tSystem.out.print(\"数値の有効範囲は0 <= n <= 100です\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t\tint[] a = new int[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t\tif (a[i] < 0 || a[i] >= 1000) {\n\t\t\t\tSystem.out.print(\"数値の有効範囲は0 <= a[i] < 1000です\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\t\t\t}\n\t\t}\n\t}\n\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\n\t\tif (n <= 0 || n > 100) {\n\t\t\tSystem.out.print(\"数値の有効範囲は0 <= n <= 100です\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t\tint[] a = new int[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t\tif (a[i] < 0 || a[i] >= 1000) {\n\t\t\t\tSystem.out.print(\"数値の有効範囲は0 <= a[i] < 1000です\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\n\t\tif (n <= 0 || n > 100) {\n\t\t\tSystem.out.print(\"数値の有効範囲は0 <= n <= 100です\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t\tint[] a = new int[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t\tif (a[i] < 0 || a[i] >= 1000) {\n\t\t\t\tSystem.out.print(\"数値の有効範囲は0 <= a[i] < 1000です\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\n\t\tif (n <= 0 || n > 100) {\n\t\t\tSystem.out.print(\"数値の有効範囲は0 <= n <= 100です\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t\tint[] a = new int[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t\tif (a[i] < 0 || a[i] >= 1000) {\n\t\t\t\tSystem.out.print(\"数値の有効範囲は0 <= a[i] < 1000です\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (n <= 0 || n > 100) {\n\t\t\tSystem.out.print(\"数値の有効範囲は0 <= n <= 100です\");\n\t\t\tSystem.exit(0);\n\t\t}",
"n <= 0 || n > 100",
"n <= 0",
"n",
"0",
"n > 100",
"n",
"100",
"{\n\t\t\tSystem.out.print(\"数値の有効範囲は0 <= n <= 100です\");\n\t\t\tSystem.exit(0);\n\t\t}",
"System.out.print(\"数値の有効範囲は0 <= n <= 100です\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"数値の有効範囲は0 <= n <= 100です\"",
"System.exit(0)",
"System.exit",
"System",
"0",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t\tif (a[i] < 0 || a[i] >= 1000) {\n\t\t\t\tSystem.out.print(\"数値の有効範囲は0 <= a[i] < 1000です\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = sc.nextInt();\n\t\t\tif (a[i] < 0 || a[i] >= 1000) {\n\t\t\t\tSystem.out.print(\"数値の有効範囲は0 <= a[i] < 1000です\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}",
"{\n\t\t\ta[i] = sc.nextInt();\n\t\t\tif (a[i] < 0 || a[i] >= 1000) {\n\t\t\t\tSystem.out.print(\"数値の有効範囲は0 <= a[i] < 1000です\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}",
"a[i] = sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (a[i] < 0 || a[i] >= 1000) {\n\t\t\t\tSystem.out.print(\"数値の有効範囲は0 <= a[i] < 1000です\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}",
"a[i] < 0 || a[i] >= 1000",
"a[i] < 0",
"a[i]",
"a",
"i",
"0",
"a[i] >= 1000",
"a[i]",
"a",
"i",
"1000",
"{\n\t\t\t\tSystem.out.print(\"数値の有効範囲は0 <= a[i] < 1000です\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}",
"System.out.print(\"数値の有効範囲は0 <= a[i] < 1000です\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"数値の有効範囲は0 <= a[i] < 1000です\"",
"System.exit(0)",
"System.exit",
"System",
"0",
"for (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\t\t\t}\n\t\t}",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\t\t\t}\n\t\t}",
"if (i == 0) {\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\t\t\t}",
"i == 0",
"i",
"0",
"{\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t}",
"System.out.println(a[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"{\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\t\t\t}",
"System.out.print(a[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i] + \" \"",
"a[i]",
"a",
"i",
"\" \"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\n\t\tif (n <= 0 || n > 100) {\n\t\t\tSystem.out.print(\"数値の有効範囲は0 <= n <= 100です\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t\tint[] a = new int[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t\tif (a[i] < 0 || a[i] >= 1000) {\n\t\t\t\tSystem.out.print(\"数値の有効範囲は0 <= a[i] < 1000です\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\t\t\t}\n\t\t}\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\n\t\tif (n <= 0 || n > 100) {\n\t\t\tSystem.out.print(\"数値の有効範囲は0 <= n <= 100です\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t\tint[] a = new int[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t\tif (a[i] < 0 || a[i] >= 1000) {\n\t\t\t\tSystem.out.print(\"数値の有効範囲は0 <= a[i] < 1000です\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(a[i] + \" \");\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
if (n <= 0 || n > 100) {
System.out.print("数値の有効範囲は0 <= n <= 100です");
System.exit(0);
}
int[] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = sc.nextInt();
if (a[i] < 0 || a[i] >= 1000) {
System.out.print("数値の有効範囲は0 <= a[i] < 1000です");
System.exit(0);
}
}
for (int i = n - 1; i >= 0; i--) {
if (i == 0) {
System.out.println(a[i]);
} else {
System.out.print(a[i] + " ");
}
}
}
}
|
[
7,
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,
4,
18,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
42,
17,
30,
4,
18,
13,
18,
13,
2,
13,
17,
40,
13,
14,
2,
13,
17,
3,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
93,
5
],
[
93,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
25,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
8,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
8,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
64,
73
],
[
73,
74
],
[
64,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
64,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
6,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] | [
"import java.io.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer();\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] str = br.readLine().split(\"\\\\s+\");\n\t\tint[] a = new int[n];\n\t\t\n\t\tfor (int i = 0; i < n; i++) a[i] = Integer.parseInt(str[i]);\n\t\t\n\t\tint i = a.length;\n\t\tdo {\n\t\t\tsb.append(a[i - 1]);\n\t\t\ti--;\n\t\t\tif ( i == 0) break;\n\t\t\tsb.append(\" \");\n\t\t} while (true);\n\t\t\n\t\tSystem.out.println(sb);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer();\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] str = br.readLine().split(\"\\\\s+\");\n\t\tint[] a = new int[n];\n\t\t\n\t\tfor (int i = 0; i < n; i++) a[i] = Integer.parseInt(str[i]);\n\t\t\n\t\tint i = a.length;\n\t\tdo {\n\t\t\tsb.append(a[i - 1]);\n\t\t\ti--;\n\t\t\tif ( i == 0) break;\n\t\t\tsb.append(\" \");\n\t\t} while (true);\n\t\t\n\t\tSystem.out.println(sb);\n\t}\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer();\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] str = br.readLine().split(\"\\\\s+\");\n\t\tint[] a = new int[n];\n\t\t\n\t\tfor (int i = 0; i < n; i++) a[i] = Integer.parseInt(str[i]);\n\t\t\n\t\tint i = a.length;\n\t\tdo {\n\t\t\tsb.append(a[i - 1]);\n\t\t\ti--;\n\t\t\tif ( i == 0) break;\n\t\t\tsb.append(\" \");\n\t\t} while (true);\n\t\t\n\t\tSystem.out.println(sb);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer();\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] str = br.readLine().split(\"\\\\s+\");\n\t\tint[] a = new int[n];\n\t\t\n\t\tfor (int i = 0; i < n; i++) a[i] = Integer.parseInt(str[i]);\n\t\t\n\t\tint i = a.length;\n\t\tdo {\n\t\t\tsb.append(a[i - 1]);\n\t\t\ti--;\n\t\t\tif ( i == 0) break;\n\t\t\tsb.append(\" \");\n\t\t} while (true);\n\t\t\n\t\tSystem.out.println(sb);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuffer sb = new StringBuffer();",
"sb",
"new StringBuffer()",
"int n = Integer.parseInt(br.readLine());",
"n",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"String[] str = br.readLine().split(\"\\\\s+\");",
"str",
"br.readLine().split(\"\\\\s+\")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\"\\\\s+\"",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) a[i] = Integer.parseInt(str[i]);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = Integer.parseInt(str[i]);",
"a[i] = Integer.parseInt(str[i])",
"a[i]",
"a",
"i",
"Integer.parseInt(str[i])",
"Integer.parseInt",
"Integer",
"str[i]",
"str",
"i",
"int i = a.length;",
"i",
"a.length",
"a",
"a.length",
"do {\n\t\t\tsb.append(a[i - 1]);\n\t\t\ti--;\n\t\t\tif ( i == 0) break;\n\t\t\tsb.append(\" \");\n\t\t} while (true);",
"true",
"{\n\t\t\tsb.append(a[i - 1]);\n\t\t\ti--;\n\t\t\tif ( i == 0) break;\n\t\t\tsb.append(\" \");\n\t\t}",
"sb.append(a[i - 1])",
"sb.append",
"sb",
"a[i - 1]",
"a",
"i - 1",
"i",
"1",
"i--",
"i",
"if ( i == 0) break;",
"i == 0",
"i",
"0",
"break;",
"sb.append(\" \")",
"sb.append",
"sb",
"\" \"",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer();\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] str = br.readLine().split(\"\\\\s+\");\n\t\tint[] a = new int[n];\n\t\t\n\t\tfor (int i = 0; i < n; i++) a[i] = Integer.parseInt(str[i]);\n\t\t\n\t\tint i = a.length;\n\t\tdo {\n\t\t\tsb.append(a[i - 1]);\n\t\t\ti--;\n\t\t\tif ( i == 0) break;\n\t\t\tsb.append(\" \");\n\t\t} while (true);\n\t\t\n\t\tSystem.out.println(sb);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer();\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] str = br.readLine().split(\"\\\\s+\");\n\t\tint[] a = new int[n];\n\t\t\n\t\tfor (int i = 0; i < n; i++) a[i] = Integer.parseInt(str[i]);\n\t\t\n\t\tint i = a.length;\n\t\tdo {\n\t\t\tsb.append(a[i - 1]);\n\t\t\ti--;\n\t\t\tif ( i == 0) break;\n\t\t\tsb.append(\" \");\n\t\t} while (true);\n\t\t\n\t\tSystem.out.println(sb);\n\t}\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuffer sb = new StringBuffer();
int n = Integer.parseInt(br.readLine());
String[] str = br.readLine().split("\\s+");
int[] a = new int[n];
for (int i = 0; i < n; i++) a[i] = Integer.parseInt(str[i]);
int i = a.length;
do {
sb.append(a[i - 1]);
i--;
if ( i == 0) break;
sb.append(" ");
} while (true);
System.out.println(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
11,
1,
41,
13,
2,
13,
17,
2,
17,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
103,
5
],
[
103,
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
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
61,
68
],
[
68,
69
],
[
68,
70
],
[
61,
71
],
[
71,
72
],
[
72,
73
],
[
61,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
75,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
8,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
6,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
] | [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n int n = Integer.parseInt(line);\n\n line = sc.nextLine();\n String[] l = line.split(\" \");\n\n int[] a = new int[n];\n for(int i = 0; i < n; i++) {\n a[i] = Integer.parseInt(l[i]);\n }\n\n for(int i = n - 1; 0 <= i; i--) {\n System.out.print(a[i]);\n if(i != 0) {\n System.out.print(\" \");\n }\n }\n\n System.out.println();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n int n = Integer.parseInt(line);\n\n line = sc.nextLine();\n String[] l = line.split(\" \");\n\n int[] a = new int[n];\n for(int i = 0; i < n; i++) {\n a[i] = Integer.parseInt(l[i]);\n }\n\n for(int i = n - 1; 0 <= i; i--) {\n System.out.print(a[i]);\n if(i != 0) {\n System.out.print(\" \");\n }\n }\n\n System.out.println();\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n int n = Integer.parseInt(line);\n\n line = sc.nextLine();\n String[] l = line.split(\" \");\n\n int[] a = new int[n];\n for(int i = 0; i < n; i++) {\n a[i] = Integer.parseInt(l[i]);\n }\n\n for(int i = n - 1; 0 <= i; i--) {\n System.out.print(a[i]);\n if(i != 0) {\n System.out.print(\" \");\n }\n }\n\n System.out.println();\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n int n = Integer.parseInt(line);\n\n line = sc.nextLine();\n String[] l = line.split(\" \");\n\n int[] a = new int[n];\n for(int i = 0; i < n; i++) {\n a[i] = Integer.parseInt(l[i]);\n }\n\n for(int i = n - 1; 0 <= i; i--) {\n System.out.print(a[i]);\n if(i != 0) {\n System.out.print(\" \");\n }\n }\n\n System.out.println();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int n = Integer.parseInt(line);",
"n",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"line = sc.nextLine()",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] l = line.split(\" \");",
"l",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for(int i = 0; i < n; i++) {\n a[i] = Integer.parseInt(l[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = Integer.parseInt(l[i]);\n }",
"{\n a[i] = Integer.parseInt(l[i]);\n }",
"a[i] = Integer.parseInt(l[i])",
"a[i]",
"a",
"i",
"Integer.parseInt(l[i])",
"Integer.parseInt",
"Integer",
"l[i]",
"l",
"i",
"for(int i = n - 1; 0 <= i; i--) {\n System.out.print(a[i]);\n if(i != 0) {\n System.out.print(\" \");\n }\n }",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"0 <= i",
"0",
"i",
"i--",
"i--",
"i",
"{\n System.out.print(a[i]);\n if(i != 0) {\n System.out.print(\" \");\n }\n }",
"{\n System.out.print(a[i]);\n if(i != 0) {\n System.out.print(\" \");\n }\n }",
"System.out.print(a[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"if(i != 0) {\n System.out.print(\" \");\n }",
"i != 0",
"i",
"0",
"{\n System.out.print(\" \");\n }",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n int n = Integer.parseInt(line);\n\n line = sc.nextLine();\n String[] l = line.split(\" \");\n\n int[] a = new int[n];\n for(int i = 0; i < n; i++) {\n a[i] = Integer.parseInt(l[i]);\n }\n\n for(int i = n - 1; 0 <= i; i--) {\n System.out.print(a[i]);\n if(i != 0) {\n System.out.print(\" \");\n }\n }\n\n System.out.println();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n int n = Integer.parseInt(line);\n\n line = sc.nextLine();\n String[] l = line.split(\" \");\n\n int[] a = new int[n];\n for(int i = 0; i < n; i++) {\n a[i] = Integer.parseInt(l[i]);\n }\n\n for(int i = n - 1; 0 <= i; i--) {\n System.out.print(a[i]);\n if(i != 0) {\n System.out.print(\" \");\n }\n }\n\n System.out.println();\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String line = sc.nextLine();
int n = Integer.parseInt(line);
line = sc.nextLine();
String[] l = line.split(" ");
int[] a = new int[n];
for(int i = 0; i < n; i++) {
a[i] = Integer.parseInt(l[i]);
}
for(int i = n - 1; 0 <= i; i--) {
System.out.print(a[i]);
if(i != 0) {
System.out.print(" ");
}
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
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
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
41,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
55,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
8,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
6,
80
],
[
80,
81
]
] | [
"import java.util.Scanner;\n\nclass Main {\n public static void main(String [] args){\n \t\n Scanner scan = new Scanner(System.in);\n \n int n = scan.nextInt();\n int [] a = new int[100];\n \n for(int i = 0; i < n; ++i){\n \t\n a[i] = scan.nextInt();\n }\n \n for(int i = n - 1; i >= 0; --i){\n \t\n System.out.print(a[i]);\n \n if(i > 0){\n System.out.print(' ');\n }\n }\n \n System.out.println();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String [] args){\n \t\n Scanner scan = new Scanner(System.in);\n \n int n = scan.nextInt();\n int [] a = new int[100];\n \n for(int i = 0; i < n; ++i){\n \t\n a[i] = scan.nextInt();\n }\n \n for(int i = n - 1; i >= 0; --i){\n \t\n System.out.print(a[i]);\n \n if(i > 0){\n System.out.print(' ');\n }\n }\n \n System.out.println();\n }\n}",
"Main",
"public static void main(String [] args){\n \t\n Scanner scan = new Scanner(System.in);\n \n int n = scan.nextInt();\n int [] a = new int[100];\n \n for(int i = 0; i < n; ++i){\n \t\n a[i] = scan.nextInt();\n }\n \n for(int i = n - 1; i >= 0; --i){\n \t\n System.out.print(a[i]);\n \n if(i > 0){\n System.out.print(' ');\n }\n }\n \n System.out.println();\n }",
"main",
"{\n \t\n Scanner scan = new Scanner(System.in);\n \n int n = scan.nextInt();\n int [] a = new int[100];\n \n for(int i = 0; i < n; ++i){\n \t\n a[i] = scan.nextInt();\n }\n \n for(int i = n - 1; i >= 0; --i){\n \t\n System.out.print(a[i]);\n \n if(i > 0){\n System.out.print(' ');\n }\n }\n \n System.out.println();\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int [] a = new int[100];",
"a",
"new int[100]",
"100",
"for(int i = 0; i < n; ++i){\n \t\n a[i] = scan.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"++i",
"++i",
"i",
"{\n \t\n a[i] = scan.nextInt();\n }",
"{\n \t\n a[i] = scan.nextInt();\n }",
"a[i] = scan.nextInt()",
"a[i]",
"a",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(int i = n - 1; i >= 0; --i){\n \t\n System.out.print(a[i]);\n \n if(i > 0){\n System.out.print(' ');\n }\n }",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"i >= 0",
"i",
"0",
"--i",
"--i",
"i",
"{\n \t\n System.out.print(a[i]);\n \n if(i > 0){\n System.out.print(' ');\n }\n }",
"{\n \t\n System.out.print(a[i]);\n \n if(i > 0){\n System.out.print(' ');\n }\n }",
"System.out.print(a[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"if(i > 0){\n System.out.print(' ');\n }",
"i > 0",
"i",
"0",
"{\n System.out.print(' ');\n }",
"System.out.print(' ')",
"System.out.print",
"System.out",
"System",
"System.out",
"' '",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String [] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String [] args){
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int [] a = new int[100];
for(int i = 0; i < n; ++i){
a[i] = scan.nextInt();
}
for(int i = n - 1; i >= 0; --i){
System.out.print(a[i]);
if(i > 0){
System.out.print(' ');
}
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
17,
13,
30,
4,
18,
13,
4,
18,
13,
13,
30,
4,
18,
13,
2,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
59,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
59,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
77,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
6,
89
],
[
89,
90
]
] | [
"import java.util.*;\n\nclass Main{\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint num = scan.nextInt();\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\tfor(int i=0; i<num; i++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tCollections.reverse(list);\n\t\t/*for(int i: list){\n\t\t\tsb.append(i + \" \");\n\t\t}*/\n\t\tfor(int i=0; i<num; i++){\n\t\t\tif((i+1)==num){\n\t\t\t\tsb.append(list.get(i));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsb.append(list.get(i) + \" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sb);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint num = scan.nextInt();\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\tfor(int i=0; i<num; i++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tCollections.reverse(list);\n\t\t/*for(int i: list){\n\t\t\tsb.append(i + \" \");\n\t\t}*/\n\t\tfor(int i=0; i<num; i++){\n\t\t\tif((i+1)==num){\n\t\t\t\tsb.append(list.get(i));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsb.append(list.get(i) + \" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sb);\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint num = scan.nextInt();\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\tfor(int i=0; i<num; i++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tCollections.reverse(list);\n\t\t/*for(int i: list){\n\t\t\tsb.append(i + \" \");\n\t\t}*/\n\t\tfor(int i=0; i<num; i++){\n\t\t\tif((i+1)==num){\n\t\t\t\tsb.append(list.get(i));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsb.append(list.get(i) + \" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sb);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint num = scan.nextInt();\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\tfor(int i=0; i<num; i++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tCollections.reverse(list);\n\t\t/*for(int i: list){\n\t\t\tsb.append(i + \" \");\n\t\t}*/\n\t\tfor(int i=0; i<num; i++){\n\t\t\tif((i+1)==num){\n\t\t\t\tsb.append(list.get(i));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsb.append(list.get(i) + \" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sb);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int num = scan.nextInt();",
"num",
"scan.nextInt()",
"scan.nextInt",
"scan",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"StringBuffer sb = new StringBuffer();",
"sb",
"new StringBuffer()",
"for(int i=0; i<num; i++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<num",
"i",
"num",
"i++",
"i++",
"i",
"{\n\t\t\tlist.add(scan.nextInt());\n\t\t}",
"{\n\t\t\tlist.add(scan.nextInt());\n\t\t}",
"list.add(scan.nextInt())",
"list.add",
"list",
"scan.nextInt()",
"scan.nextInt",
"scan",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"for(int i=0; i<num; i++){\n\t\t\tif((i+1)==num){\n\t\t\t\tsb.append(list.get(i));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsb.append(list.get(i) + \" \");\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<num",
"i",
"num",
"i++",
"i++",
"i",
"{\n\t\t\tif((i+1)==num){\n\t\t\t\tsb.append(list.get(i));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsb.append(list.get(i) + \" \");\n\t\t\t}\n\t\t}",
"{\n\t\t\tif((i+1)==num){\n\t\t\t\tsb.append(list.get(i));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsb.append(list.get(i) + \" \");\n\t\t\t}\n\t\t}",
"if((i+1)==num){\n\t\t\t\tsb.append(list.get(i));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsb.append(list.get(i) + \" \");\n\t\t\t}",
"(i+1)==num",
"(i+1)",
"i",
"1",
"num",
"{\n\t\t\t\tsb.append(list.get(i));\n\t\t\t}",
"sb.append(list.get(i))",
"sb.append",
"sb",
"list.get(i)",
"list.get",
"list",
"i",
"{\n\t\t\t\tsb.append(list.get(i) + \" \");\n\t\t\t}",
"sb.append(list.get(i) + \" \")",
"sb.append",
"sb",
"list.get(i) + \" \"",
"list.get(i)",
"list.get",
"list",
"i",
"\" \"",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String args[]",
"args"
] | import java.util.*;
class Main{
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
int num = scan.nextInt();
List<Integer> list = new ArrayList<Integer>();
StringBuffer sb = new StringBuffer();
for(int i=0; i<num; i++){
list.add(scan.nextInt());
}
Collections.reverse(list);
/*for(int i: list){
sb.append(i + " ");
}*/
for(int i=0; i<num; i++){
if((i+1)==num){
sb.append(list.get(i));
}
else{
sb.append(list.get(i) + " ");
}
}
System.out.println(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
0,
13,
20,
17,
41,
13,
20,
41,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
0,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
18,
13,
13,
4,
18,
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
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
47,
54
],
[
54,
55
],
[
54,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
47,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
67,
73
],
[
73,
74
],
[
73,
75
],
[
62,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
77,
83
],
[
83,
84
],
[
83,
85
],
[
8,
86
],
[
86,
87
],
[
87,
88
],
[
6,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String args[]) {\n int i, j;\n int[] num;\n num = new int[100];\n Scanner sc = new Scanner(System.in);\n int length = sc.nextInt();\n for(i=0;i<length;i++){\n num[i] = sc.nextInt();\n }\n for(j=length-1;j>=0;j--){\n if(j==0){\n System.out.printf(\"%d\\n\", num[j]);\n }else{\n System.out.printf(\"%d \", num[j]);\n }\n }\n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String args[]) {\n int i, j;\n int[] num;\n num = new int[100];\n Scanner sc = new Scanner(System.in);\n int length = sc.nextInt();\n for(i=0;i<length;i++){\n num[i] = sc.nextInt();\n }\n for(j=length-1;j>=0;j--){\n if(j==0){\n System.out.printf(\"%d\\n\", num[j]);\n }else{\n System.out.printf(\"%d \", num[j]);\n }\n }\n sc.close();\n }\n}",
"Main",
"public static void main(String args[]) {\n int i, j;\n int[] num;\n num = new int[100];\n Scanner sc = new Scanner(System.in);\n int length = sc.nextInt();\n for(i=0;i<length;i++){\n num[i] = sc.nextInt();\n }\n for(j=length-1;j>=0;j--){\n if(j==0){\n System.out.printf(\"%d\\n\", num[j]);\n }else{\n System.out.printf(\"%d \", num[j]);\n }\n }\n sc.close();\n }",
"main",
"{\n int i, j;\n int[] num;\n num = new int[100];\n Scanner sc = new Scanner(System.in);\n int length = sc.nextInt();\n for(i=0;i<length;i++){\n num[i] = sc.nextInt();\n }\n for(j=length-1;j>=0;j--){\n if(j==0){\n System.out.printf(\"%d\\n\", num[j]);\n }else{\n System.out.printf(\"%d \", num[j]);\n }\n }\n sc.close();\n }",
"int i",
"i",
"j;",
"j",
"int[] num;",
"num",
"num = new int[100]",
"num",
"new int[100]",
"100",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int length = sc.nextInt();",
"length",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(i=0;i<length;i++){\n num[i] = sc.nextInt();\n }",
"i=0;",
"i=0",
"i",
"0",
"i<length",
"i",
"length",
"i++",
"i++",
"i",
"{\n num[i] = sc.nextInt();\n }",
"{\n num[i] = sc.nextInt();\n }",
"num[i] = sc.nextInt()",
"num[i]",
"num",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(j=length-1;j>=0;j--){\n if(j==0){\n System.out.printf(\"%d\\n\", num[j]);\n }else{\n System.out.printf(\"%d \", num[j]);\n }\n }",
"j=length-1;",
"j=length-1",
"j",
"length-1",
"length",
"1",
"j>=0",
"j",
"0",
"j--",
"j--",
"j",
"{\n if(j==0){\n System.out.printf(\"%d\\n\", num[j]);\n }else{\n System.out.printf(\"%d \", num[j]);\n }\n }",
"{\n if(j==0){\n System.out.printf(\"%d\\n\", num[j]);\n }else{\n System.out.printf(\"%d \", num[j]);\n }\n }",
"if(j==0){\n System.out.printf(\"%d\\n\", num[j]);\n }else{\n System.out.printf(\"%d \", num[j]);\n }",
"j==0",
"j",
"0",
"{\n System.out.printf(\"%d\\n\", num[j]);\n }",
"System.out.printf(\"%d\\n\", num[j])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\\n\"",
"num[j]",
"num",
"j",
"{\n System.out.printf(\"%d \", num[j]);\n }",
"System.out.printf(\"%d \", num[j])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d \"",
"num[j]",
"num",
"j",
"sc.close()",
"sc.close",
"sc",
"String args[]",
"args",
"public class Main{\n public static void main(String args[]) {\n int i, j;\n int[] num;\n num = new int[100];\n Scanner sc = new Scanner(System.in);\n int length = sc.nextInt();\n for(i=0;i<length;i++){\n num[i] = sc.nextInt();\n }\n for(j=length-1;j>=0;j--){\n if(j==0){\n System.out.printf(\"%d\\n\", num[j]);\n }else{\n System.out.printf(\"%d \", num[j]);\n }\n }\n sc.close();\n }\n}",
"public class Main{\n public static void main(String args[]) {\n int i, j;\n int[] num;\n num = new int[100];\n Scanner sc = new Scanner(System.in);\n int length = sc.nextInt();\n for(i=0;i<length;i++){\n num[i] = sc.nextInt();\n }\n for(j=length-1;j>=0;j--){\n if(j==0){\n System.out.printf(\"%d\\n\", num[j]);\n }else{\n System.out.printf(\"%d \", num[j]);\n }\n }\n sc.close();\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String args[]) {
int i, j;
int[] num;
num = new int[100];
Scanner sc = new Scanner(System.in);
int length = sc.nextInt();
for(i=0;i<length;i++){
num[i] = sc.nextInt();
}
for(j=length-1;j>=0;j--){
if(j==0){
System.out.printf("%d\n", num[j]);
}else{
System.out.printf("%d ", num[j]);
}
}
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
88,
8
],
[
88,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
11,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
44,
51
],
[
51,
52
],
[
51,
53
],
[
44,
54
],
[
54,
55
],
[
55,
56
],
[
44,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
59,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
58,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
11,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
9,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\t\n\t\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfinal int n = sc.nextInt();\n\t\tint[] arr = new int[n];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tarr[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = n - 1; i >= 0; i--){\n\t\t\tif(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tSystem.out.print(arr[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\t\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfinal int n = sc.nextInt();\n\t\tint[] arr = new int[n];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tarr[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = n - 1; i >= 0; i--){\n\t\t\tif(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tSystem.out.print(arr[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"Main",
"public static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfinal int n = sc.nextInt();\n\t\tint[] arr = new int[n];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tarr[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = n - 1; i >= 0; i--){\n\t\t\tif(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tSystem.out.print(arr[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfinal int n = sc.nextInt();\n\t\tint[] arr = new int[n];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tarr[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = n - 1; i >= 0; i--){\n\t\t\tif(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tSystem.out.print(arr[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[] arr = new int[n];",
"arr",
"new int[n]",
"n",
"for(int i = 0; i < n; i++){\n\t\t\tarr[i] = sc.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tarr[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tarr[i] = sc.nextInt();\n\t\t}",
"arr[i] = sc.nextInt()",
"arr[i]",
"arr",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i = n - 1; i >= 0; i--){\n\t\t\tif(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tSystem.out.print(arr[i]);\n\t\t}",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tif(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tSystem.out.print(arr[i]);\n\t\t}",
"{\n\t\t\tif(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tSystem.out.print(arr[i]);\n\t\t}",
"if(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"i != n - 1",
"i",
"n - 1",
"n",
"1",
"{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.print(arr[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"arr[i]",
"arr",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String args[]",
"args",
"public class Main {\n\t\n\t\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfinal int n = sc.nextInt();\n\t\tint[] arr = new int[n];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tarr[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = n - 1; i >= 0; i--){\n\t\t\tif(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tSystem.out.print(arr[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"public class Main {\n\t\n\t\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfinal int n = sc.nextInt();\n\t\tint[] arr = new int[n];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tarr[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = n - 1; i >= 0; i--){\n\t\t\tif(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tSystem.out.print(arr[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
final int n = sc.nextInt();
int[] arr = new int[n];
for(int i = 0; i < n; i++){
arr[i] = sc.nextInt();
}
for(int i = n - 1; i >= 0; i--){
if(i != n - 1){
System.out.print(" ");
}
System.out.print(arr[i]);
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
0,
13,
4,
18,
13,
4,
18,
13,
41,
13,
0,
13,
4,
18,
4,
18,
13,
17,
11,
1,
0,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
17,
18,
13,
13,
30,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
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
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
30,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
36,
43
],
[
43,
44
],
[
43,
45
],
[
36,
46
],
[
46,
47
],
[
47,
48
],
[
36,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
51,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
8,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
6,
83
],
[
83,
84
]
] | [
"import java.io.*;\n\nclass Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int length,date,i;\n length = Integer.parseInt(br.readLine());\n String[] strAry;\n strAry = br.readLine().split(\" \");\n \n for(i=length-1;i>=0;i--){\n if(i<length-1){\n System.out.print(\" \"+ strAry[i]);\n }else{\n System.out.print(strAry[i]);\n }\n }\n System.out.println(\"\");\n \n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int length,date,i;\n length = Integer.parseInt(br.readLine());\n String[] strAry;\n strAry = br.readLine().split(\" \");\n \n for(i=length-1;i>=0;i--){\n if(i<length-1){\n System.out.print(\" \"+ strAry[i]);\n }else{\n System.out.print(strAry[i]);\n }\n }\n System.out.println(\"\");\n \n }\n}",
"Main",
"public static void main(String[] args)throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int length,date,i;\n length = Integer.parseInt(br.readLine());\n String[] strAry;\n strAry = br.readLine().split(\" \");\n \n for(i=length-1;i>=0;i--){\n if(i<length-1){\n System.out.print(\" \"+ strAry[i]);\n }else{\n System.out.print(strAry[i]);\n }\n }\n System.out.println(\"\");\n \n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int length,date,i;\n length = Integer.parseInt(br.readLine());\n String[] strAry;\n strAry = br.readLine().split(\" \");\n \n for(i=length-1;i>=0;i--){\n if(i<length-1){\n System.out.print(\" \"+ strAry[i]);\n }else{\n System.out.print(strAry[i]);\n }\n }\n System.out.println(\"\");\n \n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int length",
"length",
"date",
"date",
"i;",
"i",
"length = Integer.parseInt(br.readLine())",
"length",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"String[] strAry;",
"strAry",
"strAry = br.readLine().split(\" \")",
"strAry",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for(i=length-1;i>=0;i--){\n if(i<length-1){\n System.out.print(\" \"+ strAry[i]);\n }else{\n System.out.print(strAry[i]);\n }\n }",
"i=length-1;",
"i=length-1",
"i",
"length-1",
"length",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n if(i<length-1){\n System.out.print(\" \"+ strAry[i]);\n }else{\n System.out.print(strAry[i]);\n }\n }",
"{\n if(i<length-1){\n System.out.print(\" \"+ strAry[i]);\n }else{\n System.out.print(strAry[i]);\n }\n }",
"if(i<length-1){\n System.out.print(\" \"+ strAry[i]);\n }else{\n System.out.print(strAry[i]);\n }",
"i<length-1",
"i",
"length-1",
"length",
"1",
"{\n System.out.print(\" \"+ strAry[i]);\n }",
"System.out.print(\" \"+ strAry[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"+ strAry[i]",
"\" \"",
"strAry[i]",
"strAry",
"i",
"{\n System.out.print(strAry[i]);\n }",
"System.out.print(strAry[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"strAry[i]",
"strAry",
"i",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args)throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int length,date,i;
length = Integer.parseInt(br.readLine());
String[] strAry;
strAry = br.readLine().split(" ");
for(i=length-1;i>=0;i--){
if(i<length-1){
System.out.print(" "+ strAry[i]);
}else{
System.out.print(strAry[i]);
}
}
System.out.println("");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
18,
13,
13,
14,
2,
13,
17,
4,
18,
13,
17,
4,
18,
13,
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
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
13,
18
],
[
18,
19
],
[
18,
20
],
[
13,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
23,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
32,
37
],
[
23,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
38,
47
],
[
47,
48
],
[
47,
49
],
[
38,
50
],
[
50,
51
],
[
51,
52
],
[
38,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
54,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
23,
69
],
[
69,
70
],
[
70,
71
],
[
23,
72
],
[
72,
73
],
[
73,
74
],
[
21,
75
],
[
75,
76
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\n\nclass Main{\n private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n private static final PrintWriter out = new PrintWriter(System.out);\n public static void main(String[] Args) throws IOException{\n Integer.parseInt(br.readLine());\n final String[] a = br.readLine().split(\" \");\n for(int i = a.length-1; i>=0; i--){\n out.print(a[i]);\n if(i!=0) out.print(' ');\n }\n out.println();\n out.flush();\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"class Main{\n private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n private static final PrintWriter out = new PrintWriter(System.out);\n public static void main(String[] Args) throws IOException{\n Integer.parseInt(br.readLine());\n final String[] a = br.readLine().split(\" \");\n for(int i = a.length-1; i>=0; i--){\n out.print(a[i]);\n if(i!=0) out.print(' ');\n }\n out.println();\n out.flush();\n }\n}",
"Main",
"private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"private static final PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"public static void main(String[] Args) throws IOException{\n Integer.parseInt(br.readLine());\n final String[] a = br.readLine().split(\" \");\n for(int i = a.length-1; i>=0; i--){\n out.print(a[i]);\n if(i!=0) out.print(' ');\n }\n out.println();\n out.flush();\n }",
"main",
"{\n Integer.parseInt(br.readLine());\n final String[] a = br.readLine().split(\" \");\n for(int i = a.length-1; i>=0; i--){\n out.print(a[i]);\n if(i!=0) out.print(' ');\n }\n out.println();\n out.flush();\n }",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"final String[] a = br.readLine().split(\" \");",
"a",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for(int i = a.length-1; i>=0; i--){\n out.print(a[i]);\n if(i!=0) out.print(' ');\n }",
"int i = a.length-1;",
"int i = a.length-1;",
"i",
"a.length-1",
"a.length",
"a",
"a.length",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n out.print(a[i]);\n if(i!=0) out.print(' ');\n }",
"{\n out.print(a[i]);\n if(i!=0) out.print(' ');\n }",
"out.print(a[i])",
"out.print",
"out",
"a[i]",
"a",
"i",
"if(i!=0) out.print(' ');",
"i!=0",
"i",
"0",
"out.print(' ')",
"out.print",
"out",
"' '",
"out.println()",
"out.println",
"out",
"out.flush()",
"out.flush",
"out",
"String[] Args",
"Args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
class Main{
private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
private static final PrintWriter out = new PrintWriter(System.out);
public static void main(String[] Args) throws IOException{
Integer.parseInt(br.readLine());
final String[] a = br.readLine().split(" ");
for(int i = a.length-1; i>=0; i--){
out.print(a[i]);
if(i!=0) out.print(' ');
}
out.println();
out.flush();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
13,
41,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
2,
13,
17,
13,
0,
18,
13,
2,
2,
13,
17,
13,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
8,
44
],
[
44,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
46,
56
],
[
56,
57
],
[
57,
58
],
[
46,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
60,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
73,
73
],
[
73,
74
],
[
73,
75
],
[
73,
76
],
[
60,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
81,
81
],
[
81,
82
],
[
81,
83
],
[
81,
84
],
[
77,
85
],
[
8,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
86,
96
],
[
96,
97
],
[
97,
98
],
[
86,
99
],
[
100,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
8,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
118,
120
],
[
8,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
121,
126
],
[
6,
127
],
[
127,
128
]
] | [
"import java.util.Scanner;\n \nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int b[] = new int [n];\n \n for (int i=0;i<n;i++){\n int m = sc.nextInt();\n b[i] = m;\n }\n \n int w;\n for (int h=0;h<(n/2);h++){\n w=b[h];\n b[h]=b[n-1-h];\n b[n-1-h]=w;\n }\n \n for (int j=0;j<n-1;j++){\n System.out.print(b[j] + \" \");\n }\n System.out.print(b[n-1]);\n System.out.println(\"\");\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 n = sc.nextInt();\n int b[] = new int [n];\n \n for (int i=0;i<n;i++){\n int m = sc.nextInt();\n b[i] = m;\n }\n \n int w;\n for (int h=0;h<(n/2);h++){\n w=b[h];\n b[h]=b[n-1-h];\n b[n-1-h]=w;\n }\n \n for (int j=0;j<n-1;j++){\n System.out.print(b[j] + \" \");\n }\n System.out.print(b[n-1]);\n System.out.println(\"\");\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int b[] = new int [n];\n \n for (int i=0;i<n;i++){\n int m = sc.nextInt();\n b[i] = m;\n }\n \n int w;\n for (int h=0;h<(n/2);h++){\n w=b[h];\n b[h]=b[n-1-h];\n b[n-1-h]=w;\n }\n \n for (int j=0;j<n-1;j++){\n System.out.print(b[j] + \" \");\n }\n System.out.print(b[n-1]);\n System.out.println(\"\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int b[] = new int [n];\n \n for (int i=0;i<n;i++){\n int m = sc.nextInt();\n b[i] = m;\n }\n \n int w;\n for (int h=0;h<(n/2);h++){\n w=b[h];\n b[h]=b[n-1-h];\n b[n-1-h]=w;\n }\n \n for (int j=0;j<n-1;j++){\n System.out.print(b[j] + \" \");\n }\n System.out.print(b[n-1]);\n System.out.println(\"\");\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b[] = new int [n];",
"b",
"new int [n]",
"n",
"for (int i=0;i<n;i++){\n int m = sc.nextInt();\n b[i] = m;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n int m = sc.nextInt();\n b[i] = m;\n }",
"{\n int m = sc.nextInt();\n b[i] = m;\n }",
"int m = sc.nextInt();",
"m",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b[i] = m",
"b[i]",
"b",
"i",
"m",
"int w;",
"w",
"for (int h=0;h<(n/2);h++){\n w=b[h];\n b[h]=b[n-1-h];\n b[n-1-h]=w;\n }",
"int h=0;",
"int h=0;",
"h",
"0",
"h<(n/2)",
"h",
"(n/2)",
"n",
"2",
"h++",
"h++",
"h",
"{\n w=b[h];\n b[h]=b[n-1-h];\n b[n-1-h]=w;\n }",
"{\n w=b[h];\n b[h]=b[n-1-h];\n b[n-1-h]=w;\n }",
"w=b[h]",
"w",
"b[h]",
"b",
"h",
"b[h]=b[n-1-h]",
"b[h]",
"b",
"h",
"b[n-1-h]",
"b",
"n-1-h",
"n-1-h",
"n",
"1",
"h",
"b[n-1-h]=w",
"b[n-1-h]",
"b",
"n-1-h",
"n-1-h",
"n",
"1",
"h",
"w",
"for (int j=0;j<n-1;j++){\n System.out.print(b[j] + \" \");\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<n-1",
"j",
"n-1",
"n",
"1",
"j++",
"j++",
"j",
"{\n System.out.print(b[j] + \" \");\n }",
"{\n System.out.print(b[j] + \" \");\n }",
"System.out.print(b[j] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"b[j] + \" \"",
"b[j]",
"b",
"j",
"\" \"",
"System.out.print(b[n-1])",
"System.out.print",
"System.out",
"System",
"System.out",
"b[n-1]",
"b",
"n-1",
"n",
"1",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int b[] = new int [n];
for (int i=0;i<n;i++){
int m = sc.nextInt();
b[i] = m;
}
int w;
for (int h=0;h<(n/2);h++){
w=b[h];
b[h]=b[n-1-h];
b[n-1-h]=w;
}
for (int j=0;j<n-1;j++){
System.out.print(b[j] + " ");
}
System.out.print(b[n-1]);
System.out.println("");
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
2,
4,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
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
],
[
79,
11
],
[
79,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
14,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
38,
43
],
[
34,
44
],
[
44,
45
],
[
44,
46
],
[
34,
47
],
[
47,
48
],
[
48,
49
],
[
34,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
52,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
12,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"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 n = br.readLine();\n\t\tString str = br.readLine();\n\t\tString[] s = str.split(\" \");\n\n\t\tfor(int m = Integer.parseInt(n)-1; m >= 0; m--){\n\t\t\tif(m != 0){\n\t\t\t\tSystem.out.print(s[m] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(s[m]);\n\t\t\t}\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",
"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 n = br.readLine();\n\t\tString str = br.readLine();\n\t\tString[] s = str.split(\" \");\n\n\t\tfor(int m = Integer.parseInt(n)-1; m >= 0; m--){\n\t\t\tif(m != 0){\n\t\t\t\tSystem.out.print(s[m] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(s[m]);\n\t\t\t}\n\t\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\tString n = br.readLine();\n\t\tString str = br.readLine();\n\t\tString[] s = str.split(\" \");\n\n\t\tfor(int m = Integer.parseInt(n)-1; m >= 0; m--){\n\t\t\tif(m != 0){\n\t\t\t\tSystem.out.print(s[m] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(s[m]);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString n = br.readLine();\n\t\tString str = br.readLine();\n\t\tString[] s = str.split(\" \");\n\n\t\tfor(int m = Integer.parseInt(n)-1; m >= 0; m--){\n\t\t\tif(m != 0){\n\t\t\t\tSystem.out.print(s[m] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(s[m]);\n\t\t\t}\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String n = br.readLine();",
"n",
"br.readLine()",
"br.readLine",
"br",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] s = str.split(\" \");",
"s",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"for(int m = Integer.parseInt(n)-1; m >= 0; m--){\n\t\t\tif(m != 0){\n\t\t\t\tSystem.out.print(s[m] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(s[m]);\n\t\t\t}\n\t\t}",
"int m = Integer.parseInt(n)-1;",
"int m = Integer.parseInt(n)-1;",
"m",
"Integer.parseInt(n)-1",
"Integer.parseInt(n)",
"Integer.parseInt",
"Integer",
"n",
"1",
"m >= 0",
"m",
"0",
"m--",
"m--",
"m",
"{\n\t\t\tif(m != 0){\n\t\t\t\tSystem.out.print(s[m] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(s[m]);\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(m != 0){\n\t\t\t\tSystem.out.print(s[m] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(s[m]);\n\t\t\t}\n\t\t}",
"if(m != 0){\n\t\t\t\tSystem.out.print(s[m] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(s[m]);\n\t\t\t}",
"m != 0",
"m",
"0",
"{\n\t\t\t\tSystem.out.print(s[m] + \" \");\n\t\t\t}",
"System.out.print(s[m] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"s[m] + \" \"",
"s[m]",
"s",
"m",
"\" \"",
"{\n\t\t\t\tSystem.out.println(s[m]);\n\t\t\t}",
"System.out.println(s[m])",
"System.out.println",
"System.out",
"System",
"System.out",
"s[m]",
"s",
"m",
"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 n = br.readLine();\n\t\tString str = br.readLine();\n\t\tString[] s = str.split(\" \");\n\n\t\tfor(int m = Integer.parseInt(n)-1; m >= 0; m--){\n\t\t\tif(m != 0){\n\t\t\t\tSystem.out.print(s[m] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(s[m]);\n\t\t\t}\n\t\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\tString n = br.readLine();\n\t\tString str = br.readLine();\n\t\tString[] s = str.split(\" \");\n\n\t\tfor(int m = Integer.parseInt(n)-1; m >= 0; m--){\n\t\t\tif(m != 0){\n\t\t\t\tSystem.out.print(s[m] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(s[m]);\n\t\t\t}\n\t\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));
String n = br.readLine();
String str = br.readLine();
String[] s = str.split(" ");
for(int m = Integer.parseInt(n)-1; m >= 0; m--){
if(m != 0){
System.out.print(s[m] + " ");
}else{
System.out.println(s[m]);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
2,
13,
13,
17,
0,
18,
13,
2,
2,
13,
13,
17,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
29,
4,
13,
13,
13,
12,
13,
30,
41,
13,
4,
13,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
2,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
147,
5
],
[
147,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
9,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
16,
18
],
[
9,
19
],
[
19,
20
],
[
20,
21
],
[
9,
22
],
[
23,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
36,
36
],
[
36,
37
],
[
36,
38
],
[
36,
39
],
[
23,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
44,
44
],
[
44,
45
],
[
44,
46
],
[
44,
47
],
[
40,
48
],
[
8,
49
],
[
49,
50
],
[
6,
51
],
[
51,
52
],
[
6,
53
],
[
53,
54
],
[
147,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
57,
66
],
[
66,
67
],
[
66,
68
],
[
57,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
79,
80
],
[
70,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
88,
89
],
[
57,
90
],
[
90,
91
],
[
91,
92
],
[
57,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
94,
97
],
[
147,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
100,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
112,
116
],
[
105,
117
],
[
117,
118
],
[
118,
119
],
[
105,
120
],
[
121,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
122,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
127,
131
],
[
100,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
132,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
98,
144
],
[
144,
145
],
[
0,
146
],
[
146,
147
],
[
146,
148
]
] | [
"import java.util.*;\n\npublic class Main{\n\t\n\tstatic int[] Revers(int[] Numbers , int n){\n\t\t\n\t\tfor(int i = 0; i < n/2 ; i++){\n\t\t\tint t = Numbers[i];\n\t\t\tNumbers[i] = Numbers[n - i -1];\n\t\t\tNumbers[n - i - 1]= t;\n\t\t}\n\t\treturn Numbers;\n\t}\n\t\n\tstatic int[] Input(){\n\t\tScanner scanner = new Scanner(System.in);\t\t\n\t\tint n \t\t\t= scanner.nextInt();\n\t\tint[] Numbers\t= new int[n];\n\t\tfor(int i = 0; i < n ; i++){\n\t\t\tNumbers[i] = scanner.nextInt();\n\t\t}\n\t\tscanner.close();\n\t\treturn Revers(Numbers, n);\n\t\t\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tint[] RN = Input();\n\t\tfor(int i = 0 ; i < (RN.length-1) ; i++){\n\t\t\tSystem.out.print(RN[i] + \" \");\t\t\t\n\t\t}\n\t\tSystem.out.println(RN[RN.length-1]);\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\t\n\tstatic int[] Revers(int[] Numbers , int n){\n\t\t\n\t\tfor(int i = 0; i < n/2 ; i++){\n\t\t\tint t = Numbers[i];\n\t\t\tNumbers[i] = Numbers[n - i -1];\n\t\t\tNumbers[n - i - 1]= t;\n\t\t}\n\t\treturn Numbers;\n\t}\n\t\n\tstatic int[] Input(){\n\t\tScanner scanner = new Scanner(System.in);\t\t\n\t\tint n \t\t\t= scanner.nextInt();\n\t\tint[] Numbers\t= new int[n];\n\t\tfor(int i = 0; i < n ; i++){\n\t\t\tNumbers[i] = scanner.nextInt();\n\t\t}\n\t\tscanner.close();\n\t\treturn Revers(Numbers, n);\n\t\t\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tint[] RN = Input();\n\t\tfor(int i = 0 ; i < (RN.length-1) ; i++){\n\t\t\tSystem.out.print(RN[i] + \" \");\t\t\t\n\t\t}\n\t\tSystem.out.println(RN[RN.length-1]);\n\t}\n\n}",
"Main",
"static int[] Revers(int[] Numbers , int n){\n\t\t\n\t\tfor(int i = 0; i < n/2 ; i++){\n\t\t\tint t = Numbers[i];\n\t\t\tNumbers[i] = Numbers[n - i -1];\n\t\t\tNumbers[n - i - 1]= t;\n\t\t}\n\t\treturn Numbers;\n\t}",
"Revers",
"{\n\t\t\n\t\tfor(int i = 0; i < n/2 ; i++){\n\t\t\tint t = Numbers[i];\n\t\t\tNumbers[i] = Numbers[n - i -1];\n\t\t\tNumbers[n - i - 1]= t;\n\t\t}\n\t\treturn Numbers;\n\t}",
"for(int i = 0; i < n/2 ; i++){\n\t\t\tint t = Numbers[i];\n\t\t\tNumbers[i] = Numbers[n - i -1];\n\t\t\tNumbers[n - i - 1]= t;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n/2",
"i",
"n/2",
"n",
"2",
"i++",
"i++",
"i",
"{\n\t\t\tint t = Numbers[i];\n\t\t\tNumbers[i] = Numbers[n - i -1];\n\t\t\tNumbers[n - i - 1]= t;\n\t\t}",
"{\n\t\t\tint t = Numbers[i];\n\t\t\tNumbers[i] = Numbers[n - i -1];\n\t\t\tNumbers[n - i - 1]= t;\n\t\t}",
"int t = Numbers[i];",
"t",
"Numbers[i]",
"Numbers",
"i",
"Numbers[i] = Numbers[n - i -1]",
"Numbers[i]",
"Numbers",
"i",
"Numbers[n - i -1]",
"Numbers",
"n - i -1",
"n - i -1",
"n",
"i",
"1",
"Numbers[n - i - 1]= t",
"Numbers[n - i - 1]",
"Numbers",
"n - i - 1",
"n - i - 1",
"n",
"i",
"1",
"t",
"return Numbers;",
"Numbers",
"int[] Numbers",
"Numbers",
"int n",
"n",
"static int[] Input(){\n\t\tScanner scanner = new Scanner(System.in);\t\t\n\t\tint n \t\t\t= scanner.nextInt();\n\t\tint[] Numbers\t= new int[n];\n\t\tfor(int i = 0; i < n ; i++){\n\t\t\tNumbers[i] = scanner.nextInt();\n\t\t}\n\t\tscanner.close();\n\t\treturn Revers(Numbers, n);\n\t\t\n\t}",
"Input",
"{\n\t\tScanner scanner = new Scanner(System.in);\t\t\n\t\tint n \t\t\t= scanner.nextInt();\n\t\tint[] Numbers\t= new int[n];\n\t\tfor(int i = 0; i < n ; i++){\n\t\t\tNumbers[i] = scanner.nextInt();\n\t\t}\n\t\tscanner.close();\n\t\treturn Revers(Numbers, n);\n\t\t\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int n \t\t\t= scanner.nextInt();",
"n",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int[] Numbers\t= new int[n];",
"Numbers",
"new int[n]",
"n",
"for(int i = 0; i < n ; i++){\n\t\t\tNumbers[i] = scanner.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tNumbers[i] = scanner.nextInt();\n\t\t}",
"{\n\t\t\tNumbers[i] = scanner.nextInt();\n\t\t}",
"Numbers[i] = scanner.nextInt()",
"Numbers[i]",
"Numbers",
"i",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"scanner.close()",
"scanner.close",
"scanner",
"return Revers(Numbers, n);",
"Revers(Numbers, n)",
"Revers",
"Numbers",
"n",
"public static void main(String[] args) {\n\t\tint[] RN = Input();\n\t\tfor(int i = 0 ; i < (RN.length-1) ; i++){\n\t\t\tSystem.out.print(RN[i] + \" \");\t\t\t\n\t\t}\n\t\tSystem.out.println(RN[RN.length-1]);\n\t}",
"main",
"{\n\t\tint[] RN = Input();\n\t\tfor(int i = 0 ; i < (RN.length-1) ; i++){\n\t\t\tSystem.out.print(RN[i] + \" \");\t\t\t\n\t\t}\n\t\tSystem.out.println(RN[RN.length-1]);\n\t}",
"int[] RN = Input();",
"RN",
"Input()",
"Input",
"for(int i = 0 ; i < (RN.length-1) ; i++){\n\t\t\tSystem.out.print(RN[i] + \" \");\t\t\t\n\t\t}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < (RN.length-1)",
"i",
"(RN.length-1)",
"RN.length",
"RN",
"RN.length",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.print(RN[i] + \" \");\t\t\t\n\t\t}",
"{\n\t\t\tSystem.out.print(RN[i] + \" \");\t\t\t\n\t\t}",
"System.out.print(RN[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"RN[i] + \" \"",
"RN[i]",
"RN",
"i",
"\" \"",
"System.out.println(RN[RN.length-1])",
"System.out.println",
"System.out",
"System",
"System.out",
"RN[RN.length-1]",
"RN",
"RN.length-1",
"RN.length",
"RN",
"RN.length",
"1",
"String[] args",
"args",
"public class Main{\n\t\n\tstatic int[] Revers(int[] Numbers , int n){\n\t\t\n\t\tfor(int i = 0; i < n/2 ; i++){\n\t\t\tint t = Numbers[i];\n\t\t\tNumbers[i] = Numbers[n - i -1];\n\t\t\tNumbers[n - i - 1]= t;\n\t\t}\n\t\treturn Numbers;\n\t}\n\t\n\tstatic int[] Input(){\n\t\tScanner scanner = new Scanner(System.in);\t\t\n\t\tint n \t\t\t= scanner.nextInt();\n\t\tint[] Numbers\t= new int[n];\n\t\tfor(int i = 0; i < n ; i++){\n\t\t\tNumbers[i] = scanner.nextInt();\n\t\t}\n\t\tscanner.close();\n\t\treturn Revers(Numbers, n);\n\t\t\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tint[] RN = Input();\n\t\tfor(int i = 0 ; i < (RN.length-1) ; i++){\n\t\t\tSystem.out.print(RN[i] + \" \");\t\t\t\n\t\t}\n\t\tSystem.out.println(RN[RN.length-1]);\n\t}\n\n}",
"public class Main{\n\t\n\tstatic int[] Revers(int[] Numbers , int n){\n\t\t\n\t\tfor(int i = 0; i < n/2 ; i++){\n\t\t\tint t = Numbers[i];\n\t\t\tNumbers[i] = Numbers[n - i -1];\n\t\t\tNumbers[n - i - 1]= t;\n\t\t}\n\t\treturn Numbers;\n\t}\n\t\n\tstatic int[] Input(){\n\t\tScanner scanner = new Scanner(System.in);\t\t\n\t\tint n \t\t\t= scanner.nextInt();\n\t\tint[] Numbers\t= new int[n];\n\t\tfor(int i = 0; i < n ; i++){\n\t\t\tNumbers[i] = scanner.nextInt();\n\t\t}\n\t\tscanner.close();\n\t\treturn Revers(Numbers, n);\n\t\t\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tint[] RN = Input();\n\t\tfor(int i = 0 ; i < (RN.length-1) ; i++){\n\t\t\tSystem.out.print(RN[i] + \" \");\t\t\t\n\t\t}\n\t\tSystem.out.println(RN[RN.length-1]);\n\t}\n\n}",
"Main"
] | import java.util.*;
public class Main{
static int[] Revers(int[] Numbers , int n){
for(int i = 0; i < n/2 ; i++){
int t = Numbers[i];
Numbers[i] = Numbers[n - i -1];
Numbers[n - i - 1]= t;
}
return Numbers;
}
static int[] Input(){
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int[] Numbers = new int[n];
for(int i = 0; i < n ; i++){
Numbers[i] = scanner.nextInt();
}
scanner.close();
return Revers(Numbers, n);
}
public static void main(String[] args) {
int[] RN = Input();
for(int i = 0 ; i < (RN.length-1) ; i++){
System.out.print(RN[i] + " ");
}
System.out.println(RN[RN.length-1]);
}
} |
[
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,
14,
2,
13,
17,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
13,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
2,
4,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
117,
14
],
[
117,
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
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
46,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
30,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
30,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
69,
79
],
[
79,
80
],
[
80,
81
],
[
69,
82
],
[
83,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
87,
91
],
[
84,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
84,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
108,
113
],
[
15,
114
],
[
114,
115
],
[
0,
116
],
[
116,
117
],
[
116,
118
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tif (n <= 100) {\n\t\t\tList<Integer> list = new ArrayList<>();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint ai = scan.nextInt();\n\t\t\t\tif (ai >= 0 && ai < 1000) {\n\t\t\t\t\tlist.add(ai);\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollections.reverse(list);\n\t\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\t\tif (i == (list.size() - 1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tif (n <= 100) {\n\t\t\tList<Integer> list = new ArrayList<>();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint ai = scan.nextInt();\n\t\t\t\tif (ai >= 0 && ai < 1000) {\n\t\t\t\t\tlist.add(ai);\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollections.reverse(list);\n\t\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\t\tif (i == (list.size() - 1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tif (n <= 100) {\n\t\t\tList<Integer> list = new ArrayList<>();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint ai = scan.nextInt();\n\t\t\t\tif (ai >= 0 && ai < 1000) {\n\t\t\t\t\tlist.add(ai);\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollections.reverse(list);\n\t\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\t\tif (i == (list.size() - 1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tif (n <= 100) {\n\t\t\tList<Integer> list = new ArrayList<>();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint ai = scan.nextInt();\n\t\t\t\tif (ai >= 0 && ai < 1000) {\n\t\t\t\t\tlist.add(ai);\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollections.reverse(list);\n\t\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\t\tif (i == (list.size() - 1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (n <= 100) {\n\t\t\tList<Integer> list = new ArrayList<>();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint ai = scan.nextInt();\n\t\t\t\tif (ai >= 0 && ai < 1000) {\n\t\t\t\t\tlist.add(ai);\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollections.reverse(list);\n\t\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\t\tif (i == (list.size() - 1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"n <= 100",
"n",
"100",
"{\n\t\t\tList<Integer> list = new ArrayList<>();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint ai = scan.nextInt();\n\t\t\t\tif (ai >= 0 && ai < 1000) {\n\t\t\t\t\tlist.add(ai);\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollections.reverse(list);\n\t\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\t\tif (i == (list.size() - 1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"List<Integer> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"for (int i = 0; i < n; i++) {\n\t\t\t\tint ai = scan.nextInt();\n\t\t\t\tif (ai >= 0 && ai < 1000) {\n\t\t\t\t\tlist.add(ai);\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\tint ai = scan.nextInt();\n\t\t\t\tif (ai >= 0 && ai < 1000) {\n\t\t\t\t\tlist.add(ai);\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tint ai = scan.nextInt();\n\t\t\t\tif (ai >= 0 && ai < 1000) {\n\t\t\t\t\tlist.add(ai);\n\t\t\t\t}\n\t\t\t}",
"int ai = scan.nextInt();",
"ai",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (ai >= 0 && ai < 1000) {\n\t\t\t\t\tlist.add(ai);\n\t\t\t\t}",
"ai >= 0 && ai < 1000",
"ai >= 0",
"ai",
"0",
"ai < 1000",
"ai",
"1000",
"{\n\t\t\t\t\tlist.add(ai);\n\t\t\t\t}",
"list.add(ai)",
"list.add",
"list",
"ai",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"for (int i = 0; i < list.size(); i++) {\n\t\t\t\tif (i == (list.size() - 1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n\t\t\t\tif (i == (list.size() - 1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif (i == (list.size() - 1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}",
"if (i == (list.size() - 1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}",
"i == (list.size() - 1)",
"i",
"(list.size() - 1)",
"list.size()",
"list.size",
"list",
"1",
"{\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t}",
"System.out.println(list.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(i)",
"list.get",
"list",
"i",
"{\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}",
"System.out.print(list.get(i) + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"list.get(i) + \" \"",
"list.get(i)",
"list.get",
"list",
"i",
"\" \"",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tif (n <= 100) {\n\t\t\tList<Integer> list = new ArrayList<>();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint ai = scan.nextInt();\n\t\t\t\tif (ai >= 0 && ai < 1000) {\n\t\t\t\t\tlist.add(ai);\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollections.reverse(list);\n\t\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\t\tif (i == (list.size() - 1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tif (n <= 100) {\n\t\t\tList<Integer> list = new ArrayList<>();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint ai = scan.nextInt();\n\t\t\t\tif (ai >= 0 && ai < 1000) {\n\t\t\t\t\tlist.add(ai);\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollections.reverse(list);\n\t\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\t\tif (i == (list.size() - 1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
if (n <= 100) {
List<Integer> list = new ArrayList<>();
for (int i = 0; i < n; i++) {
int ai = scan.nextInt();
if (ai >= 0 && ai < 1000) {
list.add(ai);
}
}
Collections.reverse(list);
for (int i = 0; i < list.size(); i++) {
if (i == (list.size() - 1)) {
System.out.println(list.get(i));
} else {
System.out.print(list.get(i) + " ");
}
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
2,
2,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
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
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
22,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
32,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
54,
54
],
[
54,
55
],
[
54,
56
],
[
54,
57
],
[
8,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
58,
68
],
[
68,
69
],
[
69,
70
],
[
58,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
6,
93
],
[
93,
94
]
] | [
"import java.util.*;\n\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = Integer.parseInt(sc.nextLine());\n\t\tString[] input = sc.nextLine().split(\" \");\n\t\tString[] num = new String[n];\n\t\tfor(int i=0;i<input.length;i++){\n\t\t\tnum[i]=input[n-i-1];\n\t\t}\n\t\tfor(int i=0;i<n-1;i++){\n\t\t\tSystem.out.print(num[i]+\" \");\n\t\t}\n\t\tSystem.out.println(num[n-1]);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = Integer.parseInt(sc.nextLine());\n\t\tString[] input = sc.nextLine().split(\" \");\n\t\tString[] num = new String[n];\n\t\tfor(int i=0;i<input.length;i++){\n\t\t\tnum[i]=input[n-i-1];\n\t\t}\n\t\tfor(int i=0;i<n-1;i++){\n\t\t\tSystem.out.print(num[i]+\" \");\n\t\t}\n\t\tSystem.out.println(num[n-1]);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = Integer.parseInt(sc.nextLine());\n\t\tString[] input = sc.nextLine().split(\" \");\n\t\tString[] num = new String[n];\n\t\tfor(int i=0;i<input.length;i++){\n\t\t\tnum[i]=input[n-i-1];\n\t\t}\n\t\tfor(int i=0;i<n-1;i++){\n\t\t\tSystem.out.print(num[i]+\" \");\n\t\t}\n\t\tSystem.out.println(num[n-1]);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = Integer.parseInt(sc.nextLine());\n\t\tString[] input = sc.nextLine().split(\" \");\n\t\tString[] num = new String[n];\n\t\tfor(int i=0;i<input.length;i++){\n\t\t\tnum[i]=input[n-i-1];\n\t\t}\n\t\tfor(int i=0;i<n-1;i++){\n\t\t\tSystem.out.print(num[i]+\" \");\n\t\t}\n\t\tSystem.out.println(num[n-1]);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = Integer.parseInt(sc.nextLine());",
"n",
"Integer.parseInt(sc.nextLine())",
"Integer.parseInt",
"Integer",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] input = sc.nextLine().split(\" \");",
"input",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"String[] num = new String[n];",
"num",
"new String[n]",
"n",
"for(int i=0;i<input.length;i++){\n\t\t\tnum[i]=input[n-i-1];\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<input.length",
"i",
"input.length",
"input",
"input.length",
"i++",
"i++",
"i",
"{\n\t\t\tnum[i]=input[n-i-1];\n\t\t}",
"{\n\t\t\tnum[i]=input[n-i-1];\n\t\t}",
"num[i]=input[n-i-1]",
"num[i]",
"num",
"i",
"input[n-i-1]",
"input",
"n-i-1",
"n-i-1",
"n",
"i",
"1",
"for(int i=0;i<n-1;i++){\n\t\t\tSystem.out.print(num[i]+\" \");\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n-1",
"i",
"n-1",
"n",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.print(num[i]+\" \");\n\t\t}",
"{\n\t\t\tSystem.out.print(num[i]+\" \");\n\t\t}",
"System.out.print(num[i]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"num[i]+\" \"",
"num[i]",
"num",
"i",
"\" \"",
"System.out.println(num[n-1])",
"System.out.println",
"System.out",
"System",
"System.out",
"num[n-1]",
"num",
"n-1",
"n",
"1",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int n = Integer.parseInt(sc.nextLine());
String[] input = sc.nextLine().split(" ");
String[] num = new String[n];
for(int i=0;i<input.length;i++){
num[i]=input[n-i-1];
}
for(int i=0;i<n-1;i++){
System.out.print(num[i]+" ");
}
System.out.println(num[n-1]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
2,
18,
13,
2,
2,
18,
13,
13,
13,
17,
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
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
28,
33
],
[
14,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
47,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
72,
77
],
[
68,
78
],
[
12,
79
],
[
79,
80
]
] | [
"import java.io.InputStreamReader;\nimport java.io.BufferedReader;\nimport java.io.IOException;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] strAry = br.readLine().split(\" \");\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tif (i == strAry.length - 1) System.out.println(strAry[0]);\n\t\t\telse System.out.print(strAry[strAry.length - i - 1] + \" \");\n\t\t}\n\t}\n}",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] strAry = br.readLine().split(\" \");\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tif (i == strAry.length - 1) System.out.println(strAry[0]);\n\t\t\telse System.out.print(strAry[strAry.length - i - 1] + \" \");\n\t\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 n = Integer.parseInt(br.readLine());\n\t\tString[] strAry = br.readLine().split(\" \");\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tif (i == strAry.length - 1) System.out.println(strAry[0]);\n\t\t\telse System.out.print(strAry[strAry.length - i - 1] + \" \");\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] strAry = br.readLine().split(\" \");\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tif (i == strAry.length - 1) System.out.println(strAry[0]);\n\t\t\telse System.out.print(strAry[strAry.length - i - 1] + \" \");\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int n = Integer.parseInt(br.readLine());",
"n",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"String[] strAry = br.readLine().split(\" \");",
"strAry",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for (int i = 0; i < n; i++) {\n\t\t\tif (i == strAry.length - 1) System.out.println(strAry[0]);\n\t\t\telse System.out.print(strAry[strAry.length - i - 1] + \" \");\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tif (i == strAry.length - 1) System.out.println(strAry[0]);\n\t\t\telse System.out.print(strAry[strAry.length - i - 1] + \" \");\n\t\t}",
"{\n\t\t\tif (i == strAry.length - 1) System.out.println(strAry[0]);\n\t\t\telse System.out.print(strAry[strAry.length - i - 1] + \" \");\n\t\t}",
"if (i == strAry.length - 1) System.out.println(strAry[0]);\n\t\t\telse System.out.print(strAry[strAry.length - i - 1] + \" \");",
"i == strAry.length - 1",
"i",
"strAry.length - 1",
"strAry.length",
"strAry",
"strAry.length",
"1",
"System.out.println(strAry[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"strAry[0]",
"strAry",
"0",
"System.out.print(strAry[strAry.length - i - 1] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"strAry[strAry.length - i - 1] + \" \"",
"strAry[strAry.length - i - 1]",
"strAry",
"strAry.length - i - 1",
"strAry.length - i - 1",
"strAry.length",
"strAry",
"strAry.length",
"i",
"1",
"\" \"",
"String[] args",
"args"
] | import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.io.IOException;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(br.readLine());
String[] strAry = br.readLine().split(" ");
for (int i = 0; i < n; i++) {
if (i == strAry.length - 1) System.out.println(strAry[0]);
else System.out.print(strAry[strAry.length - i - 1] + " ");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
2,
2,
13,
13,
17,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
110,
5
],
[
110,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
48,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
65,
65
],
[
65,
66
],
[
65,
67
],
[
65,
68
],
[
61,
69
],
[
69,
70
],
[
69,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
72,
82
],
[
82,
83
],
[
83,
84
],
[
72,
85
],
[
86,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
8,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
104,
106
],
[
6,
107
],
[
107,
108
],
[
0,
109
],
[
109,
110
],
[
109,
111
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int[] intArray = new int[a];\n int[] intArray2 = new int[a];\n for (int i = 0; i < a; i++) {\n int b = scanner.nextInt();\n intArray[i] = b;\n }\n for (int i = 0; i < a; i++) {\n intArray2[a - i - 1] = intArray[i];\n }\n for (int k = 0; k < a - 1; k++) {\n System.out.print(intArray2[k] + \" \");\n }\n System.out.println(intArray2[a - 1]);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int[] intArray = new int[a];\n int[] intArray2 = new int[a];\n for (int i = 0; i < a; i++) {\n int b = scanner.nextInt();\n intArray[i] = b;\n }\n for (int i = 0; i < a; i++) {\n intArray2[a - i - 1] = intArray[i];\n }\n for (int k = 0; k < a - 1; k++) {\n System.out.print(intArray2[k] + \" \");\n }\n System.out.println(intArray2[a - 1]);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int[] intArray = new int[a];\n int[] intArray2 = new int[a];\n for (int i = 0; i < a; i++) {\n int b = scanner.nextInt();\n intArray[i] = b;\n }\n for (int i = 0; i < a; i++) {\n intArray2[a - i - 1] = intArray[i];\n }\n for (int k = 0; k < a - 1; k++) {\n System.out.print(intArray2[k] + \" \");\n }\n System.out.println(intArray2[a - 1]);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int[] intArray = new int[a];\n int[] intArray2 = new int[a];\n for (int i = 0; i < a; i++) {\n int b = scanner.nextInt();\n intArray[i] = b;\n }\n for (int i = 0; i < a; i++) {\n intArray2[a - i - 1] = intArray[i];\n }\n for (int k = 0; k < a - 1; k++) {\n System.out.print(intArray2[k] + \" \");\n }\n System.out.println(intArray2[a - 1]);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int[] intArray = new int[a];",
"intArray",
"new int[a]",
"a",
"int[] intArray2 = new int[a];",
"intArray2",
"new int[a]",
"a",
"for (int i = 0; i < a; i++) {\n int b = scanner.nextInt();\n intArray[i] = b;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a",
"i",
"a",
"i++",
"i++",
"i",
"{\n int b = scanner.nextInt();\n intArray[i] = b;\n }",
"{\n int b = scanner.nextInt();\n intArray[i] = b;\n }",
"int b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"intArray[i] = b",
"intArray[i]",
"intArray",
"i",
"b",
"for (int i = 0; i < a; i++) {\n intArray2[a - i - 1] = intArray[i];\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a",
"i",
"a",
"i++",
"i++",
"i",
"{\n intArray2[a - i - 1] = intArray[i];\n }",
"{\n intArray2[a - i - 1] = intArray[i];\n }",
"intArray2[a - i - 1] = intArray[i]",
"intArray2[a - i - 1]",
"intArray2",
"a - i - 1",
"a - i - 1",
"a",
"i",
"1",
"intArray[i]",
"intArray",
"i",
"for (int k = 0; k < a - 1; k++) {\n System.out.print(intArray2[k] + \" \");\n }",
"int k = 0;",
"int k = 0;",
"k",
"0",
"k < a - 1",
"k",
"a - 1",
"a",
"1",
"k++",
"k++",
"k",
"{\n System.out.print(intArray2[k] + \" \");\n }",
"{\n System.out.print(intArray2[k] + \" \");\n }",
"System.out.print(intArray2[k] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"intArray2[k] + \" \"",
"intArray2[k]",
"intArray2",
"k",
"\" \"",
"System.out.println(intArray2[a - 1])",
"System.out.println",
"System.out",
"System",
"System.out",
"intArray2[a - 1]",
"intArray2",
"a - 1",
"a",
"1",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int[] intArray = new int[a];\n int[] intArray2 = new int[a];\n for (int i = 0; i < a; i++) {\n int b = scanner.nextInt();\n intArray[i] = b;\n }\n for (int i = 0; i < a; i++) {\n intArray2[a - i - 1] = intArray[i];\n }\n for (int k = 0; k < a - 1; k++) {\n System.out.print(intArray2[k] + \" \");\n }\n System.out.println(intArray2[a - 1]);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int[] intArray = new int[a];\n int[] intArray2 = new int[a];\n for (int i = 0; i < a; i++) {\n int b = scanner.nextInt();\n intArray[i] = b;\n }\n for (int i = 0; i < a; i++) {\n intArray2[a - i - 1] = intArray[i];\n }\n for (int k = 0; k < a - 1; k++) {\n System.out.print(intArray2[k] + \" \");\n }\n System.out.println(intArray2[a - 1]);\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int[] intArray = new int[a];
int[] intArray2 = new int[a];
for (int i = 0; i < a; i++) {
int b = scanner.nextInt();
intArray[i] = b;
}
for (int i = 0; i < a; i++) {
intArray2[a - i - 1] = intArray[i];
}
for (int k = 0; k < a - 1; k++) {
System.out.print(intArray2[k] + " ");
}
System.out.println(intArray2[a - 1]);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41,
13,
20,
13,
0,
13,
17,
11,
1,
0,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
13,
40,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
3,
30,
4,
18,
18,
13,
13,
17,
12,
13,
30,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
9
],
[
9,
10
],
[
4,
11
],
[
11,
12
],
[
4,
13
],
[
13,
14
],
[
4,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
17,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
17,
47
],
[
47,
48
],
[
47,
49
],
[
17,
51
],
[
51,
52
],
[
51,
53
],
[
17,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
54,
61
],
[
61,
62
],
[
61,
63
],
[
54,
64
],
[
64,
65
],
[
65,
66
],
[
54,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
17,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
83,
85
],
[
78,
86
],
[
86,
87
],
[
87,
88
],
[
78,
89
],
[
90,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
96,
97
],
[
96,
98
],
[
90,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
102,
104
],
[
99,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
105,
112
],
[
99,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
4,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
120,
124
],
[
124,
125
]
] | [
"import java.util.*;\n\nclass Main{\n\tScanner scan = new Scanner(System.in);\n\tint n;\n\tint i;\n\tint j;\n\tpublic Main(){\n\t\tn = scan.nextInt();\n\t\tint[] a=new int[n];\n\t\tfor(i=0; i<n; i++){\n\t\t\ta[i]=scan.nextInt();\n\t\t}\n\t\tint[] b=new int[n];\n\t\ti = 0;\n\t\tfor(j=n-1;j>=0;j--){\n\t\t\tb[i]=a[j];\n\t\t\ti++;\n\t\t}\n\t\tfor(i=0;i<n;i++){\n\t\t\tSystem.out.print(b[i]);\n if(i==n-1){\n System.out.println(\"\");\n break;\n }else{\n\t\t\t System.out.print(\" \");\n\t\t }\n\t }\n }\n\tpublic static void main(String[] args){\n\t\tnew Main();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tScanner scan = new Scanner(System.in);\n\tint n;\n\tint i;\n\tint j;\n\tpublic Main(){\n\t\tn = scan.nextInt();\n\t\tint[] a=new int[n];\n\t\tfor(i=0; i<n; i++){\n\t\t\ta[i]=scan.nextInt();\n\t\t}\n\t\tint[] b=new int[n];\n\t\ti = 0;\n\t\tfor(j=n-1;j>=0;j--){\n\t\t\tb[i]=a[j];\n\t\t\ti++;\n\t\t}\n\t\tfor(i=0;i<n;i++){\n\t\t\tSystem.out.print(b[i]);\n if(i==n-1){\n System.out.println(\"\");\n break;\n }else{\n\t\t\t System.out.print(\" \");\n\t\t }\n\t }\n }\n\tpublic static void main(String[] args){\n\t\tnew Main();\n\t}\n}",
"Main",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n;",
"n",
"int i;",
"i",
"int j;",
"j",
"public Main(){\n\t\tn = scan.nextInt();\n\t\tint[] a=new int[n];\n\t\tfor(i=0; i<n; i++){\n\t\t\ta[i]=scan.nextInt();\n\t\t}\n\t\tint[] b=new int[n];\n\t\ti = 0;\n\t\tfor(j=n-1;j>=0;j--){\n\t\t\tb[i]=a[j];\n\t\t\ti++;\n\t\t}\n\t\tfor(i=0;i<n;i++){\n\t\t\tSystem.out.print(b[i]);\n if(i==n-1){\n System.out.println(\"\");\n break;\n }else{\n\t\t\t System.out.print(\" \");\n\t\t }\n\t }\n }",
"Main",
"{\n\t\tn = scan.nextInt();\n\t\tint[] a=new int[n];\n\t\tfor(i=0; i<n; i++){\n\t\t\ta[i]=scan.nextInt();\n\t\t}\n\t\tint[] b=new int[n];\n\t\ti = 0;\n\t\tfor(j=n-1;j>=0;j--){\n\t\t\tb[i]=a[j];\n\t\t\ti++;\n\t\t}\n\t\tfor(i=0;i<n;i++){\n\t\t\tSystem.out.print(b[i]);\n if(i==n-1){\n System.out.println(\"\");\n break;\n }else{\n\t\t\t System.out.print(\" \");\n\t\t }\n\t }\n }",
"n = scan.nextInt()",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] a=new int[n];",
"a",
"new int[n]",
"n",
"for(i=0; i<n; i++){\n\t\t\ta[i]=scan.nextInt();\n\t\t}",
"i=0;",
"i=0",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\ta[i]=scan.nextInt();\n\t\t}",
"{\n\t\t\ta[i]=scan.nextInt();\n\t\t}",
"a[i]=scan.nextInt()",
"a[i]",
"a",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] b=new int[n];",
"b",
"new int[n]",
"n",
"i = 0",
"i",
"0",
"for(j=n-1;j>=0;j--){\n\t\t\tb[i]=a[j];\n\t\t\ti++;\n\t\t}",
"j=n-1;",
"j=n-1",
"j",
"n-1",
"n",
"1",
"j>=0",
"j",
"0",
"j--",
"j--",
"j",
"{\n\t\t\tb[i]=a[j];\n\t\t\ti++;\n\t\t}",
"{\n\t\t\tb[i]=a[j];\n\t\t\ti++;\n\t\t}",
"b[i]=a[j]",
"b[i]",
"b",
"i",
"a[j]",
"a",
"j",
"i++",
"i",
"for(i=0;i<n;i++){\n\t\t\tSystem.out.print(b[i]);\n if(i==n-1){\n System.out.println(\"\");\n break;\n }else{\n\t\t\t System.out.print(\" \");\n\t\t }\n\t }",
"i=0;",
"i=0",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.print(b[i]);\n if(i==n-1){\n System.out.println(\"\");\n break;\n }else{\n\t\t\t System.out.print(\" \");\n\t\t }\n\t }",
"{\n\t\t\tSystem.out.print(b[i]);\n if(i==n-1){\n System.out.println(\"\");\n break;\n }else{\n\t\t\t System.out.print(\" \");\n\t\t }\n\t }",
"System.out.print(b[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"b[i]",
"b",
"i",
"if(i==n-1){\n System.out.println(\"\");\n break;\n }else{\n\t\t\t System.out.print(\" \");\n\t\t }",
"i==n-1",
"i",
"n-1",
"n",
"1",
"{\n System.out.println(\"\");\n break;\n }",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"break;",
"{\n\t\t\t System.out.print(\" \");\n\t\t }",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"public static void main(String[] args){\n\t\tnew Main();\n\t}",
"main",
"{\n\t\tnew Main();\n\t}",
"new Main()",
"String[] args",
"args"
] | import java.util.*;
class Main{
Scanner scan = new Scanner(System.in);
int n;
int i;
int j;
public Main(){
n = scan.nextInt();
int[] a=new int[n];
for(i=0; i<n; i++){
a[i]=scan.nextInt();
}
int[] b=new int[n];
i = 0;
for(j=n-1;j>=0;j--){
b[i]=a[j];
i++;
}
for(i=0;i<n;i++){
System.out.print(b[i]);
if(i==n-1){
System.out.println("");
break;
}else{
System.out.print(" ");
}
}
}
public static void main(String[] args){
new Main();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
17,
4,
18,
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
],
[
110,
11
],
[
110,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
14,
40
],
[
40,
41
],
[
40,
42
],
[
14,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
44,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
64,
66
],
[
14,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
67,
74
],
[
74,
75
],
[
74,
76
],
[
67,
77
],
[
77,
78
],
[
78,
79
],
[
67,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
81,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
81,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
14,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
12,
107
],
[
107,
108
],
[
0,
109
],
[
109,
110
],
[
109,
111
]
] | [
"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\n\t\tString num1 = br.readLine();\n\t\tString num2 = br.readLine();\n\n\t\tString[] str = num2.split(\" \");\n\n\t\tint result = Integer.parseInt(num1);\n\t\tint[] list = new int[result];\n\n\t\tfor (int i = 0; i < result; i++) {\n\n\t\t\tlist[i] = Integer.parseInt(str[i]);\n\t\t}\n\t\tfor (int i = result - 1; i >= 0 ; i--){\n\t\t\tSystem.out.print(list[i]);\n\n\t\t\tif (i == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString num1 = br.readLine();\n\t\tString num2 = br.readLine();\n\n\t\tString[] str = num2.split(\" \");\n\n\t\tint result = Integer.parseInt(num1);\n\t\tint[] list = new int[result];\n\n\t\tfor (int i = 0; i < result; i++) {\n\n\t\t\tlist[i] = Integer.parseInt(str[i]);\n\t\t}\n\t\tfor (int i = result - 1; i >= 0 ; i--){\n\t\t\tSystem.out.print(list[i]);\n\n\t\t\tif (i == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString num1 = br.readLine();\n\t\tString num2 = br.readLine();\n\n\t\tString[] str = num2.split(\" \");\n\n\t\tint result = Integer.parseInt(num1);\n\t\tint[] list = new int[result];\n\n\t\tfor (int i = 0; i < result; i++) {\n\n\t\t\tlist[i] = Integer.parseInt(str[i]);\n\t\t}\n\t\tfor (int i = result - 1; i >= 0 ; i--){\n\t\t\tSystem.out.print(list[i]);\n\n\t\t\tif (i == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString num1 = br.readLine();\n\t\tString num2 = br.readLine();\n\n\t\tString[] str = num2.split(\" \");\n\n\t\tint result = Integer.parseInt(num1);\n\t\tint[] list = new int[result];\n\n\t\tfor (int i = 0; i < result; i++) {\n\n\t\t\tlist[i] = Integer.parseInt(str[i]);\n\t\t}\n\t\tfor (int i = result - 1; i >= 0 ; i--){\n\t\t\tSystem.out.print(list[i]);\n\n\t\t\tif (i == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String num1 = br.readLine();",
"num1",
"br.readLine()",
"br.readLine",
"br",
"String num2 = br.readLine();",
"num2",
"br.readLine()",
"br.readLine",
"br",
"String[] str = num2.split(\" \");",
"str",
"num2.split(\" \")",
"num2.split",
"num2",
"\" \"",
"int result = Integer.parseInt(num1);",
"result",
"Integer.parseInt(num1)",
"Integer.parseInt",
"Integer",
"num1",
"int[] list = new int[result];",
"list",
"new int[result]",
"result",
"for (int i = 0; i < result; i++) {\n\n\t\t\tlist[i] = Integer.parseInt(str[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < result",
"i",
"result",
"i++",
"i++",
"i",
"{\n\n\t\t\tlist[i] = Integer.parseInt(str[i]);\n\t\t}",
"{\n\n\t\t\tlist[i] = Integer.parseInt(str[i]);\n\t\t}",
"list[i] = Integer.parseInt(str[i])",
"list[i]",
"list",
"i",
"Integer.parseInt(str[i])",
"Integer.parseInt",
"Integer",
"str[i]",
"str",
"i",
"for (int i = result - 1; i >= 0 ; i--){\n\t\t\tSystem.out.print(list[i]);\n\n\t\t\tif (i == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"int i = result - 1;",
"int i = result - 1;",
"i",
"result - 1",
"result",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(list[i]);\n\n\t\t\tif (i == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"{\n\t\t\tSystem.out.print(list[i]);\n\n\t\t\tif (i == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"System.out.print(list[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"list[i]",
"list",
"i",
"if (i == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"i == 0",
"i",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"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\n\t\tString num1 = br.readLine();\n\t\tString num2 = br.readLine();\n\n\t\tString[] str = num2.split(\" \");\n\n\t\tint result = Integer.parseInt(num1);\n\t\tint[] list = new int[result];\n\n\t\tfor (int i = 0; i < result; i++) {\n\n\t\t\tlist[i] = Integer.parseInt(str[i]);\n\t\t}\n\t\tfor (int i = result - 1; i >= 0 ; i--){\n\t\t\tSystem.out.print(list[i]);\n\n\t\t\tif (i == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\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\n\t\tString num1 = br.readLine();\n\t\tString num2 = br.readLine();\n\n\t\tString[] str = num2.split(\" \");\n\n\t\tint result = Integer.parseInt(num1);\n\t\tint[] list = new int[result];\n\n\t\tfor (int i = 0; i < result; i++) {\n\n\t\t\tlist[i] = Integer.parseInt(str[i]);\n\t\t}\n\t\tfor (int i = result - 1; i >= 0 ; i--){\n\t\t\tSystem.out.print(list[i]);\n\n\t\t\tif (i == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\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 num1 = br.readLine();
String num2 = br.readLine();
String[] str = num2.split(" ");
int result = Integer.parseInt(num1);
int[] list = new int[result];
for (int i = 0; i < result; i++) {
list[i] = Integer.parseInt(str[i]);
}
for (int i = result - 1; i >= 0 ; i--){
System.out.print(list[i]);
if (i == 0) {
break;
}
System.out.print(" ");
}
System.out.println();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
41,
13,
17,
42,
2,
13,
13,
30,
0,
18,
13,
13,
4,
18,
13,
40,
13,
40,
13,
42,
2,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
40,
13,
4,
18,
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
],
[
79,
11
],
[
79,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
14,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
34,
42
],
[
42,
43
],
[
14,
44
],
[
44,
45
],
[
14,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
50,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
50,
69
],
[
69,
70
],
[
14,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
12,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"import java.text.*;\nimport java.math.*;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kazu = scan.nextInt();\n\t\tint[] num= new int[kazu];\n\t\tint i = 0;\n\t\t\n\t\twhile(i != kazu) {\n\t\t\tnum[i] = scan.nextInt();\n\t\t\ti++;\n\t\t}\n\t\ti--;\n\t\twhile(i >= 0) {\n\t\t\tSystem.out.print(num[i]);\n\t\t\tif(i != 0) System.out.print(\" \");\n\t\t\ti--;\n\t\t}\n\t\tSystem.out.println();\n\n\t\t/*num[0] = scan.nextInt();\n\t\tint hako = 0;\n\t\tint keta = 1;\n\t\tint w = 1;\n\t\tfor(int i = 1;i <= num[0]; i++) {\n\t\t\tint x = i;\n\t\t\tif(i % 3 == 0) {\n\t\t\t\tSystem.out.print(\" \" + i);\n\t\t\t}else {\n\t\t\t\t/*while(true) {\n\t\t\t\t\tif(i / w == 0) break;\n\t\t\t\t\tketa++;\n\t\t\t\t\tw = w * 10;\n\t\t\t\t}\n\t\t\t\twhile(x != 0) {\n\t\t\t\t\tif(x % 10 == 3) {\n\t\t\t\t\t\tSystem.out.print(\" \" + i);\t\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else {\n\t\t\t\t\t\thako = x /w;\n\t\t\t\t\t\tx = x/10;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}*/\n\t}\n}",
"import java.text.*;",
"text.*",
"java",
"import java.math.*;",
"math.*",
"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\tint kazu = scan.nextInt();\n\t\tint[] num= new int[kazu];\n\t\tint i = 0;\n\t\t\n\t\twhile(i != kazu) {\n\t\t\tnum[i] = scan.nextInt();\n\t\t\ti++;\n\t\t}\n\t\ti--;\n\t\twhile(i >= 0) {\n\t\t\tSystem.out.print(num[i]);\n\t\t\tif(i != 0) System.out.print(\" \");\n\t\t\ti--;\n\t\t}\n\t\tSystem.out.println();\n\n\t\t/*num[0] = scan.nextInt();\n\t\tint hako = 0;\n\t\tint keta = 1;\n\t\tint w = 1;\n\t\tfor(int i = 1;i <= num[0]; i++) {\n\t\t\tint x = i;\n\t\t\tif(i % 3 == 0) {\n\t\t\t\tSystem.out.print(\" \" + i);\n\t\t\t}else {\n\t\t\t\t/*while(true) {\n\t\t\t\t\tif(i / w == 0) break;\n\t\t\t\t\tketa++;\n\t\t\t\t\tw = w * 10;\n\t\t\t\t}\n\t\t\t\twhile(x != 0) {\n\t\t\t\t\tif(x % 10 == 3) {\n\t\t\t\t\t\tSystem.out.print(\" \" + i);\t\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else {\n\t\t\t\t\t\thako = x /w;\n\t\t\t\t\t\tx = x/10;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}*/\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kazu = scan.nextInt();\n\t\tint[] num= new int[kazu];\n\t\tint i = 0;\n\t\t\n\t\twhile(i != kazu) {\n\t\t\tnum[i] = scan.nextInt();\n\t\t\ti++;\n\t\t}\n\t\ti--;\n\t\twhile(i >= 0) {\n\t\t\tSystem.out.print(num[i]);\n\t\t\tif(i != 0) System.out.print(\" \");\n\t\t\ti--;\n\t\t}\n\t\tSystem.out.println();\n\n\t\t/*num[0] = scan.nextInt();\n\t\tint hako = 0;\n\t\tint keta = 1;\n\t\tint w = 1;\n\t\tfor(int i = 1;i <= num[0]; i++) {\n\t\t\tint x = i;\n\t\t\tif(i % 3 == 0) {\n\t\t\t\tSystem.out.print(\" \" + i);\n\t\t\t}else {\n\t\t\t\t/*while(true) {\n\t\t\t\t\tif(i / w == 0) break;\n\t\t\t\t\tketa++;\n\t\t\t\t\tw = w * 10;\n\t\t\t\t}\n\t\t\t\twhile(x != 0) {\n\t\t\t\t\tif(x % 10 == 3) {\n\t\t\t\t\t\tSystem.out.print(\" \" + i);\t\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else {\n\t\t\t\t\t\thako = x /w;\n\t\t\t\t\t\tx = x/10;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}*/\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kazu = scan.nextInt();\n\t\tint[] num= new int[kazu];\n\t\tint i = 0;\n\t\t\n\t\twhile(i != kazu) {\n\t\t\tnum[i] = scan.nextInt();\n\t\t\ti++;\n\t\t}\n\t\ti--;\n\t\twhile(i >= 0) {\n\t\t\tSystem.out.print(num[i]);\n\t\t\tif(i != 0) System.out.print(\" \");\n\t\t\ti--;\n\t\t}\n\t\tSystem.out.println();\n\n\t\t/*num[0] = scan.nextInt();\n\t\tint hako = 0;\n\t\tint keta = 1;\n\t\tint w = 1;\n\t\tfor(int i = 1;i <= num[0]; i++) {\n\t\t\tint x = i;\n\t\t\tif(i % 3 == 0) {\n\t\t\t\tSystem.out.print(\" \" + i);\n\t\t\t}else {\n\t\t\t\t/*while(true) {\n\t\t\t\t\tif(i / w == 0) break;\n\t\t\t\t\tketa++;\n\t\t\t\t\tw = w * 10;\n\t\t\t\t}\n\t\t\t\twhile(x != 0) {\n\t\t\t\t\tif(x % 10 == 3) {\n\t\t\t\t\t\tSystem.out.print(\" \" + i);\t\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else {\n\t\t\t\t\t\thako = x /w;\n\t\t\t\t\t\tx = x/10;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}*/\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int kazu = scan.nextInt();",
"kazu",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] num= new int[kazu];",
"num",
"new int[kazu]",
"kazu",
"int i = 0;",
"i",
"0",
"while(i != kazu) {\n\t\t\tnum[i] = scan.nextInt();\n\t\t\ti++;\n\t\t}",
"i != kazu",
"i",
"kazu",
"{\n\t\t\tnum[i] = scan.nextInt();\n\t\t\ti++;\n\t\t}",
"num[i] = scan.nextInt()",
"num[i]",
"num",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"i++",
"i",
"i--",
"i",
"while(i >= 0) {\n\t\t\tSystem.out.print(num[i]);\n\t\t\tif(i != 0) System.out.print(\" \");\n\t\t\ti--;\n\t\t}",
"i >= 0",
"i",
"0",
"{\n\t\t\tSystem.out.print(num[i]);\n\t\t\tif(i != 0) System.out.print(\" \");\n\t\t\ti--;\n\t\t}",
"System.out.print(num[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"num[i]",
"num",
"i",
"if(i != 0) System.out.print(\" \");",
"i != 0",
"i",
"0",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"i--",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kazu = scan.nextInt();\n\t\tint[] num= new int[kazu];\n\t\tint i = 0;\n\t\t\n\t\twhile(i != kazu) {\n\t\t\tnum[i] = scan.nextInt();\n\t\t\ti++;\n\t\t}\n\t\ti--;\n\t\twhile(i >= 0) {\n\t\t\tSystem.out.print(num[i]);\n\t\t\tif(i != 0) System.out.print(\" \");\n\t\t\ti--;\n\t\t}\n\t\tSystem.out.println();\n\n\t\t/*num[0] = scan.nextInt();\n\t\tint hako = 0;\n\t\tint keta = 1;\n\t\tint w = 1;\n\t\tfor(int i = 1;i <= num[0]; i++) {\n\t\t\tint x = i;\n\t\t\tif(i % 3 == 0) {\n\t\t\t\tSystem.out.print(\" \" + i);\n\t\t\t}else {\n\t\t\t\t/*while(true) {\n\t\t\t\t\tif(i / w == 0) break;\n\t\t\t\t\tketa++;\n\t\t\t\t\tw = w * 10;\n\t\t\t\t}\n\t\t\t\twhile(x != 0) {\n\t\t\t\t\tif(x % 10 == 3) {\n\t\t\t\t\t\tSystem.out.print(\" \" + i);\t\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else {\n\t\t\t\t\t\thako = x /w;\n\t\t\t\t\t\tx = x/10;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\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\tint kazu = scan.nextInt();\n\t\tint[] num= new int[kazu];\n\t\tint i = 0;\n\t\t\n\t\twhile(i != kazu) {\n\t\t\tnum[i] = scan.nextInt();\n\t\t\ti++;\n\t\t}\n\t\ti--;\n\t\twhile(i >= 0) {\n\t\t\tSystem.out.print(num[i]);\n\t\t\tif(i != 0) System.out.print(\" \");\n\t\t\ti--;\n\t\t}\n\t\tSystem.out.println();\n\n\t\t/*num[0] = scan.nextInt();\n\t\tint hako = 0;\n\t\tint keta = 1;\n\t\tint w = 1;\n\t\tfor(int i = 1;i <= num[0]; i++) {\n\t\t\tint x = i;\n\t\t\tif(i % 3 == 0) {\n\t\t\t\tSystem.out.print(\" \" + i);\n\t\t\t}else {\n\t\t\t\t/*while(true) {\n\t\t\t\t\tif(i / w == 0) break;\n\t\t\t\t\tketa++;\n\t\t\t\t\tw = w * 10;\n\t\t\t\t}\n\t\t\t\twhile(x != 0) {\n\t\t\t\t\tif(x % 10 == 3) {\n\t\t\t\t\t\tSystem.out.print(\" \" + i);\t\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else {\n\t\t\t\t\t\thako = x /w;\n\t\t\t\t\t\tx = x/10;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}*/\n\t}\n}",
"Main"
] | import java.text.*;
import java.math.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int kazu = scan.nextInt();
int[] num= new int[kazu];
int i = 0;
while(i != kazu) {
num[i] = scan.nextInt();
i++;
}
i--;
while(i >= 0) {
System.out.print(num[i]);
if(i != 0) System.out.print(" ");
i--;
}
System.out.println();
/*num[0] = scan.nextInt();
int hako = 0;
int keta = 1;
int w = 1;
for(int i = 1;i <= num[0]; i++) {
int x = i;
if(i % 3 == 0) {
System.out.print(" " + i);
}else {
/*while(true) {
if(i / w == 0) break;
keta++;
w = w * 10;
}
while(x != 0) {
if(x % 10 == 3) {
System.out.print(" " + i);
break;
}else {
hako = x /w;
x = x/10;
}
}
}
}*/
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
41,
13,
20,
28,
13,
13,
30,
30,
4,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
84,
14
],
[
84,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
29,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
17,
48
],
[
48,
49
],
[
49,
50
],
[
17,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
17,
55
],
[
55,
56
],
[
55,
57
],
[
17,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
17,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
15,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tList<Integer> list = new ArrayList<>();\n\t\tfor (int i = 0; i<n; i++) {\n\t\t\tlist.add(sc.nextInt());\n\t\t}\n\t\tsc.close();\n\t\tCollections.reverse(list);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i : list) {\n\t\t\tsb.append(i);\n\t\t\tsb.append(\" \");\n\t\t}\n\t\tSystem.out.println(sb.toString().trim());\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tList<Integer> list = new ArrayList<>();\n\t\tfor (int i = 0; i<n; i++) {\n\t\t\tlist.add(sc.nextInt());\n\t\t}\n\t\tsc.close();\n\t\tCollections.reverse(list);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i : list) {\n\t\t\tsb.append(i);\n\t\t\tsb.append(\" \");\n\t\t}\n\t\tSystem.out.println(sb.toString().trim());\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tList<Integer> list = new ArrayList<>();\n\t\tfor (int i = 0; i<n; i++) {\n\t\t\tlist.add(sc.nextInt());\n\t\t}\n\t\tsc.close();\n\t\tCollections.reverse(list);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i : list) {\n\t\t\tsb.append(i);\n\t\t\tsb.append(\" \");\n\t\t}\n\t\tSystem.out.println(sb.toString().trim());\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tList<Integer> list = new ArrayList<>();\n\t\tfor (int i = 0; i<n; i++) {\n\t\t\tlist.add(sc.nextInt());\n\t\t}\n\t\tsc.close();\n\t\tCollections.reverse(list);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i : list) {\n\t\t\tsb.append(i);\n\t\t\tsb.append(\" \");\n\t\t}\n\t\tSystem.out.println(sb.toString().trim());\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"List<Integer> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"for (int i = 0; i<n; i++) {\n\t\t\tlist.add(sc.nextInt());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tlist.add(sc.nextInt());\n\t\t}",
"{\n\t\t\tlist.add(sc.nextInt());\n\t\t}",
"list.add(sc.nextInt())",
"list.add",
"list",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.close()",
"sc.close",
"sc",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i : list) {\n\t\t\tsb.append(i);\n\t\t\tsb.append(\" \");\n\t\t}",
"int i",
"list",
"{\n\t\t\tsb.append(i);\n\t\t\tsb.append(\" \");\n\t\t}",
"{\n\t\t\tsb.append(i);\n\t\t\tsb.append(\" \");\n\t\t}",
"sb.append(i)",
"sb.append",
"sb",
"i",
"sb.append(\" \")",
"sb.append",
"sb",
"\" \"",
"System.out.println(sb.toString().trim())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString().trim()",
"sb.toString().trim",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tList<Integer> list = new ArrayList<>();\n\t\tfor (int i = 0; i<n; i++) {\n\t\t\tlist.add(sc.nextInt());\n\t\t}\n\t\tsc.close();\n\t\tCollections.reverse(list);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i : list) {\n\t\t\tsb.append(i);\n\t\t\tsb.append(\" \");\n\t\t}\n\t\tSystem.out.println(sb.toString().trim());\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tList<Integer> list = new ArrayList<>();\n\t\tfor (int i = 0; i<n; i++) {\n\t\t\tlist.add(sc.nextInt());\n\t\t}\n\t\tsc.close();\n\t\tCollections.reverse(list);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i : list) {\n\t\t\tsb.append(i);\n\t\t\tsb.append(\" \");\n\t\t}\n\t\tSystem.out.println(sb.toString().trim());\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
List<Integer> list = new ArrayList<>();
for (int i = 0; i<n; i++) {
list.add(sc.nextInt());
}
sc.close();
Collections.reverse(list);
StringBuilder sb = new StringBuilder();
for (int i : list) {
sb.append(i);
sb.append(" ");
}
System.out.println(sb.toString().trim());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
17,
30,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
91,
11
],
[
91,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
14,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
14,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
14,
43
],
[
43,
44
],
[
43,
45
],
[
14,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
47,
54
],
[
54,
55
],
[
54,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
47,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
63,
67
],
[
62,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
61,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
79,
80
],
[
79,
81
],
[
14,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
12,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main (String[] args) throws IOException {\n \n BufferedReader reader = new BufferedReader (new InputStreamReader (System.in));\n StringBuilder builder = new StringBuilder();\n\n String line = reader.readLine();\n int count = Integer.parseInt(line);\n\n line = reader.readLine();\n String[] columns = line.split(\" \");\n int[] numbers = new int[count];\n for (int i = count-1; i >= 0 ; i-- ) {\n if ( builder.length() != 0 ) {\n builder.append(\" \");\n }\n builder\n .append(Integer.parseInt(columns[i]));\n }\n System.out.println(builder);\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) throws IOException {\n \n BufferedReader reader = new BufferedReader (new InputStreamReader (System.in));\n StringBuilder builder = new StringBuilder();\n\n String line = reader.readLine();\n int count = Integer.parseInt(line);\n\n line = reader.readLine();\n String[] columns = line.split(\" \");\n int[] numbers = new int[count];\n for (int i = count-1; i >= 0 ; i-- ) {\n if ( builder.length() != 0 ) {\n builder.append(\" \");\n }\n builder\n .append(Integer.parseInt(columns[i]));\n }\n System.out.println(builder);\n }\n}",
"Main",
"public static void main (String[] args) throws IOException {\n \n BufferedReader reader = new BufferedReader (new InputStreamReader (System.in));\n StringBuilder builder = new StringBuilder();\n\n String line = reader.readLine();\n int count = Integer.parseInt(line);\n\n line = reader.readLine();\n String[] columns = line.split(\" \");\n int[] numbers = new int[count];\n for (int i = count-1; i >= 0 ; i-- ) {\n if ( builder.length() != 0 ) {\n builder.append(\" \");\n }\n builder\n .append(Integer.parseInt(columns[i]));\n }\n System.out.println(builder);\n }",
"main",
"{\n \n BufferedReader reader = new BufferedReader (new InputStreamReader (System.in));\n StringBuilder builder = new StringBuilder();\n\n String line = reader.readLine();\n int count = Integer.parseInt(line);\n\n line = reader.readLine();\n String[] columns = line.split(\" \");\n int[] numbers = new int[count];\n for (int i = count-1; i >= 0 ; i-- ) {\n if ( builder.length() != 0 ) {\n builder.append(\" \");\n }\n builder\n .append(Integer.parseInt(columns[i]));\n }\n System.out.println(builder);\n }",
"BufferedReader reader = new BufferedReader (new InputStreamReader (System.in));",
"reader",
"new BufferedReader (new InputStreamReader (System.in))",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"String line = reader.readLine();",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"int count = Integer.parseInt(line);",
"count",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"line = reader.readLine()",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"String[] columns = line.split(\" \");",
"columns",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int[] numbers = new int[count];",
"numbers",
"new int[count]",
"count",
"for (int i = count-1; i >= 0 ; i-- ) {\n if ( builder.length() != 0 ) {\n builder.append(\" \");\n }\n builder\n .append(Integer.parseInt(columns[i]));\n }",
"int i = count-1;",
"int i = count-1;",
"i",
"count-1",
"count",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n if ( builder.length() != 0 ) {\n builder.append(\" \");\n }\n builder\n .append(Integer.parseInt(columns[i]));\n }",
"{\n if ( builder.length() != 0 ) {\n builder.append(\" \");\n }\n builder\n .append(Integer.parseInt(columns[i]));\n }",
"if ( builder.length() != 0 ) {\n builder.append(\" \");\n }",
"builder.length() != 0",
"builder.length()",
"builder.length",
"builder",
"0",
"{\n builder.append(\" \");\n }",
"builder.append(\" \")",
"builder.append",
"builder",
"\" \"",
"builder\n .append(Integer.parseInt(columns[i]))",
"builder\n .append",
"builder",
"Integer.parseInt(columns[i])",
"Integer.parseInt",
"Integer",
"columns[i]",
"columns",
"i",
"System.out.println(builder)",
"System.out.println",
"System.out",
"System",
"System.out",
"builder",
"String[] args",
"args",
"public class Main {\n public static void main (String[] args) throws IOException {\n \n BufferedReader reader = new BufferedReader (new InputStreamReader (System.in));\n StringBuilder builder = new StringBuilder();\n\n String line = reader.readLine();\n int count = Integer.parseInt(line);\n\n line = reader.readLine();\n String[] columns = line.split(\" \");\n int[] numbers = new int[count];\n for (int i = count-1; i >= 0 ; i-- ) {\n if ( builder.length() != 0 ) {\n builder.append(\" \");\n }\n builder\n .append(Integer.parseInt(columns[i]));\n }\n System.out.println(builder);\n }\n}",
"public class Main {\n public static void main (String[] args) throws IOException {\n \n BufferedReader reader = new BufferedReader (new InputStreamReader (System.in));\n StringBuilder builder = new StringBuilder();\n\n String line = reader.readLine();\n int count = Integer.parseInt(line);\n\n line = reader.readLine();\n String[] columns = line.split(\" \");\n int[] numbers = new int[count];\n for (int i = count-1; i >= 0 ; i-- ) {\n if ( builder.length() != 0 ) {\n builder.append(\" \");\n }\n builder\n .append(Integer.parseInt(columns[i]));\n }\n System.out.println(builder);\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 reader = new BufferedReader (new InputStreamReader (System.in));
StringBuilder builder = new StringBuilder();
String line = reader.readLine();
int count = Integer.parseInt(line);
line = reader.readLine();
String[] columns = line.split(" ");
int[] numbers = new int[count];
for (int i = count-1; i >= 0 ; i-- ) {
if ( builder.length() != 0 ) {
builder.append(" ");
}
builder
.append(Integer.parseInt(columns[i]));
}
System.out.println(builder);
}
} |
[
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,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
17,
18,
13,
2,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
94,
11
],
[
94,
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
],
[
18,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
28,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
28,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
28,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
28,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
58,
65
],
[
65,
66
],
[
65,
67
],
[
58,
68
],
[
68,
69
],
[
69,
70
],
[
58,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
28,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
12,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
] | [
"import java.io.BufferedReader;\nimport java.io.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 try {\n int num = Integer.parseInt(br.readLine());\n String ary = br.readLine();\n String[] ar = ary.split(\" \");\n System.out.print(ar[num-1]);\n for (int i=num-1; i>0; i--) {\n System.out.print(\" \" + ar[i-1]);\n }\n System.out.println(\"\");\n } catch (IOException e) {\n System.out.println(e);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n int num = Integer.parseInt(br.readLine());\n String ary = br.readLine();\n String[] ar = ary.split(\" \");\n System.out.print(ar[num-1]);\n for (int i=num-1; i>0; i--) {\n System.out.print(\" \" + ar[i-1]);\n }\n System.out.println(\"\");\n } catch (IOException e) {\n System.out.println(e);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n int num = Integer.parseInt(br.readLine());\n String ary = br.readLine();\n String[] ar = ary.split(\" \");\n System.out.print(ar[num-1]);\n for (int i=num-1; i>0; i--) {\n System.out.print(\" \" + ar[i-1]);\n }\n System.out.println(\"\");\n } catch (IOException e) {\n System.out.println(e);\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n int num = Integer.parseInt(br.readLine());\n String ary = br.readLine();\n String[] ar = ary.split(\" \");\n System.out.print(ar[num-1]);\n for (int i=num-1; i>0; i--) {\n System.out.print(\" \" + ar[i-1]);\n }\n System.out.println(\"\");\n } catch (IOException e) {\n System.out.println(e);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n int num = Integer.parseInt(br.readLine());\n String ary = br.readLine();\n String[] ar = ary.split(\" \");\n System.out.print(ar[num-1]);\n for (int i=num-1; i>0; i--) {\n System.out.print(\" \" + ar[i-1]);\n }\n System.out.println(\"\");\n } catch (IOException e) {\n System.out.println(e);\n }",
"catch (IOException e) {\n System.out.println(e);\n }",
"IOException e",
"{\n System.out.println(e);\n }",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n int num = Integer.parseInt(br.readLine());\n String ary = br.readLine();\n String[] ar = ary.split(\" \");\n System.out.print(ar[num-1]);\n for (int i=num-1; i>0; i--) {\n System.out.print(\" \" + ar[i-1]);\n }\n System.out.println(\"\");\n }",
"int num = Integer.parseInt(br.readLine());",
"num",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"String ary = br.readLine();",
"ary",
"br.readLine()",
"br.readLine",
"br",
"String[] ar = ary.split(\" \");",
"ar",
"ary.split(\" \")",
"ary.split",
"ary",
"\" \"",
"System.out.print(ar[num-1])",
"System.out.print",
"System.out",
"System",
"System.out",
"ar[num-1]",
"ar",
"num-1",
"num",
"1",
"for (int i=num-1; i>0; i--) {\n System.out.print(\" \" + ar[i-1]);\n }",
"int i=num-1;",
"int i=num-1;",
"i",
"num-1",
"num",
"1",
"i>0",
"i",
"0",
"i--",
"i--",
"i",
"{\n System.out.print(\" \" + ar[i-1]);\n }",
"{\n System.out.print(\" \" + ar[i-1]);\n }",
"System.out.print(\" \" + ar[i-1])",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \" + ar[i-1]",
"\" \"",
"ar[i-1]",
"ar",
"i-1",
"i",
"1",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n int num = Integer.parseInt(br.readLine());\n String ary = br.readLine();\n String[] ar = ary.split(\" \");\n System.out.print(ar[num-1]);\n for (int i=num-1; i>0; i--) {\n System.out.print(\" \" + ar[i-1]);\n }\n System.out.println(\"\");\n } catch (IOException e) {\n System.out.println(e);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n int num = Integer.parseInt(br.readLine());\n String ary = br.readLine();\n String[] ar = ary.split(\" \");\n System.out.print(ar[num-1]);\n for (int i=num-1; i>0; i--) {\n System.out.print(\" \" + ar[i-1]);\n }\n System.out.println(\"\");\n } catch (IOException e) {\n System.out.println(e);\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try {
int num = Integer.parseInt(br.readLine());
String ary = br.readLine();
String[] ar = ary.split(" ");
System.out.print(ar[num-1]);
for (int i=num-1; i>0; i--) {
System.out.print(" " + ar[i-1]);
}
System.out.println("");
} catch (IOException e) {
System.out.println(e);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
83,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
11,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
41,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
11,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
83,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
74,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tScanner scan = new Scanner(System.in);\n\tvoid run() {\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\n\t\tfor(int i = n - 1; i > 0; i--) {\n\t\t\tSystem.out.print(a[i] + \" \");\n\t\t}\n\t\tSystem.out.println(a[0]);\n\t}\n\tpublic static void main(String[] args) {\n\t\t//TODO Auto-generated method stub\n\t\tnew Main().run();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tScanner scan = new Scanner(System.in);\n\tvoid run() {\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\n\t\tfor(int i = n - 1; i > 0; i--) {\n\t\t\tSystem.out.print(a[i] + \" \");\n\t\t}\n\t\tSystem.out.println(a[0]);\n\t}\n\tpublic static void main(String[] args) {\n\t\t//TODO Auto-generated method stub\n\t\tnew Main().run();\n\t}\n\n}",
"Main",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"void run() {\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\n\t\tfor(int i = n - 1; i > 0; i--) {\n\t\t\tSystem.out.print(a[i] + \" \");\n\t\t}\n\t\tSystem.out.println(a[0]);\n\t}",
"run",
"{\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\n\t\tfor(int i = n - 1; i > 0; i--) {\n\t\t\tSystem.out.print(a[i] + \" \");\n\t\t}\n\t\tSystem.out.println(a[0]);\n\t}",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = scan.nextInt();\n\t\t}",
"{\n\t\t\ta[i] = scan.nextInt();\n\t\t}",
"a[i] = scan.nextInt()",
"a[i]",
"a",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(int i = n - 1; i > 0; i--) {\n\t\t\tSystem.out.print(a[i] + \" \");\n\t\t}",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(a[i] + \" \");\n\t\t}",
"{\n\t\t\tSystem.out.print(a[i] + \" \");\n\t\t}",
"System.out.print(a[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i] + \" \"",
"a[i]",
"a",
"i",
"\" \"",
"System.out.println(a[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[0]",
"a",
"0",
"public static void main(String[] args) {\n\t\t//TODO Auto-generated method stub\n\t\tnew Main().run();\n\t}",
"main",
"{\n\t\t//TODO Auto-generated method stub\n\t\tnew Main().run();\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tScanner scan = new Scanner(System.in);\n\tvoid run() {\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\n\t\tfor(int i = n - 1; i > 0; i--) {\n\t\t\tSystem.out.print(a[i] + \" \");\n\t\t}\n\t\tSystem.out.println(a[0]);\n\t}\n\tpublic static void main(String[] args) {\n\t\t//TODO Auto-generated method stub\n\t\tnew Main().run();\n\t}\n\n}",
"public class Main {\n\tScanner scan = new Scanner(System.in);\n\tvoid run() {\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\n\t\tfor(int i = n - 1; i > 0; i--) {\n\t\t\tSystem.out.print(a[i] + \" \");\n\t\t}\n\t\tSystem.out.println(a[0]);\n\t}\n\tpublic static void main(String[] args) {\n\t\t//TODO Auto-generated method stub\n\t\tnew Main().run();\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
Scanner scan = new Scanner(System.in);
void run() {
int n = scan.nextInt();
int[] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = scan.nextInt();
}
for(int i = n - 1; i > 0; i--) {
System.out.print(a[i] + " ");
}
System.out.println(a[0]);
}
public static void main(String[] args) {
//TODO Auto-generated method stub
new Main().run();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
80,
5
],
[
80,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
40,
47
],
[
47,
48
],
[
47,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
55,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.util.*;\npublic class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint n = input.nextInt();\n\t\tint[] arr = new int[n];\n\t\tfor(int i = 0; i < n; i++)\n\t\t\tarr[i] = input.nextInt();\n\t\tfor(int i = n-1; i >= 0; i--)\n\t\t{\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(arr[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(arr[i] + \" \");\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint n = input.nextInt();\n\t\tint[] arr = new int[n];\n\t\tfor(int i = 0; i < n; i++)\n\t\t\tarr[i] = input.nextInt();\n\t\tfor(int i = n-1; i >= 0; i--)\n\t\t{\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(arr[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(arr[i] + \" \");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint n = input.nextInt();\n\t\tint[] arr = new int[n];\n\t\tfor(int i = 0; i < n; i++)\n\t\t\tarr[i] = input.nextInt();\n\t\tfor(int i = n-1; i >= 0; i--)\n\t\t{\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(arr[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(arr[i] + \" \");\n\t\t}\n\t}",
"main",
"{\n\t\tScanner input = new Scanner(System.in);\n\t\tint n = input.nextInt();\n\t\tint[] arr = new int[n];\n\t\tfor(int i = 0; i < n; i++)\n\t\t\tarr[i] = input.nextInt();\n\t\tfor(int i = n-1; i >= 0; i--)\n\t\t{\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(arr[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(arr[i] + \" \");\n\t\t}\n\t}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"int n = input.nextInt();",
"n",
"input.nextInt()",
"input.nextInt",
"input",
"int[] arr = new int[n];",
"arr",
"new int[n]",
"n",
"for(int i = 0; i < n; i++)\n\t\t\tarr[i] = input.nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"arr[i] = input.nextInt();",
"arr[i] = input.nextInt()",
"arr[i]",
"arr",
"i",
"input.nextInt()",
"input.nextInt",
"input",
"for(int i = n-1; i >= 0; i--)\n\t\t{\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(arr[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(arr[i] + \" \");\n\t\t}",
"int i = n-1;",
"int i = n-1;",
"i",
"n-1",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(arr[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(arr[i] + \" \");\n\t\t}",
"{\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(arr[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(arr[i] + \" \");\n\t\t}",
"if(i == 0)\n\t\t\t\tSystem.out.println(arr[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(arr[i] + \" \");",
"i == 0",
"i",
"0",
"System.out.println(arr[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"arr[i]",
"arr",
"i",
"System.out.print(arr[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"arr[i] + \" \"",
"arr[i]",
"arr",
"i",
"\" \"",
"String args[]",
"args",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint n = input.nextInt();\n\t\tint[] arr = new int[n];\n\t\tfor(int i = 0; i < n; i++)\n\t\t\tarr[i] = input.nextInt();\n\t\tfor(int i = n-1; i >= 0; i--)\n\t\t{\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(arr[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(arr[i] + \" \");\n\t\t}\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint n = input.nextInt();\n\t\tint[] arr = new int[n];\n\t\tfor(int i = 0; i < n; i++)\n\t\t\tarr[i] = input.nextInt();\n\t\tfor(int i = n-1; i >= 0; i--)\n\t\t{\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(arr[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(arr[i] + \" \");\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
public class Main
{
public static void main(String args[])
{
Scanner input = new Scanner(System.in);
int n = input.nextInt();
int[] arr = new int[n];
for(int i = 0; i < n; i++)
arr[i] = input.nextInt();
for(int i = n-1; i >= 0; i--)
{
if(i == 0)
System.out.println(arr[i]);
else
System.out.print(arr[i] + " ");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
20,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
13,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
100,
5
],
[
100,
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
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
25,
32
],
[
32,
33
],
[
32,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
8,
47
],
[
47,
48
],
[
47,
49
],
[
47,
50
],
[
6,
51
],
[
51,
52
],
[
100,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
65,
66
],
[
56,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
68,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
77,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
55,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
53,
95
],
[
95,
96
],
[
53,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int[] A;\n int n;\n n = sc.nextInt();\n A = new int[n];\n\n for(int i=n-1;i>=0;--i){\n A[i] = sc.nextInt();\n }\n print(A, n);\n }\n\n public static void print(int A[], int n){\n for(int i=0;i<n;++i){\n System.out.print(A[i]);\n if(i<n-1){System.out.print(\" \");}\n }\n System.out.println();\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int[] A;\n int n;\n n = sc.nextInt();\n A = new int[n];\n\n for(int i=n-1;i>=0;--i){\n A[i] = sc.nextInt();\n }\n print(A, n);\n }\n\n public static void print(int A[], int n){\n for(int i=0;i<n;++i){\n System.out.print(A[i]);\n if(i<n-1){System.out.print(\" \");}\n }\n System.out.println();\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int[] A;\n int n;\n n = sc.nextInt();\n A = new int[n];\n\n for(int i=n-1;i>=0;--i){\n A[i] = sc.nextInt();\n }\n print(A, n);\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n int[] A;\n int n;\n n = sc.nextInt();\n A = new int[n];\n\n for(int i=n-1;i>=0;--i){\n A[i] = sc.nextInt();\n }\n print(A, n);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] A;",
"A",
"int n;",
"n",
"n = sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"A = new int[n]",
"A",
"new int[n]",
"n",
"for(int i=n-1;i>=0;--i){\n A[i] = sc.nextInt();\n }",
"int i=n-1;",
"int i=n-1;",
"i",
"n-1",
"n",
"1",
"i>=0",
"i",
"0",
"--i",
"--i",
"i",
"{\n A[i] = sc.nextInt();\n }",
"{\n A[i] = sc.nextInt();\n }",
"A[i] = sc.nextInt()",
"A[i]",
"A",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"print(A, n)",
"print",
"A",
"n",
"String[] args",
"args",
"public static void print(int A[], int n){\n for(int i=0;i<n;++i){\n System.out.print(A[i]);\n if(i<n-1){System.out.print(\" \");}\n }\n System.out.println();\n }",
"print",
"{\n for(int i=0;i<n;++i){\n System.out.print(A[i]);\n if(i<n-1){System.out.print(\" \");}\n }\n System.out.println();\n }",
"for(int i=0;i<n;++i){\n System.out.print(A[i]);\n if(i<n-1){System.out.print(\" \");}\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"++i",
"++i",
"i",
"{\n System.out.print(A[i]);\n if(i<n-1){System.out.print(\" \");}\n }",
"{\n System.out.print(A[i]);\n if(i<n-1){System.out.print(\" \");}\n }",
"System.out.print(A[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"A[i]",
"A",
"i",
"if(i<n-1){System.out.print(\" \");}",
"i<n-1",
"i",
"n-1",
"n",
"1",
"{System.out.print(\" \");}",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"int A[]",
"A",
"int n",
"n",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int[] A;\n int n;\n n = sc.nextInt();\n A = new int[n];\n\n for(int i=n-1;i>=0;--i){\n A[i] = sc.nextInt();\n }\n print(A, n);\n }\n\n public static void print(int A[], int n){\n for(int i=0;i<n;++i){\n System.out.print(A[i]);\n if(i<n-1){System.out.print(\" \");}\n }\n System.out.println();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int[] A;\n int n;\n n = sc.nextInt();\n A = new int[n];\n\n for(int i=n-1;i>=0;--i){\n A[i] = sc.nextInt();\n }\n print(A, n);\n }\n\n public static void print(int A[], int n){\n for(int i=0;i<n;++i){\n System.out.print(A[i]);\n if(i<n-1){System.out.print(\" \");}\n }\n System.out.println();\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] A;
int n;
n = sc.nextInt();
A = new int[n];
for(int i=n-1;i>=0;--i){
A[i] = sc.nextInt();
}
print(A, n);
}
public static void print(int A[], int n){
for(int i=0;i<n;++i){
System.out.print(A[i]);
if(i<n-1){System.out.print(" ");}
}
System.out.println();
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
13,
12,
13,
30,
4,
18,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
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
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
25,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
59,
66
],
[
66,
67
],
[
66,
68
],
[
59,
69
],
[
69,
70
],
[
70,
71
],
[
59,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
78,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
88,
90
],
[
78,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
25,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
96,
106
],
[
106,
107
],
[
107,
108
],
[
96,
109
],
[
110,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
25,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
121,
126
],
[
126,
127
],
[
126,
128
],
[
4,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
129,
135
],
[
135,
136
]
] | [
"import java.util.Scanner;\nclass Main {\n\tprivate static int[] k = new int[101];\n\tpublic void kami() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tif(n <= 100){\n\t\t\tfor(int x = 1; x <= n; x++){\n\t\t\t\t k[x] = sc.nextInt();\n\t\t\t}\n\t\t\tfor(int i = n; i >= 2; i--){\n\t\t\t\tfor(int j = n - 1; j >= 1; j--){\n\t\t\t\t\tif(j < i){\n\t\t\t\t\t\tint work = k[j];\n\t\t\t\t\t\tk[j] = k[i];\n\t\t\t\t\t\tk[i] = work;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 1; i <= n - 1; i++){\n\t\t\t\tSystem.out.print(k[i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(k[n]);\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\n\t\tnew Main().kami();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tprivate static int[] k = new int[101];\n\tpublic void kami() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tif(n <= 100){\n\t\t\tfor(int x = 1; x <= n; x++){\n\t\t\t\t k[x] = sc.nextInt();\n\t\t\t}\n\t\t\tfor(int i = n; i >= 2; i--){\n\t\t\t\tfor(int j = n - 1; j >= 1; j--){\n\t\t\t\t\tif(j < i){\n\t\t\t\t\t\tint work = k[j];\n\t\t\t\t\t\tk[j] = k[i];\n\t\t\t\t\t\tk[i] = work;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 1; i <= n - 1; i++){\n\t\t\t\tSystem.out.print(k[i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(k[n]);\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\n\t\tnew Main().kami();\n\t}\n\n}",
"Main",
"private static int[] k = new int[101];",
"k",
"new int[101]",
"101",
"public void kami() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tif(n <= 100){\n\t\t\tfor(int x = 1; x <= n; x++){\n\t\t\t\t k[x] = sc.nextInt();\n\t\t\t}\n\t\t\tfor(int i = n; i >= 2; i--){\n\t\t\t\tfor(int j = n - 1; j >= 1; j--){\n\t\t\t\t\tif(j < i){\n\t\t\t\t\t\tint work = k[j];\n\t\t\t\t\t\tk[j] = k[i];\n\t\t\t\t\t\tk[i] = work;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 1; i <= n - 1; i++){\n\t\t\t\tSystem.out.print(k[i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(k[n]);\n\t\t}\n\t}",
"kami",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tif(n <= 100){\n\t\t\tfor(int x = 1; x <= n; x++){\n\t\t\t\t k[x] = sc.nextInt();\n\t\t\t}\n\t\t\tfor(int i = n; i >= 2; i--){\n\t\t\t\tfor(int j = n - 1; j >= 1; j--){\n\t\t\t\t\tif(j < i){\n\t\t\t\t\t\tint work = k[j];\n\t\t\t\t\t\tk[j] = k[i];\n\t\t\t\t\t\tk[i] = work;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 1; i <= n - 1; i++){\n\t\t\t\tSystem.out.print(k[i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(k[n]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n <= 100){\n\t\t\tfor(int x = 1; x <= n; x++){\n\t\t\t\t k[x] = sc.nextInt();\n\t\t\t}\n\t\t\tfor(int i = n; i >= 2; i--){\n\t\t\t\tfor(int j = n - 1; j >= 1; j--){\n\t\t\t\t\tif(j < i){\n\t\t\t\t\t\tint work = k[j];\n\t\t\t\t\t\tk[j] = k[i];\n\t\t\t\t\t\tk[i] = work;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 1; i <= n - 1; i++){\n\t\t\t\tSystem.out.print(k[i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(k[n]);\n\t\t}",
"n <= 100",
"n",
"100",
"{\n\t\t\tfor(int x = 1; x <= n; x++){\n\t\t\t\t k[x] = sc.nextInt();\n\t\t\t}\n\t\t\tfor(int i = n; i >= 2; i--){\n\t\t\t\tfor(int j = n - 1; j >= 1; j--){\n\t\t\t\t\tif(j < i){\n\t\t\t\t\t\tint work = k[j];\n\t\t\t\t\t\tk[j] = k[i];\n\t\t\t\t\t\tk[i] = work;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 1; i <= n - 1; i++){\n\t\t\t\tSystem.out.print(k[i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(k[n]);\n\t\t}",
"for(int x = 1; x <= n; x++){\n\t\t\t\t k[x] = sc.nextInt();\n\t\t\t}",
"int x = 1;",
"int x = 1;",
"x",
"1",
"x <= n",
"x",
"n",
"x++",
"x++",
"x",
"{\n\t\t\t\t k[x] = sc.nextInt();\n\t\t\t}",
"{\n\t\t\t\t k[x] = sc.nextInt();\n\t\t\t}",
"k[x] = sc.nextInt()",
"k[x]",
"k",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i = n; i >= 2; i--){\n\t\t\t\tfor(int j = n - 1; j >= 1; j--){\n\t\t\t\t\tif(j < i){\n\t\t\t\t\t\tint work = k[j];\n\t\t\t\t\t\tk[j] = k[i];\n\t\t\t\t\t\tk[i] = work;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"int i = n;",
"int i = n;",
"i",
"n",
"i >= 2",
"i",
"2",
"i--",
"i--",
"i",
"{\n\t\t\t\tfor(int j = n - 1; j >= 1; j--){\n\t\t\t\t\tif(j < i){\n\t\t\t\t\t\tint work = k[j];\n\t\t\t\t\t\tk[j] = k[i];\n\t\t\t\t\t\tk[i] = work;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tfor(int j = n - 1; j >= 1; j--){\n\t\t\t\t\tif(j < i){\n\t\t\t\t\t\tint work = k[j];\n\t\t\t\t\t\tk[j] = k[i];\n\t\t\t\t\t\tk[i] = work;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"for(int j = n - 1; j >= 1; j--){\n\t\t\t\t\tif(j < i){\n\t\t\t\t\t\tint work = k[j];\n\t\t\t\t\t\tk[j] = k[i];\n\t\t\t\t\t\tk[i] = work;\n\t\t\t\t\t}\n\t\t\t\t}",
"int j = n - 1;",
"int j = n - 1;",
"j",
"n - 1",
"n",
"1",
"j >= 1",
"j",
"1",
"j--",
"j--",
"j",
"{\n\t\t\t\t\tif(j < i){\n\t\t\t\t\t\tint work = k[j];\n\t\t\t\t\t\tk[j] = k[i];\n\t\t\t\t\t\tk[i] = work;\n\t\t\t\t\t}\n\t\t\t\t}",
"{\n\t\t\t\t\tif(j < i){\n\t\t\t\t\t\tint work = k[j];\n\t\t\t\t\t\tk[j] = k[i];\n\t\t\t\t\t\tk[i] = work;\n\t\t\t\t\t}\n\t\t\t\t}",
"if(j < i){\n\t\t\t\t\t\tint work = k[j];\n\t\t\t\t\t\tk[j] = k[i];\n\t\t\t\t\t\tk[i] = work;\n\t\t\t\t\t}",
"j < i",
"j",
"i",
"{\n\t\t\t\t\t\tint work = k[j];\n\t\t\t\t\t\tk[j] = k[i];\n\t\t\t\t\t\tk[i] = work;\n\t\t\t\t\t}",
"int work = k[j];",
"work",
"k[j]",
"k",
"j",
"k[j] = k[i]",
"k[j]",
"k",
"j",
"k[i]",
"k",
"i",
"k[i] = work",
"k[i]",
"k",
"i",
"work",
"for(int i = 1; i <= n - 1; i++){\n\t\t\t\tSystem.out.print(k[i] + \" \");\n\t\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= n - 1",
"i",
"n - 1",
"n",
"1",
"i++",
"i++",
"i",
"{\n\t\t\t\tSystem.out.print(k[i] + \" \");\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print(k[i] + \" \");\n\t\t\t}",
"System.out.print(k[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"k[i] + \" \"",
"k[i]",
"k",
"i",
"\" \"",
"System.out.println(k[n])",
"System.out.println",
"System.out",
"System",
"System.out",
"k[n]",
"k",
"n",
"public static void main(String[] args) {\n\n\t\tnew Main().kami();\n\t}",
"main",
"{\n\n\t\tnew Main().kami();\n\t}",
"new Main().kami()",
"new Main().kami",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
private static int[] k = new int[101];
public void kami() {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
if(n <= 100){
for(int x = 1; x <= n; x++){
k[x] = sc.nextInt();
}
for(int i = n; i >= 2; i--){
for(int j = n - 1; j >= 1; j--){
if(j < i){
int work = k[j];
k[j] = k[i];
k[i] = work;
}
}
}
for(int i = 1; i <= n - 1; i++){
System.out.print(k[i] + " ");
}
System.out.println(k[n]);
}
}
public static void main(String[] args) {
new Main().kami();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
77,
5
],
[
77,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
41,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
8,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
6,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
] | [
"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 n = scan.nextInt();\n\t\tint[] arr = new int[n];\n\t\t\n\t\t//???????????´??°????´?\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tarr[i] = scan.nextInt();\n\t\t}\n\t\t//??????????????????????´?????????¨????????????????????????\n\t\tfor(int j=n-1; j>0; j--) {\n\t\t\tSystem.out.print(arr[j] + \" \");\n\t\t}\n\t\tSystem.out.println(arr[0]);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] arr = new int[n];\n\t\t\n\t\t//???????????´??°????´?\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tarr[i] = scan.nextInt();\n\t\t}\n\t\t//??????????????????????´?????????¨????????????????????????\n\t\tfor(int j=n-1; j>0; j--) {\n\t\t\tSystem.out.print(arr[j] + \" \");\n\t\t}\n\t\tSystem.out.println(arr[0]);\n }\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] arr = new int[n];\n\t\t\n\t\t//???????????´??°????´?\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tarr[i] = scan.nextInt();\n\t\t}\n\t\t//??????????????????????´?????????¨????????????????????????\n\t\tfor(int j=n-1; j>0; j--) {\n\t\t\tSystem.out.print(arr[j] + \" \");\n\t\t}\n\t\tSystem.out.println(arr[0]);\n }",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] arr = new int[n];\n\t\t\n\t\t//???????????´??°????´?\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tarr[i] = scan.nextInt();\n\t\t}\n\t\t//??????????????????????´?????????¨????????????????????????\n\t\tfor(int j=n-1; j>0; j--) {\n\t\t\tSystem.out.print(arr[j] + \" \");\n\t\t}\n\t\tSystem.out.println(arr[0]);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] arr = new int[n];",
"arr",
"new int[n]",
"n",
"for(int i=0; i<n; i++) {\n\t\t\tarr[i] = scan.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tarr[i] = scan.nextInt();\n\t\t}",
"{\n\t\t\tarr[i] = scan.nextInt();\n\t\t}",
"arr[i] = scan.nextInt()",
"arr[i]",
"arr",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(int j=n-1; j>0; j--) {\n\t\t\tSystem.out.print(arr[j] + \" \");\n\t\t}",
"int j=n-1;",
"int j=n-1;",
"j",
"n-1",
"n",
"1",
"j>0",
"j",
"0",
"j--",
"j--",
"j",
"{\n\t\t\tSystem.out.print(arr[j] + \" \");\n\t\t}",
"{\n\t\t\tSystem.out.print(arr[j] + \" \");\n\t\t}",
"System.out.print(arr[j] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"arr[j] + \" \"",
"arr[j]",
"arr",
"j",
"\" \"",
"System.out.println(arr[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"arr[0]",
"arr",
"0",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] arr = new int[n];\n\t\t\n\t\t//???????????´??°????´?\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tarr[i] = scan.nextInt();\n\t\t}\n\t\t//??????????????????????´?????????¨????????????????????????\n\t\tfor(int j=n-1; j>0; j--) {\n\t\t\tSystem.out.print(arr[j] + \" \");\n\t\t}\n\t\tSystem.out.println(arr[0]);\n }\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] arr = new int[n];\n\t\t\n\t\t//???????????´??°????´?\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tarr[i] = scan.nextInt();\n\t\t}\n\t\t//??????????????????????´?????????¨????????????????????????\n\t\tfor(int j=n-1; j>0; j--) {\n\t\t\tSystem.out.print(arr[j] + \" \");\n\t\t}\n\t\tSystem.out.println(arr[0]);\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int[] arr = new int[n];
//???????????´??°????´?
for(int i=0; i<n; i++) {
arr[i] = scan.nextInt();
}
//??????????????????????´?????????¨????????????????????????
for(int j=n-1; j>0; j--) {
System.out.print(arr[j] + " ");
}
System.out.println(arr[0]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
20,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
14,
2,
13,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
108,
11
],
[
108,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
14,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
37,
47
],
[
47,
48
],
[
48,
49
],
[
37,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
14,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
14,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
60,
70
],
[
70,
71
],
[
71,
72
],
[
60,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
74,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
87,
91
],
[
84,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
84,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
12,
105
],
[
105,
106
],
[
0,
107
],
[
107,
108
],
[
107,
109
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String line2 = br.readLine();\n String[] ary = line2.split(\" \");\n List<Integer> list = new ArrayList<Integer>();\n for(int i=0;i<ary.length;i++) {\n list.add(new Integer(ary[i]));\n }\n Collections.reverse(list);\n for(int i=0;i<list.size();i++) {\n System.out.print(list.get(i));\n if(i==list.size()-1) {\n System.out.println();\n }else {\n System.out.print(\" \");\n }\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String line2 = br.readLine();\n String[] ary = line2.split(\" \");\n List<Integer> list = new ArrayList<Integer>();\n for(int i=0;i<ary.length;i++) {\n list.add(new Integer(ary[i]));\n }\n Collections.reverse(list);\n for(int i=0;i<list.size();i++) {\n System.out.print(list.get(i));\n if(i==list.size()-1) {\n System.out.println();\n }else {\n System.out.print(\" \");\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String line2 = br.readLine();\n String[] ary = line2.split(\" \");\n List<Integer> list = new ArrayList<Integer>();\n for(int i=0;i<ary.length;i++) {\n list.add(new Integer(ary[i]));\n }\n Collections.reverse(list);\n for(int i=0;i<list.size();i++) {\n System.out.print(list.get(i));\n if(i==list.size()-1) {\n System.out.println();\n }else {\n System.out.print(\" \");\n }\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String line2 = br.readLine();\n String[] ary = line2.split(\" \");\n List<Integer> list = new ArrayList<Integer>();\n for(int i=0;i<ary.length;i++) {\n list.add(new Integer(ary[i]));\n }\n Collections.reverse(list);\n for(int i=0;i<list.size();i++) {\n System.out.print(list.get(i));\n if(i==list.size()-1) {\n System.out.println();\n }else {\n System.out.print(\" \");\n }\n }\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 line2 = br.readLine();",
"line2",
"br.readLine()",
"br.readLine",
"br",
"String[] ary = line2.split(\" \");",
"ary",
"line2.split(\" \")",
"line2.split",
"line2",
"\" \"",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"for(int i=0;i<ary.length;i++) {\n list.add(new Integer(ary[i]));\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<ary.length",
"i",
"ary.length",
"ary",
"ary.length",
"i++",
"i++",
"i",
"{\n list.add(new Integer(ary[i]));\n }",
"{\n list.add(new Integer(ary[i]));\n }",
"list.add(new Integer(ary[i]))",
"list.add",
"list",
"new Integer(ary[i])",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"for(int i=0;i<list.size();i++) {\n System.out.print(list.get(i));\n if(i==list.size()-1) {\n System.out.println();\n }else {\n System.out.print(\" \");\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n System.out.print(list.get(i));\n if(i==list.size()-1) {\n System.out.println();\n }else {\n System.out.print(\" \");\n }\n }",
"{\n System.out.print(list.get(i));\n if(i==list.size()-1) {\n System.out.println();\n }else {\n System.out.print(\" \");\n }\n }",
"System.out.print(list.get(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"list.get(i)",
"list.get",
"list",
"i",
"if(i==list.size()-1) {\n System.out.println();\n }else {\n System.out.print(\" \");\n }",
"i==list.size()-1",
"i",
"list.size()-1",
"list.size()",
"list.size",
"list",
"1",
"{\n System.out.println();\n }",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"{\n System.out.print(\" \");\n }",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String line2 = br.readLine();\n String[] ary = line2.split(\" \");\n List<Integer> list = new ArrayList<Integer>();\n for(int i=0;i<ary.length;i++) {\n list.add(new Integer(ary[i]));\n }\n Collections.reverse(list);\n for(int i=0;i<list.size();i++) {\n System.out.print(list.get(i));\n if(i==list.size()-1) {\n System.out.println();\n }else {\n System.out.print(\" \");\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String line2 = br.readLine();\n String[] ary = line2.split(\" \");\n List<Integer> list = new ArrayList<Integer>();\n for(int i=0;i<ary.length;i++) {\n list.add(new Integer(ary[i]));\n }\n Collections.reverse(list);\n for(int i=0;i<list.size();i++) {\n System.out.print(list.get(i));\n if(i==list.size()-1) {\n System.out.println();\n }else {\n System.out.print(\" \");\n }\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
String line2 = br.readLine();
String[] ary = line2.split(" ");
List<Integer> list = new ArrayList<Integer>();
for(int i=0;i<ary.length;i++) {
list.add(new Integer(ary[i]));
}
Collections.reverse(list);
for(int i=0;i<list.size();i++) {
System.out.print(list.get(i));
if(i==list.size()-1) {
System.out.println();
}else {
System.out.print(" ");
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
13,
2,
4,
18,
13,
13,
17,
4,
18,
13,
2,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
92,
11
],
[
92,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
14,
45
],
[
45,
46
],
[
45,
47
],
[
14,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
52,
56
],
[
48,
57
],
[
57,
58
],
[
57,
59
],
[
48,
60
],
[
60,
61
],
[
61,
62
],
[
48,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
67,
72
],
[
14,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
76,
80
],
[
14,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
87,
88
],
[
12,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\n/**\n * Created by khrom on 2017/06/29.\n */\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n List<String> nums = new ArrayList<>();\n int index = scanner.nextInt();\n for (int i = 0; i < index; i++) {\n nums.add(scanner.next());\n }\n StringBuilder strb = new StringBuilder();\n for (int i = nums.size() - 1; i >= 0; i--) strb.append(nums.get(i) + \" \");\n strb.deleteCharAt(strb.length() - 1);\n System.out.println(strb.toString());\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n List<String> nums = new ArrayList<>();\n int index = scanner.nextInt();\n for (int i = 0; i < index; i++) {\n nums.add(scanner.next());\n }\n StringBuilder strb = new StringBuilder();\n for (int i = nums.size() - 1; i >= 0; i--) strb.append(nums.get(i) + \" \");\n strb.deleteCharAt(strb.length() - 1);\n System.out.println(strb.toString());\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n List<String> nums = new ArrayList<>();\n int index = scanner.nextInt();\n for (int i = 0; i < index; i++) {\n nums.add(scanner.next());\n }\n StringBuilder strb = new StringBuilder();\n for (int i = nums.size() - 1; i >= 0; i--) strb.append(nums.get(i) + \" \");\n strb.deleteCharAt(strb.length() - 1);\n System.out.println(strb.toString());\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n List<String> nums = new ArrayList<>();\n int index = scanner.nextInt();\n for (int i = 0; i < index; i++) {\n nums.add(scanner.next());\n }\n StringBuilder strb = new StringBuilder();\n for (int i = nums.size() - 1; i >= 0; i--) strb.append(nums.get(i) + \" \");\n strb.deleteCharAt(strb.length() - 1);\n System.out.println(strb.toString());\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"List<String> nums = new ArrayList<>();",
"nums",
"new ArrayList<>()",
"int index = scanner.nextInt();",
"index",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"for (int i = 0; i < index; i++) {\n nums.add(scanner.next());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < index",
"i",
"index",
"i++",
"i++",
"i",
"{\n nums.add(scanner.next());\n }",
"{\n nums.add(scanner.next());\n }",
"nums.add(scanner.next())",
"nums.add",
"nums",
"scanner.next()",
"scanner.next",
"scanner",
"StringBuilder strb = new StringBuilder();",
"strb",
"new StringBuilder()",
"for (int i = nums.size() - 1; i >= 0; i--) strb.append(nums.get(i) + \" \");",
"int i = nums.size() - 1;",
"int i = nums.size() - 1;",
"i",
"nums.size() - 1",
"nums.size()",
"nums.size",
"nums",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"strb.append(nums.get(i) + \" \");",
"strb.append(nums.get(i) + \" \")",
"strb.append",
"strb",
"nums.get(i) + \" \"",
"nums.get(i)",
"nums.get",
"nums",
"i",
"\" \"",
"strb.deleteCharAt(strb.length() - 1)",
"strb.deleteCharAt",
"strb",
"strb.length() - 1",
"strb.length()",
"strb.length",
"strb",
"1",
"System.out.println(strb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"strb.toString()",
"strb.toString",
"strb",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n List<String> nums = new ArrayList<>();\n int index = scanner.nextInt();\n for (int i = 0; i < index; i++) {\n nums.add(scanner.next());\n }\n StringBuilder strb = new StringBuilder();\n for (int i = nums.size() - 1; i >= 0; i--) strb.append(nums.get(i) + \" \");\n strb.deleteCharAt(strb.length() - 1);\n System.out.println(strb.toString());\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n List<String> nums = new ArrayList<>();\n int index = scanner.nextInt();\n for (int i = 0; i < index; i++) {\n nums.add(scanner.next());\n }\n StringBuilder strb = new StringBuilder();\n for (int i = nums.size() - 1; i >= 0; i--) strb.append(nums.get(i) + \" \");\n strb.deleteCharAt(strb.length() - 1);\n System.out.println(strb.toString());\n }\n}",
"Main"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
/**
* Created by khrom on 2017/06/29.
*/
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
List<String> nums = new ArrayList<>();
int index = scanner.nextInt();
for (int i = 0; i < index; i++) {
nums.add(scanner.next());
}
StringBuilder strb = new StringBuilder();
for (int i = nums.size() - 1; i >= 0; i--) strb.append(nums.get(i) + " ");
strb.deleteCharAt(strb.length() - 1);
System.out.println(strb.toString());
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
13,
13,
41,
13,
17,
28,
13,
13,
30,
30,
14,
13,
4,
18,
18,
13,
13,
17,
0,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
23,
13,
12,
13,
30,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
2,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
4,
13,
13,
13,
2,
2,
18,
13,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
15,
16
],
[
16,
17
],
[
15,
18
],
[
18,
19
],
[
19,
20
],
[
11,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
21,
31
],
[
31,
32
],
[
32,
33
],
[
21,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
11,
46
],
[
46,
47
],
[
46,
48
],
[
11,
49
],
[
49,
50
],
[
49,
51
],
[
11,
52
],
[
52,
53
],
[
52,
54
],
[
52,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
56,
65
],
[
65,
66
],
[
65,
67
],
[
56,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
11,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
9,
79
],
[
79,
80
],
[
4,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
88,
90
],
[
83,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
99,
100
],
[
99,
101
],
[
83,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
106,
107
],
[
106,
108
],
[
81,
109
],
[
109,
110
],
[
81,
111
],
[
111,
112
],
[
81,
113
],
[
113,
114
],
[
4,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
118,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
118,
130
],
[
130,
131
],
[
131,
132
],
[
118,
133
],
[
134,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
135,
138
],
[
135,
139
],
[
140,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
140,
145
],
[
115,
146
],
[
146,
147
]
] | [
"import java.util.*;\nclass Main{\n\tstatic Scanner s = new Scanner(System.in);\n\tpublic static void main(String[] args){\n\t\tlong[] in = new long[Integer.parseInt(s.next())];\n\t\tfor (int i = 0; i < in.length; i++) {\n\t\t\tin[i]=Long.parseLong(s.next());\n\t\t}\n\t\treverse(in);\n\t\tboolean b = false;\n\t\tfor(long l:in) {\n\t\t\tif(b)\n\t\t\t\tSystem.out.print(\" \");\n\t\t\tb=true;\n\t\t\t\tSystem.out.print(l);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\tstatic void swap(long[] l, int a, int b) {\n\t\tl[a] += l[b];\n\t\tl[b] = l[a] - l[b];\n\t\tl[a] -= l[b];\n\t}\n\tstatic void reverse(long[] b) {\n\t\tfor (int c = 0; c < b.length / 2; c++) {\n\t\t\tswap(b, c, b.length - 1 - c);\n\t\t}\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tstatic Scanner s = new Scanner(System.in);\n\tpublic static void main(String[] args){\n\t\tlong[] in = new long[Integer.parseInt(s.next())];\n\t\tfor (int i = 0; i < in.length; i++) {\n\t\t\tin[i]=Long.parseLong(s.next());\n\t\t}\n\t\treverse(in);\n\t\tboolean b = false;\n\t\tfor(long l:in) {\n\t\t\tif(b)\n\t\t\t\tSystem.out.print(\" \");\n\t\t\tb=true;\n\t\t\t\tSystem.out.print(l);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\tstatic void swap(long[] l, int a, int b) {\n\t\tl[a] += l[b];\n\t\tl[b] = l[a] - l[b];\n\t\tl[a] -= l[b];\n\t}\n\tstatic void reverse(long[] b) {\n\t\tfor (int c = 0; c < b.length / 2; c++) {\n\t\t\tswap(b, c, b.length - 1 - c);\n\t\t}\n\t}\n\n}",
"Main",
"static Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"public static void main(String[] args){\n\t\tlong[] in = new long[Integer.parseInt(s.next())];\n\t\tfor (int i = 0; i < in.length; i++) {\n\t\t\tin[i]=Long.parseLong(s.next());\n\t\t}\n\t\treverse(in);\n\t\tboolean b = false;\n\t\tfor(long l:in) {\n\t\t\tif(b)\n\t\t\t\tSystem.out.print(\" \");\n\t\t\tb=true;\n\t\t\t\tSystem.out.print(l);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\tlong[] in = new long[Integer.parseInt(s.next())];\n\t\tfor (int i = 0; i < in.length; i++) {\n\t\t\tin[i]=Long.parseLong(s.next());\n\t\t}\n\t\treverse(in);\n\t\tboolean b = false;\n\t\tfor(long l:in) {\n\t\t\tif(b)\n\t\t\t\tSystem.out.print(\" \");\n\t\t\tb=true;\n\t\t\t\tSystem.out.print(l);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"long[] in = new long[Integer.parseInt(s.next())];",
"in",
"new long[Integer.parseInt(s.next())]",
"Integer.parseInt(s.next())",
"Integer.parseInt",
"Integer",
"s.next()",
"s.next",
"s",
"for (int i = 0; i < in.length; i++) {\n\t\t\tin[i]=Long.parseLong(s.next());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < in.length",
"i",
"in.length",
"in",
"in.length",
"i++",
"i++",
"i",
"{\n\t\t\tin[i]=Long.parseLong(s.next());\n\t\t}",
"{\n\t\t\tin[i]=Long.parseLong(s.next());\n\t\t}",
"in[i]=Long.parseLong(s.next())",
"in[i]",
"in",
"i",
"Long.parseLong(s.next())",
"Long.parseLong",
"Long",
"s.next()",
"s.next",
"s",
"reverse(in)",
"reverse",
"in",
"boolean b = false;",
"b",
"false",
"for(long l:in) {\n\t\t\tif(b)\n\t\t\t\tSystem.out.print(\" \");\n\t\t\tb=true;\n\t\t\t\tSystem.out.print(l);\n\t\t}",
"long l",
"in",
"{\n\t\t\tif(b)\n\t\t\t\tSystem.out.print(\" \");\n\t\t\tb=true;\n\t\t\t\tSystem.out.print(l);\n\t\t}",
"{\n\t\t\tif(b)\n\t\t\t\tSystem.out.print(\" \");\n\t\t\tb=true;\n\t\t\t\tSystem.out.print(l);\n\t\t}",
"if(b)\n\t\t\t\tSystem.out.print(\" \");",
"b",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"b=true",
"b",
"true",
"System.out.print(l)",
"System.out.print",
"System.out",
"System",
"System.out",
"l",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"static void swap(long[] l, int a, int b) {\n\t\tl[a] += l[b];\n\t\tl[b] = l[a] - l[b];\n\t\tl[a] -= l[b];\n\t}",
"swap",
"{\n\t\tl[a] += l[b];\n\t\tl[b] = l[a] - l[b];\n\t\tl[a] -= l[b];\n\t}",
"l[a] += l[b]",
"l[a]",
"l",
"a",
"l[b]",
"l",
"b",
"l[b] = l[a] - l[b]",
"l[b]",
"l",
"b",
"l[a] - l[b]",
"l[a]",
"l",
"a",
"l[b]",
"l",
"b",
"l[a] -= l[b]",
"l[a]",
"l",
"a",
"l[b]",
"l",
"b",
"long[] l",
"l",
"int a",
"a",
"int b",
"b",
"static void reverse(long[] b) {\n\t\tfor (int c = 0; c < b.length / 2; c++) {\n\t\t\tswap(b, c, b.length - 1 - c);\n\t\t}\n\t}",
"reverse",
"{\n\t\tfor (int c = 0; c < b.length / 2; c++) {\n\t\t\tswap(b, c, b.length - 1 - c);\n\t\t}\n\t}",
"for (int c = 0; c < b.length / 2; c++) {\n\t\t\tswap(b, c, b.length - 1 - c);\n\t\t}",
"int c = 0;",
"int c = 0;",
"c",
"0",
"c < b.length / 2",
"c",
"b.length / 2",
"b.length",
"b",
"b.length",
"2",
"c++",
"c++",
"c",
"{\n\t\t\tswap(b, c, b.length - 1 - c);\n\t\t}",
"{\n\t\t\tswap(b, c, b.length - 1 - c);\n\t\t}",
"swap(b, c, b.length - 1 - c)",
"swap",
"b",
"c",
"b.length - 1 - c",
"b.length - 1 - c",
"b.length",
"b",
"b.length",
"1",
"c",
"long[] b",
"b"
] | import java.util.*;
class Main{
static Scanner s = new Scanner(System.in);
public static void main(String[] args){
long[] in = new long[Integer.parseInt(s.next())];
for (int i = 0; i < in.length; i++) {
in[i]=Long.parseLong(s.next());
}
reverse(in);
boolean b = false;
for(long l:in) {
if(b)
System.out.print(" ");
b=true;
System.out.print(l);
}
System.out.println();
}
static void swap(long[] l, int a, int b) {
l[a] += l[b];
l[b] = l[a] - l[b];
l[a] -= l[b];
}
static void reverse(long[] b) {
for (int c = 0; c < b.length / 2; c++) {
swap(b, c, b.length - 1 - c);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
13,
4,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
13,
13,
41,
13,
4,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
13,
17,
4,
18,
13,
18,
13,
2,
2,
18,
13,
13,
17,
13,
29,
4,
18,
13,
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,
30,
4,
18,
13,
14,
2,
13,
17,
30,
38,
5,
13,
30,
30,
4,
18,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
4,
18,
4,
18,
13,
13,
17,
29,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
17,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
223,
14
],
[
223,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
15,
30
],
[
30,
31
],
[
223,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
34,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
34,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
50,
60
],
[
60,
61
],
[
61,
62
],
[
50,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
64,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
77,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
80,
85
],
[
34,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
32,
90
],
[
90,
91
],
[
223,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
98,
100
],
[
94,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
101,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
107,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
101,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
134,
138
],
[
138,
139
],
[
138,
140
],
[
134,
141
],
[
141,
142
],
[
141,
143
],
[
134,
144
],
[
144,
145
],
[
134,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
147,
153
],
[
146,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
157,
160
],
[
155,
161
],
[
134,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
92,
166
],
[
166,
167
],
[
223,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
174,
175
],
[
173,
176
],
[
170,
177
],
[
177,
178
],
[
177,
179
],
[
180,
181
],
[
180,
182
],
[
170,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
183,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
190,
192
],
[
183,
193
],
[
193,
194
],
[
194,
195
],
[
183,
196
],
[
197,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
198,
202
],
[
202,
203
],
[
203,
204
],
[
202,
205
],
[
205,
206
],
[
205,
207
],
[
170,
208
],
[
208,
209
],
[
168,
210
],
[
210,
211
],
[
223,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
216,
219
],
[
212,
220
],
[
220,
221
],
[
0,
222
],
[
222,
223
],
[
222,
224
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n StringBuilder sb = new StringBuilder();\n\n final String[] lines = splitForLines(data);\n final int[] input = split(lines[1]);\n\n for (int i = 0; i < input.length; i++) {\n if (i > 0) {\n sb.append(' ');\n }\n sb.append(input[input.length - 1 - i]);\n }\n\n return sb.toString();\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n StringBuilder sb = new StringBuilder();\n\n final String[] lines = splitForLines(data);\n final int[] input = split(lines[1]);\n\n for (int i = 0; i < input.length; i++) {\n if (i > 0) {\n sb.append(' ');\n }\n sb.append(input[input.length - 1 - i]);\n }\n\n return sb.toString();\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n}",
"Main",
"public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }",
"main",
"{\n System.out.println(process(readAll(System.in)));\n }",
"System.out.println(process(readAll(System.in)))",
"System.out.println",
"System.out",
"System",
"System.out",
"process(readAll(System.in))",
"process",
"readAll(System.in)",
"readAll",
"System.in",
"System",
"System.in",
"String[] args",
"args",
"protected static String process(String data) {\n StringBuilder sb = new StringBuilder();\n\n final String[] lines = splitForLines(data);\n final int[] input = split(lines[1]);\n\n for (int i = 0; i < input.length; i++) {\n if (i > 0) {\n sb.append(' ');\n }\n sb.append(input[input.length - 1 - i]);\n }\n\n return sb.toString();\n }",
"process",
"{\n StringBuilder sb = new StringBuilder();\n\n final String[] lines = splitForLines(data);\n final int[] input = split(lines[1]);\n\n for (int i = 0; i < input.length; i++) {\n if (i > 0) {\n sb.append(' ');\n }\n sb.append(input[input.length - 1 - i]);\n }\n\n return sb.toString();\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"final String[] lines = splitForLines(data);",
"lines",
"splitForLines(data)",
"splitForLines",
"data",
"final int[] input = split(lines[1]);",
"input",
"split(lines[1])",
"split",
"lines[1]",
"lines",
"1",
"for (int i = 0; i < input.length; i++) {\n if (i > 0) {\n sb.append(' ');\n }\n sb.append(input[input.length - 1 - i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < input.length",
"i",
"input.length",
"input",
"input.length",
"i++",
"i++",
"i",
"{\n if (i > 0) {\n sb.append(' ');\n }\n sb.append(input[input.length - 1 - i]);\n }",
"{\n if (i > 0) {\n sb.append(' ');\n }\n sb.append(input[input.length - 1 - i]);\n }",
"if (i > 0) {\n sb.append(' ');\n }",
"i > 0",
"i",
"0",
"{\n sb.append(' ');\n }",
"sb.append(' ')",
"sb.append",
"sb",
"' '",
"sb.append(input[input.length - 1 - i])",
"sb.append",
"sb",
"input[input.length - 1 - i]",
"input",
"input.length - 1 - i",
"input.length - 1 - i",
"input.length",
"input",
"input.length",
"1",
"i",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"String data",
"data",
"private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }",
"readAll",
"{\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }",
"InputStreamReader r = null;",
"r",
"null",
"BufferedReader br = null;",
"br",
"null",
"try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException 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 (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }",
"if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }",
"br != null",
"br",
"null",
"{\n try {\n br.close();\n } catch (IOException e) {\n }\n }",
"try {\n br.close();\n } catch (IOException e) {\n }",
"catch (IOException e) {\n }",
"IOException e",
"{\n }",
"{\n br.close();\n }",
"br.close()",
"br.close",
"br",
"if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }",
"r != null",
"r",
"null",
"{\n try {\n r.close();\n } catch (IOException e) {\n }\n }",
"try {\n r.close();\n } catch (IOException e) {\n }",
"catch (IOException e) {\n }",
"IOException e",
"{\n }",
"{\n r.close();\n }",
"r.close()",
"r.close",
"r",
"{\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n }",
"r = new InputStreamReader(is)",
"r",
"new InputStreamReader(is)",
"br = new BufferedReader(r)",
"br",
"new BufferedReader(r)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"String s;",
"s",
"while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }",
"(s = br.readLine()) != null",
"(s = br.readLine())",
"s",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n sb.append(s).append('\\n');\n }",
"sb.append(s).append('\\n')",
"sb.append(s).append",
"sb.append(s)",
"sb.append",
"sb",
"s",
"'\\n'",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"InputStream is",
"is",
"private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }",
"split",
"{\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }",
"final String[] s0 = s.split(\" \");",
"s0",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"int[] ia = new int[s0.length];",
"ia",
"new int[s0.length]",
"s0.length",
"s0",
"s0.length",
"for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s0.length",
"i",
"s0.length",
"s0",
"s0.length",
"i++",
"i++",
"i",
"{\n ia[i] = Integer.parseInt(s0[i]);\n }",
"{\n ia[i] = Integer.parseInt(s0[i]);\n }",
"ia[i] = Integer.parseInt(s0[i])",
"ia[i]",
"ia",
"i",
"Integer.parseInt(s0[i])",
"Integer.parseInt",
"Integer",
"s0[i]",
"s0",
"i",
"return ia;",
"ia",
"String s",
"s",
"private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }",
"splitForLines",
"{\n return lines.split(\"\\\\n\");\n }",
"return lines.split(\"\\\\n\");",
"lines.split(\"\\\\n\")",
"lines.split",
"lines",
"\"\\\\n\"",
"String lines",
"lines",
"public class Main {\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n StringBuilder sb = new StringBuilder();\n\n final String[] lines = splitForLines(data);\n final int[] input = split(lines[1]);\n\n for (int i = 0; i < input.length; i++) {\n if (i > 0) {\n sb.append(' ');\n }\n sb.append(input[input.length - 1 - i]);\n }\n\n return sb.toString();\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n StringBuilder sb = new StringBuilder();\n\n final String[] lines = splitForLines(data);\n final int[] input = split(lines[1]);\n\n for (int i = 0; i < input.length; i++) {\n if (i > 0) {\n sb.append(' ');\n }\n sb.append(input[input.length - 1 - i]);\n }\n\n return sb.toString();\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
System.out.println(process(readAll(System.in)));
}
protected static String process(String data) {
StringBuilder sb = new StringBuilder();
final String[] lines = splitForLines(data);
final int[] input = split(lines[1]);
for (int i = 0; i < input.length; i++) {
if (i > 0) {
sb.append(' ');
}
sb.append(input[input.length - 1 - i]);
}
return sb.toString();
}
private static String readAll(InputStream is) {
InputStreamReader r = null;
BufferedReader br = null;
try {
r = new InputStreamReader(is);
br = new BufferedReader(r);
StringBuilder sb = new StringBuilder();
String s;
while ((s = br.readLine()) != null) {
sb.append(s).append('\n');
}
return sb.toString();
} catch (IOException e) {
throw new RuntimeException(e);
} finally {
if (br != null) {
try {
br.close();
} catch (IOException e) {
}
}
if (r != null) {
try {
r.close();
} catch (IOException e) {
}
}
}
}
private static int[] split(String s) {
final String[] s0 = s.split(" ");
int[] ia = new int[s0.length];
for (int i = 0; i < s0.length; i++) {
ia[i] = Integer.parseInt(s0[i]);
}
return ia;
}
private static String[] splitForLines(String lines) {
return lines.split("\\n");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
41,
13,
20,
0,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
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
],
[
109,
11
],
[
109,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
14,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
34,
39
],
[
14,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
14,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
14,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
74,
75
],
[
75,
76
],
[
66,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
79,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
79,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
96,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
12,
106
],
[
106,
107
],
[
0,
108
],
[
108,
109
],
[
108,
110
]
] | [
"import java.io.*;\nimport java.util.ArrayList;\nimport java.util.Collections;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n\n int a = 0;\n\n ArrayList<Integer> list = new ArrayList<>();\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n a = Integer.parseInt(br.readLine());\n\n String[] line = br.readLine().split(\" \");\n for (int i = 0; i < a; i++) {\n list.add(Integer.parseInt(line[i]));\n }\n\n Collections.reverse(list);\n\n for (int x = 0; x < a; x++) {\n if (x == a - 1) {\n System.out.println(list.get(x));\n } else {\n System.out.printf(\"%d \", list.get(x));\n }\n }\n\n }\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n int a = 0;\n\n ArrayList<Integer> list = new ArrayList<>();\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n a = Integer.parseInt(br.readLine());\n\n String[] line = br.readLine().split(\" \");\n for (int i = 0; i < a; i++) {\n list.add(Integer.parseInt(line[i]));\n }\n\n Collections.reverse(list);\n\n for (int x = 0; x < a; x++) {\n if (x == a - 1) {\n System.out.println(list.get(x));\n } else {\n System.out.printf(\"%d \", list.get(x));\n }\n }\n\n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n int a = 0;\n\n ArrayList<Integer> list = new ArrayList<>();\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n a = Integer.parseInt(br.readLine());\n\n String[] line = br.readLine().split(\" \");\n for (int i = 0; i < a; i++) {\n list.add(Integer.parseInt(line[i]));\n }\n\n Collections.reverse(list);\n\n for (int x = 0; x < a; x++) {\n if (x == a - 1) {\n System.out.println(list.get(x));\n } else {\n System.out.printf(\"%d \", list.get(x));\n }\n }\n\n }",
"main",
"{\n\n int a = 0;\n\n ArrayList<Integer> list = new ArrayList<>();\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n a = Integer.parseInt(br.readLine());\n\n String[] line = br.readLine().split(\" \");\n for (int i = 0; i < a; i++) {\n list.add(Integer.parseInt(line[i]));\n }\n\n Collections.reverse(list);\n\n for (int x = 0; x < a; x++) {\n if (x == a - 1) {\n System.out.println(list.get(x));\n } else {\n System.out.printf(\"%d \", list.get(x));\n }\n }\n\n }",
"int a = 0;",
"a",
"0",
"ArrayList<Integer> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"a = Integer.parseInt(br.readLine())",
"a",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"String[] line = br.readLine().split(\" \");",
"line",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for (int i = 0; i < a; i++) {\n list.add(Integer.parseInt(line[i]));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a",
"i",
"a",
"i++",
"i++",
"i",
"{\n list.add(Integer.parseInt(line[i]));\n }",
"{\n list.add(Integer.parseInt(line[i]));\n }",
"list.add(Integer.parseInt(line[i]))",
"list.add",
"list",
"Integer.parseInt(line[i])",
"Integer.parseInt",
"Integer",
"line[i]",
"line",
"i",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"for (int x = 0; x < a; x++) {\n if (x == a - 1) {\n System.out.println(list.get(x));\n } else {\n System.out.printf(\"%d \", list.get(x));\n }\n }",
"int x = 0;",
"int x = 0;",
"x",
"0",
"x < a",
"x",
"a",
"x++",
"x++",
"x",
"{\n if (x == a - 1) {\n System.out.println(list.get(x));\n } else {\n System.out.printf(\"%d \", list.get(x));\n }\n }",
"{\n if (x == a - 1) {\n System.out.println(list.get(x));\n } else {\n System.out.printf(\"%d \", list.get(x));\n }\n }",
"if (x == a - 1) {\n System.out.println(list.get(x));\n } else {\n System.out.printf(\"%d \", list.get(x));\n }",
"x == a - 1",
"x",
"a - 1",
"a",
"1",
"{\n System.out.println(list.get(x));\n }",
"System.out.println(list.get(x))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(x)",
"list.get",
"list",
"x",
"{\n System.out.printf(\"%d \", list.get(x));\n }",
"System.out.printf(\"%d \", list.get(x))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d \"",
"list.get(x)",
"list.get",
"list",
"x",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n int a = 0;\n\n ArrayList<Integer> list = new ArrayList<>();\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n a = Integer.parseInt(br.readLine());\n\n String[] line = br.readLine().split(\" \");\n for (int i = 0; i < a; i++) {\n list.add(Integer.parseInt(line[i]));\n }\n\n Collections.reverse(list);\n\n for (int x = 0; x < a; x++) {\n if (x == a - 1) {\n System.out.println(list.get(x));\n } else {\n System.out.printf(\"%d \", list.get(x));\n }\n }\n\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n int a = 0;\n\n ArrayList<Integer> list = new ArrayList<>();\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n a = Integer.parseInt(br.readLine());\n\n String[] line = br.readLine().split(\" \");\n for (int i = 0; i < a; i++) {\n list.add(Integer.parseInt(line[i]));\n }\n\n Collections.reverse(list);\n\n for (int x = 0; x < a; x++) {\n if (x == a - 1) {\n System.out.println(list.get(x));\n } else {\n System.out.printf(\"%d \", list.get(x));\n }\n }\n\n }\n\n}",
"Main"
] | import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
public class Main {
public static void main(String[] args) throws IOException {
int a = 0;
ArrayList<Integer> list = new ArrayList<>();
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
a = Integer.parseInt(br.readLine());
String[] line = br.readLine().split(" ");
for (int i = 0; i < a; i++) {
list.add(Integer.parseInt(line[i]));
}
Collections.reverse(list);
for (int x = 0; x < a; x++) {
if (x == a - 1) {
System.out.println(list.get(x));
} else {
System.out.printf("%d ", list.get(x));
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
91,
11
],
[
91,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
14,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
49,
53
],
[
45,
54
],
[
54,
55
],
[
54,
56
],
[
45,
57
],
[
57,
58
],
[
58,
59
],
[
45,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
61,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
14,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
12,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"import java.util.ArrayList;\nimport java.util.Comparator;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n ArrayList<Integer> a = new ArrayList<Integer>();\n for (int i = 0; i < n; i++) {\n a.add(scanner.nextInt());\n }\n for (int i = a.size() - 1; i >= 0; i--) {\n System.out.print(a.get(i));\n if (i != 0) {\n System.out.print(\" \");\n }\n }\n System.out.println(\"\");\n }\n}\n",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Comparator;",
"Comparator",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n ArrayList<Integer> a = new ArrayList<Integer>();\n for (int i = 0; i < n; i++) {\n a.add(scanner.nextInt());\n }\n for (int i = a.size() - 1; i >= 0; i--) {\n System.out.print(a.get(i));\n if (i != 0) {\n System.out.print(\" \");\n }\n }\n System.out.println(\"\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n ArrayList<Integer> a = new ArrayList<Integer>();\n for (int i = 0; i < n; i++) {\n a.add(scanner.nextInt());\n }\n for (int i = a.size() - 1; i >= 0; i--) {\n System.out.print(a.get(i));\n if (i != 0) {\n System.out.print(\" \");\n }\n }\n System.out.println(\"\");\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n ArrayList<Integer> a = new ArrayList<Integer>();\n for (int i = 0; i < n; i++) {\n a.add(scanner.nextInt());\n }\n for (int i = a.size() - 1; i >= 0; i--) {\n System.out.print(a.get(i));\n if (i != 0) {\n System.out.print(\" \");\n }\n }\n System.out.println(\"\");\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int n = scanner.nextInt();",
"n",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"ArrayList<Integer> a = new ArrayList<Integer>();",
"a",
"new ArrayList<Integer>()",
"for (int i = 0; i < n; i++) {\n a.add(scanner.nextInt());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a.add(scanner.nextInt());\n }",
"{\n a.add(scanner.nextInt());\n }",
"a.add(scanner.nextInt())",
"a.add",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"for (int i = a.size() - 1; i >= 0; i--) {\n System.out.print(a.get(i));\n if (i != 0) {\n System.out.print(\" \");\n }\n }",
"int i = a.size() - 1;",
"int i = a.size() - 1;",
"i",
"a.size() - 1",
"a.size()",
"a.size",
"a",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n System.out.print(a.get(i));\n if (i != 0) {\n System.out.print(\" \");\n }\n }",
"{\n System.out.print(a.get(i));\n if (i != 0) {\n System.out.print(\" \");\n }\n }",
"System.out.print(a.get(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"a.get(i)",
"a.get",
"a",
"i",
"if (i != 0) {\n System.out.print(\" \");\n }",
"i != 0",
"i",
"0",
"{\n System.out.print(\" \");\n }",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n ArrayList<Integer> a = new ArrayList<Integer>();\n for (int i = 0; i < n; i++) {\n a.add(scanner.nextInt());\n }\n for (int i = a.size() - 1; i >= 0; i--) {\n System.out.print(a.get(i));\n if (i != 0) {\n System.out.print(\" \");\n }\n }\n System.out.println(\"\");\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n ArrayList<Integer> a = new ArrayList<Integer>();\n for (int i = 0; i < n; i++) {\n a.add(scanner.nextInt());\n }\n for (int i = a.size() - 1; i >= 0; i--) {\n System.out.print(a.get(i));\n if (i != 0) {\n System.out.print(\" \");\n }\n }\n System.out.println(\"\");\n }\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Comparator;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
ArrayList<Integer> a = new ArrayList<Integer>();
for (int i = 0; i < n; i++) {
a.add(scanner.nextInt());
}
for (int i = a.size() - 1; i >= 0; i--) {
System.out.print(a.get(i));
if (i != 0) {
System.out.print(" ");
}
}
System.out.println("");
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
2,
2,
13,
17,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
4,
18,
13,
18,
13,
13,
17,
4,
18,
13,
2,
4,
18,
13,
17,
4,
18,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
101,
14
],
[
101,
15
],
[
15,
16
],
[
15,
17
],
[
101,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
20,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
47,
47
],
[
47,
48
],
[
47,
49
],
[
47,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
20,
54
],
[
54,
55
],
[
54,
56
],
[
20,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
57,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
20,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
82,
86
],
[
79,
87
],
[
87,
88
],
[
88,
89
],
[
20,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
95,
96
],
[
96,
97
],
[
18,
98
],
[
98,
99
],
[
0,
100
],
[
100,
101
],
[
100,
102
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\nimport java.util.List;\n\npublic class Main {\n public static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws Exception {\n int n = sc.nextInt();\n long[] ary = new long[n];\n \n for (int i = 0; i < n; i++) {\n ary[n-1-i] = sc.nextLong();\n }\n \n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < n; i++) {\n sb.append(ary[i]).append(\" \");\n }\n sb.delete(sb.length()-1, sb.length());\n System.out.println(sb.toString());\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n public static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws Exception {\n int n = sc.nextInt();\n long[] ary = new long[n];\n \n for (int i = 0; i < n; i++) {\n ary[n-1-i] = sc.nextLong();\n }\n \n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < n; i++) {\n sb.append(ary[i]).append(\" \");\n }\n sb.delete(sb.length()-1, sb.length());\n System.out.println(sb.toString());\n }\n}",
"Main",
"public static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) throws Exception {\n int n = sc.nextInt();\n long[] ary = new long[n];\n \n for (int i = 0; i < n; i++) {\n ary[n-1-i] = sc.nextLong();\n }\n \n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < n; i++) {\n sb.append(ary[i]).append(\" \");\n }\n sb.delete(sb.length()-1, sb.length());\n System.out.println(sb.toString());\n }",
"main",
"{\n int n = sc.nextInt();\n long[] ary = new long[n];\n \n for (int i = 0; i < n; i++) {\n ary[n-1-i] = sc.nextLong();\n }\n \n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < n; i++) {\n sb.append(ary[i]).append(\" \");\n }\n sb.delete(sb.length()-1, sb.length());\n System.out.println(sb.toString());\n }",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long[] ary = new long[n];",
"ary",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n ary[n-1-i] = sc.nextLong();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n ary[n-1-i] = sc.nextLong();\n }",
"{\n ary[n-1-i] = sc.nextLong();\n }",
"ary[n-1-i] = sc.nextLong()",
"ary[n-1-i]",
"ary",
"n-1-i",
"n-1-i",
"n",
"1",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = 0; i < n; i++) {\n sb.append(ary[i]).append(\" \");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n sb.append(ary[i]).append(\" \");\n }",
"{\n sb.append(ary[i]).append(\" \");\n }",
"sb.append(ary[i]).append(\" \")",
"sb.append(ary[i]).append",
"sb.append(ary[i])",
"sb.append",
"sb",
"ary[i]",
"ary",
"i",
"\" \"",
"sb.delete(sb.length()-1, sb.length())",
"sb.delete",
"sb",
"sb.length()-1",
"sb.length()",
"sb.length",
"sb",
"1",
"sb.length()",
"sb.length",
"sb",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args",
"public class Main {\n public static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws Exception {\n int n = sc.nextInt();\n long[] ary = new long[n];\n \n for (int i = 0; i < n; i++) {\n ary[n-1-i] = sc.nextLong();\n }\n \n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < n; i++) {\n sb.append(ary[i]).append(\" \");\n }\n sb.delete(sb.length()-1, sb.length());\n System.out.println(sb.toString());\n }\n}",
"public class Main {\n public static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws Exception {\n int n = sc.nextInt();\n long[] ary = new long[n];\n \n for (int i = 0; i < n; i++) {\n ary[n-1-i] = sc.nextLong();\n }\n \n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < n; i++) {\n sb.append(ary[i]).append(\" \");\n }\n sb.delete(sb.length()-1, sb.length());\n System.out.println(sb.toString());\n }\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
import java.util.List;
public class Main {
public static Scanner sc = new Scanner(System.in);
public static void main(String[] args) throws Exception {
int n = sc.nextInt();
long[] ary = new long[n];
for (int i = 0; i < n; i++) {
ary[n-1-i] = sc.nextLong();
}
StringBuilder sb = new StringBuilder();
for (int i = 0; i < n; i++) {
sb.append(ary[i]).append(" ");
}
sb.delete(sb.length()-1, sb.length());
System.out.println(sb.toString());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
17,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
0,
18,
18,
13,
17,
2,
13,
17,
13,
14,
4,
18,
13,
17,
30,
0,
18,
18,
13,
17,
2,
13,
17,
13,
14,
4,
18,
13,
17,
30,
0,
18,
18,
13,
17,
2,
13,
17,
13,
30,
0,
18,
18,
13,
17,
2,
13,
17,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
18,
13,
13,
13,
17,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
17,
2,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
17,
2,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
17,
2,
13,
17,
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,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
36,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
47,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
62,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
77,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
88,
90
],
[
83,
91
],
[
77,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
98,
100
],
[
93,
101
],
[
8,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
107,
108
],
[
107,
109
],
[
102,
110
],
[
110,
111
],
[
111,
112
],
[
102,
113
],
[
114,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
120,
121
],
[
120,
122
],
[
115,
123
],
[
123,
124
],
[
124,
125
],
[
115,
126
],
[
127,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
129,
135
],
[
128,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
142,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
149,
151
],
[
137,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
157,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
164,
166
],
[
152,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
167,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
172,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
179,
181
],
[
167,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
183,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
190,
192
],
[
8,
193
],
[
193,
194
],
[
194,
195
],
[
6,
196
],
[
196,
197
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n \tint cards[][] = new int[4][13];\n int n;\n \n\t\tScanner scanner = new Scanner(System.in);\n\t\tn = scanner.nextInt();\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tString kind = scanner.next();\n\t\t\tint num = scanner.nextInt();\n\t\t\t\n\t\t\tif(kind.equals(\"S\")){\n\t\t\t\tcards[0][num-1] = num;\n\t\t\t}\n\t\t\telse if(kind.equals(\"H\")){\n\t\t\t\tcards[1][num-1] = num;\n\t\t\t}\n\t\t\telse if(kind.equals(\"C\")){\n\t\t\t\tcards[2][num-1] = num;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tcards[3][num-1] = num;\n\t\t\t}\n\t\t} \n\t\t\n\t\tfor(int i = 0;i < 4;i++){\n\t\t\tfor(int j = 0;j < 13;j++){\n\t\t\t\tif(cards[i][j] == 0){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 1){\n\t\t\t\t\t\tSystem.out.println(\"H \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\t\n\t\t}\n \tscanner.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n \tint cards[][] = new int[4][13];\n int n;\n \n\t\tScanner scanner = new Scanner(System.in);\n\t\tn = scanner.nextInt();\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tString kind = scanner.next();\n\t\t\tint num = scanner.nextInt();\n\t\t\t\n\t\t\tif(kind.equals(\"S\")){\n\t\t\t\tcards[0][num-1] = num;\n\t\t\t}\n\t\t\telse if(kind.equals(\"H\")){\n\t\t\t\tcards[1][num-1] = num;\n\t\t\t}\n\t\t\telse if(kind.equals(\"C\")){\n\t\t\t\tcards[2][num-1] = num;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tcards[3][num-1] = num;\n\t\t\t}\n\t\t} \n\t\t\n\t\tfor(int i = 0;i < 4;i++){\n\t\t\tfor(int j = 0;j < 13;j++){\n\t\t\t\tif(cards[i][j] == 0){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 1){\n\t\t\t\t\t\tSystem.out.println(\"H \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\t\n\t\t}\n \tscanner.close();\n }\n}",
"Main",
"public static void main(String[] args){\n \tint cards[][] = new int[4][13];\n int n;\n \n\t\tScanner scanner = new Scanner(System.in);\n\t\tn = scanner.nextInt();\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tString kind = scanner.next();\n\t\t\tint num = scanner.nextInt();\n\t\t\t\n\t\t\tif(kind.equals(\"S\")){\n\t\t\t\tcards[0][num-1] = num;\n\t\t\t}\n\t\t\telse if(kind.equals(\"H\")){\n\t\t\t\tcards[1][num-1] = num;\n\t\t\t}\n\t\t\telse if(kind.equals(\"C\")){\n\t\t\t\tcards[2][num-1] = num;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tcards[3][num-1] = num;\n\t\t\t}\n\t\t} \n\t\t\n\t\tfor(int i = 0;i < 4;i++){\n\t\t\tfor(int j = 0;j < 13;j++){\n\t\t\t\tif(cards[i][j] == 0){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 1){\n\t\t\t\t\t\tSystem.out.println(\"H \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\t\n\t\t}\n \tscanner.close();\n }",
"main",
"{\n \tint cards[][] = new int[4][13];\n int n;\n \n\t\tScanner scanner = new Scanner(System.in);\n\t\tn = scanner.nextInt();\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tString kind = scanner.next();\n\t\t\tint num = scanner.nextInt();\n\t\t\t\n\t\t\tif(kind.equals(\"S\")){\n\t\t\t\tcards[0][num-1] = num;\n\t\t\t}\n\t\t\telse if(kind.equals(\"H\")){\n\t\t\t\tcards[1][num-1] = num;\n\t\t\t}\n\t\t\telse if(kind.equals(\"C\")){\n\t\t\t\tcards[2][num-1] = num;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tcards[3][num-1] = num;\n\t\t\t}\n\t\t} \n\t\t\n\t\tfor(int i = 0;i < 4;i++){\n\t\t\tfor(int j = 0;j < 13;j++){\n\t\t\t\tif(cards[i][j] == 0){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 1){\n\t\t\t\t\t\tSystem.out.println(\"H \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\t\n\t\t}\n \tscanner.close();\n }",
"int cards[][] = new int[4][13];",
"cards",
"new int[4][13]",
"4",
"13",
"int n;",
"n",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"n = scanner.nextInt()",
"n",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"for(int i = 0;i < n;i++){\n\t\t\tString kind = scanner.next();\n\t\t\tint num = scanner.nextInt();\n\t\t\t\n\t\t\tif(kind.equals(\"S\")){\n\t\t\t\tcards[0][num-1] = num;\n\t\t\t}\n\t\t\telse if(kind.equals(\"H\")){\n\t\t\t\tcards[1][num-1] = num;\n\t\t\t}\n\t\t\telse if(kind.equals(\"C\")){\n\t\t\t\tcards[2][num-1] = num;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tcards[3][num-1] = num;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tString kind = scanner.next();\n\t\t\tint num = scanner.nextInt();\n\t\t\t\n\t\t\tif(kind.equals(\"S\")){\n\t\t\t\tcards[0][num-1] = num;\n\t\t\t}\n\t\t\telse if(kind.equals(\"H\")){\n\t\t\t\tcards[1][num-1] = num;\n\t\t\t}\n\t\t\telse if(kind.equals(\"C\")){\n\t\t\t\tcards[2][num-1] = num;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tcards[3][num-1] = num;\n\t\t\t}\n\t\t}",
"{\n\t\t\tString kind = scanner.next();\n\t\t\tint num = scanner.nextInt();\n\t\t\t\n\t\t\tif(kind.equals(\"S\")){\n\t\t\t\tcards[0][num-1] = num;\n\t\t\t}\n\t\t\telse if(kind.equals(\"H\")){\n\t\t\t\tcards[1][num-1] = num;\n\t\t\t}\n\t\t\telse if(kind.equals(\"C\")){\n\t\t\t\tcards[2][num-1] = num;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tcards[3][num-1] = num;\n\t\t\t}\n\t\t}",
"String kind = scanner.next();",
"kind",
"scanner.next()",
"scanner.next",
"scanner",
"int num = scanner.nextInt();",
"num",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if(kind.equals(\"S\")){\n\t\t\t\tcards[0][num-1] = num;\n\t\t\t}\n\t\t\telse if(kind.equals(\"H\")){\n\t\t\t\tcards[1][num-1] = num;\n\t\t\t}\n\t\t\telse if(kind.equals(\"C\")){\n\t\t\t\tcards[2][num-1] = num;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tcards[3][num-1] = num;\n\t\t\t}",
"kind.equals(\"S\")",
"kind.equals",
"kind",
"\"S\"",
"{\n\t\t\t\tcards[0][num-1] = num;\n\t\t\t}",
"cards[0][num-1] = num",
"cards[0][num-1]",
"cards[0]",
"cards",
"0",
"num-1",
"num",
"1",
"num",
"if(kind.equals(\"H\")){\n\t\t\t\tcards[1][num-1] = num;\n\t\t\t}\n\t\t\telse if(kind.equals(\"C\")){\n\t\t\t\tcards[2][num-1] = num;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tcards[3][num-1] = num;\n\t\t\t}",
"kind.equals(\"H\")",
"kind.equals",
"kind",
"\"H\"",
"{\n\t\t\t\tcards[1][num-1] = num;\n\t\t\t}",
"cards[1][num-1] = num",
"cards[1][num-1]",
"cards[1]",
"cards",
"1",
"num-1",
"num",
"1",
"num",
"if(kind.equals(\"C\")){\n\t\t\t\tcards[2][num-1] = num;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tcards[3][num-1] = num;\n\t\t\t}",
"kind.equals(\"C\")",
"kind.equals",
"kind",
"\"C\"",
"{\n\t\t\t\tcards[2][num-1] = num;\n\t\t\t}",
"cards[2][num-1] = num",
"cards[2][num-1]",
"cards[2]",
"cards",
"2",
"num-1",
"num",
"1",
"num",
"{\n\t\t\t\tcards[3][num-1] = num;\n\t\t\t}",
"cards[3][num-1] = num",
"cards[3][num-1]",
"cards[3]",
"cards",
"3",
"num-1",
"num",
"1",
"num",
"for(int i = 0;i < 4;i++){\n\t\t\tfor(int j = 0;j < 13;j++){\n\t\t\t\tif(cards[i][j] == 0){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 1){\n\t\t\t\t\t\tSystem.out.println(\"H \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\t\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 4",
"i",
"4",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = 0;j < 13;j++){\n\t\t\t\tif(cards[i][j] == 0){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 1){\n\t\t\t\t\t\tSystem.out.println(\"H \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\t\n\t\t}",
"{\n\t\t\tfor(int j = 0;j < 13;j++){\n\t\t\t\tif(cards[i][j] == 0){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 1){\n\t\t\t\t\t\tSystem.out.println(\"H \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\t\n\t\t}",
"for(int j = 0;j < 13;j++){\n\t\t\t\tif(cards[i][j] == 0){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 1){\n\t\t\t\t\t\tSystem.out.println(\"H \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < 13",
"j",
"13",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(cards[i][j] == 0){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 1){\n\t\t\t\t\t\tSystem.out.println(\"H \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(cards[i][j] == 0){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 1){\n\t\t\t\t\t\tSystem.out.println(\"H \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}",
"if(cards[i][j] == 0){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 1){\n\t\t\t\t\t\tSystem.out.println(\"H \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}",
"cards[i][j] == 0",
"cards[i][j]",
"cards[i]",
"cards",
"i",
"j",
"0",
"{\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 1){\n\t\t\t\t\t\tSystem.out.println(\"H \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}",
"if(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 1){\n\t\t\t\t\t\tSystem.out.println(\"H \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D \"+(j+1));\n\t\t\t\t\t}",
"i == 0",
"i",
"0",
"{\n\t\t\t\t\t\tSystem.out.println(\"S \"+(j+1));\n\t\t\t\t\t}",
"System.out.println(\"S \"+(j+1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"S \"+(j+1)",
"\"S \"",
"(j+1)",
"j",
"1",
"if(i == 1){\n\t\t\t\t\t\tSystem.out.println(\"H \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D \"+(j+1));\n\t\t\t\t\t}",
"i == 1",
"i",
"1",
"{\n\t\t\t\t\t\tSystem.out.println(\"H \"+(j+1));\n\t\t\t\t\t}",
"System.out.println(\"H \"+(j+1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"H \"+(j+1)",
"\"H \"",
"(j+1)",
"j",
"1",
"if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \"+(j+1));\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D \"+(j+1));\n\t\t\t\t\t}",
"i == 2",
"i",
"2",
"{\n\t\t\t\t\t\tSystem.out.println(\"C \"+(j+1));\n\t\t\t\t\t}",
"System.out.println(\"C \"+(j+1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"C \"+(j+1)",
"\"C \"",
"(j+1)",
"j",
"1",
"{\n\t\t\t\t\t\tSystem.out.println(\"D \"+(j+1));\n\t\t\t\t\t}",
"System.out.println(\"D \"+(j+1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"D \"+(j+1)",
"\"D \"",
"(j+1)",
"j",
"1",
"scanner.close()",
"scanner.close",
"scanner",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
int cards[][] = new int[4][13];
int n;
Scanner scanner = new Scanner(System.in);
n = scanner.nextInt();
for(int i = 0;i < n;i++){
String kind = scanner.next();
int num = scanner.nextInt();
if(kind.equals("S")){
cards[0][num-1] = num;
}
else if(kind.equals("H")){
cards[1][num-1] = num;
}
else if(kind.equals("C")){
cards[2][num-1] = num;
}
else{
cards[3][num-1] = num;
}
}
for(int i = 0;i < 4;i++){
for(int j = 0;j < 13;j++){
if(cards[i][j] == 0){
if(i == 0){
System.out.println("S "+(j+1));
}
else if(i == 1){
System.out.println("H "+(j+1));
}
else if(i == 2){
System.out.println("C "+(j+1));
}
else{
System.out.println("D "+(j+1));
}
}
}
}
scanner.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
13,
17,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
2,
17,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
2,
17,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
2,
17,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
2,
17,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
14,
4,
18,
13,
13,
30,
0,
13,
17,
3,
30,
0,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
14,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
29,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
41,
52
],
[
52,
53
],
[
52,
54
],
[
55,
55
],
[
55,
56
],
[
55,
57
],
[
55,
58
],
[
41,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
14,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
63,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
79,
80
],
[
79,
81
],
[
14,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
90,
91
],
[
91,
92
],
[
82,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
98,
99
],
[
98,
100
],
[
14,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
101,
109
],
[
109,
110
],
[
110,
111
],
[
101,
112
],
[
113,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
117,
118
],
[
117,
119
],
[
14,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
120,
125
],
[
125,
126
],
[
125,
127
],
[
120,
128
],
[
128,
129
],
[
129,
130
],
[
120,
131
],
[
132,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
136,
137
],
[
136,
138
],
[
14,
139
],
[
139,
140
],
[
139,
141
],
[
14,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
142,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
142,
152
],
[
152,
153
],
[
153,
154
],
[
142,
155
],
[
156,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
156,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
160,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
160,
170
],
[
170,
171
],
[
171,
172
],
[
160,
173
],
[
174,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
178,
179
],
[
177,
180
],
[
174,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
183,
186
],
[
174,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
188,
191
],
[
187,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
192,
196
],
[
187,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
156,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
201,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
206,
211
],
[
211,
212
],
[
212,
213
],
[
211,
214
],
[
12,
215
],
[
215,
216
]
] | [
"import java.io.IOException;\nimport java.util.ArrayList;\nimport java.util.Scanner;\nclass Main{\n\tpublic static void main(String[] args)throws NumberFormatException, IOException{\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t//BufferedReader scan = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> suite = new ArrayList<String>();\n//\t\tArrayList<Integer> number = new ArrayList<Integer>();\n\t\tArrayList<String> hikaku = new ArrayList<String>();\n\t\tint n =scan.nextInt();\n\t\tfor(int ii=0;ii<n;ii++){\n\t\t\tString x = scan.next();\n\t\t\tString y = scan.next();\n\t\t\tString xy =x+\" \"+y;\n\t\t\tsuite.add(xy);\n\t\t\t//System.out.println(xy);\n\t\t}\n//\t\tfor(int na=1;na<suite.size();na++){\n//\t\t\tSystem.out.println(suite.get(na));\n//\t\t}\n\t\t//////////////////////////////////////////////?????????????????§?????????\n\t\tfor(int na=1;na<14;na++){\n\t\t\thikaku.add(\"S \"+na);\n\t\t}\n\t\tfor(int na=1;na<14;na++){\n\t\t\thikaku.add(\"H \"+na);\n\t\t}\n\t\tfor(int na=1;na<14;na++){\n\t\t\thikaku.add(\"C \"+na);\n\t\t}\n\t\tfor(int na=1;na<14;na++){\n\t\t\thikaku.add(\"D \"+na);\n\t\t}\n//\t\tfor(int na=1;na<hikaku.size();na++){\n//\t\t\tSystem.out.println(hikaku.get(na));\n//\t\t}\n\t\t\t/////////////////////////////////////////////??????\n\t\tint atta =0;\n\t\tfor(int i=0;i<hikaku.size();i++){\n\t\t\tatta = 0;\n\t\t\tfor(int ii=0;ii<suite.size();ii++){\n\t\t\t\tString hk = hikaku.get(i);\n\t\t\t\tString su = suite.get(ii);\n\t\t\t\tif(hk.equals(su)){\n//\t\t\t\t\tSystem.out.println(\"atta\");\n\t\t\t\t\tatta =1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse{\n//\t\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t\t\tatta =0;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(atta == 0){\n\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String[] args)throws NumberFormatException, IOException{\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t//BufferedReader scan = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> suite = new ArrayList<String>();\n//\t\tArrayList<Integer> number = new ArrayList<Integer>();\n\t\tArrayList<String> hikaku = new ArrayList<String>();\n\t\tint n =scan.nextInt();\n\t\tfor(int ii=0;ii<n;ii++){\n\t\t\tString x = scan.next();\n\t\t\tString y = scan.next();\n\t\t\tString xy =x+\" \"+y;\n\t\t\tsuite.add(xy);\n\t\t\t//System.out.println(xy);\n\t\t}\n//\t\tfor(int na=1;na<suite.size();na++){\n//\t\t\tSystem.out.println(suite.get(na));\n//\t\t}\n\t\t//////////////////////////////////////////////?????????????????§?????????\n\t\tfor(int na=1;na<14;na++){\n\t\t\thikaku.add(\"S \"+na);\n\t\t}\n\t\tfor(int na=1;na<14;na++){\n\t\t\thikaku.add(\"H \"+na);\n\t\t}\n\t\tfor(int na=1;na<14;na++){\n\t\t\thikaku.add(\"C \"+na);\n\t\t}\n\t\tfor(int na=1;na<14;na++){\n\t\t\thikaku.add(\"D \"+na);\n\t\t}\n//\t\tfor(int na=1;na<hikaku.size();na++){\n//\t\t\tSystem.out.println(hikaku.get(na));\n//\t\t}\n\t\t\t/////////////////////////////////////////////??????\n\t\tint atta =0;\n\t\tfor(int i=0;i<hikaku.size();i++){\n\t\t\tatta = 0;\n\t\t\tfor(int ii=0;ii<suite.size();ii++){\n\t\t\t\tString hk = hikaku.get(i);\n\t\t\t\tString su = suite.get(ii);\n\t\t\t\tif(hk.equals(su)){\n//\t\t\t\t\tSystem.out.println(\"atta\");\n\t\t\t\t\tatta =1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse{\n//\t\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t\t\tatta =0;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(atta == 0){\n\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)throws NumberFormatException, IOException{\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t//BufferedReader scan = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> suite = new ArrayList<String>();\n//\t\tArrayList<Integer> number = new ArrayList<Integer>();\n\t\tArrayList<String> hikaku = new ArrayList<String>();\n\t\tint n =scan.nextInt();\n\t\tfor(int ii=0;ii<n;ii++){\n\t\t\tString x = scan.next();\n\t\t\tString y = scan.next();\n\t\t\tString xy =x+\" \"+y;\n\t\t\tsuite.add(xy);\n\t\t\t//System.out.println(xy);\n\t\t}\n//\t\tfor(int na=1;na<suite.size();na++){\n//\t\t\tSystem.out.println(suite.get(na));\n//\t\t}\n\t\t//////////////////////////////////////////////?????????????????§?????????\n\t\tfor(int na=1;na<14;na++){\n\t\t\thikaku.add(\"S \"+na);\n\t\t}\n\t\tfor(int na=1;na<14;na++){\n\t\t\thikaku.add(\"H \"+na);\n\t\t}\n\t\tfor(int na=1;na<14;na++){\n\t\t\thikaku.add(\"C \"+na);\n\t\t}\n\t\tfor(int na=1;na<14;na++){\n\t\t\thikaku.add(\"D \"+na);\n\t\t}\n//\t\tfor(int na=1;na<hikaku.size();na++){\n//\t\t\tSystem.out.println(hikaku.get(na));\n//\t\t}\n\t\t\t/////////////////////////////////////////////??????\n\t\tint atta =0;\n\t\tfor(int i=0;i<hikaku.size();i++){\n\t\t\tatta = 0;\n\t\t\tfor(int ii=0;ii<suite.size();ii++){\n\t\t\t\tString hk = hikaku.get(i);\n\t\t\t\tString su = suite.get(ii);\n\t\t\t\tif(hk.equals(su)){\n//\t\t\t\t\tSystem.out.println(\"atta\");\n\t\t\t\t\tatta =1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse{\n//\t\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t\t\tatta =0;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(atta == 0){\n\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t//BufferedReader scan = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> suite = new ArrayList<String>();\n//\t\tArrayList<Integer> number = new ArrayList<Integer>();\n\t\tArrayList<String> hikaku = new ArrayList<String>();\n\t\tint n =scan.nextInt();\n\t\tfor(int ii=0;ii<n;ii++){\n\t\t\tString x = scan.next();\n\t\t\tString y = scan.next();\n\t\t\tString xy =x+\" \"+y;\n\t\t\tsuite.add(xy);\n\t\t\t//System.out.println(xy);\n\t\t}\n//\t\tfor(int na=1;na<suite.size();na++){\n//\t\t\tSystem.out.println(suite.get(na));\n//\t\t}\n\t\t//////////////////////////////////////////////?????????????????§?????????\n\t\tfor(int na=1;na<14;na++){\n\t\t\thikaku.add(\"S \"+na);\n\t\t}\n\t\tfor(int na=1;na<14;na++){\n\t\t\thikaku.add(\"H \"+na);\n\t\t}\n\t\tfor(int na=1;na<14;na++){\n\t\t\thikaku.add(\"C \"+na);\n\t\t}\n\t\tfor(int na=1;na<14;na++){\n\t\t\thikaku.add(\"D \"+na);\n\t\t}\n//\t\tfor(int na=1;na<hikaku.size();na++){\n//\t\t\tSystem.out.println(hikaku.get(na));\n//\t\t}\n\t\t\t/////////////////////////////////////////////??????\n\t\tint atta =0;\n\t\tfor(int i=0;i<hikaku.size();i++){\n\t\t\tatta = 0;\n\t\t\tfor(int ii=0;ii<suite.size();ii++){\n\t\t\t\tString hk = hikaku.get(i);\n\t\t\t\tString su = suite.get(ii);\n\t\t\t\tif(hk.equals(su)){\n//\t\t\t\t\tSystem.out.println(\"atta\");\n\t\t\t\t\tatta =1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse{\n//\t\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t\t\tatta =0;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(atta == 0){\n\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t}\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"ArrayList<String> suite = new ArrayList<String>();",
"suite",
"new ArrayList<String>()",
"ArrayList<String> hikaku = new ArrayList<String>();",
"hikaku",
"new ArrayList<String>()",
"int n =scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(int ii=0;ii<n;ii++){\n\t\t\tString x = scan.next();\n\t\t\tString y = scan.next();\n\t\t\tString xy =x+\" \"+y;\n\t\t\tsuite.add(xy);\n\t\t\t//System.out.println(xy);\n\t\t}",
"int ii=0;",
"int ii=0;",
"ii",
"0",
"ii<n",
"ii",
"n",
"ii++",
"ii++",
"ii",
"{\n\t\t\tString x = scan.next();\n\t\t\tString y = scan.next();\n\t\t\tString xy =x+\" \"+y;\n\t\t\tsuite.add(xy);\n\t\t\t//System.out.println(xy);\n\t\t}",
"{\n\t\t\tString x = scan.next();\n\t\t\tString y = scan.next();\n\t\t\tString xy =x+\" \"+y;\n\t\t\tsuite.add(xy);\n\t\t\t//System.out.println(xy);\n\t\t}",
"String x = scan.next();",
"x",
"scan.next()",
"scan.next",
"scan",
"String y = scan.next();",
"y",
"scan.next()",
"scan.next",
"scan",
"String xy =x+\" \"+y;",
"xy",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"suite.add(xy)",
"suite.add",
"suite",
"xy",
"for(int na=1;na<14;na++){\n\t\t\thikaku.add(\"S \"+na);\n\t\t}",
"int na=1;",
"int na=1;",
"na",
"1",
"na<14",
"na",
"14",
"na++",
"na++",
"na",
"{\n\t\t\thikaku.add(\"S \"+na);\n\t\t}",
"{\n\t\t\thikaku.add(\"S \"+na);\n\t\t}",
"hikaku.add(\"S \"+na)",
"hikaku.add",
"hikaku",
"\"S \"+na",
"\"S \"",
"na",
"for(int na=1;na<14;na++){\n\t\t\thikaku.add(\"H \"+na);\n\t\t}",
"int na=1;",
"int na=1;",
"na",
"1",
"na<14",
"na",
"14",
"na++",
"na++",
"na",
"{\n\t\t\thikaku.add(\"H \"+na);\n\t\t}",
"{\n\t\t\thikaku.add(\"H \"+na);\n\t\t}",
"hikaku.add(\"H \"+na)",
"hikaku.add",
"hikaku",
"\"H \"+na",
"\"H \"",
"na",
"for(int na=1;na<14;na++){\n\t\t\thikaku.add(\"C \"+na);\n\t\t}",
"int na=1;",
"int na=1;",
"na",
"1",
"na<14",
"na",
"14",
"na++",
"na++",
"na",
"{\n\t\t\thikaku.add(\"C \"+na);\n\t\t}",
"{\n\t\t\thikaku.add(\"C \"+na);\n\t\t}",
"hikaku.add(\"C \"+na)",
"hikaku.add",
"hikaku",
"\"C \"+na",
"\"C \"",
"na",
"for(int na=1;na<14;na++){\n\t\t\thikaku.add(\"D \"+na);\n\t\t}",
"int na=1;",
"int na=1;",
"na",
"1",
"na<14",
"na",
"14",
"na++",
"na++",
"na",
"{\n\t\t\thikaku.add(\"D \"+na);\n\t\t}",
"{\n\t\t\thikaku.add(\"D \"+na);\n\t\t}",
"hikaku.add(\"D \"+na)",
"hikaku.add",
"hikaku",
"\"D \"+na",
"\"D \"",
"na",
"int atta =0;",
"atta",
"0",
"for(int i=0;i<hikaku.size();i++){\n\t\t\tatta = 0;\n\t\t\tfor(int ii=0;ii<suite.size();ii++){\n\t\t\t\tString hk = hikaku.get(i);\n\t\t\t\tString su = suite.get(ii);\n\t\t\t\tif(hk.equals(su)){\n//\t\t\t\t\tSystem.out.println(\"atta\");\n\t\t\t\t\tatta =1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse{\n//\t\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t\t\tatta =0;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(atta == 0){\n\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<hikaku.size()",
"i",
"hikaku.size()",
"hikaku.size",
"hikaku",
"i++",
"i++",
"i",
"{\n\t\t\tatta = 0;\n\t\t\tfor(int ii=0;ii<suite.size();ii++){\n\t\t\t\tString hk = hikaku.get(i);\n\t\t\t\tString su = suite.get(ii);\n\t\t\t\tif(hk.equals(su)){\n//\t\t\t\t\tSystem.out.println(\"atta\");\n\t\t\t\t\tatta =1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse{\n//\t\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t\t\tatta =0;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(atta == 0){\n\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t}\n\t\t}",
"{\n\t\t\tatta = 0;\n\t\t\tfor(int ii=0;ii<suite.size();ii++){\n\t\t\t\tString hk = hikaku.get(i);\n\t\t\t\tString su = suite.get(ii);\n\t\t\t\tif(hk.equals(su)){\n//\t\t\t\t\tSystem.out.println(\"atta\");\n\t\t\t\t\tatta =1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse{\n//\t\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t\t\tatta =0;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(atta == 0){\n\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t}\n\t\t}",
"atta = 0",
"atta",
"0",
"for(int ii=0;ii<suite.size();ii++){\n\t\t\t\tString hk = hikaku.get(i);\n\t\t\t\tString su = suite.get(ii);\n\t\t\t\tif(hk.equals(su)){\n//\t\t\t\t\tSystem.out.println(\"atta\");\n\t\t\t\t\tatta =1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse{\n//\t\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t\t\tatta =0;\n\t\t\t\t}\n\t\t\t}",
"int ii=0;",
"int ii=0;",
"ii",
"0",
"ii<suite.size()",
"ii",
"suite.size()",
"suite.size",
"suite",
"ii++",
"ii++",
"ii",
"{\n\t\t\t\tString hk = hikaku.get(i);\n\t\t\t\tString su = suite.get(ii);\n\t\t\t\tif(hk.equals(su)){\n//\t\t\t\t\tSystem.out.println(\"atta\");\n\t\t\t\t\tatta =1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse{\n//\t\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t\t\tatta =0;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tString hk = hikaku.get(i);\n\t\t\t\tString su = suite.get(ii);\n\t\t\t\tif(hk.equals(su)){\n//\t\t\t\t\tSystem.out.println(\"atta\");\n\t\t\t\t\tatta =1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse{\n//\t\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t\t\tatta =0;\n\t\t\t\t}\n\t\t\t}",
"String hk = hikaku.get(i);",
"hk",
"hikaku.get(i)",
"hikaku.get",
"hikaku",
"i",
"String su = suite.get(ii);",
"su",
"suite.get(ii)",
"suite.get",
"suite",
"ii",
"if(hk.equals(su)){\n//\t\t\t\t\tSystem.out.println(\"atta\");\n\t\t\t\t\tatta =1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse{\n//\t\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t\t\tatta =0;\n\t\t\t\t}",
"hk.equals(su)",
"hk.equals",
"hk",
"su",
"{\n//\t\t\t\t\tSystem.out.println(\"atta\");\n\t\t\t\t\tatta =1;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"atta =1",
"atta",
"1",
"break;",
"{\n//\t\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t\t\tatta =0;\n\t\t\t\t}",
"atta =0",
"atta",
"0",
"if(atta == 0){\n\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t}",
"atta == 0",
"atta",
"0",
"{\n\t\t\t\tSystem.out.println(hikaku.get(i));\n\t\t\t}",
"System.out.println(hikaku.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"hikaku.get(i)",
"hikaku.get",
"hikaku",
"i",
"String[] args",
"args"
] | import java.io.IOException;
import java.util.ArrayList;
import java.util.Scanner;
class Main{
public static void main(String[] args)throws NumberFormatException, IOException{
Scanner scan = new Scanner(System.in);
//BufferedReader scan = new BufferedReader(new InputStreamReader(System.in));
ArrayList<String> suite = new ArrayList<String>();
// ArrayList<Integer> number = new ArrayList<Integer>();
ArrayList<String> hikaku = new ArrayList<String>();
int n =scan.nextInt();
for(int ii=0;ii<n;ii++){
String x = scan.next();
String y = scan.next();
String xy =x+" "+y;
suite.add(xy);
//System.out.println(xy);
}
// for(int na=1;na<suite.size();na++){
// System.out.println(suite.get(na));
// }
//////////////////////////////////////////////?????????????????§?????????
for(int na=1;na<14;na++){
hikaku.add("S "+na);
}
for(int na=1;na<14;na++){
hikaku.add("H "+na);
}
for(int na=1;na<14;na++){
hikaku.add("C "+na);
}
for(int na=1;na<14;na++){
hikaku.add("D "+na);
}
// for(int na=1;na<hikaku.size();na++){
// System.out.println(hikaku.get(na));
// }
/////////////////////////////////////////////??????
int atta =0;
for(int i=0;i<hikaku.size();i++){
atta = 0;
for(int ii=0;ii<suite.size();ii++){
String hk = hikaku.get(i);
String su = suite.get(ii);
if(hk.equals(su)){
// System.out.println("atta");
atta =1;
break;
}
else{
// System.out.println(hikaku.get(i));
atta =0;
}
}
if(atta == 0){
System.out.println(hikaku.get(i));
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
17,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
0,
18,
18,
13,
17,
2,
13,
17,
17,
14,
4,
18,
13,
17,
30,
0,
18,
18,
13,
17,
2,
13,
17,
17,
14,
4,
18,
13,
17,
30,
0,
18,
18,
13,
17,
2,
13,
17,
17,
14,
4,
18,
13,
17,
30,
0,
18,
18,
13,
17,
2,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
18,
18,
13,
13,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
17,
2,
13,
17,
14,
2,
2,
18,
18,
13,
13,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
17,
2,
13,
17,
14,
2,
2,
18,
18,
13,
13,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
17,
2,
13,
17,
14,
2,
2,
18,
18,
13,
13,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
17,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
226,
5
],
[
226,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
45,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
45,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
60,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
60,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
75,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
86,
88
],
[
81,
89
],
[
75,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
90,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
101,
103
],
[
96,
104
],
[
8,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
110,
111
],
[
110,
112
],
[
105,
113
],
[
113,
114
],
[
114,
115
],
[
105,
116
],
[
117,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
118,
123
],
[
123,
124
],
[
123,
125
],
[
118,
126
],
[
126,
127
],
[
127,
128
],
[
118,
129
],
[
130,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
134,
138
],
[
133,
139
],
[
132,
140
],
[
140,
141
],
[
140,
142
],
[
131,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
144,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
151,
153
],
[
131,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
157,
161
],
[
156,
162
],
[
155,
163
],
[
163,
164
],
[
163,
165
],
[
154,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
167,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
174,
176
],
[
154,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
180,
184
],
[
179,
185
],
[
178,
186
],
[
186,
187
],
[
186,
188
],
[
177,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
190,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
197,
199
],
[
177,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
203,
207
],
[
202,
208
],
[
201,
209
],
[
209,
210
],
[
209,
211
],
[
200,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
213,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
220,
222
],
[
6,
223
],
[
223,
224
],
[
0,
225
],
[
225,
226
],
[
225,
227
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[][] cards = new int[4][13];\n\n\t\tint n = sc.nextInt();\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\tString k = sc.next();\n\n\t\t\tint rank = sc.nextInt();\n\n\t\t\tif (k.equals(\"S\")) {\n\n\t\t\t\tcards[0][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"H\")) {\n\n\t\t\t\tcards[1][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"C\")) {\n\n\t\t\t\tcards[2][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"D\")) {\n\n\t\t\t\tcards[3][rank - 1] = 1;\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int a = 0; a < 4; ++a) {\n\n\t\t\tfor (int j = 0; j < 13; j++) {\n\n\t\t\t\tif (cards[a][j] == 0 && a == 0) {\n\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 1) {\n\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 2) {\n\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 3) {\n\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[][] cards = new int[4][13];\n\n\t\tint n = sc.nextInt();\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\tString k = sc.next();\n\n\t\t\tint rank = sc.nextInt();\n\n\t\t\tif (k.equals(\"S\")) {\n\n\t\t\t\tcards[0][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"H\")) {\n\n\t\t\t\tcards[1][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"C\")) {\n\n\t\t\t\tcards[2][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"D\")) {\n\n\t\t\t\tcards[3][rank - 1] = 1;\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int a = 0; a < 4; ++a) {\n\n\t\t\tfor (int j = 0; j < 13; j++) {\n\n\t\t\t\tif (cards[a][j] == 0 && a == 0) {\n\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 1) {\n\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 2) {\n\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 3) {\n\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[][] cards = new int[4][13];\n\n\t\tint n = sc.nextInt();\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\tString k = sc.next();\n\n\t\t\tint rank = sc.nextInt();\n\n\t\t\tif (k.equals(\"S\")) {\n\n\t\t\t\tcards[0][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"H\")) {\n\n\t\t\t\tcards[1][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"C\")) {\n\n\t\t\t\tcards[2][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"D\")) {\n\n\t\t\t\tcards[3][rank - 1] = 1;\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int a = 0; a < 4; ++a) {\n\n\t\t\tfor (int j = 0; j < 13; j++) {\n\n\t\t\t\tif (cards[a][j] == 0 && a == 0) {\n\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 1) {\n\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 2) {\n\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 3) {\n\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[][] cards = new int[4][13];\n\n\t\tint n = sc.nextInt();\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\tString k = sc.next();\n\n\t\t\tint rank = sc.nextInt();\n\n\t\t\tif (k.equals(\"S\")) {\n\n\t\t\t\tcards[0][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"H\")) {\n\n\t\t\t\tcards[1][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"C\")) {\n\n\t\t\t\tcards[2][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"D\")) {\n\n\t\t\t\tcards[3][rank - 1] = 1;\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int a = 0; a < 4; ++a) {\n\n\t\t\tfor (int j = 0; j < 13; j++) {\n\n\t\t\t\tif (cards[a][j] == 0 && a == 0) {\n\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 1) {\n\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 2) {\n\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 3) {\n\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[][] cards = new int[4][13];",
"cards",
"new int[4][13]",
"4",
"13",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int i = 0; i < n; i++) {\n\n\t\t\tString k = sc.next();\n\n\t\t\tint rank = sc.nextInt();\n\n\t\t\tif (k.equals(\"S\")) {\n\n\t\t\t\tcards[0][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"H\")) {\n\n\t\t\t\tcards[1][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"C\")) {\n\n\t\t\t\tcards[2][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"D\")) {\n\n\t\t\t\tcards[3][rank - 1] = 1;\n\n\t\t\t}\n\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\n\t\t\tString k = sc.next();\n\n\t\t\tint rank = sc.nextInt();\n\n\t\t\tif (k.equals(\"S\")) {\n\n\t\t\t\tcards[0][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"H\")) {\n\n\t\t\t\tcards[1][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"C\")) {\n\n\t\t\t\tcards[2][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"D\")) {\n\n\t\t\t\tcards[3][rank - 1] = 1;\n\n\t\t\t}\n\n\t\t}",
"{\n\n\t\t\tString k = sc.next();\n\n\t\t\tint rank = sc.nextInt();\n\n\t\t\tif (k.equals(\"S\")) {\n\n\t\t\t\tcards[0][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"H\")) {\n\n\t\t\t\tcards[1][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"C\")) {\n\n\t\t\t\tcards[2][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"D\")) {\n\n\t\t\t\tcards[3][rank - 1] = 1;\n\n\t\t\t}\n\n\t\t}",
"String k = sc.next();",
"k",
"sc.next()",
"sc.next",
"sc",
"int rank = sc.nextInt();",
"rank",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (k.equals(\"S\")) {\n\n\t\t\t\tcards[0][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"H\")) {\n\n\t\t\t\tcards[1][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"C\")) {\n\n\t\t\t\tcards[2][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"D\")) {\n\n\t\t\t\tcards[3][rank - 1] = 1;\n\n\t\t\t}",
"k.equals(\"S\")",
"k.equals",
"k",
"\"S\"",
"{\n\n\t\t\t\tcards[0][rank - 1] = 1;\n\n\t\t\t}",
"cards[0][rank - 1] = 1",
"cards[0][rank - 1]",
"cards[0]",
"cards",
"0",
"rank - 1",
"rank",
"1",
"1",
"if (k.equals(\"H\")) {\n\n\t\t\t\tcards[1][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"C\")) {\n\n\t\t\t\tcards[2][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"D\")) {\n\n\t\t\t\tcards[3][rank - 1] = 1;\n\n\t\t\t}",
"k.equals(\"H\")",
"k.equals",
"k",
"\"H\"",
"{\n\n\t\t\t\tcards[1][rank - 1] = 1;\n\n\t\t\t}",
"cards[1][rank - 1] = 1",
"cards[1][rank - 1]",
"cards[1]",
"cards",
"1",
"rank - 1",
"rank",
"1",
"1",
"if (k.equals(\"C\")) {\n\n\t\t\t\tcards[2][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"D\")) {\n\n\t\t\t\tcards[3][rank - 1] = 1;\n\n\t\t\t}",
"k.equals(\"C\")",
"k.equals",
"k",
"\"C\"",
"{\n\n\t\t\t\tcards[2][rank - 1] = 1;\n\n\t\t\t}",
"cards[2][rank - 1] = 1",
"cards[2][rank - 1]",
"cards[2]",
"cards",
"2",
"rank - 1",
"rank",
"1",
"1",
"if (k.equals(\"D\")) {\n\n\t\t\t\tcards[3][rank - 1] = 1;\n\n\t\t\t}",
"k.equals(\"D\")",
"k.equals",
"k",
"\"D\"",
"{\n\n\t\t\t\tcards[3][rank - 1] = 1;\n\n\t\t\t}",
"cards[3][rank - 1] = 1",
"cards[3][rank - 1]",
"cards[3]",
"cards",
"3",
"rank - 1",
"rank",
"1",
"1",
"for (int a = 0; a < 4; ++a) {\n\n\t\t\tfor (int j = 0; j < 13; j++) {\n\n\t\t\t\tif (cards[a][j] == 0 && a == 0) {\n\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 1) {\n\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 2) {\n\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 3) {\n\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}",
"int a = 0;",
"int a = 0;",
"a",
"0",
"a < 4",
"a",
"4",
"++a",
"++a",
"a",
"{\n\n\t\t\tfor (int j = 0; j < 13; j++) {\n\n\t\t\t\tif (cards[a][j] == 0 && a == 0) {\n\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 1) {\n\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 2) {\n\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 3) {\n\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}",
"{\n\n\t\t\tfor (int j = 0; j < 13; j++) {\n\n\t\t\t\tif (cards[a][j] == 0 && a == 0) {\n\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 1) {\n\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 2) {\n\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 3) {\n\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}",
"for (int j = 0; j < 13; j++) {\n\n\t\t\t\tif (cards[a][j] == 0 && a == 0) {\n\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 1) {\n\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 2) {\n\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 3) {\n\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\n\t\t\t\t}\n\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < 13",
"j",
"13",
"j++",
"j++",
"j",
"{\n\n\t\t\t\tif (cards[a][j] == 0 && a == 0) {\n\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 1) {\n\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 2) {\n\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 3) {\n\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\n\t\t\t\t}\n\n\t\t\t}",
"{\n\n\t\t\t\tif (cards[a][j] == 0 && a == 0) {\n\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 1) {\n\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 2) {\n\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 3) {\n\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\n\t\t\t\t}\n\n\t\t\t}",
"if (cards[a][j] == 0 && a == 0) {\n\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 1) {\n\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 2) {\n\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 3) {\n\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\n\t\t\t\t}",
"cards[a][j] == 0 && a == 0",
"cards[a][j] == 0",
"cards[a][j]",
"cards[a]",
"cards",
"a",
"j",
"0",
"a == 0",
"a",
"0",
"{\n\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\n\t\t\t\t}",
"System.out.println(\"S \" + (j + 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"S \" + (j + 1)",
"\"S \"",
"(j + 1)",
"j",
"1",
"if (cards[a][j] == 0 && a == 1) {\n\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 2) {\n\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 3) {\n\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\n\t\t\t\t}",
"cards[a][j] == 0 && a == 1",
"cards[a][j] == 0",
"cards[a][j]",
"cards[a]",
"cards",
"a",
"j",
"0",
"a == 1",
"a",
"1",
"{\n\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\n\t\t\t\t}",
"System.out.println(\"H \" + (j + 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"H \" + (j + 1)",
"\"H \"",
"(j + 1)",
"j",
"1",
"if (cards[a][j] == 0 && a == 2) {\n\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 3) {\n\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\n\t\t\t\t}",
"cards[a][j] == 0 && a == 2",
"cards[a][j] == 0",
"cards[a][j]",
"cards[a]",
"cards",
"a",
"j",
"0",
"a == 2",
"a",
"2",
"{\n\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\n\t\t\t\t}",
"System.out.println(\"C \" + (j + 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"C \" + (j + 1)",
"\"C \"",
"(j + 1)",
"j",
"1",
"if (cards[a][j] == 0 && a == 3) {\n\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\n\t\t\t\t}",
"cards[a][j] == 0 && a == 3",
"cards[a][j] == 0",
"cards[a][j]",
"cards[a]",
"cards",
"a",
"j",
"0",
"a == 3",
"a",
"3",
"{\n\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\n\t\t\t\t}",
"System.out.println(\"D \" + (j + 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"D \" + (j + 1)",
"\"D \"",
"(j + 1)",
"j",
"1",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[][] cards = new int[4][13];\n\n\t\tint n = sc.nextInt();\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\tString k = sc.next();\n\n\t\t\tint rank = sc.nextInt();\n\n\t\t\tif (k.equals(\"S\")) {\n\n\t\t\t\tcards[0][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"H\")) {\n\n\t\t\t\tcards[1][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"C\")) {\n\n\t\t\t\tcards[2][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"D\")) {\n\n\t\t\t\tcards[3][rank - 1] = 1;\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int a = 0; a < 4; ++a) {\n\n\t\t\tfor (int j = 0; j < 13; j++) {\n\n\t\t\t\tif (cards[a][j] == 0 && a == 0) {\n\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 1) {\n\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 2) {\n\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 3) {\n\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[][] cards = new int[4][13];\n\n\t\tint n = sc.nextInt();\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\tString k = sc.next();\n\n\t\t\tint rank = sc.nextInt();\n\n\t\t\tif (k.equals(\"S\")) {\n\n\t\t\t\tcards[0][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"H\")) {\n\n\t\t\t\tcards[1][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"C\")) {\n\n\t\t\t\tcards[2][rank - 1] = 1;\n\n\t\t\t} else if (k.equals(\"D\")) {\n\n\t\t\t\tcards[3][rank - 1] = 1;\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int a = 0; a < 4; ++a) {\n\n\t\t\tfor (int j = 0; j < 13; j++) {\n\n\t\t\t\tif (cards[a][j] == 0 && a == 0) {\n\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 1) {\n\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 2) {\n\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\n\t\t\t\t} else if (cards[a][j] == 0 && a == 3) {\n\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[][] cards = new int[4][13];
int n = sc.nextInt();
for (int i = 0; i < n; i++) {
String k = sc.next();
int rank = sc.nextInt();
if (k.equals("S")) {
cards[0][rank - 1] = 1;
} else if (k.equals("H")) {
cards[1][rank - 1] = 1;
} else if (k.equals("C")) {
cards[2][rank - 1] = 1;
} else if (k.equals("D")) {
cards[3][rank - 1] = 1;
}
}
for (int a = 0; a < 4; ++a) {
for (int j = 0; j < 13; j++) {
if (cards[a][j] == 0 && a == 0) {
System.out.println("S " + (j + 1));
} else if (cards[a][j] == 0 && a == 1) {
System.out.println("H " + (j + 1));
} else if (cards[a][j] == 0 && a == 2) {
System.out.println("C " + (j + 1));
} else if (cards[a][j] == 0 && a == 3) {
System.out.println("D " + (j + 1));
}
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
0,
13,
20,
17,
17,
0,
13,
20,
17,
41,
13,
20,
0,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
18,
13,
13,
13,
17,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
35,
13,
34,
17,
1,
0,
18,
18,
13,
17,
2,
13,
17,
17,
3,
34,
17,
1,
0,
18,
18,
13,
17,
2,
13,
17,
17,
3,
34,
17,
1,
0,
18,
18,
13,
17,
2,
13,
17,
17,
3,
34,
17,
1,
0,
18,
18,
13,
17,
2,
13,
17,
17,
3,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
0,
13,
17,
2,
17,
13,
1,
40,
13,
30,
30,
14,
2,
18,
18,
13,
13,
13,
17,
30,
35,
13,
34,
17,
1,
4,
18,
18,
13,
13,
2,
17,
2,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
2,
17,
2,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
2,
17,
2,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
2,
17,
2,
13,
17,
3,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
246,
5
],
[
246,
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
],
[
8,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
53,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
66,
72
],
[
8,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
81,
82
],
[
82,
83
],
[
73,
84
],
[
85,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
85,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
85,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
106,
107
],
[
106,
108
],
[
101,
109
],
[
100,
110
],
[
96,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
119,
120
],
[
119,
121
],
[
114,
122
],
[
113,
123
],
[
96,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
132,
134
],
[
127,
135
],
[
126,
136
],
[
96,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
145,
146
],
[
145,
147
],
[
140,
148
],
[
139,
149
],
[
8,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
150,
155
],
[
155,
156
],
[
155,
157
],
[
150,
158
],
[
158,
159
],
[
159,
160
],
[
150,
161
],
[
162,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
163,
168
],
[
168,
169
],
[
168,
170
],
[
163,
171
],
[
171,
172
],
[
172,
173
],
[
163,
174
],
[
175,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
178,
182
],
[
177,
183
],
[
176,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
190,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
197,
199
],
[
189,
200
],
[
185,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
204,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
211,
213
],
[
203,
214
],
[
185,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
218,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
225,
227
],
[
217,
228
],
[
185,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
232,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
239,
241
],
[
231,
242
],
[
6,
243
],
[
243,
244
],
[
0,
245
],
[
245,
246
],
[
245,
247
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint n, w, i, v, card[][], a[][];\n\t\tString m;\n\t\tcard = new int[4][13];\n\t\ta = new int[4][];\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\n\t\tfor(w = 0; w < 4; w++){\n\t\t\tfor(v = 0; v < 13; v++){\n\t\t\t\tcard[w][v] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(v = 0; n > v; v++){\n\t\t\tm = sc.next();\n\t\t\ti = sc.nextInt();\n\t\t\tswitch(m){\n\t\t\tcase \"S\" : card[0][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"H\" : card[1][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"C\" : card[2][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"D\" : card[3][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(w = 0; w < 4; w++){\n\t\t\tfor(v = 0; 13 > v; v++){\n\t\t\t\tif(card[w][v] == 0){\n\t\t\t\t\tswitch(w){\n\t\t\t\t\tcase 0 : System.out.println(\"S \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1 : System.out.println(\"H \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2 : System.out.println(\"C \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3 : System.out.println(\"D \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\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\tint n, w, i, v, card[][], a[][];\n\t\tString m;\n\t\tcard = new int[4][13];\n\t\ta = new int[4][];\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\n\t\tfor(w = 0; w < 4; w++){\n\t\t\tfor(v = 0; v < 13; v++){\n\t\t\t\tcard[w][v] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(v = 0; n > v; v++){\n\t\t\tm = sc.next();\n\t\t\ti = sc.nextInt();\n\t\t\tswitch(m){\n\t\t\tcase \"S\" : card[0][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"H\" : card[1][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"C\" : card[2][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"D\" : card[3][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(w = 0; w < 4; w++){\n\t\t\tfor(v = 0; 13 > v; v++){\n\t\t\t\tif(card[w][v] == 0){\n\t\t\t\t\tswitch(w){\n\t\t\t\t\tcase 0 : System.out.println(\"S \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1 : System.out.println(\"H \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2 : System.out.println(\"C \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3 : System.out.println(\"D \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tint n, w, i, v, card[][], a[][];\n\t\tString m;\n\t\tcard = new int[4][13];\n\t\ta = new int[4][];\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\n\t\tfor(w = 0; w < 4; w++){\n\t\t\tfor(v = 0; v < 13; v++){\n\t\t\t\tcard[w][v] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(v = 0; n > v; v++){\n\t\t\tm = sc.next();\n\t\t\ti = sc.nextInt();\n\t\t\tswitch(m){\n\t\t\tcase \"S\" : card[0][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"H\" : card[1][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"C\" : card[2][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"D\" : card[3][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(w = 0; w < 4; w++){\n\t\t\tfor(v = 0; 13 > v; v++){\n\t\t\t\tif(card[w][v] == 0){\n\t\t\t\t\tswitch(w){\n\t\t\t\t\tcase 0 : System.out.println(\"S \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1 : System.out.println(\"H \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2 : System.out.println(\"C \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3 : System.out.println(\"D \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tint n, w, i, v, card[][], a[][];\n\t\tString m;\n\t\tcard = new int[4][13];\n\t\ta = new int[4][];\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\n\t\tfor(w = 0; w < 4; w++){\n\t\t\tfor(v = 0; v < 13; v++){\n\t\t\t\tcard[w][v] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(v = 0; n > v; v++){\n\t\t\tm = sc.next();\n\t\t\ti = sc.nextInt();\n\t\t\tswitch(m){\n\t\t\tcase \"S\" : card[0][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"H\" : card[1][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"C\" : card[2][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"D\" : card[3][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(w = 0; w < 4; w++){\n\t\t\tfor(v = 0; 13 > v; v++){\n\t\t\t\tif(card[w][v] == 0){\n\t\t\t\t\tswitch(w){\n\t\t\t\t\tcase 0 : System.out.println(\"S \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1 : System.out.println(\"H \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2 : System.out.println(\"C \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3 : System.out.println(\"D \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"int n",
"n",
"w",
"w",
"i",
"i",
"v",
"v",
"card[][]",
"card",
"a[][];",
"a",
"String m;",
"m",
"card = new int[4][13]",
"card",
"new int[4][13]",
"4",
"13",
"a = new int[4][]",
"a",
"new int[4][]",
"4",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"n = sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(w = 0; w < 4; w++){\n\t\t\tfor(v = 0; v < 13; v++){\n\t\t\t\tcard[w][v] = 0;\n\t\t\t}\n\t\t}",
"w = 0;",
"w = 0",
"w",
"0",
"w < 4",
"w",
"4",
"w++",
"w++",
"w",
"{\n\t\t\tfor(v = 0; v < 13; v++){\n\t\t\t\tcard[w][v] = 0;\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(v = 0; v < 13; v++){\n\t\t\t\tcard[w][v] = 0;\n\t\t\t}\n\t\t}",
"for(v = 0; v < 13; v++){\n\t\t\t\tcard[w][v] = 0;\n\t\t\t}",
"v = 0;",
"v = 0",
"v",
"0",
"v < 13",
"v",
"13",
"v++",
"v++",
"v",
"{\n\t\t\t\tcard[w][v] = 0;\n\t\t\t}",
"{\n\t\t\t\tcard[w][v] = 0;\n\t\t\t}",
"card[w][v] = 0",
"card[w][v]",
"card[w]",
"card",
"w",
"v",
"0",
"for(v = 0; n > v; v++){\n\t\t\tm = sc.next();\n\t\t\ti = sc.nextInt();\n\t\t\tswitch(m){\n\t\t\tcase \"S\" : card[0][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"H\" : card[1][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"C\" : card[2][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"D\" : card[3][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"v = 0;",
"v = 0",
"v",
"0",
"n > v",
"n",
"v",
"v++",
"v++",
"v",
"{\n\t\t\tm = sc.next();\n\t\t\ti = sc.nextInt();\n\t\t\tswitch(m){\n\t\t\tcase \"S\" : card[0][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"H\" : card[1][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"C\" : card[2][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"D\" : card[3][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tm = sc.next();\n\t\t\ti = sc.nextInt();\n\t\t\tswitch(m){\n\t\t\tcase \"S\" : card[0][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"H\" : card[1][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"C\" : card[2][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"D\" : card[3][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"m = sc.next()",
"m",
"sc.next()",
"sc.next",
"sc",
"i = sc.nextInt()",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"switch(m){\n\t\t\tcase \"S\" : card[0][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"H\" : card[1][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"C\" : card[2][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"D\" : card[3][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\t}",
"m",
"case \"S\" :",
"\"S\"",
"case \"S\" :",
"card[0][i - 1] = 1",
"card[0][i - 1]",
"card[0]",
"card",
"0",
"i - 1",
"i",
"1",
"1",
"break;",
"case \"H\" :",
"\"H\"",
"case \"H\" :",
"card[1][i - 1] = 1",
"card[1][i - 1]",
"card[1]",
"card",
"1",
"i - 1",
"i",
"1",
"1",
"break;",
"case \"C\" :",
"\"C\"",
"case \"C\" :",
"card[2][i - 1] = 1",
"card[2][i - 1]",
"card[2]",
"card",
"2",
"i - 1",
"i",
"1",
"1",
"break;",
"case \"D\" :",
"\"D\"",
"case \"D\" :",
"card[3][i - 1] = 1",
"card[3][i - 1]",
"card[3]",
"card",
"3",
"i - 1",
"i",
"1",
"1",
"break;",
"for(w = 0; w < 4; w++){\n\t\t\tfor(v = 0; 13 > v; v++){\n\t\t\t\tif(card[w][v] == 0){\n\t\t\t\t\tswitch(w){\n\t\t\t\t\tcase 0 : System.out.println(\"S \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1 : System.out.println(\"H \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2 : System.out.println(\"C \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3 : System.out.println(\"D \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"w = 0;",
"w = 0",
"w",
"0",
"w < 4",
"w",
"4",
"w++",
"w++",
"w",
"{\n\t\t\tfor(v = 0; 13 > v; v++){\n\t\t\t\tif(card[w][v] == 0){\n\t\t\t\t\tswitch(w){\n\t\t\t\t\tcase 0 : System.out.println(\"S \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1 : System.out.println(\"H \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2 : System.out.println(\"C \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3 : System.out.println(\"D \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(v = 0; 13 > v; v++){\n\t\t\t\tif(card[w][v] == 0){\n\t\t\t\t\tswitch(w){\n\t\t\t\t\tcase 0 : System.out.println(\"S \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1 : System.out.println(\"H \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2 : System.out.println(\"C \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3 : System.out.println(\"D \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(v = 0; 13 > v; v++){\n\t\t\t\tif(card[w][v] == 0){\n\t\t\t\t\tswitch(w){\n\t\t\t\t\tcase 0 : System.out.println(\"S \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1 : System.out.println(\"H \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2 : System.out.println(\"C \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3 : System.out.println(\"D \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"v = 0;",
"v = 0",
"v",
"0",
"13 > v",
"13",
"v",
"v++",
"v++",
"v",
"{\n\t\t\t\tif(card[w][v] == 0){\n\t\t\t\t\tswitch(w){\n\t\t\t\t\tcase 0 : System.out.println(\"S \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1 : System.out.println(\"H \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2 : System.out.println(\"C \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3 : System.out.println(\"D \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(card[w][v] == 0){\n\t\t\t\t\tswitch(w){\n\t\t\t\t\tcase 0 : System.out.println(\"S \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1 : System.out.println(\"H \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2 : System.out.println(\"C \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3 : System.out.println(\"D \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"if(card[w][v] == 0){\n\t\t\t\t\tswitch(w){\n\t\t\t\t\tcase 0 : System.out.println(\"S \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1 : System.out.println(\"H \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2 : System.out.println(\"C \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3 : System.out.println(\"D \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}",
"card[w][v] == 0",
"card[w][v]",
"card[w]",
"card",
"w",
"v",
"0",
"{\n\t\t\t\t\tswitch(w){\n\t\t\t\t\tcase 0 : System.out.println(\"S \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1 : System.out.println(\"H \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2 : System.out.println(\"C \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3 : System.out.println(\"D \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}",
"switch(w){\n\t\t\t\t\tcase 0 : System.out.println(\"S \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1 : System.out.println(\"H \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2 : System.out.println(\"C \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3 : System.out.println(\"D \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"w",
"case 0 :",
"0",
"case 0 :",
"System.out.println(\"S \" + (v + 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"S \" + (v + 1)",
"\"S \"",
"(v + 1)",
"v",
"1",
"break;",
"case 1 :",
"1",
"case 1 :",
"System.out.println(\"H \" + (v + 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"H \" + (v + 1)",
"\"H \"",
"(v + 1)",
"v",
"1",
"break;",
"case 2 :",
"2",
"case 2 :",
"System.out.println(\"C \" + (v + 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"C \" + (v + 1)",
"\"C \"",
"(v + 1)",
"v",
"1",
"break;",
"case 3 :",
"3",
"case 3 :",
"System.out.println(\"D \" + (v + 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"D \" + (v + 1)",
"\"D \"",
"(v + 1)",
"v",
"1",
"break;",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint n, w, i, v, card[][], a[][];\n\t\tString m;\n\t\tcard = new int[4][13];\n\t\ta = new int[4][];\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\n\t\tfor(w = 0; w < 4; w++){\n\t\t\tfor(v = 0; v < 13; v++){\n\t\t\t\tcard[w][v] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(v = 0; n > v; v++){\n\t\t\tm = sc.next();\n\t\t\ti = sc.nextInt();\n\t\t\tswitch(m){\n\t\t\tcase \"S\" : card[0][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"H\" : card[1][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"C\" : card[2][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"D\" : card[3][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(w = 0; w < 4; w++){\n\t\t\tfor(v = 0; 13 > v; v++){\n\t\t\t\tif(card[w][v] == 0){\n\t\t\t\t\tswitch(w){\n\t\t\t\t\tcase 0 : System.out.println(\"S \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1 : System.out.println(\"H \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2 : System.out.println(\"C \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3 : System.out.println(\"D \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint n, w, i, v, card[][], a[][];\n\t\tString m;\n\t\tcard = new int[4][13];\n\t\ta = new int[4][];\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\n\t\tfor(w = 0; w < 4; w++){\n\t\t\tfor(v = 0; v < 13; v++){\n\t\t\t\tcard[w][v] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(v = 0; n > v; v++){\n\t\t\tm = sc.next();\n\t\t\ti = sc.nextInt();\n\t\t\tswitch(m){\n\t\t\tcase \"S\" : card[0][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"H\" : card[1][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"C\" : card[2][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\tcase \"D\" : card[3][i - 1] = 1;\n\t\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(w = 0; w < 4; w++){\n\t\t\tfor(v = 0; 13 > v; v++){\n\t\t\t\tif(card[w][v] == 0){\n\t\t\t\t\tswitch(w){\n\t\t\t\t\tcase 0 : System.out.println(\"S \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1 : System.out.println(\"H \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2 : System.out.println(\"C \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3 : System.out.println(\"D \" + (v + 1));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int n, w, i, v, card[][], a[][];
String m;
card = new int[4][13];
a = new int[4][];
Scanner sc = new Scanner(System.in);
n = sc.nextInt();
for(w = 0; w < 4; w++){
for(v = 0; v < 13; v++){
card[w][v] = 0;
}
}
for(v = 0; n > v; v++){
m = sc.next();
i = sc.nextInt();
switch(m){
case "S" : card[0][i - 1] = 1;
break;
case "H" : card[1][i - 1] = 1;
break;
case "C" : card[2][i - 1] = 1;
break;
case "D" : card[3][i - 1] = 1;
break;
}
}
for(w = 0; w < 4; w++){
for(v = 0; 13 > v; v++){
if(card[w][v] == 0){
switch(w){
case 0 : System.out.println("S " + (v + 1));
break;
case 1 : System.out.println("H " + (v + 1));
break;
case 2 : System.out.println("C " + (v + 1));
break;
case 3 : System.out.println("D " + (v + 1));
break;
}
}
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
17,
17,
41,
13,
39,
17,
17,
17,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
2,
4,
18,
13,
17,
14,
4,
18,
17,
13,
30,
0,
18,
18,
13,
17,
13,
17,
14,
4,
18,
17,
13,
30,
0,
18,
18,
13,
17,
13,
17,
14,
4,
18,
17,
13,
30,
0,
18,
18,
13,
17,
13,
17,
30,
0,
18,
18,
13,
17,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
18,
13,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
18,
13,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
151,
5
],
[
151,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
24,
27
],
[
24,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
29,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
49,
53
],
[
41,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
60,
66
],
[
54,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
67,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
73,
79
],
[
67,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
80,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
86,
92
],
[
80,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
94,
100
],
[
8,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
101,
109
],
[
109,
110
],
[
110,
111
],
[
101,
112
],
[
113,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
119,
120
],
[
119,
121
],
[
114,
122
],
[
122,
123
],
[
123,
124
],
[
114,
125
],
[
126,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
128,
134
],
[
127,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
136,
141
],
[
136,
142
],
[
142,
143
],
[
142,
144
],
[
136,
145
],
[
145,
146
],
[
145,
147
],
[
6,
148
],
[
148,
149
],
[
0,
150
],
[
150,
151
],
[
150,
152
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint card[][] = new int[4][14];\n\t\tchar[] m = { 'S', 'H', 'C', 'D' };\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString pic = scan.next();\n\t\t\tint num = scan.nextInt() - 1;\n\t\t\tif (\"S\".equals(pic)) {\n\t\t\t\tcard[0][num] = 1;\n\t\t\t} else if (\"H\".equals(pic)) {\n\t\t\t\tcard[1][num] = 1;\n\t\t\t} else if (\"C\".equals(pic)) {\n\t\t\t\tcard[2][num] = 1;\n\t\t\t} else {\n\t\t\t\tcard[3][num] = 1;\n\t\t\t}\n\t\t}\t\t\n\n\t\tfor(int i =0;i<=3;i++){\n\t\t\tfor(int j =0;j<13;j++){\n\t\t\t\tif(card[i][j]==0){\n\t\t\t\t\tSystem.out.printf(\"%s %d%n\",m[i],j+1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint card[][] = new int[4][14];\n\t\tchar[] m = { 'S', 'H', 'C', 'D' };\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString pic = scan.next();\n\t\t\tint num = scan.nextInt() - 1;\n\t\t\tif (\"S\".equals(pic)) {\n\t\t\t\tcard[0][num] = 1;\n\t\t\t} else if (\"H\".equals(pic)) {\n\t\t\t\tcard[1][num] = 1;\n\t\t\t} else if (\"C\".equals(pic)) {\n\t\t\t\tcard[2][num] = 1;\n\t\t\t} else {\n\t\t\t\tcard[3][num] = 1;\n\t\t\t}\n\t\t}\t\t\n\n\t\tfor(int i =0;i<=3;i++){\n\t\t\tfor(int j =0;j<13;j++){\n\t\t\t\tif(card[i][j]==0){\n\t\t\t\t\tSystem.out.printf(\"%s %d%n\",m[i],j+1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint card[][] = new int[4][14];\n\t\tchar[] m = { 'S', 'H', 'C', 'D' };\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString pic = scan.next();\n\t\t\tint num = scan.nextInt() - 1;\n\t\t\tif (\"S\".equals(pic)) {\n\t\t\t\tcard[0][num] = 1;\n\t\t\t} else if (\"H\".equals(pic)) {\n\t\t\t\tcard[1][num] = 1;\n\t\t\t} else if (\"C\".equals(pic)) {\n\t\t\t\tcard[2][num] = 1;\n\t\t\t} else {\n\t\t\t\tcard[3][num] = 1;\n\t\t\t}\n\t\t}\t\t\n\n\t\tfor(int i =0;i<=3;i++){\n\t\t\tfor(int j =0;j<13;j++){\n\t\t\t\tif(card[i][j]==0){\n\t\t\t\t\tSystem.out.printf(\"%s %d%n\",m[i],j+1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint card[][] = new int[4][14];\n\t\tchar[] m = { 'S', 'H', 'C', 'D' };\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString pic = scan.next();\n\t\t\tint num = scan.nextInt() - 1;\n\t\t\tif (\"S\".equals(pic)) {\n\t\t\t\tcard[0][num] = 1;\n\t\t\t} else if (\"H\".equals(pic)) {\n\t\t\t\tcard[1][num] = 1;\n\t\t\t} else if (\"C\".equals(pic)) {\n\t\t\t\tcard[2][num] = 1;\n\t\t\t} else {\n\t\t\t\tcard[3][num] = 1;\n\t\t\t}\n\t\t}\t\t\n\n\t\tfor(int i =0;i<=3;i++){\n\t\t\tfor(int j =0;j<13;j++){\n\t\t\t\tif(card[i][j]==0){\n\t\t\t\t\tSystem.out.printf(\"%s %d%n\",m[i],j+1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int card[][] = new int[4][14];",
"card",
"new int[4][14]",
"4",
"14",
"char[] m = { 'S', 'H', 'C', 'D' };",
"m",
"{ 'S', 'H', 'C', 'D' }",
"'S'",
"'H'",
"'C'",
"'D'",
"for (int i = 0; i < n; i++) {\n\t\t\tString pic = scan.next();\n\t\t\tint num = scan.nextInt() - 1;\n\t\t\tif (\"S\".equals(pic)) {\n\t\t\t\tcard[0][num] = 1;\n\t\t\t} else if (\"H\".equals(pic)) {\n\t\t\t\tcard[1][num] = 1;\n\t\t\t} else if (\"C\".equals(pic)) {\n\t\t\t\tcard[2][num] = 1;\n\t\t\t} else {\n\t\t\t\tcard[3][num] = 1;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tString pic = scan.next();\n\t\t\tint num = scan.nextInt() - 1;\n\t\t\tif (\"S\".equals(pic)) {\n\t\t\t\tcard[0][num] = 1;\n\t\t\t} else if (\"H\".equals(pic)) {\n\t\t\t\tcard[1][num] = 1;\n\t\t\t} else if (\"C\".equals(pic)) {\n\t\t\t\tcard[2][num] = 1;\n\t\t\t} else {\n\t\t\t\tcard[3][num] = 1;\n\t\t\t}\n\t\t}",
"{\n\t\t\tString pic = scan.next();\n\t\t\tint num = scan.nextInt() - 1;\n\t\t\tif (\"S\".equals(pic)) {\n\t\t\t\tcard[0][num] = 1;\n\t\t\t} else if (\"H\".equals(pic)) {\n\t\t\t\tcard[1][num] = 1;\n\t\t\t} else if (\"C\".equals(pic)) {\n\t\t\t\tcard[2][num] = 1;\n\t\t\t} else {\n\t\t\t\tcard[3][num] = 1;\n\t\t\t}\n\t\t}",
"String pic = scan.next();",
"pic",
"scan.next()",
"scan.next",
"scan",
"int num = scan.nextInt() - 1;",
"num",
"scan.nextInt() - 1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"1",
"if (\"S\".equals(pic)) {\n\t\t\t\tcard[0][num] = 1;\n\t\t\t} else if (\"H\".equals(pic)) {\n\t\t\t\tcard[1][num] = 1;\n\t\t\t} else if (\"C\".equals(pic)) {\n\t\t\t\tcard[2][num] = 1;\n\t\t\t} else {\n\t\t\t\tcard[3][num] = 1;\n\t\t\t}",
"\"S\".equals(pic)",
"\"S\".equals",
"\"S\"",
"pic",
"{\n\t\t\t\tcard[0][num] = 1;\n\t\t\t}",
"card[0][num] = 1",
"card[0][num]",
"card[0]",
"card",
"0",
"num",
"1",
"if (\"H\".equals(pic)) {\n\t\t\t\tcard[1][num] = 1;\n\t\t\t} else if (\"C\".equals(pic)) {\n\t\t\t\tcard[2][num] = 1;\n\t\t\t} else {\n\t\t\t\tcard[3][num] = 1;\n\t\t\t}",
"\"H\".equals(pic)",
"\"H\".equals",
"\"H\"",
"pic",
"{\n\t\t\t\tcard[1][num] = 1;\n\t\t\t}",
"card[1][num] = 1",
"card[1][num]",
"card[1]",
"card",
"1",
"num",
"1",
"if (\"C\".equals(pic)) {\n\t\t\t\tcard[2][num] = 1;\n\t\t\t} else {\n\t\t\t\tcard[3][num] = 1;\n\t\t\t}",
"\"C\".equals(pic)",
"\"C\".equals",
"\"C\"",
"pic",
"{\n\t\t\t\tcard[2][num] = 1;\n\t\t\t}",
"card[2][num] = 1",
"card[2][num]",
"card[2]",
"card",
"2",
"num",
"1",
"{\n\t\t\t\tcard[3][num] = 1;\n\t\t\t}",
"card[3][num] = 1",
"card[3][num]",
"card[3]",
"card",
"3",
"num",
"1",
"for(int i =0;i<=3;i++){\n\t\t\tfor(int j =0;j<13;j++){\n\t\t\t\tif(card[i][j]==0){\n\t\t\t\t\tSystem.out.printf(\"%s %d%n\",m[i],j+1);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i =0;",
"int i =0;",
"i",
"0",
"i<=3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j =0;j<13;j++){\n\t\t\t\tif(card[i][j]==0){\n\t\t\t\t\tSystem.out.printf(\"%s %d%n\",m[i],j+1);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int j =0;j<13;j++){\n\t\t\t\tif(card[i][j]==0){\n\t\t\t\t\tSystem.out.printf(\"%s %d%n\",m[i],j+1);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int j =0;j<13;j++){\n\t\t\t\tif(card[i][j]==0){\n\t\t\t\t\tSystem.out.printf(\"%s %d%n\",m[i],j+1);\n\t\t\t\t}\n\t\t\t}",
"int j =0;",
"int j =0;",
"j",
"0",
"j<13",
"j",
"13",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(card[i][j]==0){\n\t\t\t\t\tSystem.out.printf(\"%s %d%n\",m[i],j+1);\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(card[i][j]==0){\n\t\t\t\t\tSystem.out.printf(\"%s %d%n\",m[i],j+1);\n\t\t\t\t}\n\t\t\t}",
"if(card[i][j]==0){\n\t\t\t\t\tSystem.out.printf(\"%s %d%n\",m[i],j+1);\n\t\t\t\t}",
"card[i][j]==0",
"card[i][j]",
"card[i]",
"card",
"i",
"j",
"0",
"{\n\t\t\t\t\tSystem.out.printf(\"%s %d%n\",m[i],j+1);\n\t\t\t\t}",
"System.out.printf(\"%s %d%n\",m[i],j+1)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%s %d%n\"",
"m[i]",
"m",
"i",
"j+1",
"j",
"1",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint card[][] = new int[4][14];\n\t\tchar[] m = { 'S', 'H', 'C', 'D' };\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString pic = scan.next();\n\t\t\tint num = scan.nextInt() - 1;\n\t\t\tif (\"S\".equals(pic)) {\n\t\t\t\tcard[0][num] = 1;\n\t\t\t} else if (\"H\".equals(pic)) {\n\t\t\t\tcard[1][num] = 1;\n\t\t\t} else if (\"C\".equals(pic)) {\n\t\t\t\tcard[2][num] = 1;\n\t\t\t} else {\n\t\t\t\tcard[3][num] = 1;\n\t\t\t}\n\t\t}\t\t\n\n\t\tfor(int i =0;i<=3;i++){\n\t\t\tfor(int j =0;j<13;j++){\n\t\t\t\tif(card[i][j]==0){\n\t\t\t\t\tSystem.out.printf(\"%s %d%n\",m[i],j+1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint card[][] = new int[4][14];\n\t\tchar[] m = { 'S', 'H', 'C', 'D' };\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString pic = scan.next();\n\t\t\tint num = scan.nextInt() - 1;\n\t\t\tif (\"S\".equals(pic)) {\n\t\t\t\tcard[0][num] = 1;\n\t\t\t} else if (\"H\".equals(pic)) {\n\t\t\t\tcard[1][num] = 1;\n\t\t\t} else if (\"C\".equals(pic)) {\n\t\t\t\tcard[2][num] = 1;\n\t\t\t} else {\n\t\t\t\tcard[3][num] = 1;\n\t\t\t}\n\t\t}\t\t\n\n\t\tfor(int i =0;i<=3;i++){\n\t\t\tfor(int j =0;j<13;j++){\n\t\t\t\tif(card[i][j]==0){\n\t\t\t\t\tSystem.out.printf(\"%s %d%n\",m[i],j+1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int card[][] = new int[4][14];
char[] m = { 'S', 'H', 'C', 'D' };
for (int i = 0; i < n; i++) {
String pic = scan.next();
int num = scan.nextInt() - 1;
if ("S".equals(pic)) {
card[0][num] = 1;
} else if ("H".equals(pic)) {
card[1][num] = 1;
} else if ("C".equals(pic)) {
card[2][num] = 1;
} else {
card[3][num] = 1;
}
}
for(int i =0;i<=3;i++){
for(int j =0;j<13;j++){
if(card[i][j]==0){
System.out.printf("%s %d%n",m[i],j+1);
}
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
4,
18,
13,
17,
41,
13,
39,
17,
17,
17,
17,
12,
13,
30,
35,
13,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
29,
40,
17,
23,
13,
12,
13,
30,
41,
13,
20,
17,
17,
38,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
13,
17,
0,
18,
18,
13,
4,
13,
13,
2,
13,
17,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
40,
18,
18,
13,
13,
2,
13,
17,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
18,
13,
13,
17,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
204,
14
],
[
204,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
204,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
23,
26
],
[
23,
27
],
[
204,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
31,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
31,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
31,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
30,
53
],
[
53,
54
],
[
54,
55
],
[
28,
56
],
[
56,
57
],
[
204,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
67,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
79,
80
],
[
80,
81
],
[
67,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
90,
91
],
[
91,
92
],
[
82,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
97,
102
],
[
94,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
94,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
113,
116
],
[
116,
117
],
[
116,
118
],
[
94,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
123,
125
],
[
120,
126
],
[
126,
127
],
[
126,
128
],
[
119,
129
],
[
67,
130
],
[
130,
131
],
[
130,
132
],
[
67,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
133,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
140,
142
],
[
133,
143
],
[
143,
144
],
[
144,
145
],
[
133,
146
],
[
147,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
148,
153
],
[
153,
154
],
[
153,
155
],
[
148,
156
],
[
156,
157
],
[
157,
158
],
[
148,
159
],
[
160,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
163,
167
],
[
167,
168
],
[
167,
169
],
[
161,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
177,
180
],
[
180,
181
],
[
180,
182
],
[
175,
183
],
[
173,
184
],
[
171,
185
],
[
67,
186
],
[
186,
187
],
[
187,
188
],
[
186,
189
],
[
189,
190
],
[
190,
191
],
[
67,
192
],
[
192,
193
],
[
193,
194
],
[
204,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
195,
201
],
[
201,
202
],
[
0,
203
],
[
203,
204
],
[
203,
205
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\n\npublic class Main {\n\tpublic static final String EOL = System.getProperty(\"line.separator\");\n\tpublic static final char[] SUIT = {'S','H','C','D'};\n\tprivate int getSuitNum(char suit) {\n\t\tswitch(suit) {\n\t\tcase 'S': return 0;\n\t\tcase 'H': return 1;\n\t\tcase 'C': return 2;\n\t\tcase 'D': return 3;\n\t\t}\n\t\treturn -1;\n\t}\n\t\n public void exec() throws IOException {\n \tboolean[][] trump = new boolean[4][13];\n \ttry(BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \tPrintWriter out = new PrintWriter(System.out);){\n int n = Integer.parseInt(br.readLine());\n for(int i=0; i<n; i++) {\n \tString[] str = br.readLine().split(\" \");\n \tchar suitChar = str[0].charAt(0);\n \tint number = Integer.parseInt(str[1]);\n \t\ttrump[getSuitNum(suitChar)][number-1] = true;\n }\n \n StringBuilder sb = new StringBuilder();\n for(int suitNum=0; suitNum<SUIT.length; suitNum++) {\n \tfor(int number=1; number<=13; number++) {\n \t\tif(!trump[suitNum][number-1]) {\n \t\t\tsb.append(SUIT[suitNum]).append(' ').append(number).append(EOL);\n \t\t}\n \t}\n }\n out.print(sb.toString());\n out.flush();\n \t}\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"public class Main {\n\tpublic static final String EOL = System.getProperty(\"line.separator\");\n\tpublic static final char[] SUIT = {'S','H','C','D'};\n\tprivate int getSuitNum(char suit) {\n\t\tswitch(suit) {\n\t\tcase 'S': return 0;\n\t\tcase 'H': return 1;\n\t\tcase 'C': return 2;\n\t\tcase 'D': return 3;\n\t\t}\n\t\treturn -1;\n\t}\n\t\n public void exec() throws IOException {\n \tboolean[][] trump = new boolean[4][13];\n \ttry(BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \tPrintWriter out = new PrintWriter(System.out);){\n int n = Integer.parseInt(br.readLine());\n for(int i=0; i<n; i++) {\n \tString[] str = br.readLine().split(\" \");\n \tchar suitChar = str[0].charAt(0);\n \tint number = Integer.parseInt(str[1]);\n \t\ttrump[getSuitNum(suitChar)][number-1] = true;\n }\n \n StringBuilder sb = new StringBuilder();\n for(int suitNum=0; suitNum<SUIT.length; suitNum++) {\n \tfor(int number=1; number<=13; number++) {\n \t\tif(!trump[suitNum][number-1]) {\n \t\t\tsb.append(SUIT[suitNum]).append(' ').append(number).append(EOL);\n \t\t}\n \t}\n }\n out.print(sb.toString());\n out.flush();\n \t}\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }\n}",
"Main",
"public static final String EOL = System.getProperty(\"line.separator\");",
"EOL",
"System.getProperty(\"line.separator\")",
"System.getProperty",
"System",
"\"line.separator\"",
"public static final char[] SUIT = {'S','H','C','D'};",
"SUIT",
"{'S','H','C','D'}",
"'S'",
"'H'",
"'C'",
"'D'",
"private int getSuitNum(char suit) {\n\t\tswitch(suit) {\n\t\tcase 'S': return 0;\n\t\tcase 'H': return 1;\n\t\tcase 'C': return 2;\n\t\tcase 'D': return 3;\n\t\t}\n\t\treturn -1;\n\t}",
"getSuitNum",
"{\n\t\tswitch(suit) {\n\t\tcase 'S': return 0;\n\t\tcase 'H': return 1;\n\t\tcase 'C': return 2;\n\t\tcase 'D': return 3;\n\t\t}\n\t\treturn -1;\n\t}",
"switch(suit) {\n\t\tcase 'S': return 0;\n\t\tcase 'H': return 1;\n\t\tcase 'C': return 2;\n\t\tcase 'D': return 3;\n\t\t}",
"suit",
"case 'S':",
"'S'",
"case 'S':",
"return 0;",
"0",
"case 'H':",
"'H'",
"case 'H':",
"return 1;",
"1",
"case 'C':",
"'C'",
"case 'C':",
"return 2;",
"2",
"case 'D':",
"'D'",
"case 'D':",
"return 3;",
"3",
"return -1;",
"-1",
"1",
"char suit",
"suit",
"public void exec() throws IOException {\n \tboolean[][] trump = new boolean[4][13];\n \ttry(BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \tPrintWriter out = new PrintWriter(System.out);){\n int n = Integer.parseInt(br.readLine());\n for(int i=0; i<n; i++) {\n \tString[] str = br.readLine().split(\" \");\n \tchar suitChar = str[0].charAt(0);\n \tint number = Integer.parseInt(str[1]);\n \t\ttrump[getSuitNum(suitChar)][number-1] = true;\n }\n \n StringBuilder sb = new StringBuilder();\n for(int suitNum=0; suitNum<SUIT.length; suitNum++) {\n \tfor(int number=1; number<=13; number++) {\n \t\tif(!trump[suitNum][number-1]) {\n \t\t\tsb.append(SUIT[suitNum]).append(' ').append(number).append(EOL);\n \t\t}\n \t}\n }\n out.print(sb.toString());\n out.flush();\n \t}\n }",
"exec",
"{\n \tboolean[][] trump = new boolean[4][13];\n \ttry(BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \tPrintWriter out = new PrintWriter(System.out);){\n int n = Integer.parseInt(br.readLine());\n for(int i=0; i<n; i++) {\n \tString[] str = br.readLine().split(\" \");\n \tchar suitChar = str[0].charAt(0);\n \tint number = Integer.parseInt(str[1]);\n \t\ttrump[getSuitNum(suitChar)][number-1] = true;\n }\n \n StringBuilder sb = new StringBuilder();\n for(int suitNum=0; suitNum<SUIT.length; suitNum++) {\n \tfor(int number=1; number<=13; number++) {\n \t\tif(!trump[suitNum][number-1]) {\n \t\t\tsb.append(SUIT[suitNum]).append(' ').append(number).append(EOL);\n \t\t}\n \t}\n }\n out.print(sb.toString());\n out.flush();\n \t}\n }",
"boolean[][] trump = new boolean[4][13];",
"trump",
"new boolean[4][13]",
"4",
"13",
"try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \tPrintWriter out = new PrintWriter(System.out);){\n int n = Integer.parseInt(br.readLine());\n for(int i=0; i<n; i++) {\n \tString[] str = br.readLine().split(\" \");\n \tchar suitChar = str[0].charAt(0);\n \tint number = Integer.parseInt(str[1]);\n \t\ttrump[getSuitNum(suitChar)][number-1] = true;\n }\n \n StringBuilder sb = new StringBuilder();\n for(int suitNum=0; suitNum<SUIT.length; suitNum++) {\n \tfor(int number=1; number<=13; number++) {\n \t\tif(!trump[suitNum][number-1]) {\n \t\t\tsb.append(SUIT[suitNum]).append(' ').append(number).append(EOL);\n \t\t}\n \t}\n }\n out.print(sb.toString());\n out.flush();\n \t}",
"{\n int n = Integer.parseInt(br.readLine());\n for(int i=0; i<n; i++) {\n \tString[] str = br.readLine().split(\" \");\n \tchar suitChar = str[0].charAt(0);\n \tint number = Integer.parseInt(str[1]);\n \t\ttrump[getSuitNum(suitChar)][number-1] = true;\n }\n \n StringBuilder sb = new StringBuilder();\n for(int suitNum=0; suitNum<SUIT.length; suitNum++) {\n \tfor(int number=1; number<=13; number++) {\n \t\tif(!trump[suitNum][number-1]) {\n \t\t\tsb.append(SUIT[suitNum]).append(' ').append(number).append(EOL);\n \t\t}\n \t}\n }\n out.print(sb.toString());\n out.flush();\n \t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"new BufferedReader(new InputStreamReader(System.in))",
"PrintWriter out = new PrintWriter(System.out)",
"PrintWriter out = new PrintWriter(System.out)",
"new PrintWriter(System.out)",
"int n = Integer.parseInt(br.readLine());",
"n",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"for(int i=0; i<n; i++) {\n \tString[] str = br.readLine().split(\" \");\n \tchar suitChar = str[0].charAt(0);\n \tint number = Integer.parseInt(str[1]);\n \t\ttrump[getSuitNum(suitChar)][number-1] = true;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n \tString[] str = br.readLine().split(\" \");\n \tchar suitChar = str[0].charAt(0);\n \tint number = Integer.parseInt(str[1]);\n \t\ttrump[getSuitNum(suitChar)][number-1] = true;\n }",
"{\n \tString[] str = br.readLine().split(\" \");\n \tchar suitChar = str[0].charAt(0);\n \tint number = Integer.parseInt(str[1]);\n \t\ttrump[getSuitNum(suitChar)][number-1] = true;\n }",
"String[] str = br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"char suitChar = str[0].charAt(0);",
"suitChar",
"str[0].charAt(0)",
"str[0].charAt",
"str[0]",
"str",
"0",
"0",
"int number = Integer.parseInt(str[1]);",
"number",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"trump[getSuitNum(suitChar)][number-1] = true",
"trump[getSuitNum(suitChar)][number-1]",
"trump[getSuitNum(suitChar)]",
"trump",
"getSuitNum(suitChar)",
"getSuitNum",
"suitChar",
"number-1",
"number",
"1",
"true",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for(int suitNum=0; suitNum<SUIT.length; suitNum++) {\n \tfor(int number=1; number<=13; number++) {\n \t\tif(!trump[suitNum][number-1]) {\n \t\t\tsb.append(SUIT[suitNum]).append(' ').append(number).append(EOL);\n \t\t}\n \t}\n }",
"int suitNum=0;",
"int suitNum=0;",
"suitNum",
"0",
"suitNum<SUIT.length",
"suitNum",
"SUIT.length",
"SUIT",
"SUIT.length",
"suitNum++",
"suitNum++",
"suitNum",
"{\n \tfor(int number=1; number<=13; number++) {\n \t\tif(!trump[suitNum][number-1]) {\n \t\t\tsb.append(SUIT[suitNum]).append(' ').append(number).append(EOL);\n \t\t}\n \t}\n }",
"{\n \tfor(int number=1; number<=13; number++) {\n \t\tif(!trump[suitNum][number-1]) {\n \t\t\tsb.append(SUIT[suitNum]).append(' ').append(number).append(EOL);\n \t\t}\n \t}\n }",
"for(int number=1; number<=13; number++) {\n \t\tif(!trump[suitNum][number-1]) {\n \t\t\tsb.append(SUIT[suitNum]).append(' ').append(number).append(EOL);\n \t\t}\n \t}",
"int number=1;",
"int number=1;",
"number",
"1",
"number<=13",
"number",
"13",
"number++",
"number++",
"number",
"{\n \t\tif(!trump[suitNum][number-1]) {\n \t\t\tsb.append(SUIT[suitNum]).append(' ').append(number).append(EOL);\n \t\t}\n \t}",
"{\n \t\tif(!trump[suitNum][number-1]) {\n \t\t\tsb.append(SUIT[suitNum]).append(' ').append(number).append(EOL);\n \t\t}\n \t}",
"if(!trump[suitNum][number-1]) {\n \t\t\tsb.append(SUIT[suitNum]).append(' ').append(number).append(EOL);\n \t\t}",
"!trump[suitNum][number-1]",
"trump[suitNum][number-1]",
"trump[suitNum]",
"trump",
"suitNum",
"number-1",
"number",
"1",
"{\n \t\t\tsb.append(SUIT[suitNum]).append(' ').append(number).append(EOL);\n \t\t}",
"sb.append(SUIT[suitNum]).append(' ').append(number).append(EOL)",
"sb.append(SUIT[suitNum]).append(' ').append(number).append",
"sb.append(SUIT[suitNum]).append(' ').append(number)",
"sb.append(SUIT[suitNum]).append(' ').append",
"sb.append(SUIT[suitNum]).append(' ')",
"sb.append(SUIT[suitNum]).append",
"sb.append(SUIT[suitNum])",
"sb.append",
"sb",
"SUIT[suitNum]",
"SUIT",
"suitNum",
"' '",
"number",
"EOL",
"out.print(sb.toString())",
"out.print",
"out",
"sb.toString()",
"sb.toString",
"sb",
"out.flush()",
"out.flush",
"out",
"public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }",
"main",
"{\n \tnew Main().exec();\n }",
"new Main().exec()",
"new Main().exec",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tpublic static final String EOL = System.getProperty(\"line.separator\");\n\tpublic static final char[] SUIT = {'S','H','C','D'};\n\tprivate int getSuitNum(char suit) {\n\t\tswitch(suit) {\n\t\tcase 'S': return 0;\n\t\tcase 'H': return 1;\n\t\tcase 'C': return 2;\n\t\tcase 'D': return 3;\n\t\t}\n\t\treturn -1;\n\t}\n\t\n public void exec() throws IOException {\n \tboolean[][] trump = new boolean[4][13];\n \ttry(BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \tPrintWriter out = new PrintWriter(System.out);){\n int n = Integer.parseInt(br.readLine());\n for(int i=0; i<n; i++) {\n \tString[] str = br.readLine().split(\" \");\n \tchar suitChar = str[0].charAt(0);\n \tint number = Integer.parseInt(str[1]);\n \t\ttrump[getSuitNum(suitChar)][number-1] = true;\n }\n \n StringBuilder sb = new StringBuilder();\n for(int suitNum=0; suitNum<SUIT.length; suitNum++) {\n \tfor(int number=1; number<=13; number++) {\n \t\tif(!trump[suitNum][number-1]) {\n \t\t\tsb.append(SUIT[suitNum]).append(' ').append(number).append(EOL);\n \t\t}\n \t}\n }\n out.print(sb.toString());\n out.flush();\n \t}\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }\n}",
"public class Main {\n\tpublic static final String EOL = System.getProperty(\"line.separator\");\n\tpublic static final char[] SUIT = {'S','H','C','D'};\n\tprivate int getSuitNum(char suit) {\n\t\tswitch(suit) {\n\t\tcase 'S': return 0;\n\t\tcase 'H': return 1;\n\t\tcase 'C': return 2;\n\t\tcase 'D': return 3;\n\t\t}\n\t\treturn -1;\n\t}\n\t\n public void exec() throws IOException {\n \tboolean[][] trump = new boolean[4][13];\n \ttry(BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \tPrintWriter out = new PrintWriter(System.out);){\n int n = Integer.parseInt(br.readLine());\n for(int i=0; i<n; i++) {\n \tString[] str = br.readLine().split(\" \");\n \tchar suitChar = str[0].charAt(0);\n \tint number = Integer.parseInt(str[1]);\n \t\ttrump[getSuitNum(suitChar)][number-1] = true;\n }\n \n StringBuilder sb = new StringBuilder();\n for(int suitNum=0; suitNum<SUIT.length; suitNum++) {\n \tfor(int number=1; number<=13; number++) {\n \t\tif(!trump[suitNum][number-1]) {\n \t\t\tsb.append(SUIT[suitNum]).append(' ').append(number).append(EOL);\n \t\t}\n \t}\n }\n out.print(sb.toString());\n out.flush();\n \t}\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
public class Main {
public static final String EOL = System.getProperty("line.separator");
public static final char[] SUIT = {'S','H','C','D'};
private int getSuitNum(char suit) {
switch(suit) {
case 'S': return 0;
case 'H': return 1;
case 'C': return 2;
case 'D': return 3;
}
return -1;
}
public void exec() throws IOException {
boolean[][] trump = new boolean[4][13];
try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
PrintWriter out = new PrintWriter(System.out);){
int n = Integer.parseInt(br.readLine());
for(int i=0; i<n; i++) {
String[] str = br.readLine().split(" ");
char suitChar = str[0].charAt(0);
int number = Integer.parseInt(str[1]);
trump[getSuitNum(suitChar)][number-1] = true;
}
StringBuilder sb = new StringBuilder();
for(int suitNum=0; suitNum<SUIT.length; suitNum++) {
for(int number=1; number<=13; number++) {
if(!trump[suitNum][number-1]) {
sb.append(SUIT[suitNum]).append(' ').append(number).append(EOL);
}
}
}
out.print(sb.toString());
out.flush();
}
}
public static void main(String[] args) throws IOException {
new Main().exec();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
20,
4,
18,
13,
17,
20,
4,
18,
13,
17,
20,
4,
18,
13,
17,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
4,
18,
13,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
13,
28,
13,
4,
18,
13,
30,
30,
0,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
40,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
4,
18,
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
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
26,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
33,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
40,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
47,
51
],
[
40,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
52,
56
],
[
40,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
57,
61
],
[
40,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
62,
66
],
[
40,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
40,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
40,
78
],
[
78,
79
],
[
40,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
85,
87
],
[
80,
88
],
[
88,
89
],
[
89,
90
],
[
80,
91
],
[
92,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
95,
100
],
[
92,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
106,
107
],
[
106,
108
],
[
92,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
115,
116
],
[
115,
117
],
[
92,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
121,
122
],
[
121,
123
],
[
118,
124
],
[
40,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
125,
130
],
[
131,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
131,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
137,
142
],
[
142,
143
],
[
142,
144
],
[
137,
145
],
[
145,
146
],
[
146,
147
],
[
137,
148
],
[
149,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
152,
155
],
[
150,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
157,
162
],
[
163,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
163,
167
],
[
163,
168
],
[
24,
169
],
[
169,
170
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.LinkedHashMap;\nimport java.util.List;\nimport java.util.Map;\n\nclass Main {\n\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\tMap<String, List<Integer>> map = new LinkedHashMap<String, List<Integer>>();\n\t\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tmap.put(\"S\", new ArrayList<Integer>());\n\t\t\tmap.put(\"H\", new ArrayList<Integer>());\n\t\t\tmap.put(\"C\", new ArrayList<Integer>());\n\t\t\tmap.put(\"D\", new ArrayList<Integer>());\n\t\t\tString input = br.readLine();\n\t\t\tint sheet = Integer.parseInt(input);\n\t\t\tint i;\n\t\t\tfor (i = 0; i < sheet; i++) {\n\t\t\t\tString[] inputList = br.readLine().split(\" \");\n\t\t\t\tlist = map.get(inputList[0]);\n\t\t\t\tlist.add(Integer.parseInt(inputList[1]));\n\t\t\t\tmap.put(inputList[0], list);\n\t\t\t}\n\n\t\t\tfor (Map.Entry<String, List<Integer>> e : map.entrySet()) {\n\t\t\t\tlist = e.getValue();\n\t\t\t\tfor (i = 1; i <= 13; i++) {\n\t\t\t\t\tif (!list.contains(i)) {\n\t\t\t\t\t\tSystem.out.println(e.getKey() + \" \" + i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\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",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.LinkedHashMap;",
"LinkedHashMap",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Map;",
"Map",
"java.util",
"class Main {\n\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\tMap<String, List<Integer>> map = new LinkedHashMap<String, List<Integer>>();\n\t\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tmap.put(\"S\", new ArrayList<Integer>());\n\t\t\tmap.put(\"H\", new ArrayList<Integer>());\n\t\t\tmap.put(\"C\", new ArrayList<Integer>());\n\t\t\tmap.put(\"D\", new ArrayList<Integer>());\n\t\t\tString input = br.readLine();\n\t\t\tint sheet = Integer.parseInt(input);\n\t\t\tint i;\n\t\t\tfor (i = 0; i < sheet; i++) {\n\t\t\t\tString[] inputList = br.readLine().split(\" \");\n\t\t\t\tlist = map.get(inputList[0]);\n\t\t\t\tlist.add(Integer.parseInt(inputList[1]));\n\t\t\t\tmap.put(inputList[0], list);\n\t\t\t}\n\n\t\t\tfor (Map.Entry<String, List<Integer>> e : map.entrySet()) {\n\t\t\t\tlist = e.getValue();\n\t\t\t\tfor (i = 1; i <= 13; i++) {\n\t\t\t\t\tif (!list.contains(i)) {\n\t\t\t\t\t\tSystem.out.println(e.getKey() + \" \" + i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\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\tMap<String, List<Integer>> map = new LinkedHashMap<String, List<Integer>>();\n\t\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tmap.put(\"S\", new ArrayList<Integer>());\n\t\t\tmap.put(\"H\", new ArrayList<Integer>());\n\t\t\tmap.put(\"C\", new ArrayList<Integer>());\n\t\t\tmap.put(\"D\", new ArrayList<Integer>());\n\t\t\tString input = br.readLine();\n\t\t\tint sheet = Integer.parseInt(input);\n\t\t\tint i;\n\t\t\tfor (i = 0; i < sheet; i++) {\n\t\t\t\tString[] inputList = br.readLine().split(\" \");\n\t\t\t\tlist = map.get(inputList[0]);\n\t\t\t\tlist.add(Integer.parseInt(inputList[1]));\n\t\t\t\tmap.put(inputList[0], list);\n\t\t\t}\n\n\t\t\tfor (Map.Entry<String, List<Integer>> e : map.entrySet()) {\n\t\t\t\tlist = e.getValue();\n\t\t\t\tfor (i = 1; i <= 13; i++) {\n\t\t\t\t\tif (!list.contains(i)) {\n\t\t\t\t\t\tSystem.out.println(e.getKey() + \" \" + i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\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\tMap<String, List<Integer>> map = new LinkedHashMap<String, List<Integer>>();\n\t\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tmap.put(\"S\", new ArrayList<Integer>());\n\t\t\tmap.put(\"H\", new ArrayList<Integer>());\n\t\t\tmap.put(\"C\", new ArrayList<Integer>());\n\t\t\tmap.put(\"D\", new ArrayList<Integer>());\n\t\t\tString input = br.readLine();\n\t\t\tint sheet = Integer.parseInt(input);\n\t\t\tint i;\n\t\t\tfor (i = 0; i < sheet; i++) {\n\t\t\t\tString[] inputList = br.readLine().split(\" \");\n\t\t\t\tlist = map.get(inputList[0]);\n\t\t\t\tlist.add(Integer.parseInt(inputList[1]));\n\t\t\t\tmap.put(inputList[0], list);\n\t\t\t}\n\n\t\t\tfor (Map.Entry<String, List<Integer>> e : map.entrySet()) {\n\t\t\t\tlist = e.getValue();\n\t\t\t\tfor (i = 1; i <= 13; i++) {\n\t\t\t\t\tif (!list.contains(i)) {\n\t\t\t\t\t\tSystem.out.println(e.getKey() + \" \" + i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\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\tMap<String, List<Integer>> map = new LinkedHashMap<String, List<Integer>>();\n\t\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tmap.put(\"S\", new ArrayList<Integer>());\n\t\t\tmap.put(\"H\", new ArrayList<Integer>());\n\t\t\tmap.put(\"C\", new ArrayList<Integer>());\n\t\t\tmap.put(\"D\", new ArrayList<Integer>());\n\t\t\tString input = br.readLine();\n\t\t\tint sheet = Integer.parseInt(input);\n\t\t\tint i;\n\t\t\tfor (i = 0; i < sheet; i++) {\n\t\t\t\tString[] inputList = br.readLine().split(\" \");\n\t\t\t\tlist = map.get(inputList[0]);\n\t\t\t\tlist.add(Integer.parseInt(inputList[1]));\n\t\t\t\tmap.put(inputList[0], list);\n\t\t\t}\n\n\t\t\tfor (Map.Entry<String, List<Integer>> e : map.entrySet()) {\n\t\t\t\tlist = e.getValue();\n\t\t\t\tfor (i = 1; i <= 13; i++) {\n\t\t\t\t\tif (!list.contains(i)) {\n\t\t\t\t\t\tSystem.out.println(e.getKey() + \" \" + i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\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\tMap<String, List<Integer>> map = new LinkedHashMap<String, List<Integer>>();\n\t\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tmap.put(\"S\", new ArrayList<Integer>());\n\t\t\tmap.put(\"H\", new ArrayList<Integer>());\n\t\t\tmap.put(\"C\", new ArrayList<Integer>());\n\t\t\tmap.put(\"D\", new ArrayList<Integer>());\n\t\t\tString input = br.readLine();\n\t\t\tint sheet = Integer.parseInt(input);\n\t\t\tint i;\n\t\t\tfor (i = 0; i < sheet; i++) {\n\t\t\t\tString[] inputList = br.readLine().split(\" \");\n\t\t\t\tlist = map.get(inputList[0]);\n\t\t\t\tlist.add(Integer.parseInt(inputList[1]));\n\t\t\t\tmap.put(inputList[0], list);\n\t\t\t}\n\n\t\t\tfor (Map.Entry<String, List<Integer>> e : map.entrySet()) {\n\t\t\t\tlist = e.getValue();\n\t\t\t\tfor (i = 1; i <= 13; i++) {\n\t\t\t\t\tif (!list.contains(i)) {\n\t\t\t\t\t\tSystem.out.println(e.getKey() + \" \" + i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"Map<String, List<Integer>> map = new LinkedHashMap<String, List<Integer>>();",
"map",
"new LinkedHashMap<String, List<Integer>>()",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"map.put(\"S\", new ArrayList<Integer>())",
"map.put",
"map",
"\"S\"",
"new ArrayList<Integer>()",
"map.put(\"H\", new ArrayList<Integer>())",
"map.put",
"map",
"\"H\"",
"new ArrayList<Integer>()",
"map.put(\"C\", new ArrayList<Integer>())",
"map.put",
"map",
"\"C\"",
"new ArrayList<Integer>()",
"map.put(\"D\", new ArrayList<Integer>())",
"map.put",
"map",
"\"D\"",
"new ArrayList<Integer>()",
"String input = br.readLine();",
"input",
"br.readLine()",
"br.readLine",
"br",
"int sheet = Integer.parseInt(input);",
"sheet",
"Integer.parseInt(input)",
"Integer.parseInt",
"Integer",
"input",
"int i;",
"i",
"for (i = 0; i < sheet; i++) {\n\t\t\t\tString[] inputList = br.readLine().split(\" \");\n\t\t\t\tlist = map.get(inputList[0]);\n\t\t\t\tlist.add(Integer.parseInt(inputList[1]));\n\t\t\t\tmap.put(inputList[0], list);\n\t\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < sheet",
"i",
"sheet",
"i++",
"i++",
"i",
"{\n\t\t\t\tString[] inputList = br.readLine().split(\" \");\n\t\t\t\tlist = map.get(inputList[0]);\n\t\t\t\tlist.add(Integer.parseInt(inputList[1]));\n\t\t\t\tmap.put(inputList[0], list);\n\t\t\t}",
"{\n\t\t\t\tString[] inputList = br.readLine().split(\" \");\n\t\t\t\tlist = map.get(inputList[0]);\n\t\t\t\tlist.add(Integer.parseInt(inputList[1]));\n\t\t\t\tmap.put(inputList[0], list);\n\t\t\t}",
"String[] inputList = br.readLine().split(\" \");",
"inputList",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"list = map.get(inputList[0])",
"list",
"map.get(inputList[0])",
"map.get",
"map",
"inputList[0]",
"inputList",
"0",
"list.add(Integer.parseInt(inputList[1]))",
"list.add",
"list",
"Integer.parseInt(inputList[1])",
"Integer.parseInt",
"Integer",
"inputList[1]",
"inputList",
"1",
"map.put(inputList[0], list)",
"map.put",
"map",
"inputList[0]",
"inputList",
"0",
"list",
"for (Map.Entry<String, List<Integer>> e : map.entrySet()) {\n\t\t\t\tlist = e.getValue();\n\t\t\t\tfor (i = 1; i <= 13; i++) {\n\t\t\t\t\tif (!list.contains(i)) {\n\t\t\t\t\t\tSystem.out.println(e.getKey() + \" \" + i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"Map.Entry<String, List<Integer>> e",
"map.entrySet()",
"map.entrySet",
"map",
"{\n\t\t\t\tlist = e.getValue();\n\t\t\t\tfor (i = 1; i <= 13; i++) {\n\t\t\t\t\tif (!list.contains(i)) {\n\t\t\t\t\t\tSystem.out.println(e.getKey() + \" \" + i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tlist = e.getValue();\n\t\t\t\tfor (i = 1; i <= 13; i++) {\n\t\t\t\t\tif (!list.contains(i)) {\n\t\t\t\t\t\tSystem.out.println(e.getKey() + \" \" + i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"list = e.getValue()",
"list",
"e.getValue()",
"e.getValue",
"e",
"for (i = 1; i <= 13; i++) {\n\t\t\t\t\tif (!list.contains(i)) {\n\t\t\t\t\t\tSystem.out.println(e.getKey() + \" \" + i);\n\t\t\t\t\t}\n\t\t\t\t}",
"i = 1;",
"i = 1",
"i",
"1",
"i <= 13",
"i",
"13",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tif (!list.contains(i)) {\n\t\t\t\t\t\tSystem.out.println(e.getKey() + \" \" + i);\n\t\t\t\t\t}\n\t\t\t\t}",
"{\n\t\t\t\t\tif (!list.contains(i)) {\n\t\t\t\t\t\tSystem.out.println(e.getKey() + \" \" + i);\n\t\t\t\t\t}\n\t\t\t\t}",
"if (!list.contains(i)) {\n\t\t\t\t\t\tSystem.out.println(e.getKey() + \" \" + i);\n\t\t\t\t\t}",
"!list.contains(i)",
"list.contains(i)",
"list.contains",
"list",
"i",
"{\n\t\t\t\t\t\tSystem.out.println(e.getKey() + \" \" + i);\n\t\t\t\t\t}",
"System.out.println(e.getKey() + \" \" + i)",
"System.out.println",
"System.out",
"System",
"System.out",
"e.getKey() + \" \" + i",
"e.getKey() + \" \" + i",
"e.getKey()",
"e.getKey",
"e",
"\" \"",
"i",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
class Main {
public static void main(String[] args) {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
try {
Map<String, List<Integer>> map = new LinkedHashMap<String, List<Integer>>();
List<Integer> list = new ArrayList<Integer>();
map.put("S", new ArrayList<Integer>());
map.put("H", new ArrayList<Integer>());
map.put("C", new ArrayList<Integer>());
map.put("D", new ArrayList<Integer>());
String input = br.readLine();
int sheet = Integer.parseInt(input);
int i;
for (i = 0; i < sheet; i++) {
String[] inputList = br.readLine().split(" ");
list = map.get(inputList[0]);
list.add(Integer.parseInt(inputList[1]));
map.put(inputList[0], list);
}
for (Map.Entry<String, List<Integer>> e : map.entrySet()) {
list = e.getValue();
for (i = 1; i <= 13; i++) {
if (!list.contains(i)) {
System.out.println(e.getKey() + " " + i);
}
}
}
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
13,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
13,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
13,
17,
30,
0,
13,
2,
13,
17,
0,
18,
13,
2,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
13,
14,
2,
18,
13,
2,
13,
17,
17,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
17,
17,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
17,
17,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
17,
17,
13,
14,
2,
13,
17,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
17,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
224,
5
],
[
224,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
62,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
73,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
73,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
84,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
84,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
95,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
51,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
109,
111
],
[
106,
112
],
[
8,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
118,
119
],
[
118,
120
],
[
113,
121
],
[
121,
122
],
[
122,
123
],
[
113,
124
],
[
125,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
133,
135
],
[
130,
136
],
[
129,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
143,
148
],
[
149,
149
],
[
149,
150
],
[
149,
151
],
[
149,
152
],
[
138,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
158
],
[
158,
159
],
[
158,
160
],
[
153,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
164,
166
],
[
161,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
167,
172
],
[
173,
173
],
[
173,
174
],
[
173,
175
],
[
173,
176
],
[
153,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
178,
182
],
[
182,
183
],
[
182,
184
],
[
177,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
188,
190
],
[
185,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
191,
196
],
[
197,
197
],
[
197,
198
],
[
197,
199
],
[
197,
200
],
[
177,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
201,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
208,
210
],
[
205,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
211,
216
],
[
217,
217
],
[
217,
218
],
[
217,
219
],
[
217,
220
],
[
6,
221
],
[
221,
222
],
[
0,
223
],
[
223,
224
],
[
223,
225
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint x[] = new int[52];\n\t\tfor(int i=0; i<52; i++){\n\t\t\tx[i]=0;\n\t\t}\n\t\tfor(int i=0; i<n; i++){\n\t\t\tString str =sc.next();\n\t\t\tint num = sc.nextInt();\n\t\t\tif(str.equals(\"S\")){\n\t\t\t\tnum=num+0;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\tnum=num+13;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tnum=num+26;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\tnum=num+39;\n\t\t\t}\n\t\t\tx[num-1]=1;\n\t\t}\n\t\tfor(int i=1; i<53; i++){\n\t\t\tint num = i;\n\t\t\tif(x[i-1]==0){\n\t\t\t\tif(i<14){\n\t\t\t\t\tSystem.out.println(\"S\"+ \" \" + num);\n\t\t\t\t}else if(i>13 && i<27){\n\t\t\t\t\tnum=num-13;\n\t\t\t\t\tSystem.out.println(\"H\" + \" \" + num);\n\t\t\t\t}else if(i>26 && i<40){\n\t\t\t\t\tnum=num-26;\n\t\t\t\t\tSystem.out.println(\"C\" + \" \" + num);\n\t\t\t\t}else if(i>39){\n\t\t\t\t\tnum=num-39;\n\t\t\t\t\tSystem.out.println(\"D\" + \" \" + num);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint x[] = new int[52];\n\t\tfor(int i=0; i<52; i++){\n\t\t\tx[i]=0;\n\t\t}\n\t\tfor(int i=0; i<n; i++){\n\t\t\tString str =sc.next();\n\t\t\tint num = sc.nextInt();\n\t\t\tif(str.equals(\"S\")){\n\t\t\t\tnum=num+0;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\tnum=num+13;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tnum=num+26;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\tnum=num+39;\n\t\t\t}\n\t\t\tx[num-1]=1;\n\t\t}\n\t\tfor(int i=1; i<53; i++){\n\t\t\tint num = i;\n\t\t\tif(x[i-1]==0){\n\t\t\t\tif(i<14){\n\t\t\t\t\tSystem.out.println(\"S\"+ \" \" + num);\n\t\t\t\t}else if(i>13 && i<27){\n\t\t\t\t\tnum=num-13;\n\t\t\t\t\tSystem.out.println(\"H\" + \" \" + num);\n\t\t\t\t}else if(i>26 && i<40){\n\t\t\t\t\tnum=num-26;\n\t\t\t\t\tSystem.out.println(\"C\" + \" \" + num);\n\t\t\t\t}else if(i>39){\n\t\t\t\t\tnum=num-39;\n\t\t\t\t\tSystem.out.println(\"D\" + \" \" + num);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint x[] = new int[52];\n\t\tfor(int i=0; i<52; i++){\n\t\t\tx[i]=0;\n\t\t}\n\t\tfor(int i=0; i<n; i++){\n\t\t\tString str =sc.next();\n\t\t\tint num = sc.nextInt();\n\t\t\tif(str.equals(\"S\")){\n\t\t\t\tnum=num+0;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\tnum=num+13;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tnum=num+26;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\tnum=num+39;\n\t\t\t}\n\t\t\tx[num-1]=1;\n\t\t}\n\t\tfor(int i=1; i<53; i++){\n\t\t\tint num = i;\n\t\t\tif(x[i-1]==0){\n\t\t\t\tif(i<14){\n\t\t\t\t\tSystem.out.println(\"S\"+ \" \" + num);\n\t\t\t\t}else if(i>13 && i<27){\n\t\t\t\t\tnum=num-13;\n\t\t\t\t\tSystem.out.println(\"H\" + \" \" + num);\n\t\t\t\t}else if(i>26 && i<40){\n\t\t\t\t\tnum=num-26;\n\t\t\t\t\tSystem.out.println(\"C\" + \" \" + num);\n\t\t\t\t}else if(i>39){\n\t\t\t\t\tnum=num-39;\n\t\t\t\t\tSystem.out.println(\"D\" + \" \" + num);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint x[] = new int[52];\n\t\tfor(int i=0; i<52; i++){\n\t\t\tx[i]=0;\n\t\t}\n\t\tfor(int i=0; i<n; i++){\n\t\t\tString str =sc.next();\n\t\t\tint num = sc.nextInt();\n\t\t\tif(str.equals(\"S\")){\n\t\t\t\tnum=num+0;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\tnum=num+13;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tnum=num+26;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\tnum=num+39;\n\t\t\t}\n\t\t\tx[num-1]=1;\n\t\t}\n\t\tfor(int i=1; i<53; i++){\n\t\t\tint num = i;\n\t\t\tif(x[i-1]==0){\n\t\t\t\tif(i<14){\n\t\t\t\t\tSystem.out.println(\"S\"+ \" \" + num);\n\t\t\t\t}else if(i>13 && i<27){\n\t\t\t\t\tnum=num-13;\n\t\t\t\t\tSystem.out.println(\"H\" + \" \" + num);\n\t\t\t\t}else if(i>26 && i<40){\n\t\t\t\t\tnum=num-26;\n\t\t\t\t\tSystem.out.println(\"C\" + \" \" + num);\n\t\t\t\t}else if(i>39){\n\t\t\t\t\tnum=num-39;\n\t\t\t\t\tSystem.out.println(\"D\" + \" \" + num);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x[] = new int[52];",
"x",
"new int[52]",
"52",
"for(int i=0; i<52; i++){\n\t\t\tx[i]=0;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<52",
"i",
"52",
"i++",
"i++",
"i",
"{\n\t\t\tx[i]=0;\n\t\t}",
"{\n\t\t\tx[i]=0;\n\t\t}",
"x[i]=0",
"x[i]",
"x",
"i",
"0",
"for(int i=0; i<n; i++){\n\t\t\tString str =sc.next();\n\t\t\tint num = sc.nextInt();\n\t\t\tif(str.equals(\"S\")){\n\t\t\t\tnum=num+0;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\tnum=num+13;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tnum=num+26;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\tnum=num+39;\n\t\t\t}\n\t\t\tx[num-1]=1;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tString str =sc.next();\n\t\t\tint num = sc.nextInt();\n\t\t\tif(str.equals(\"S\")){\n\t\t\t\tnum=num+0;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\tnum=num+13;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tnum=num+26;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\tnum=num+39;\n\t\t\t}\n\t\t\tx[num-1]=1;\n\t\t}",
"{\n\t\t\tString str =sc.next();\n\t\t\tint num = sc.nextInt();\n\t\t\tif(str.equals(\"S\")){\n\t\t\t\tnum=num+0;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\tnum=num+13;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tnum=num+26;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\tnum=num+39;\n\t\t\t}\n\t\t\tx[num-1]=1;\n\t\t}",
"String str =sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"int num = sc.nextInt();",
"num",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(str.equals(\"S\")){\n\t\t\t\tnum=num+0;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\tnum=num+13;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tnum=num+26;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\tnum=num+39;\n\t\t\t}",
"str.equals(\"S\")",
"str.equals",
"str",
"\"S\"",
"{\n\t\t\t\tnum=num+0;\n\t\t\t}",
"num=num+0",
"num",
"num+0",
"num",
"0",
"if(str.equals(\"H\")){\n\t\t\t\tnum=num+13;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tnum=num+26;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\tnum=num+39;\n\t\t\t}",
"str.equals(\"H\")",
"str.equals",
"str",
"\"H\"",
"{\n\t\t\t\tnum=num+13;\n\t\t\t}",
"num=num+13",
"num",
"num+13",
"num",
"13",
"if(str.equals(\"C\")){\n\t\t\t\tnum=num+26;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\tnum=num+39;\n\t\t\t}",
"str.equals(\"C\")",
"str.equals",
"str",
"\"C\"",
"{\n\t\t\t\tnum=num+26;\n\t\t\t}",
"num=num+26",
"num",
"num+26",
"num",
"26",
"if(str.equals(\"D\")){\n\t\t\t\tnum=num+39;\n\t\t\t}",
"str.equals(\"D\")",
"str.equals",
"str",
"\"D\"",
"{\n\t\t\t\tnum=num+39;\n\t\t\t}",
"num=num+39",
"num",
"num+39",
"num",
"39",
"x[num-1]=1",
"x[num-1]",
"x",
"num-1",
"num",
"1",
"1",
"for(int i=1; i<53; i++){\n\t\t\tint num = i;\n\t\t\tif(x[i-1]==0){\n\t\t\t\tif(i<14){\n\t\t\t\t\tSystem.out.println(\"S\"+ \" \" + num);\n\t\t\t\t}else if(i>13 && i<27){\n\t\t\t\t\tnum=num-13;\n\t\t\t\t\tSystem.out.println(\"H\" + \" \" + num);\n\t\t\t\t}else if(i>26 && i<40){\n\t\t\t\t\tnum=num-26;\n\t\t\t\t\tSystem.out.println(\"C\" + \" \" + num);\n\t\t\t\t}else if(i>39){\n\t\t\t\t\tnum=num-39;\n\t\t\t\t\tSystem.out.println(\"D\" + \" \" + num);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<53",
"i",
"53",
"i++",
"i++",
"i",
"{\n\t\t\tint num = i;\n\t\t\tif(x[i-1]==0){\n\t\t\t\tif(i<14){\n\t\t\t\t\tSystem.out.println(\"S\"+ \" \" + num);\n\t\t\t\t}else if(i>13 && i<27){\n\t\t\t\t\tnum=num-13;\n\t\t\t\t\tSystem.out.println(\"H\" + \" \" + num);\n\t\t\t\t}else if(i>26 && i<40){\n\t\t\t\t\tnum=num-26;\n\t\t\t\t\tSystem.out.println(\"C\" + \" \" + num);\n\t\t\t\t}else if(i>39){\n\t\t\t\t\tnum=num-39;\n\t\t\t\t\tSystem.out.println(\"D\" + \" \" + num);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tint num = i;\n\t\t\tif(x[i-1]==0){\n\t\t\t\tif(i<14){\n\t\t\t\t\tSystem.out.println(\"S\"+ \" \" + num);\n\t\t\t\t}else if(i>13 && i<27){\n\t\t\t\t\tnum=num-13;\n\t\t\t\t\tSystem.out.println(\"H\" + \" \" + num);\n\t\t\t\t}else if(i>26 && i<40){\n\t\t\t\t\tnum=num-26;\n\t\t\t\t\tSystem.out.println(\"C\" + \" \" + num);\n\t\t\t\t}else if(i>39){\n\t\t\t\t\tnum=num-39;\n\t\t\t\t\tSystem.out.println(\"D\" + \" \" + num);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int num = i;",
"num",
"i",
"if(x[i-1]==0){\n\t\t\t\tif(i<14){\n\t\t\t\t\tSystem.out.println(\"S\"+ \" \" + num);\n\t\t\t\t}else if(i>13 && i<27){\n\t\t\t\t\tnum=num-13;\n\t\t\t\t\tSystem.out.println(\"H\" + \" \" + num);\n\t\t\t\t}else if(i>26 && i<40){\n\t\t\t\t\tnum=num-26;\n\t\t\t\t\tSystem.out.println(\"C\" + \" \" + num);\n\t\t\t\t}else if(i>39){\n\t\t\t\t\tnum=num-39;\n\t\t\t\t\tSystem.out.println(\"D\" + \" \" + num);\n\t\t\t\t}\n\t\t\t}",
"x[i-1]==0",
"x[i-1]",
"x",
"i-1",
"i",
"1",
"0",
"{\n\t\t\t\tif(i<14){\n\t\t\t\t\tSystem.out.println(\"S\"+ \" \" + num);\n\t\t\t\t}else if(i>13 && i<27){\n\t\t\t\t\tnum=num-13;\n\t\t\t\t\tSystem.out.println(\"H\" + \" \" + num);\n\t\t\t\t}else if(i>26 && i<40){\n\t\t\t\t\tnum=num-26;\n\t\t\t\t\tSystem.out.println(\"C\" + \" \" + num);\n\t\t\t\t}else if(i>39){\n\t\t\t\t\tnum=num-39;\n\t\t\t\t\tSystem.out.println(\"D\" + \" \" + num);\n\t\t\t\t}\n\t\t\t}",
"if(i<14){\n\t\t\t\t\tSystem.out.println(\"S\"+ \" \" + num);\n\t\t\t\t}else if(i>13 && i<27){\n\t\t\t\t\tnum=num-13;\n\t\t\t\t\tSystem.out.println(\"H\" + \" \" + num);\n\t\t\t\t}else if(i>26 && i<40){\n\t\t\t\t\tnum=num-26;\n\t\t\t\t\tSystem.out.println(\"C\" + \" \" + num);\n\t\t\t\t}else if(i>39){\n\t\t\t\t\tnum=num-39;\n\t\t\t\t\tSystem.out.println(\"D\" + \" \" + num);\n\t\t\t\t}",
"i<14",
"i",
"14",
"{\n\t\t\t\t\tSystem.out.println(\"S\"+ \" \" + num);\n\t\t\t\t}",
"System.out.println(\"S\"+ \" \" + num)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"S\"+ \" \" + num",
"\"S\"+ \" \" + num",
"\"S\"",
"\" \"",
"num",
"if(i>13 && i<27){\n\t\t\t\t\tnum=num-13;\n\t\t\t\t\tSystem.out.println(\"H\" + \" \" + num);\n\t\t\t\t}else if(i>26 && i<40){\n\t\t\t\t\tnum=num-26;\n\t\t\t\t\tSystem.out.println(\"C\" + \" \" + num);\n\t\t\t\t}else if(i>39){\n\t\t\t\t\tnum=num-39;\n\t\t\t\t\tSystem.out.println(\"D\" + \" \" + num);\n\t\t\t\t}",
"i>13 && i<27",
"i>13",
"i",
"13",
"i<27",
"i",
"27",
"{\n\t\t\t\t\tnum=num-13;\n\t\t\t\t\tSystem.out.println(\"H\" + \" \" + num);\n\t\t\t\t}",
"num=num-13",
"num",
"num-13",
"num",
"13",
"System.out.println(\"H\" + \" \" + num)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"H\" + \" \" + num",
"\"H\" + \" \" + num",
"\"H\"",
"\" \"",
"num",
"if(i>26 && i<40){\n\t\t\t\t\tnum=num-26;\n\t\t\t\t\tSystem.out.println(\"C\" + \" \" + num);\n\t\t\t\t}else if(i>39){\n\t\t\t\t\tnum=num-39;\n\t\t\t\t\tSystem.out.println(\"D\" + \" \" + num);\n\t\t\t\t}",
"i>26 && i<40",
"i>26",
"i",
"26",
"i<40",
"i",
"40",
"{\n\t\t\t\t\tnum=num-26;\n\t\t\t\t\tSystem.out.println(\"C\" + \" \" + num);\n\t\t\t\t}",
"num=num-26",
"num",
"num-26",
"num",
"26",
"System.out.println(\"C\" + \" \" + num)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"C\" + \" \" + num",
"\"C\" + \" \" + num",
"\"C\"",
"\" \"",
"num",
"if(i>39){\n\t\t\t\t\tnum=num-39;\n\t\t\t\t\tSystem.out.println(\"D\" + \" \" + num);\n\t\t\t\t}",
"i>39",
"i",
"39",
"{\n\t\t\t\t\tnum=num-39;\n\t\t\t\t\tSystem.out.println(\"D\" + \" \" + num);\n\t\t\t\t}",
"num=num-39",
"num",
"num-39",
"num",
"39",
"System.out.println(\"D\" + \" \" + num)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"D\" + \" \" + num",
"\"D\" + \" \" + num",
"\"D\"",
"\" \"",
"num",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint x[] = new int[52];\n\t\tfor(int i=0; i<52; i++){\n\t\t\tx[i]=0;\n\t\t}\n\t\tfor(int i=0; i<n; i++){\n\t\t\tString str =sc.next();\n\t\t\tint num = sc.nextInt();\n\t\t\tif(str.equals(\"S\")){\n\t\t\t\tnum=num+0;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\tnum=num+13;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tnum=num+26;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\tnum=num+39;\n\t\t\t}\n\t\t\tx[num-1]=1;\n\t\t}\n\t\tfor(int i=1; i<53; i++){\n\t\t\tint num = i;\n\t\t\tif(x[i-1]==0){\n\t\t\t\tif(i<14){\n\t\t\t\t\tSystem.out.println(\"S\"+ \" \" + num);\n\t\t\t\t}else if(i>13 && i<27){\n\t\t\t\t\tnum=num-13;\n\t\t\t\t\tSystem.out.println(\"H\" + \" \" + num);\n\t\t\t\t}else if(i>26 && i<40){\n\t\t\t\t\tnum=num-26;\n\t\t\t\t\tSystem.out.println(\"C\" + \" \" + num);\n\t\t\t\t}else if(i>39){\n\t\t\t\t\tnum=num-39;\n\t\t\t\t\tSystem.out.println(\"D\" + \" \" + num);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint x[] = new int[52];\n\t\tfor(int i=0; i<52; i++){\n\t\t\tx[i]=0;\n\t\t}\n\t\tfor(int i=0; i<n; i++){\n\t\t\tString str =sc.next();\n\t\t\tint num = sc.nextInt();\n\t\t\tif(str.equals(\"S\")){\n\t\t\t\tnum=num+0;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\tnum=num+13;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tnum=num+26;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\tnum=num+39;\n\t\t\t}\n\t\t\tx[num-1]=1;\n\t\t}\n\t\tfor(int i=1; i<53; i++){\n\t\t\tint num = i;\n\t\t\tif(x[i-1]==0){\n\t\t\t\tif(i<14){\n\t\t\t\t\tSystem.out.println(\"S\"+ \" \" + num);\n\t\t\t\t}else if(i>13 && i<27){\n\t\t\t\t\tnum=num-13;\n\t\t\t\t\tSystem.out.println(\"H\" + \" \" + num);\n\t\t\t\t}else if(i>26 && i<40){\n\t\t\t\t\tnum=num-26;\n\t\t\t\t\tSystem.out.println(\"C\" + \" \" + num);\n\t\t\t\t}else if(i>39){\n\t\t\t\t\tnum=num-39;\n\t\t\t\t\tSystem.out.println(\"D\" + \" \" + num);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int x[] = new int[52];
for(int i=0; i<52; i++){
x[i]=0;
}
for(int i=0; i<n; i++){
String str =sc.next();
int num = sc.nextInt();
if(str.equals("S")){
num=num+0;
}else if(str.equals("H")){
num=num+13;
}else if(str.equals("C")){
num=num+26;
}else if(str.equals("D")){
num=num+39;
}
x[num-1]=1;
}
for(int i=1; i<53; i++){
int num = i;
if(x[i-1]==0){
if(i<14){
System.out.println("S"+ " " + num);
}else if(i>13 && i<27){
num=num-13;
System.out.println("H" + " " + num);
}else if(i>26 && i<40){
num=num-26;
System.out.println("C" + " " + num);
}else if(i>39){
num=num-39;
System.out.println("D" + " " + num);
}
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
4,
18,
13,
13,
14,
4,
18,
13,
17,
30,
4,
18,
13,
13,
14,
4,
18,
13,
17,
30,
4,
18,
13,
13,
14,
4,
18,
13,
17,
30,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
2,
13,
17,
30,
41,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
2,
13,
17,
4,
18,
13,
2,
13,
17,
13,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
2,
13,
17,
30,
41,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
2,
13,
17,
4,
18,
13,
2,
13,
17,
13,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
2,
13,
17,
30,
41,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
2,
13,
17,
4,
18,
13,
2,
13,
17,
13,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
2,
13,
17,
30,
41,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
2,
13,
17,
4,
18,
13,
2,
13,
17,
13,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
13,
30,
40,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
17,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
13,
30,
40,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
17,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
13,
30,
40,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
17,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
13,
30,
40,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
596,
8
],
[
596,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
11,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
44,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
44,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
55,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
65,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
65,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
75,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
75,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
85,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
11,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
102,
106
],
[
95,
107
],
[
107,
108
],
[
108,
109
],
[
95,
110
],
[
111,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
119,
123
],
[
112,
124
],
[
124,
125
],
[
125,
126
],
[
112,
127
],
[
128,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
130,
135
],
[
135,
136
],
[
136,
137
],
[
135,
138
],
[
138,
139
],
[
138,
140
],
[
129,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
144,
147
],
[
141,
148
],
[
148,
149
],
[
149,
150
],
[
148,
151
],
[
148,
152
],
[
152,
153
],
[
153,
154
],
[
152,
155
],
[
155,
156
],
[
155,
157
],
[
141,
158
],
[
158,
159
],
[
159,
160
],
[
158,
161
],
[
161,
162
],
[
161,
163
],
[
158,
164
],
[
11,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
165,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
172,
176
],
[
165,
177
],
[
177,
178
],
[
178,
179
],
[
165,
180
],
[
181,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
182,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
189,
193
],
[
182,
194
],
[
194,
195
],
[
195,
196
],
[
182,
197
],
[
198,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
201,
204
],
[
200,
205
],
[
205,
206
],
[
206,
207
],
[
205,
208
],
[
208,
209
],
[
208,
210
],
[
199,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
215,
216
],
[
214,
217
],
[
211,
218
],
[
218,
219
],
[
219,
220
],
[
218,
221
],
[
218,
222
],
[
222,
223
],
[
223,
224
],
[
222,
225
],
[
225,
226
],
[
225,
227
],
[
211,
228
],
[
228,
229
],
[
229,
230
],
[
228,
231
],
[
231,
232
],
[
231,
233
],
[
228,
234
],
[
11,
235
],
[
235,
236
],
[
236,
237
],
[
237,
238
],
[
237,
239
],
[
235,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
243,
244
],
[
244,
245
],
[
242,
246
],
[
235,
247
],
[
247,
248
],
[
248,
249
],
[
235,
250
],
[
251,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
252,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
259,
263
],
[
252,
264
],
[
264,
265
],
[
265,
266
],
[
252,
267
],
[
268,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
271,
274
],
[
270,
275
],
[
275,
276
],
[
276,
277
],
[
275,
278
],
[
278,
279
],
[
278,
280
],
[
269,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
285,
286
],
[
284,
287
],
[
281,
288
],
[
288,
289
],
[
289,
290
],
[
288,
291
],
[
288,
292
],
[
292,
293
],
[
293,
294
],
[
292,
295
],
[
295,
296
],
[
295,
297
],
[
281,
298
],
[
298,
299
],
[
299,
300
],
[
298,
301
],
[
301,
302
],
[
301,
303
],
[
298,
304
],
[
11,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
307,
309
],
[
305,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
312,
316
],
[
305,
317
],
[
317,
318
],
[
318,
319
],
[
305,
320
],
[
321,
321
],
[
321,
322
],
[
322,
323
],
[
323,
324
],
[
324,
325
],
[
324,
326
],
[
322,
327
],
[
327,
328
],
[
327,
329
],
[
329,
330
],
[
330,
331
],
[
331,
332
],
[
329,
333
],
[
322,
334
],
[
334,
335
],
[
335,
336
],
[
322,
337
],
[
338,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
341,
342
],
[
342,
343
],
[
341,
344
],
[
340,
345
],
[
345,
346
],
[
346,
347
],
[
345,
348
],
[
348,
349
],
[
348,
350
],
[
339,
351
],
[
351,
352
],
[
352,
353
],
[
352,
354
],
[
354,
355
],
[
355,
356
],
[
354,
357
],
[
351,
358
],
[
358,
359
],
[
359,
360
],
[
358,
361
],
[
358,
362
],
[
362,
363
],
[
363,
364
],
[
362,
365
],
[
365,
366
],
[
365,
367
],
[
351,
368
],
[
368,
369
],
[
369,
370
],
[
368,
371
],
[
371,
372
],
[
371,
373
],
[
368,
374
],
[
11,
375
],
[
375,
376
],
[
11,
377
],
[
377,
378
],
[
378,
379
],
[
379,
380
],
[
379,
381
],
[
377,
382
],
[
382,
383
],
[
382,
384
],
[
377,
385
],
[
385,
386
],
[
386,
387
],
[
377,
388
],
[
389,
389
],
[
389,
390
],
[
390,
391
],
[
390,
392
],
[
389,
393
],
[
393,
394
],
[
394,
395
],
[
395,
396
],
[
395,
397
],
[
393,
398
],
[
398,
399
],
[
398,
400
],
[
400,
401
],
[
401,
402
],
[
393,
403
],
[
403,
404
],
[
404,
405
],
[
393,
406
],
[
407,
407
],
[
407,
408
],
[
408,
409
],
[
409,
410
],
[
410,
411
],
[
411,
412
],
[
410,
413
],
[
409,
414
],
[
408,
415
],
[
415,
416
],
[
416,
417
],
[
389,
418
],
[
418,
419
],
[
419,
420
],
[
419,
421
],
[
418,
422
],
[
422,
423
],
[
423,
424
],
[
424,
425
],
[
425,
426
],
[
425,
427
],
[
423,
428
],
[
428,
429
],
[
428,
430
],
[
11,
431
],
[
431,
432
],
[
432,
433
],
[
433,
434
],
[
433,
435
],
[
431,
436
],
[
436,
437
],
[
436,
438
],
[
431,
439
],
[
439,
440
],
[
440,
441
],
[
431,
442
],
[
443,
443
],
[
443,
444
],
[
444,
445
],
[
444,
446
],
[
443,
447
],
[
447,
448
],
[
448,
449
],
[
449,
450
],
[
449,
451
],
[
447,
452
],
[
452,
453
],
[
452,
454
],
[
454,
455
],
[
455,
456
],
[
447,
457
],
[
457,
458
],
[
458,
459
],
[
447,
460
],
[
461,
461
],
[
461,
462
],
[
462,
463
],
[
463,
464
],
[
464,
465
],
[
465,
466
],
[
464,
467
],
[
463,
468
],
[
462,
469
],
[
469,
470
],
[
470,
471
],
[
443,
472
],
[
472,
473
],
[
473,
474
],
[
473,
475
],
[
472,
476
],
[
476,
477
],
[
477,
478
],
[
478,
479
],
[
479,
480
],
[
479,
481
],
[
477,
482
],
[
482,
483
],
[
482,
484
],
[
11,
485
],
[
485,
486
],
[
486,
487
],
[
487,
488
],
[
487,
489
],
[
485,
490
],
[
490,
491
],
[
490,
492
],
[
485,
493
],
[
493,
494
],
[
494,
495
],
[
485,
496
],
[
497,
497
],
[
497,
498
],
[
498,
499
],
[
498,
500
],
[
497,
501
],
[
501,
502
],
[
502,
503
],
[
503,
504
],
[
503,
505
],
[
501,
506
],
[
506,
507
],
[
506,
508
],
[
508,
509
],
[
509,
510
],
[
501,
511
],
[
511,
512
],
[
512,
513
],
[
501,
514
],
[
515,
515
],
[
515,
516
],
[
516,
517
],
[
517,
518
],
[
518,
519
],
[
519,
520
],
[
518,
521
],
[
517,
522
],
[
516,
523
],
[
523,
524
],
[
524,
525
],
[
497,
526
],
[
526,
527
],
[
527,
528
],
[
527,
529
],
[
526,
530
],
[
530,
531
],
[
531,
532
],
[
532,
533
],
[
533,
534
],
[
533,
535
],
[
531,
536
],
[
536,
537
],
[
536,
538
],
[
11,
539
],
[
539,
540
],
[
540,
541
],
[
541,
542
],
[
541,
543
],
[
539,
544
],
[
544,
545
],
[
544,
546
],
[
539,
547
],
[
547,
548
],
[
548,
549
],
[
539,
550
],
[
551,
551
],
[
551,
552
],
[
552,
553
],
[
552,
554
],
[
551,
555
],
[
555,
556
],
[
556,
557
],
[
557,
558
],
[
557,
559
],
[
555,
560
],
[
560,
561
],
[
560,
562
],
[
562,
563
],
[
563,
564
],
[
555,
565
],
[
565,
566
],
[
566,
567
],
[
555,
568
],
[
569,
569
],
[
569,
570
],
[
570,
571
],
[
571,
572
],
[
572,
573
],
[
573,
574
],
[
572,
575
],
[
571,
576
],
[
570,
577
],
[
577,
578
],
[
578,
579
],
[
551,
580
],
[
580,
581
],
[
581,
582
],
[
581,
583
],
[
580,
584
],
[
584,
585
],
[
585,
586
],
[
586,
587
],
[
587,
588
],
[
587,
589
],
[
585,
590
],
[
590,
591
],
[
590,
592
],
[
9,
593
],
[
593,
594
],
[
0,
595
],
[
595,
596
],
[
595,
597
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint count = sc.nextInt();\n\n\t\tArrayList<Integer> sList = new ArrayList<Integer>();\n\t\tArrayList<Integer> hList = new ArrayList<Integer>();\n\t\tArrayList<Integer> cList = new ArrayList<Integer>();\n\t\tArrayList<Integer> dList = new ArrayList<Integer>();\n\n\t\tfor(int i = 0;i < count;i++ ) {\n\n\t\t\tString mark = sc.next();\n\t\t\tint num = sc.nextInt();\n\n\t\t\tif(mark.equals(\"S\")) {\n\t\t\t\tsList.add(num);\n\t\t\t} else if(mark.equals(\"H\")) {\n\t\t\t\thList.add(num);\n\t\t\t} else if(mark.equals(\"C\")) {\n\t\t\t\tcList.add(num);\n\t\t\t} else if(mark.equals(\"D\")) {\n\t\t\t\tdList.add(num);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0;i < sList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < sList.size() - 1; j++) {\n\t\t\t\tif(sList.get(j) > sList.get(j + 1)) {\n\t\t\t\t\tint x = sList.get(j);\n\t\t\t\t\tsList.set(j, sList.get(j + 1));\n\t\t\t\t\tsList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tfor(int i = 0;i < hList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < hList.size() - 1; j++) {\n\t\t\t\tif(hList.get(j) > hList.get(j + 1)) {\n\t\t\t\t\tint x = hList.get(j);\n\t\t\t\t\thList.set(j, hList.get(j + 1));\n\t\t\t\t\thList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tfor(int i = 0;i < cList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < cList.size() - 1; j++) {\n\t\t\t\tif(cList.get(j) > cList.get(j + 1)) {\n\t\t\t\t\tint x = cList.get(j);\n\t\t\t\t\tcList.set(j, cList.get(j + 1));\n\t\t\t\t\tcList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tfor(int i = 0;i < dList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < dList.size() - 1; j++) {\n\t\t\t\tif(dList.get(j) > dList.get(j + 1)) {\n\t\t\t\t\tint x = dList.get(j);\n\t\t\t\t\tdList.set(j, dList.get(j + 1));\n\t\t\t\t\tdList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\n\t\tint numCount;\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < sList.size(); j++) {\n\t\t\t\tif(sList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\n\n\t\t}\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < hList.size(); j++) {\n\t\t\t\tif(hList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\n\n\t\t}\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < cList.size(); j++) {\n\t\t\t\tif(cList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < dList.size(); j++) {\n\t\t\t\tif(dList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}\n\n\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint count = sc.nextInt();\n\n\t\tArrayList<Integer> sList = new ArrayList<Integer>();\n\t\tArrayList<Integer> hList = new ArrayList<Integer>();\n\t\tArrayList<Integer> cList = new ArrayList<Integer>();\n\t\tArrayList<Integer> dList = new ArrayList<Integer>();\n\n\t\tfor(int i = 0;i < count;i++ ) {\n\n\t\t\tString mark = sc.next();\n\t\t\tint num = sc.nextInt();\n\n\t\t\tif(mark.equals(\"S\")) {\n\t\t\t\tsList.add(num);\n\t\t\t} else if(mark.equals(\"H\")) {\n\t\t\t\thList.add(num);\n\t\t\t} else if(mark.equals(\"C\")) {\n\t\t\t\tcList.add(num);\n\t\t\t} else if(mark.equals(\"D\")) {\n\t\t\t\tdList.add(num);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0;i < sList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < sList.size() - 1; j++) {\n\t\t\t\tif(sList.get(j) > sList.get(j + 1)) {\n\t\t\t\t\tint x = sList.get(j);\n\t\t\t\t\tsList.set(j, sList.get(j + 1));\n\t\t\t\t\tsList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tfor(int i = 0;i < hList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < hList.size() - 1; j++) {\n\t\t\t\tif(hList.get(j) > hList.get(j + 1)) {\n\t\t\t\t\tint x = hList.get(j);\n\t\t\t\t\thList.set(j, hList.get(j + 1));\n\t\t\t\t\thList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tfor(int i = 0;i < cList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < cList.size() - 1; j++) {\n\t\t\t\tif(cList.get(j) > cList.get(j + 1)) {\n\t\t\t\t\tint x = cList.get(j);\n\t\t\t\t\tcList.set(j, cList.get(j + 1));\n\t\t\t\t\tcList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tfor(int i = 0;i < dList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < dList.size() - 1; j++) {\n\t\t\t\tif(dList.get(j) > dList.get(j + 1)) {\n\t\t\t\t\tint x = dList.get(j);\n\t\t\t\t\tdList.set(j, dList.get(j + 1));\n\t\t\t\t\tdList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\n\t\tint numCount;\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < sList.size(); j++) {\n\t\t\t\tif(sList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\n\n\t\t}\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < hList.size(); j++) {\n\t\t\t\tif(hList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\n\n\t\t}\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < cList.size(); j++) {\n\t\t\t\tif(cList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < dList.size(); j++) {\n\t\t\t\tif(dList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint count = sc.nextInt();\n\n\t\tArrayList<Integer> sList = new ArrayList<Integer>();\n\t\tArrayList<Integer> hList = new ArrayList<Integer>();\n\t\tArrayList<Integer> cList = new ArrayList<Integer>();\n\t\tArrayList<Integer> dList = new ArrayList<Integer>();\n\n\t\tfor(int i = 0;i < count;i++ ) {\n\n\t\t\tString mark = sc.next();\n\t\t\tint num = sc.nextInt();\n\n\t\t\tif(mark.equals(\"S\")) {\n\t\t\t\tsList.add(num);\n\t\t\t} else if(mark.equals(\"H\")) {\n\t\t\t\thList.add(num);\n\t\t\t} else if(mark.equals(\"C\")) {\n\t\t\t\tcList.add(num);\n\t\t\t} else if(mark.equals(\"D\")) {\n\t\t\t\tdList.add(num);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0;i < sList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < sList.size() - 1; j++) {\n\t\t\t\tif(sList.get(j) > sList.get(j + 1)) {\n\t\t\t\t\tint x = sList.get(j);\n\t\t\t\t\tsList.set(j, sList.get(j + 1));\n\t\t\t\t\tsList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tfor(int i = 0;i < hList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < hList.size() - 1; j++) {\n\t\t\t\tif(hList.get(j) > hList.get(j + 1)) {\n\t\t\t\t\tint x = hList.get(j);\n\t\t\t\t\thList.set(j, hList.get(j + 1));\n\t\t\t\t\thList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tfor(int i = 0;i < cList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < cList.size() - 1; j++) {\n\t\t\t\tif(cList.get(j) > cList.get(j + 1)) {\n\t\t\t\t\tint x = cList.get(j);\n\t\t\t\t\tcList.set(j, cList.get(j + 1));\n\t\t\t\t\tcList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tfor(int i = 0;i < dList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < dList.size() - 1; j++) {\n\t\t\t\tif(dList.get(j) > dList.get(j + 1)) {\n\t\t\t\t\tint x = dList.get(j);\n\t\t\t\t\tdList.set(j, dList.get(j + 1));\n\t\t\t\t\tdList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\n\t\tint numCount;\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < sList.size(); j++) {\n\t\t\t\tif(sList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\n\n\t\t}\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < hList.size(); j++) {\n\t\t\t\tif(hList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\n\n\t\t}\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < cList.size(); j++) {\n\t\t\t\tif(cList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < dList.size(); j++) {\n\t\t\t\tif(dList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}\n\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint count = sc.nextInt();\n\n\t\tArrayList<Integer> sList = new ArrayList<Integer>();\n\t\tArrayList<Integer> hList = new ArrayList<Integer>();\n\t\tArrayList<Integer> cList = new ArrayList<Integer>();\n\t\tArrayList<Integer> dList = new ArrayList<Integer>();\n\n\t\tfor(int i = 0;i < count;i++ ) {\n\n\t\t\tString mark = sc.next();\n\t\t\tint num = sc.nextInt();\n\n\t\t\tif(mark.equals(\"S\")) {\n\t\t\t\tsList.add(num);\n\t\t\t} else if(mark.equals(\"H\")) {\n\t\t\t\thList.add(num);\n\t\t\t} else if(mark.equals(\"C\")) {\n\t\t\t\tcList.add(num);\n\t\t\t} else if(mark.equals(\"D\")) {\n\t\t\t\tdList.add(num);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0;i < sList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < sList.size() - 1; j++) {\n\t\t\t\tif(sList.get(j) > sList.get(j + 1)) {\n\t\t\t\t\tint x = sList.get(j);\n\t\t\t\t\tsList.set(j, sList.get(j + 1));\n\t\t\t\t\tsList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tfor(int i = 0;i < hList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < hList.size() - 1; j++) {\n\t\t\t\tif(hList.get(j) > hList.get(j + 1)) {\n\t\t\t\t\tint x = hList.get(j);\n\t\t\t\t\thList.set(j, hList.get(j + 1));\n\t\t\t\t\thList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tfor(int i = 0;i < cList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < cList.size() - 1; j++) {\n\t\t\t\tif(cList.get(j) > cList.get(j + 1)) {\n\t\t\t\t\tint x = cList.get(j);\n\t\t\t\t\tcList.set(j, cList.get(j + 1));\n\t\t\t\t\tcList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tfor(int i = 0;i < dList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < dList.size() - 1; j++) {\n\t\t\t\tif(dList.get(j) > dList.get(j + 1)) {\n\t\t\t\t\tint x = dList.get(j);\n\t\t\t\t\tdList.set(j, dList.get(j + 1));\n\t\t\t\t\tdList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\n\t\tint numCount;\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < sList.size(); j++) {\n\t\t\t\tif(sList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\n\n\t\t}\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < hList.size(); j++) {\n\t\t\t\tif(hList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\n\n\t\t}\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < cList.size(); j++) {\n\t\t\t\tif(cList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < dList.size(); j++) {\n\t\t\t\tif(dList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}\n\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int count = sc.nextInt();",
"count",
"sc.nextInt()",
"sc.nextInt",
"sc",
"ArrayList<Integer> sList = new ArrayList<Integer>();",
"sList",
"new ArrayList<Integer>()",
"ArrayList<Integer> hList = new ArrayList<Integer>();",
"hList",
"new ArrayList<Integer>()",
"ArrayList<Integer> cList = new ArrayList<Integer>();",
"cList",
"new ArrayList<Integer>()",
"ArrayList<Integer> dList = new ArrayList<Integer>();",
"dList",
"new ArrayList<Integer>()",
"for(int i = 0;i < count;i++ ) {\n\n\t\t\tString mark = sc.next();\n\t\t\tint num = sc.nextInt();\n\n\t\t\tif(mark.equals(\"S\")) {\n\t\t\t\tsList.add(num);\n\t\t\t} else if(mark.equals(\"H\")) {\n\t\t\t\thList.add(num);\n\t\t\t} else if(mark.equals(\"C\")) {\n\t\t\t\tcList.add(num);\n\t\t\t} else if(mark.equals(\"D\")) {\n\t\t\t\tdList.add(num);\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < count",
"i",
"count",
"i++",
"i++",
"i",
"{\n\n\t\t\tString mark = sc.next();\n\t\t\tint num = sc.nextInt();\n\n\t\t\tif(mark.equals(\"S\")) {\n\t\t\t\tsList.add(num);\n\t\t\t} else if(mark.equals(\"H\")) {\n\t\t\t\thList.add(num);\n\t\t\t} else if(mark.equals(\"C\")) {\n\t\t\t\tcList.add(num);\n\t\t\t} else if(mark.equals(\"D\")) {\n\t\t\t\tdList.add(num);\n\t\t\t}\n\t\t}",
"{\n\n\t\t\tString mark = sc.next();\n\t\t\tint num = sc.nextInt();\n\n\t\t\tif(mark.equals(\"S\")) {\n\t\t\t\tsList.add(num);\n\t\t\t} else if(mark.equals(\"H\")) {\n\t\t\t\thList.add(num);\n\t\t\t} else if(mark.equals(\"C\")) {\n\t\t\t\tcList.add(num);\n\t\t\t} else if(mark.equals(\"D\")) {\n\t\t\t\tdList.add(num);\n\t\t\t}\n\t\t}",
"String mark = sc.next();",
"mark",
"sc.next()",
"sc.next",
"sc",
"int num = sc.nextInt();",
"num",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(mark.equals(\"S\")) {\n\t\t\t\tsList.add(num);\n\t\t\t} else if(mark.equals(\"H\")) {\n\t\t\t\thList.add(num);\n\t\t\t} else if(mark.equals(\"C\")) {\n\t\t\t\tcList.add(num);\n\t\t\t} else if(mark.equals(\"D\")) {\n\t\t\t\tdList.add(num);\n\t\t\t}",
"mark.equals(\"S\")",
"mark.equals",
"mark",
"\"S\"",
"{\n\t\t\t\tsList.add(num);\n\t\t\t}",
"sList.add(num)",
"sList.add",
"sList",
"num",
"if(mark.equals(\"H\")) {\n\t\t\t\thList.add(num);\n\t\t\t} else if(mark.equals(\"C\")) {\n\t\t\t\tcList.add(num);\n\t\t\t} else if(mark.equals(\"D\")) {\n\t\t\t\tdList.add(num);\n\t\t\t}",
"mark.equals(\"H\")",
"mark.equals",
"mark",
"\"H\"",
"{\n\t\t\t\thList.add(num);\n\t\t\t}",
"hList.add(num)",
"hList.add",
"hList",
"num",
"if(mark.equals(\"C\")) {\n\t\t\t\tcList.add(num);\n\t\t\t} else if(mark.equals(\"D\")) {\n\t\t\t\tdList.add(num);\n\t\t\t}",
"mark.equals(\"C\")",
"mark.equals",
"mark",
"\"C\"",
"{\n\t\t\t\tcList.add(num);\n\t\t\t}",
"cList.add(num)",
"cList.add",
"cList",
"num",
"if(mark.equals(\"D\")) {\n\t\t\t\tdList.add(num);\n\t\t\t}",
"mark.equals(\"D\")",
"mark.equals",
"mark",
"\"D\"",
"{\n\t\t\t\tdList.add(num);\n\t\t\t}",
"dList.add(num)",
"dList.add",
"dList",
"num",
"for(int i = 0;i < sList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < sList.size() - 1; j++) {\n\t\t\t\tif(sList.get(j) > sList.get(j + 1)) {\n\t\t\t\t\tint x = sList.get(j);\n\t\t\t\t\tsList.set(j, sList.get(j + 1));\n\t\t\t\t\tsList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < sList.size() - 1",
"i",
"sList.size() - 1",
"sList.size()",
"sList.size",
"sList",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = 0;j < sList.size() - 1; j++) {\n\t\t\t\tif(sList.get(j) > sList.get(j + 1)) {\n\t\t\t\t\tint x = sList.get(j);\n\t\t\t\t\tsList.set(j, sList.get(j + 1));\n\t\t\t\t\tsList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"{\n\t\t\tfor(int j = 0;j < sList.size() - 1; j++) {\n\t\t\t\tif(sList.get(j) > sList.get(j + 1)) {\n\t\t\t\t\tint x = sList.get(j);\n\t\t\t\t\tsList.set(j, sList.get(j + 1));\n\t\t\t\t\tsList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"for(int j = 0;j < sList.size() - 1; j++) {\n\t\t\t\tif(sList.get(j) > sList.get(j + 1)) {\n\t\t\t\t\tint x = sList.get(j);\n\t\t\t\t\tsList.set(j, sList.get(j + 1));\n\t\t\t\t\tsList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < sList.size() - 1",
"j",
"sList.size() - 1",
"sList.size()",
"sList.size",
"sList",
"1",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(sList.get(j) > sList.get(j + 1)) {\n\t\t\t\t\tint x = sList.get(j);\n\t\t\t\t\tsList.set(j, sList.get(j + 1));\n\t\t\t\t\tsList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(sList.get(j) > sList.get(j + 1)) {\n\t\t\t\t\tint x = sList.get(j);\n\t\t\t\t\tsList.set(j, sList.get(j + 1));\n\t\t\t\t\tsList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}",
"if(sList.get(j) > sList.get(j + 1)) {\n\t\t\t\t\tint x = sList.get(j);\n\t\t\t\t\tsList.set(j, sList.get(j + 1));\n\t\t\t\t\tsList.set(j +1, x);\n\t\t\t\t}",
"sList.get(j) > sList.get(j + 1)",
"sList.get(j)",
"sList.get",
"sList",
"j",
"sList.get(j + 1)",
"sList.get",
"sList",
"j + 1",
"j",
"1",
"{\n\t\t\t\t\tint x = sList.get(j);\n\t\t\t\t\tsList.set(j, sList.get(j + 1));\n\t\t\t\t\tsList.set(j +1, x);\n\t\t\t\t}",
"int x = sList.get(j);",
"x",
"sList.get(j)",
"sList.get",
"sList",
"j",
"sList.set(j, sList.get(j + 1))",
"sList.set",
"sList",
"j",
"sList.get(j + 1)",
"sList.get",
"sList",
"j + 1",
"j",
"1",
"sList.set(j +1, x)",
"sList.set",
"sList",
"j +1",
"j",
"1",
"x",
"for(int i = 0;i < hList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < hList.size() - 1; j++) {\n\t\t\t\tif(hList.get(j) > hList.get(j + 1)) {\n\t\t\t\t\tint x = hList.get(j);\n\t\t\t\t\thList.set(j, hList.get(j + 1));\n\t\t\t\t\thList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < hList.size() - 1",
"i",
"hList.size() - 1",
"hList.size()",
"hList.size",
"hList",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = 0;j < hList.size() - 1; j++) {\n\t\t\t\tif(hList.get(j) > hList.get(j + 1)) {\n\t\t\t\t\tint x = hList.get(j);\n\t\t\t\t\thList.set(j, hList.get(j + 1));\n\t\t\t\t\thList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"{\n\t\t\tfor(int j = 0;j < hList.size() - 1; j++) {\n\t\t\t\tif(hList.get(j) > hList.get(j + 1)) {\n\t\t\t\t\tint x = hList.get(j);\n\t\t\t\t\thList.set(j, hList.get(j + 1));\n\t\t\t\t\thList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"for(int j = 0;j < hList.size() - 1; j++) {\n\t\t\t\tif(hList.get(j) > hList.get(j + 1)) {\n\t\t\t\t\tint x = hList.get(j);\n\t\t\t\t\thList.set(j, hList.get(j + 1));\n\t\t\t\t\thList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < hList.size() - 1",
"j",
"hList.size() - 1",
"hList.size()",
"hList.size",
"hList",
"1",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(hList.get(j) > hList.get(j + 1)) {\n\t\t\t\t\tint x = hList.get(j);\n\t\t\t\t\thList.set(j, hList.get(j + 1));\n\t\t\t\t\thList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(hList.get(j) > hList.get(j + 1)) {\n\t\t\t\t\tint x = hList.get(j);\n\t\t\t\t\thList.set(j, hList.get(j + 1));\n\t\t\t\t\thList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}",
"if(hList.get(j) > hList.get(j + 1)) {\n\t\t\t\t\tint x = hList.get(j);\n\t\t\t\t\thList.set(j, hList.get(j + 1));\n\t\t\t\t\thList.set(j +1, x);\n\t\t\t\t}",
"hList.get(j) > hList.get(j + 1)",
"hList.get(j)",
"hList.get",
"hList",
"j",
"hList.get(j + 1)",
"hList.get",
"hList",
"j + 1",
"j",
"1",
"{\n\t\t\t\t\tint x = hList.get(j);\n\t\t\t\t\thList.set(j, hList.get(j + 1));\n\t\t\t\t\thList.set(j +1, x);\n\t\t\t\t}",
"int x = hList.get(j);",
"x",
"hList.get(j)",
"hList.get",
"hList",
"j",
"hList.set(j, hList.get(j + 1))",
"hList.set",
"hList",
"j",
"hList.get(j + 1)",
"hList.get",
"hList",
"j + 1",
"j",
"1",
"hList.set(j +1, x)",
"hList.set",
"hList",
"j +1",
"j",
"1",
"x",
"for(int i = 0;i < cList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < cList.size() - 1; j++) {\n\t\t\t\tif(cList.get(j) > cList.get(j + 1)) {\n\t\t\t\t\tint x = cList.get(j);\n\t\t\t\t\tcList.set(j, cList.get(j + 1));\n\t\t\t\t\tcList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < cList.size() - 1",
"i",
"cList.size() - 1",
"cList.size()",
"cList.size",
"cList",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = 0;j < cList.size() - 1; j++) {\n\t\t\t\tif(cList.get(j) > cList.get(j + 1)) {\n\t\t\t\t\tint x = cList.get(j);\n\t\t\t\t\tcList.set(j, cList.get(j + 1));\n\t\t\t\t\tcList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"{\n\t\t\tfor(int j = 0;j < cList.size() - 1; j++) {\n\t\t\t\tif(cList.get(j) > cList.get(j + 1)) {\n\t\t\t\t\tint x = cList.get(j);\n\t\t\t\t\tcList.set(j, cList.get(j + 1));\n\t\t\t\t\tcList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"for(int j = 0;j < cList.size() - 1; j++) {\n\t\t\t\tif(cList.get(j) > cList.get(j + 1)) {\n\t\t\t\t\tint x = cList.get(j);\n\t\t\t\t\tcList.set(j, cList.get(j + 1));\n\t\t\t\t\tcList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < cList.size() - 1",
"j",
"cList.size() - 1",
"cList.size()",
"cList.size",
"cList",
"1",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(cList.get(j) > cList.get(j + 1)) {\n\t\t\t\t\tint x = cList.get(j);\n\t\t\t\t\tcList.set(j, cList.get(j + 1));\n\t\t\t\t\tcList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(cList.get(j) > cList.get(j + 1)) {\n\t\t\t\t\tint x = cList.get(j);\n\t\t\t\t\tcList.set(j, cList.get(j + 1));\n\t\t\t\t\tcList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}",
"if(cList.get(j) > cList.get(j + 1)) {\n\t\t\t\t\tint x = cList.get(j);\n\t\t\t\t\tcList.set(j, cList.get(j + 1));\n\t\t\t\t\tcList.set(j +1, x);\n\t\t\t\t}",
"cList.get(j) > cList.get(j + 1)",
"cList.get(j)",
"cList.get",
"cList",
"j",
"cList.get(j + 1)",
"cList.get",
"cList",
"j + 1",
"j",
"1",
"{\n\t\t\t\t\tint x = cList.get(j);\n\t\t\t\t\tcList.set(j, cList.get(j + 1));\n\t\t\t\t\tcList.set(j +1, x);\n\t\t\t\t}",
"int x = cList.get(j);",
"x",
"cList.get(j)",
"cList.get",
"cList",
"j",
"cList.set(j, cList.get(j + 1))",
"cList.set",
"cList",
"j",
"cList.get(j + 1)",
"cList.get",
"cList",
"j + 1",
"j",
"1",
"cList.set(j +1, x)",
"cList.set",
"cList",
"j +1",
"j",
"1",
"x",
"for(int i = 0;i < dList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < dList.size() - 1; j++) {\n\t\t\t\tif(dList.get(j) > dList.get(j + 1)) {\n\t\t\t\t\tint x = dList.get(j);\n\t\t\t\t\tdList.set(j, dList.get(j + 1));\n\t\t\t\t\tdList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < dList.size() - 1",
"i",
"dList.size() - 1",
"dList.size()",
"dList.size",
"dList",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = 0;j < dList.size() - 1; j++) {\n\t\t\t\tif(dList.get(j) > dList.get(j + 1)) {\n\t\t\t\t\tint x = dList.get(j);\n\t\t\t\t\tdList.set(j, dList.get(j + 1));\n\t\t\t\t\tdList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"{\n\t\t\tfor(int j = 0;j < dList.size() - 1; j++) {\n\t\t\t\tif(dList.get(j) > dList.get(j + 1)) {\n\t\t\t\t\tint x = dList.get(j);\n\t\t\t\t\tdList.set(j, dList.get(j + 1));\n\t\t\t\t\tdList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"for(int j = 0;j < dList.size() - 1; j++) {\n\t\t\t\tif(dList.get(j) > dList.get(j + 1)) {\n\t\t\t\t\tint x = dList.get(j);\n\t\t\t\t\tdList.set(j, dList.get(j + 1));\n\t\t\t\t\tdList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < dList.size() - 1",
"j",
"dList.size() - 1",
"dList.size()",
"dList.size",
"dList",
"1",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(dList.get(j) > dList.get(j + 1)) {\n\t\t\t\t\tint x = dList.get(j);\n\t\t\t\t\tdList.set(j, dList.get(j + 1));\n\t\t\t\t\tdList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(dList.get(j) > dList.get(j + 1)) {\n\t\t\t\t\tint x = dList.get(j);\n\t\t\t\t\tdList.set(j, dList.get(j + 1));\n\t\t\t\t\tdList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}",
"if(dList.get(j) > dList.get(j + 1)) {\n\t\t\t\t\tint x = dList.get(j);\n\t\t\t\t\tdList.set(j, dList.get(j + 1));\n\t\t\t\t\tdList.set(j +1, x);\n\t\t\t\t}",
"dList.get(j) > dList.get(j + 1)",
"dList.get(j)",
"dList.get",
"dList",
"j",
"dList.get(j + 1)",
"dList.get",
"dList",
"j + 1",
"j",
"1",
"{\n\t\t\t\t\tint x = dList.get(j);\n\t\t\t\t\tdList.set(j, dList.get(j + 1));\n\t\t\t\t\tdList.set(j +1, x);\n\t\t\t\t}",
"int x = dList.get(j);",
"x",
"dList.get(j)",
"dList.get",
"dList",
"j",
"dList.set(j, dList.get(j + 1))",
"dList.set",
"dList",
"j",
"dList.get(j + 1)",
"dList.get",
"dList",
"j + 1",
"j",
"1",
"dList.set(j +1, x)",
"dList.set",
"dList",
"j +1",
"j",
"1",
"x",
"int numCount;",
"numCount",
"for(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < sList.size(); j++) {\n\t\t\t\tif(sList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\n\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 13",
"i",
"13",
"i++",
"i++",
"i",
"{\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < sList.size(); j++) {\n\t\t\t\tif(sList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\n\n\t\t}",
"{\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < sList.size(); j++) {\n\t\t\t\tif(sList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\n\n\t\t}",
"numCount = 0",
"numCount",
"0",
"for(int j = 0;j < sList.size(); j++) {\n\t\t\t\tif(sList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < sList.size()",
"j",
"sList.size()",
"sList.size",
"sList",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(sList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(sList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}",
"if(sList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}",
"sList.get(j) == i",
"sList.get(j)",
"sList.get",
"sList",
"j",
"i",
"{\n\t\t\t\t\tnumCount++;\n\t\t\t\t}",
"numCount++",
"numCount",
"if(numCount == 0){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}",
"numCount == 0",
"numCount",
"0",
"{\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}",
"System.out.println(\"S \" + i)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"S \" + i",
"\"S \"",
"i",
"for(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < hList.size(); j++) {\n\t\t\t\tif(hList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\n\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 13",
"i",
"13",
"i++",
"i++",
"i",
"{\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < hList.size(); j++) {\n\t\t\t\tif(hList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\n\n\t\t}",
"{\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < hList.size(); j++) {\n\t\t\t\tif(hList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\n\n\t\t}",
"numCount = 0",
"numCount",
"0",
"for(int j = 0;j < hList.size(); j++) {\n\t\t\t\tif(hList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < hList.size()",
"j",
"hList.size()",
"hList.size",
"hList",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(hList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(hList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}",
"if(hList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}",
"hList.get(j) == i",
"hList.get(j)",
"hList.get",
"hList",
"j",
"i",
"{\n\t\t\t\t\tnumCount++;\n\t\t\t\t}",
"numCount++",
"numCount",
"if(numCount == 0){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}",
"numCount == 0",
"numCount",
"0",
"{\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}",
"System.out.println(\"H \" + i)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"H \" + i",
"\"H \"",
"i",
"for(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < cList.size(); j++) {\n\t\t\t\tif(cList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 13",
"i",
"13",
"i++",
"i++",
"i",
"{\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < cList.size(); j++) {\n\t\t\t\tif(cList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}",
"{\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < cList.size(); j++) {\n\t\t\t\tif(cList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}",
"numCount = 0",
"numCount",
"0",
"for(int j = 0;j < cList.size(); j++) {\n\t\t\t\tif(cList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < cList.size()",
"j",
"cList.size()",
"cList.size",
"cList",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(cList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(cList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}",
"if(cList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}",
"cList.get(j) == i",
"cList.get(j)",
"cList.get",
"cList",
"j",
"i",
"{\n\t\t\t\t\tnumCount++;\n\t\t\t\t}",
"numCount++",
"numCount",
"if(numCount == 0){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}",
"numCount == 0",
"numCount",
"0",
"{\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}",
"System.out.println(\"C \" + i)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"C \" + i",
"\"C \"",
"i",
"for(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < dList.size(); j++) {\n\t\t\t\tif(dList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 13",
"i",
"13",
"i++",
"i++",
"i",
"{\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < dList.size(); j++) {\n\t\t\t\tif(dList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}",
"{\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < dList.size(); j++) {\n\t\t\t\tif(dList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}",
"numCount = 0",
"numCount",
"0",
"for(int j = 0;j < dList.size(); j++) {\n\t\t\t\tif(dList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < dList.size()",
"j",
"dList.size()",
"dList.size",
"dList",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(dList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(dList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}",
"if(dList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}",
"dList.get(j) == i",
"dList.get(j)",
"dList.get",
"dList",
"j",
"i",
"{\n\t\t\t\t\tnumCount++;\n\t\t\t\t}",
"numCount++",
"numCount",
"if(numCount == 0){\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}",
"numCount == 0",
"numCount",
"0",
"{\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}",
"System.out.println(\"D \" + i)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"D \" + i",
"\"D \"",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint count = sc.nextInt();\n\n\t\tArrayList<Integer> sList = new ArrayList<Integer>();\n\t\tArrayList<Integer> hList = new ArrayList<Integer>();\n\t\tArrayList<Integer> cList = new ArrayList<Integer>();\n\t\tArrayList<Integer> dList = new ArrayList<Integer>();\n\n\t\tfor(int i = 0;i < count;i++ ) {\n\n\t\t\tString mark = sc.next();\n\t\t\tint num = sc.nextInt();\n\n\t\t\tif(mark.equals(\"S\")) {\n\t\t\t\tsList.add(num);\n\t\t\t} else if(mark.equals(\"H\")) {\n\t\t\t\thList.add(num);\n\t\t\t} else if(mark.equals(\"C\")) {\n\t\t\t\tcList.add(num);\n\t\t\t} else if(mark.equals(\"D\")) {\n\t\t\t\tdList.add(num);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0;i < sList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < sList.size() - 1; j++) {\n\t\t\t\tif(sList.get(j) > sList.get(j + 1)) {\n\t\t\t\t\tint x = sList.get(j);\n\t\t\t\t\tsList.set(j, sList.get(j + 1));\n\t\t\t\t\tsList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tfor(int i = 0;i < hList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < hList.size() - 1; j++) {\n\t\t\t\tif(hList.get(j) > hList.get(j + 1)) {\n\t\t\t\t\tint x = hList.get(j);\n\t\t\t\t\thList.set(j, hList.get(j + 1));\n\t\t\t\t\thList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tfor(int i = 0;i < cList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < cList.size() - 1; j++) {\n\t\t\t\tif(cList.get(j) > cList.get(j + 1)) {\n\t\t\t\t\tint x = cList.get(j);\n\t\t\t\t\tcList.set(j, cList.get(j + 1));\n\t\t\t\t\tcList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tfor(int i = 0;i < dList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < dList.size() - 1; j++) {\n\t\t\t\tif(dList.get(j) > dList.get(j + 1)) {\n\t\t\t\t\tint x = dList.get(j);\n\t\t\t\t\tdList.set(j, dList.get(j + 1));\n\t\t\t\t\tdList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\n\t\tint numCount;\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < sList.size(); j++) {\n\t\t\t\tif(sList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\n\n\t\t}\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < hList.size(); j++) {\n\t\t\t\tif(hList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\n\n\t\t}\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < cList.size(); j++) {\n\t\t\t\tif(cList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < dList.size(); j++) {\n\t\t\t\tif(dList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}\n\n\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint count = sc.nextInt();\n\n\t\tArrayList<Integer> sList = new ArrayList<Integer>();\n\t\tArrayList<Integer> hList = new ArrayList<Integer>();\n\t\tArrayList<Integer> cList = new ArrayList<Integer>();\n\t\tArrayList<Integer> dList = new ArrayList<Integer>();\n\n\t\tfor(int i = 0;i < count;i++ ) {\n\n\t\t\tString mark = sc.next();\n\t\t\tint num = sc.nextInt();\n\n\t\t\tif(mark.equals(\"S\")) {\n\t\t\t\tsList.add(num);\n\t\t\t} else if(mark.equals(\"H\")) {\n\t\t\t\thList.add(num);\n\t\t\t} else if(mark.equals(\"C\")) {\n\t\t\t\tcList.add(num);\n\t\t\t} else if(mark.equals(\"D\")) {\n\t\t\t\tdList.add(num);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0;i < sList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < sList.size() - 1; j++) {\n\t\t\t\tif(sList.get(j) > sList.get(j + 1)) {\n\t\t\t\t\tint x = sList.get(j);\n\t\t\t\t\tsList.set(j, sList.get(j + 1));\n\t\t\t\t\tsList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tfor(int i = 0;i < hList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < hList.size() - 1; j++) {\n\t\t\t\tif(hList.get(j) > hList.get(j + 1)) {\n\t\t\t\t\tint x = hList.get(j);\n\t\t\t\t\thList.set(j, hList.get(j + 1));\n\t\t\t\t\thList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tfor(int i = 0;i < cList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < cList.size() - 1; j++) {\n\t\t\t\tif(cList.get(j) > cList.get(j + 1)) {\n\t\t\t\t\tint x = cList.get(j);\n\t\t\t\t\tcList.set(j, cList.get(j + 1));\n\t\t\t\t\tcList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tfor(int i = 0;i < dList.size() - 1; i++) {\n\t\t\tfor(int j = 0;j < dList.size() - 1; j++) {\n\t\t\t\tif(dList.get(j) > dList.get(j + 1)) {\n\t\t\t\t\tint x = dList.get(j);\n\t\t\t\t\tdList.set(j, dList.get(j + 1));\n\t\t\t\t\tdList.set(j +1, x);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\n\t\tint numCount;\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < sList.size(); j++) {\n\t\t\t\tif(sList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\n\n\t\t}\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < hList.size(); j++) {\n\t\t\t\tif(hList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\n\n\t\t}\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < cList.size(); j++) {\n\t\t\t\tif(cList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1;i <= 13; i++) {\n\t\t\tnumCount = 0;\n\t\t\tfor(int j = 0;j < dList.size(); j++) {\n\t\t\t\tif(dList.get(j) == i) {\n\t\t\t\t\tnumCount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(numCount == 0){\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}\n\n\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int count = sc.nextInt();
ArrayList<Integer> sList = new ArrayList<Integer>();
ArrayList<Integer> hList = new ArrayList<Integer>();
ArrayList<Integer> cList = new ArrayList<Integer>();
ArrayList<Integer> dList = new ArrayList<Integer>();
for(int i = 0;i < count;i++ ) {
String mark = sc.next();
int num = sc.nextInt();
if(mark.equals("S")) {
sList.add(num);
} else if(mark.equals("H")) {
hList.add(num);
} else if(mark.equals("C")) {
cList.add(num);
} else if(mark.equals("D")) {
dList.add(num);
}
}
for(int i = 0;i < sList.size() - 1; i++) {
for(int j = 0;j < sList.size() - 1; j++) {
if(sList.get(j) > sList.get(j + 1)) {
int x = sList.get(j);
sList.set(j, sList.get(j + 1));
sList.set(j +1, x);
}
}
}
for(int i = 0;i < hList.size() - 1; i++) {
for(int j = 0;j < hList.size() - 1; j++) {
if(hList.get(j) > hList.get(j + 1)) {
int x = hList.get(j);
hList.set(j, hList.get(j + 1));
hList.set(j +1, x);
}
}
}
for(int i = 0;i < cList.size() - 1; i++) {
for(int j = 0;j < cList.size() - 1; j++) {
if(cList.get(j) > cList.get(j + 1)) {
int x = cList.get(j);
cList.set(j, cList.get(j + 1));
cList.set(j +1, x);
}
}
}
for(int i = 0;i < dList.size() - 1; i++) {
for(int j = 0;j < dList.size() - 1; j++) {
if(dList.get(j) > dList.get(j + 1)) {
int x = dList.get(j);
dList.set(j, dList.get(j + 1));
dList.set(j +1, x);
}
}
}
int numCount;
for(int i = 1;i <= 13; i++) {
numCount = 0;
for(int j = 0;j < sList.size(); j++) {
if(sList.get(j) == i) {
numCount++;
}
}
if(numCount == 0){
System.out.println("S " + i);
}
}
for(int i = 1;i <= 13; i++) {
numCount = 0;
for(int j = 0;j < hList.size(); j++) {
if(hList.get(j) == i) {
numCount++;
}
}
if(numCount == 0){
System.out.println("H " + i);
}
}
for(int i = 1;i <= 13; i++) {
numCount = 0;
for(int j = 0;j < cList.size(); j++) {
if(cList.get(j) == i) {
numCount++;
}
}
if(numCount == 0){
System.out.println("C " + i);
}
}
for(int i = 1;i <= 13; i++) {
numCount = 0;
for(int j = 0;j < dList.size(); j++) {
if(dList.get(j) == i) {
numCount++;
}
}
if(numCount == 0){
System.out.println("D " + i);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
17,
41,
13,
20,
17,
17,
41,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
18,
13,
17,
13,
1,
40,
13,
30,
30,
0,
18,
18,
13,
17,
13,
2,
17,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
18,
13,
17,
13,
1,
40,
13,
30,
30,
0,
18,
18,
13,
17,
13,
2,
17,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
18,
13,
17,
13,
1,
40,
13,
30,
30,
0,
18,
18,
13,
17,
13,
2,
17,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
18,
13,
17,
13,
1,
40,
13,
30,
30,
0,
18,
18,
13,
17,
13,
2,
17,
2,
13,
17,
38,
30,
4,
18,
13,
30,
0,
13,
20,
0,
13,
4,
18,
13,
0,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
13,
0,
18,
13,
13,
2,
18,
13,
17,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
18,
18,
13,
13,
13,
1,
40,
13,
30,
30,
14,
40,
4,
18,
4,
18,
13,
13,
18,
18,
13,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
4,
18,
18,
18,
13,
13,
13,
17,
17,
17,
4,
18,
18,
18,
13,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
281,
8
],
[
281,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
11,
14
],
[
14,
15
],
[
14,
16
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
28,
40
],
[
40,
41
],
[
41,
42
],
[
28,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
11,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
56,
68
],
[
68,
69
],
[
69,
70
],
[
56,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
73,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
11,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
84,
96
],
[
96,
97
],
[
97,
98
],
[
84,
99
],
[
100,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
101,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
109,
111
],
[
11,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
112,
124
],
[
124,
125
],
[
125,
126
],
[
112,
127
],
[
128,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
129,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
137,
139
],
[
11,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
140,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
145,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
145,
154
],
[
154,
155
],
[
154,
156
],
[
145,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
158,
163
],
[
163,
164
],
[
163,
165
],
[
158,
166
],
[
166,
167
],
[
167,
168
],
[
158,
169
],
[
170,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
171,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
178,
180
],
[
171,
181
],
[
181,
182
],
[
182,
183
],
[
171,
184
],
[
185,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
185,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
191,
195
],
[
170,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
196,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
204,
205
],
[
204,
206
],
[
145,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
207,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
214,
216
],
[
207,
217
],
[
217,
218
],
[
218,
219
],
[
207,
220
],
[
221,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
222,
227
],
[
227,
228
],
[
227,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
229,
233
],
[
222,
234
],
[
234,
235
],
[
235,
236
],
[
222,
237
],
[
238,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
244,
245
],
[
243,
246
],
[
241,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
247,
251
],
[
239,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
253,
258
],
[
259,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
262,
266
],
[
260,
267
],
[
260,
268
],
[
259,
269
],
[
259,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
272,
276
],
[
270,
277
],
[
9,
278
],
[
278,
279
],
[
0,
280
],
[
280,
281
],
[
280,
282
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint numN;\n\t\tString[] InputList = new String[2];\n\t\tString[][] Card = new String[4][13];\n\t\tString[] NumList;\n\n\t\tScanner sc = null;\n\n\t\t//?????§????????¨??????????????????\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\t\tCard[0][i] = \"S\" + (i + 1);\n\t\t}\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[1][i] = \"H\" + (i + 1);\n\t\t}\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[2][i] = \"C\" + (i + 1);\n\t\t}\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[3][i] = \"D\" + (i + 1);\n\t\t}\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tsc = new Scanner(System.in);\n\t\t\tnumN = sc.nextInt();\n\t\t\tNumList = new String[numN];\n\n\t\t\tfor (int i = 0; i < numN; i++) {\n\n\t\t\t\tfor (int j = 0; j < InputList.length; j++) {\n\t\t\t\t//????????????????????????\n\t\t\t\t\tString s = sc.next();\n\t\t\t\t\tInputList[j] = s;\n\t\t\t\t}\n\n\t\t\t\t//???????????£??\\\n\t\t\t\tNumList[i] = InputList[0] + InputList[1];\n\t\t\t}\n\t\t\t//?????¨??????????????§??????\n\t\t\tfor (int i = 0; i < Card.length; i++) {\n\t\t\t\tfor (int j = 0; j < Card[i].length; j++) {\n\t\t\t\t\tif(!Arrays.asList(NumList).contains(Card[i][j])){\n\t\t\t\t\t\tSystem.out.println(Card[i][j].substring(0, 1) + \" \" + Card[i][j].substring(1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t//System.out.println(Type);\n\n\t\t} finally {\n\t\t\tsc.close();\n\t\t}\n\t}\n\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint numN;\n\t\tString[] InputList = new String[2];\n\t\tString[][] Card = new String[4][13];\n\t\tString[] NumList;\n\n\t\tScanner sc = null;\n\n\t\t//?????§????????¨??????????????????\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\t\tCard[0][i] = \"S\" + (i + 1);\n\t\t}\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[1][i] = \"H\" + (i + 1);\n\t\t}\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[2][i] = \"C\" + (i + 1);\n\t\t}\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[3][i] = \"D\" + (i + 1);\n\t\t}\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tsc = new Scanner(System.in);\n\t\t\tnumN = sc.nextInt();\n\t\t\tNumList = new String[numN];\n\n\t\t\tfor (int i = 0; i < numN; i++) {\n\n\t\t\t\tfor (int j = 0; j < InputList.length; j++) {\n\t\t\t\t//????????????????????????\n\t\t\t\t\tString s = sc.next();\n\t\t\t\t\tInputList[j] = s;\n\t\t\t\t}\n\n\t\t\t\t//???????????£??\\\n\t\t\t\tNumList[i] = InputList[0] + InputList[1];\n\t\t\t}\n\t\t\t//?????¨??????????????§??????\n\t\t\tfor (int i = 0; i < Card.length; i++) {\n\t\t\t\tfor (int j = 0; j < Card[i].length; j++) {\n\t\t\t\t\tif(!Arrays.asList(NumList).contains(Card[i][j])){\n\t\t\t\t\t\tSystem.out.println(Card[i][j].substring(0, 1) + \" \" + Card[i][j].substring(1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t//System.out.println(Type);\n\n\t\t} finally {\n\t\t\tsc.close();\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint numN;\n\t\tString[] InputList = new String[2];\n\t\tString[][] Card = new String[4][13];\n\t\tString[] NumList;\n\n\t\tScanner sc = null;\n\n\t\t//?????§????????¨??????????????????\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\t\tCard[0][i] = \"S\" + (i + 1);\n\t\t}\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[1][i] = \"H\" + (i + 1);\n\t\t}\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[2][i] = \"C\" + (i + 1);\n\t\t}\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[3][i] = \"D\" + (i + 1);\n\t\t}\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tsc = new Scanner(System.in);\n\t\t\tnumN = sc.nextInt();\n\t\t\tNumList = new String[numN];\n\n\t\t\tfor (int i = 0; i < numN; i++) {\n\n\t\t\t\tfor (int j = 0; j < InputList.length; j++) {\n\t\t\t\t//????????????????????????\n\t\t\t\t\tString s = sc.next();\n\t\t\t\t\tInputList[j] = s;\n\t\t\t\t}\n\n\t\t\t\t//???????????£??\\\n\t\t\t\tNumList[i] = InputList[0] + InputList[1];\n\t\t\t}\n\t\t\t//?????¨??????????????§??????\n\t\t\tfor (int i = 0; i < Card.length; i++) {\n\t\t\t\tfor (int j = 0; j < Card[i].length; j++) {\n\t\t\t\t\tif(!Arrays.asList(NumList).contains(Card[i][j])){\n\t\t\t\t\t\tSystem.out.println(Card[i][j].substring(0, 1) + \" \" + Card[i][j].substring(1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t//System.out.println(Type);\n\n\t\t} finally {\n\t\t\tsc.close();\n\t\t}\n\t}",
"main",
"{\n\n\t\t//?????£?????????\n\t\tint numN;\n\t\tString[] InputList = new String[2];\n\t\tString[][] Card = new String[4][13];\n\t\tString[] NumList;\n\n\t\tScanner sc = null;\n\n\t\t//?????§????????¨??????????????????\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\t\tCard[0][i] = \"S\" + (i + 1);\n\t\t}\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[1][i] = \"H\" + (i + 1);\n\t\t}\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[2][i] = \"C\" + (i + 1);\n\t\t}\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[3][i] = \"D\" + (i + 1);\n\t\t}\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tsc = new Scanner(System.in);\n\t\t\tnumN = sc.nextInt();\n\t\t\tNumList = new String[numN];\n\n\t\t\tfor (int i = 0; i < numN; i++) {\n\n\t\t\t\tfor (int j = 0; j < InputList.length; j++) {\n\t\t\t\t//????????????????????????\n\t\t\t\t\tString s = sc.next();\n\t\t\t\t\tInputList[j] = s;\n\t\t\t\t}\n\n\t\t\t\t//???????????£??\\\n\t\t\t\tNumList[i] = InputList[0] + InputList[1];\n\t\t\t}\n\t\t\t//?????¨??????????????§??????\n\t\t\tfor (int i = 0; i < Card.length; i++) {\n\t\t\t\tfor (int j = 0; j < Card[i].length; j++) {\n\t\t\t\t\tif(!Arrays.asList(NumList).contains(Card[i][j])){\n\t\t\t\t\t\tSystem.out.println(Card[i][j].substring(0, 1) + \" \" + Card[i][j].substring(1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t//System.out.println(Type);\n\n\t\t} finally {\n\t\t\tsc.close();\n\t\t}\n\t}",
"int numN;",
"numN",
"String[] InputList = new String[2];",
"InputList",
"new String[2]",
"2",
"String[][] Card = new String[4][13];",
"Card",
"new String[4][13]",
"4",
"13",
"String[] NumList;",
"NumList",
"Scanner sc = null;",
"sc",
"null",
"for (int i = 0; i < Card[0].length; i++) {\n\t\t\t\tCard[0][i] = \"S\" + (i + 1);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < Card[0].length",
"i",
"Card[0].length",
"Card[0]",
"Card",
"0",
"Card[0].length",
"i++",
"i++",
"i",
"{\n\t\t\t\tCard[0][i] = \"S\" + (i + 1);\n\t\t}",
"{\n\t\t\t\tCard[0][i] = \"S\" + (i + 1);\n\t\t}",
"Card[0][i] = \"S\" + (i + 1)",
"Card[0][i]",
"Card[0]",
"Card",
"0",
"i",
"\"S\" + (i + 1)",
"\"S\"",
"(i + 1)",
"i",
"1",
"for (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[1][i] = \"H\" + (i + 1);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < Card[0].length",
"i",
"Card[0].length",
"Card[0]",
"Card",
"0",
"Card[0].length",
"i++",
"i++",
"i",
"{\n\t\t\tCard[1][i] = \"H\" + (i + 1);\n\t\t}",
"{\n\t\t\tCard[1][i] = \"H\" + (i + 1);\n\t\t}",
"Card[1][i] = \"H\" + (i + 1)",
"Card[1][i]",
"Card[1]",
"Card",
"1",
"i",
"\"H\" + (i + 1)",
"\"H\"",
"(i + 1)",
"i",
"1",
"for (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[2][i] = \"C\" + (i + 1);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < Card[0].length",
"i",
"Card[0].length",
"Card[0]",
"Card",
"0",
"Card[0].length",
"i++",
"i++",
"i",
"{\n\t\t\tCard[2][i] = \"C\" + (i + 1);\n\t\t}",
"{\n\t\t\tCard[2][i] = \"C\" + (i + 1);\n\t\t}",
"Card[2][i] = \"C\" + (i + 1)",
"Card[2][i]",
"Card[2]",
"Card",
"2",
"i",
"\"C\" + (i + 1)",
"\"C\"",
"(i + 1)",
"i",
"1",
"for (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[3][i] = \"D\" + (i + 1);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < Card[0].length",
"i",
"Card[0].length",
"Card[0]",
"Card",
"0",
"Card[0].length",
"i++",
"i++",
"i",
"{\n\t\t\tCard[3][i] = \"D\" + (i + 1);\n\t\t}",
"{\n\t\t\tCard[3][i] = \"D\" + (i + 1);\n\t\t}",
"Card[3][i] = \"D\" + (i + 1)",
"Card[3][i]",
"Card[3]",
"Card",
"3",
"i",
"\"D\" + (i + 1)",
"\"D\"",
"(i + 1)",
"i",
"1",
"try {\n\t\t\t//??\\????????????\n\t\t\tsc = new Scanner(System.in);\n\t\t\tnumN = sc.nextInt();\n\t\t\tNumList = new String[numN];\n\n\t\t\tfor (int i = 0; i < numN; i++) {\n\n\t\t\t\tfor (int j = 0; j < InputList.length; j++) {\n\t\t\t\t//????????????????????????\n\t\t\t\t\tString s = sc.next();\n\t\t\t\t\tInputList[j] = s;\n\t\t\t\t}\n\n\t\t\t\t//???????????£??\\\n\t\t\t\tNumList[i] = InputList[0] + InputList[1];\n\t\t\t}\n\t\t\t//?????¨??????????????§??????\n\t\t\tfor (int i = 0; i < Card.length; i++) {\n\t\t\t\tfor (int j = 0; j < Card[i].length; j++) {\n\t\t\t\t\tif(!Arrays.asList(NumList).contains(Card[i][j])){\n\t\t\t\t\t\tSystem.out.println(Card[i][j].substring(0, 1) + \" \" + Card[i][j].substring(1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t//System.out.println(Type);\n\n\t\t} finally {\n\t\t\tsc.close();\n\t\t}",
"{\n\t\t\tsc.close();\n\t\t}",
"sc.close()",
"sc.close",
"sc",
"{\n\t\t\t//??\\????????????\n\t\t\tsc = new Scanner(System.in);\n\t\t\tnumN = sc.nextInt();\n\t\t\tNumList = new String[numN];\n\n\t\t\tfor (int i = 0; i < numN; i++) {\n\n\t\t\t\tfor (int j = 0; j < InputList.length; j++) {\n\t\t\t\t//????????????????????????\n\t\t\t\t\tString s = sc.next();\n\t\t\t\t\tInputList[j] = s;\n\t\t\t\t}\n\n\t\t\t\t//???????????£??\\\n\t\t\t\tNumList[i] = InputList[0] + InputList[1];\n\t\t\t}\n\t\t\t//?????¨??????????????§??????\n\t\t\tfor (int i = 0; i < Card.length; i++) {\n\t\t\t\tfor (int j = 0; j < Card[i].length; j++) {\n\t\t\t\t\tif(!Arrays.asList(NumList).contains(Card[i][j])){\n\t\t\t\t\t\tSystem.out.println(Card[i][j].substring(0, 1) + \" \" + Card[i][j].substring(1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t//System.out.println(Type);\n\n\t\t}",
"sc = new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"numN = sc.nextInt()",
"numN",
"sc.nextInt()",
"sc.nextInt",
"sc",
"NumList = new String[numN]",
"NumList",
"new String[numN]",
"numN",
"for (int i = 0; i < numN; i++) {\n\n\t\t\t\tfor (int j = 0; j < InputList.length; j++) {\n\t\t\t\t//????????????????????????\n\t\t\t\t\tString s = sc.next();\n\t\t\t\t\tInputList[j] = s;\n\t\t\t\t}\n\n\t\t\t\t//???????????£??\\\n\t\t\t\tNumList[i] = InputList[0] + InputList[1];\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < numN",
"i",
"numN",
"i++",
"i++",
"i",
"{\n\n\t\t\t\tfor (int j = 0; j < InputList.length; j++) {\n\t\t\t\t//????????????????????????\n\t\t\t\t\tString s = sc.next();\n\t\t\t\t\tInputList[j] = s;\n\t\t\t\t}\n\n\t\t\t\t//???????????£??\\\n\t\t\t\tNumList[i] = InputList[0] + InputList[1];\n\t\t\t}",
"{\n\n\t\t\t\tfor (int j = 0; j < InputList.length; j++) {\n\t\t\t\t//????????????????????????\n\t\t\t\t\tString s = sc.next();\n\t\t\t\t\tInputList[j] = s;\n\t\t\t\t}\n\n\t\t\t\t//???????????£??\\\n\t\t\t\tNumList[i] = InputList[0] + InputList[1];\n\t\t\t}",
"for (int j = 0; j < InputList.length; j++) {\n\t\t\t\t//????????????????????????\n\t\t\t\t\tString s = sc.next();\n\t\t\t\t\tInputList[j] = s;\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < InputList.length",
"j",
"InputList.length",
"InputList",
"InputList.length",
"j++",
"j++",
"j",
"{\n\t\t\t\t//????????????????????????\n\t\t\t\t\tString s = sc.next();\n\t\t\t\t\tInputList[j] = s;\n\t\t\t\t}",
"{\n\t\t\t\t//????????????????????????\n\t\t\t\t\tString s = sc.next();\n\t\t\t\t\tInputList[j] = s;\n\t\t\t\t}",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"InputList[j] = s",
"InputList[j]",
"InputList",
"j",
"s",
"NumList[i] = InputList[0] + InputList[1]",
"NumList[i]",
"NumList",
"i",
"InputList[0] + InputList[1]",
"InputList[0]",
"InputList",
"0",
"InputList[1]",
"InputList",
"1",
"for (int i = 0; i < Card.length; i++) {\n\t\t\t\tfor (int j = 0; j < Card[i].length; j++) {\n\t\t\t\t\tif(!Arrays.asList(NumList).contains(Card[i][j])){\n\t\t\t\t\t\tSystem.out.println(Card[i][j].substring(0, 1) + \" \" + Card[i][j].substring(1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < Card.length",
"i",
"Card.length",
"Card",
"Card.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor (int j = 0; j < Card[i].length; j++) {\n\t\t\t\t\tif(!Arrays.asList(NumList).contains(Card[i][j])){\n\t\t\t\t\t\tSystem.out.println(Card[i][j].substring(0, 1) + \" \" + Card[i][j].substring(1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tfor (int j = 0; j < Card[i].length; j++) {\n\t\t\t\t\tif(!Arrays.asList(NumList).contains(Card[i][j])){\n\t\t\t\t\t\tSystem.out.println(Card[i][j].substring(0, 1) + \" \" + Card[i][j].substring(1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"for (int j = 0; j < Card[i].length; j++) {\n\t\t\t\t\tif(!Arrays.asList(NumList).contains(Card[i][j])){\n\t\t\t\t\t\tSystem.out.println(Card[i][j].substring(0, 1) + \" \" + Card[i][j].substring(1));\n\t\t\t\t\t}\n\t\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < Card[i].length",
"j",
"Card[i].length",
"Card[i]",
"Card",
"i",
"Card[i].length",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tif(!Arrays.asList(NumList).contains(Card[i][j])){\n\t\t\t\t\t\tSystem.out.println(Card[i][j].substring(0, 1) + \" \" + Card[i][j].substring(1));\n\t\t\t\t\t}\n\t\t\t\t}",
"{\n\t\t\t\t\tif(!Arrays.asList(NumList).contains(Card[i][j])){\n\t\t\t\t\t\tSystem.out.println(Card[i][j].substring(0, 1) + \" \" + Card[i][j].substring(1));\n\t\t\t\t\t}\n\t\t\t\t}",
"if(!Arrays.asList(NumList).contains(Card[i][j])){\n\t\t\t\t\t\tSystem.out.println(Card[i][j].substring(0, 1) + \" \" + Card[i][j].substring(1));\n\t\t\t\t\t}",
"!Arrays.asList(NumList).contains(Card[i][j])",
"Arrays.asList(NumList).contains(Card[i][j])",
"Arrays.asList(NumList).contains",
"Arrays.asList(NumList)",
"Arrays.asList",
"Arrays",
"NumList",
"Card[i][j]",
"Card[i]",
"Card",
"i",
"j",
"{\n\t\t\t\t\t\tSystem.out.println(Card[i][j].substring(0, 1) + \" \" + Card[i][j].substring(1));\n\t\t\t\t\t}",
"System.out.println(Card[i][j].substring(0, 1) + \" \" + Card[i][j].substring(1))",
"System.out.println",
"System.out",
"System",
"System.out",
"Card[i][j].substring(0, 1) + \" \" + Card[i][j].substring(1)",
"Card[i][j].substring(0, 1) + \" \" + Card[i][j].substring(1)",
"Card[i][j].substring(0, 1)",
"Card[i][j].substring",
"Card[i][j]",
"Card[i]",
"Card",
"i",
"j",
"0",
"1",
"\" \"",
"Card[i][j].substring(1)",
"Card[i][j].substring",
"Card[i][j]",
"Card[i]",
"Card",
"i",
"j",
"1",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint numN;\n\t\tString[] InputList = new String[2];\n\t\tString[][] Card = new String[4][13];\n\t\tString[] NumList;\n\n\t\tScanner sc = null;\n\n\t\t//?????§????????¨??????????????????\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\t\tCard[0][i] = \"S\" + (i + 1);\n\t\t}\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[1][i] = \"H\" + (i + 1);\n\t\t}\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[2][i] = \"C\" + (i + 1);\n\t\t}\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[3][i] = \"D\" + (i + 1);\n\t\t}\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tsc = new Scanner(System.in);\n\t\t\tnumN = sc.nextInt();\n\t\t\tNumList = new String[numN];\n\n\t\t\tfor (int i = 0; i < numN; i++) {\n\n\t\t\t\tfor (int j = 0; j < InputList.length; j++) {\n\t\t\t\t//????????????????????????\n\t\t\t\t\tString s = sc.next();\n\t\t\t\t\tInputList[j] = s;\n\t\t\t\t}\n\n\t\t\t\t//???????????£??\\\n\t\t\t\tNumList[i] = InputList[0] + InputList[1];\n\t\t\t}\n\t\t\t//?????¨??????????????§??????\n\t\t\tfor (int i = 0; i < Card.length; i++) {\n\t\t\t\tfor (int j = 0; j < Card[i].length; j++) {\n\t\t\t\t\tif(!Arrays.asList(NumList).contains(Card[i][j])){\n\t\t\t\t\t\tSystem.out.println(Card[i][j].substring(0, 1) + \" \" + Card[i][j].substring(1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t//System.out.println(Type);\n\n\t\t} finally {\n\t\t\tsc.close();\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint numN;\n\t\tString[] InputList = new String[2];\n\t\tString[][] Card = new String[4][13];\n\t\tString[] NumList;\n\n\t\tScanner sc = null;\n\n\t\t//?????§????????¨??????????????????\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\t\tCard[0][i] = \"S\" + (i + 1);\n\t\t}\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[1][i] = \"H\" + (i + 1);\n\t\t}\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[2][i] = \"C\" + (i + 1);\n\t\t}\n\t\tfor (int i = 0; i < Card[0].length; i++) {\n\t\t\tCard[3][i] = \"D\" + (i + 1);\n\t\t}\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tsc = new Scanner(System.in);\n\t\t\tnumN = sc.nextInt();\n\t\t\tNumList = new String[numN];\n\n\t\t\tfor (int i = 0; i < numN; i++) {\n\n\t\t\t\tfor (int j = 0; j < InputList.length; j++) {\n\t\t\t\t//????????????????????????\n\t\t\t\t\tString s = sc.next();\n\t\t\t\t\tInputList[j] = s;\n\t\t\t\t}\n\n\t\t\t\t//???????????£??\\\n\t\t\t\tNumList[i] = InputList[0] + InputList[1];\n\t\t\t}\n\t\t\t//?????¨??????????????§??????\n\t\t\tfor (int i = 0; i < Card.length; i++) {\n\t\t\t\tfor (int j = 0; j < Card[i].length; j++) {\n\t\t\t\t\tif(!Arrays.asList(NumList).contains(Card[i][j])){\n\t\t\t\t\t\tSystem.out.println(Card[i][j].substring(0, 1) + \" \" + Card[i][j].substring(1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t//System.out.println(Type);\n\n\t\t} finally {\n\t\t\tsc.close();\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
//?????£?????????
int numN;
String[] InputList = new String[2];
String[][] Card = new String[4][13];
String[] NumList;
Scanner sc = null;
//?????§????????¨??????????????????
for (int i = 0; i < Card[0].length; i++) {
Card[0][i] = "S" + (i + 1);
}
for (int i = 0; i < Card[0].length; i++) {
Card[1][i] = "H" + (i + 1);
}
for (int i = 0; i < Card[0].length; i++) {
Card[2][i] = "C" + (i + 1);
}
for (int i = 0; i < Card[0].length; i++) {
Card[3][i] = "D" + (i + 1);
}
try {
//??\????????????
sc = new Scanner(System.in);
numN = sc.nextInt();
NumList = new String[numN];
for (int i = 0; i < numN; i++) {
for (int j = 0; j < InputList.length; j++) {
//????????????????????????
String s = sc.next();
InputList[j] = s;
}
//???????????£??\
NumList[i] = InputList[0] + InputList[1];
}
//?????¨??????????????§??????
for (int i = 0; i < Card.length; i++) {
for (int j = 0; j < Card[i].length; j++) {
if(!Arrays.asList(NumList).contains(Card[i][j])){
System.out.println(Card[i][j].substring(0, 1) + " " + Card[i][j].substring(1));
}
}
}
//System.out.println(Type);
} finally {
sc.close();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
17,
41,
13,
20,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
2,
4,
18,
13,
17,
35,
13,
34,
17,
1,
0,
18,
18,
13,
17,
13,
17,
3,
34,
17,
1,
0,
18,
18,
13,
17,
13,
17,
3,
34,
17,
1,
0,
18,
18,
13,
17,
13,
17,
3,
34,
17,
1,
0,
18,
18,
13,
17,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
40,
18,
18,
13,
13,
13,
30,
35,
13,
34,
17,
1,
4,
18,
18,
13,
13,
2,
17,
2,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
2,
17,
2,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
2,
17,
2,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
2,
17,
2,
13,
17,
3,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
188,
5
],
[
188,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
42,
46
],
[
34,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
52,
58
],
[
51,
59
],
[
47,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
63,
69
],
[
62,
70
],
[
47,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
74,
80
],
[
73,
81
],
[
47,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
85,
91
],
[
84,
92
],
[
8,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
93,
101
],
[
101,
102
],
[
102,
103
],
[
93,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
111,
112
],
[
111,
113
],
[
106,
114
],
[
114,
115
],
[
115,
116
],
[
106,
117
],
[
118,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
119,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
132,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
139,
141
],
[
131,
142
],
[
127,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
146,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
153,
155
],
[
145,
156
],
[
127,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
160,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
167,
169
],
[
159,
170
],
[
127,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
174,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
181,
183
],
[
173,
184
],
[
6,
185
],
[
185,
186
],
[
0,
187
],
[
187,
188
],
[
187,
189
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tboolean card[][] = new boolean[4][13];\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString suit = scan.next();\n\t\t\tint rank = scan.nextInt() - 1;\n\t\t\tswitch(suit){\n\t\t\tcase \"S\":\n\t\t\t\tcard[0][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tcard[1][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tcard[2][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tcard[3][rank] = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 0; j < 13; j++){\n\t\t\t\tif(!card[i][j]){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j + 1)); //?????£??????????????????j+1??¨?¨????????????¨???????????¨????????±?????????\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//System.out.println();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tboolean card[][] = new boolean[4][13];\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString suit = scan.next();\n\t\t\tint rank = scan.nextInt() - 1;\n\t\t\tswitch(suit){\n\t\t\tcase \"S\":\n\t\t\t\tcard[0][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tcard[1][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tcard[2][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tcard[3][rank] = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 0; j < 13; j++){\n\t\t\t\tif(!card[i][j]){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j + 1)); //?????£??????????????????j+1??¨?¨????????????¨???????????¨????????±?????????\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//System.out.println();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tboolean card[][] = new boolean[4][13];\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString suit = scan.next();\n\t\t\tint rank = scan.nextInt() - 1;\n\t\t\tswitch(suit){\n\t\t\tcase \"S\":\n\t\t\t\tcard[0][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tcard[1][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tcard[2][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tcard[3][rank] = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 0; j < 13; j++){\n\t\t\t\tif(!card[i][j]){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j + 1)); //?????£??????????????????j+1??¨?¨????????????¨???????????¨????????±?????????\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//System.out.println();\n\t}",
"main",
"{\n\t\tboolean card[][] = new boolean[4][13];\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString suit = scan.next();\n\t\t\tint rank = scan.nextInt() - 1;\n\t\t\tswitch(suit){\n\t\t\tcase \"S\":\n\t\t\t\tcard[0][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tcard[1][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tcard[2][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tcard[3][rank] = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 0; j < 13; j++){\n\t\t\t\tif(!card[i][j]){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j + 1)); //?????£??????????????????j+1??¨?¨????????????¨???????????¨????????±?????????\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//System.out.println();\n\t}",
"boolean card[][] = new boolean[4][13];",
"card",
"new boolean[4][13]",
"4",
"13",
"@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(int i = 0; i < n; i++){\n\t\t\tString suit = scan.next();\n\t\t\tint rank = scan.nextInt() - 1;\n\t\t\tswitch(suit){\n\t\t\tcase \"S\":\n\t\t\t\tcard[0][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tcard[1][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tcard[2][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tcard[3][rank] = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tString suit = scan.next();\n\t\t\tint rank = scan.nextInt() - 1;\n\t\t\tswitch(suit){\n\t\t\tcase \"S\":\n\t\t\t\tcard[0][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tcard[1][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tcard[2][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tcard[3][rank] = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tString suit = scan.next();\n\t\t\tint rank = scan.nextInt() - 1;\n\t\t\tswitch(suit){\n\t\t\tcase \"S\":\n\t\t\t\tcard[0][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tcard[1][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tcard[2][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tcard[3][rank] = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"String suit = scan.next();",
"suit",
"scan.next()",
"scan.next",
"scan",
"int rank = scan.nextInt() - 1;",
"rank",
"scan.nextInt() - 1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"1",
"switch(suit){\n\t\t\tcase \"S\":\n\t\t\t\tcard[0][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tcard[1][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tcard[2][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tcard[3][rank] = true;\n\t\t\t\tbreak;\n\t\t\t}",
"suit",
"case \"S\":",
"\"S\"",
"case \"S\":",
"card[0][rank] = true",
"card[0][rank]",
"card[0]",
"card",
"0",
"rank",
"true",
"break;",
"case \"H\":",
"\"H\"",
"case \"H\":",
"card[1][rank] = true",
"card[1][rank]",
"card[1]",
"card",
"1",
"rank",
"true",
"break;",
"case \"C\":",
"\"C\"",
"case \"C\":",
"card[2][rank] = true",
"card[2][rank]",
"card[2]",
"card",
"2",
"rank",
"true",
"break;",
"case \"D\":",
"\"D\"",
"case \"D\":",
"card[3][rank] = true",
"card[3][rank]",
"card[3]",
"card",
"3",
"rank",
"true",
"break;",
"for(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 0; j < 13; j++){\n\t\t\t\tif(!card[i][j]){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j + 1)); //?????£??????????????????j+1??¨?¨????????????¨???????????¨????????±?????????\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 4",
"i",
"4",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = 0; j < 13; j++){\n\t\t\t\tif(!card[i][j]){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j + 1)); //?????£??????????????????j+1??¨?¨????????????¨???????????¨????????±?????????\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int j = 0; j < 13; j++){\n\t\t\t\tif(!card[i][j]){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j + 1)); //?????£??????????????????j+1??¨?¨????????????¨???????????¨????????±?????????\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int j = 0; j < 13; j++){\n\t\t\t\tif(!card[i][j]){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j + 1)); //?????£??????????????????j+1??¨?¨????????????¨???????????¨????????±?????????\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < 13",
"j",
"13",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(!card[i][j]){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j + 1)); //?????£??????????????????j+1??¨?¨????????????¨???????????¨????????±?????????\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(!card[i][j]){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j + 1)); //?????£??????????????????j+1??¨?¨????????????¨???????????¨????????±?????????\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"if(!card[i][j]){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j + 1)); //?????£??????????????????j+1??¨?¨????????????¨???????????¨????????±?????????\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}",
"!card[i][j]",
"card[i][j]",
"card[i]",
"card",
"i",
"j",
"{\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j + 1)); //?????£??????????????????j+1??¨?¨????????????¨???????????¨????????±?????????\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}",
"switch(i){\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j + 1)); //?????£??????????????????j+1??¨?¨????????????¨???????????¨????????±?????????\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"i",
"case 0:",
"0",
"case 0:",
"System.out.println(\"S \" + (j + 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"S \" + (j + 1)",
"\"S \"",
"(j + 1)",
"j",
"1",
"break;",
"case 1:",
"1",
"case 1:",
"System.out.println(\"H \" + (j + 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"H \" + (j + 1)",
"\"H \"",
"(j + 1)",
"j",
"1",
"break;",
"case 2:",
"2",
"case 2:",
"System.out.println(\"C \" + (j + 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"C \" + (j + 1)",
"\"C \"",
"(j + 1)",
"j",
"1",
"break;",
"case 3:",
"3",
"case 3:",
"System.out.println(\"D \" + (j + 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"D \" + (j + 1)",
"\"D \"",
"(j + 1)",
"j",
"1",
"break;",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tboolean card[][] = new boolean[4][13];\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString suit = scan.next();\n\t\t\tint rank = scan.nextInt() - 1;\n\t\t\tswitch(suit){\n\t\t\tcase \"S\":\n\t\t\t\tcard[0][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tcard[1][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tcard[2][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tcard[3][rank] = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 0; j < 13; j++){\n\t\t\t\tif(!card[i][j]){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j + 1)); //?????£??????????????????j+1??¨?¨????????????¨???????????¨????????±?????????\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//System.out.println();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tboolean card[][] = new boolean[4][13];\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString suit = scan.next();\n\t\t\tint rank = scan.nextInt() - 1;\n\t\t\tswitch(suit){\n\t\t\tcase \"S\":\n\t\t\t\tcard[0][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tcard[1][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tcard[2][rank] = true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tcard[3][rank] = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 0; j < 13; j++){\n\t\t\t\tif(!card[i][j]){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j + 1)); //?????£??????????????????j+1??¨?¨????????????¨???????????¨????????±?????????\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//System.out.println();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
boolean card[][] = new boolean[4][13];
@SuppressWarnings("resource")
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
for(int i = 0; i < n; i++){
String suit = scan.next();
int rank = scan.nextInt() - 1;
switch(suit){
case "S":
card[0][rank] = true;
break;
case "H":
card[1][rank] = true;
break;
case "C":
card[2][rank] = true;
break;
case "D":
card[3][rank] = true;
break;
}
}
for(int i = 0; i < 4; i++){
for(int j = 0; j < 13; j++){
if(!card[i][j]){
switch(i){
case 0:
System.out.println("S " + (j + 1)); //?????£??????????????????j+1??¨?¨????????????¨???????????¨????????±?????????
break;
case 1:
System.out.println("H " + (j + 1));
break;
case 2:
System.out.println("C " + (j + 1));
break;
case 3:
System.out.println("D " + (j + 1));
break;
}
}
}
}
//System.out.println();
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.