node_ids
sequencelengths 4
1.4k
| edge_index
sequencelengths 1
2.22k
| text
sequencelengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
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,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
2,
13,
17,
2,
18,
13,
13,
17,
0,
13,
2,
2,
13,
17,
18,
13,
17,
4,
18,
18,
13,
13,
13,
0,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
31,
36
],
[
14,
37
],
[
37,
38
],
[
37,
39
],
[
14,
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
],
[
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
],
[
71,
72
],
[
71,
73
],
[
67,
74
],
[
74,
75
],
[
74,
76
],
[
67,
77
],
[
77,
78
],
[
78,
79
],
[
67,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
85,
85
],
[
85,
86
],
[
85,
87
],
[
85,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
14,
93
],
[
93,
94
],
[
93,
95
],
[
96,
96
],
[
96,
97
],
[
96,
98
],
[
96,
99
],
[
99,
100
],
[
99,
101
],
[
14,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
14,
108
],
[
108,
109
],
[
108,
110
],
[
12,
111
],
[
111,
112
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String kosu=br.readLine();\n int nako=Integer.parseInt(kosu);\n String strArr[] = br.readLine().split(\" \");\n int[] a=new int[nako];\n\n for(int j=0; j<nako; j++){\n a[j]=Integer.parseInt(strArr[j]);\n }\n\n String aa=\"\";\n for(int i=nako-1; i>=1; i--){\n aa=aa+\"\"+(a[i]+\" \");\n }aa=aa+\"\"+a[0];\n\n System.out.println(aa);\n aa=\"\";\n\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",
"class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String kosu=br.readLine();\n int nako=Integer.parseInt(kosu);\n String strArr[] = br.readLine().split(\" \");\n int[] a=new int[nako];\n\n for(int j=0; j<nako; j++){\n a[j]=Integer.parseInt(strArr[j]);\n }\n\n String aa=\"\";\n for(int i=nako-1; i>=1; i--){\n aa=aa+\"\"+(a[i]+\" \");\n }aa=aa+\"\"+a[0];\n\n System.out.println(aa);\n aa=\"\";\n\n\n\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String kosu=br.readLine();\n int nako=Integer.parseInt(kosu);\n String strArr[] = br.readLine().split(\" \");\n int[] a=new int[nako];\n\n for(int j=0; j<nako; j++){\n a[j]=Integer.parseInt(strArr[j]);\n }\n\n String aa=\"\";\n for(int i=nako-1; i>=1; i--){\n aa=aa+\"\"+(a[i]+\" \");\n }aa=aa+\"\"+a[0];\n\n System.out.println(aa);\n aa=\"\";\n\n\n\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String kosu=br.readLine();\n int nako=Integer.parseInt(kosu);\n String strArr[] = br.readLine().split(\" \");\n int[] a=new int[nako];\n\n for(int j=0; j<nako; j++){\n a[j]=Integer.parseInt(strArr[j]);\n }\n\n String aa=\"\";\n for(int i=nako-1; i>=1; i--){\n aa=aa+\"\"+(a[i]+\" \");\n }aa=aa+\"\"+a[0];\n\n System.out.println(aa);\n aa=\"\";\n\n\n\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String kosu=br.readLine();",
"kosu",
"br.readLine()",
"br.readLine",
"br",
"int nako=Integer.parseInt(kosu);",
"nako",
"Integer.parseInt(kosu)",
"Integer.parseInt",
"Integer",
"kosu",
"String strArr[] = br.readLine().split(\" \");",
"strArr",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int[] a=new int[nako];",
"a",
"new int[nako]",
"nako",
"for(int j=0; j<nako; j++){\n a[j]=Integer.parseInt(strArr[j]);\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<nako",
"j",
"nako",
"j++",
"j++",
"j",
"{\n a[j]=Integer.parseInt(strArr[j]);\n }",
"{\n a[j]=Integer.parseInt(strArr[j]);\n }",
"a[j]=Integer.parseInt(strArr[j])",
"a[j]",
"a",
"j",
"Integer.parseInt(strArr[j])",
"Integer.parseInt",
"Integer",
"strArr[j]",
"strArr",
"j",
"String aa=\"\";",
"aa",
"\"\"",
"for(int i=nako-1; i>=1; i--){\n aa=aa+\"\"+(a[i]+\" \");\n }",
"int i=nako-1;",
"int i=nako-1;",
"i",
"nako-1",
"nako",
"1",
"i>=1",
"i",
"1",
"i--",
"i--",
"i",
"{\n aa=aa+\"\"+(a[i]+\" \");\n }",
"{\n aa=aa+\"\"+(a[i]+\" \");\n }",
"aa=aa+\"\"+(a[i]+\" \")",
"aa",
"aa+\"\"+(a[i]+\" \")",
"aa+\"\"+(a[i]+\" \")",
"aa",
"\"\"",
"(a[i]+\" \")",
"a[i]",
"a",
"i",
"\" \"",
"aa=aa+\"\"+a[0]",
"aa",
"aa+\"\"+a[0]",
"aa+\"\"+a[0]",
"aa",
"\"\"",
"a[0]",
"a",
"0",
"System.out.println(aa)",
"System.out.println",
"System.out",
"System",
"System.out",
"aa",
"aa=\"\"",
"aa",
"\"\"",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String kosu=br.readLine();
int nako=Integer.parseInt(kosu);
String strArr[] = br.readLine().split(" ");
int[] a=new int[nako];
for(int j=0; j<nako; j++){
a[j]=Integer.parseInt(strArr[j]);
}
String aa="";
for(int i=nako-1; i>=1; i--){
aa=aa+""+(a[i]+" ");
}aa=aa+""+a[0];
System.out.println(aa);
aa="";
}
} |
[
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,
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
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
31,
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
],
[
52,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
14,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
14,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
68,
69
],
[
68,
70
],
[
14,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
12,
77
],
[
77,
78
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\n\nclass Main {\n public static void main(String args[]) 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.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"class Main {\n public static void main(String args[]) 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.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
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,
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,
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,
41,
13,
4,
18,
13,
18,
13,
13,
4,
18,
13,
13,
14,
2,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
84,
11
],
[
84,
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
],
[
30,
31
],
[
31,
32
],
[
28,
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
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
60,
62
],
[
54,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
54,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
14,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
12,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString lineN = br.readLine();\n\t\tString[] lineA = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(lineN);\n \t\tfor(int i = n-1 ; i >= 0 ; i--){\n \tint a = Integer.parseInt(lineA[i]);\n\t\t\tsb.append(a);\n\t\t\tif(i != 0) sb.append(\" \");\n\t\t}\n\t\tSystem.out.println(sb);\n\t} \n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString lineN = br.readLine();\n\t\tString[] lineA = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(lineN);\n \t\tfor(int i = n-1 ; i >= 0 ; i--){\n \tint a = Integer.parseInt(lineA[i]);\n\t\t\tsb.append(a);\n\t\t\tif(i != 0) sb.append(\" \");\n\t\t}\n\t\tSystem.out.println(sb);\n\t} \n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString lineN = br.readLine();\n\t\tString[] lineA = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(lineN);\n \t\tfor(int i = n-1 ; i >= 0 ; i--){\n \tint a = Integer.parseInt(lineA[i]);\n\t\t\tsb.append(a);\n\t\t\tif(i != 0) sb.append(\" \");\n\t\t}\n\t\tSystem.out.println(sb);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString lineN = br.readLine();\n\t\tString[] lineA = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(lineN);\n \t\tfor(int i = n-1 ; i >= 0 ; i--){\n \tint a = Integer.parseInt(lineA[i]);\n\t\t\tsb.append(a);\n\t\t\tif(i != 0) sb.append(\" \");\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))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"String lineN = br.readLine();",
"lineN",
"br.readLine()",
"br.readLine",
"br",
"String[] lineA = br.readLine().split(\" \");",
"lineA",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int n = Integer.parseInt(lineN);",
"n",
"Integer.parseInt(lineN)",
"Integer.parseInt",
"Integer",
"lineN",
"for(int i = n-1 ; i >= 0 ; i--){\n \tint a = Integer.parseInt(lineA[i]);\n\t\t\tsb.append(a);\n\t\t\tif(i != 0) sb.append(\" \");\n\t\t}",
"int i = n-1 ;",
"int i = n-1 ;",
"i",
"n-1",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n \tint a = Integer.parseInt(lineA[i]);\n\t\t\tsb.append(a);\n\t\t\tif(i != 0) sb.append(\" \");\n\t\t}",
"{\n \tint a = Integer.parseInt(lineA[i]);\n\t\t\tsb.append(a);\n\t\t\tif(i != 0) sb.append(\" \");\n\t\t}",
"int a = Integer.parseInt(lineA[i]);",
"a",
"Integer.parseInt(lineA[i])",
"Integer.parseInt",
"Integer",
"lineA[i]",
"lineA",
"i",
"sb.append(a)",
"sb.append",
"sb",
"a",
"if(i != 0) sb.append(\" \");",
"i != 0",
"i",
"0",
"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 IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString lineN = br.readLine();\n\t\tString[] lineA = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(lineN);\n \t\tfor(int i = n-1 ; i >= 0 ; i--){\n \tint a = Integer.parseInt(lineA[i]);\n\t\t\tsb.append(a);\n\t\t\tif(i != 0) sb.append(\" \");\n\t\t}\n\t\tSystem.out.println(sb);\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\tStringBuilder sb = new StringBuilder();\n\t\tString lineN = br.readLine();\n\t\tString[] lineA = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(lineN);\n \t\tfor(int i = n-1 ; i >= 0 ; i--){\n \tint a = Integer.parseInt(lineA[i]);\n\t\t\tsb.append(a);\n\t\t\tif(i != 0) sb.append(\" \");\n\t\t}\n\t\tSystem.out.println(sb);\n\t} \n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
String lineN = br.readLine();
String[] lineA = br.readLine().split(" ");
int n = Integer.parseInt(lineN);
for(int i = n-1 ; i >= 0 ; i--){
int a = Integer.parseInt(lineA[i]);
sb.append(a);
if(i != 0) 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,
0,
13,
20,
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,
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,
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
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
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
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
47,
56
],
[
56,
57
],
[
56,
58
],
[
47,
59
],
[
59,
60
],
[
60,
61
],
[
47,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
64,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
8,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
6,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
] | [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n int[] foo;\n foo = new int[n];\n int T[] = new int[n];\n\n for(int i=0;i<n;i++){\n T[i] = sc.nextInt();\n }\n\n\n for(int i=T.length-1;i>=0;i--){\n if(i == 0){\n System.out.print(T[i]);\n }else{\n System.out.print(T[i]+\" \");\n }\n }\n System.out.println(\"\");\n }\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 int n = sc.nextInt();\n\n int[] foo;\n foo = new int[n];\n int T[] = new int[n];\n\n for(int i=0;i<n;i++){\n T[i] = sc.nextInt();\n }\n\n\n for(int i=T.length-1;i>=0;i--){\n if(i == 0){\n System.out.print(T[i]);\n }else{\n System.out.print(T[i]+\" \");\n }\n }\n System.out.println(\"\");\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n int[] foo;\n foo = new int[n];\n int T[] = new int[n];\n\n for(int i=0;i<n;i++){\n T[i] = sc.nextInt();\n }\n\n\n for(int i=T.length-1;i>=0;i--){\n if(i == 0){\n System.out.print(T[i]);\n }else{\n System.out.print(T[i]+\" \");\n }\n }\n System.out.println(\"\");\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n int[] foo;\n foo = new int[n];\n int T[] = new int[n];\n\n for(int i=0;i<n;i++){\n T[i] = sc.nextInt();\n }\n\n\n for(int i=T.length-1;i>=0;i--){\n if(i == 0){\n System.out.print(T[i]);\n }else{\n System.out.print(T[i]+\" \");\n }\n }\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[] foo;",
"foo",
"foo = new int[n]",
"foo",
"new int[n]",
"n",
"int T[] = new int[n];",
"T",
"new int[n]",
"n",
"for(int i=0;i<n;i++){\n T[i] = sc.nextInt();\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n T[i] = sc.nextInt();\n }",
"{\n T[i] = sc.nextInt();\n }",
"T[i] = sc.nextInt()",
"T[i]",
"T",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i=T.length-1;i>=0;i--){\n if(i == 0){\n System.out.print(T[i]);\n }else{\n System.out.print(T[i]+\" \");\n }\n }",
"int i=T.length-1;",
"int i=T.length-1;",
"i",
"T.length-1",
"T.length",
"T",
"T.length",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n if(i == 0){\n System.out.print(T[i]);\n }else{\n System.out.print(T[i]+\" \");\n }\n }",
"{\n if(i == 0){\n System.out.print(T[i]);\n }else{\n System.out.print(T[i]+\" \");\n }\n }",
"if(i == 0){\n System.out.print(T[i]);\n }else{\n System.out.print(T[i]+\" \");\n }",
"i == 0",
"i",
"0",
"{\n System.out.print(T[i]);\n }",
"System.out.print(T[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"T[i]",
"T",
"i",
"{\n System.out.print(T[i]+\" \");\n }",
"System.out.print(T[i]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"T[i]+\" \"",
"T[i]",
"T",
"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\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n int[] foo;\n foo = new int[n];\n int T[] = new int[n];\n\n for(int i=0;i<n;i++){\n T[i] = sc.nextInt();\n }\n\n\n for(int i=T.length-1;i>=0;i--){\n if(i == 0){\n System.out.print(T[i]);\n }else{\n System.out.print(T[i]+\" \");\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 int n = sc.nextInt();\n\n int[] foo;\n foo = new int[n];\n int T[] = new int[n];\n\n for(int i=0;i<n;i++){\n T[i] = sc.nextInt();\n }\n\n\n for(int i=T.length-1;i>=0;i--){\n if(i == 0){\n System.out.print(T[i]);\n }else{\n System.out.print(T[i]+\" \");\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);
int n = sc.nextInt();
int[] foo;
foo = new int[n];
int T[] = new int[n];
for(int i=0;i<n;i++){
T[i] = sc.nextInt();
}
for(int i=T.length-1;i>=0;i--){
if(i == 0){
System.out.print(T[i]);
}else{
System.out.print(T[i]+" ");
}
}
System.out.println("");
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
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,
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,
2,
4,
18,
4,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
106,
14
],
[
106,
15
],
[
15,
16
],
[
106,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
19,
28
],
[
28,
29
],
[
28,
30
],
[
19,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
19,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
19,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
54,
64
],
[
64,
65
],
[
65,
66
],
[
54,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
72,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
83,
90
],
[
69,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
17,
103
],
[
103,
104
],
[
0,
105
],
[
105,
106
],
[
105,
107
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n\n int n = scan.nextInt();\n List<Integer> list = new ArrayList<Integer>();\n for (int i = 0; i < n; i++) {\n list.add(scan.nextInt());\n }\n Collections.reverse(list);\n for (int i = 0; i < list.size(); i++) {\n if (i < list.size() - 1) {\n System.out.print(list.get(i).toString() + \" \");\n } else {\n System.out.println(list.get(i).toString());\n }\n }\n }\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 private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n\n int n = scan.nextInt();\n List<Integer> list = new ArrayList<Integer>();\n for (int i = 0; i < n; i++) {\n list.add(scan.nextInt());\n }\n Collections.reverse(list);\n for (int i = 0; i < list.size(); i++) {\n if (i < list.size() - 1) {\n System.out.print(list.get(i).toString() + \" \");\n } else {\n System.out.println(list.get(i).toString());\n }\n }\n }\n}",
"Main",
"private static Scanner scan;",
"scan",
"public static void main(String[] args) {\n scan = new Scanner(System.in);\n\n int n = scan.nextInt();\n List<Integer> list = new ArrayList<Integer>();\n for (int i = 0; i < n; i++) {\n list.add(scan.nextInt());\n }\n Collections.reverse(list);\n for (int i = 0; i < list.size(); i++) {\n if (i < list.size() - 1) {\n System.out.print(list.get(i).toString() + \" \");\n } else {\n System.out.println(list.get(i).toString());\n }\n }\n }",
"main",
"{\n scan = new Scanner(System.in);\n\n int n = scan.nextInt();\n List<Integer> list = new ArrayList<Integer>();\n for (int i = 0; i < n; i++) {\n list.add(scan.nextInt());\n }\n Collections.reverse(list);\n for (int i = 0; i < list.size(); i++) {\n if (i < list.size() - 1) {\n System.out.print(list.get(i).toString() + \" \");\n } else {\n System.out.println(list.get(i).toString());\n }\n }\n }",
"scan = new Scanner(System.in)",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"for (int i = 0; i < n; i++) {\n list.add(scan.nextInt());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n list.add(scan.nextInt());\n }",
"{\n list.add(scan.nextInt());\n }",
"list.add(scan.nextInt())",
"list.add",
"list",
"scan.nextInt()",
"scan.nextInt",
"scan",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"for (int i = 0; i < list.size(); i++) {\n if (i < list.size() - 1) {\n System.out.print(list.get(i).toString() + \" \");\n } else {\n System.out.println(list.get(i).toString());\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n if (i < list.size() - 1) {\n System.out.print(list.get(i).toString() + \" \");\n } else {\n System.out.println(list.get(i).toString());\n }\n }",
"{\n if (i < list.size() - 1) {\n System.out.print(list.get(i).toString() + \" \");\n } else {\n System.out.println(list.get(i).toString());\n }\n }",
"if (i < list.size() - 1) {\n System.out.print(list.get(i).toString() + \" \");\n } else {\n System.out.println(list.get(i).toString());\n }",
"i < list.size() - 1",
"i",
"list.size() - 1",
"list.size()",
"list.size",
"list",
"1",
"{\n System.out.print(list.get(i).toString() + \" \");\n }",
"System.out.print(list.get(i).toString() + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"list.get(i).toString() + \" \"",
"list.get(i).toString()",
"list.get(i).toString",
"list.get(i)",
"list.get",
"list",
"i",
"\" \"",
"{\n System.out.println(list.get(i).toString());\n }",
"System.out.println(list.get(i).toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(i).toString()",
"list.get(i).toString",
"list.get(i)",
"list.get",
"list",
"i",
"String[] args",
"args",
"public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n\n int n = scan.nextInt();\n List<Integer> list = new ArrayList<Integer>();\n for (int i = 0; i < n; i++) {\n list.add(scan.nextInt());\n }\n Collections.reverse(list);\n for (int i = 0; i < list.size(); i++) {\n if (i < list.size() - 1) {\n System.out.print(list.get(i).toString() + \" \");\n } else {\n System.out.println(list.get(i).toString());\n }\n }\n }\n}",
"public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n\n int n = scan.nextInt();\n List<Integer> list = new ArrayList<Integer>();\n for (int i = 0; i < n; i++) {\n list.add(scan.nextInt());\n }\n Collections.reverse(list);\n for (int i = 0; i < list.size(); i++) {\n if (i < list.size() - 1) {\n System.out.print(list.get(i).toString() + \" \");\n } else {\n System.out.println(list.get(i).toString());\n }\n }\n }\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
public class Main {
private static Scanner scan;
public static void main(String[] args) {
scan = new Scanner(System.in);
int n = scan.nextInt();
List<Integer> list = new ArrayList<Integer>();
for (int i = 0; i < n; i++) {
list.add(scan.nextInt());
}
Collections.reverse(list);
for (int i = 0; i < list.size(); i++) {
if (i < list.size() - 1) {
System.out.print(list.get(i).toString() + " ");
} else {
System.out.println(list.get(i).toString());
}
}
}
} |
[
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,
13,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
2,
13,
17,
4,
18,
13,
13,
14,
2,
13,
17,
30,
3,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
93,
11
],
[
93,
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
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
55,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
55,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
55,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
14,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
14,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
12,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] | [
"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 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; i >= 1; i--){\n\n int x = Integer.parseInt(strArray[i-1]);\n output.append(x);\n\n if(i == 1){\n break;\n }\n output.append(\" \");\n }\n output.append(\"\\n\");\n System.out.print(output);\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 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; i >= 1; i--){\n\n int x = Integer.parseInt(strArray[i-1]);\n output.append(x);\n\n if(i == 1){\n break;\n }\n output.append(\" \");\n }\n output.append(\"\\n\");\n System.out.print(output);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\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; i >= 1; i--){\n\n int x = Integer.parseInt(strArray[i-1]);\n output.append(x);\n\n if(i == 1){\n break;\n }\n output.append(\" \");\n }\n output.append(\"\\n\");\n System.out.print(output);\n }",
"main",
"{\n\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; i >= 1; i--){\n\n int x = Integer.parseInt(strArray[i-1]);\n output.append(x);\n\n if(i == 1){\n break;\n }\n output.append(\" \");\n }\n output.append(\"\\n\");\n System.out.print(output);\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; i >= 1; i--){\n\n int x = Integer.parseInt(strArray[i-1]);\n output.append(x);\n\n if(i == 1){\n break;\n }\n output.append(\" \");\n }",
"int i = n;",
"int i = n;",
"i",
"n",
"i >= 1",
"i",
"1",
"i--",
"i--",
"i",
"{\n\n int x = Integer.parseInt(strArray[i-1]);\n output.append(x);\n\n if(i == 1){\n break;\n }\n output.append(\" \");\n }",
"{\n\n int x = Integer.parseInt(strArray[i-1]);\n output.append(x);\n\n if(i == 1){\n break;\n }\n output.append(\" \");\n }",
"int x = Integer.parseInt(strArray[i-1]);",
"x",
"Integer.parseInt(strArray[i-1])",
"Integer.parseInt",
"Integer",
"strArray[i-1]",
"strArray",
"i-1",
"i",
"1",
"output.append(x)",
"output.append",
"output",
"x",
"if(i == 1){\n break;\n }",
"i == 1",
"i",
"1",
"{\n break;\n }",
"break;",
"output.append(\" \")",
"output.append",
"output",
"\" \"",
"output.append(\"\\n\")",
"output.append",
"output",
"\"\\n\"",
"System.out.print(output)",
"System.out.print",
"System.out",
"System",
"System.out",
"output",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\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; i >= 1; i--){\n\n int x = Integer.parseInt(strArray[i-1]);\n output.append(x);\n\n if(i == 1){\n break;\n }\n output.append(\" \");\n }\n output.append(\"\\n\");\n System.out.print(output);\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\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; i >= 1; i--){\n\n int x = Integer.parseInt(strArray[i-1]);\n output.append(x);\n\n if(i == 1){\n break;\n }\n output.append(\" \");\n }\n output.append(\"\\n\");\n System.out.print(output);\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; i >= 1; i--){
int x = Integer.parseInt(strArray[i-1]);
output.append(x);
if(i == 1){
break;
}
output.append(" ");
}
output.append("\n");
System.out.print(output);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
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,
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
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
120,
20
],
[
120,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
37,
42
],
[
23,
43
],
[
43,
44
],
[
43,
45
],
[
23,
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
],
[
59,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
65,
67
],
[
23,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
23,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
72,
82
],
[
82,
83
],
[
83,
84
],
[
72,
85
],
[
86,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
90,
94
],
[
87,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
87,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
111,
116
],
[
21,
117
],
[
117,
118
],
[
0,
119
],
[
119,
120
],
[
119,
121
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint length = Integer.parseInt(br.readLine());\n\t\tString[] inputNum = br.readLine().split(\" \");\n\t\tList<Integer> numArray = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < length; i++) {\n\t\t\tnumArray.add(Integer.parseInt(inputNum[i]));\n\t\t}\n\t\tCollections.reverse(numArray);\n\t\tfor (int i = 0; i < numArray.size(); i++) {\n\t\t\tif (i == numArray.size()-1) {\n\t\t\t\tSystem.out.println(numArray.get(i));\n\t\t\t}else {\n\t\t\t\tSystem.out.print(numArray.get(i) + \" \");\n\t\t\t}\n\t\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint length = Integer.parseInt(br.readLine());\n\t\tString[] inputNum = br.readLine().split(\" \");\n\t\tList<Integer> numArray = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < length; i++) {\n\t\t\tnumArray.add(Integer.parseInt(inputNum[i]));\n\t\t}\n\t\tCollections.reverse(numArray);\n\t\tfor (int i = 0; i < numArray.size(); i++) {\n\t\t\tif (i == numArray.size()-1) {\n\t\t\t\tSystem.out.println(numArray.get(i));\n\t\t\t}else {\n\t\t\t\tSystem.out.print(numArray.get(i) + \" \");\n\t\t\t}\n\t\t}\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\tint length = Integer.parseInt(br.readLine());\n\t\tString[] inputNum = br.readLine().split(\" \");\n\t\tList<Integer> numArray = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < length; i++) {\n\t\t\tnumArray.add(Integer.parseInt(inputNum[i]));\n\t\t}\n\t\tCollections.reverse(numArray);\n\t\tfor (int i = 0; i < numArray.size(); i++) {\n\t\t\tif (i == numArray.size()-1) {\n\t\t\t\tSystem.out.println(numArray.get(i));\n\t\t\t}else {\n\t\t\t\tSystem.out.print(numArray.get(i) + \" \");\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint length = Integer.parseInt(br.readLine());\n\t\tString[] inputNum = br.readLine().split(\" \");\n\t\tList<Integer> numArray = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < length; i++) {\n\t\t\tnumArray.add(Integer.parseInt(inputNum[i]));\n\t\t}\n\t\tCollections.reverse(numArray);\n\t\tfor (int i = 0; i < numArray.size(); i++) {\n\t\t\tif (i == numArray.size()-1) {\n\t\t\t\tSystem.out.println(numArray.get(i));\n\t\t\t}else {\n\t\t\t\tSystem.out.print(numArray.get(i) + \" \");\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 length = Integer.parseInt(br.readLine());",
"length",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"String[] inputNum = br.readLine().split(\" \");",
"inputNum",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"List<Integer> numArray = new ArrayList<Integer>();",
"numArray",
"new ArrayList<Integer>()",
"for (int i = 0; i < length; i++) {\n\t\t\tnumArray.add(Integer.parseInt(inputNum[i]));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < length",
"i",
"length",
"i++",
"i++",
"i",
"{\n\t\t\tnumArray.add(Integer.parseInt(inputNum[i]));\n\t\t}",
"{\n\t\t\tnumArray.add(Integer.parseInt(inputNum[i]));\n\t\t}",
"numArray.add(Integer.parseInt(inputNum[i]))",
"numArray.add",
"numArray",
"Integer.parseInt(inputNum[i])",
"Integer.parseInt",
"Integer",
"inputNum[i]",
"inputNum",
"i",
"Collections.reverse(numArray)",
"Collections.reverse",
"Collections",
"numArray",
"for (int i = 0; i < numArray.size(); i++) {\n\t\t\tif (i == numArray.size()-1) {\n\t\t\t\tSystem.out.println(numArray.get(i));\n\t\t\t}else {\n\t\t\t\tSystem.out.print(numArray.get(i) + \" \");\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < numArray.size()",
"i",
"numArray.size()",
"numArray.size",
"numArray",
"i++",
"i++",
"i",
"{\n\t\t\tif (i == numArray.size()-1) {\n\t\t\t\tSystem.out.println(numArray.get(i));\n\t\t\t}else {\n\t\t\t\tSystem.out.print(numArray.get(i) + \" \");\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (i == numArray.size()-1) {\n\t\t\t\tSystem.out.println(numArray.get(i));\n\t\t\t}else {\n\t\t\t\tSystem.out.print(numArray.get(i) + \" \");\n\t\t\t}\n\t\t}",
"if (i == numArray.size()-1) {\n\t\t\t\tSystem.out.println(numArray.get(i));\n\t\t\t}else {\n\t\t\t\tSystem.out.print(numArray.get(i) + \" \");\n\t\t\t}",
"i == numArray.size()-1",
"i",
"numArray.size()-1",
"numArray.size()",
"numArray.size",
"numArray",
"1",
"{\n\t\t\t\tSystem.out.println(numArray.get(i));\n\t\t\t}",
"System.out.println(numArray.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"numArray.get(i)",
"numArray.get",
"numArray",
"i",
"{\n\t\t\t\tSystem.out.print(numArray.get(i) + \" \");\n\t\t\t}",
"System.out.print(numArray.get(i) + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"numArray.get(i) + \" \"",
"numArray.get(i)",
"numArray.get",
"numArray",
"i",
"\" \"",
"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\tint length = Integer.parseInt(br.readLine());\n\t\tString[] inputNum = br.readLine().split(\" \");\n\t\tList<Integer> numArray = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < length; i++) {\n\t\t\tnumArray.add(Integer.parseInt(inputNum[i]));\n\t\t}\n\t\tCollections.reverse(numArray);\n\t\tfor (int i = 0; i < numArray.size(); i++) {\n\t\t\tif (i == numArray.size()-1) {\n\t\t\t\tSystem.out.println(numArray.get(i));\n\t\t\t}else {\n\t\t\t\tSystem.out.print(numArray.get(i) + \" \");\n\t\t\t}\n\t\t}\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\tint length = Integer.parseInt(br.readLine());\n\t\tString[] inputNum = br.readLine().split(\" \");\n\t\tList<Integer> numArray = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < length; i++) {\n\t\t\tnumArray.add(Integer.parseInt(inputNum[i]));\n\t\t}\n\t\tCollections.reverse(numArray);\n\t\tfor (int i = 0; i < numArray.size(); i++) {\n\t\t\tif (i == numArray.size()-1) {\n\t\t\t\tSystem.out.println(numArray.get(i));\n\t\t\t}else {\n\t\t\t\tSystem.out.print(numArray.get(i) + \" \");\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int length = Integer.parseInt(br.readLine());
String[] inputNum = br.readLine().split(" ");
List<Integer> numArray = new ArrayList<Integer>();
for (int i = 0; i < length; i++) {
numArray.add(Integer.parseInt(inputNum[i]));
}
Collections.reverse(numArray);
for (int i = 0; i < numArray.size(); i++) {
if (i == numArray.size()-1) {
System.out.println(numArray.get(i));
}else {
System.out.print(numArray.get(i) + " ");
}
}
}
} |
[
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,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
17,
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
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
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
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
52,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
71,
71
],
[
71,
72
],
[
71,
73
],
[
71,
74
],
[
8,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\t//読み込み\n\t\tint a[] = new int[n];\n\t\tfor(int i=0;i<n;i++)\n\t\t\t//格納 \n\t\t\ta[i] = sc.nextInt();\n\t\t \n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t//正順\n\t\t\t//System.out.print(\" aは\"+a[i]);\n\t\t\t//間の空白\n\t\t\tif(i!=0)System.out.print(\" \");\n\t\t\t//逆順\n\t\t\tSystem.out.print(a[n-i-1]);\n\t\t}\n\t\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\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\t//読み込み\n\t\tint a[] = new int[n];\n\t\tfor(int i=0;i<n;i++)\n\t\t\t//格納 \n\t\t\ta[i] = sc.nextInt();\n\t\t \n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t//正順\n\t\t\t//System.out.print(\" aは\"+a[i]);\n\t\t\t//間の空白\n\t\t\tif(i!=0)System.out.print(\" \");\n\t\t\t//逆順\n\t\t\tSystem.out.print(a[n-i-1]);\n\t\t}\n\t\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\t\tint n = sc.nextInt();\n\t\t//読み込み\n\t\tint a[] = new int[n];\n\t\tfor(int i=0;i<n;i++)\n\t\t\t//格納 \n\t\t\ta[i] = sc.nextInt();\n\t\t \n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t//正順\n\t\t\t//System.out.print(\" aは\"+a[i]);\n\t\t\t//間の空白\n\t\t\tif(i!=0)System.out.print(\" \");\n\t\t\t//逆順\n\t\t\tSystem.out.print(a[n-i-1]);\n\t\t}\n\t\t\t\n\t\tSystem.out.println(\"\");\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\t//読み込み\n\t\tint a[] = new int[n];\n\t\tfor(int i=0;i<n;i++)\n\t\t\t//格納 \n\t\t\ta[i] = sc.nextInt();\n\t\t \n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t//正順\n\t\t\t//System.out.print(\" aは\"+a[i]);\n\t\t\t//間の空白\n\t\t\tif(i!=0)System.out.print(\" \");\n\t\t\t//逆順\n\t\t\tSystem.out.print(a[n-i-1]);\n\t\t}\n\t\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 a[] = new int[n];",
"a",
"new int[n]",
"n",
"for(int i=0;i<n;i++)\n\t\t\t//格納 \n\t\t\ta[i] = sc.nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = sc.nextInt();",
"a[i] = sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i=0;i<n;i++){\n\t\t\t//正順\n\t\t\t//System.out.print(\" aは\"+a[i]);\n\t\t\t//間の空白\n\t\t\tif(i!=0)System.out.print(\" \");\n\t\t\t//逆順\n\t\t\tSystem.out.print(a[n-i-1]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t//正順\n\t\t\t//System.out.print(\" aは\"+a[i]);\n\t\t\t//間の空白\n\t\t\tif(i!=0)System.out.print(\" \");\n\t\t\t//逆順\n\t\t\tSystem.out.print(a[n-i-1]);\n\t\t}",
"{\n\t\t\t//正順\n\t\t\t//System.out.print(\" aは\"+a[i]);\n\t\t\t//間の空白\n\t\t\tif(i!=0)System.out.print(\" \");\n\t\t\t//逆順\n\t\t\tSystem.out.print(a[n-i-1]);\n\t\t}",
"if(i!=0)System.out.print(\" \");",
"i!=0",
"i",
"0",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.print(a[n-i-1])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[n-i-1]",
"a",
"n-i-1",
"n-i-1",
"n",
"i",
"1",
"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 sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\t//読み込み\n\t\tint a[] = new int[n];\n\t\tfor(int i=0;i<n;i++)\n\t\t\t//格納 \n\t\t\ta[i] = sc.nextInt();\n\t\t \n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t//正順\n\t\t\t//System.out.print(\" aは\"+a[i]);\n\t\t\t//間の空白\n\t\t\tif(i!=0)System.out.print(\" \");\n\t\t\t//逆順\n\t\t\tSystem.out.print(a[n-i-1]);\n\t\t}\n\t\t\t\n\t\tSystem.out.println(\"\");\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\t//読み込み\n\t\tint a[] = new int[n];\n\t\tfor(int i=0;i<n;i++)\n\t\t\t//格納 \n\t\t\ta[i] = sc.nextInt();\n\t\t \n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t//正順\n\t\t\t//System.out.print(\" aは\"+a[i]);\n\t\t\t//間の空白\n\t\t\tif(i!=0)System.out.print(\" \");\n\t\t\t//逆順\n\t\t\tSystem.out.print(a[n-i-1]);\n\t\t}\n\t\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);
int n = sc.nextInt();
//読み込み
int a[] = new int[n];
for(int i=0;i<n;i++)
//格納
a[i] = sc.nextInt();
for(int i=0;i<n;i++){
//正順
//System.out.print(" aは"+a[i]);
//間の空白
if(i!=0)System.out.print(" ");
//逆順
System.out.print(a[n-i-1]);
}
System.out.println("");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
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,
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
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
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
],
[
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
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=n;\n\t\tint[] num = new int[n];\n\t\tfor (int a=0;a<x;a++){\n\t\t\tn=sc.nextInt();\n\t\t\tnum[a]=n;\n\t\t}\n\t\tfor (int b=x-1;b>0;b--){\n\t\t\tSystem.out.print(num[b]+\" \");\n\t\t}\n\t\tSystem.out.println(num[0]);\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 sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=n;\n\t\tint[] num = new int[n];\n\t\tfor (int a=0;a<x;a++){\n\t\t\tn=sc.nextInt();\n\t\t\tnum[a]=n;\n\t\t}\n\t\tfor (int b=x-1;b>0;b--){\n\t\t\tSystem.out.print(num[b]+\" \");\n\t\t}\n\t\tSystem.out.println(num[0]);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=n;\n\t\tint[] num = new int[n];\n\t\tfor (int a=0;a<x;a++){\n\t\t\tn=sc.nextInt();\n\t\t\tnum[a]=n;\n\t\t}\n\t\tfor (int b=x-1;b>0;b--){\n\t\t\tSystem.out.print(num[b]+\" \");\n\t\t}\n\t\tSystem.out.println(num[0]);\n\t}",
"main",
"{\n\t\t\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=n;\n\t\tint[] num = new int[n];\n\t\tfor (int a=0;a<x;a++){\n\t\t\tn=sc.nextInt();\n\t\t\tnum[a]=n;\n\t\t}\n\t\tfor (int b=x-1;b>0;b--){\n\t\t\tSystem.out.print(num[b]+\" \");\n\t\t}\n\t\tSystem.out.println(num[0]);\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=n;",
"x",
"n",
"int[] num = new int[n];",
"num",
"new int[n]",
"n",
"for (int a=0;a<x;a++){\n\t\t\tn=sc.nextInt();\n\t\t\tnum[a]=n;\n\t\t}",
"int a=0;",
"int a=0;",
"a",
"0",
"a<x",
"a",
"x",
"a++",
"a++",
"a",
"{\n\t\t\tn=sc.nextInt();\n\t\t\tnum[a]=n;\n\t\t}",
"{\n\t\t\tn=sc.nextInt();\n\t\t\tnum[a]=n;\n\t\t}",
"n=sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"num[a]=n",
"num[a]",
"num",
"a",
"n",
"for (int b=x-1;b>0;b--){\n\t\t\tSystem.out.print(num[b]+\" \");\n\t\t}",
"int b=x-1;",
"int b=x-1;",
"b",
"x-1",
"x",
"1",
"b>0",
"b",
"0",
"b--",
"b--",
"b",
"{\n\t\t\tSystem.out.print(num[b]+\" \");\n\t\t}",
"{\n\t\t\tSystem.out.print(num[b]+\" \");\n\t\t}",
"System.out.print(num[b]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"num[b]+\" \"",
"num[b]",
"num",
"b",
"\" \"",
"System.out.println(num[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"num[0]",
"num",
"0",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=n;\n\t\tint[] num = new int[n];\n\t\tfor (int a=0;a<x;a++){\n\t\t\tn=sc.nextInt();\n\t\t\tnum[a]=n;\n\t\t}\n\t\tfor (int b=x-1;b>0;b--){\n\t\t\tSystem.out.print(num[b]+\" \");\n\t\t}\n\t\tSystem.out.println(num[0]);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint x=n;\n\t\tint[] num = new int[n];\n\t\tfor (int a=0;a<x;a++){\n\t\t\tn=sc.nextInt();\n\t\t\tnum[a]=n;\n\t\t}\n\t\tfor (int b=x-1;b>0;b--){\n\t\t\tSystem.out.print(num[b]+\" \");\n\t\t}\n\t\tSystem.out.println(num[0]);\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 x=n;
int[] num = new int[n];
for (int a=0;a<x;a++){
n=sc.nextInt();
num[a]=n;
}
for (int b=x-1;b>0;b--){
System.out.print(num[b]+" ");
}
System.out.println(num[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,
17,
13,
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,
12,
13,
30,
4,
18,
20,
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
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
8,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
88,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
79,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tvoid run(){\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; 0 <= i; i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif(i != 0) System.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n\tpublic static void main(String[] args) {\n\t\t/* \n\t\t * Main x;\n\t\t * x = new Main();\n\t\t * x.run();\n\t\t * ??¨????????????\n\t\t */\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tvoid run(){\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; 0 <= i; i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif(i != 0) System.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n\tpublic static void main(String[] args) {\n\t\t/* \n\t\t * Main x;\n\t\t * x = new Main();\n\t\t * x.run();\n\t\t * ??¨????????????\n\t\t */\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"Main",
"void run(){\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; 0 <= i; i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif(i != 0) System.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}",
"run",
"{\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; 0 <= i; i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif(i != 0) System.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\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; 0 <= i; i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif(i != 0) System.out.print(\" \");\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(a[i]);\n\t\t\tif(i != 0) System.out.print(\" \");\n\t\t}",
"{\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif(i != 0) System.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) System.out.print(\" \");",
"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",
"public static void main(String[] args) {\n\t\t/* \n\t\t * Main x;\n\t\t * x = new Main();\n\t\t * x.run();\n\t\t * ??¨????????????\n\t\t */\n\t\tnew Main().run();\n\t\t\n\t}",
"main",
"{\n\t\t/* \n\t\t * Main x;\n\t\t * x = new Main();\n\t\t * x.run();\n\t\t * ??¨????????????\n\t\t */\n\t\tnew Main().run();\n\t\t\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tvoid run(){\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; 0 <= i; i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif(i != 0) System.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n\tpublic static void main(String[] args) {\n\t\t/* \n\t\t * Main x;\n\t\t * x = new Main();\n\t\t * x.run();\n\t\t * ??¨????????????\n\t\t */\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"public class Main {\n\tvoid run(){\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; 0 <= i; i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif(i != 0) System.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n\tpublic static void main(String[] args) {\n\t\t/* \n\t\t * Main x;\n\t\t * x = new Main();\n\t\t * x.run();\n\t\t * ??¨????????????\n\t\t */\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
void run(){
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; 0 <= i; i--){
System.out.print(a[i]);
if(i != 0) System.out.print(" ");
}
System.out.println();
}
public static void main(String[] args) {
/*
* Main x;
* x = new Main();
* x.run();
* ??¨????????????
*/
new Main().run();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
5,
13,
30,
4,
18,
13,
30,
0,
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,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
2,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
93,
11
],
[
93,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
21,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
21,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
34,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
34,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
34,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
57,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
75,
81
],
[
34,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
12,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString x = \"\";\n\t\ttry {\n\t\t\tx = in.readLine();\n\t\t\tint num = Integer.parseInt(x);\n\t\t\t\n\t\t\tx = in.readLine();\n\t\t\tString[] num_s = x.split(\" \");\n\t\t\t\n\t\t\tfor (int i = 1; i < num; i++) {\n\t\t\t\tSystem.out.print(num_s[num - i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(num_s[0]);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\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\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString x = \"\";\n\t\ttry {\n\t\t\tx = in.readLine();\n\t\t\tint num = Integer.parseInt(x);\n\t\t\t\n\t\t\tx = in.readLine();\n\t\t\tString[] num_s = x.split(\" \");\n\t\t\t\n\t\t\tfor (int i = 1; i < num; i++) {\n\t\t\t\tSystem.out.print(num_s[num - i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(num_s[0]);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString x = \"\";\n\t\ttry {\n\t\t\tx = in.readLine();\n\t\t\tint num = Integer.parseInt(x);\n\t\t\t\n\t\t\tx = in.readLine();\n\t\t\tString[] num_s = x.split(\" \");\n\t\t\t\n\t\t\tfor (int i = 1; i < num; i++) {\n\t\t\t\tSystem.out.print(num_s[num - i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(num_s[0]);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString x = \"\";\n\t\ttry {\n\t\t\tx = in.readLine();\n\t\t\tint num = Integer.parseInt(x);\n\t\t\t\n\t\t\tx = in.readLine();\n\t\t\tString[] num_s = x.split(\" \");\n\t\t\t\n\t\t\tfor (int i = 1; i < num; i++) {\n\t\t\t\tSystem.out.print(num_s[num - i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(num_s[0]);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"String x = \"\";",
"x",
"\"\"",
"try {\n\t\t\tx = in.readLine();\n\t\t\tint num = Integer.parseInt(x);\n\t\t\t\n\t\t\tx = in.readLine();\n\t\t\tString[] num_s = x.split(\" \");\n\t\t\t\n\t\t\tfor (int i = 1; i < num; i++) {\n\t\t\t\tSystem.out.print(num_s[num - i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(num_s[0]);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"NumberFormatException e",
"{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tx = in.readLine();\n\t\t\tint num = Integer.parseInt(x);\n\t\t\t\n\t\t\tx = in.readLine();\n\t\t\tString[] num_s = x.split(\" \");\n\t\t\t\n\t\t\tfor (int i = 1; i < num; i++) {\n\t\t\t\tSystem.out.print(num_s[num - i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(num_s[0]);\n\t\t}",
"x = in.readLine()",
"x",
"in.readLine()",
"in.readLine",
"in",
"int num = Integer.parseInt(x);",
"num",
"Integer.parseInt(x)",
"Integer.parseInt",
"Integer",
"x",
"x = in.readLine()",
"x",
"in.readLine()",
"in.readLine",
"in",
"String[] num_s = x.split(\" \");",
"num_s",
"x.split(\" \")",
"x.split",
"x",
"\" \"",
"for (int i = 1; i < num; i++) {\n\t\t\t\tSystem.out.print(num_s[num - i] + \" \");\n\t\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < num",
"i",
"num",
"i++",
"i++",
"i",
"{\n\t\t\t\tSystem.out.print(num_s[num - i] + \" \");\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print(num_s[num - i] + \" \");\n\t\t\t}",
"System.out.print(num_s[num - i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"num_s[num - i] + \" \"",
"num_s[num - i]",
"num_s",
"num - i",
"num",
"i",
"\" \"",
"System.out.println(num_s[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"num_s[0]",
"num_s",
"0",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString x = \"\";\n\t\ttry {\n\t\t\tx = in.readLine();\n\t\t\tint num = Integer.parseInt(x);\n\t\t\t\n\t\t\tx = in.readLine();\n\t\t\tString[] num_s = x.split(\" \");\n\t\t\t\n\t\t\tfor (int i = 1; i < num; i++) {\n\t\t\t\tSystem.out.print(num_s[num - i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(num_s[0]);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString x = \"\";\n\t\ttry {\n\t\t\tx = in.readLine();\n\t\t\tint num = Integer.parseInt(x);\n\t\t\t\n\t\t\tx = in.readLine();\n\t\t\tString[] num_s = x.split(\" \");\n\t\t\t\n\t\t\tfor (int i = 1; i < num; i++) {\n\t\t\t\tSystem.out.print(num_s[num - i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(num_s[0]);\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\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 in = new BufferedReader(new InputStreamReader(System.in));
String x = "";
try {
x = in.readLine();
int num = Integer.parseInt(x);
x = in.readLine();
String[] num_s = x.split(" ");
for (int i = 1; i < num; i++) {
System.out.print(num_s[num - i] + " ");
}
System.out.println(num_s[0]);
} catch (NumberFormatException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
} |
[
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,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
2,
4,
18,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
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
],
[
44,
46
],
[
11,
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
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
11,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
74,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
78,
82
],
[
11,
83
],
[
83,
84
],
[
84,
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\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\n\t\tString str = \"\";\n\n\t\tfor (int i = n-1; i >= 0; i--) {\n\t\t\tstr += a[i] + \" \";\n\t\t}\n\n\t\tSystem.out.println(str.substring(0, str.length()-1));\n\t\tscan.close();\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\t\tScanner scan = new Scanner(System.in);\t\t\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\n\t\tString str = \"\";\n\n\t\tfor (int i = n-1; i >= 0; i--) {\n\t\t\tstr += a[i] + \" \";\n\t\t}\n\n\t\tSystem.out.println(str.substring(0, str.length()-1));\n\t\tscan.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\n\t\tString str = \"\";\n\n\t\tfor (int i = n-1; i >= 0; i--) {\n\t\t\tstr += a[i] + \" \";\n\t\t}\n\n\t\tSystem.out.println(str.substring(0, str.length()-1));\n\t\tscan.close();\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\t\t\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\n\t\tString str = \"\";\n\n\t\tfor (int i = n-1; i >= 0; i--) {\n\t\t\tstr += a[i] + \" \";\n\t\t}\n\n\t\tSystem.out.println(str.substring(0, str.length()-1));\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",
"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",
"String str = \"\";",
"str",
"\"\"",
"for (int i = n-1; i >= 0; i--) {\n\t\t\tstr += 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\tstr += a[i] + \" \";\n\t\t}",
"{\n\t\t\tstr += a[i] + \" \";\n\t\t}",
"str += a[i] + \" \"",
"str",
"a[i] + \" \"",
"a[i]",
"a",
"i",
"\" \"",
"System.out.println(str.substring(0, str.length()-1))",
"System.out.println",
"System.out",
"System",
"System.out",
"str.substring(0, str.length()-1)",
"str.substring",
"str",
"0",
"str.length()-1",
"str.length()",
"str.length",
"str",
"1",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\n\t\tString str = \"\";\n\n\t\tfor (int i = n-1; i >= 0; i--) {\n\t\t\tstr += a[i] + \" \";\n\t\t}\n\n\t\tSystem.out.println(str.substring(0, str.length()-1));\n\t\tscan.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\n\t\tString str = \"\";\n\n\t\tfor (int i = n-1; i >= 0; i--) {\n\t\t\tstr += a[i] + \" \";\n\t\t}\n\n\t\tSystem.out.println(str.substring(0, str.length()-1));\n\t\tscan.close();\n\t}\n\n}",
"Main"
] | import java.util.Arrays;
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];
for (int i = 0; i < n; i++) {
a[i] = scan.nextInt();
}
String str = "";
for (int i = n-1; i >= 0; i--) {
str += a[i] + " ";
}
System.out.println(str.substring(0, str.length()-1));
scan.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
4,
18,
13,
0,
13,
20,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
13,
11,
1,
0,
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,
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
],
[
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
],
[
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
],
[
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
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
62,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
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\npublic class Main {\n\tpublic static void main(String [] args){\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint one[];\n\t\tint i;\n\t\t\n\t\tint a = scan.nextInt();\n\t\tone = new int[a];\n\t\t\n\t\tfor(i=0; i<a; i++){\n\t\t\tint num = scan.nextInt();\n\t\t\tone[i] = num;\n\t\t}\n\n\t\tfor(i=a-1; i>=0; i--){\n\t\t\tSystem.out.print(one[i]);\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\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\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint one[];\n\t\tint i;\n\t\t\n\t\tint a = scan.nextInt();\n\t\tone = new int[a];\n\t\t\n\t\tfor(i=0; i<a; i++){\n\t\t\tint num = scan.nextInt();\n\t\t\tone[i] = num;\n\t\t}\n\n\t\tfor(i=a-1; i>=0; i--){\n\t\t\tSystem.out.print(one[i]);\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\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\t\n\t\tint one[];\n\t\tint i;\n\t\t\n\t\tint a = scan.nextInt();\n\t\tone = new int[a];\n\t\t\n\t\tfor(i=0; i<a; i++){\n\t\t\tint num = scan.nextInt();\n\t\t\tone[i] = num;\n\t\t}\n\n\t\tfor(i=a-1; i>=0; i--){\n\t\t\tSystem.out.print(one[i]);\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t\t\n\t}",
"main",
"{\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint one[];\n\t\tint i;\n\t\t\n\t\tint a = scan.nextInt();\n\t\tone = new int[a];\n\t\t\n\t\tfor(i=0; i<a; i++){\n\t\t\tint num = scan.nextInt();\n\t\t\tone[i] = num;\n\t\t}\n\n\t\tfor(i=a-1; i>=0; i--){\n\t\t\tSystem.out.print(one[i]);\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int one[];",
"one",
"int i;",
"i",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"one = new int[a]",
"one",
"new int[a]",
"a",
"for(i=0; i<a; i++){\n\t\t\tint num = scan.nextInt();\n\t\t\tone[i] = num;\n\t\t}",
"i=0;",
"i=0",
"i",
"0",
"i<a",
"i",
"a",
"i++",
"i++",
"i",
"{\n\t\t\tint num = scan.nextInt();\n\t\t\tone[i] = num;\n\t\t}",
"{\n\t\t\tint num = scan.nextInt();\n\t\t\tone[i] = num;\n\t\t}",
"int num = scan.nextInt();",
"num",
"scan.nextInt()",
"scan.nextInt",
"scan",
"one[i] = num",
"one[i]",
"one",
"i",
"num",
"for(i=a-1; i>=0; i--){\n\t\t\tSystem.out.print(one[i]);\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"i=a-1;",
"i=a-1",
"i",
"a-1",
"a",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(one[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(one[i]);\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"System.out.print(one[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"one[i]",
"one",
"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",
"public class Main {\n\tpublic static void main(String [] args){\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint one[];\n\t\tint i;\n\t\t\n\t\tint a = scan.nextInt();\n\t\tone = new int[a];\n\t\t\n\t\tfor(i=0; i<a; i++){\n\t\t\tint num = scan.nextInt();\n\t\t\tone[i] = num;\n\t\t}\n\n\t\tfor(i=a-1; i>=0; i--){\n\t\t\tSystem.out.print(one[i]);\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String [] args){\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint one[];\n\t\tint i;\n\t\t\n\t\tint a = scan.nextInt();\n\t\tone = new int[a];\n\t\t\n\t\tfor(i=0; i<a; i++){\n\t\t\tint num = scan.nextInt();\n\t\t\tone[i] = num;\n\t\t}\n\n\t\tfor(i=a-1; i>=0; i--){\n\t\t\tSystem.out.print(one[i]);\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\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 one[];
int i;
int a = scan.nextInt();
one = new int[a];
for(i=0; i<a; i++){
int num = scan.nextInt();
one[i] = num;
}
for(i=a-1; i>=0; i--){
System.out.print(one[i]);
if(i != 0){
System.out.print(" ");
}
}
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,
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
],
[
86,
8
],
[
86,
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
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
59,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
9,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint []a = new int[n];\n\t\tfor(int b = 0; b<n ; ++b){\n\t\t\ta[b]=sc.nextInt();\n\t\t}\n\t\tfor(int b=n-1 ; b>=0 ; --b){\n\t\t\tif(b!=0){\n\t\t\t\tSystem.out.print(a[b]+\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a[b]);\n\t\t\t}\n\t\t}\n\t}\n\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 Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint []a = new int[n];\n\t\tfor(int b = 0; b<n ; ++b){\n\t\t\ta[b]=sc.nextInt();\n\t\t}\n\t\tfor(int b=n-1 ; b>=0 ; --b){\n\t\t\tif(b!=0){\n\t\t\t\tSystem.out.print(a[b]+\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a[b]);\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint []a = new int[n];\n\t\tfor(int b = 0; b<n ; ++b){\n\t\t\ta[b]=sc.nextInt();\n\t\t}\n\t\tfor(int b=n-1 ; b>=0 ; --b){\n\t\t\tif(b!=0){\n\t\t\t\tSystem.out.print(a[b]+\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a[b]);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint []a = new int[n];\n\t\tfor(int b = 0; b<n ; ++b){\n\t\t\ta[b]=sc.nextInt();\n\t\t}\n\t\tfor(int b=n-1 ; b>=0 ; --b){\n\t\t\tif(b!=0){\n\t\t\t\tSystem.out.print(a[b]+\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a[b]);\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 []a = new int[n];",
"a",
"new int[n]",
"n",
"for(int b = 0; b<n ; ++b){\n\t\t\ta[b]=sc.nextInt();\n\t\t}",
"int b = 0;",
"int b = 0;",
"b",
"0",
"b<n",
"b",
"n",
"++b",
"++b",
"b",
"{\n\t\t\ta[b]=sc.nextInt();\n\t\t}",
"{\n\t\t\ta[b]=sc.nextInt();\n\t\t}",
"a[b]=sc.nextInt()",
"a[b]",
"a",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int b=n-1 ; b>=0 ; --b){\n\t\t\tif(b!=0){\n\t\t\t\tSystem.out.print(a[b]+\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a[b]);\n\t\t\t}\n\t\t}",
"int b=n-1 ;",
"int b=n-1 ;",
"b",
"n-1",
"n",
"1",
"b>=0",
"b",
"0",
"--b",
"--b",
"b",
"{\n\t\t\tif(b!=0){\n\t\t\t\tSystem.out.print(a[b]+\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a[b]);\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(b!=0){\n\t\t\t\tSystem.out.print(a[b]+\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a[b]);\n\t\t\t}\n\t\t}",
"if(b!=0){\n\t\t\t\tSystem.out.print(a[b]+\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a[b]);\n\t\t\t}",
"b!=0",
"b",
"0",
"{\n\t\t\t\tSystem.out.print(a[b]+\" \");\n\t\t\t}",
"System.out.print(a[b]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"a[b]+\" \"",
"a[b]",
"a",
"b",
"\" \"",
"{\n\t\t\t\tSystem.out.println(a[b]);\n\t\t\t}",
"System.out.println(a[b])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[b]",
"a",
"b",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint []a = new int[n];\n\t\tfor(int b = 0; b<n ; ++b){\n\t\t\ta[b]=sc.nextInt();\n\t\t}\n\t\tfor(int b=n-1 ; b>=0 ; --b){\n\t\t\tif(b!=0){\n\t\t\t\tSystem.out.print(a[b]+\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a[b]);\n\t\t\t}\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint []a = new int[n];\n\t\tfor(int b = 0; b<n ; ++b){\n\t\t\ta[b]=sc.nextInt();\n\t\t}\n\t\tfor(int b=n-1 ; b>=0 ; --b){\n\t\t\tif(b!=0){\n\t\t\t\tSystem.out.print(a[b]+\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a[b]);\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int []a = new int[n];
for(int b = 0; b<n ; ++b){
a[b]=sc.nextInt();
}
for(int b=n-1 ; b>=0 ; --b){
if(b!=0){
System.out.print(a[b]+" ");
}else{
System.out.println(a[b]);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
13,
40,
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,
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
] | [
[
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
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
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
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
8,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
6,
84
],
[
84,
85
]
] | [
"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 if(n>100){\n System.exit(-1);\n }\n int[] list = new int[n];\n for(int i=0; i<n; i++){\n list[i] = sc.nextInt();\n }\n for(int i=n-1; i>0; i--){\n System.out.print(list[i] + \" \");\n }\n System.out.println(list[0]);\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 if(n>100){\n System.exit(-1);\n }\n int[] list = new int[n];\n for(int i=0; i<n; i++){\n list[i] = sc.nextInt();\n }\n for(int i=n-1; i>0; i--){\n System.out.print(list[i] + \" \");\n }\n System.out.println(list[0]);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n if(n>100){\n System.exit(-1);\n }\n int[] list = new int[n];\n for(int i=0; i<n; i++){\n list[i] = sc.nextInt();\n }\n for(int i=n-1; i>0; i--){\n System.out.print(list[i] + \" \");\n }\n System.out.println(list[0]);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n if(n>100){\n System.exit(-1);\n }\n int[] list = new int[n];\n for(int i=0; i<n; i++){\n list[i] = sc.nextInt();\n }\n for(int i=n-1; i>0; i--){\n System.out.print(list[i] + \" \");\n }\n System.out.println(list[0]);\n }",
"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 System.exit(-1);\n }",
"n>100",
"n",
"100",
"{\n System.exit(-1);\n }",
"System.exit(-1)",
"System.exit",
"System",
"-1",
"1",
"int[] list = new int[n];",
"list",
"new int[n]",
"n",
"for(int i=0; i<n; i++){\n list[i] = sc.nextInt();\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n list[i] = sc.nextInt();\n }",
"{\n list[i] = sc.nextInt();\n }",
"list[i] = sc.nextInt()",
"list[i]",
"list",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i=n-1; i>0; i--){\n System.out.print(list[i] + \" \");\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[i] + \" \");\n }",
"{\n System.out.print(list[i] + \" \");\n }",
"System.out.print(list[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"list[i] + \" \"",
"list[i]",
"list",
"i",
"\" \"",
"System.out.println(list[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"list[0]",
"list",
"0",
"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();
if(n>100){
System.exit(-1);
}
int[] list = new int[n];
for(int i=0; i<n; i++){
list[i] = sc.nextInt();
}
for(int i=n-1; i>0; i--){
System.out.print(list[i] + " ");
}
System.out.println(list[0]);
}
} |
[
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,
14,
2,
13,
17,
4,
18,
13,
2,
18,
13,
13,
17,
14,
2,
13,
17,
4,
18,
13,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
46,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
65,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
6,
74
],
[
74,
75
]
] | [
"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 if (i > 0)\n sb.append(str[i] + \" \");\n else if (i == 0)\n sb.append(str[i]); \n }\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 if (i > 0)\n sb.append(str[i] + \" \");\n else if (i == 0)\n sb.append(str[i]); \n }\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 if (i > 0)\n sb.append(str[i] + \" \");\n else if (i == 0)\n sb.append(str[i]); \n }\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 if (i > 0)\n sb.append(str[i] + \" \");\n else if (i == 0)\n sb.append(str[i]); \n }\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 if (i > 0)\n sb.append(str[i] + \" \");\n else if (i == 0)\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 if (i > 0)\n sb.append(str[i] + \" \");\n else if (i == 0)\n sb.append(str[i]); \n }",
"{\n if (i > 0)\n sb.append(str[i] + \" \");\n else if (i == 0)\n sb.append(str[i]); \n }",
"if (i > 0)\n sb.append(str[i] + \" \");\n else if (i == 0)\n sb.append(str[i]);",
"i > 0",
"i",
"0",
"sb.append(str[i] + \" \")",
"sb.append",
"sb",
"str[i] + \" \"",
"str[i]",
"str",
"i",
"\" \"",
"if (i == 0)\n sb.append(str[i]);",
"i == 0",
"i",
"0",
"sb.append(str[i])",
"sb.append",
"sb",
"str[i]",
"str",
"i",
"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--){
if (i > 0)
sb.append(str[i] + " ");
else if (i == 0)
sb.append(str[i]);
}
System.out.println(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
0,
13,
20,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
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,
17,
18,
13,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
93,
5
],
[
93,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
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
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
46,
53
],
[
53,
54
],
[
53,
55
],
[
46,
56
],
[
56,
57
],
[
57,
58
],
[
46,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
61,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
75,
81
],
[
81,
82
],
[
81,
83
],
[
74,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
6,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] | [
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int array_length = sc.nextInt();\n int[] array_to_reverse;\n array_to_reverse = new int[array_length];\n int tmp=0;\n for (int i=0; i < array_length; i++) {\n array_to_reverse[i] = sc.nextInt();\n }\n for (int k=array_length-1; k >= 0; k--) {\n if (k == 0) {\n System.out.println(array_to_reverse[k]);\n } else {\n System.out.printf(\"%d\", array_to_reverse[k]);\n System.out.printf(\" \");\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 array_length = sc.nextInt();\n int[] array_to_reverse;\n array_to_reverse = new int[array_length];\n int tmp=0;\n for (int i=0; i < array_length; i++) {\n array_to_reverse[i] = sc.nextInt();\n }\n for (int k=array_length-1; k >= 0; k--) {\n if (k == 0) {\n System.out.println(array_to_reverse[k]);\n } else {\n System.out.printf(\"%d\", array_to_reverse[k]);\n System.out.printf(\" \");\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int array_length = sc.nextInt();\n int[] array_to_reverse;\n array_to_reverse = new int[array_length];\n int tmp=0;\n for (int i=0; i < array_length; i++) {\n array_to_reverse[i] = sc.nextInt();\n }\n for (int k=array_length-1; k >= 0; k--) {\n if (k == 0) {\n System.out.println(array_to_reverse[k]);\n } else {\n System.out.printf(\"%d\", array_to_reverse[k]);\n System.out.printf(\" \");\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int array_length = sc.nextInt();\n int[] array_to_reverse;\n array_to_reverse = new int[array_length];\n int tmp=0;\n for (int i=0; i < array_length; i++) {\n array_to_reverse[i] = sc.nextInt();\n }\n for (int k=array_length-1; k >= 0; k--) {\n if (k == 0) {\n System.out.println(array_to_reverse[k]);\n } else {\n System.out.printf(\"%d\", array_to_reverse[k]);\n System.out.printf(\" \");\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int array_length = sc.nextInt();",
"array_length",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[] array_to_reverse;",
"array_to_reverse",
"array_to_reverse = new int[array_length]",
"array_to_reverse",
"new int[array_length]",
"array_length",
"int tmp=0;",
"tmp",
"0",
"for (int i=0; i < array_length; i++) {\n array_to_reverse[i] = sc.nextInt();\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i < array_length",
"i",
"array_length",
"i++",
"i++",
"i",
"{\n array_to_reverse[i] = sc.nextInt();\n }",
"{\n array_to_reverse[i] = sc.nextInt();\n }",
"array_to_reverse[i] = sc.nextInt()",
"array_to_reverse[i]",
"array_to_reverse",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int k=array_length-1; k >= 0; k--) {\n if (k == 0) {\n System.out.println(array_to_reverse[k]);\n } else {\n System.out.printf(\"%d\", array_to_reverse[k]);\n System.out.printf(\" \");\n }\n }",
"int k=array_length-1;",
"int k=array_length-1;",
"k",
"array_length-1",
"array_length",
"1",
"k >= 0",
"k",
"0",
"k--",
"k--",
"k",
"{\n if (k == 0) {\n System.out.println(array_to_reverse[k]);\n } else {\n System.out.printf(\"%d\", array_to_reverse[k]);\n System.out.printf(\" \");\n }\n }",
"{\n if (k == 0) {\n System.out.println(array_to_reverse[k]);\n } else {\n System.out.printf(\"%d\", array_to_reverse[k]);\n System.out.printf(\" \");\n }\n }",
"if (k == 0) {\n System.out.println(array_to_reverse[k]);\n } else {\n System.out.printf(\"%d\", array_to_reverse[k]);\n System.out.printf(\" \");\n }",
"k == 0",
"k",
"0",
"{\n System.out.println(array_to_reverse[k]);\n }",
"System.out.println(array_to_reverse[k])",
"System.out.println",
"System.out",
"System",
"System.out",
"array_to_reverse[k]",
"array_to_reverse",
"k",
"{\n System.out.printf(\"%d\", array_to_reverse[k]);\n System.out.printf(\" \");\n }",
"System.out.printf(\"%d\", array_to_reverse[k])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\"",
"array_to_reverse[k]",
"array_to_reverse",
"k",
"System.out.printf(\" \")",
"System.out.printf",
"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 array_length = sc.nextInt();\n int[] array_to_reverse;\n array_to_reverse = new int[array_length];\n int tmp=0;\n for (int i=0; i < array_length; i++) {\n array_to_reverse[i] = sc.nextInt();\n }\n for (int k=array_length-1; k >= 0; k--) {\n if (k == 0) {\n System.out.println(array_to_reverse[k]);\n } else {\n System.out.printf(\"%d\", array_to_reverse[k]);\n System.out.printf(\" \");\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int array_length = sc.nextInt();\n int[] array_to_reverse;\n array_to_reverse = new int[array_length];\n int tmp=0;\n for (int i=0; i < array_length; i++) {\n array_to_reverse[i] = sc.nextInt();\n }\n for (int k=array_length-1; k >= 0; k--) {\n if (k == 0) {\n System.out.println(array_to_reverse[k]);\n } else {\n System.out.printf(\"%d\", array_to_reverse[k]);\n System.out.printf(\" \");\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 array_length = sc.nextInt();
int[] array_to_reverse;
array_to_reverse = new int[array_length];
int tmp=0;
for (int i=0; i < array_length; i++) {
array_to_reverse[i] = sc.nextInt();
}
for (int k=array_length-1; k >= 0; k--) {
if (k == 0) {
System.out.println(array_to_reverse[k]);
} else {
System.out.printf("%d", array_to_reverse[k]);
System.out.printf(" ");
}
}
}
}
|
[
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{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint count = scan.nextInt();\n\t\tint array[] = new int[count];\n\t\tfor(int i = 0;i< count;i++)\n\t\t{\n\t\t\tarray[i] = scan.nextInt();\n\t\t}\n\t\tfor(int i = count - 1;i > 0;i--)\n\t\t{\n\t\t\tSystem.out.print(array[i] + \" \");\n\t\t}\n\t\tSystem.out.println(array[0]);\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 scan = new Scanner(System.in);\n\t\tint count = scan.nextInt();\n\t\tint array[] = new int[count];\n\t\tfor(int i = 0;i< count;i++)\n\t\t{\n\t\t\tarray[i] = scan.nextInt();\n\t\t}\n\t\tfor(int i = count - 1;i > 0;i--)\n\t\t{\n\t\t\tSystem.out.print(array[i] + \" \");\n\t\t}\n\t\tSystem.out.println(array[0]);\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint count = scan.nextInt();\n\t\tint array[] = new int[count];\n\t\tfor(int i = 0;i< count;i++)\n\t\t{\n\t\t\tarray[i] = scan.nextInt();\n\t\t}\n\t\tfor(int i = count - 1;i > 0;i--)\n\t\t{\n\t\t\tSystem.out.print(array[i] + \" \");\n\t\t}\n\t\tSystem.out.println(array[0]);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint count = scan.nextInt();\n\t\tint array[] = new int[count];\n\t\tfor(int i = 0;i< count;i++)\n\t\t{\n\t\t\tarray[i] = scan.nextInt();\n\t\t}\n\t\tfor(int i = count - 1;i > 0;i--)\n\t\t{\n\t\t\tSystem.out.print(array[i] + \" \");\n\t\t}\n\t\tSystem.out.println(array[0]);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int count = scan.nextInt();",
"count",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int array[] = new int[count];",
"array",
"new int[count]",
"count",
"for(int i = 0;i< count;i++)\n\t\t{\n\t\t\tarray[i] = scan.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i< count",
"i",
"count",
"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 i = count - 1;i > 0;i--)\n\t\t{\n\t\t\tSystem.out.print(array[i] + \" \");\n\t\t}",
"int i = count - 1;",
"int i = count - 1;",
"i",
"count - 1",
"count",
"1",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(array[i] + \" \");\n\t\t}",
"{\n\t\t\tSystem.out.print(array[i] + \" \");\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\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint count = scan.nextInt();\n\t\tint array[] = new int[count];\n\t\tfor(int i = 0;i< count;i++)\n\t\t{\n\t\t\tarray[i] = scan.nextInt();\n\t\t}\n\t\tfor(int i = count - 1;i > 0;i--)\n\t\t{\n\t\t\tSystem.out.print(array[i] + \" \");\n\t\t}\n\t\tSystem.out.println(array[0]);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint count = scan.nextInt();\n\t\tint array[] = new int[count];\n\t\tfor(int i = 0;i< count;i++)\n\t\t{\n\t\t\tarray[i] = scan.nextInt();\n\t\t}\n\t\tfor(int i = count - 1;i > 0;i--)\n\t\t{\n\t\t\tSystem.out.print(array[i] + \" \");\n\t\t}\n\t\tSystem.out.println(array[0]);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
int count = scan.nextInt();
int array[] = new int[count];
for(int i = 0;i< count;i++)
{
array[i] = scan.nextInt();
}
for(int i = count - 1;i > 0;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,
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,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
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
],
[
71,
5
],
[
71,
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
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
42,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
42,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.io.*;\n\npublic class Main\n{\n\tpublic static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\t\n\t\tint num = Integer.parseInt(br.readLine());\n\t\tString[] arr = br.readLine().split(\" \");\n\t\tfor(int i = num-1; i>=0; i--)\n\t\t{\n\t\t\tSystem.out.print(arr[i]);\n\t\t\tif(i==0)\tbreak;\n\t\t\tSystem.out.print(\" \");\t\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n\tpublic static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\t\n\t\tint num = Integer.parseInt(br.readLine());\n\t\tString[] arr = br.readLine().split(\" \");\n\t\tfor(int i = num-1; i>=0; i--)\n\t\t{\n\t\t\tSystem.out.print(arr[i]);\n\t\t\tif(i==0)\tbreak;\n\t\t\tSystem.out.print(\" \");\t\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\t\n\t\tint num = Integer.parseInt(br.readLine());\n\t\tString[] arr = br.readLine().split(\" \");\n\t\tfor(int i = num-1; i>=0; i--)\n\t\t{\n\t\t\tSystem.out.print(arr[i]);\n\t\t\tif(i==0)\tbreak;\n\t\t\tSystem.out.print(\" \");\t\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\t\n\t\tint num = Integer.parseInt(br.readLine());\n\t\tString[] arr = br.readLine().split(\" \");\n\t\tfor(int i = num-1; i>=0; i--)\n\t\t{\n\t\t\tSystem.out.print(arr[i]);\n\t\t\tif(i==0)\tbreak;\n\t\t\tSystem.out.print(\" \");\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 num = Integer.parseInt(br.readLine());",
"num",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"String[] arr = br.readLine().split(\" \");",
"arr",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for(int i = num-1; i>=0; i--)\n\t\t{\n\t\t\tSystem.out.print(arr[i]);\n\t\t\tif(i==0)\tbreak;\n\t\t\tSystem.out.print(\" \");\t\n\t\t}",
"int i = num-1;",
"int i = num-1;",
"i",
"num-1",
"num",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(arr[i]);\n\t\t\tif(i==0)\tbreak;\n\t\t\tSystem.out.print(\" \");\t\n\t\t}",
"{\n\t\t\tSystem.out.print(arr[i]);\n\t\t\tif(i==0)\tbreak;\n\t\t\tSystem.out.print(\" \");\t\n\t\t}",
"System.out.print(arr[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"arr[i]",
"arr",
"i",
"if(i==0)\tbreak;",
"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{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\t\n\t\tint num = Integer.parseInt(br.readLine());\n\t\tString[] arr = br.readLine().split(\" \");\n\t\tfor(int i = num-1; i>=0; i--)\n\t\t{\n\t\t\tSystem.out.print(arr[i]);\n\t\t\tif(i==0)\tbreak;\n\t\t\tSystem.out.print(\" \");\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\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\t\n\t\tint num = Integer.parseInt(br.readLine());\n\t\tString[] arr = br.readLine().split(\" \");\n\t\tfor(int i = num-1; i>=0; i--)\n\t\t{\n\t\t\tSystem.out.print(arr[i]);\n\t\t\tif(i==0)\tbreak;\n\t\t\tSystem.out.print(\" \");\t\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n}",
"Main"
] | import java.io.*;
public class Main
{
public static void main(String[] args)throws IOException
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int num = Integer.parseInt(br.readLine());
String[] arr = br.readLine().split(" ");
for(int i = num-1; i>=0; i--)
{
System.out.print(arr[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,
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,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
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,
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
],
[
97,
11
],
[
97,
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,
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
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
14,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
55,
59
],
[
51,
60
],
[
60,
61
],
[
60,
62
],
[
51,
63
],
[
63,
64
],
[
64,
65
],
[
51,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
73,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
68,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
84,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
12,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
] | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = Integer.parseInt(sc.next());\n\n List<Integer> a = new ArrayList<>();\n for (int i = 0; i < N; i++) {\n a.add(Integer.parseInt(sc.next()));\n }\n\n for (int i = a.size() - 1; i >= 0; i--) {\n if (i == 0) {\n System.out.printf(\"%d\\n\", a.get(i));\n } else {\n System.out.printf(\"%d \", a.get(i));\n }\n }\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 sc = new Scanner(System.in);\n\n int N = Integer.parseInt(sc.next());\n\n List<Integer> a = new ArrayList<>();\n for (int i = 0; i < N; i++) {\n a.add(Integer.parseInt(sc.next()));\n }\n\n for (int i = a.size() - 1; i >= 0; i--) {\n if (i == 0) {\n System.out.printf(\"%d\\n\", a.get(i));\n } else {\n System.out.printf(\"%d \", a.get(i));\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = Integer.parseInt(sc.next());\n\n List<Integer> a = new ArrayList<>();\n for (int i = 0; i < N; i++) {\n a.add(Integer.parseInt(sc.next()));\n }\n\n for (int i = a.size() - 1; i >= 0; i--) {\n if (i == 0) {\n System.out.printf(\"%d\\n\", a.get(i));\n } else {\n System.out.printf(\"%d \", a.get(i));\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n int N = Integer.parseInt(sc.next());\n\n List<Integer> a = new ArrayList<>();\n for (int i = 0; i < N; i++) {\n a.add(Integer.parseInt(sc.next()));\n }\n\n for (int i = a.size() - 1; i >= 0; i--) {\n if (i == 0) {\n System.out.printf(\"%d\\n\", a.get(i));\n } else {\n System.out.printf(\"%d \", a.get(i));\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = Integer.parseInt(sc.next());",
"N",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"List<Integer> a = new ArrayList<>();",
"a",
"new ArrayList<>()",
"for (int i = 0; i < N; i++) {\n a.add(Integer.parseInt(sc.next()));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n a.add(Integer.parseInt(sc.next()));\n }",
"{\n a.add(Integer.parseInt(sc.next()));\n }",
"a.add(Integer.parseInt(sc.next()))",
"a.add",
"a",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"for (int i = a.size() - 1; i >= 0; i--) {\n if (i == 0) {\n System.out.printf(\"%d\\n\", a.get(i));\n } else {\n System.out.printf(\"%d \", a.get(i));\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 if (i == 0) {\n System.out.printf(\"%d\\n\", a.get(i));\n } else {\n System.out.printf(\"%d \", a.get(i));\n }\n }",
"{\n if (i == 0) {\n System.out.printf(\"%d\\n\", a.get(i));\n } else {\n System.out.printf(\"%d \", a.get(i));\n }\n }",
"if (i == 0) {\n System.out.printf(\"%d\\n\", a.get(i));\n } else {\n System.out.printf(\"%d \", a.get(i));\n }",
"i == 0",
"i",
"0",
"{\n System.out.printf(\"%d\\n\", a.get(i));\n }",
"System.out.printf(\"%d\\n\", a.get(i))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\\n\"",
"a.get(i)",
"a.get",
"a",
"i",
"{\n System.out.printf(\"%d \", a.get(i));\n }",
"System.out.printf(\"%d \", a.get(i))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d \"",
"a.get(i)",
"a.get",
"a",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = Integer.parseInt(sc.next());\n\n List<Integer> a = new ArrayList<>();\n for (int i = 0; i < N; i++) {\n a.add(Integer.parseInt(sc.next()));\n }\n\n for (int i = a.size() - 1; i >= 0; i--) {\n if (i == 0) {\n System.out.printf(\"%d\\n\", a.get(i));\n } else {\n System.out.printf(\"%d \", a.get(i));\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 = Integer.parseInt(sc.next());\n\n List<Integer> a = new ArrayList<>();\n for (int i = 0; i < N; i++) {\n a.add(Integer.parseInt(sc.next()));\n }\n\n for (int i = a.size() - 1; i >= 0; i--) {\n if (i == 0) {\n System.out.printf(\"%d\\n\", a.get(i));\n } else {\n System.out.printf(\"%d \", a.get(i));\n }\n }\n }\n}",
"Main"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = Integer.parseInt(sc.next());
List<Integer> a = new ArrayList<>();
for (int i = 0; i < N; i++) {
a.add(Integer.parseInt(sc.next()));
}
for (int i = a.size() - 1; i >= 0; i--) {
if (i == 0) {
System.out.printf("%d\n", a.get(i));
} else {
System.out.printf("%d ", a.get(i));
}
}
}
} |
[
7,
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,
17,
13,
1,
40,
13,
30,
30,
4,
18,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
65,
2
],
[
65,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
9,
11
],
[
5,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
5,
17
],
[
17,
18
],
[
18,
19
],
[
5,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
22,
27
],
[
5,
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
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
5,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
3,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] | [
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint n = sc.nextInt();\n\t\tsc.nextLine();\n\t\tString[] data = sc.nextLine().split(\" \");\n\n\t\tfor ( int i = n-1; 1 <= i; i--) {\n//\t\t\tif (i==0) {\n//\t\t\t\tsb.append(data[i]);\n//\t\t\t\tbreak;\n//\t\t\t}\n\t\t\tsb.append(data[i] + \" \");\n\t\t}\n\n\t\tSystem.out.println( sb.append(data[0]) );\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint n = sc.nextInt();\n\t\tsc.nextLine();\n\t\tString[] data = sc.nextLine().split(\" \");\n\n\t\tfor ( int i = n-1; 1 <= i; i--) {\n//\t\t\tif (i==0) {\n//\t\t\t\tsb.append(data[i]);\n//\t\t\t\tbreak;\n//\t\t\t}\n\t\t\tsb.append(data[i] + \" \");\n\t\t}\n\n\t\tSystem.out.println( sb.append(data[0]) );\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint n = sc.nextInt();\n\t\tsc.nextLine();\n\t\tString[] data = sc.nextLine().split(\" \");\n\n\t\tfor ( int i = n-1; 1 <= i; i--) {\n//\t\t\tif (i==0) {\n//\t\t\t\tsb.append(data[i]);\n//\t\t\t\tbreak;\n//\t\t\t}\n\t\t\tsb.append(data[i] + \" \");\n\t\t}\n\n\t\tSystem.out.println( sb.append(data[0]) );\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint n = sc.nextInt();\n\t\tsc.nextLine();\n\t\tString[] data = sc.nextLine().split(\" \");\n\n\t\tfor ( int i = n-1; 1 <= i; i--) {\n//\t\t\tif (i==0) {\n//\t\t\t\tsb.append(data[i]);\n//\t\t\t\tbreak;\n//\t\t\t}\n\t\t\tsb.append(data[i] + \" \");\n\t\t}\n\n\t\tSystem.out.println( sb.append(data[0]) );\n\t}",
"java.util.Scanner sc = new java.util.Scanner(System.in);",
"sc",
"new java.util.Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] data = sc.nextLine().split(\" \");",
"data",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"for ( int i = n-1; 1 <= i; i--) {\n//\t\t\tif (i==0) {\n//\t\t\t\tsb.append(data[i]);\n//\t\t\t\tbreak;\n//\t\t\t}\n\t\t\tsb.append(data[i] + \" \");\n\t\t}",
"int i = n-1;",
"int i = n-1;",
"i",
"n-1",
"n",
"1",
"1 <= i",
"1",
"i",
"i--",
"i--",
"i",
"{\n//\t\t\tif (i==0) {\n//\t\t\t\tsb.append(data[i]);\n//\t\t\t\tbreak;\n//\t\t\t}\n\t\t\tsb.append(data[i] + \" \");\n\t\t}",
"{\n//\t\t\tif (i==0) {\n//\t\t\t\tsb.append(data[i]);\n//\t\t\t\tbreak;\n//\t\t\t}\n\t\t\tsb.append(data[i] + \" \");\n\t\t}",
"sb.append(data[i] + \" \")",
"sb.append",
"sb",
"data[i] + \" \"",
"data[i]",
"data",
"i",
"\" \"",
"System.out.println( sb.append(data[0]) )",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.append(data[0])",
"sb.append",
"sb",
"data[0]",
"data",
"0",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint n = sc.nextInt();\n\t\tsc.nextLine();\n\t\tString[] data = sc.nextLine().split(\" \");\n\n\t\tfor ( int i = n-1; 1 <= i; i--) {\n//\t\t\tif (i==0) {\n//\t\t\t\tsb.append(data[i]);\n//\t\t\t\tbreak;\n//\t\t\t}\n\t\t\tsb.append(data[i] + \" \");\n\t\t}\n\n\t\tSystem.out.println( sb.append(data[0]) );\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint n = sc.nextInt();\n\t\tsc.nextLine();\n\t\tString[] data = sc.nextLine().split(\" \");\n\n\t\tfor ( int i = n-1; 1 <= i; i--) {\n//\t\t\tif (i==0) {\n//\t\t\t\tsb.append(data[i]);\n//\t\t\t\tbreak;\n//\t\t\t}\n\t\t\tsb.append(data[i] + \" \");\n\t\t}\n\n\t\tSystem.out.println( sb.append(data[0]) );\n\t}\n\n}",
"Main"
] | public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
java.util.Scanner sc = new java.util.Scanner(System.in);
StringBuilder sb = new StringBuilder();
int n = sc.nextInt();
sc.nextLine();
String[] data = sc.nextLine().split(" ");
for ( int i = n-1; 1 <= i; i--) {
// if (i==0) {
// sb.append(data[i]);
// break;
// }
sb.append(data[i] + " ");
}
System.out.println( sb.append(data[0]) );
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
20,
41,
13,
20,
0,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
2,
13,
17,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
4,
18,
13,
20,
11,
1,
0,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
20,
4,
18,
18,
13,
13,
2,
4,
18,
13,
20,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
95,
8
],
[
95,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
11,
14
],
[
14,
15
],
[
11,
16
],
[
16,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
11,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
29,
39
],
[
39,
40
],
[
40,
41
],
[
29,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
53,
60
],
[
60,
61
],
[
60,
62
],
[
53,
63
],
[
63,
64
],
[
64,
65
],
[
53,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
68,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
86,
91
],
[
9,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
] | [
"\nimport java.util.Scanner;\nimport java.util.ArrayList;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint n, i, a;\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> su = new ArrayList<Integer>();\n\t\tn = sc.nextInt();\n\t\t\n\t\tfor(i = 0; n - 1 >= i; i++){\n\t\t\ta = sc.nextInt();\n\t\t\tsu.add(new Integer(a));\n\t\t}\n\t\t\n\t\tfor(i = n - 1; i >= 0; i--){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(su.get(new Integer(0)));\n\t\t\telse\n\t\t\t\tSystem.out.print(su.get(new Integer(i)) + \" \");\n\t\t}\t\t\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint n, i, a;\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> su = new ArrayList<Integer>();\n\t\tn = sc.nextInt();\n\t\t\n\t\tfor(i = 0; n - 1 >= i; i++){\n\t\t\ta = sc.nextInt();\n\t\t\tsu.add(new Integer(a));\n\t\t}\n\t\t\n\t\tfor(i = n - 1; i >= 0; i--){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(su.get(new Integer(0)));\n\t\t\telse\n\t\t\t\tSystem.out.print(su.get(new Integer(i)) + \" \");\n\t\t}\t\t\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tint n, i, a;\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> su = new ArrayList<Integer>();\n\t\tn = sc.nextInt();\n\t\t\n\t\tfor(i = 0; n - 1 >= i; i++){\n\t\t\ta = sc.nextInt();\n\t\t\tsu.add(new Integer(a));\n\t\t}\n\t\t\n\t\tfor(i = n - 1; i >= 0; i--){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(su.get(new Integer(0)));\n\t\t\telse\n\t\t\t\tSystem.out.print(su.get(new Integer(i)) + \" \");\n\t\t}\t\t\t\n\t}",
"main",
"{\n\t\tint n, i, a;\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> su = new ArrayList<Integer>();\n\t\tn = sc.nextInt();\n\t\t\n\t\tfor(i = 0; n - 1 >= i; i++){\n\t\t\ta = sc.nextInt();\n\t\t\tsu.add(new Integer(a));\n\t\t}\n\t\t\n\t\tfor(i = n - 1; i >= 0; i--){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(su.get(new Integer(0)));\n\t\t\telse\n\t\t\t\tSystem.out.print(su.get(new Integer(i)) + \" \");\n\t\t}\t\t\t\n\t}",
"int n",
"n",
"i",
"i",
"a;",
"a",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> su = new ArrayList<Integer>();",
"su",
"new ArrayList<Integer>()",
"n = sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(i = 0; n - 1 >= i; i++){\n\t\t\ta = sc.nextInt();\n\t\t\tsu.add(new Integer(a));\n\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"n - 1 >= i",
"n - 1",
"n",
"1",
"i",
"i++",
"i++",
"i",
"{\n\t\t\ta = sc.nextInt();\n\t\t\tsu.add(new Integer(a));\n\t\t}",
"{\n\t\t\ta = sc.nextInt();\n\t\t\tsu.add(new Integer(a));\n\t\t}",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"su.add(new Integer(a))",
"su.add",
"su",
"new Integer(a)",
"for(i = n - 1; i >= 0; i--){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(su.get(new Integer(0)));\n\t\t\telse\n\t\t\t\tSystem.out.print(su.get(new Integer(i)) + \" \");\n\t\t}",
"i = n - 1;",
"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(su.get(new Integer(0)));\n\t\t\telse\n\t\t\t\tSystem.out.print(su.get(new Integer(i)) + \" \");\n\t\t}",
"{\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(su.get(new Integer(0)));\n\t\t\telse\n\t\t\t\tSystem.out.print(su.get(new Integer(i)) + \" \");\n\t\t}",
"if(i == 0)\n\t\t\t\tSystem.out.println(su.get(new Integer(0)));\n\t\t\telse\n\t\t\t\tSystem.out.print(su.get(new Integer(i)) + \" \");",
"i == 0",
"i",
"0",
"System.out.println(su.get(new Integer(0)))",
"System.out.println",
"System.out",
"System",
"System.out",
"su.get(new Integer(0))",
"su.get",
"su",
"new Integer(0)",
"System.out.print(su.get(new Integer(i)) + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"su.get(new Integer(i)) + \" \"",
"su.get(new Integer(i))",
"su.get",
"su",
"new Integer(i)",
"\" \"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint n, i, a;\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> su = new ArrayList<Integer>();\n\t\tn = sc.nextInt();\n\t\t\n\t\tfor(i = 0; n - 1 >= i; i++){\n\t\t\ta = sc.nextInt();\n\t\t\tsu.add(new Integer(a));\n\t\t}\n\t\t\n\t\tfor(i = n - 1; i >= 0; i--){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(su.get(new Integer(0)));\n\t\t\telse\n\t\t\t\tSystem.out.print(su.get(new Integer(i)) + \" \");\n\t\t}\t\t\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint n, i, a;\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> su = new ArrayList<Integer>();\n\t\tn = sc.nextInt();\n\t\t\n\t\tfor(i = 0; n - 1 >= i; i++){\n\t\t\ta = sc.nextInt();\n\t\t\tsu.add(new Integer(a));\n\t\t}\n\t\t\n\t\tfor(i = n - 1; i >= 0; i--){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(su.get(new Integer(0)));\n\t\t\telse\n\t\t\t\tSystem.out.print(su.get(new Integer(i)) + \" \");\n\t\t}\t\t\t\n\t}\n}",
"Main"
] |
import java.util.Scanner;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) {
int n, i, a;
Scanner sc = new Scanner(System.in);
ArrayList<Integer> su = new ArrayList<Integer>();
n = sc.nextInt();
for(i = 0; n - 1 >= i; i++){
a = sc.nextInt();
su.add(new Integer(a));
}
for(i = n - 1; i >= 0; i--){
if(i == 0)
System.out.println(su.get(new Integer(0)));
else
System.out.print(su.get(new Integer(i)) + " ");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
13,
11,
1,
41,
13,
2,
13,
17,
2,
17,
13,
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
],
[
83,
5
],
[
83,
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
],
[
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
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = 0;\n\t\tint A = sc.nextInt();\n\t\tint[] arrayInt = new int[A];\n\n\t\tfor(int i = 0; i < A; i++) {\n\t\t\tint Num = sc.nextInt();\n\t\t\tarrayInt[i] = Num;\n\t\t}\n\n\t\tfor(int j = A-1; 0 < j; j--) {\n\t\t\tSystem.out.print(arrayInt[j]+\" \");\n\t\t}\n\t\tSystem.out.println(arrayInt[0]);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = 0;\n\t\tint A = sc.nextInt();\n\t\tint[] arrayInt = new int[A];\n\n\t\tfor(int i = 0; i < A; i++) {\n\t\t\tint Num = sc.nextInt();\n\t\t\tarrayInt[i] = Num;\n\t\t}\n\n\t\tfor(int j = A-1; 0 < j; j--) {\n\t\t\tSystem.out.print(arrayInt[j]+\" \");\n\t\t}\n\t\tSystem.out.println(arrayInt[0]);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = 0;\n\t\tint A = sc.nextInt();\n\t\tint[] arrayInt = new int[A];\n\n\t\tfor(int i = 0; i < A; i++) {\n\t\t\tint Num = sc.nextInt();\n\t\t\tarrayInt[i] = Num;\n\t\t}\n\n\t\tfor(int j = A-1; 0 < j; j--) {\n\t\t\tSystem.out.print(arrayInt[j]+\" \");\n\t\t}\n\t\tSystem.out.println(arrayInt[0]);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = 0;\n\t\tint A = sc.nextInt();\n\t\tint[] arrayInt = new int[A];\n\n\t\tfor(int i = 0; i < A; i++) {\n\t\t\tint Num = sc.nextInt();\n\t\t\tarrayInt[i] = Num;\n\t\t}\n\n\t\tfor(int j = A-1; 0 < j; j--) {\n\t\t\tSystem.out.print(arrayInt[j]+\" \");\n\t\t}\n\t\tSystem.out.println(arrayInt[0]);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = 0;",
"x",
"0",
"int A = sc.nextInt();",
"A",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[] arrayInt = new int[A];",
"arrayInt",
"new int[A]",
"A",
"for(int i = 0; i < A; i++) {\n\t\t\tint Num = sc.nextInt();\n\t\t\tarrayInt[i] = Num;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < A",
"i",
"A",
"i++",
"i++",
"i",
"{\n\t\t\tint Num = sc.nextInt();\n\t\t\tarrayInt[i] = Num;\n\t\t}",
"{\n\t\t\tint Num = sc.nextInt();\n\t\t\tarrayInt[i] = Num;\n\t\t}",
"int Num = sc.nextInt();",
"Num",
"sc.nextInt()",
"sc.nextInt",
"sc",
"arrayInt[i] = Num",
"arrayInt[i]",
"arrayInt",
"i",
"Num",
"for(int j = A-1; 0 < j; j--) {\n\t\t\tSystem.out.print(arrayInt[j]+\" \");\n\t\t}",
"int j = A-1;",
"int j = A-1;",
"j",
"A-1",
"A",
"1",
"0 < j",
"0",
"j",
"j--",
"j--",
"j",
"{\n\t\t\tSystem.out.print(arrayInt[j]+\" \");\n\t\t}",
"{\n\t\t\tSystem.out.print(arrayInt[j]+\" \");\n\t\t}",
"System.out.print(arrayInt[j]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"arrayInt[j]+\" \"",
"arrayInt[j]",
"arrayInt",
"j",
"\" \"",
"System.out.println(arrayInt[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"arrayInt[0]",
"arrayInt",
"0",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = 0;\n\t\tint A = sc.nextInt();\n\t\tint[] arrayInt = new int[A];\n\n\t\tfor(int i = 0; i < A; i++) {\n\t\t\tint Num = sc.nextInt();\n\t\t\tarrayInt[i] = Num;\n\t\t}\n\n\t\tfor(int j = A-1; 0 < j; j--) {\n\t\t\tSystem.out.print(arrayInt[j]+\" \");\n\t\t}\n\t\tSystem.out.println(arrayInt[0]);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = 0;\n\t\tint A = sc.nextInt();\n\t\tint[] arrayInt = new int[A];\n\n\t\tfor(int i = 0; i < A; i++) {\n\t\t\tint Num = sc.nextInt();\n\t\t\tarrayInt[i] = Num;\n\t\t}\n\n\t\tfor(int j = A-1; 0 < j; j--) {\n\t\t\tSystem.out.print(arrayInt[j]+\" \");\n\t\t}\n\t\tSystem.out.println(arrayInt[0]);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = 0;
int A = sc.nextInt();
int[] arrayInt = new int[A];
for(int i = 0; i < A; i++) {
int Num = sc.nextInt();
arrayInt[i] = Num;
}
for(int j = A-1; 0 < j; j--) {
System.out.print(arrayInt[j]+" ");
}
System.out.println(arrayInt[0]);
}
} |
[
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,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
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,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
2,
18,
13,
13,
17,
3,
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
],
[
107,
5
],
[
107,
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
],
[
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
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
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
],
[
66,
68
],
[
69,
69
],
[
69,
70
],
[
69,
71
],
[
69,
72
],
[
61,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
61,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
81,
89
],
[
61,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
8,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
8,
101
],
[
101,
102
],
[
102,
103
],
[
6,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tint[] b = new int[n];\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tb[i] = a[n - i - 1];\n\t\t\tSystem.out.print(b[i]);\n\t\t\tif (i == a.length - 1)\n\t\t\t\tbreak;\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t\tsc.close();\n\t}\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tint[] b = new int[n];\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tb[i] = a[n - i - 1];\n\t\t\tSystem.out.print(b[i]);\n\t\t\tif (i == a.length - 1)\n\t\t\t\tbreak;\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t\tsc.close();\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\tint[] a = new int[n];\n\t\tint[] b = new int[n];\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tb[i] = a[n - i - 1];\n\t\t\tSystem.out.print(b[i]);\n\t\t\tif (i == a.length - 1)\n\t\t\t\tbreak;\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tint[] b = new int[n];\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tb[i] = a[n - i - 1];\n\t\t\tSystem.out.print(b[i]);\n\t\t\tif (i == a.length - 1)\n\t\t\t\tbreak;\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t\tsc.close();\n\t}",
"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[] b = new int[n];",
"b",
"new int[n]",
"n",
"for (int i = 0; i < a.length; i++) {\n\t\t\ta[i] = sc.nextInt();\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] = sc.nextInt();\n\t\t}",
"{\n\t\t\ta[i] = sc.nextInt();\n\t\t}",
"a[i] = sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int i = 0; i < a.length; i++) {\n\t\t\tb[i] = a[n - i - 1];\n\t\t\tSystem.out.print(b[i]);\n\t\t\tif (i == a.length - 1)\n\t\t\t\tbreak;\n\t\t\tSystem.out.print(\" \");\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\tb[i] = a[n - i - 1];\n\t\t\tSystem.out.print(b[i]);\n\t\t\tif (i == a.length - 1)\n\t\t\t\tbreak;\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"{\n\t\t\tb[i] = a[n - i - 1];\n\t\t\tSystem.out.print(b[i]);\n\t\t\tif (i == a.length - 1)\n\t\t\t\tbreak;\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"b[i] = a[n - i - 1]",
"b[i]",
"b",
"i",
"a[n - i - 1]",
"a",
"n - i - 1",
"n - i - 1",
"n",
"i",
"1",
"System.out.print(b[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"b[i]",
"b",
"i",
"if (i == a.length - 1)\n\t\t\t\tbreak;",
"i == a.length - 1",
"i",
"a.length - 1",
"a.length",
"a",
"a.length",
"1",
"break;",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tint[] b = new int[n];\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tb[i] = a[n - i - 1];\n\t\t\tSystem.out.print(b[i]);\n\t\t\tif (i == a.length - 1)\n\t\t\t\tbreak;\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t\tsc.close();\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tint[] b = new int[n];\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tb[i] = a[n - i - 1];\n\t\t\tSystem.out.print(b[i]);\n\t\t\tif (i == a.length - 1)\n\t\t\t\tbreak;\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t\tsc.close();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] a = new int[n];
int[] b = new int[n];
for (int i = 0; i < a.length; i++) {
a[i] = sc.nextInt();
}
for (int i = 0; i < a.length; i++) {
b[i] = a[n - i - 1];
System.out.print(b[i]);
if (i == a.length - 1)
break;
System.out.print(" ");
}
System.out.println();
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
18,
13,
13,
8,
2,
13,
17,
17,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
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,
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
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
52,
57
],
[
8,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
6,
64
],
[
64,
65
]
] | [
"import java.io.*;\n\nclass Main {\n public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String[] nums = br.readLine().split(\" \");\n String reverse = \"\";\n for (int i = n - 1; i >= 0; i--) {\n reverse += nums[i] + ((i == 0) ? \"\" : \" \");\n }\n System.out.println(reverse);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String[] nums = br.readLine().split(\" \");\n String reverse = \"\";\n for (int i = n - 1; i >= 0; i--) {\n reverse += nums[i] + ((i == 0) ? \"\" : \" \");\n }\n System.out.println(reverse);\n }\n}",
"Main",
"public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String[] nums = br.readLine().split(\" \");\n String reverse = \"\";\n for (int i = n - 1; i >= 0; i--) {\n reverse += nums[i] + ((i == 0) ? \"\" : \" \");\n }\n System.out.println(reverse);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String[] nums = br.readLine().split(\" \");\n String reverse = \"\";\n for (int i = n - 1; i >= 0; i--) {\n reverse += nums[i] + ((i == 0) ? \"\" : \" \");\n }\n System.out.println(reverse);\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[] nums = br.readLine().split(\" \");",
"nums",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"String reverse = \"\";",
"reverse",
"\"\"",
"for (int i = n - 1; i >= 0; i--) {\n reverse += nums[i] + ((i == 0) ? \"\" : \" \");\n }",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n reverse += nums[i] + ((i == 0) ? \"\" : \" \");\n }",
"{\n reverse += nums[i] + ((i == 0) ? \"\" : \" \");\n }",
"reverse += nums[i] + ((i == 0) ? \"\" : \" \")",
"reverse",
"nums[i] + ((i == 0) ? \"\" : \" \")",
"nums[i]",
"nums",
"i",
"((i == 0) ? \"\" : \" \")",
"(i == 0)",
"i",
"0",
"\"\"",
"\" \"",
"System.out.println(reverse)",
"System.out.println",
"System.out",
"System",
"System.out",
"reverse",
"String[] args",
"args"
] | import java.io.*;
class Main {
public static void main (String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(br.readLine());
String[] nums = br.readLine().split(" ");
String reverse = "";
for (int i = n - 1; i >= 0; i--) {
reverse += nums[i] + ((i == 0) ? "" : " ");
}
System.out.println(reverse);
}
} |
[
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,
41,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
18,
13,
13,
14,
2,
13,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
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
],
[
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
],
[
41,
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
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
58,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
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 sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint[] x = new int[N];\n\n\t\tfor(int i = 0; i < N; i++){\n\t\t\tx[i] = sc.nextInt();\n\t\t}\n\n\t\tString A = \"\";\n\t\tfor (int j = N - 1; j >= 0; j--){\n\n\t\t\tA += (x[j]);\n\t\t\tif(j != 0){\n\t\t\t\tA += \" \";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(A);\n\t}\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\t\tint N = sc.nextInt();\n\t\tint[] x = new int[N];\n\n\t\tfor(int i = 0; i < N; i++){\n\t\t\tx[i] = sc.nextInt();\n\t\t}\n\n\t\tString A = \"\";\n\t\tfor (int j = N - 1; j >= 0; j--){\n\n\t\t\tA += (x[j]);\n\t\t\tif(j != 0){\n\t\t\t\tA += \" \";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(A);\n\t}\n}",
"Main",
"public static void main(String args[]){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint[] x = new int[N];\n\n\t\tfor(int i = 0; i < N; i++){\n\t\t\tx[i] = sc.nextInt();\n\t\t}\n\n\t\tString A = \"\";\n\t\tfor (int j = N - 1; j >= 0; j--){\n\n\t\t\tA += (x[j]);\n\t\t\tif(j != 0){\n\t\t\t\tA += \" \";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(A);\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint[] x = new int[N];\n\n\t\tfor(int i = 0; i < N; i++){\n\t\t\tx[i] = sc.nextInt();\n\t\t}\n\n\t\tString A = \"\";\n\t\tfor (int j = N - 1; j >= 0; j--){\n\n\t\t\tA += (x[j]);\n\t\t\tif(j != 0){\n\t\t\t\tA += \" \";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(A);\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[N];",
"x",
"new int[N]",
"N",
"for(int i = 0; i < N; i++){\n\t\t\tx[i] = sc.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t\tx[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tx[i] = sc.nextInt();\n\t\t}",
"x[i] = sc.nextInt()",
"x[i]",
"x",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String A = \"\";",
"A",
"\"\"",
"for (int j = N - 1; j >= 0; j--){\n\n\t\t\tA += (x[j]);\n\t\t\tif(j != 0){\n\t\t\t\tA += \" \";\n\t\t\t}\n\t\t}",
"int j = N - 1;",
"int j = N - 1;",
"j",
"N - 1",
"N",
"1",
"j >= 0",
"j",
"0",
"j--",
"j--",
"j",
"{\n\n\t\t\tA += (x[j]);\n\t\t\tif(j != 0){\n\t\t\t\tA += \" \";\n\t\t\t}\n\t\t}",
"{\n\n\t\t\tA += (x[j]);\n\t\t\tif(j != 0){\n\t\t\t\tA += \" \";\n\t\t\t}\n\t\t}",
"A += (x[j])",
"A",
"(x[j])",
"x",
"j",
"if(j != 0){\n\t\t\t\tA += \" \";\n\t\t\t}",
"j != 0",
"j",
"0",
"{\n\t\t\t\tA += \" \";\n\t\t\t}",
"A += \" \"",
"A",
"\" \"",
"System.out.println(A)",
"System.out.println",
"System.out",
"System",
"System.out",
"A",
"String args[]",
"args",
"public class Main{\n\tpublic static void main(String args[]){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint[] x = new int[N];\n\n\t\tfor(int i = 0; i < N; i++){\n\t\t\tx[i] = sc.nextInt();\n\t\t}\n\n\t\tString A = \"\";\n\t\tfor (int j = N - 1; j >= 0; j--){\n\n\t\t\tA += (x[j]);\n\t\t\tif(j != 0){\n\t\t\t\tA += \" \";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(A);\n\t}\n}",
"public class Main{\n\tpublic static void main(String args[]){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint[] x = new int[N];\n\n\t\tfor(int i = 0; i < N; i++){\n\t\t\tx[i] = sc.nextInt();\n\t\t}\n\n\t\tString A = \"\";\n\t\tfor (int j = N - 1; j >= 0; j--){\n\n\t\t\tA += (x[j]);\n\t\t\tif(j != 0){\n\t\t\t\tA += \" \";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(A);\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[] x = new int[N];
for(int i = 0; i < N; i++){
x[i] = sc.nextInt();
}
String A = "";
for (int j = N - 1; j >= 0; j--){
A += (x[j]);
if(j != 0){
A += " ";
}
}
System.out.println(A);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
20,
0,
13,
4,
18,
13,
41,
13,
20,
17,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
0,
13,
2,
13,
17,
0,
13,
17,
42,
2,
13,
13,
30,
0,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
40,
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,
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
],
[
126,
5
],
[
126,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
8,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
8,
55
],
[
55,
56
],
[
55,
57
],
[
8,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
62,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
62,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
62,
80
],
[
80,
81
],
[
62,
82
],
[
82,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
84,
92
],
[
92,
93
],
[
93,
94
],
[
84,
95
],
[
96,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
97,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
109,
110
],
[
109,
111
],
[
97,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
6,
123
],
[
123,
124
],
[
0,
125
],
[
125,
126
],
[
125,
127
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint n, i, j, temp = 0;\n\t\tScanner stdin = new Scanner(System.in);\n\t\tn = stdin.nextInt();\t\t\n\t\tint a[] = new int[1000];\n\t\tfor (i = 0; i < n; i++) {\n\t\t\ta[i] = stdin.nextInt();\n\t\t}\n\t\tj = i - 1;\n\t\ti = 0;\n\t\twhile (i < j) {\n\t\t\ttemp = a[i];\n\t\t\ta[i] = a[j];\n\t\t\ta[j] = temp;\n\t\t\ti++;\n\t\t\tj--;\n\t\t}\n\t\tfor (i = 0; i < n; i++) {\n\t\t\tif(i == n-1) {\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}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint n, i, j, temp = 0;\n\t\tScanner stdin = new Scanner(System.in);\n\t\tn = stdin.nextInt();\t\t\n\t\tint a[] = new int[1000];\n\t\tfor (i = 0; i < n; i++) {\n\t\t\ta[i] = stdin.nextInt();\n\t\t}\n\t\tj = i - 1;\n\t\ti = 0;\n\t\twhile (i < j) {\n\t\t\ttemp = a[i];\n\t\t\ta[i] = a[j];\n\t\t\ta[j] = temp;\n\t\t\ti++;\n\t\t\tj--;\n\t\t}\n\t\tfor (i = 0; i < n; i++) {\n\t\t\tif(i == n-1) {\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}",
"Main",
"public static void main(String[] args) {\n\t\tint n, i, j, temp = 0;\n\t\tScanner stdin = new Scanner(System.in);\n\t\tn = stdin.nextInt();\t\t\n\t\tint a[] = new int[1000];\n\t\tfor (i = 0; i < n; i++) {\n\t\t\ta[i] = stdin.nextInt();\n\t\t}\n\t\tj = i - 1;\n\t\ti = 0;\n\t\twhile (i < j) {\n\t\t\ttemp = a[i];\n\t\t\ta[i] = a[j];\n\t\t\ta[j] = temp;\n\t\t\ti++;\n\t\t\tj--;\n\t\t}\n\t\tfor (i = 0; i < n; i++) {\n\t\t\tif(i == n-1) {\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\tint n, i, j, temp = 0;\n\t\tScanner stdin = new Scanner(System.in);\n\t\tn = stdin.nextInt();\t\t\n\t\tint a[] = new int[1000];\n\t\tfor (i = 0; i < n; i++) {\n\t\t\ta[i] = stdin.nextInt();\n\t\t}\n\t\tj = i - 1;\n\t\ti = 0;\n\t\twhile (i < j) {\n\t\t\ttemp = a[i];\n\t\t\ta[i] = a[j];\n\t\t\ta[j] = temp;\n\t\t\ti++;\n\t\t\tj--;\n\t\t}\n\t\tfor (i = 0; i < n; i++) {\n\t\t\tif(i == n-1) {\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}",
"int n",
"n",
"i",
"i",
"j",
"j",
"temp = 0;",
"temp",
"0",
"Scanner stdin = new Scanner(System.in);",
"stdin",
"new Scanner(System.in)",
"n = stdin.nextInt()",
"n",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"int a[] = new int[1000];",
"a",
"new int[1000]",
"1000",
"for (i = 0; i < n; i++) {\n\t\t\ta[i] = stdin.nextInt();\n\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = stdin.nextInt();\n\t\t}",
"{\n\t\t\ta[i] = stdin.nextInt();\n\t\t}",
"a[i] = stdin.nextInt()",
"a[i]",
"a",
"i",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"j = i - 1",
"j",
"i - 1",
"i",
"1",
"i = 0",
"i",
"0",
"while (i < j) {\n\t\t\ttemp = a[i];\n\t\t\ta[i] = a[j];\n\t\t\ta[j] = temp;\n\t\t\ti++;\n\t\t\tj--;\n\t\t}",
"i < j",
"i",
"j",
"{\n\t\t\ttemp = a[i];\n\t\t\ta[i] = a[j];\n\t\t\ta[j] = temp;\n\t\t\ti++;\n\t\t\tj--;\n\t\t}",
"temp = a[i]",
"temp",
"a[i]",
"a",
"i",
"a[i] = a[j]",
"a[i]",
"a",
"i",
"a[j]",
"a",
"j",
"a[j] = temp",
"a[j]",
"a",
"j",
"temp",
"i++",
"i",
"j--",
"j",
"for (i = 0; i < n; i++) {\n\t\t\tif(i == n-1) {\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}",
"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.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 == n-1) {\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 == n-1) {\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 == n-1",
"i",
"n-1",
"n",
"1",
"{\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\n\tpublic static void main(String[] args) {\n\t\tint n, i, j, temp = 0;\n\t\tScanner stdin = new Scanner(System.in);\n\t\tn = stdin.nextInt();\t\t\n\t\tint a[] = new int[1000];\n\t\tfor (i = 0; i < n; i++) {\n\t\t\ta[i] = stdin.nextInt();\n\t\t}\n\t\tj = i - 1;\n\t\ti = 0;\n\t\twhile (i < j) {\n\t\t\ttemp = a[i];\n\t\t\ta[i] = a[j];\n\t\t\ta[j] = temp;\n\t\t\ti++;\n\t\t\tj--;\n\t\t}\n\t\tfor (i = 0; i < n; i++) {\n\t\t\tif(i == n-1) {\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}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint n, i, j, temp = 0;\n\t\tScanner stdin = new Scanner(System.in);\n\t\tn = stdin.nextInt();\t\t\n\t\tint a[] = new int[1000];\n\t\tfor (i = 0; i < n; i++) {\n\t\t\ta[i] = stdin.nextInt();\n\t\t}\n\t\tj = i - 1;\n\t\ti = 0;\n\t\twhile (i < j) {\n\t\t\ttemp = a[i];\n\t\t\ta[i] = a[j];\n\t\t\ta[j] = temp;\n\t\t\ti++;\n\t\t\tj--;\n\t\t}\n\t\tfor (i = 0; i < n; i++) {\n\t\t\tif(i == n-1) {\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}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int n, i, j, temp = 0;
Scanner stdin = new Scanner(System.in);
n = stdin.nextInt();
int a[] = new int[1000];
for (i = 0; i < n; i++) {
a[i] = stdin.nextInt();
}
j = i - 1;
i = 0;
while (i < j) {
temp = a[i];
a[i] = a[j];
a[j] = temp;
i++;
j--;
}
for (i = 0; i < n; i++) {
if(i == n-1) {
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,
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,
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
],
[
90,
5
],
[
90,
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
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
41,
50
],
[
50,
51
],
[
50,
52
],
[
41,
53
],
[
53,
54
],
[
54,
55
],
[
41,
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
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
6,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
] | [
"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 String[] string = new String[n];\n\n for (int i = 0; i < n; i++) {\n string[i] = scan.next();\n }\n\n for(int i = string.length-1; i >= 0; i--){\n if(i != 0){\n System.out.print(string[i] + \" \");\n }else{\n System.out.print(string[i]);\n }\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 String[] string = new String[n];\n\n for (int i = 0; i < n; i++) {\n string[i] = scan.next();\n }\n\n for(int i = string.length-1; i >= 0; i--){\n if(i != 0){\n System.out.print(string[i] + \" \");\n }else{\n System.out.print(string[i]);\n }\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 String[] string = new String[n];\n\n for (int i = 0; i < n; i++) {\n string[i] = scan.next();\n }\n\n for(int i = string.length-1; i >= 0; i--){\n if(i != 0){\n System.out.print(string[i] + \" \");\n }else{\n System.out.print(string[i]);\n }\n }\n System.out.println();\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n String[] string = new String[n];\n\n for (int i = 0; i < n; i++) {\n string[i] = scan.next();\n }\n\n for(int i = string.length-1; i >= 0; i--){\n if(i != 0){\n System.out.print(string[i] + \" \");\n }else{\n System.out.print(string[i]);\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",
"String[] string = new String[n];",
"string",
"new String[n]",
"n",
"for (int i = 0; i < n; i++) {\n string[i] = scan.next();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n string[i] = scan.next();\n }",
"{\n string[i] = scan.next();\n }",
"string[i] = scan.next()",
"string[i]",
"string",
"i",
"scan.next()",
"scan.next",
"scan",
"for(int i = string.length-1; i >= 0; i--){\n if(i != 0){\n System.out.print(string[i] + \" \");\n }else{\n System.out.print(string[i]);\n }\n }",
"int i = string.length-1;",
"int i = string.length-1;",
"i",
"string.length-1",
"string.length",
"string",
"string.length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n if(i != 0){\n System.out.print(string[i] + \" \");\n }else{\n System.out.print(string[i]);\n }\n }",
"{\n if(i != 0){\n System.out.print(string[i] + \" \");\n }else{\n System.out.print(string[i]);\n }\n }",
"if(i != 0){\n System.out.print(string[i] + \" \");\n }else{\n System.out.print(string[i]);\n }",
"i != 0",
"i",
"0",
"{\n System.out.print(string[i] + \" \");\n }",
"System.out.print(string[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"string[i] + \" \"",
"string[i]",
"string",
"i",
"\" \"",
"{\n System.out.print(string[i]);\n }",
"System.out.print(string[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"string[i]",
"string",
"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 String[] string = new String[n];\n\n for (int i = 0; i < n; i++) {\n string[i] = scan.next();\n }\n\n for(int i = string.length-1; i >= 0; i--){\n if(i != 0){\n System.out.print(string[i] + \" \");\n }else{\n System.out.print(string[i]);\n }\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 String[] string = new String[n];\n\n for (int i = 0; i < n; i++) {\n string[i] = scan.next();\n }\n\n for(int i = string.length-1; i >= 0; i--){\n if(i != 0){\n System.out.print(string[i] + \" \");\n }else{\n System.out.print(string[i]);\n }\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();
String[] string = new String[n];
for (int i = 0; i < n; i++) {
string[i] = scan.next();
}
for(int i = string.length-1; i >= 0; i--){
if(i != 0){
System.out.print(string[i] + " ");
}else{
System.out.print(string[i]);
}
}
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,
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
],
[
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
],
[
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
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
56,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
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\t\tScanner S = new Scanner(System.in);\n\t\t\n\t\tint N = S.nextInt();\n\t\tint[] data = new int[N];\n\t\t\n\t\tfor(int i = 0;i < N;i++){\n\t\t\tdata[i] = S.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = N - 1;i >= 0;i--){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(data[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(data[i]+\" \");\n\t\t}\n\t\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner S = new Scanner(System.in);\n\t\t\n\t\tint N = S.nextInt();\n\t\tint[] data = new int[N];\n\t\t\n\t\tfor(int i = 0;i < N;i++){\n\t\t\tdata[i] = S.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = N - 1;i >= 0;i--){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(data[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(data[i]+\" \");\n\t\t}\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner S = new Scanner(System.in);\n\t\t\n\t\tint N = S.nextInt();\n\t\tint[] data = new int[N];\n\t\t\n\t\tfor(int i = 0;i < N;i++){\n\t\t\tdata[i] = S.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = N - 1;i >= 0;i--){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(data[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(data[i]+\" \");\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner S = new Scanner(System.in);\n\t\t\n\t\tint N = S.nextInt();\n\t\tint[] data = new int[N];\n\t\t\n\t\tfor(int i = 0;i < N;i++){\n\t\t\tdata[i] = S.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = N - 1;i >= 0;i--){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(data[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(data[i]+\" \");\n\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[] data = new int[N];",
"data",
"new int[N]",
"N",
"for(int i = 0;i < N;i++){\n\t\t\tdata[i] = S.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t\tdata[i] = S.nextInt();\n\t\t}",
"{\n\t\t\tdata[i] = S.nextInt();\n\t\t}",
"data[i] = S.nextInt()",
"data[i]",
"data",
"i",
"S.nextInt()",
"S.nextInt",
"S",
"for(int i = N - 1;i >= 0;i--){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(data[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(data[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(data[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(data[i]+\" \");\n\t\t}",
"{\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(data[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(data[i]+\" \");\n\t\t}",
"if(i == 0)\n\t\t\t\tSystem.out.println(data[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(data[i]+\" \");",
"i == 0",
"i",
"0",
"System.out.println(data[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"data[i]",
"data",
"i",
"System.out.print(data[i]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"data[i]+\" \"",
"data[i]",
"data",
"i",
"\" \"",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner S = new Scanner(System.in);\n\t\t\n\t\tint N = S.nextInt();\n\t\tint[] data = new int[N];\n\t\t\n\t\tfor(int i = 0;i < N;i++){\n\t\t\tdata[i] = S.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = N - 1;i >= 0;i--){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(data[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(data[i]+\" \");\n\t\t}\n\t\t\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner S = new Scanner(System.in);\n\t\t\n\t\tint N = S.nextInt();\n\t\tint[] data = new int[N];\n\t\t\n\t\tfor(int i = 0;i < N;i++){\n\t\t\tdata[i] = S.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = N - 1;i >= 0;i--){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.println(data[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(data[i]+\" \");\n\t\t}\n\t\t\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner S = new Scanner(System.in);
int N = S.nextInt();
int[] data = new int[N];
for(int i = 0;i < N;i++){
data[i] = S.nextInt();
}
for(int i = N - 1;i >= 0;i--){
if(i == 0)
System.out.println(data[i]);
else
System.out.print(data[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,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
30,
30,
4,
18,
4,
18,
13,
18,
13,
2,
13,
40,
13,
17,
4,
18,
13,
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
],
[
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
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
31,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
43,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
6,
69
],
[
69,
70
]
] | [
"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 int n = Integer.parseInt(br.readLine());\n String[] data = br.readLine().split(\" \");\n\n for(int i = 0; i < n-1;){\n sb.append(data[n-++i]).append(\" \");\n }\n sb.append(data[0]);\n\n System.out.println(sb.toString());\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 StringBuilder sb = new StringBuilder();\n int n = Integer.parseInt(br.readLine());\n String[] data = br.readLine().split(\" \");\n\n for(int i = 0; i < n-1;){\n sb.append(data[n-++i]).append(\" \");\n }\n sb.append(data[0]);\n\n System.out.println(sb.toString());\n\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 int n = Integer.parseInt(br.readLine());\n String[] data = br.readLine().split(\" \");\n\n for(int i = 0; i < n-1;){\n sb.append(data[n-++i]).append(\" \");\n }\n sb.append(data[0]);\n\n System.out.println(sb.toString());\n\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int n = Integer.parseInt(br.readLine());\n String[] data = br.readLine().split(\" \");\n\n for(int i = 0; i < n-1;){\n sb.append(data[n-++i]).append(\" \");\n }\n sb.append(data[0]);\n\n System.out.println(sb.toString());\n\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[] data = br.readLine().split(\" \");",
"data",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for(int i = 0; i < n-1;){\n sb.append(data[n-++i]).append(\" \");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n-1",
"i",
"n-1",
"n",
"1",
"{\n sb.append(data[n-++i]).append(\" \");\n }",
"{\n sb.append(data[n-++i]).append(\" \");\n }",
"sb.append(data[n-++i]).append(\" \")",
"sb.append(data[n-++i]).append",
"sb.append(data[n-++i])",
"sb.append",
"sb",
"data[n-++i]",
"data",
"n-++i",
"n",
"++i",
"i",
"\" \"",
"sb.append(data[0])",
"sb.append",
"sb",
"data[0]",
"data",
"0",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"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[] data = br.readLine().split(" ");
for(int i = 0; i < n-1;){
sb.append(data[n-++i]).append(" ");
}
sb.append(data[0]);
System.out.println(sb.toString());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
20,
41,
13,
4,
18,
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,
4,
18,
13,
18,
13,
13,
17,
30,
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
],
[
82,
11
],
[
82,
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,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
31,
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
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
57,
65
],
[
52,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
70,
72
],
[
14,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
12,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] | [
"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\tStringBuilder sb = new StringBuilder();\n\n\t\tString[] set = br.readLine().split(\" \");\n\n\t\tfor(int i = N-1; i >= 0; i--){\n\t\t\tif (i != 0) {\n\t\t\t\tsb.append(set[i]).append(\" \");\n\t\t\t} else {\n\t\t\t\tsb.append(set[i]);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(sb);\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 NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint N = Integer.parseInt(br.readLine());\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tString[] set = br.readLine().split(\" \");\n\n\t\tfor(int i = N-1; i >= 0; i--){\n\t\t\tif (i != 0) {\n\t\t\t\tsb.append(set[i]).append(\" \");\n\t\t\t} else {\n\t\t\t\tsb.append(set[i]);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(sb);\n\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\tStringBuilder sb = new StringBuilder();\n\n\t\tString[] set = br.readLine().split(\" \");\n\n\t\tfor(int i = N-1; i >= 0; i--){\n\t\t\tif (i != 0) {\n\t\t\t\tsb.append(set[i]).append(\" \");\n\t\t\t} else {\n\t\t\t\tsb.append(set[i]);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(sb);\n\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint N = Integer.parseInt(br.readLine());\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tString[] set = br.readLine().split(\" \");\n\n\t\tfor(int i = N-1; i >= 0; i--){\n\t\t\tif (i != 0) {\n\t\t\t\tsb.append(set[i]).append(\" \");\n\t\t\t} else {\n\t\t\t\tsb.append(set[i]);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(sb);\n\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",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"String[] set = br.readLine().split(\" \");",
"set",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for(int i = N-1; i >= 0; i--){\n\t\t\tif (i != 0) {\n\t\t\t\tsb.append(set[i]).append(\" \");\n\t\t\t} else {\n\t\t\t\tsb.append(set[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\tsb.append(set[i]).append(\" \");\n\t\t\t} else {\n\t\t\t\tsb.append(set[i]);\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (i != 0) {\n\t\t\t\tsb.append(set[i]).append(\" \");\n\t\t\t} else {\n\t\t\t\tsb.append(set[i]);\n\t\t\t}\n\t\t}",
"if (i != 0) {\n\t\t\t\tsb.append(set[i]).append(\" \");\n\t\t\t} else {\n\t\t\t\tsb.append(set[i]);\n\t\t\t}",
"i != 0",
"i",
"0",
"{\n\t\t\t\tsb.append(set[i]).append(\" \");\n\t\t\t}",
"sb.append(set[i]).append(\" \")",
"sb.append(set[i]).append",
"sb.append(set[i])",
"sb.append",
"sb",
"set[i]",
"set",
"i",
"\" \"",
"{\n\t\t\t\tsb.append(set[i]);\n\t\t\t}",
"sb.append(set[i])",
"sb.append",
"sb",
"set[i]",
"set",
"i",
"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\tint N = Integer.parseInt(br.readLine());\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tString[] set = br.readLine().split(\" \");\n\n\t\tfor(int i = N-1; i >= 0; i--){\n\t\t\tif (i != 0) {\n\t\t\t\tsb.append(set[i]).append(\" \");\n\t\t\t} else {\n\t\t\t\tsb.append(set[i]);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(sb);\n\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\tStringBuilder sb = new StringBuilder();\n\n\t\tString[] set = br.readLine().split(\" \");\n\n\t\tfor(int i = N-1; i >= 0; i--){\n\t\t\tif (i != 0) {\n\t\t\t\tsb.append(set[i]).append(\" \");\n\t\t\t} else {\n\t\t\t\tsb.append(set[i]);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(sb);\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 NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int N = Integer.parseInt(br.readLine());
StringBuilder sb = new StringBuilder();
String[] set = br.readLine().split(" ");
for(int i = N-1; i >= 0; i--){
if (i != 0) {
sb.append(set[i]).append(" ");
} else {
sb.append(set[i]);
}
}
System.out.println(sb);
}
} |
[
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,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
2,
13,
13,
14,
2,
13,
13,
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
],
[
85,
5
],
[
85,
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
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
41,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
53,
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
],
[
6,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] | [
"import java.util.Scanner;\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[] a = new int[n];\n\t\tfor(int b = 0;b<n;b++){\n\t\t\ta[b] = scan.nextInt();\n\t\t}\n\t\tfor(int d = 1;d<=n;d++){\n\t\t\tSystem.out.print(a[n-d]);\n\t\t\tif(d==n){\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}\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[] a = new int[n];\n\t\tfor(int b = 0;b<n;b++){\n\t\t\ta[b] = scan.nextInt();\n\t\t}\n\t\tfor(int d = 1;d<=n;d++){\n\t\t\tSystem.out.print(a[n-d]);\n\t\t\tif(d==n){\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}\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[] a = new int[n];\n\t\tfor(int b = 0;b<n;b++){\n\t\t\ta[b] = scan.nextInt();\n\t\t}\n\t\tfor(int d = 1;d<=n;d++){\n\t\t\tSystem.out.print(a[n-d]);\n\t\t\tif(d==n){\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}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor(int b = 0;b<n;b++){\n\t\t\ta[b] = scan.nextInt();\n\t\t}\n\t\tfor(int d = 1;d<=n;d++){\n\t\t\tSystem.out.print(a[n-d]);\n\t\t\tif(d==n){\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}",
"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 b = 0;b<n;b++){\n\t\t\ta[b] = scan.nextInt();\n\t\t}",
"int b = 0;",
"int b = 0;",
"b",
"0",
"b<n",
"b",
"n",
"b++",
"b++",
"b",
"{\n\t\t\ta[b] = scan.nextInt();\n\t\t}",
"{\n\t\t\ta[b] = scan.nextInt();\n\t\t}",
"a[b] = scan.nextInt()",
"a[b]",
"a",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(int d = 1;d<=n;d++){\n\t\t\tSystem.out.print(a[n-d]);\n\t\t\tif(d==n){\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 d = 1;",
"int d = 1;",
"d",
"1",
"d<=n",
"d",
"n",
"d++",
"d++",
"d",
"{\n\t\t\tSystem.out.print(a[n-d]);\n\t\t\tif(d==n){\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(a[n-d]);\n\t\t\tif(d==n){\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(a[n-d])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[n-d]",
"a",
"n-d",
"n",
"d",
"if(d==n){\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"d==n",
"d",
"n",
"{\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",
"\" \"",
"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[] a = new int[n];\n\t\tfor(int b = 0;b<n;b++){\n\t\t\ta[b] = scan.nextInt();\n\t\t}\n\t\tfor(int d = 1;d<=n;d++){\n\t\t\tSystem.out.print(a[n-d]);\n\t\t\tif(d==n){\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}\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[] a = new int[n];\n\t\tfor(int b = 0;b<n;b++){\n\t\t\ta[b] = scan.nextInt();\n\t\t}\n\t\tfor(int d = 1;d<=n;d++){\n\t\t\tSystem.out.print(a[n-d]);\n\t\t\tif(d==n){\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}\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];
for(int b = 0;b<n;b++){
a[b] = scan.nextInt();
}
for(int d = 1;d<=n;d++){
System.out.print(a[n-d]);
if(d==n){
System.out.println("");
}else{
System.out.print(" ");
}
}
}
} |
[
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,
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,
13,
18,
13,
13,
14,
2,
13,
17,
30,
3,
4,
18,
13,
17,
4,
18,
18,
13,
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
],
[
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
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
8,
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
],
[
61,
64
],
[
64,
65
],
[
64,
66
],
[
60,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
60,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
8,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
6,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner input = new Scanner(System.in);\n StringBuilder build = new StringBuilder();\n int n = input.nextInt();\n int[] ar = new int[n];\n for(int i = 0; i < n; i++){\n ar[i] = input.nextInt();\n }\n for(int i = ar.length-1; i >= 0; i--){\n build.append(ar[i]);\n if(i==0){\n break;\n }\n build.append(\" \");\n }\n System.out.println(build);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner input = new Scanner(System.in);\n StringBuilder build = new StringBuilder();\n int n = input.nextInt();\n int[] ar = new int[n];\n for(int i = 0; i < n; i++){\n ar[i] = input.nextInt();\n }\n for(int i = ar.length-1; i >= 0; i--){\n build.append(ar[i]);\n if(i==0){\n break;\n }\n build.append(\" \");\n }\n System.out.println(build);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner input = new Scanner(System.in);\n StringBuilder build = new StringBuilder();\n int n = input.nextInt();\n int[] ar = new int[n];\n for(int i = 0; i < n; i++){\n ar[i] = input.nextInt();\n }\n for(int i = ar.length-1; i >= 0; i--){\n build.append(ar[i]);\n if(i==0){\n break;\n }\n build.append(\" \");\n }\n System.out.println(build);\n }",
"main",
"{\n Scanner input = new Scanner(System.in);\n StringBuilder build = new StringBuilder();\n int n = input.nextInt();\n int[] ar = new int[n];\n for(int i = 0; i < n; i++){\n ar[i] = input.nextInt();\n }\n for(int i = ar.length-1; i >= 0; i--){\n build.append(ar[i]);\n if(i==0){\n break;\n }\n build.append(\" \");\n }\n System.out.println(build);\n }",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"StringBuilder build = new StringBuilder();",
"build",
"new StringBuilder()",
"int n = input.nextInt();",
"n",
"input.nextInt()",
"input.nextInt",
"input",
"int[] ar = new int[n];",
"ar",
"new int[n]",
"n",
"for(int i = 0; i < n; i++){\n ar[i] = input.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n ar[i] = input.nextInt();\n }",
"{\n ar[i] = input.nextInt();\n }",
"ar[i] = input.nextInt()",
"ar[i]",
"ar",
"i",
"input.nextInt()",
"input.nextInt",
"input",
"for(int i = ar.length-1; i >= 0; i--){\n build.append(ar[i]);\n if(i==0){\n break;\n }\n build.append(\" \");\n }",
"int i = ar.length-1;",
"int i = ar.length-1;",
"i",
"ar.length-1",
"ar.length",
"ar",
"ar.length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n build.append(ar[i]);\n if(i==0){\n break;\n }\n build.append(\" \");\n }",
"{\n build.append(ar[i]);\n if(i==0){\n break;\n }\n build.append(\" \");\n }",
"build.append(ar[i])",
"build.append",
"build",
"ar[i]",
"ar",
"i",
"if(i==0){\n break;\n }",
"i==0",
"i",
"0",
"{\n break;\n }",
"break;",
"build.append(\" \")",
"build.append",
"build",
"\" \"",
"System.out.println(build)",
"System.out.println",
"System.out",
"System",
"System.out",
"build",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner input = new Scanner(System.in);\n StringBuilder build = new StringBuilder();\n int n = input.nextInt();\n int[] ar = new int[n];\n for(int i = 0; i < n; i++){\n ar[i] = input.nextInt();\n }\n for(int i = ar.length-1; i >= 0; i--){\n build.append(ar[i]);\n if(i==0){\n break;\n }\n build.append(\" \");\n }\n System.out.println(build);\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner input = new Scanner(System.in);\n StringBuilder build = new StringBuilder();\n int n = input.nextInt();\n int[] ar = new int[n];\n for(int i = 0; i < n; i++){\n ar[i] = input.nextInt();\n }\n for(int i = ar.length-1; i >= 0; i--){\n build.append(ar[i]);\n if(i==0){\n break;\n }\n build.append(\" \");\n }\n System.out.println(build);\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner input = new Scanner(System.in);
StringBuilder build = new StringBuilder();
int n = input.nextInt();
int[] ar = new int[n];
for(int i = 0; i < n; i++){
ar[i] = input.nextInt();
}
for(int i = ar.length-1; i >= 0; i--){
build.append(ar[i]);
if(i==0){
break;
}
build.append(" ");
}
System.out.println(build);
}
} |
[
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,
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
],
[
82,
5
],
[
82,
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
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
33,
42
],
[
42,
43
],
[
42,
44
],
[
33,
45
],
[
45,
46
],
[
46,
47
],
[
33,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
50,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
8,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] | [
"\nimport java.util.Scanner;\npublic class Main{\npublic static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n String a = scan.nextLine();\n String line = scan.nextLine();\n String[] array = line.split(\" \");\n for(int i = array.length-1;i>=0;i--){\n if(i!=0){\n System.out.print(array[i]+\" \");\n }else{\n System.out.print(array[i]);\n }\n }\n System.out.println();\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\npublic static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n String a = scan.nextLine();\n String line = scan.nextLine();\n String[] array = line.split(\" \");\n for(int i = array.length-1;i>=0;i--){\n if(i!=0){\n System.out.print(array[i]+\" \");\n }else{\n System.out.print(array[i]);\n }\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 String a = scan.nextLine();\n String line = scan.nextLine();\n String[] array = line.split(\" \");\n for(int i = array.length-1;i>=0;i--){\n if(i!=0){\n System.out.print(array[i]+\" \");\n }else{\n System.out.print(array[i]);\n }\n }\n System.out.println();\n}",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n String a = scan.nextLine();\n String line = scan.nextLine();\n String[] array = line.split(\" \");\n for(int i = array.length-1;i>=0;i--){\n if(i!=0){\n System.out.print(array[i]+\" \");\n }else{\n System.out.print(array[i]);\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",
"String a = scan.nextLine();",
"a",
"scan.nextLine()",
"scan.nextLine",
"scan",
"String line = scan.nextLine();",
"line",
"scan.nextLine()",
"scan.nextLine",
"scan",
"String[] array = line.split(\" \");",
"array",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"for(int i = array.length-1;i>=0;i--){\n if(i!=0){\n System.out.print(array[i]+\" \");\n }else{\n System.out.print(array[i]);\n }\n }",
"int i = array.length-1;",
"int i = array.length-1;",
"i",
"array.length-1",
"array.length",
"array",
"array.length",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n if(i!=0){\n System.out.print(array[i]+\" \");\n }else{\n System.out.print(array[i]);\n }\n }",
"{\n if(i!=0){\n System.out.print(array[i]+\" \");\n }else{\n System.out.print(array[i]);\n }\n }",
"if(i!=0){\n System.out.print(array[i]+\" \");\n }else{\n System.out.print(array[i]);\n }",
"i!=0",
"i",
"0",
"{\n System.out.print(array[i]+\" \");\n }",
"System.out.print(array[i]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"array[i]+\" \"",
"array[i]",
"array",
"i",
"\" \"",
"{\n System.out.print(array[i]);\n }",
"System.out.print(array[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"array[i]",
"array",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main{\npublic static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n String a = scan.nextLine();\n String line = scan.nextLine();\n String[] array = line.split(\" \");\n for(int i = array.length-1;i>=0;i--){\n if(i!=0){\n System.out.print(array[i]+\" \");\n }else{\n System.out.print(array[i]);\n }\n }\n System.out.println();\n}\n}",
"public class Main{\npublic static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n String a = scan.nextLine();\n String line = scan.nextLine();\n String[] array = line.split(\" \");\n for(int i = array.length-1;i>=0;i--){\n if(i!=0){\n System.out.print(array[i]+\" \");\n }else{\n System.out.print(array[i]);\n }\n }\n System.out.println();\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();
String a = scan.nextLine();
String line = scan.nextLine();
String[] array = line.split(" ");
for(int i = array.length-1;i>=0;i--){
if(i!=0){
System.out.print(array[i]+" ");
}else{
System.out.print(array[i]);
}
}
System.out.println();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
4,
18,
13,
40,
17,
30,
41,
13,
20,
41,
13,
41,
13,
17,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
14,
2,
13,
17,
30,
0,
13,
4,
18,
13,
13,
40,
13,
9,
41,
13,
4,
18,
13,
17,
17,
41,
13,
20,
13,
41,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
2,
13,
13,
18,
13,
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,
17,
4,
18,
18,
13,
13,
0,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
148,
11
],
[
148,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
15,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
27,
36
],
[
36,
37
],
[
36,
38
],
[
27,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
40,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
52,
59
],
[
59,
60
],
[
52,
61
],
[
47,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
64,
68
],
[
47,
69
],
[
69,
70
],
[
69,
71
],
[
47,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
47,
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
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
91,
97
],
[
97,
98
],
[
97,
99
],
[
47,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
105,
106
],
[
105,
107
],
[
100,
108
],
[
108,
109
],
[
109,
110
],
[
100,
111
],
[
112,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
118,
119
],
[
118,
120
],
[
112,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
124,
126
],
[
121,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
128,
133
],
[
47,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
47,
139
],
[
139,
140
],
[
139,
141
],
[
27,
142
],
[
142,
143
],
[
143,
144
],
[
12,
145
],
[
145,
146
],
[
0,
147
],
[
147,
148
],
[
147,
149
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.lang.Math;\n\npublic class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int c = 0;\n int count = 0;\n while((line = stdReader.readLine()) != null) {\n if(c == 0) {\n count = Integer.parseInt(line);\n c++;\n continue;\n }\n \n // ?????????????§???????????????§????????????????????\\??????\n String[] array = line.split(\" \", 0);\n \n // ????????????????????\\????????????\n String[] invArray = new String[count];\n int inv = count - 1;\n for(int i = 0; i < count; i++) {\n invArray[inv - i] = array[i];\n }\n \n // ??\\???????????????????????¨?????????\n for(int j = 0; j < count; j++) {\n System.out.print(invArray[j]);\n if(j != (count-1)) {\n System.out.print(\" \");\n }\n }\n System.out.println();\n c = 0;\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int c = 0;\n int count = 0;\n while((line = stdReader.readLine()) != null) {\n if(c == 0) {\n count = Integer.parseInt(line);\n c++;\n continue;\n }\n \n // ?????????????§???????????????§????????????????????\\??????\n String[] array = line.split(\" \", 0);\n \n // ????????????????????\\????????????\n String[] invArray = new String[count];\n int inv = count - 1;\n for(int i = 0; i < count; i++) {\n invArray[inv - i] = array[i];\n }\n \n // ??\\???????????????????????¨?????????\n for(int j = 0; j < count; j++) {\n System.out.print(invArray[j]);\n if(j != (count-1)) {\n System.out.print(\" \");\n }\n }\n System.out.println();\n c = 0;\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int c = 0;\n int count = 0;\n while((line = stdReader.readLine()) != null) {\n if(c == 0) {\n count = Integer.parseInt(line);\n c++;\n continue;\n }\n \n // ?????????????§???????????????§????????????????????\\??????\n String[] array = line.split(\" \", 0);\n \n // ????????????????????\\????????????\n String[] invArray = new String[count];\n int inv = count - 1;\n for(int i = 0; i < count; i++) {\n invArray[inv - i] = array[i];\n }\n \n // ??\\???????????????????????¨?????????\n for(int j = 0; j < count; j++) {\n System.out.print(invArray[j]);\n if(j != (count-1)) {\n System.out.print(\" \");\n }\n }\n System.out.println();\n c = 0;\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }",
"main",
"{\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int c = 0;\n int count = 0;\n while((line = stdReader.readLine()) != null) {\n if(c == 0) {\n count = Integer.parseInt(line);\n c++;\n continue;\n }\n \n // ?????????????§???????????????§????????????????????\\??????\n String[] array = line.split(\" \", 0);\n \n // ????????????????????\\????????????\n String[] invArray = new String[count];\n int inv = count - 1;\n for(int i = 0; i < count; i++) {\n invArray[inv - i] = array[i];\n }\n \n // ??\\???????????????????????¨?????????\n for(int j = 0; j < count; j++) {\n System.out.print(invArray[j]);\n if(j != (count-1)) {\n System.out.print(\" \");\n }\n }\n System.out.println();\n c = 0;\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }",
"try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int c = 0;\n int count = 0;\n while((line = stdReader.readLine()) != null) {\n if(c == 0) {\n count = Integer.parseInt(line);\n c++;\n continue;\n }\n \n // ?????????????§???????????????§????????????????????\\??????\n String[] array = line.split(\" \", 0);\n \n // ????????????????????\\????????????\n String[] invArray = new String[count];\n int inv = count - 1;\n for(int i = 0; i < count; i++) {\n invArray[inv - i] = array[i];\n }\n \n // ??\\???????????????????????¨?????????\n for(int j = 0; j < count; j++) {\n System.out.print(invArray[j]);\n if(j != (count-1)) {\n System.out.print(\" \");\n }\n }\n System.out.println();\n c = 0;\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }",
"catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }",
"Exception e",
"{\n e.getStackTrace();\n System.exit(-1);\n }",
"e.getStackTrace()",
"e.getStackTrace",
"e",
"System.exit(-1)",
"System.exit",
"System",
"-1",
"1",
"{\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int c = 0;\n int count = 0;\n while((line = stdReader.readLine()) != null) {\n if(c == 0) {\n count = Integer.parseInt(line);\n c++;\n continue;\n }\n \n // ?????????????§???????????????§????????????????????\\??????\n String[] array = line.split(\" \", 0);\n \n // ????????????????????\\????????????\n String[] invArray = new String[count];\n int inv = count - 1;\n for(int i = 0; i < count; i++) {\n invArray[inv - i] = array[i];\n }\n \n // ??\\???????????????????????¨?????????\n for(int j = 0; j < count; j++) {\n System.out.print(invArray[j]);\n if(j != (count-1)) {\n System.out.print(\" \");\n }\n }\n System.out.println();\n c = 0;\n }\n stdReader.close();\n }",
"BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));",
"stdReader",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"int c = 0;",
"c",
"0",
"int count = 0;",
"count",
"0",
"while((line = stdReader.readLine()) != null) {\n if(c == 0) {\n count = Integer.parseInt(line);\n c++;\n continue;\n }\n \n // ?????????????§???????????????§????????????????????\\??????\n String[] array = line.split(\" \", 0);\n \n // ????????????????????\\????????????\n String[] invArray = new String[count];\n int inv = count - 1;\n for(int i = 0; i < count; i++) {\n invArray[inv - i] = array[i];\n }\n \n // ??\\???????????????????????¨?????????\n for(int j = 0; j < count; j++) {\n System.out.print(invArray[j]);\n if(j != (count-1)) {\n System.out.print(\" \");\n }\n }\n System.out.println();\n c = 0;\n }",
"(line = stdReader.readLine()) != null",
"(line = stdReader.readLine())",
"line",
"stdReader.readLine()",
"stdReader.readLine",
"stdReader",
"null",
"{\n if(c == 0) {\n count = Integer.parseInt(line);\n c++;\n continue;\n }\n \n // ?????????????§???????????????§????????????????????\\??????\n String[] array = line.split(\" \", 0);\n \n // ????????????????????\\????????????\n String[] invArray = new String[count];\n int inv = count - 1;\n for(int i = 0; i < count; i++) {\n invArray[inv - i] = array[i];\n }\n \n // ??\\???????????????????????¨?????????\n for(int j = 0; j < count; j++) {\n System.out.print(invArray[j]);\n if(j != (count-1)) {\n System.out.print(\" \");\n }\n }\n System.out.println();\n c = 0;\n }",
"if(c == 0) {\n count = Integer.parseInt(line);\n c++;\n continue;\n }",
"c == 0",
"c",
"0",
"{\n count = Integer.parseInt(line);\n c++;\n continue;\n }",
"count = Integer.parseInt(line)",
"count",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"c++",
"c",
"continue;",
"String[] array = line.split(\" \", 0);",
"array",
"line.split(\" \", 0)",
"line.split",
"line",
"\" \"",
"0",
"String[] invArray = new String[count];",
"invArray",
"new String[count]",
"count",
"int inv = count - 1;",
"inv",
"count - 1",
"count",
"1",
"for(int i = 0; i < count; i++) {\n invArray[inv - i] = array[i];\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < count",
"i",
"count",
"i++",
"i++",
"i",
"{\n invArray[inv - i] = array[i];\n }",
"{\n invArray[inv - i] = array[i];\n }",
"invArray[inv - i] = array[i]",
"invArray[inv - i]",
"invArray",
"inv - i",
"inv",
"i",
"array[i]",
"array",
"i",
"for(int j = 0; j < count; j++) {\n System.out.print(invArray[j]);\n if(j != (count-1)) {\n System.out.print(\" \");\n }\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < count",
"j",
"count",
"j++",
"j++",
"j",
"{\n System.out.print(invArray[j]);\n if(j != (count-1)) {\n System.out.print(\" \");\n }\n }",
"{\n System.out.print(invArray[j]);\n if(j != (count-1)) {\n System.out.print(\" \");\n }\n }",
"System.out.print(invArray[j])",
"System.out.print",
"System.out",
"System",
"System.out",
"invArray[j]",
"invArray",
"j",
"if(j != (count-1)) {\n System.out.print(\" \");\n }",
"j != (count-1)",
"j",
"(count-1)",
"count",
"1",
"{\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",
"c = 0",
"c",
"0",
"stdReader.close()",
"stdReader.close",
"stdReader",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int c = 0;\n int count = 0;\n while((line = stdReader.readLine()) != null) {\n if(c == 0) {\n count = Integer.parseInt(line);\n c++;\n continue;\n }\n \n // ?????????????§???????????????§????????????????????\\??????\n String[] array = line.split(\" \", 0);\n \n // ????????????????????\\????????????\n String[] invArray = new String[count];\n int inv = count - 1;\n for(int i = 0; i < count; i++) {\n invArray[inv - i] = array[i];\n }\n \n // ??\\???????????????????????¨?????????\n for(int j = 0; j < count; j++) {\n System.out.print(invArray[j]);\n if(j != (count-1)) {\n System.out.print(\" \");\n }\n }\n System.out.println();\n c = 0;\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int c = 0;\n int count = 0;\n while((line = stdReader.readLine()) != null) {\n if(c == 0) {\n count = Integer.parseInt(line);\n c++;\n continue;\n }\n \n // ?????????????§???????????????§????????????????????\\??????\n String[] array = line.split(\" \", 0);\n \n // ????????????????????\\????????????\n String[] invArray = new String[count];\n int inv = count - 1;\n for(int i = 0; i < count; i++) {\n invArray[inv - i] = array[i];\n }\n \n // ??\\???????????????????????¨?????????\n for(int j = 0; j < count; j++) {\n System.out.print(invArray[j]);\n if(j != (count-1)) {\n System.out.print(\" \");\n }\n }\n System.out.println();\n c = 0;\n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.Math;
public class Main {
public static void main(String[] args) {
try {
BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
String line;
int c = 0;
int count = 0;
while((line = stdReader.readLine()) != null) {
if(c == 0) {
count = Integer.parseInt(line);
c++;
continue;
}
// ?????????????§???????????????§????????????????????\??????
String[] array = line.split(" ", 0);
// ????????????????????\????????????
String[] invArray = new String[count];
int inv = count - 1;
for(int i = 0; i < count; i++) {
invArray[inv - i] = array[i];
}
// ??\???????????????????????¨?????????
for(int j = 0; j < count; j++) {
System.out.print(invArray[j]);
if(j != (count-1)) {
System.out.print(" ");
}
}
System.out.println();
c = 0;
}
stdReader.close();
} catch(Exception e) {
e.getStackTrace();
System.exit(-1);
}
}
} |
[
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,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
87,
5
],
[
87,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
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
],
[
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
],
[
6,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"import java.util.Scanner;\n\npublic class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int[] a = new int[n];\n \n for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }\n \n for (int i = a.length - 1; i >= 0; i--) {\n if (i != 0) {\n System.out.printf(\"%d \", a[i]);\n }\n else {\n System.out.printf(\"%d\\n\", a[i]);\n }\n }\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int[] a = new int[n];\n \n for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }\n \n for (int i = a.length - 1; i >= 0; i--) {\n if (i != 0) {\n System.out.printf(\"%d \", a[i]);\n }\n else {\n System.out.printf(\"%d\\n\", a[i]);\n }\n }\n }\n}",
"Main",
"public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int[] a = new int[n];\n \n for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }\n \n for (int i = a.length - 1; i >= 0; i--) {\n if (i != 0) {\n System.out.printf(\"%d \", a[i]);\n }\n else {\n System.out.printf(\"%d\\n\", a[i]);\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int[] a = new int[n];\n \n for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }\n \n for (int i = a.length - 1; i >= 0; i--) {\n if (i != 0) {\n System.out.printf(\"%d \", a[i]);\n }\n else {\n System.out.printf(\"%d\\n\", a[i]);\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",
"for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"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 (int i = a.length - 1; i >= 0; i--) {\n if (i != 0) {\n System.out.printf(\"%d \", a[i]);\n }\n else {\n System.out.printf(\"%d\\n\", a[i]);\n }\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 if (i != 0) {\n System.out.printf(\"%d \", a[i]);\n }\n else {\n System.out.printf(\"%d\\n\", a[i]);\n }\n }",
"{\n if (i != 0) {\n System.out.printf(\"%d \", a[i]);\n }\n else {\n System.out.printf(\"%d\\n\", a[i]);\n }\n }",
"if (i != 0) {\n System.out.printf(\"%d \", a[i]);\n }\n else {\n System.out.printf(\"%d\\n\", 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\\n\", a[i]);\n }",
"System.out.printf(\"%d\\n\", a[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\\n\"",
"a[i]",
"a",
"i",
"String[] args",
"args",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int[] a = new int[n];\n \n for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }\n \n for (int i = a.length - 1; i >= 0; i--) {\n if (i != 0) {\n System.out.printf(\"%d \", a[i]);\n }\n else {\n System.out.printf(\"%d\\n\", a[i]);\n }\n }\n }\n}",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int[] a = new int[n];\n \n for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }\n \n for (int i = a.length - 1; i >= 0; i--) {\n if (i != 0) {\n System.out.printf(\"%d \", a[i]);\n }\n else {\n System.out.printf(\"%d\\n\", a[i]);\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];
for (int i = 0; i < a.length; i++) {
a[i] = sc.nextInt();
}
for (int i = a.length - 1; i >= 0; i--) {
if (i != 0) {
System.out.printf("%d ", a[i]);
}
else {
System.out.printf("%d\n", a[i]);
}
}
}
}
|
[
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,
18,
13,
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,
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
],
[
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
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
41,
50
],
[
50,
51
],
[
50,
52
],
[
41,
53
],
[
53,
54
],
[
54,
55
],
[
41,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
57,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
8,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
6,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\t//String a[] = scan.nextLine().split(\" \", n - 1);\n\t\tint a[] = new int[n];\n\t\tfor(int i = 0; i < n; i++){ //length???????´???°????????§??????????????§?????????\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\t\tfor(int i = a.length - 1; i >= 0; i--){ //length???????´???°????????§??????????????§?????????\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}\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\t@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\t//String a[] = scan.nextLine().split(\" \", n - 1);\n\t\tint a[] = new int[n];\n\t\tfor(int i = 0; i < n; i++){ //length???????´???°????????§??????????????§?????????\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\t\tfor(int i = a.length - 1; i >= 0; i--){ //length???????´???°????????§??????????????§?????????\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}\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\t//String a[] = scan.nextLine().split(\" \", n - 1);\n\t\tint a[] = new int[n];\n\t\tfor(int i = 0; i < n; i++){ //length???????´???°????????§??????????????§?????????\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\t\tfor(int i = a.length - 1; i >= 0; i--){ //length???????´???°????????§??????????????§?????????\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}\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\t//String a[] = scan.nextLine().split(\" \", n - 1);\n\t\tint a[] = new int[n];\n\t\tfor(int i = 0; i < n; i++){ //length???????´???°????????§??????????????§?????????\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\t\tfor(int i = a.length - 1; i >= 0; i--){ //length???????´???°????????§??????????????§?????????\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}\n\t\t}\n\t\tSystem.out.println();\n\t}",
"@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",
"int a[] = new int[n];",
"a",
"new int[n]",
"n",
"for(int i = 0; i < n; i++){ //length???????´???°????????§??????????????§?????????\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",
"{ //length???????´???°????????§??????????????§?????????\n\t\t\ta[i] = scan.nextInt();\n\t\t}",
"{ //length???????´???°????????§??????????????§?????????\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 = a.length - 1; i >= 0; i--){ //length???????´???°????????§??????????????§?????????\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}\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",
"{ //length???????´???°????????§??????????????§?????????\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}\n\t\t}",
"{ //length???????´???°????????§??????????????§?????????\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}\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}",
"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",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\t//String a[] = scan.nextLine().split(\" \", n - 1);\n\t\tint a[] = new int[n];\n\t\tfor(int i = 0; i < n; i++){ //length???????´???°????????§??????????????§?????????\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\t\tfor(int i = a.length - 1; i >= 0; i--){ //length???????´???°????????§??????????????§?????????\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}\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\t//String a[] = scan.nextLine().split(\" \", n - 1);\n\t\tint a[] = new int[n];\n\t\tfor(int i = 0; i < n; i++){ //length???????´???°????????§??????????????§?????????\n\t\t\ta[i] = scan.nextInt();\n\t\t}\n\t\tfor(int i = a.length - 1; i >= 0; i--){ //length???????´???°????????§??????????????§?????????\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}\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) {
@SuppressWarnings("resource")
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
//String a[] = scan.nextLine().split(" ", n - 1);
int a[] = new int[n];
for(int i = 0; i < n; i++){ //length???????´???°????????§??????????????§?????????
a[i] = scan.nextInt();
}
for(int i = a.length - 1; i >= 0; i--){ //length???????´???°????????§??????????????§?????????
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,
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,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
13,
2,
13,
17,
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,
4,
18,
13,
18,
13,
13,
17,
4,
18,
13,
18,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
138,
5
],
[
138,
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
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
55,
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
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
72,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
89,
91
],
[
72,
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
],
[
97,
107
],
[
107,
108
],
[
108,
109
],
[
97,
110
],
[
111,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
117,
118
],
[
117,
119
],
[
112,
120
],
[
8,
121
],
[
121,
122
],
[
122,
123
],
[
121,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
126,
128
],
[
8,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
6,
135
],
[
135,
136
],
[
0,
137
],
[
137,
138
],
[
137,
139
]
] | [
"import java.io.*;\n\npublic class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n int count = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n int[] num = new int[count];\n for(int i=0; i<count; i++){\n num[i] = Integer.parseInt(str[i]);\n }\n\n for(int i=0; i < count/2; i++){\n int k = count - (i+1);\n int swp = num[i];\n num[i] = num[k];\n num[k] = swp;\n }\n for(int i=0; i<count-1; i++){\n sb.append(num[i]).append(\" \");\n }\n sb.append(num[count-1]);\n System.out.println(sb);\n\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n int count = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n int[] num = new int[count];\n for(int i=0; i<count; i++){\n num[i] = Integer.parseInt(str[i]);\n }\n\n for(int i=0; i < count/2; i++){\n int k = count - (i+1);\n int swp = num[i];\n num[i] = num[k];\n num[k] = swp;\n }\n for(int i=0; i<count-1; i++){\n sb.append(num[i]).append(\" \");\n }\n sb.append(num[count-1]);\n System.out.println(sb);\n\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 count = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n int[] num = new int[count];\n for(int i=0; i<count; i++){\n num[i] = Integer.parseInt(str[i]);\n }\n\n for(int i=0; i < count/2; i++){\n int k = count - (i+1);\n int swp = num[i];\n num[i] = num[k];\n num[k] = swp;\n }\n for(int i=0; i<count-1; i++){\n sb.append(num[i]).append(\" \");\n }\n sb.append(num[count-1]);\n System.out.println(sb);\n\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n int count = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n int[] num = new int[count];\n for(int i=0; i<count; i++){\n num[i] = Integer.parseInt(str[i]);\n }\n\n for(int i=0; i < count/2; i++){\n int k = count - (i+1);\n int swp = num[i];\n num[i] = num[k];\n num[k] = swp;\n }\n for(int i=0; i<count-1; i++){\n sb.append(num[i]).append(\" \");\n }\n sb.append(num[count-1]);\n System.out.println(sb);\n\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int count = Integer.parseInt(br.readLine());",
"count",
"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",
"\" \"",
"int[] num = new int[count];",
"num",
"new int[count]",
"count",
"for(int i=0; i<count; i++){\n num[i] = Integer.parseInt(str[i]);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<count",
"i",
"count",
"i++",
"i++",
"i",
"{\n num[i] = Integer.parseInt(str[i]);\n }",
"{\n num[i] = Integer.parseInt(str[i]);\n }",
"num[i] = Integer.parseInt(str[i])",
"num[i]",
"num",
"i",
"Integer.parseInt(str[i])",
"Integer.parseInt",
"Integer",
"str[i]",
"str",
"i",
"for(int i=0; i < count/2; i++){\n int k = count - (i+1);\n int swp = num[i];\n num[i] = num[k];\n num[k] = swp;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i < count/2",
"i",
"count/2",
"count",
"2",
"i++",
"i++",
"i",
"{\n int k = count - (i+1);\n int swp = num[i];\n num[i] = num[k];\n num[k] = swp;\n }",
"{\n int k = count - (i+1);\n int swp = num[i];\n num[i] = num[k];\n num[k] = swp;\n }",
"int k = count - (i+1);",
"k",
"count - (i+1)",
"count",
"(i+1)",
"i",
"1",
"int swp = num[i];",
"swp",
"num[i]",
"num",
"i",
"num[i] = num[k]",
"num[i]",
"num",
"i",
"num[k]",
"num",
"k",
"num[k] = swp",
"num[k]",
"num",
"k",
"swp",
"for(int i=0; i<count-1; i++){\n sb.append(num[i]).append(\" \");\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<count-1",
"i",
"count-1",
"count",
"1",
"i++",
"i++",
"i",
"{\n sb.append(num[i]).append(\" \");\n }",
"{\n sb.append(num[i]).append(\" \");\n }",
"sb.append(num[i]).append(\" \")",
"sb.append(num[i]).append",
"sb.append(num[i])",
"sb.append",
"sb",
"num[i]",
"num",
"i",
"\" \"",
"sb.append(num[count-1])",
"sb.append",
"sb",
"num[count-1]",
"num",
"count-1",
"count",
"1",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"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 sb = new StringBuilder();\n\n int count = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n int[] num = new int[count];\n for(int i=0; i<count; i++){\n num[i] = Integer.parseInt(str[i]);\n }\n\n for(int i=0; i < count/2; i++){\n int k = count - (i+1);\n int swp = num[i];\n num[i] = num[k];\n num[k] = swp;\n }\n for(int i=0; i<count-1; i++){\n sb.append(num[i]).append(\" \");\n }\n sb.append(num[count-1]);\n System.out.println(sb);\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 sb = new StringBuilder();\n\n int count = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n int[] num = new int[count];\n for(int i=0; i<count; i++){\n num[i] = Integer.parseInt(str[i]);\n }\n\n for(int i=0; i < count/2; i++){\n int k = count - (i+1);\n int swp = num[i];\n num[i] = num[k];\n num[k] = swp;\n }\n for(int i=0; i<count-1; i++){\n sb.append(num[i]).append(\" \");\n }\n sb.append(num[count-1]);\n System.out.println(sb);\n\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));
StringBuilder sb = new StringBuilder();
int count = Integer.parseInt(br.readLine());
String[] str = br.readLine().split(" ");
int[] num = new int[count];
for(int i=0; i<count; i++){
num[i] = Integer.parseInt(str[i]);
}
for(int i=0; i < count/2; i++){
int k = count - (i+1);
int swp = num[i];
num[i] = num[k];
num[k] = swp;
}
for(int i=0; i<count-1; i++){
sb.append(num[i]).append(" ");
}
sb.append(num[count-1]);
System.out.println(sb);
}
} |
[
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,
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,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
4,
18,
13,
4,
18,
13,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
4,
18,
13,
17,
4,
18,
13,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
111,
11
],
[
111,
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
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
31,
36
],
[
14,
37
],
[
37,
38
],
[
37,
39
],
[
14,
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
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
14,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
14,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
75,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
88,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
99,
101
],
[
14,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
12,
108
],
[
108,
109
],
[
0,
110
],
[
110,
111
],
[
110,
112
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tint num = Integer.parseInt(reader.readLine());\n\t\tString data[] = reader.readLine().split(\" \");\n\t\tint[] ints = new int[num];\n\t\tfor(int i=0; i<num; i++){\n\t\t\tints[i] = Integer.parseInt(data[i]);\n\t\t}\n\t\t\n\t\tbuilder.append(Integer.toString(ints[num-1]));\n\t\tfor(int i=2; i<=num; i++){\n\t\t\tbuilder.append(\" \").append(Integer.toString(ints[num-i]));\n\t\t}\n\t\t\n\t\tSystem.out.println(builder);\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 reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tint num = Integer.parseInt(reader.readLine());\n\t\tString data[] = reader.readLine().split(\" \");\n\t\tint[] ints = new int[num];\n\t\tfor(int i=0; i<num; i++){\n\t\t\tints[i] = Integer.parseInt(data[i]);\n\t\t}\n\t\t\n\t\tbuilder.append(Integer.toString(ints[num-1]));\n\t\tfor(int i=2; i<=num; i++){\n\t\t\tbuilder.append(\" \").append(Integer.toString(ints[num-i]));\n\t\t}\n\t\t\n\t\tSystem.out.println(builder);\n\t\t\n\t}\n}",
"Main",
"public static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tint num = Integer.parseInt(reader.readLine());\n\t\tString data[] = reader.readLine().split(\" \");\n\t\tint[] ints = new int[num];\n\t\tfor(int i=0; i<num; i++){\n\t\t\tints[i] = Integer.parseInt(data[i]);\n\t\t}\n\t\t\n\t\tbuilder.append(Integer.toString(ints[num-1]));\n\t\tfor(int i=2; i<=num; i++){\n\t\t\tbuilder.append(\" \").append(Integer.toString(ints[num-i]));\n\t\t}\n\t\t\n\t\tSystem.out.println(builder);\n\t\t\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tint num = Integer.parseInt(reader.readLine());\n\t\tString data[] = reader.readLine().split(\" \");\n\t\tint[] ints = new int[num];\n\t\tfor(int i=0; i<num; i++){\n\t\t\tints[i] = Integer.parseInt(data[i]);\n\t\t}\n\t\t\n\t\tbuilder.append(Integer.toString(ints[num-1]));\n\t\tfor(int i=2; i<=num; i++){\n\t\t\tbuilder.append(\" \").append(Integer.toString(ints[num-i]));\n\t\t}\n\t\t\n\t\tSystem.out.println(builder);\n\t\t\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"int num = Integer.parseInt(reader.readLine());",
"num",
"Integer.parseInt(reader.readLine())",
"Integer.parseInt",
"Integer",
"reader.readLine()",
"reader.readLine",
"reader",
"String data[] = reader.readLine().split(\" \");",
"data",
"reader.readLine().split(\" \")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"int[] ints = new int[num];",
"ints",
"new int[num]",
"num",
"for(int i=0; i<num; i++){\n\t\t\tints[i] = Integer.parseInt(data[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<num",
"i",
"num",
"i++",
"i++",
"i",
"{\n\t\t\tints[i] = Integer.parseInt(data[i]);\n\t\t}",
"{\n\t\t\tints[i] = Integer.parseInt(data[i]);\n\t\t}",
"ints[i] = Integer.parseInt(data[i])",
"ints[i]",
"ints",
"i",
"Integer.parseInt(data[i])",
"Integer.parseInt",
"Integer",
"data[i]",
"data",
"i",
"builder.append(Integer.toString(ints[num-1]))",
"builder.append",
"builder",
"Integer.toString(ints[num-1])",
"Integer.toString",
"Integer",
"ints[num-1]",
"ints",
"num-1",
"num",
"1",
"for(int i=2; i<=num; i++){\n\t\t\tbuilder.append(\" \").append(Integer.toString(ints[num-i]));\n\t\t}",
"int i=2;",
"int i=2;",
"i",
"2",
"i<=num",
"i",
"num",
"i++",
"i++",
"i",
"{\n\t\t\tbuilder.append(\" \").append(Integer.toString(ints[num-i]));\n\t\t}",
"{\n\t\t\tbuilder.append(\" \").append(Integer.toString(ints[num-i]));\n\t\t}",
"builder.append(\" \").append(Integer.toString(ints[num-i]))",
"builder.append(\" \").append",
"builder.append(\" \")",
"builder.append",
"builder",
"\" \"",
"Integer.toString(ints[num-i])",
"Integer.toString",
"Integer",
"ints[num-i]",
"ints",
"num-i",
"num",
"i",
"System.out.println(builder)",
"System.out.println",
"System.out",
"System",
"System.out",
"builder",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tint num = Integer.parseInt(reader.readLine());\n\t\tString data[] = reader.readLine().split(\" \");\n\t\tint[] ints = new int[num];\n\t\tfor(int i=0; i<num; i++){\n\t\t\tints[i] = Integer.parseInt(data[i]);\n\t\t}\n\t\t\n\t\tbuilder.append(Integer.toString(ints[num-1]));\n\t\tfor(int i=2; i<=num; i++){\n\t\t\tbuilder.append(\" \").append(Integer.toString(ints[num-i]));\n\t\t}\n\t\t\n\t\tSystem.out.println(builder);\n\t\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tint num = Integer.parseInt(reader.readLine());\n\t\tString data[] = reader.readLine().split(\" \");\n\t\tint[] ints = new int[num];\n\t\tfor(int i=0; i<num; i++){\n\t\t\tints[i] = Integer.parseInt(data[i]);\n\t\t}\n\t\t\n\t\tbuilder.append(Integer.toString(ints[num-1]));\n\t\tfor(int i=2; i<=num; i++){\n\t\t\tbuilder.append(\" \").append(Integer.toString(ints[num-i]));\n\t\t}\n\t\t\n\t\tSystem.out.println(builder);\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 reader = new BufferedReader(new InputStreamReader(System.in));
StringBuilder builder = new StringBuilder();
int num = Integer.parseInt(reader.readLine());
String data[] = reader.readLine().split(" ");
int[] ints = new int[num];
for(int i=0; i<num; i++){
ints[i] = Integer.parseInt(data[i]);
}
builder.append(Integer.toString(ints[num-1]));
for(int i=2; i<=num; i++){
builder.append(" ").append(Integer.toString(ints[num-i]));
}
System.out.println(builder);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
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,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
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
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
16,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
52,
53
],
[
26,
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
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
26,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
84,
86
],
[
6,
87
],
[
87,
88
]
] | [
"// ITP1_6_A Reversing Numbers\n\nimport java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] a;\n int n = Integer.parseInt(sc.next());\n if (n <= 100) {\n a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = Integer.parseInt(sc.next());\n }\n for (int i = n - 1; i >= 1; i--) {\n System.out.print(a[i] + \" \");\n }\n System.out.println(a[0]);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] a;\n int n = Integer.parseInt(sc.next());\n if (n <= 100) {\n a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = Integer.parseInt(sc.next());\n }\n for (int i = n - 1; i >= 1; i--) {\n System.out.print(a[i] + \" \");\n }\n System.out.println(a[0]);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] a;\n int n = Integer.parseInt(sc.next());\n if (n <= 100) {\n a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = Integer.parseInt(sc.next());\n }\n for (int i = n - 1; i >= 1; i--) {\n System.out.print(a[i] + \" \");\n }\n System.out.println(a[0]);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int[] a;\n int n = Integer.parseInt(sc.next());\n if (n <= 100) {\n a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = Integer.parseInt(sc.next());\n }\n for (int i = n - 1; i >= 1; i--) {\n System.out.print(a[i] + \" \");\n }\n System.out.println(a[0]);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] a;",
"a",
"int n = Integer.parseInt(sc.next());",
"n",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"if (n <= 100) {\n a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = Integer.parseInt(sc.next());\n }\n for (int i = n - 1; i >= 1; i--) {\n System.out.print(a[i] + \" \");\n }\n System.out.println(a[0]);\n }",
"n <= 100",
"n",
"100",
"{\n a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = Integer.parseInt(sc.next());\n }\n for (int i = n - 1; i >= 1; i--) {\n System.out.print(a[i] + \" \");\n }\n System.out.println(a[0]);\n }",
"a = new int[n]",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = Integer.parseInt(sc.next());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = Integer.parseInt(sc.next());\n }",
"{\n a[i] = Integer.parseInt(sc.next());\n }",
"a[i] = Integer.parseInt(sc.next())",
"a[i]",
"a",
"i",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"for (int i = n - 1; i >= 1; i--) {\n System.out.print(a[i] + \" \");\n }",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"i >= 1",
"i",
"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[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[0]",
"a",
"0",
"String[] args",
"args"
] | // ITP1_6_A Reversing Numbers
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] a;
int n = Integer.parseInt(sc.next());
if (n <= 100) {
a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = Integer.parseInt(sc.next());
}
for (int i = n - 1; i >= 1; i--) {
System.out.print(a[i] + " ");
}
System.out.println(a[0]);
}
}
} |
[
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,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
13,
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,
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
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
27,
37
],
[
37,
38
],
[
38,
39
],
[
27,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
55,
64
],
[
64,
65
],
[
64,
66
],
[
55,
67
],
[
67,
68
],
[
68,
69
],
[
55,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
72,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
6,
96
],
[
96,
97
]
] | [
"\nimport java.util.Scanner;\n\nclass Main {\n public static void main(String args[]){\n\t\t\n\tScanner sc = new Scanner(System.in);\n\t\t\n\t//数列の長さを最初に、そのあとに数を受け取っていく\n\tString s1 = sc.next();\n int n = Integer.parseInt(s1);\n int a[] = new int[n];\n for(int i = 0;i < a.length; i++){\n String s2 = sc.next();\n a[i] = Integer.parseInt(s2);\n }\n \n //受け取った順番と逆の順番で出力する\n for(int i = (a.length - 1); i >= 0; i--){\n if(i != 0){\n \tSystem.out.print(a[i] + \" \");\n }\n else{\n \tSystem.out.println(a[i]);\n }\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String args[]){\n\t\t\n\tScanner sc = new Scanner(System.in);\n\t\t\n\t//数列の長さを最初に、そのあとに数を受け取っていく\n\tString s1 = sc.next();\n int n = Integer.parseInt(s1);\n int a[] = new int[n];\n for(int i = 0;i < a.length; i++){\n String s2 = sc.next();\n a[i] = Integer.parseInt(s2);\n }\n \n //受け取った順番と逆の順番で出力する\n for(int i = (a.length - 1); i >= 0; i--){\n if(i != 0){\n \tSystem.out.print(a[i] + \" \");\n }\n else{\n \tSystem.out.println(a[i]);\n }\n }\n }\n}",
"Main",
"public static void main(String args[]){\n\t\t\n\tScanner sc = new Scanner(System.in);\n\t\t\n\t//数列の長さを最初に、そのあとに数を受け取っていく\n\tString s1 = sc.next();\n int n = Integer.parseInt(s1);\n int a[] = new int[n];\n for(int i = 0;i < a.length; i++){\n String s2 = sc.next();\n a[i] = Integer.parseInt(s2);\n }\n \n //受け取った順番と逆の順番で出力する\n for(int i = (a.length - 1); i >= 0; i--){\n if(i != 0){\n \tSystem.out.print(a[i] + \" \");\n }\n else{\n \tSystem.out.println(a[i]);\n }\n }\n }",
"main",
"{\n\t\t\n\tScanner sc = new Scanner(System.in);\n\t\t\n\t//数列の長さを最初に、そのあとに数を受け取っていく\n\tString s1 = sc.next();\n int n = Integer.parseInt(s1);\n int a[] = new int[n];\n for(int i = 0;i < a.length; i++){\n String s2 = sc.next();\n a[i] = Integer.parseInt(s2);\n }\n \n //受け取った順番と逆の順番で出力する\n for(int i = (a.length - 1); i >= 0; i--){\n if(i != 0){\n \tSystem.out.print(a[i] + \" \");\n }\n else{\n \tSystem.out.println(a[i]);\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s1 = sc.next();",
"s1",
"sc.next()",
"sc.next",
"sc",
"int n = Integer.parseInt(s1);",
"n",
"Integer.parseInt(s1)",
"Integer.parseInt",
"Integer",
"s1",
"int a[] = new int[n];",
"a",
"new int[n]",
"n",
"for(int i = 0;i < a.length; i++){\n String s2 = sc.next();\n a[i] = Integer.parseInt(s2);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n String s2 = sc.next();\n a[i] = Integer.parseInt(s2);\n }",
"{\n String s2 = sc.next();\n a[i] = Integer.parseInt(s2);\n }",
"String s2 = sc.next();",
"s2",
"sc.next()",
"sc.next",
"sc",
"a[i] = Integer.parseInt(s2)",
"a[i]",
"a",
"i",
"Integer.parseInt(s2)",
"Integer.parseInt",
"Integer",
"s2",
"for(int i = (a.length - 1); i >= 0; i--){\n if(i != 0){\n \tSystem.out.print(a[i] + \" \");\n }\n else{\n \tSystem.out.println(a[i]);\n }\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 if(i != 0){\n \tSystem.out.print(a[i] + \" \");\n }\n else{\n \tSystem.out.println(a[i]);\n }\n }",
"{\n if(i != 0){\n \tSystem.out.print(a[i] + \" \");\n }\n else{\n \tSystem.out.println(a[i]);\n }\n }",
"if(i != 0){\n \tSystem.out.print(a[i] + \" \");\n }\n else{\n \tSystem.out.println(a[i]);\n }",
"i != 0",
"i",
"0",
"{\n \tSystem.out.print(a[i] + \" \");\n }",
"System.out.print(a[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i] + \" \"",
"a[i]",
"a",
"i",
"\" \"",
"{\n \tSystem.out.println(a[i]);\n }",
"System.out.println(a[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"String args[]",
"args"
] |
import java.util.Scanner;
class Main {
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
//数列の長さを最初に、そのあとに数を受け取っていく
String s1 = sc.next();
int n = Integer.parseInt(s1);
int a[] = new int[n];
for(int i = 0;i < a.length; i++){
String s2 = sc.next();
a[i] = Integer.parseInt(s2);
}
//受け取った順番と逆の順番で出力する
for(int i = (a.length - 1); i >= 0; i--){
if(i != 0){
System.out.print(a[i] + " ");
}
else{
System.out.println(a[i]);
}
}
}
} |
[
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,
14,
2,
13,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
13,
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
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
56,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
55,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
8,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
6,
81
],
[
81,
82
]
] | [
"import java.util.Scanner;\nclass Main{\npublic static void main(String[] args){\nScanner scan=new Scanner(System.in);\nint a=scan.nextInt();\nint[] c=new int[101];\nfor(int b=0;b<a;b++){\nc[b]=scan.nextInt();\n}\nfor(int e=a-1;e>=0;e--){\n\tif(e!=a-1)\n\t\tSystem.out.print(\" \");\n\t\t\nSystem.out.print(c[e]);\n}\nSystem.out.println();\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\npublic static void main(String[] args){\nScanner scan=new Scanner(System.in);\nint a=scan.nextInt();\nint[] c=new int[101];\nfor(int b=0;b<a;b++){\nc[b]=scan.nextInt();\n}\nfor(int e=a-1;e>=0;e--){\n\tif(e!=a-1)\n\t\tSystem.out.print(\" \");\n\t\t\nSystem.out.print(c[e]);\n}\nSystem.out.println();\n}\n}",
"Main",
"public static void main(String[] args){\nScanner scan=new Scanner(System.in);\nint a=scan.nextInt();\nint[] c=new int[101];\nfor(int b=0;b<a;b++){\nc[b]=scan.nextInt();\n}\nfor(int e=a-1;e>=0;e--){\n\tif(e!=a-1)\n\t\tSystem.out.print(\" \");\n\t\t\nSystem.out.print(c[e]);\n}\nSystem.out.println();\n}",
"main",
"{\nScanner scan=new Scanner(System.in);\nint a=scan.nextInt();\nint[] c=new int[101];\nfor(int b=0;b<a;b++){\nc[b]=scan.nextInt();\n}\nfor(int e=a-1;e>=0;e--){\n\tif(e!=a-1)\n\t\tSystem.out.print(\" \");\n\t\t\nSystem.out.print(c[e]);\n}\nSystem.out.println();\n}",
"Scanner scan=new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a=scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] c=new int[101];",
"c",
"new int[101]",
"101",
"for(int b=0;b<a;b++){\nc[b]=scan.nextInt();\n}",
"int b=0;",
"int b=0;",
"b",
"0",
"b<a",
"b",
"a",
"b++",
"b++",
"b",
"{\nc[b]=scan.nextInt();\n}",
"{\nc[b]=scan.nextInt();\n}",
"c[b]=scan.nextInt()",
"c[b]",
"c",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(int e=a-1;e>=0;e--){\n\tif(e!=a-1)\n\t\tSystem.out.print(\" \");\n\t\t\nSystem.out.print(c[e]);\n}",
"int e=a-1;",
"int e=a-1;",
"e",
"a-1",
"a",
"1",
"e>=0",
"e",
"0",
"e--",
"e--",
"e",
"{\n\tif(e!=a-1)\n\t\tSystem.out.print(\" \");\n\t\t\nSystem.out.print(c[e]);\n}",
"{\n\tif(e!=a-1)\n\t\tSystem.out.print(\" \");\n\t\t\nSystem.out.print(c[e]);\n}",
"if(e!=a-1)\n\t\tSystem.out.print(\" \");",
"e!=a-1",
"e",
"a-1",
"a",
"1",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.print(c[e])",
"System.out.print",
"System.out",
"System",
"System.out",
"c[e]",
"c",
"e",
"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 a=scan.nextInt();
int[] c=new int[101];
for(int b=0;b<a;b++){
c[b]=scan.nextInt();
}
for(int e=a-1;e>=0;e--){
if(e!=a-1)
System.out.print(" ");
System.out.print(c[e]);
}
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,
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,
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
],
[
89,
5
],
[
89,
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
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
40,
49
],
[
49,
50
],
[
49,
51
],
[
40,
52
],
[
52,
53
],
[
53,
54
],
[
40,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
57,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
8,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
6,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[]args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(); //yousoの中身に一つ目の入力を保存\n\t\tint[] a = new int[n];//arrayって名前の配列を作成。要素数はretu\n\t\tfor(int i=0; i< n; i++)a[i] = sc.nextInt(); //nの数だけ繰り返す。aを生成\n\t\tfor(int j=a.length-1 ; j>=0; j--) {\n\t\t\tif(j!=0) {\n\t\t\tSystem.out.print(a[j] + \" \");\n\t\t}else {\n\t\t\tSystem.out.print(a[j]);\n\t\t}\n\t\t}\n\t\tSystem.out.println();\n\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[]args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(); //yousoの中身に一つ目の入力を保存\n\t\tint[] a = new int[n];//arrayって名前の配列を作成。要素数はretu\n\t\tfor(int i=0; i< n; i++)a[i] = sc.nextInt(); //nの数だけ繰り返す。aを生成\n\t\tfor(int j=a.length-1 ; j>=0; j--) {\n\t\t\tif(j!=0) {\n\t\t\tSystem.out.print(a[j] + \" \");\n\t\t}else {\n\t\t\tSystem.out.print(a[j]);\n\t\t}\n\t\t}\n\t\tSystem.out.println();\n\n}\n}",
"Main",
"public static void main(String[]args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(); //yousoの中身に一つ目の入力を保存\n\t\tint[] a = new int[n];//arrayって名前の配列を作成。要素数はretu\n\t\tfor(int i=0; i< n; i++)a[i] = sc.nextInt(); //nの数だけ繰り返す。aを生成\n\t\tfor(int j=a.length-1 ; j>=0; j--) {\n\t\t\tif(j!=0) {\n\t\t\tSystem.out.print(a[j] + \" \");\n\t\t}else {\n\t\t\tSystem.out.print(a[j]);\n\t\t}\n\t\t}\n\t\tSystem.out.println();\n\n}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(); //yousoの中身に一つ目の入力を保存\n\t\tint[] a = new int[n];//arrayって名前の配列を作成。要素数はretu\n\t\tfor(int i=0; i< n; i++)a[i] = sc.nextInt(); //nの数だけ繰り返す。aを生成\n\t\tfor(int j=a.length-1 ; j>=0; j--) {\n\t\t\tif(j!=0) {\n\t\t\tSystem.out.print(a[j] + \" \");\n\t\t}else {\n\t\t\tSystem.out.print(a[j]);\n\t\t}\n\t\t}\n\t\tSystem.out.println();\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",
"for(int i=0; i< n; i++)a[i] = sc.nextInt(); //nの数だけ繰り返す。aを生成",
"int i=0;",
"int i=0;",
"i",
"0",
"i< n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = sc.nextInt(); //nの数だけ繰り返す。aを生成",
"a[i] = sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int j=a.length-1 ; j>=0; j--) {\n\t\t\tif(j!=0) {\n\t\t\tSystem.out.print(a[j] + \" \");\n\t\t}else {\n\t\t\tSystem.out.print(a[j]);\n\t\t}\n\t\t}",
"int j=a.length-1 ;",
"int j=a.length-1 ;",
"j",
"a.length-1",
"a.length",
"a",
"a.length",
"1",
"j>=0",
"j",
"0",
"j--",
"j--",
"j",
"{\n\t\t\tif(j!=0) {\n\t\t\tSystem.out.print(a[j] + \" \");\n\t\t}else {\n\t\t\tSystem.out.print(a[j]);\n\t\t}\n\t\t}",
"{\n\t\t\tif(j!=0) {\n\t\t\tSystem.out.print(a[j] + \" \");\n\t\t}else {\n\t\t\tSystem.out.print(a[j]);\n\t\t}\n\t\t}",
"if(j!=0) {\n\t\t\tSystem.out.print(a[j] + \" \");\n\t\t}else {\n\t\t\tSystem.out.print(a[j]);\n\t\t}",
"j!=0",
"j",
"0",
"{\n\t\t\tSystem.out.print(a[j] + \" \");\n\t\t}",
"System.out.print(a[j] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"a[j] + \" \"",
"a[j]",
"a",
"j",
"\" \"",
"{\n\t\t\tSystem.out.print(a[j]);\n\t\t}",
"System.out.print(a[j])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[j]",
"a",
"j",
"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\t\tint n = sc.nextInt(); //yousoの中身に一つ目の入力を保存\n\t\tint[] a = new int[n];//arrayって名前の配列を作成。要素数はretu\n\t\tfor(int i=0; i< n; i++)a[i] = sc.nextInt(); //nの数だけ繰り返す。aを生成\n\t\tfor(int j=a.length-1 ; j>=0; j--) {\n\t\t\tif(j!=0) {\n\t\t\tSystem.out.print(a[j] + \" \");\n\t\t}else {\n\t\t\tSystem.out.print(a[j]);\n\t\t}\n\t\t}\n\t\tSystem.out.println();\n\n}\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(); //yousoの中身に一つ目の入力を保存\n\t\tint[] a = new int[n];//arrayって名前の配列を作成。要素数はretu\n\t\tfor(int i=0; i< n; i++)a[i] = sc.nextInt(); //nの数だけ繰り返す。aを生成\n\t\tfor(int j=a.length-1 ; j>=0; j--) {\n\t\t\tif(j!=0) {\n\t\t\tSystem.out.print(a[j] + \" \");\n\t\t}else {\n\t\t\tSystem.out.print(a[j]);\n\t\t}\n\t\t}\n\t\tSystem.out.println();\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(); //yousoの中身に一つ目の入力を保存
int[] a = new int[n];//arrayって名前の配列を作成。要素数はretu
for(int i=0; i< n; i++)a[i] = sc.nextInt(); //nの数だけ繰り返す。aを生成
for(int j=a.length-1 ; j>=0; j--) {
if(j!=0) {
System.out.print(a[j] + " ");
}else {
System.out.print(a[j]);
}
}
System.out.println();
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
41,
13,
4,
18,
13,
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,
2,
4,
18,
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,
13,
2,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
87,
5
],
[
87,
6
],
[
6,
7
],
[
6,
8
],
[
87,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
15,
25
],
[
25,
26
],
[
25,
27
],
[
15,
28
],
[
28,
29
],
[
29,
30
],
[
15,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
11,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
50,
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
],
[
67,
68
],
[
66,
69
],
[
65,
70
],
[
11,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
79,
83
],
[
9,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"import java.util.*;\n\npublic class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n ArrayList<Integer> ali = new ArrayList<>();\n for(int i = 0, n = scn.nextInt(); i < n; i++) {\n ali.add(scn.nextInt());\n }\n Collections.reverse(ali);\n for(int i = 0; i < ali.size() - 1; i++) {\n System.out.print(ali.get(i) + \" \");\n }\n System.out.println(ali.get(ali.size() - 1));\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n ArrayList<Integer> ali = new ArrayList<>();\n for(int i = 0, n = scn.nextInt(); i < n; i++) {\n ali.add(scn.nextInt());\n }\n Collections.reverse(ali);\n for(int i = 0; i < ali.size() - 1; i++) {\n System.out.print(ali.get(i) + \" \");\n }\n System.out.println(ali.get(ali.size() - 1));\n }\n}",
"Main",
"private static final Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"public static void main(String[] args) {\n ArrayList<Integer> ali = new ArrayList<>();\n for(int i = 0, n = scn.nextInt(); i < n; i++) {\n ali.add(scn.nextInt());\n }\n Collections.reverse(ali);\n for(int i = 0; i < ali.size() - 1; i++) {\n System.out.print(ali.get(i) + \" \");\n }\n System.out.println(ali.get(ali.size() - 1));\n }",
"main",
"{\n ArrayList<Integer> ali = new ArrayList<>();\n for(int i = 0, n = scn.nextInt(); i < n; i++) {\n ali.add(scn.nextInt());\n }\n Collections.reverse(ali);\n for(int i = 0; i < ali.size() - 1; i++) {\n System.out.print(ali.get(i) + \" \");\n }\n System.out.println(ali.get(ali.size() - 1));\n }",
"ArrayList<Integer> ali = new ArrayList<>();",
"ali",
"new ArrayList<>()",
"for(int i = 0, n = scn.nextInt(); i < n; i++) {\n ali.add(scn.nextInt());\n }",
"int i = 0, n = scn.nextInt();",
"int i = 0",
"i",
"0",
"n = scn.nextInt();",
"n",
"scn.nextInt()",
"scn.nextInt",
"scn",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n ali.add(scn.nextInt());\n }",
"{\n ali.add(scn.nextInt());\n }",
"ali.add(scn.nextInt())",
"ali.add",
"ali",
"scn.nextInt()",
"scn.nextInt",
"scn",
"Collections.reverse(ali)",
"Collections.reverse",
"Collections",
"ali",
"for(int i = 0; i < ali.size() - 1; i++) {\n System.out.print(ali.get(i) + \" \");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < ali.size() - 1",
"i",
"ali.size() - 1",
"ali.size()",
"ali.size",
"ali",
"1",
"i++",
"i++",
"i",
"{\n System.out.print(ali.get(i) + \" \");\n }",
"{\n System.out.print(ali.get(i) + \" \");\n }",
"System.out.print(ali.get(i) + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"ali.get(i) + \" \"",
"ali.get(i)",
"ali.get",
"ali",
"i",
"\" \"",
"System.out.println(ali.get(ali.size() - 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"ali.get(ali.size() - 1)",
"ali.get",
"ali",
"ali.size() - 1",
"ali.size()",
"ali.size",
"ali",
"1",
"String[] args",
"args",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n ArrayList<Integer> ali = new ArrayList<>();\n for(int i = 0, n = scn.nextInt(); i < n; i++) {\n ali.add(scn.nextInt());\n }\n Collections.reverse(ali);\n for(int i = 0; i < ali.size() - 1; i++) {\n System.out.print(ali.get(i) + \" \");\n }\n System.out.println(ali.get(ali.size() - 1));\n }\n}",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n ArrayList<Integer> ali = new ArrayList<>();\n for(int i = 0, n = scn.nextInt(); i < n; i++) {\n ali.add(scn.nextInt());\n }\n Collections.reverse(ali);\n for(int i = 0; i < ali.size() - 1; i++) {\n System.out.print(ali.get(i) + \" \");\n }\n System.out.println(ali.get(ali.size() - 1));\n }\n}",
"Main"
] | import java.util.*;
public class Main {
private static final Scanner scn = new Scanner(System.in);
public static void main(String[] args) {
ArrayList<Integer> ali = new ArrayList<>();
for(int i = 0, n = scn.nextInt(); i < n; i++) {
ali.add(scn.nextInt());
}
Collections.reverse(ali);
for(int i = 0; i < ali.size() - 1; i++) {
System.out.print(ali.get(i) + " ");
}
System.out.println(ali.get(ali.size() - 1));
}
} |
[
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,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
80,
5
],
[
80,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
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
],
[
8,
74
],
[
74,
75
],
[
75,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n int[] nums = new int[n];\n\n for (int i=0; i<n; ++i) {\n nums[i] = sc.nextInt();\n }\n for (int i=n-1; i>0; --i) {\n System.out.print(nums[i] + \" \");\n }\n System.out.println(nums[0]);\n sc.close();\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\n int[] nums = new int[n];\n\n for (int i=0; i<n; ++i) {\n nums[i] = sc.nextInt();\n }\n for (int i=n-1; i>0; --i) {\n System.out.print(nums[i] + \" \");\n }\n System.out.println(nums[0]);\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n int[] nums = new int[n];\n\n for (int i=0; i<n; ++i) {\n nums[i] = sc.nextInt();\n }\n for (int i=n-1; i>0; --i) {\n System.out.print(nums[i] + \" \");\n }\n System.out.println(nums[0]);\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n int[] nums = new int[n];\n\n for (int i=0; i<n; ++i) {\n nums[i] = sc.nextInt();\n }\n for (int i=n-1; i>0; --i) {\n System.out.print(nums[i] + \" \");\n }\n System.out.println(nums[0]);\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[] nums = new int[n];",
"nums",
"new int[n]",
"n",
"for (int i=0; i<n; ++i) {\n nums[i] = sc.nextInt();\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"++i",
"++i",
"i",
"{\n nums[i] = sc.nextInt();\n }",
"{\n nums[i] = sc.nextInt();\n }",
"nums[i] = sc.nextInt()",
"nums[i]",
"nums",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int i=n-1; i>0; --i) {\n System.out.print(nums[i] + \" \");\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(nums[i] + \" \");\n }",
"{\n System.out.print(nums[i] + \" \");\n }",
"System.out.print(nums[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"nums[i] + \" \"",
"nums[i]",
"nums",
"i",
"\" \"",
"System.out.println(nums[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"nums[0]",
"nums",
"0",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n int[] nums = new int[n];\n\n for (int i=0; i<n; ++i) {\n nums[i] = sc.nextInt();\n }\n for (int i=n-1; i>0; --i) {\n System.out.print(nums[i] + \" \");\n }\n System.out.println(nums[0]);\n sc.close();\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\n int[] nums = new int[n];\n\n for (int i=0; i<n; ++i) {\n nums[i] = sc.nextInt();\n }\n for (int i=n-1; i>0; --i) {\n System.out.print(nums[i] + \" \");\n }\n System.out.println(nums[0]);\n sc.close();\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[] nums = new int[n];
for (int i=0; i<n; ++i) {
nums[i] = sc.nextInt();
}
for (int i=n-1; i>0; --i) {
System.out.print(nums[i] + " ");
}
System.out.println(nums[0]);
sc.close();
}
}
|
[
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,
4,
18,
18,
13,
13,
2,
18,
13,
2,
13,
13,
8,
2,
13,
17,
17,
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
],
[
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
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
59,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
65,
70
],
[
8,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
6,
76
],
[
76,
77
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint length = scanner.nextInt();\n\t\tint[] list = new int[length];\n\n\t\tfor (int i = 0; i < length; i++)\n\t\t\tlist[i] = scanner.nextInt();\n\n\t\tfor (int i = length - 1; i >= 0; i--)\n\t\t\tSystem.out.print(list[i % length] + (i > 0 ? \" \" : \"\"));\n\n\t\tSystem.out.println();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint length = scanner.nextInt();\n\t\tint[] list = new int[length];\n\n\t\tfor (int i = 0; i < length; i++)\n\t\t\tlist[i] = scanner.nextInt();\n\n\t\tfor (int i = length - 1; i >= 0; i--)\n\t\t\tSystem.out.print(list[i % length] + (i > 0 ? \" \" : \"\"));\n\n\t\tSystem.out.println();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint length = scanner.nextInt();\n\t\tint[] list = new int[length];\n\n\t\tfor (int i = 0; i < length; i++)\n\t\t\tlist[i] = scanner.nextInt();\n\n\t\tfor (int i = length - 1; i >= 0; i--)\n\t\t\tSystem.out.print(list[i % length] + (i > 0 ? \" \" : \"\"));\n\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint length = scanner.nextInt();\n\t\tint[] list = new int[length];\n\n\t\tfor (int i = 0; i < length; i++)\n\t\t\tlist[i] = scanner.nextInt();\n\n\t\tfor (int i = length - 1; i >= 0; i--)\n\t\t\tSystem.out.print(list[i % length] + (i > 0 ? \" \" : \"\"));\n\n\t\tSystem.out.println();\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int length = scanner.nextInt();",
"length",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int[] list = new int[length];",
"list",
"new int[length]",
"length",
"for (int i = 0; i < length; i++)\n\t\t\tlist[i] = scanner.nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < length",
"i",
"length",
"i++",
"i++",
"i",
"list[i] = scanner.nextInt();",
"list[i] = scanner.nextInt()",
"list[i]",
"list",
"i",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"for (int i = length - 1; i >= 0; i--)\n\t\t\tSystem.out.print(list[i % length] + (i > 0 ? \" \" : \"\"));",
"int i = length - 1;",
"int i = length - 1;",
"i",
"length - 1",
"length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"System.out.print(list[i % length] + (i > 0 ? \" \" : \"\"));",
"System.out.print(list[i % length] + (i > 0 ? \" \" : \"\"))",
"System.out.print",
"System.out",
"System",
"System.out",
"list[i % length] + (i > 0 ? \" \" : \"\")",
"list[i % length]",
"list",
"i % length",
"i",
"length",
"(i > 0 ? \" \" : \"\")",
"i > 0",
"i",
"0",
"\" \"",
"\"\"",
"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 scanner = new Scanner(System.in);
int length = scanner.nextInt();
int[] list = new int[length];
for (int i = 0; i < length; i++)
list[i] = scanner.nextInt();
for (int i = length - 1; i >= 0; i--)
System.out.print(list[i % length] + (i > 0 ? " " : ""));
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,
18,
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,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
18,
13,
13,
0,
13,
17,
4,
18,
18,
13,
13,
17,
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
],
[
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
],
[
43,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
46,
55
],
[
55,
56
],
[
55,
57
],
[
46,
58
],
[
58,
59
],
[
59,
60
],
[
46,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
62,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
62,
77
],
[
77,
78
],
[
77,
79
],
[
8,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
8,
86
],
[
86,
87
],
[
87,
88
],
[
6,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"import java.util.Scanner;\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 for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }\n String delimitor = \"\";\n for (int i = a.length - 1; i >= 0; i--) {\n System.out.print(delimitor);\n System.out.print(a[i]);\n delimitor = \" \";\n }\n System.out.printf(\"\\n\");\n\n // 以下で配列aの中身を逆順に表示しよう\n // 改行なしで表示する時は System.out.print(表示する値) を使おう\n // 改行だけを表示する時は System.out.println() を使おう\n sc.close();\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 for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }\n String delimitor = \"\";\n for (int i = a.length - 1; i >= 0; i--) {\n System.out.print(delimitor);\n System.out.print(a[i]);\n delimitor = \" \";\n }\n System.out.printf(\"\\n\");\n\n // 以下で配列aの中身を逆順に表示しよう\n // 改行なしで表示する時は System.out.print(表示する値) を使おう\n // 改行だけを表示する時は System.out.println() を使おう\n sc.close();\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 for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }\n String delimitor = \"\";\n for (int i = a.length - 1; i >= 0; i--) {\n System.out.print(delimitor);\n System.out.print(a[i]);\n delimitor = \" \";\n }\n System.out.printf(\"\\n\");\n\n // 以下で配列aの中身を逆順に表示しよう\n // 改行なしで表示する時は System.out.print(表示する値) を使おう\n // 改行だけを表示する時は System.out.println() を使おう\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }\n String delimitor = \"\";\n for (int i = a.length - 1; i >= 0; i--) {\n System.out.print(delimitor);\n System.out.print(a[i]);\n delimitor = \" \";\n }\n System.out.printf(\"\\n\");\n\n // 以下で配列aの中身を逆順に表示しよう\n // 改行なしで表示する時は System.out.print(表示する値) を使おう\n // 改行だけを表示する時は System.out.println() を使おう\n sc.close();\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",
"for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"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",
"String delimitor = \"\";",
"delimitor",
"\"\"",
"for (int i = a.length - 1; i >= 0; i--) {\n System.out.print(delimitor);\n System.out.print(a[i]);\n delimitor = \" \";\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 System.out.print(delimitor);\n System.out.print(a[i]);\n delimitor = \" \";\n }",
"{\n System.out.print(delimitor);\n System.out.print(a[i]);\n delimitor = \" \";\n }",
"System.out.print(delimitor)",
"System.out.print",
"System.out",
"System",
"System.out",
"delimitor",
"System.out.print(a[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"delimitor = \" \"",
"delimitor",
"\" \"",
"System.out.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }\n String delimitor = \"\";\n for (int i = a.length - 1; i >= 0; i--) {\n System.out.print(delimitor);\n System.out.print(a[i]);\n delimitor = \" \";\n }\n System.out.printf(\"\\n\");\n\n // 以下で配列aの中身を逆順に表示しよう\n // 改行なしで表示する時は System.out.print(表示する値) を使おう\n // 改行だけを表示する時は System.out.println() を使おう\n sc.close();\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 for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }\n String delimitor = \"\";\n for (int i = a.length - 1; i >= 0; i--) {\n System.out.print(delimitor);\n System.out.print(a[i]);\n delimitor = \" \";\n }\n System.out.printf(\"\\n\");\n\n // 以下で配列aの中身を逆順に表示しよう\n // 改行なしで表示する時は System.out.print(表示する値) を使おう\n // 改行だけを表示する時は System.out.println() を使おう\n sc.close();\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];
for (int i = 0; i < a.length; i++) {
a[i] = sc.nextInt();
}
String delimitor = "";
for (int i = a.length - 1; i >= 0; i--) {
System.out.print(delimitor);
System.out.print(a[i]);
delimitor = " ";
}
System.out.printf("\n");
// 以下で配列aの中身を逆順に表示しよう
// 改行なしで表示する時は System.out.print(表示する値) を使おう
// 改行だけを表示する時は System.out.println() を使おう
sc.close();
}
}
|
[
7,
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,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
14,
2,
13,
40,
40,
13,
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
],
[
87,
5
],
[
87,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
39,
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
],
[
62,
63
],
[
61,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
65,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
65,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
6,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scn = new Scanner(System.in);\n List<Integer> lis = new ArrayList<Integer>();\n int n = scn.nextInt();\n for(int i = 0; i < n; i++) {\n lis.add(scn.nextInt());\n }\n Collections.reverse(lis);\n for(int i = 0; i < n; i++) {\n System.out.print(lis.get(i));\n if(i == ~-n) {\n System.out.println();\n } else {\n System.out.print(\" \");\n }\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner scn = new Scanner(System.in);\n List<Integer> lis = new ArrayList<Integer>();\n int n = scn.nextInt();\n for(int i = 0; i < n; i++) {\n lis.add(scn.nextInt());\n }\n Collections.reverse(lis);\n for(int i = 0; i < n; i++) {\n System.out.print(lis.get(i));\n if(i == ~-n) {\n System.out.println();\n } else {\n System.out.print(\" \");\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scn = new Scanner(System.in);\n List<Integer> lis = new ArrayList<Integer>();\n int n = scn.nextInt();\n for(int i = 0; i < n; i++) {\n lis.add(scn.nextInt());\n }\n Collections.reverse(lis);\n for(int i = 0; i < n; i++) {\n System.out.print(lis.get(i));\n if(i == ~-n) {\n System.out.println();\n } else {\n System.out.print(\" \");\n }\n }\n }",
"main",
"{\n Scanner scn = new Scanner(System.in);\n List<Integer> lis = new ArrayList<Integer>();\n int n = scn.nextInt();\n for(int i = 0; i < n; i++) {\n lis.add(scn.nextInt());\n }\n Collections.reverse(lis);\n for(int i = 0; i < n; i++) {\n System.out.print(lis.get(i));\n if(i == ~-n) {\n System.out.println();\n } else {\n System.out.print(\" \");\n }\n }\n }",
"Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"List<Integer> lis = new ArrayList<Integer>();",
"lis",
"new ArrayList<Integer>()",
"int n = scn.nextInt();",
"n",
"scn.nextInt()",
"scn.nextInt",
"scn",
"for(int i = 0; i < n; i++) {\n lis.add(scn.nextInt());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n lis.add(scn.nextInt());\n }",
"{\n lis.add(scn.nextInt());\n }",
"lis.add(scn.nextInt())",
"lis.add",
"lis",
"scn.nextInt()",
"scn.nextInt",
"scn",
"Collections.reverse(lis)",
"Collections.reverse",
"Collections",
"lis",
"for(int i = 0; i < n; i++) {\n System.out.print(lis.get(i));\n if(i == ~-n) {\n System.out.println();\n } else {\n System.out.print(\" \");\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n System.out.print(lis.get(i));\n if(i == ~-n) {\n System.out.println();\n } else {\n System.out.print(\" \");\n }\n }",
"{\n System.out.print(lis.get(i));\n if(i == ~-n) {\n System.out.println();\n } else {\n System.out.print(\" \");\n }\n }",
"System.out.print(lis.get(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"lis.get(i)",
"lis.get",
"lis",
"i",
"if(i == ~-n) {\n System.out.println();\n } else {\n System.out.print(\" \");\n }",
"i == ~-n",
"i",
"~-n",
"-n",
"n",
"{\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) {\n Scanner scn = new Scanner(System.in);\n List<Integer> lis = new ArrayList<Integer>();\n int n = scn.nextInt();\n for(int i = 0; i < n; i++) {\n lis.add(scn.nextInt());\n }\n Collections.reverse(lis);\n for(int i = 0; i < n; i++) {\n System.out.print(lis.get(i));\n if(i == ~-n) {\n System.out.println();\n } else {\n System.out.print(\" \");\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scn = new Scanner(System.in);\n List<Integer> lis = new ArrayList<Integer>();\n int n = scn.nextInt();\n for(int i = 0; i < n; i++) {\n lis.add(scn.nextInt());\n }\n Collections.reverse(lis);\n for(int i = 0; i < n; i++) {\n System.out.print(lis.get(i));\n if(i == ~-n) {\n System.out.println();\n } else {\n System.out.print(\" \");\n }\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scn = new Scanner(System.in);
List<Integer> lis = new ArrayList<Integer>();
int n = scn.nextInt();
for(int i = 0; i < n; i++) {
lis.add(scn.nextInt());
}
Collections.reverse(lis);
for(int i = 0; i < n; i++) {
System.out.print(lis.get(i));
if(i == ~-n) {
System.out.println();
} else {
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,
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,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
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
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
56,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner in = new Scanner(System.in);\n\n\t\tint num = in.nextInt();\n\t\tint[] array = new int[num];\n\n\t\tfor(int cnt = 0; cnt < num; cnt++){\n\n\t\t\tarray[cnt] = in.nextInt();\n\n\t\t}\n\n\t\tfor(num = num-1; num >= 0; num--) {\n\n\t\t\tif(num != 0) {\n\n\t\t\t\tSystem.out.print(array[num] + \" \");\n\n\t\t\t}else {\n\n\t\t\t\tSystem.out.println(array[num]);\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\n\t\tScanner in = new Scanner(System.in);\n\n\t\tint num = in.nextInt();\n\t\tint[] array = new int[num];\n\n\t\tfor(int cnt = 0; cnt < num; cnt++){\n\n\t\t\tarray[cnt] = in.nextInt();\n\n\t\t}\n\n\t\tfor(num = num-1; num >= 0; num--) {\n\n\t\t\tif(num != 0) {\n\n\t\t\t\tSystem.out.print(array[num] + \" \");\n\n\t\t\t}else {\n\n\t\t\t\tSystem.out.println(array[num]);\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner in = new Scanner(System.in);\n\n\t\tint num = in.nextInt();\n\t\tint[] array = new int[num];\n\n\t\tfor(int cnt = 0; cnt < num; cnt++){\n\n\t\t\tarray[cnt] = in.nextInt();\n\n\t\t}\n\n\t\tfor(num = num-1; num >= 0; num--) {\n\n\t\t\tif(num != 0) {\n\n\t\t\t\tSystem.out.print(array[num] + \" \");\n\n\t\t\t}else {\n\n\t\t\t\tSystem.out.println(array[num]);\n\t\t\t}\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tScanner in = new Scanner(System.in);\n\n\t\tint num = in.nextInt();\n\t\tint[] array = new int[num];\n\n\t\tfor(int cnt = 0; cnt < num; cnt++){\n\n\t\t\tarray[cnt] = in.nextInt();\n\n\t\t}\n\n\t\tfor(num = num-1; num >= 0; num--) {\n\n\t\t\tif(num != 0) {\n\n\t\t\t\tSystem.out.print(array[num] + \" \");\n\n\t\t\t}else {\n\n\t\t\t\tSystem.out.println(array[num]);\n\t\t\t}\n\t\t}\n\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int num = in.nextInt();",
"num",
"in.nextInt()",
"in.nextInt",
"in",
"int[] array = new int[num];",
"array",
"new int[num]",
"num",
"for(int cnt = 0; cnt < num; cnt++){\n\n\t\t\tarray[cnt] = in.nextInt();\n\n\t\t}",
"int cnt = 0;",
"int cnt = 0;",
"cnt",
"0",
"cnt < num",
"cnt",
"num",
"cnt++",
"cnt++",
"cnt",
"{\n\n\t\t\tarray[cnt] = in.nextInt();\n\n\t\t}",
"{\n\n\t\t\tarray[cnt] = in.nextInt();\n\n\t\t}",
"array[cnt] = in.nextInt()",
"array[cnt]",
"array",
"cnt",
"in.nextInt()",
"in.nextInt",
"in",
"for(num = num-1; num >= 0; num--) {\n\n\t\t\tif(num != 0) {\n\n\t\t\t\tSystem.out.print(array[num] + \" \");\n\n\t\t\t}else {\n\n\t\t\t\tSystem.out.println(array[num]);\n\t\t\t}\n\t\t}",
"num = num-1;",
"num = num-1",
"num",
"num-1",
"num",
"1",
"num >= 0",
"num",
"0",
"num--",
"num--",
"num",
"{\n\n\t\t\tif(num != 0) {\n\n\t\t\t\tSystem.out.print(array[num] + \" \");\n\n\t\t\t}else {\n\n\t\t\t\tSystem.out.println(array[num]);\n\t\t\t}\n\t\t}",
"{\n\n\t\t\tif(num != 0) {\n\n\t\t\t\tSystem.out.print(array[num] + \" \");\n\n\t\t\t}else {\n\n\t\t\t\tSystem.out.println(array[num]);\n\t\t\t}\n\t\t}",
"if(num != 0) {\n\n\t\t\t\tSystem.out.print(array[num] + \" \");\n\n\t\t\t}else {\n\n\t\t\t\tSystem.out.println(array[num]);\n\t\t\t}",
"num != 0",
"num",
"0",
"{\n\n\t\t\t\tSystem.out.print(array[num] + \" \");\n\n\t\t\t}",
"System.out.print(array[num] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"array[num] + \" \"",
"array[num]",
"array",
"num",
"\" \"",
"{\n\n\t\t\t\tSystem.out.println(array[num]);\n\t\t\t}",
"System.out.println(array[num])",
"System.out.println",
"System.out",
"System",
"System.out",
"array[num]",
"array",
"num",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner in = new Scanner(System.in);\n\n\t\tint num = in.nextInt();\n\t\tint[] array = new int[num];\n\n\t\tfor(int cnt = 0; cnt < num; cnt++){\n\n\t\t\tarray[cnt] = in.nextInt();\n\n\t\t}\n\n\t\tfor(num = num-1; num >= 0; num--) {\n\n\t\t\tif(num != 0) {\n\n\t\t\t\tSystem.out.print(array[num] + \" \");\n\n\t\t\t}else {\n\n\t\t\t\tSystem.out.println(array[num]);\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner in = new Scanner(System.in);\n\n\t\tint num = in.nextInt();\n\t\tint[] array = new int[num];\n\n\t\tfor(int cnt = 0; cnt < num; cnt++){\n\n\t\t\tarray[cnt] = in.nextInt();\n\n\t\t}\n\n\t\tfor(num = num-1; num >= 0; num--) {\n\n\t\t\tif(num != 0) {\n\n\t\t\t\tSystem.out.print(array[num] + \" \");\n\n\t\t\t}else {\n\n\t\t\t\tSystem.out.println(array[num]);\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 in = new Scanner(System.in);
int num = in.nextInt();
int[] array = new int[num];
for(int cnt = 0; cnt < num; cnt++){
array[cnt] = in.nextInt();
}
for(num = num-1; num >= 0; num--) {
if(num != 0) {
System.out.print(array[num] + " ");
}else {
System.out.println(array[num]);
}
}
}
} |
[
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,
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
],
[
80,
5
],
[
80,
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
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
31,
40
],
[
40,
41
],
[
40,
42
],
[
31,
43
],
[
43,
44
],
[
44,
45
],
[
31,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
48,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.io.*;\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString str = br.readLine();\n String[] strs = str.split(\" \");\n\t\t//--- list内表示 ---\n\t\tfor(int i = strs.length-1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(strs[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(strs[i]);\n\t\t\t}//if\n\t\t}//for\n\t\tSystem.out.println();\n\t}\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\tint n = Integer.parseInt(br.readLine());\n\t\tString str = br.readLine();\n String[] strs = str.split(\" \");\n\t\t//--- list内表示 ---\n\t\tfor(int i = strs.length-1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(strs[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(strs[i]);\n\t\t\t}//if\n\t\t}//for\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\tint n = Integer.parseInt(br.readLine());\n\t\tString str = br.readLine();\n String[] strs = str.split(\" \");\n\t\t//--- list内表示 ---\n\t\tfor(int i = strs.length-1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(strs[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(strs[i]);\n\t\t\t}//if\n\t\t}//for\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString str = br.readLine();\n String[] strs = str.split(\" \");\n\t\t//--- list内表示 ---\n\t\tfor(int i = strs.length-1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(strs[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(strs[i]);\n\t\t\t}//if\n\t\t}//for\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 str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] strs = str.split(\" \");",
"strs",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"for(int i = strs.length-1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(strs[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(strs[i]);\n\t\t\t}//if\n\t\t}//for",
"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\tif(i != 0){\n\t\t\t\tSystem.out.print(strs[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(strs[i]);\n\t\t\t}//if\n\t\t}//for",
"{\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(strs[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(strs[i]);\n\t\t\t}//if\n\t\t}",
"if(i != 0){\n\t\t\t\tSystem.out.print(strs[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(strs[i]);\n\t\t\t}//if",
"i != 0",
"i",
"0",
"{\n\t\t\t\tSystem.out.print(strs[i] + \" \");\n\t\t\t}",
"System.out.print(strs[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"strs[i] + \" \"",
"strs[i]",
"strs",
"i",
"\" \"",
"{\n\t\t\t\tSystem.out.print(strs[i]);\n\t\t\t}",
"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\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 str = br.readLine();\n String[] strs = str.split(\" \");\n\t\t//--- list内表示 ---\n\t\tfor(int i = strs.length-1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(strs[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(strs[i]);\n\t\t\t}//if\n\t\t}//for\n\t\tSystem.out.println();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString str = br.readLine();\n String[] strs = str.split(\" \");\n\t\t//--- list内表示 ---\n\t\tfor(int i = strs.length-1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.print(strs[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(strs[i]);\n\t\t\t}//if\n\t\t}//for\n\t\tSystem.out.println();\n\t}\n}",
"Main"
] | import java.io.*;
public 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 str = br.readLine();
String[] strs = str.split(" ");
//--- list内表示 ---
for(int i = strs.length-1; i >= 0; i--){
if(i != 0){
System.out.print(strs[i] + " ");
}else{
System.out.print(strs[i]);
}//if
}//for
System.out.println();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
40,
17,
30,
41,
13,
20,
41,
13,
41,
13,
17,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
14,
2,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
41,
13,
17,
0,
13,
20,
13,
28,
13,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
40,
13,
3,
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,
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
],
[
146,
8
],
[
146,
9
],
[
9,
10
],
[
9,
11
],
[
146,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
15,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
30,
32
],
[
24,
33
],
[
33,
34
],
[
33,
35
],
[
24,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
51,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
44,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
67,
71
],
[
66,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
72,
79
],
[
79,
80
],
[
79,
81
],
[
72,
82
],
[
82,
83
],
[
82,
84
],
[
72,
86
],
[
86,
87
],
[
86,
88
],
[
86,
89
],
[
90,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
90,
99
],
[
99,
100
],
[
72,
101
],
[
24,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
106,
108
],
[
102,
109
],
[
109,
110
],
[
109,
111
],
[
102,
112
],
[
112,
113
],
[
113,
114
],
[
102,
115
],
[
116,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
122,
123
],
[
122,
124
],
[
116,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
24,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
24,
140
],
[
140,
141
],
[
141,
142
],
[
12,
143
],
[
143,
144
],
[
0,
145
],
[
145,
146
],
[
145,
147
]
] | [
"import java.io.InputStreamReader;\nimport java.io.LineNumberReader;\n\n/**\n * http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_6_A\n * \n * @author eitatsuro\n * \n */\npublic class Main {\n private final static String SPACE = \" \";\n public static void main(String[] args) {\n try {\n LineNumberReader stdReader = new LineNumberReader(\n new InputStreamReader(System.in));\n \n String sStr;\n int n = 0;\n int[] an = null;\n while ((sStr = stdReader.readLine()) != null) {\n \n // ????????????????????????\n if (stdReader.getLineNumber() == 1) {\n String[] inputs = sStr.split(\" \");\n n = Integer.valueOf(inputs[0]);\n }\n \n // 2?????????????????????\n if (stdReader.getLineNumber() == 2) {\n String[] inputs = sStr.split(\" \");\n int i = 0;\n an = new int[n];\n for (String input : inputs) {\n an[i] = Integer.parseInt(input);\n i++;\n }\n break;\n }\n }\n\n for (int i=n-1; i>=0; i--) {\n System.out.print(an[i]);\n if (i != 0) System.out.print(SPACE);\n }\n System.out.println();\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }\n \n }\n}",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.LineNumberReader;",
"LineNumberReader",
"java.io",
"public class Main {\n private final static String SPACE = \" \";\n public static void main(String[] args) {\n try {\n LineNumberReader stdReader = new LineNumberReader(\n new InputStreamReader(System.in));\n \n String sStr;\n int n = 0;\n int[] an = null;\n while ((sStr = stdReader.readLine()) != null) {\n \n // ????????????????????????\n if (stdReader.getLineNumber() == 1) {\n String[] inputs = sStr.split(\" \");\n n = Integer.valueOf(inputs[0]);\n }\n \n // 2?????????????????????\n if (stdReader.getLineNumber() == 2) {\n String[] inputs = sStr.split(\" \");\n int i = 0;\n an = new int[n];\n for (String input : inputs) {\n an[i] = Integer.parseInt(input);\n i++;\n }\n break;\n }\n }\n\n for (int i=n-1; i>=0; i--) {\n System.out.print(an[i]);\n if (i != 0) System.out.print(SPACE);\n }\n System.out.println();\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }\n \n }\n}",
"Main",
"private final static String SPACE = \" \";",
"SPACE",
"\" \"",
"public static void main(String[] args) {\n try {\n LineNumberReader stdReader = new LineNumberReader(\n new InputStreamReader(System.in));\n \n String sStr;\n int n = 0;\n int[] an = null;\n while ((sStr = stdReader.readLine()) != null) {\n \n // ????????????????????????\n if (stdReader.getLineNumber() == 1) {\n String[] inputs = sStr.split(\" \");\n n = Integer.valueOf(inputs[0]);\n }\n \n // 2?????????????????????\n if (stdReader.getLineNumber() == 2) {\n String[] inputs = sStr.split(\" \");\n int i = 0;\n an = new int[n];\n for (String input : inputs) {\n an[i] = Integer.parseInt(input);\n i++;\n }\n break;\n }\n }\n\n for (int i=n-1; i>=0; i--) {\n System.out.print(an[i]);\n if (i != 0) System.out.print(SPACE);\n }\n System.out.println();\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }\n \n }",
"main",
"{\n try {\n LineNumberReader stdReader = new LineNumberReader(\n new InputStreamReader(System.in));\n \n String sStr;\n int n = 0;\n int[] an = null;\n while ((sStr = stdReader.readLine()) != null) {\n \n // ????????????????????????\n if (stdReader.getLineNumber() == 1) {\n String[] inputs = sStr.split(\" \");\n n = Integer.valueOf(inputs[0]);\n }\n \n // 2?????????????????????\n if (stdReader.getLineNumber() == 2) {\n String[] inputs = sStr.split(\" \");\n int i = 0;\n an = new int[n];\n for (String input : inputs) {\n an[i] = Integer.parseInt(input);\n i++;\n }\n break;\n }\n }\n\n for (int i=n-1; i>=0; i--) {\n System.out.print(an[i]);\n if (i != 0) System.out.print(SPACE);\n }\n System.out.println();\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }\n \n }",
"try {\n LineNumberReader stdReader = new LineNumberReader(\n new InputStreamReader(System.in));\n \n String sStr;\n int n = 0;\n int[] an = null;\n while ((sStr = stdReader.readLine()) != null) {\n \n // ????????????????????????\n if (stdReader.getLineNumber() == 1) {\n String[] inputs = sStr.split(\" \");\n n = Integer.valueOf(inputs[0]);\n }\n \n // 2?????????????????????\n if (stdReader.getLineNumber() == 2) {\n String[] inputs = sStr.split(\" \");\n int i = 0;\n an = new int[n];\n for (String input : inputs) {\n an[i] = Integer.parseInt(input);\n i++;\n }\n break;\n }\n }\n\n for (int i=n-1; i>=0; i--) {\n System.out.print(an[i]);\n if (i != 0) System.out.print(SPACE);\n }\n System.out.println();\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }",
"catch (Exception e) {\n System.exit(-1);\n }",
"Exception e",
"{\n System.exit(-1);\n }",
"System.exit(-1)",
"System.exit",
"System",
"-1",
"1",
"{\n LineNumberReader stdReader = new LineNumberReader(\n new InputStreamReader(System.in));\n \n String sStr;\n int n = 0;\n int[] an = null;\n while ((sStr = stdReader.readLine()) != null) {\n \n // ????????????????????????\n if (stdReader.getLineNumber() == 1) {\n String[] inputs = sStr.split(\" \");\n n = Integer.valueOf(inputs[0]);\n }\n \n // 2?????????????????????\n if (stdReader.getLineNumber() == 2) {\n String[] inputs = sStr.split(\" \");\n int i = 0;\n an = new int[n];\n for (String input : inputs) {\n an[i] = Integer.parseInt(input);\n i++;\n }\n break;\n }\n }\n\n for (int i=n-1; i>=0; i--) {\n System.out.print(an[i]);\n if (i != 0) System.out.print(SPACE);\n }\n System.out.println();\n\n stdReader.close();\n }",
"LineNumberReader stdReader = new LineNumberReader(\n new InputStreamReader(System.in));",
"stdReader",
"new LineNumberReader(\n new InputStreamReader(System.in))",
"String sStr;",
"sStr",
"int n = 0;",
"n",
"0",
"int[] an = null;",
"an",
"null",
"while ((sStr = stdReader.readLine()) != null) {\n \n // ????????????????????????\n if (stdReader.getLineNumber() == 1) {\n String[] inputs = sStr.split(\" \");\n n = Integer.valueOf(inputs[0]);\n }\n \n // 2?????????????????????\n if (stdReader.getLineNumber() == 2) {\n String[] inputs = sStr.split(\" \");\n int i = 0;\n an = new int[n];\n for (String input : inputs) {\n an[i] = Integer.parseInt(input);\n i++;\n }\n break;\n }\n }",
"(sStr = stdReader.readLine()) != null",
"(sStr = stdReader.readLine())",
"sStr",
"stdReader.readLine()",
"stdReader.readLine",
"stdReader",
"null",
"{\n \n // ????????????????????????\n if (stdReader.getLineNumber() == 1) {\n String[] inputs = sStr.split(\" \");\n n = Integer.valueOf(inputs[0]);\n }\n \n // 2?????????????????????\n if (stdReader.getLineNumber() == 2) {\n String[] inputs = sStr.split(\" \");\n int i = 0;\n an = new int[n];\n for (String input : inputs) {\n an[i] = Integer.parseInt(input);\n i++;\n }\n break;\n }\n }",
"if (stdReader.getLineNumber() == 1) {\n String[] inputs = sStr.split(\" \");\n n = Integer.valueOf(inputs[0]);\n }",
"stdReader.getLineNumber() == 1",
"stdReader.getLineNumber()",
"stdReader.getLineNumber",
"stdReader",
"1",
"{\n String[] inputs = sStr.split(\" \");\n n = Integer.valueOf(inputs[0]);\n }",
"String[] inputs = sStr.split(\" \");",
"inputs",
"sStr.split(\" \")",
"sStr.split",
"sStr",
"\" \"",
"n = Integer.valueOf(inputs[0])",
"n",
"Integer.valueOf(inputs[0])",
"Integer.valueOf",
"Integer",
"inputs[0]",
"inputs",
"0",
"if (stdReader.getLineNumber() == 2) {\n String[] inputs = sStr.split(\" \");\n int i = 0;\n an = new int[n];\n for (String input : inputs) {\n an[i] = Integer.parseInt(input);\n i++;\n }\n break;\n }",
"stdReader.getLineNumber() == 2",
"stdReader.getLineNumber()",
"stdReader.getLineNumber",
"stdReader",
"2",
"{\n String[] inputs = sStr.split(\" \");\n int i = 0;\n an = new int[n];\n for (String input : inputs) {\n an[i] = Integer.parseInt(input);\n i++;\n }\n break;\n }",
"String[] inputs = sStr.split(\" \");",
"inputs",
"sStr.split(\" \")",
"sStr.split",
"sStr",
"\" \"",
"int i = 0;",
"i",
"0",
"an = new int[n]",
"an",
"new int[n]",
"n",
"for (String input : inputs) {\n an[i] = Integer.parseInt(input);\n i++;\n }",
"String input",
"inputs",
"{\n an[i] = Integer.parseInt(input);\n i++;\n }",
"{\n an[i] = Integer.parseInt(input);\n i++;\n }",
"an[i] = Integer.parseInt(input)",
"an[i]",
"an",
"i",
"Integer.parseInt(input)",
"Integer.parseInt",
"Integer",
"input",
"i++",
"i",
"break;",
"for (int i=n-1; i>=0; i--) {\n System.out.print(an[i]);\n if (i != 0) System.out.print(SPACE);\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(an[i]);\n if (i != 0) System.out.print(SPACE);\n }",
"{\n System.out.print(an[i]);\n if (i != 0) System.out.print(SPACE);\n }",
"System.out.print(an[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"an[i]",
"an",
"i",
"if (i != 0) System.out.print(SPACE);",
"i != 0",
"i",
"0",
"System.out.print(SPACE)",
"System.out.print",
"System.out",
"System",
"System.out",
"SPACE",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"stdReader.close()",
"stdReader.close",
"stdReader",
"String[] args",
"args",
"public class Main {\n private final static String SPACE = \" \";\n public static void main(String[] args) {\n try {\n LineNumberReader stdReader = new LineNumberReader(\n new InputStreamReader(System.in));\n \n String sStr;\n int n = 0;\n int[] an = null;\n while ((sStr = stdReader.readLine()) != null) {\n \n // ????????????????????????\n if (stdReader.getLineNumber() == 1) {\n String[] inputs = sStr.split(\" \");\n n = Integer.valueOf(inputs[0]);\n }\n \n // 2?????????????????????\n if (stdReader.getLineNumber() == 2) {\n String[] inputs = sStr.split(\" \");\n int i = 0;\n an = new int[n];\n for (String input : inputs) {\n an[i] = Integer.parseInt(input);\n i++;\n }\n break;\n }\n }\n\n for (int i=n-1; i>=0; i--) {\n System.out.print(an[i]);\n if (i != 0) System.out.print(SPACE);\n }\n System.out.println();\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }\n \n }\n}",
"public class Main {\n private final static String SPACE = \" \";\n public static void main(String[] args) {\n try {\n LineNumberReader stdReader = new LineNumberReader(\n new InputStreamReader(System.in));\n \n String sStr;\n int n = 0;\n int[] an = null;\n while ((sStr = stdReader.readLine()) != null) {\n \n // ????????????????????????\n if (stdReader.getLineNumber() == 1) {\n String[] inputs = sStr.split(\" \");\n n = Integer.valueOf(inputs[0]);\n }\n \n // 2?????????????????????\n if (stdReader.getLineNumber() == 2) {\n String[] inputs = sStr.split(\" \");\n int i = 0;\n an = new int[n];\n for (String input : inputs) {\n an[i] = Integer.parseInt(input);\n i++;\n }\n break;\n }\n }\n\n for (int i=n-1; i>=0; i--) {\n System.out.print(an[i]);\n if (i != 0) System.out.print(SPACE);\n }\n System.out.println();\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }\n \n }\n}",
"Main"
] | import java.io.InputStreamReader;
import java.io.LineNumberReader;
/**
* http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_6_A
*
* @author eitatsuro
*
*/
public class Main {
private final static String SPACE = " ";
public static void main(String[] args) {
try {
LineNumberReader stdReader = new LineNumberReader(
new InputStreamReader(System.in));
String sStr;
int n = 0;
int[] an = null;
while ((sStr = stdReader.readLine()) != null) {
// ????????????????????????
if (stdReader.getLineNumber() == 1) {
String[] inputs = sStr.split(" ");
n = Integer.valueOf(inputs[0]);
}
// 2?????????????????????
if (stdReader.getLineNumber() == 2) {
String[] inputs = sStr.split(" ");
int i = 0;
an = new int[n];
for (String input : inputs) {
an[i] = Integer.parseInt(input);
i++;
}
break;
}
}
for (int i=n-1; i>=0; i--) {
System.out.print(an[i]);
if (i != 0) System.out.print(SPACE);
}
System.out.println();
stdReader.close();
} catch (Exception e) {
System.exit(-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,
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\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger nInteger = Integer.parseInt(bufferedReader.readLine());\n\t\tString string =bufferedReader.readLine();\n\t\tString []str = string.split(\" \");\n\t\t\n\t\tfor(int i = str.length-1; i >= 0; i--){\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str[i]);\n\t\t\t}\n\t\t}System.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\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger nInteger = Integer.parseInt(bufferedReader.readLine());\n\t\tString string =bufferedReader.readLine();\n\t\tString []str = string.split(\" \");\n\t\t\n\t\tfor(int i = str.length-1; i >= 0; i--){\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str[i]);\n\t\t\t}\n\t\t}System.out.println();\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger nInteger = Integer.parseInt(bufferedReader.readLine());\n\t\tString string =bufferedReader.readLine();\n\t\tString []str = string.split(\" \");\n\t\t\n\t\tfor(int i = str.length-1; i >= 0; i--){\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str[i]);\n\t\t\t}\n\t\t}System.out.println();\n\t}",
"main",
"{\n\t\tBufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger nInteger = Integer.parseInt(bufferedReader.readLine());\n\t\tString string =bufferedReader.readLine();\n\t\tString []str = string.split(\" \");\n\t\t\n\t\tfor(int i = str.length-1; i >= 0; i--){\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str[i]);\n\t\t\t}\n\t\t}System.out.println();\n\t}",
"BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));",
"bufferedReader",
"new BufferedReader(new InputStreamReader(System.in))",
"Integer nInteger = Integer.parseInt(bufferedReader.readLine());",
"nInteger",
"Integer.parseInt(bufferedReader.readLine())",
"Integer.parseInt",
"Integer",
"bufferedReader.readLine()",
"bufferedReader.readLine",
"bufferedReader",
"String string =bufferedReader.readLine();",
"string",
"bufferedReader.readLine()",
"bufferedReader.readLine",
"bufferedReader",
"String []str = string.split(\" \");",
"str",
"string.split(\" \")",
"string.split",
"string",
"\" \"",
"for(int i = str.length-1; i >= 0; i--){\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str[i]);\n\t\t\t}\n\t\t}",
"int i = str.length-1;",
"int i = str.length-1;",
"i",
"str.length-1",
"str.length",
"str",
"str.length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str[i]);\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str[i]);\n\t\t\t}\n\t\t}",
"if (i != 0) {\n\t\t\t\tSystem.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str[i]);\n\t\t\t}",
"i != 0",
"i",
"0",
"{\n\t\t\t\tSystem.out.print(str[i] + \" \");\n\t\t\t}",
"System.out.print(str[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"str[i] + \" \"",
"str[i]",
"str",
"i",
"\" \"",
"{\n\t\t\t\tSystem.out.print(str[i]);\n\t\t\t}",
"System.out.print(str[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"str[i]",
"str",
"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) throws IOException{\n\t\tBufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger nInteger = Integer.parseInt(bufferedReader.readLine());\n\t\tString string =bufferedReader.readLine();\n\t\tString []str = string.split(\" \");\n\t\t\n\t\tfor(int i = str.length-1; i >= 0; i--){\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str[i]);\n\t\t\t}\n\t\t}System.out.println();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger nInteger = Integer.parseInt(bufferedReader.readLine());\n\t\tString string =bufferedReader.readLine();\n\t\tString []str = string.split(\" \");\n\t\t\n\t\tfor(int i = str.length-1; i >= 0; i--){\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str[i]);\n\t\t\t}\n\t\t}System.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 bufferedReader = new BufferedReader(new InputStreamReader(System.in));
Integer nInteger = Integer.parseInt(bufferedReader.readLine());
String string =bufferedReader.readLine();
String []str = string.split(" ");
for(int i = str.length-1; i >= 0; i--){
if (i != 0) {
System.out.print(str[i] + " ");
}else{
System.out.print(str[i]);
}
}System.out.println();
}
} |
[
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,
13,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
2,
13,
17,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
14,
2,
13,
2,
13,
17,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
2,
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,
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
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
54,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
11,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
4,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
80,
86
],
[
86,
87
]
] | [
"import java.util.*;\nclass Main{\n\tScanner sc=new Scanner(System.in);\n\tvoid aa(){\n\t\tint n=sc.nextInt();\n\t\tint[] N=new int[n];\n\t\tfor(int i=n;i>0;i--)N[i-1]=sc.nextInt();\n\t\tfor(int i=0;i<n;i++)if(i!=n-1)System.out.print(N[i]+\" \");\n\t\tSystem.out.println(N[n-1]);\n\t}\n\tpublic static void main(String[]arg){\n\t\tnew Main().aa();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tScanner sc=new Scanner(System.in);\n\tvoid aa(){\n\t\tint n=sc.nextInt();\n\t\tint[] N=new int[n];\n\t\tfor(int i=n;i>0;i--)N[i-1]=sc.nextInt();\n\t\tfor(int i=0;i<n;i++)if(i!=n-1)System.out.print(N[i]+\" \");\n\t\tSystem.out.println(N[n-1]);\n\t}\n\tpublic static void main(String[]arg){\n\t\tnew Main().aa();\n\t}\n}",
"Main",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"void aa(){\n\t\tint n=sc.nextInt();\n\t\tint[] N=new int[n];\n\t\tfor(int i=n;i>0;i--)N[i-1]=sc.nextInt();\n\t\tfor(int i=0;i<n;i++)if(i!=n-1)System.out.print(N[i]+\" \");\n\t\tSystem.out.println(N[n-1]);\n\t}",
"aa",
"{\n\t\tint n=sc.nextInt();\n\t\tint[] N=new int[n];\n\t\tfor(int i=n;i>0;i--)N[i-1]=sc.nextInt();\n\t\tfor(int i=0;i<n;i++)if(i!=n-1)System.out.print(N[i]+\" \");\n\t\tSystem.out.println(N[n-1]);\n\t}",
"int n=sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[] N=new int[n];",
"N",
"new int[n]",
"n",
"for(int i=n;i>0;i--)N[i-1]=sc.nextInt();",
"int i=n;",
"int i=n;",
"i",
"n",
"i>0",
"i",
"0",
"i--",
"i--",
"i",
"N[i-1]=sc.nextInt();",
"N[i-1]=sc.nextInt()",
"N[i-1]",
"N",
"i-1",
"i",
"1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i=0;i<n;i++)if(i!=n-1)System.out.print(N[i]+\" \");",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"if(i!=n-1)System.out.print(N[i]+\" \");",
"if(i!=n-1)System.out.print(N[i]+\" \");",
"i!=n-1",
"i",
"n-1",
"n",
"1",
"System.out.print(N[i]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"N[i]+\" \"",
"N[i]",
"N",
"i",
"\" \"",
"System.out.println(N[n-1])",
"System.out.println",
"System.out",
"System",
"System.out",
"N[n-1]",
"N",
"n-1",
"n",
"1",
"public static void main(String[]arg){\n\t\tnew Main().aa();\n\t}",
"main",
"{\n\t\tnew Main().aa();\n\t}",
"new Main().aa()",
"new Main().aa",
"new Main()",
"String[]arg",
"arg"
] | import java.util.*;
class Main{
Scanner sc=new Scanner(System.in);
void aa(){
int n=sc.nextInt();
int[] N=new int[n];
for(int i=n;i>0;i--)N[i-1]=sc.nextInt();
for(int i=0;i<n;i++)if(i!=n-1)System.out.print(N[i]+" ");
System.out.println(N[n-1]);
}
public static void main(String[]arg){
new Main().aa();
}
} |
[
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,
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,
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,
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
],
[
103,
14
],
[
103,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
31,
36
],
[
17,
37
],
[
37,
38
],
[
37,
39
],
[
17,
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
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
61,
64
],
[
17,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
65,
75
],
[
75,
76
],
[
76,
77
],
[
65,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
17,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
15,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\nimport java.util.ArrayList;\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String[] strArray = br.readLine().split(\" \");\n String[] strArray2 = new String[n];\n for(int i = 0;i < n;i++) {\n strArray2[i] = strArray[n-i-1];\n }\n for(int i = 0;i < (n-1);i++) {\n System.out.print(strArray2[i] + \" \");\n }\n System.out.println(strArray2[n-1]);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String[] strArray = br.readLine().split(\" \");\n String[] strArray2 = new String[n];\n for(int i = 0;i < n;i++) {\n strArray2[i] = strArray[n-i-1];\n }\n for(int i = 0;i < (n-1);i++) {\n System.out.print(strArray2[i] + \" \");\n }\n System.out.println(strArray2[n-1]);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String[] strArray = br.readLine().split(\" \");\n String[] strArray2 = new String[n];\n for(int i = 0;i < n;i++) {\n strArray2[i] = strArray[n-i-1];\n }\n for(int i = 0;i < (n-1);i++) {\n System.out.print(strArray2[i] + \" \");\n }\n System.out.println(strArray2[n-1]);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String[] strArray = br.readLine().split(\" \");\n String[] strArray2 = new String[n];\n for(int i = 0;i < n;i++) {\n strArray2[i] = strArray[n-i-1];\n }\n for(int i = 0;i < (n-1);i++) {\n System.out.print(strArray2[i] + \" \");\n }\n System.out.println(strArray2[n-1]);\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[] strArray = br.readLine().split(\" \");",
"strArray",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"String[] strArray2 = new String[n];",
"strArray2",
"new String[n]",
"n",
"for(int i = 0;i < n;i++) {\n strArray2[i] = strArray[n-i-1];\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n strArray2[i] = strArray[n-i-1];\n }",
"{\n strArray2[i] = strArray[n-i-1];\n }",
"strArray2[i] = strArray[n-i-1]",
"strArray2[i]",
"strArray2",
"i",
"strArray[n-i-1]",
"strArray",
"n-i-1",
"n-i-1",
"n",
"i",
"1",
"for(int i = 0;i < (n-1);i++) {\n System.out.print(strArray2[i] + \" \");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < (n-1)",
"i",
"(n-1)",
"n",
"1",
"i++",
"i++",
"i",
"{\n System.out.print(strArray2[i] + \" \");\n }",
"{\n System.out.print(strArray2[i] + \" \");\n }",
"System.out.print(strArray2[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"strArray2[i] + \" \"",
"strArray2[i]",
"strArray2",
"i",
"\" \"",
"System.out.println(strArray2[n-1])",
"System.out.println",
"System.out",
"System",
"System.out",
"strArray2[n-1]",
"strArray2",
"n-1",
"n",
"1",
"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 int n = Integer.parseInt(br.readLine());\n String[] strArray = br.readLine().split(\" \");\n String[] strArray2 = new String[n];\n for(int i = 0;i < n;i++) {\n strArray2[i] = strArray[n-i-1];\n }\n for(int i = 0;i < (n-1);i++) {\n System.out.print(strArray2[i] + \" \");\n }\n System.out.println(strArray2[n-1]);\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String[] strArray = br.readLine().split(\" \");\n String[] strArray2 = new String[n];\n for(int i = 0;i < n;i++) {\n strArray2[i] = strArray[n-i-1];\n }\n for(int i = 0;i < (n-1);i++) {\n System.out.print(strArray2[i] + \" \");\n }\n System.out.println(strArray2[n-1]);\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.util.ArrayList;
public 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[] strArray = br.readLine().split(" ");
String[] strArray2 = new String[n];
for(int i = 0;i < n;i++) {
strArray2[i] = strArray[n-i-1];
}
for(int i = 0;i < (n-1);i++) {
System.out.print(strArray2[i] + " ");
}
System.out.println(strArray2[n-1]);
}
} |
[
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,
41,
13,
4,
18,
20,
18,
13,
2,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
4,
18,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
82,
5
],
[
82,
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
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
50,
57
],
[
57,
58
],
[
57,
59
],
[
50,
60
],
[
60,
61
],
[
61,
62
],
[
50,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
64,
70
],
[
70,
71
],
[
70,
72
],
[
8,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] | [
"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 n = sc.nextInt();\n int[] a = new int[n];\n for(int i = 0;i < n;++i) a[i] = sc.nextInt();\n StringBuilder sb = new StringBuilder().append(a[n - 1]);\n for(int i = n - 2;i >= 0;--i) sb.append(' ').append(a[i]);\n System.out.println(sb);\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a = new int[n];\n for(int i = 0;i < n;++i) a[i] = sc.nextInt();\n StringBuilder sb = new StringBuilder().append(a[n - 1]);\n for(int i = n - 2;i >= 0;--i) sb.append(' ').append(a[i]);\n System.out.println(sb);\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 for(int i = 0;i < n;++i) a[i] = sc.nextInt();\n StringBuilder sb = new StringBuilder().append(a[n - 1]);\n for(int i = n - 2;i >= 0;--i) sb.append(' ').append(a[i]);\n System.out.println(sb);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a = new int[n];\n for(int i = 0;i < n;++i) a[i] = sc.nextInt();\n StringBuilder sb = new StringBuilder().append(a[n - 1]);\n for(int i = n - 2;i >= 0;--i) sb.append(' ').append(a[i]);\n System.out.println(sb);\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",
"for(int i = 0;i < n;++i) a[i] = sc.nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"++i",
"++i",
"i",
"a[i] = sc.nextInt();",
"a[i] = sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"StringBuilder sb = new StringBuilder().append(a[n - 1]);",
"sb",
"new StringBuilder().append(a[n - 1])",
"new StringBuilder().append",
"new StringBuilder()",
"a[n - 1]",
"a",
"n - 1",
"n",
"1",
"for(int i = n - 2;i >= 0;--i) sb.append(' ').append(a[i]);",
"int i = n - 2;",
"int i = n - 2;",
"i",
"n - 2",
"n",
"2",
"i >= 0",
"i",
"0",
"--i",
"--i",
"i",
"sb.append(' ').append(a[i]);",
"sb.append(' ').append(a[i])",
"sb.append(' ').append",
"sb.append(' ')",
"sb.append",
"sb",
"' '",
"a[i]",
"a",
"i",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a = new int[n];\n for(int i = 0;i < n;++i) a[i] = sc.nextInt();\n StringBuilder sb = new StringBuilder().append(a[n - 1]);\n for(int i = n - 2;i >= 0;--i) sb.append(' ').append(a[i]);\n System.out.println(sb);\n }\n\n}",
"public class Main {\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a = new int[n];\n for(int i = 0;i < n;++i) a[i] = sc.nextInt();\n StringBuilder sb = new StringBuilder().append(a[n - 1]);\n for(int i = n - 2;i >= 0;--i) sb.append(' ').append(a[i]);\n System.out.println(sb);\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];
for(int i = 0;i < n;++i) a[i] = sc.nextInt();
StringBuilder sb = new StringBuilder().append(a[n - 1]);
for(int i = n - 2;i >= 0;--i) sb.append(' ').append(a[i]);
System.out.println(sb);
}
} |
[
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,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
2,
2,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
18,
13,
2,
2,
13,
13,
17,
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
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
56,
56
],
[
56,
57
],
[
56,
58
],
[
56,
59
],
[
41,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
70,
70
],
[
70,
71
],
[
70,
72
],
[
70,
73
],
[
66,
74
],
[
6,
75
],
[
75,
76
]
] | [
"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\tint cnt = Integer.parseInt(br.readLine());\n\t\tString str[] = br.readLine().split(\" \");\n\t\tfor(int i=0;i<cnt;i++){\n\t\t\tif(i==cnt-1){\n\t\t\t\tSystem.out.println(str[cnt-i-1]);\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str[cnt-i-1]+\" \");\n\t\t\t}\n\t\t}\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\tint cnt = Integer.parseInt(br.readLine());\n\t\tString str[] = br.readLine().split(\" \");\n\t\tfor(int i=0;i<cnt;i++){\n\t\t\tif(i==cnt-1){\n\t\t\t\tSystem.out.println(str[cnt-i-1]);\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str[cnt-i-1]+\" \");\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\tint cnt = Integer.parseInt(br.readLine());\n\t\tString str[] = br.readLine().split(\" \");\n\t\tfor(int i=0;i<cnt;i++){\n\t\t\tif(i==cnt-1){\n\t\t\t\tSystem.out.println(str[cnt-i-1]);\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str[cnt-i-1]+\" \");\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint cnt = Integer.parseInt(br.readLine());\n\t\tString str[] = br.readLine().split(\" \");\n\t\tfor(int i=0;i<cnt;i++){\n\t\t\tif(i==cnt-1){\n\t\t\t\tSystem.out.println(str[cnt-i-1]);\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str[cnt-i-1]+\" \");\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 cnt = Integer.parseInt(br.readLine());",
"cnt",
"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=0;i<cnt;i++){\n\t\t\tif(i==cnt-1){\n\t\t\t\tSystem.out.println(str[cnt-i-1]);\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str[cnt-i-1]+\" \");\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<cnt",
"i",
"cnt",
"i++",
"i++",
"i",
"{\n\t\t\tif(i==cnt-1){\n\t\t\t\tSystem.out.println(str[cnt-i-1]);\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str[cnt-i-1]+\" \");\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(i==cnt-1){\n\t\t\t\tSystem.out.println(str[cnt-i-1]);\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str[cnt-i-1]+\" \");\n\t\t\t}\n\t\t}",
"if(i==cnt-1){\n\t\t\t\tSystem.out.println(str[cnt-i-1]);\n\t\t\t}else{\n\t\t\t\tSystem.out.print(str[cnt-i-1]+\" \");\n\t\t\t}",
"i==cnt-1",
"i",
"cnt-1",
"cnt",
"1",
"{\n\t\t\t\tSystem.out.println(str[cnt-i-1]);\n\t\t\t}",
"System.out.println(str[cnt-i-1])",
"System.out.println",
"System.out",
"System",
"System.out",
"str[cnt-i-1]",
"str",
"cnt-i-1",
"cnt-i-1",
"cnt",
"i",
"1",
"{\n\t\t\t\tSystem.out.print(str[cnt-i-1]+\" \");\n\t\t\t}",
"System.out.print(str[cnt-i-1]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"str[cnt-i-1]+\" \"",
"str[cnt-i-1]",
"str",
"cnt-i-1",
"cnt-i-1",
"cnt",
"i",
"1",
"\" \"",
"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 cnt = Integer.parseInt(br.readLine());
String str[] = br.readLine().split(" ");
for(int i=0;i<cnt;i++){
if(i==cnt-1){
System.out.println(str[cnt-i-1]);
}else{
System.out.print(str[cnt-i-1]+" ");
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
20,
23,
13,
12,
13,
30,
4,
18,
20,
6,
13,
12,
13,
30,
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,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
87,
5
],
[
87,
6
],
[
6,
7
],
[
6,
8
],
[
87,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
9,
13
],
[
13,
14
],
[
87,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
87,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
31,
33
],
[
25,
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
],
[
25,
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
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
25,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
83,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"import java.util.*;\n \npublic class Main {\n Scanner sc = new Scanner(System.in);\n \n public static void main(String[] args) {\n new Main(); \n }\n \n public Main() {\n new TEST().doIt();\n }\n class TEST{\n void doIt(){\n \tint n = sc.nextInt();\n \tint a[] = new int [n];\n \tfor(int i = 0;i < n;i++)a[i] = sc.nextInt();\n \tfor(int i = n-1;i > 0;i--)System.out.print(a[i]+\" \");\n \tSystem.out.println(a[0]);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n Scanner sc = new Scanner(System.in);\n \n public static void main(String[] args) {\n new Main(); \n }\n \n public Main() {\n new TEST().doIt();\n }\n class TEST{\n void doIt(){\n \tint n = sc.nextInt();\n \tint a[] = new int [n];\n \tfor(int i = 0;i < n;i++)a[i] = sc.nextInt();\n \tfor(int i = n-1;i > 0;i--)System.out.print(a[i]+\" \");\n \tSystem.out.println(a[0]);\n }\n }\n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n new Main(); \n }",
"main",
"{\n new Main(); \n }",
"new Main()",
"String[] args",
"args",
"public Main() {\n new TEST().doIt();\n }",
"Main",
"{\n new TEST().doIt();\n }",
"new TEST().doIt()",
"new TEST().doIt",
"new TEST()",
"class TEST{\n void doIt(){\n \tint n = sc.nextInt();\n \tint a[] = new int [n];\n \tfor(int i = 0;i < n;i++)a[i] = sc.nextInt();\n \tfor(int i = n-1;i > 0;i--)System.out.print(a[i]+\" \");\n \tSystem.out.println(a[0]);\n }\n }",
"TEST",
"void doIt(){\n \tint n = sc.nextInt();\n \tint a[] = new int [n];\n \tfor(int i = 0;i < n;i++)a[i] = sc.nextInt();\n \tfor(int i = n-1;i > 0;i--)System.out.print(a[i]+\" \");\n \tSystem.out.println(a[0]);\n }",
"doIt",
"{\n \tint n = sc.nextInt();\n \tint a[] = new int [n];\n \tfor(int i = 0;i < n;i++)a[i] = sc.nextInt();\n \tfor(int i = n-1;i > 0;i--)System.out.print(a[i]+\" \");\n \tSystem.out.println(a[0]);\n }",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int a[] = new int [n];",
"a",
"new int [n]",
"n",
"for(int i = 0;i < n;i++)a[i] = sc.nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = sc.nextInt();",
"a[i] = sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i = n-1;i > 0;i--)System.out.print(a[i]+\" \");",
"int i = n-1;",
"int i = n-1;",
"i",
"n-1",
"n",
"1",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"System.out.print(a[i]+\" \");",
"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 class Main {\n Scanner sc = new Scanner(System.in);\n \n public static void main(String[] args) {\n new Main(); \n }\n \n public Main() {\n new TEST().doIt();\n }\n class TEST{\n void doIt(){\n \tint n = sc.nextInt();\n \tint a[] = new int [n];\n \tfor(int i = 0;i < n;i++)a[i] = sc.nextInt();\n \tfor(int i = n-1;i > 0;i--)System.out.print(a[i]+\" \");\n \tSystem.out.println(a[0]);\n }\n }\n}",
"public class Main {\n Scanner sc = new Scanner(System.in);\n \n public static void main(String[] args) {\n new Main(); \n }\n \n public Main() {\n new TEST().doIt();\n }\n class TEST{\n void doIt(){\n \tint n = sc.nextInt();\n \tint a[] = new int [n];\n \tfor(int i = 0;i < n;i++)a[i] = sc.nextInt();\n \tfor(int i = n-1;i > 0;i--)System.out.print(a[i]+\" \");\n \tSystem.out.println(a[0]);\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
new Main();
}
public Main() {
new TEST().doIt();
}
class TEST{
void doIt(){
int n = sc.nextInt();
int a[] = new int [n];
for(int i = 0;i < n;i++)a[i] = sc.nextInt();
for(int i = n-1;i > 0;i--)System.out.print(a[i]+" ");
System.out.println(a[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,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
4,
18,
13,
18,
13,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
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
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
71,
73
],
[
8,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder output = new StringBuilder();\n\t\t\n\t\tint n = scan.nextInt();\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextLong();\n\t\t}\n\t\tfor (int i = n-1; i > 0; i--) {\n\t\t\toutput.append(a[i]).append(\" \");\n\t\t}\n\t\toutput.append(a[0]);\n\t\tSystem.out.println(output);\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\t\tStringBuilder output = new StringBuilder();\n\t\t\n\t\tint n = scan.nextInt();\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextLong();\n\t\t}\n\t\tfor (int i = n-1; i > 0; i--) {\n\t\t\toutput.append(a[i]).append(\" \");\n\t\t}\n\t\toutput.append(a[0]);\n\t\tSystem.out.println(output);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder output = new StringBuilder();\n\t\t\n\t\tint n = scan.nextInt();\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextLong();\n\t\t}\n\t\tfor (int i = n-1; i > 0; i--) {\n\t\t\toutput.append(a[i]).append(\" \");\n\t\t}\n\t\toutput.append(a[0]);\n\t\tSystem.out.println(output);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder output = new StringBuilder();\n\t\t\n\t\tint n = scan.nextInt();\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextLong();\n\t\t}\n\t\tfor (int i = n-1; i > 0; i--) {\n\t\t\toutput.append(a[i]).append(\" \");\n\t\t}\n\t\toutput.append(a[0]);\n\t\tSystem.out.println(output);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"StringBuilder output = new StringBuilder();",
"output",
"new StringBuilder()",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextLong();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = scan.nextLong();\n\t\t}",
"{\n\t\t\ta[i] = scan.nextLong();\n\t\t}",
"a[i] = scan.nextLong()",
"a[i]",
"a",
"i",
"scan.nextLong()",
"scan.nextLong",
"scan",
"for (int i = n-1; i > 0; i--) {\n\t\t\toutput.append(a[i]).append(\" \");\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\toutput.append(a[i]).append(\" \");\n\t\t}",
"{\n\t\t\toutput.append(a[i]).append(\" \");\n\t\t}",
"output.append(a[i]).append(\" \")",
"output.append(a[i]).append",
"output.append(a[i])",
"output.append",
"output",
"a[i]",
"a",
"i",
"\" \"",
"output.append(a[0])",
"output.append",
"output",
"a[0]",
"a",
"0",
"System.out.println(output)",
"System.out.println",
"System.out",
"System",
"System.out",
"output",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder output = new StringBuilder();\n\t\t\n\t\tint n = scan.nextInt();\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextLong();\n\t\t}\n\t\tfor (int i = n-1; i > 0; i--) {\n\t\t\toutput.append(a[i]).append(\" \");\n\t\t}\n\t\toutput.append(a[0]);\n\t\tSystem.out.println(output);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder output = new StringBuilder();\n\t\t\n\t\tint n = scan.nextInt();\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextLong();\n\t\t}\n\t\tfor (int i = n-1; i > 0; i--) {\n\t\t\toutput.append(a[i]).append(\" \");\n\t\t}\n\t\toutput.append(a[0]);\n\t\tSystem.out.println(output);\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
StringBuilder output = new StringBuilder();
int n = scan.nextInt();
long[] a = new long[n];
for (int i = 0; i < n; i++) {
a[i] = scan.nextLong();
}
for (int i = n-1; i > 0; i--) {
output.append(a[i]).append(" ");
}
output.append(a[0]);
System.out.println(output);
}
} |
[
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,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
13,
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
],
[
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
],
[
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
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
40,
49
],
[
49,
50
],
[
49,
51
],
[
40,
52
],
[
52,
53
],
[
53,
54
],
[
40,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
57,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
6,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a = scanner.nextInt();\n\t\tint[] b = new int[a];\n\t\tfor (int i = 0; i < a; i++)\n\t\t\tb[i] = scanner.nextInt();\n\t\tfor (int i = b.length - 1; i >= 0; i--) {\n\t\t\tif (i == b.length - 1)\n\t\t\t\tSystem.out.print(b[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(\" \" + b[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 scanner = new Scanner(System.in);\n\t\tint a = scanner.nextInt();\n\t\tint[] b = new int[a];\n\t\tfor (int i = 0; i < a; i++)\n\t\t\tb[i] = scanner.nextInt();\n\t\tfor (int i = b.length - 1; i >= 0; i--) {\n\t\t\tif (i == b.length - 1)\n\t\t\t\tSystem.out.print(b[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(\" \" + b[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a = scanner.nextInt();\n\t\tint[] b = new int[a];\n\t\tfor (int i = 0; i < a; i++)\n\t\t\tb[i] = scanner.nextInt();\n\t\tfor (int i = b.length - 1; i >= 0; i--) {\n\t\t\tif (i == b.length - 1)\n\t\t\t\tSystem.out.print(b[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(\" \" + b[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a = scanner.nextInt();\n\t\tint[] b = new int[a];\n\t\tfor (int i = 0; i < a; i++)\n\t\t\tb[i] = scanner.nextInt();\n\t\tfor (int i = b.length - 1; i >= 0; i--) {\n\t\t\tif (i == b.length - 1)\n\t\t\t\tSystem.out.print(b[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(\" \" + b[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int[] b = new int[a];",
"b",
"new int[a]",
"a",
"for (int i = 0; i < a; i++)\n\t\t\tb[i] = scanner.nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a",
"i",
"a",
"i++",
"i++",
"i",
"b[i] = scanner.nextInt();",
"b[i] = scanner.nextInt()",
"b[i]",
"b",
"i",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"for (int i = b.length - 1; i >= 0; i--) {\n\t\t\tif (i == b.length - 1)\n\t\t\t\tSystem.out.print(b[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(\" \" + b[i]);\n\t\t}",
"int i = b.length - 1;",
"int i = b.length - 1;",
"i",
"b.length - 1",
"b.length",
"b",
"b.length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tif (i == b.length - 1)\n\t\t\t\tSystem.out.print(b[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(\" \" + b[i]);\n\t\t}",
"{\n\t\t\tif (i == b.length - 1)\n\t\t\t\tSystem.out.print(b[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(\" \" + b[i]);\n\t\t}",
"if (i == b.length - 1)\n\t\t\t\tSystem.out.print(b[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(\" \" + b[i]);",
"i == b.length - 1",
"i",
"b.length - 1",
"b.length",
"b",
"b.length",
"1",
"System.out.print(b[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"b[i]",
"b",
"i",
"System.out.print(\" \" + b[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \" + b[i]",
"\" \"",
"b[i]",
"b",
"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 scanner = new Scanner(System.in);\n\t\tint a = scanner.nextInt();\n\t\tint[] b = new int[a];\n\t\tfor (int i = 0; i < a; i++)\n\t\t\tb[i] = scanner.nextInt();\n\t\tfor (int i = b.length - 1; i >= 0; i--) {\n\t\t\tif (i == b.length - 1)\n\t\t\t\tSystem.out.print(b[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(\" \" + b[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 scanner = new Scanner(System.in);\n\t\tint a = scanner.nextInt();\n\t\tint[] b = new int[a];\n\t\tfor (int i = 0; i < a; i++)\n\t\t\tb[i] = scanner.nextInt();\n\t\tfor (int i = b.length - 1; i >= 0; i--) {\n\t\t\tif (i == b.length - 1)\n\t\t\t\tSystem.out.print(b[i]);\n\t\t\telse\n\t\t\t\tSystem.out.print(\" \" + b[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 scanner = new Scanner(System.in);
int a = scanner.nextInt();
int[] b = new int[a];
for (int i = 0; i < a; i++)
b[i] = scanner.nextInt();
for (int i = b.length - 1; i >= 0; i--) {
if (i == b.length - 1)
System.out.print(b[i]);
else
System.out.print(" " + b[i]);
}
System.out.println();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
13,
11,
1,
41,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
4,
18,
13,
2,
13,
17,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
4,
18,
13,
2,
13,
17,
4,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
30,
4,
18,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
110,
8
],
[
110,
9
],
[
9,
10
],
[
9,
11
],
[
110,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
14,
19
],
[
19,
20
],
[
19,
21
],
[
14,
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
],
[
36,
37
],
[
35,
38
],
[
38,
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
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
66,
68
],
[
57,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
53,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
84,
86
],
[
14,
87
],
[
87,
88
],
[
12,
89
],
[
89,
90
],
[
110,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
110,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
0,
109
],
[
109,
110
],
[
109,
111
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tint n = input();\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\tlist.add(input());\n\n\t\t}\n\n\t\tfor (int j = n; j > 0; j--) {\n\n\t\t\tif (j !=1) {\n\n\t\t\t\tSystem.out.print(list.get(j - 1));\n\t\t\t\tSystem.out.print(\" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(list.get(j - 1));\n\n\t\t\t}\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tint n = input();\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\tlist.add(input());\n\n\t\t}\n\n\t\tfor (int j = n; j > 0; j--) {\n\n\t\t\tif (j !=1) {\n\n\t\t\t\tSystem.out.print(list.get(j - 1));\n\t\t\t\tSystem.out.print(\" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(list.get(j - 1));\n\n\t\t\t}\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"Main",
"public static Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\n\t\tint n = input();\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\tlist.add(input());\n\n\t\t}\n\n\t\tfor (int j = n; j > 0; j--) {\n\n\t\t\tif (j !=1) {\n\n\t\t\t\tSystem.out.print(list.get(j - 1));\n\t\t\t\tSystem.out.print(\" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(list.get(j - 1));\n\n\t\t\t}\n\t\t}\n\n\t\tclose();\n\n\t}",
"main",
"{\n\n\t\tint n = input();\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\tlist.add(input());\n\n\t\t}\n\n\t\tfor (int j = n; j > 0; j--) {\n\n\t\t\tif (j !=1) {\n\n\t\t\t\tSystem.out.print(list.get(j - 1));\n\t\t\t\tSystem.out.print(\" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(list.get(j - 1));\n\n\t\t\t}\n\t\t}\n\n\t\tclose();\n\n\t}",
"int n = input();",
"n",
"input()",
"input",
"ArrayList<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"for (int i = 0; i < n; i++) {\n\n\t\t\tlist.add(input());\n\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\n\t\t\tlist.add(input());\n\n\t\t}",
"{\n\n\t\t\tlist.add(input());\n\n\t\t}",
"list.add(input())",
"list.add",
"list",
"input()",
"input",
"for (int j = n; j > 0; j--) {\n\n\t\t\tif (j !=1) {\n\n\t\t\t\tSystem.out.print(list.get(j - 1));\n\t\t\t\tSystem.out.print(\" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(list.get(j - 1));\n\n\t\t\t}\n\t\t}",
"int j = n;",
"int j = n;",
"j",
"n",
"j > 0",
"j",
"0",
"j--",
"j--",
"j",
"{\n\n\t\t\tif (j !=1) {\n\n\t\t\t\tSystem.out.print(list.get(j - 1));\n\t\t\t\tSystem.out.print(\" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(list.get(j - 1));\n\n\t\t\t}\n\t\t}",
"{\n\n\t\t\tif (j !=1) {\n\n\t\t\t\tSystem.out.print(list.get(j - 1));\n\t\t\t\tSystem.out.print(\" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(list.get(j - 1));\n\n\t\t\t}\n\t\t}",
"if (j !=1) {\n\n\t\t\t\tSystem.out.print(list.get(j - 1));\n\t\t\t\tSystem.out.print(\" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(list.get(j - 1));\n\n\t\t\t}",
"j !=1",
"j",
"1",
"{\n\n\t\t\t\tSystem.out.print(list.get(j - 1));\n\t\t\t\tSystem.out.print(\" \");\n\n\t\t\t}",
"System.out.print(list.get(j - 1))",
"System.out.print",
"System.out",
"System",
"System.out",
"list.get(j - 1)",
"list.get",
"list",
"j - 1",
"j",
"1",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"{\n\n\t\t\t\tSystem.out.println(list.get(j - 1));\n\n\t\t\t}",
"System.out.println(list.get(j - 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(j - 1)",
"list.get",
"list",
"j - 1",
"j",
"1",
"close()",
"close",
"String[] args",
"args",
"public static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}",
"input",
"{\n\n\t\treturn scanner.nextInt();\n\n\t}",
"return scanner.nextInt();",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"public static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}",
"close",
"{\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}",
"if (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}",
"scanner != null",
"scanner",
"null",
"{\n\n\t\t\tscanner.close();\n\n\t\t}",
"scanner.close()",
"scanner.close",
"scanner",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tint n = input();\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\tlist.add(input());\n\n\t\t}\n\n\t\tfor (int j = n; j > 0; j--) {\n\n\t\t\tif (j !=1) {\n\n\t\t\t\tSystem.out.print(list.get(j - 1));\n\t\t\t\tSystem.out.print(\" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(list.get(j - 1));\n\n\t\t\t}\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tint n = input();\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\tlist.add(input());\n\n\t\t}\n\n\t\tfor (int j = n; j > 0; j--) {\n\n\t\t\tif (j !=1) {\n\n\t\t\t\tSystem.out.print(list.get(j - 1));\n\t\t\t\tSystem.out.print(\" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(list.get(j - 1));\n\n\t\t\t}\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static Scanner scanner = new Scanner(System.in);
public static void main(String[] args) {
int n = input();
ArrayList<Integer> list = new ArrayList<Integer>();
for (int i = 0; i < n; i++) {
list.add(input());
}
for (int j = n; j > 0; j--) {
if (j !=1) {
System.out.print(list.get(j - 1));
System.out.print(" ");
} else {
System.out.println(list.get(j - 1));
}
}
close();
}
public static int input() {
return scanner.nextInt();
}
public static void close() {
if (scanner != null) {
scanner.close();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
0,
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
],
[
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
],
[
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
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
53,
60
],
[
60,
61
],
[
60,
62
],
[
53,
63
],
[
63,
64
],
[
64,
65
],
[
53,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
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\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] ai;\n\t\tai = new int[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tai[i] = scan.nextInt();\n\t\t}\n\n\t\t//??????1???????????????????¬???????(\" \" + ai[j])\n\t\tSystem.out.print(ai[n - 1]);\n\t\tfor (int j = n - 2; j >= 0; j--) {\n\t\t\tSystem.out.print(\" \" + ai[j]);\n\t\t}\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\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] ai;\n\t\tai = new int[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tai[i] = scan.nextInt();\n\t\t}\n\n\t\t//??????1???????????????????¬???????(\" \" + ai[j])\n\t\tSystem.out.print(ai[n - 1]);\n\t\tfor (int j = n - 2; j >= 0; j--) {\n\t\t\tSystem.out.print(\" \" + ai[j]);\n\t\t}\n\t\t//????????????\n\t\tSystem.out.println();\n\t}\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[] ai;\n\t\tai = new int[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tai[i] = scan.nextInt();\n\t\t}\n\n\t\t//??????1???????????????????¬???????(\" \" + ai[j])\n\t\tSystem.out.print(ai[n - 1]);\n\t\tfor (int j = n - 2; j >= 0; j--) {\n\t\t\tSystem.out.print(\" \" + ai[j]);\n\t\t}\n\t\t//????????????\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] ai;\n\t\tai = new int[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tai[i] = scan.nextInt();\n\t\t}\n\n\t\t//??????1???????????????????¬???????(\" \" + ai[j])\n\t\tSystem.out.print(ai[n - 1]);\n\t\tfor (int j = n - 2; j >= 0; j--) {\n\t\t\tSystem.out.print(\" \" + ai[j]);\n\t\t}\n\t\t//????????????\n\t\tSystem.out.println();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] ai;",
"ai",
"ai = new int[n]",
"ai",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n\t\t\tai[i] = scan.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tai[i] = scan.nextInt();\n\t\t}",
"{\n\t\t\tai[i] = scan.nextInt();\n\t\t}",
"ai[i] = scan.nextInt()",
"ai[i]",
"ai",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"System.out.print(ai[n - 1])",
"System.out.print",
"System.out",
"System",
"System.out",
"ai[n - 1]",
"ai",
"n - 1",
"n",
"1",
"for (int j = n - 2; j >= 0; j--) {\n\t\t\tSystem.out.print(\" \" + ai[j]);\n\t\t}",
"int j = n - 2;",
"int j = n - 2;",
"j",
"n - 2",
"n",
"2",
"j >= 0",
"j",
"0",
"j--",
"j--",
"j",
"{\n\t\t\tSystem.out.print(\" \" + ai[j]);\n\t\t}",
"{\n\t\t\tSystem.out.print(\" \" + ai[j]);\n\t\t}",
"System.out.print(\" \" + ai[j])",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \" + ai[j]",
"\" \"",
"ai[j]",
"ai",
"j",
"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 n = scan.nextInt();\n\t\tint[] ai;\n\t\tai = new int[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tai[i] = scan.nextInt();\n\t\t}\n\n\t\t//??????1???????????????????¬???????(\" \" + ai[j])\n\t\tSystem.out.print(ai[n - 1]);\n\t\tfor (int j = n - 2; j >= 0; j--) {\n\t\t\tSystem.out.print(\" \" + ai[j]);\n\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\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] ai;\n\t\tai = new int[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tai[i] = scan.nextInt();\n\t\t}\n\n\t\t//??????1???????????????????¬???????(\" \" + ai[j])\n\t\tSystem.out.print(ai[n - 1]);\n\t\tfor (int j = n - 2; j >= 0; j--) {\n\t\t\tSystem.out.print(\" \" + ai[j]);\n\t\t}\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 scan = new Scanner(System.in);
int n = scan.nextInt();
int[] ai;
ai = new int[n];
for (int i = 0; i < n; i++) {
ai[i] = scan.nextInt();
}
//??????1???????????????????¬???????(" " + ai[j])
System.out.print(ai[n - 1]);
for (int j = n - 2; j >= 0; j--) {
System.out.print(" " + ai[j]);
}
//????????????
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,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
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,
17,
18,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
17,
18,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
99,
5
],
[
99,
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
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
56,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
63,
69
],
[
69,
70
],
[
69,
71
],
[
72,
72
],
[
72,
73
],
[
72,
74
],
[
72,
75
],
[
56,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
77,
83
],
[
83,
84
],
[
83,
85
],
[
86,
86
],
[
86,
87
],
[
86,
88
],
[
86,
89
],
[
8,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
6,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
] | [
"import java.util.Scanner;\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 for(int i=0;i<a.length;i++){\n a[i]=sc.nextInt();\n }\n for(int j=0;j<n;j++){\n if(j==n-1){\n System.out.printf(\"%d\",a[n-1-j]);\n }else{\n System.out.printf(\"%d \",a[n-1-j]);\n }\n }\n System.out.println(\"\");\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 for(int i=0;i<a.length;i++){\n a[i]=sc.nextInt();\n }\n for(int j=0;j<n;j++){\n if(j==n-1){\n System.out.printf(\"%d\",a[n-1-j]);\n }else{\n System.out.printf(\"%d \",a[n-1-j]);\n }\n }\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[] a=new int[n];\n for(int i=0;i<a.length;i++){\n a[i]=sc.nextInt();\n }\n for(int j=0;j<n;j++){\n if(j==n-1){\n System.out.printf(\"%d\",a[n-1-j]);\n }else{\n System.out.printf(\"%d \",a[n-1-j]);\n }\n }\n System.out.println(\"\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a=new int[n];\n for(int i=0;i<a.length;i++){\n a[i]=sc.nextInt();\n }\n for(int j=0;j<n;j++){\n if(j==n-1){\n System.out.printf(\"%d\",a[n-1-j]);\n }else{\n System.out.printf(\"%d \",a[n-1-j]);\n }\n }\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[] a=new int[n];",
"a",
"new int[n]",
"n",
"for(int i=0;i<a.length;i++){\n a[i]=sc.nextInt();\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length",
"i",
"a.length",
"a",
"a.length",
"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(int j=0;j<n;j++){\n if(j==n-1){\n System.out.printf(\"%d\",a[n-1-j]);\n }else{\n System.out.printf(\"%d \",a[n-1-j]);\n }\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<n",
"j",
"n",
"j++",
"j++",
"j",
"{\n if(j==n-1){\n System.out.printf(\"%d\",a[n-1-j]);\n }else{\n System.out.printf(\"%d \",a[n-1-j]);\n }\n }",
"{\n if(j==n-1){\n System.out.printf(\"%d\",a[n-1-j]);\n }else{\n System.out.printf(\"%d \",a[n-1-j]);\n }\n }",
"if(j==n-1){\n System.out.printf(\"%d\",a[n-1-j]);\n }else{\n System.out.printf(\"%d \",a[n-1-j]);\n }",
"j==n-1",
"j",
"n-1",
"n",
"1",
"{\n System.out.printf(\"%d\",a[n-1-j]);\n }",
"System.out.printf(\"%d\",a[n-1-j])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\"",
"a[n-1-j]",
"a",
"n-1-j",
"n-1-j",
"n",
"1",
"j",
"{\n System.out.printf(\"%d \",a[n-1-j]);\n }",
"System.out.printf(\"%d \",a[n-1-j])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d \"",
"a[n-1-j]",
"a",
"n-1-j",
"n-1-j",
"n",
"1",
"j",
"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 for(int i=0;i<a.length;i++){\n a[i]=sc.nextInt();\n }\n for(int j=0;j<n;j++){\n if(j==n-1){\n System.out.printf(\"%d\",a[n-1-j]);\n }else{\n System.out.printf(\"%d \",a[n-1-j]);\n }\n }\n System.out.println(\"\");\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 for(int i=0;i<a.length;i++){\n a[i]=sc.nextInt();\n }\n for(int j=0;j<n;j++){\n if(j==n-1){\n System.out.printf(\"%d\",a[n-1-j]);\n }else{\n System.out.printf(\"%d \",a[n-1-j]);\n }\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 n = sc.nextInt();
int[] a=new int[n];
for(int i=0;i<a.length;i++){
a[i]=sc.nextInt();
}
for(int j=0;j<n;j++){
if(j==n-1){
System.out.printf("%d",a[n-1-j]);
}else{
System.out.printf("%d ",a[n-1-j]);
}
}
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,
13,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
0,
13,
17,
0,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
3,
30,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
14,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
14,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
43,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
57,
63
],
[
63,
64
],
[
63,
65
],
[
57,
66
],
[
66,
67
],
[
66,
68
],
[
57,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
57,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
82,
89
],
[
78,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
12,
97
],
[
97,
98
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.*;\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tString n =scan.nextLine();\n\t\tint saizu =0;\n\t\twhile(scan.hasNextInt()){\n\t\t\tint x = scan.nextInt();\n\t\t\tlist.add(x);\n\t\t}\n\t\tfor(int i=0;i<=list.size();i++){\n\t\t\tsaizu = list.size();\n\t\t\tsaizu -= 1;\n\t\t\tsaizu -= i;\n\t\t\tSystem.out.print(list.get(saizu));\n\t\t\tif(saizu == 0){\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tString n =scan.nextLine();\n\t\tint saizu =0;\n\t\twhile(scan.hasNextInt()){\n\t\t\tint x = scan.nextInt();\n\t\t\tlist.add(x);\n\t\t}\n\t\tfor(int i=0;i<=list.size();i++){\n\t\t\tsaizu = list.size();\n\t\t\tsaizu -= 1;\n\t\t\tsaizu -= i;\n\t\t\tSystem.out.print(list.get(saizu));\n\t\t\tif(saizu == 0){\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\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\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tString n =scan.nextLine();\n\t\tint saizu =0;\n\t\twhile(scan.hasNextInt()){\n\t\t\tint x = scan.nextInt();\n\t\t\tlist.add(x);\n\t\t}\n\t\tfor(int i=0;i<=list.size();i++){\n\t\t\tsaizu = list.size();\n\t\t\tsaizu -= 1;\n\t\t\tsaizu -= i;\n\t\t\tSystem.out.print(list.get(saizu));\n\t\t\tif(saizu == 0){\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tString n =scan.nextLine();\n\t\tint saizu =0;\n\t\twhile(scan.hasNextInt()){\n\t\t\tint x = scan.nextInt();\n\t\t\tlist.add(x);\n\t\t}\n\t\tfor(int i=0;i<=list.size();i++){\n\t\t\tsaizu = list.size();\n\t\t\tsaizu -= 1;\n\t\t\tsaizu -= i;\n\t\t\tSystem.out.print(list.get(saizu));\n\t\t\tif(saizu == 0){\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"ArrayList<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"String n =scan.nextLine();",
"n",
"scan.nextLine()",
"scan.nextLine",
"scan",
"int saizu =0;",
"saizu",
"0",
"while(scan.hasNextInt()){\n\t\t\tint x = scan.nextInt();\n\t\t\tlist.add(x);\n\t\t}",
"scan.hasNextInt()",
"scan.hasNextInt",
"scan",
"{\n\t\t\tint x = scan.nextInt();\n\t\t\tlist.add(x);\n\t\t}",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"list.add(x)",
"list.add",
"list",
"x",
"for(int i=0;i<=list.size();i++){\n\t\t\tsaizu = list.size();\n\t\t\tsaizu -= 1;\n\t\t\tsaizu -= i;\n\t\t\tSystem.out.print(list.get(saizu));\n\t\t\tif(saizu == 0){\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<=list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n\t\t\tsaizu = list.size();\n\t\t\tsaizu -= 1;\n\t\t\tsaizu -= i;\n\t\t\tSystem.out.print(list.get(saizu));\n\t\t\tif(saizu == 0){\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\n\t\t}",
"{\n\t\t\tsaizu = list.size();\n\t\t\tsaizu -= 1;\n\t\t\tsaizu -= i;\n\t\t\tSystem.out.print(list.get(saizu));\n\t\t\tif(saizu == 0){\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\n\t\t}",
"saizu = list.size()",
"saizu",
"list.size()",
"list.size",
"list",
"saizu -= 1",
"saizu",
"1",
"saizu -= i",
"saizu",
"i",
"System.out.print(list.get(saizu))",
"System.out.print",
"System.out",
"System",
"System.out",
"list.get(saizu)",
"list.get",
"list",
"saizu",
"if(saizu == 0){\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"saizu == 0",
"saizu",
"0",
"{\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;",
"{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
ArrayList<Integer> list = new ArrayList<Integer>();
String n =scan.nextLine();
int saizu =0;
while(scan.hasNextInt()){
int x = scan.nextInt();
list.add(x);
}
for(int i=0;i<=list.size();i++){
saizu = list.size();
saizu -= 1;
saizu -= i;
System.out.print(list.get(saizu));
if(saizu == 0){
System.out.println("");
break;
}
else{
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,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
89,
5
],
[
89,
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
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
6,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] | [
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args) {\n // 標準入力からデータを読み込む準備\n Scanner sc = new Scanner(System.in);\n // 要素数nを読み込み、配列にn個の整数を読み込む\n int n = sc.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }\n // 以下で配列aの中身を逆順に表示しよう\n // 改行なしで表示する時は System.out.print(表示する値) を使おう\n // 改行だけを表示する時は System.out.println() を使おう\n for(int j=a.length-1;j>0;j--){\n System.out.print(a[j] + \" \");\n }\n System.out.print(a[0]);\n System.out.println();\n sc.close();\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 // 要素数nを読み込み、配列にn個の整数を読み込む\n int n = sc.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }\n // 以下で配列aの中身を逆順に表示しよう\n // 改行なしで表示する時は System.out.print(表示する値) を使おう\n // 改行だけを表示する時は System.out.println() を使おう\n for(int j=a.length-1;j>0;j--){\n System.out.print(a[j] + \" \");\n }\n System.out.print(a[0]);\n System.out.println();\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n // 標準入力からデータを読み込む準備\n Scanner sc = new Scanner(System.in);\n // 要素数nを読み込み、配列にn個の整数を読み込む\n int n = sc.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }\n // 以下で配列aの中身を逆順に表示しよう\n // 改行なしで表示する時は System.out.print(表示する値) を使おう\n // 改行だけを表示する時は System.out.println() を使おう\n for(int j=a.length-1;j>0;j--){\n System.out.print(a[j] + \" \");\n }\n System.out.print(a[0]);\n System.out.println();\n sc.close();\n }",
"main",
"{\n // 標準入力からデータを読み込む準備\n Scanner sc = new Scanner(System.in);\n // 要素数nを読み込み、配列にn個の整数を読み込む\n int n = sc.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }\n // 以下で配列aの中身を逆順に表示しよう\n // 改行なしで表示する時は System.out.print(表示する値) を使おう\n // 改行だけを表示する時は System.out.println() を使おう\n for(int j=a.length-1;j>0;j--){\n System.out.print(a[j] + \" \");\n }\n System.out.print(a[0]);\n System.out.println();\n sc.close();\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",
"for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"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(int j=a.length-1;j>0;j--){\n System.out.print(a[j] + \" \");\n }",
"int j=a.length-1;",
"int j=a.length-1;",
"j",
"a.length-1",
"a.length",
"a",
"a.length",
"1",
"j>0",
"j",
"0",
"j--",
"j--",
"j",
"{\n System.out.print(a[j] + \" \");\n }",
"{\n System.out.print(a[j] + \" \");\n }",
"System.out.print(a[j] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"a[j] + \" \"",
"a[j]",
"a",
"j",
"\" \"",
"System.out.print(a[0])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[0]",
"a",
"0",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n // 標準入力からデータを読み込む準備\n Scanner sc = new Scanner(System.in);\n // 要素数nを読み込み、配列にn個の整数を読み込む\n int n = sc.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }\n // 以下で配列aの中身を逆順に表示しよう\n // 改行なしで表示する時は System.out.print(表示する値) を使おう\n // 改行だけを表示する時は System.out.println() を使おう\n for(int j=a.length-1;j>0;j--){\n System.out.print(a[j] + \" \");\n }\n System.out.print(a[0]);\n System.out.println();\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n // 標準入力からデータを読み込む準備\n Scanner sc = new Scanner(System.in);\n // 要素数nを読み込み、配列にn個の整数を読み込む\n int n = sc.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < a.length; i++) {\n a[i] = sc.nextInt();\n }\n // 以下で配列aの中身を逆順に表示しよう\n // 改行なしで表示する時は System.out.print(表示する値) を使おう\n // 改行だけを表示する時は System.out.println() を使おう\n for(int j=a.length-1;j>0;j--){\n System.out.print(a[j] + \" \");\n }\n System.out.print(a[0]);\n System.out.println();\n sc.close();\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// 標準入力からデータを読み込む準備
Scanner sc = new Scanner(System.in);
// 要素数nを読み込み、配列にn個の整数を読み込む
int n = sc.nextInt();
int[] a = new int[n];
for (int i = 0; i < a.length; i++) {
a[i] = sc.nextInt();
}
// 以下で配列aの中身を逆順に表示しよう
// 改行なしで表示する時は System.out.print(表示する値) を使おう
// 改行だけを表示する時は System.out.println() を使おう
for(int j=a.length-1;j>0;j--){
System.out.print(a[j] + " ");
}
System.out.print(a[0]);
System.out.println();
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
14,
13,
30,
0,
13,
17,
0,
13,
4,
18,
13,
4,
18,
13,
17,
8,
2,
4,
18,
13,
17,
40,
17,
4,
18,
13,
4,
18,
13,
17,
0,
13,
20,
30,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
17,
8,
2,
4,
18,
13,
17,
40,
17,
4,
18,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
2,
4,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
2,
2,
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
],
[
179,
14
],
[
179,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
17,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
32,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
65,
70
],
[
70,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
64,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
51,
79
],
[
79,
80
],
[
79,
81
],
[
49,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
86,
94
],
[
94,
95
],
[
95,
96
],
[
86,
97
],
[
98,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
105,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
110,
115
],
[
115,
116
],
[
109,
117
],
[
117,
118
],
[
118,
119
],
[
109,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
98,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
129,
134
],
[
82,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
135,
140
],
[
140,
141
],
[
140,
142
],
[
135,
143
],
[
143,
144
],
[
144,
145
],
[
135,
146
],
[
147,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
148,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
152,
157
],
[
147,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
158,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
167,
167
],
[
167,
168
],
[
167,
169
],
[
167,
170
],
[
82,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
15,
176
],
[
176,
177
],
[
0,
178
],
[
178,
179
],
[
178,
180
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\tboolean first = true;\n\t\tint amount = 0;\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tif (first) {\n\t\t\t\t\tfirst = false;\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tlist = new ArrayList<Integer>();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tfirst = true;\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tlist.add(Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))));\n\t\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\t}\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tif (i != 0) System.out.print(\" \");\n\t\t\t\t\t\tSystem.out.print(list.get(amount - i - 1));\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"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\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\tboolean first = true;\n\t\tint amount = 0;\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tif (first) {\n\t\t\t\t\tfirst = false;\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tlist = new ArrayList<Integer>();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tfirst = true;\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tlist.add(Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))));\n\t\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\t}\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tif (i != 0) System.out.print(\" \");\n\t\t\t\t\t\tSystem.out.print(list.get(amount - i - 1));\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\tboolean first = true;\n\t\tint amount = 0;\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tif (first) {\n\t\t\t\t\tfirst = false;\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tlist = new ArrayList<Integer>();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tfirst = true;\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tlist.add(Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))));\n\t\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\t}\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tif (i != 0) System.out.print(\" \");\n\t\t\t\t\t\tSystem.out.print(list.get(amount - i - 1));\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\tboolean first = true;\n\t\tint amount = 0;\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tif (first) {\n\t\t\t\t\tfirst = false;\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tlist = new ArrayList<Integer>();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tfirst = true;\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tlist.add(Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))));\n\t\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\t}\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tif (i != 0) System.out.print(\" \");\n\t\t\t\t\t\tSystem.out.print(list.get(amount - i - 1));\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String buffer;",
"buffer",
"boolean first = true;",
"first",
"true",
"int amount = 0;",
"amount",
"0",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"try {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tif (first) {\n\t\t\t\t\tfirst = false;\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tlist = new ArrayList<Integer>();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tfirst = true;\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tlist.add(Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))));\n\t\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\t}\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tif (i != 0) System.out.print(\" \");\n\t\t\t\t\t\tSystem.out.print(list.get(amount - i - 1));\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}",
"catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}",
"Exception ex",
"{\n\t\t\tex.printStackTrace();\n\t\t}",
"ex.printStackTrace()",
"ex.printStackTrace",
"ex",
"{\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tif (first) {\n\t\t\t\t\tfirst = false;\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tlist = new ArrayList<Integer>();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tfirst = true;\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tlist.add(Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))));\n\t\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\t}\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tif (i != 0) System.out.print(\" \");\n\t\t\t\t\t\tSystem.out.print(list.get(amount - i - 1));\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"while ((buffer = reader.readLine()) != null) {\n\t\t\t\tif (first) {\n\t\t\t\t\tfirst = false;\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tlist = new ArrayList<Integer>();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tfirst = true;\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tlist.add(Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))));\n\t\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\t}\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tif (i != 0) System.out.print(\" \");\n\t\t\t\t\t\tSystem.out.print(list.get(amount - i - 1));\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}",
"(buffer = reader.readLine()) != null",
"(buffer = reader.readLine())",
"buffer",
"reader.readLine()",
"reader.readLine",
"reader",
"null",
"{\n\t\t\t\tif (first) {\n\t\t\t\t\tfirst = false;\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tlist = new ArrayList<Integer>();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tfirst = true;\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tlist.add(Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))));\n\t\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\t}\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tif (i != 0) System.out.print(\" \");\n\t\t\t\t\t\tSystem.out.print(list.get(amount - i - 1));\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}",
"if (first) {\n\t\t\t\t\tfirst = false;\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tlist = new ArrayList<Integer>();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tfirst = true;\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tlist.add(Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))));\n\t\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\t}\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tif (i != 0) System.out.print(\" \");\n\t\t\t\t\t\tSystem.out.print(list.get(amount - i - 1));\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"first",
"{\n\t\t\t\t\tfirst = false;\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tlist = new ArrayList<Integer>();\n\t\t\t\t}",
"first = false",
"first",
"false",
"amount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")))",
"amount",
"Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")))",
"Integer.valueOf",
"Integer",
"buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))",
"buffer.substring",
"buffer",
"0",
"buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")",
"buffer.indexOf(\" \") == -1",
"buffer.indexOf(\" \")",
"buffer.indexOf",
"buffer",
"\" \"",
"-1",
"1",
"buffer.length()",
"buffer.length",
"buffer",
"buffer.indexOf(\" \")",
"buffer.indexOf",
"buffer",
"\" \"",
"list = new ArrayList<Integer>()",
"list",
"new ArrayList<Integer>()",
"{\n\t\t\t\t\tfirst = true;\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tlist.add(Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))));\n\t\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\t}\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tif (i != 0) System.out.print(\" \");\n\t\t\t\t\t\tSystem.out.print(list.get(amount - i - 1));\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"first = true",
"first",
"true",
"for (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tlist.add(Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))));\n\t\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < amount",
"i",
"amount",
"i++",
"i++",
"i",
"{\n\t\t\t\t\t\tlist.add(Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))));\n\t\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tlist.add(Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))));\n\t\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\t}",
"list.add(Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))))",
"list.add",
"list",
"Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")))",
"Integer.valueOf",
"Integer",
"buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))",
"buffer.substring",
"buffer",
"0",
"buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")",
"buffer.indexOf(\" \") == -1",
"buffer.indexOf(\" \")",
"buffer.indexOf",
"buffer",
"\" \"",
"-1",
"1",
"buffer.length()",
"buffer.length",
"buffer",
"buffer.indexOf(\" \")",
"buffer.indexOf",
"buffer",
"\" \"",
"buffer = buffer.substring(buffer.indexOf(\" \") + 1)",
"buffer",
"buffer.substring(buffer.indexOf(\" \") + 1)",
"buffer.substring",
"buffer",
"buffer.indexOf(\" \") + 1",
"buffer.indexOf(\" \")",
"buffer.indexOf",
"buffer",
"\" \"",
"1",
"for (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tif (i != 0) System.out.print(\" \");\n\t\t\t\t\t\tSystem.out.print(list.get(amount - i - 1));\n\t\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < amount",
"i",
"amount",
"i++",
"i++",
"i",
"{\n\t\t\t\t\t\tif (i != 0) System.out.print(\" \");\n\t\t\t\t\t\tSystem.out.print(list.get(amount - i - 1));\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tif (i != 0) System.out.print(\" \");\n\t\t\t\t\t\tSystem.out.print(list.get(amount - i - 1));\n\t\t\t\t\t}",
"if (i != 0) System.out.print(\" \");",
"i != 0",
"i",
"0",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.print(list.get(amount - i - 1))",
"System.out.print",
"System.out",
"System",
"System.out",
"list.get(amount - i - 1)",
"list.get",
"list",
"amount - i - 1",
"amount - i - 1",
"amount",
"i",
"1",
"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\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\tboolean first = true;\n\t\tint amount = 0;\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tif (first) {\n\t\t\t\t\tfirst = false;\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tlist = new ArrayList<Integer>();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tfirst = true;\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tlist.add(Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))));\n\t\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\t}\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tif (i != 0) System.out.print(\" \");\n\t\t\t\t\t\tSystem.out.print(list.get(amount - i - 1));\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\tboolean first = true;\n\t\tint amount = 0;\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tif (first) {\n\t\t\t\t\tfirst = false;\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tlist = new ArrayList<Integer>();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tfirst = true;\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tlist.add(Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))));\n\t\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\t}\n\t\t\t\t\tfor (int i = 0; i < amount; i++) {\n\t\t\t\t\t\tif (i != 0) System.out.print(\" \");\n\t\t\t\t\t\tSystem.out.print(list.get(amount - i - 1));\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
public class Main {
public static void main(String[] args) {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String buffer;
boolean first = true;
int amount = 0;
List<Integer> list = new ArrayList<Integer>();
try {
while ((buffer = reader.readLine()) != null) {
if (first) {
first = false;
amount = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ") == -1 ? buffer.length() : buffer.indexOf(" ")));
list = new ArrayList<Integer>();
}
else {
first = true;
for (int i = 0; i < amount; i++) {
list.add(Integer.valueOf(buffer.substring(0, buffer.indexOf(" ") == -1 ? buffer.length() : buffer.indexOf(" "))));
buffer = buffer.substring(buffer.indexOf(" ") + 1);
}
for (int i = 0; i < amount; i++) {
if (i != 0) System.out.print(" ");
System.out.print(list.get(amount - i - 1));
}
System.out.println();
}
}
} catch (Exception ex) {
ex.printStackTrace();
}
}
} |
[
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,
4,
18,
13,
41,
13,
20,
13,
41,
13,
4,
18,
13,
41,
13,
20,
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,
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
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
17,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
17,
38
],
[
38,
39
],
[
38,
40
],
[
17,
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
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
62,
63
],
[
17,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
68,
70
],
[
64,
71
],
[
71,
72
],
[
71,
73
],
[
64,
74
],
[
74,
75
],
[
75,
76
],
[
64,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
84,
86
],
[
78,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
87,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
15,
105
],
[
105,
106
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\nimport java.util.StringTokenizer;\n\nclass Main{\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint len = Integer.parseInt(br.readLine());\n\t\tint[] array = new int[len];\n\t\tString str = br.readLine();\n\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\n\t\tfor(int i = 0; i < len; i++){\n\t\t\tarray[i] = Integer.parseInt(st.nextToken());\n\t\t}\n\n\t\tfor(int i = len - 1; i >= 0; i--){\n\t\t\tSystem.out.print(array[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\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"class Main{\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint len = Integer.parseInt(br.readLine());\n\t\tint[] array = new int[len];\n\t\tString str = br.readLine();\n\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\n\t\tfor(int i = 0; i < len; i++){\n\t\t\tarray[i] = Integer.parseInt(st.nextToken());\n\t\t}\n\n\t\tfor(int i = len - 1; i >= 0; i--){\n\t\t\tSystem.out.print(array[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\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint len = Integer.parseInt(br.readLine());\n\t\tint[] array = new int[len];\n\t\tString str = br.readLine();\n\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\n\t\tfor(int i = 0; i < len; i++){\n\t\t\tarray[i] = Integer.parseInt(st.nextToken());\n\t\t}\n\n\t\tfor(int i = len - 1; i >= 0; i--){\n\t\t\tSystem.out.print(array[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\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint len = Integer.parseInt(br.readLine());\n\t\tint[] array = new int[len];\n\t\tString str = br.readLine();\n\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\n\t\tfor(int i = 0; i < len; i++){\n\t\t\tarray[i] = Integer.parseInt(st.nextToken());\n\t\t}\n\n\t\tfor(int i = len - 1; i >= 0; i--){\n\t\t\tSystem.out.print(array[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\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int len = Integer.parseInt(br.readLine());",
"len",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"int[] array = new int[len];",
"array",
"new int[len]",
"len",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"StringTokenizer st = new StringTokenizer(str, \" \");",
"st",
"new StringTokenizer(str, \" \")",
"for(int i = 0; i < len; i++){\n\t\t\tarray[i] = Integer.parseInt(st.nextToken());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len",
"i",
"len",
"i++",
"i++",
"i",
"{\n\t\t\tarray[i] = Integer.parseInt(st.nextToken());\n\t\t}",
"{\n\t\t\tarray[i] = Integer.parseInt(st.nextToken());\n\t\t}",
"array[i] = Integer.parseInt(st.nextToken())",
"array[i]",
"array",
"i",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"for(int i = len - 1; i >= 0; i--){\n\t\t\tSystem.out.print(array[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 = len - 1;",
"int i = len - 1;",
"i",
"len - 1",
"len",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(array[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(array[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(array[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"array[i]",
"array",
"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\"",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.util.StringTokenizer;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int len = Integer.parseInt(br.readLine());
int[] array = new int[len];
String str = br.readLine();
StringTokenizer st = new StringTokenizer(str, " ");
for(int i = 0; i < len; i++){
array[i] = Integer.parseInt(st.nextToken());
}
for(int i = len - 1; i >= 0; i--){
System.out.print(array[i]);
if(i != 0){
System.out.print(" ");
}else{
System.out.print("\n");
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
20,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
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,
41,
13,
20,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
2,
13,
17,
30,
4,
18,
13,
17,
4,
18,
13,
18,
13,
13,
4,
18,
13,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
222,
20
],
[
222,
21
],
[
21,
22
],
[
222,
23
],
[
23,
24
],
[
222,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
27,
34
],
[
34,
35
],
[
34,
36
],
[
27,
37
],
[
37,
38
],
[
38,
39
],
[
27,
40
],
[
40,
41
],
[
41,
42
],
[
25,
43
],
[
43,
44
],
[
222,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
49,
55
],
[
55,
56
],
[
55,
57
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
59,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
77,
78
],
[
49,
79
],
[
79,
80
],
[
79,
81
],
[
49,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
82,
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
],
[
105,
106
],
[
104,
107
],
[
96,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
111,
112
],
[
111,
113
],
[
49,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
222,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
118,
122
],
[
122,
123
],
[
118,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
124,
130
],
[
130,
131
],
[
118,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
136,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
135,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
134,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
149,
152
],
[
152,
153
],
[
153,
154
],
[
118,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
159,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
158,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
157,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
172,
175
],
[
175,
176
],
[
176,
177
],
[
118,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
181,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
180,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
118,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
201,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
200,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
215,
218
],
[
218,
219
],
[
219,
220
],
[
0,
221
],
[
221,
222
],
[
221,
223
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n int n = in.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = in.nextInt();\n }\n \n StringBuilder sb = new StringBuilder();\n for (int i = n-1; i >= 0; i--) {\n if (i != n-1) {\n sb.append(\" \");\n }\n sb.append(a[i]);\n }\n \n out.println(sb);\n// End solve()\n }\n// End Solution\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\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",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n int n = in.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = in.nextInt();\n }\n \n StringBuilder sb = new StringBuilder();\n for (int i = n-1; i >= 0; i--) {\n if (i != n-1) {\n sb.append(\" \");\n }\n sb.append(a[i]);\n }\n \n out.println(sb);\n// End solve()\n }\n// End Solution\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}",
"Main",
"static InputReader in;",
"in",
"static PrintWriter out;",
"out",
"public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}",
"main",
"{\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}",
"in = new InputReader(System.in)",
"in",
"new InputReader(System.in)",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"Solution solver = new Solution();",
"solver",
"new Solution()",
"solver.solve()",
"solver.solve",
"solver",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Solution {\n void solve() throws IOException {\n int n = in.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = in.nextInt();\n }\n \n StringBuilder sb = new StringBuilder();\n for (int i = n-1; i >= 0; i--) {\n if (i != n-1) {\n sb.append(\" \");\n }\n sb.append(a[i]);\n }\n \n out.println(sb);\n// End solve()\n }\n// End Solution\n}",
"Solution",
"void solve() throws IOException {\n int n = in.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = in.nextInt();\n }\n \n StringBuilder sb = new StringBuilder();\n for (int i = n-1; i >= 0; i--) {\n if (i != n-1) {\n sb.append(\" \");\n }\n sb.append(a[i]);\n }\n \n out.println(sb);\n// End solve()\n }",
"solve",
"{\n int n = in.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = in.nextInt();\n }\n \n StringBuilder sb = new StringBuilder();\n for (int i = n-1; i >= 0; i--) {\n if (i != n-1) {\n sb.append(\" \");\n }\n sb.append(a[i]);\n }\n \n out.println(sb);\n// End solve()\n }",
"int n = in.nextInt();",
"n",
"in.nextInt()",
"in.nextInt",
"in",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = in.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = in.nextInt();\n }",
"{\n a[i] = in.nextInt();\n }",
"a[i] = in.nextInt()",
"a[i]",
"a",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = n-1; i >= 0; i--) {\n if (i != n-1) {\n sb.append(\" \");\n }\n sb.append(a[i]);\n }",
"int i = n-1;",
"int i = n-1;",
"i",
"n-1",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n if (i != n-1) {\n sb.append(\" \");\n }\n sb.append(a[i]);\n }",
"{\n if (i != n-1) {\n sb.append(\" \");\n }\n sb.append(a[i]);\n }",
"if (i != n-1) {\n sb.append(\" \");\n }",
"i != n-1",
"i",
"n-1",
"n",
"1",
"{\n sb.append(\" \");\n }",
"sb.append(\" \")",
"sb.append",
"sb",
"\" \"",
"sb.append(a[i])",
"sb.append",
"sb",
"a[i]",
"a",
"i",
"out.println(sb)",
"out.println",
"out",
"sb",
"static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }",
"InputReader",
"public BufferedReader br;",
"br",
"public StringTokenizer st;",
"st",
"public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }",
"InputReader",
"{\n br = new BufferedReader(new InputStreamReader(stream));\n }",
"br = new BufferedReader(new InputStreamReader(stream))",
"br",
"new BufferedReader(new InputStreamReader(stream))",
"InputStream stream",
"stream",
"public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }",
"nextInt",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Integer.parseInt(st.nextToken());",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }",
"nextLong",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Long.parseLong(st.nextToken());",
"Long.parseLong(st.nextToken())",
"Long.parseLong",
"Long",
"st.nextToken()",
"st.nextToken",
"st",
"public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }",
"nextDouble",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Double.parseDouble(st.nextToken());",
"Double.parseDouble(st.nextToken())",
"Double.parseDouble",
"Double",
"st.nextToken()",
"st.nextToken",
"st",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n int n = in.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = in.nextInt();\n }\n \n StringBuilder sb = new StringBuilder();\n for (int i = n-1; i >= 0; i--) {\n if (i != n-1) {\n sb.append(\" \");\n }\n sb.append(a[i]);\n }\n \n out.println(sb);\n// End solve()\n }\n// End Solution\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n int n = in.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = in.nextInt();\n }\n \n StringBuilder sb = new StringBuilder();\n for (int i = n-1; i >= 0; i--) {\n if (i != n-1) {\n sb.append(\" \");\n }\n sb.append(a[i]);\n }\n \n out.println(sb);\n// End solve()\n }\n// End Solution\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.StringTokenizer;
public class Main {
static InputReader in;
static PrintWriter out;
static class Solution {
void solve() throws IOException {
int n = in.nextInt();
int[] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = in.nextInt();
}
StringBuilder sb = new StringBuilder();
for (int i = n-1; i >= 0; i--) {
if (i != n-1) {
sb.append(" ");
}
sb.append(a[i]);
}
out.println(sb);
// End solve()
}
// End Solution
}
public static void main(String[] args) throws IOException {
in = new InputReader(System.in);
out = new PrintWriter(System.out);
Solution solver = new Solution();
solver.solve();
out.close();
}
static class InputReader {
public BufferedReader br;
public StringTokenizer st;
public InputReader(InputStream stream) {
br = new BufferedReader(new InputStreamReader(stream));
}
public int nextInt() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Integer.parseInt(st.nextToken());
}
public long nextLong() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Long.parseLong(st.nextToken());
}
public String next() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return st.nextToken();
}
public double nextDouble() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Double.parseDouble(st.nextToken());
}
}
} |
[
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,
17,
13,
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,
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
],
[
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
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
56,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
8,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
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 Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = sc.nextInt();\n }\n for (int i = n - 1; 0 <= i; i--) {\n if (i > 0) {\n System.out.print(a[i] + \" \");\n } else {\n System.out.print(a[i]);\n }\n }\n System.out.print(\"\\n\");\n sc.close();\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 for (int i = 0; i < n; i++) {\n a[i] = sc.nextInt();\n }\n for (int i = n - 1; 0 <= i; i--) {\n if (i > 0) {\n System.out.print(a[i] + \" \");\n } else {\n System.out.print(a[i]);\n }\n }\n System.out.print(\"\\n\");\n sc.close();\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 for (int i = 0; i < n; i++) {\n a[i] = sc.nextInt();\n }\n for (int i = n - 1; 0 <= i; i--) {\n if (i > 0) {\n System.out.print(a[i] + \" \");\n } else {\n System.out.print(a[i]);\n }\n }\n System.out.print(\"\\n\");\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = sc.nextInt();\n }\n for (int i = n - 1; 0 <= i; i--) {\n if (i > 0) {\n System.out.print(a[i] + \" \");\n } else {\n System.out.print(a[i]);\n }\n }\n System.out.print(\"\\n\");\n sc.close();\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",
"for (int i = 0; i < n; i++) {\n a[i] = sc.nextInt();\n }",
"int i = 0;",
"int 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 (int i = n - 1; 0 <= i; i--) {\n if (i > 0) {\n System.out.print(a[i] + \" \");\n } else {\n System.out.print(a[i]);\n }\n }",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"0 <= i",
"0",
"i",
"i--",
"i--",
"i",
"{\n if (i > 0) {\n System.out.print(a[i] + \" \");\n } else {\n System.out.print(a[i]);\n }\n }",
"{\n if (i > 0) {\n System.out.print(a[i] + \" \");\n } else {\n System.out.print(a[i]);\n }\n }",
"if (i > 0) {\n System.out.print(a[i] + \" \");\n } else {\n System.out.print(a[i]);\n }",
"i > 0",
"i",
"0",
"{\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",
"\" \"",
"{\n System.out.print(a[i]);\n }",
"System.out.print(a[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = sc.nextInt();\n }\n for (int i = n - 1; 0 <= i; i--) {\n if (i > 0) {\n System.out.print(a[i] + \" \");\n } else {\n System.out.print(a[i]);\n }\n }\n System.out.print(\"\\n\");\n sc.close();\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 for (int i = 0; i < n; i++) {\n a[i] = sc.nextInt();\n }\n for (int i = n - 1; 0 <= i; i--) {\n if (i > 0) {\n System.out.print(a[i] + \" \");\n } else {\n System.out.print(a[i]);\n }\n }\n System.out.print(\"\\n\");\n sc.close();\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];
for (int i = 0; i < n; i++) {
a[i] = sc.nextInt();
}
for (int i = n - 1; 0 <= i; i--) {
if (i > 0) {
System.out.print(a[i] + " ");
} else {
System.out.print(a[i]);
}
}
System.out.print("\n");
sc.close();
}
}
|
[
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,
18,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
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
],
[
83,
11
],
[
83,
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
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
51,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
14,
72
],
[
72,
73
],
[
73,
74
],
[
14,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
12,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\n\npublic class Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint n=Integer.parseInt(br.readLine());\n\t\tString s=br.readLine();\n\t\tString[] a=s.split(\" \");\n\t\tfor(int i=a.length;i>0;i--){\n\t\t\tSystem.out.print(a[i-1]);\n\t\t\tif(i!=1)System.out.print(\" \");\n\t\t}br.close();System.out.println();\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 NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint n=Integer.parseInt(br.readLine());\n\t\tString s=br.readLine();\n\t\tString[] a=s.split(\" \");\n\t\tfor(int i=a.length;i>0;i--){\n\t\t\tSystem.out.print(a[i-1]);\n\t\t\tif(i!=1)System.out.print(\" \");\n\t\t}br.close();System.out.println();\n}}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint n=Integer.parseInt(br.readLine());\n\t\tString s=br.readLine();\n\t\tString[] a=s.split(\" \");\n\t\tfor(int i=a.length;i>0;i--){\n\t\t\tSystem.out.print(a[i-1]);\n\t\t\tif(i!=1)System.out.print(\" \");\n\t\t}br.close();System.out.println();\n}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint n=Integer.parseInt(br.readLine());\n\t\tString s=br.readLine();\n\t\tString[] a=s.split(\" \");\n\t\tfor(int i=a.length;i>0;i--){\n\t\t\tSystem.out.print(a[i-1]);\n\t\t\tif(i!=1)System.out.print(\" \");\n\t\t}br.close();System.out.println();\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 s=br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"String[] a=s.split(\" \");",
"a",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"for(int i=a.length;i>0;i--){\n\t\t\tSystem.out.print(a[i-1]);\n\t\t\tif(i!=1)System.out.print(\" \");\n\t\t}",
"int i=a.length;",
"int i=a.length;",
"i",
"a.length",
"a",
"a.length",
"i>0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(a[i-1]);\n\t\t\tif(i!=1)System.out.print(\" \");\n\t\t}",
"{\n\t\t\tSystem.out.print(a[i-1]);\n\t\t\tif(i!=1)System.out.print(\" \");\n\t\t}",
"System.out.print(a[i-1])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i-1]",
"a",
"i-1",
"i",
"1",
"if(i!=1)System.out.print(\" \");",
"i!=1",
"i",
"1",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"br.close()",
"br.close",
"br",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint n=Integer.parseInt(br.readLine());\n\t\tString s=br.readLine();\n\t\tString[] a=s.split(\" \");\n\t\tfor(int i=a.length;i>0;i--){\n\t\t\tSystem.out.print(a[i-1]);\n\t\t\tif(i!=1)System.out.print(\" \");\n\t\t}br.close();System.out.println();\n}}",
"public class Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint n=Integer.parseInt(br.readLine());\n\t\tString s=br.readLine();\n\t\tString[] a=s.split(\" \");\n\t\tfor(int i=a.length;i>0;i--){\n\t\t\tSystem.out.print(a[i-1]);\n\t\t\tif(i!=1)System.out.print(\" \");\n\t\t}br.close();System.out.println();\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());
String s=br.readLine();
String[] a=s.split(" ");
for(int i=a.length;i>0;i--){
System.out.print(a[i-1]);
if(i!=1)System.out.print(" ");
}br.close();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,
2,
13,
17,
2,
17,
13,
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
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
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
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
56,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"\n\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String []args){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//????????????????????????\n\t\tint n = sc.nextInt();\n\t\t//???????????£?¨?\n\t\tint [] list = new int[n];\n\t\t//????´???????????????°?????????\n\t\tfor(int i = 0; i<n; i++){\n\t\t\t//??????????´?\n\t\t\tlist[i] = sc.nextInt();\n\t\t\t//System.out.print(list[i] + \" \");\n\t\t}\n\n\t\t//??????????????????????????????????????????\n\t\tfor(int i = n-1 ; 0 <= i ; i--){\n\t\t\tif(i==0){\n\t\t\t\t//???????????¨?????????????¬????????????????\n\t\t\t\tSystem.out.println(list[i]);\n\t\t\t}else{\n\t\t\t\t//???????????¨???\n\t\t\t\tSystem.out.print(list[i] + \" \");\n\t\t\t}\n\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\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//????????????????????????\n\t\tint n = sc.nextInt();\n\t\t//???????????£?¨?\n\t\tint [] list = new int[n];\n\t\t//????´???????????????°?????????\n\t\tfor(int i = 0; i<n; i++){\n\t\t\t//??????????´?\n\t\t\tlist[i] = sc.nextInt();\n\t\t\t//System.out.print(list[i] + \" \");\n\t\t}\n\n\t\t//??????????????????????????????????????????\n\t\tfor(int i = n-1 ; 0 <= i ; i--){\n\t\t\tif(i==0){\n\t\t\t\t//???????????¨?????????????¬????????????????\n\t\t\t\tSystem.out.println(list[i]);\n\t\t\t}else{\n\t\t\t\t//???????????¨???\n\t\t\t\tSystem.out.print(list[i] + \" \");\n\t\t\t}\n\t\t}\n\t\t//???????????????\n\t\t//System.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\t//????????????????????????\n\t\tint n = sc.nextInt();\n\t\t//???????????£?¨?\n\t\tint [] list = new int[n];\n\t\t//????´???????????????°?????????\n\t\tfor(int i = 0; i<n; i++){\n\t\t\t//??????????´?\n\t\t\tlist[i] = sc.nextInt();\n\t\t\t//System.out.print(list[i] + \" \");\n\t\t}\n\n\t\t//??????????????????????????????????????????\n\t\tfor(int i = n-1 ; 0 <= i ; i--){\n\t\t\tif(i==0){\n\t\t\t\t//???????????¨?????????????¬????????????????\n\t\t\t\tSystem.out.println(list[i]);\n\t\t\t}else{\n\t\t\t\t//???????????¨???\n\t\t\t\tSystem.out.print(list[i] + \" \");\n\t\t\t}\n\t\t}\n\t\t//???????????????\n\t\t//System.out.println();\n\t}",
"main",
"{\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//????????????????????????\n\t\tint n = sc.nextInt();\n\t\t//???????????£?¨?\n\t\tint [] list = new int[n];\n\t\t//????´???????????????°?????????\n\t\tfor(int i = 0; i<n; i++){\n\t\t\t//??????????´?\n\t\t\tlist[i] = sc.nextInt();\n\t\t\t//System.out.print(list[i] + \" \");\n\t\t}\n\n\t\t//??????????????????????????????????????????\n\t\tfor(int i = n-1 ; 0 <= i ; i--){\n\t\t\tif(i==0){\n\t\t\t\t//???????????¨?????????????¬????????????????\n\t\t\t\tSystem.out.println(list[i]);\n\t\t\t}else{\n\t\t\t\t//???????????¨???\n\t\t\t\tSystem.out.print(list[i] + \" \");\n\t\t\t}\n\t\t}\n\t\t//???????????????\n\t\t//System.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 [] list = new int[n];",
"list",
"new int[n]",
"n",
"for(int i = 0; i<n; i++){\n\t\t\t//??????????´?\n\t\t\tlist[i] = sc.nextInt();\n\t\t\t//System.out.print(list[i] + \" \");\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t//??????????´?\n\t\t\tlist[i] = sc.nextInt();\n\t\t\t//System.out.print(list[i] + \" \");\n\t\t}",
"{\n\t\t\t//??????????´?\n\t\t\tlist[i] = sc.nextInt();\n\t\t\t//System.out.print(list[i] + \" \");\n\t\t}",
"list[i] = sc.nextInt()",
"list[i]",
"list",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i = n-1 ; 0 <= i ; i--){\n\t\t\tif(i==0){\n\t\t\t\t//???????????¨?????????????¬????????????????\n\t\t\t\tSystem.out.println(list[i]);\n\t\t\t}else{\n\t\t\t\t//???????????¨???\n\t\t\t\tSystem.out.print(list[i] + \" \");\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\tif(i==0){\n\t\t\t\t//???????????¨?????????????¬????????????????\n\t\t\t\tSystem.out.println(list[i]);\n\t\t\t}else{\n\t\t\t\t//???????????¨???\n\t\t\t\tSystem.out.print(list[i] + \" \");\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(i==0){\n\t\t\t\t//???????????¨?????????????¬????????????????\n\t\t\t\tSystem.out.println(list[i]);\n\t\t\t}else{\n\t\t\t\t//???????????¨???\n\t\t\t\tSystem.out.print(list[i] + \" \");\n\t\t\t}\n\t\t}",
"if(i==0){\n\t\t\t\t//???????????¨?????????????¬????????????????\n\t\t\t\tSystem.out.println(list[i]);\n\t\t\t}else{\n\t\t\t\t//???????????¨???\n\t\t\t\tSystem.out.print(list[i] + \" \");\n\t\t\t}",
"i==0",
"i",
"0",
"{\n\t\t\t\t//???????????¨?????????????¬????????????????\n\t\t\t\tSystem.out.println(list[i]);\n\t\t\t}",
"System.out.println(list[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"list[i]",
"list",
"i",
"{\n\t\t\t\t//???????????¨???\n\t\t\t\tSystem.out.print(list[i] + \" \");\n\t\t\t}",
"System.out.print(list[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"list[i] + \" \"",
"list[i]",
"list",
"i",
"\" \"",
"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\t//????????????????????????\n\t\tint n = sc.nextInt();\n\t\t//???????????£?¨?\n\t\tint [] list = new int[n];\n\t\t//????´???????????????°?????????\n\t\tfor(int i = 0; i<n; i++){\n\t\t\t//??????????´?\n\t\t\tlist[i] = sc.nextInt();\n\t\t\t//System.out.print(list[i] + \" \");\n\t\t}\n\n\t\t//??????????????????????????????????????????\n\t\tfor(int i = n-1 ; 0 <= i ; i--){\n\t\t\tif(i==0){\n\t\t\t\t//???????????¨?????????????¬????????????????\n\t\t\t\tSystem.out.println(list[i]);\n\t\t\t}else{\n\t\t\t\t//???????????¨???\n\t\t\t\tSystem.out.print(list[i] + \" \");\n\t\t\t}\n\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\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//????????????????????????\n\t\tint n = sc.nextInt();\n\t\t//???????????£?¨?\n\t\tint [] list = new int[n];\n\t\t//????´???????????????°?????????\n\t\tfor(int i = 0; i<n; i++){\n\t\t\t//??????????´?\n\t\t\tlist[i] = sc.nextInt();\n\t\t\t//System.out.print(list[i] + \" \");\n\t\t}\n\n\t\t//??????????????????????????????????????????\n\t\tfor(int i = n-1 ; 0 <= i ; i--){\n\t\t\tif(i==0){\n\t\t\t\t//???????????¨?????????????¬????????????????\n\t\t\t\tSystem.out.println(list[i]);\n\t\t\t}else{\n\t\t\t\t//???????????¨???\n\t\t\t\tSystem.out.print(list[i] + \" \");\n\t\t\t}\n\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){
//????????£?????????????????????
Scanner sc = new Scanner(System.in);
//????????????????????????
int n = sc.nextInt();
//???????????£?¨?
int [] list = new int[n];
//????´???????????????°?????????
for(int i = 0; i<n; i++){
//??????????´?
list[i] = sc.nextInt();
//System.out.print(list[i] + " ");
}
//??????????????????????????????????????????
for(int i = n-1 ; 0 <= i ; i--){
if(i==0){
//???????????¨?????????????¬????????????????
System.out.println(list[i]);
}else{
//???????????¨???
System.out.print(list[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,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
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,
18,
13,
13,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
24,
31
],
[
31,
32
],
[
31,
33
],
[
24,
34
],
[
34,
35
],
[
35,
36
],
[
24,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
11,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
59,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
59,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
11,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
9,
91
],
[
91,
92
]
] | [
"import java.util.Scanner;\nimport java.util.Arrays;\n\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\tint[] numbers = new int[n];\n\t\t\n\t\tfor(int i = n-1; i >= 0; i--){\n\t\t\tnumbers[i] = scanner.nextInt();\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t if(i == n-1){\n\t\t System.out.print(numbers[i]);\n\t\t }else{\n\t\t System.out.print(numbers[i] + \" \");\n\t\t }\n\t\t\t\n\t\t}\n\n\t\tSystem.out.print(\"\\n\");\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\tint[] numbers = new int[n];\n\t\t\n\t\tfor(int i = n-1; i >= 0; i--){\n\t\t\tnumbers[i] = scanner.nextInt();\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t if(i == n-1){\n\t\t System.out.print(numbers[i]);\n\t\t }else{\n\t\t System.out.print(numbers[i] + \" \");\n\t\t }\n\t\t\t\n\t\t}\n\n\t\tSystem.out.print(\"\\n\");\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\tint[] numbers = new int[n];\n\t\t\n\t\tfor(int i = n-1; i >= 0; i--){\n\t\t\tnumbers[i] = scanner.nextInt();\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t if(i == n-1){\n\t\t System.out.print(numbers[i]);\n\t\t }else{\n\t\t System.out.print(numbers[i] + \" \");\n\t\t }\n\t\t\t\n\t\t}\n\n\t\tSystem.out.print(\"\\n\");\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\tint[] numbers = new int[n];\n\t\t\n\t\tfor(int i = n-1; i >= 0; i--){\n\t\t\tnumbers[i] = scanner.nextInt();\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t if(i == n-1){\n\t\t System.out.print(numbers[i]);\n\t\t }else{\n\t\t System.out.print(numbers[i] + \" \");\n\t\t }\n\t\t\t\n\t\t}\n\n\t\tSystem.out.print(\"\\n\");\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int n = scanner.nextInt();",
"n",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int[] numbers = new int[n];",
"numbers",
"new int[n]",
"n",
"for(int i = n-1; i >= 0; i--){\n\t\t\tnumbers[i] = scanner.nextInt();\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\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",
"for(int i = 0; i < n; i++){\n\t\t if(i == n-1){\n\t\t System.out.print(numbers[i]);\n\t\t }else{\n\t\t System.out.print(numbers[i] + \" \");\n\t\t }\n\t\t\t\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t if(i == n-1){\n\t\t System.out.print(numbers[i]);\n\t\t }else{\n\t\t System.out.print(numbers[i] + \" \");\n\t\t }\n\t\t\t\n\t\t}",
"{\n\t\t if(i == n-1){\n\t\t System.out.print(numbers[i]);\n\t\t }else{\n\t\t System.out.print(numbers[i] + \" \");\n\t\t }\n\t\t\t\n\t\t}",
"if(i == n-1){\n\t\t System.out.print(numbers[i]);\n\t\t }else{\n\t\t System.out.print(numbers[i] + \" \");\n\t\t }",
"i == n-1",
"i",
"n-1",
"n",
"1",
"{\n\t\t System.out.print(numbers[i]);\n\t\t }",
"System.out.print(numbers[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"numbers[i]",
"numbers",
"i",
"{\n\t\t System.out.print(numbers[i] + \" \");\n\t\t }",
"System.out.print(numbers[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"numbers[i] + \" \"",
"numbers[i]",
"numbers",
"i",
"\" \"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args"
] | import java.util.Scanner;
import java.util.Arrays;
class Main{
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int[] numbers = new int[n];
for(int i = n-1; i >= 0; i--){
numbers[i] = scanner.nextInt();
}
for(int i = 0; i < n; i++){
if(i == n-1){
System.out.print(numbers[i]);
}else{
System.out.print(numbers[i] + " ");
}
}
System.out.print("\n");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
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,
4,
18,
18,
13,
13,
2,
17,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
96,
14
],
[
96,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
17,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
33,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
17,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
17,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
63,
70
],
[
70,
71
],
[
70,
72
],
[
63,
73
],
[
73,
74
],
[
74,
75
],
[
63,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
17,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
15,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
] | [
"import java.util.*;\nimport java.io.*;\nimport java.lang.*;\nimport java.math.*;\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=stdIn.nextInt();\n\t\tint[] a=new int[n];\n\t\tfor(int i=0;i<n;i++){\n\t\t\ta[i]=stdIn.nextInt();\n\t\t}\n\t\tSystem.out.print(a[n-1]);\n\t\tfor(int i=n-2;i>=0;i--)\n\t\t\tSystem.out.print(\" \"+a[i]);\n\t\tSystem.out.println(\"\");\n\t}\t\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=stdIn.nextInt();\n\t\tint[] a=new int[n];\n\t\tfor(int i=0;i<n;i++){\n\t\t\ta[i]=stdIn.nextInt();\n\t\t}\n\t\tSystem.out.print(a[n-1]);\n\t\tfor(int i=n-2;i>=0;i--)\n\t\t\tSystem.out.print(\" \"+a[i]);\n\t\tSystem.out.println(\"\");\n\t}\t\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=stdIn.nextInt();\n\t\tint[] a=new int[n];\n\t\tfor(int i=0;i<n;i++){\n\t\t\ta[i]=stdIn.nextInt();\n\t\t}\n\t\tSystem.out.print(a[n-1]);\n\t\tfor(int i=n-2;i>=0;i--)\n\t\t\tSystem.out.print(\" \"+a[i]);\n\t\tSystem.out.println(\"\");\n\t}",
"main",
"{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=stdIn.nextInt();\n\t\tint[] a=new int[n];\n\t\tfor(int i=0;i<n;i++){\n\t\t\ta[i]=stdIn.nextInt();\n\t\t}\n\t\tSystem.out.print(a[n-1]);\n\t\tfor(int i=n-2;i>=0;i--)\n\t\t\tSystem.out.print(\" \"+a[i]);\n\t\tSystem.out.println(\"\");\n\t}",
"Scanner stdIn=new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int n=stdIn.nextInt();",
"n",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int[] a=new int[n];",
"a",
"new int[n]",
"n",
"for(int i=0;i<n;i++){\n\t\t\ta[i]=stdIn.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\ta[i]=stdIn.nextInt();\n\t\t}",
"{\n\t\t\ta[i]=stdIn.nextInt();\n\t\t}",
"a[i]=stdIn.nextInt()",
"a[i]",
"a",
"i",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"System.out.print(a[n-1])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[n-1]",
"a",
"n-1",
"n",
"1",
"for(int i=n-2;i>=0;i--)\n\t\t\tSystem.out.print(\" \"+a[i]);",
"int i=n-2;",
"int i=n-2;",
"i",
"n-2",
"n",
"2",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"System.out.print(\" \"+a[i]);",
"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\tpublic static void main(String[] args) throws IOException{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=stdIn.nextInt();\n\t\tint[] a=new int[n];\n\t\tfor(int i=0;i<n;i++){\n\t\t\ta[i]=stdIn.nextInt();\n\t\t}\n\t\tSystem.out.print(a[n-1]);\n\t\tfor(int i=n-2;i>=0;i--)\n\t\t\tSystem.out.print(\" \"+a[i]);\n\t\tSystem.out.println(\"\");\n\t}\t\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=stdIn.nextInt();\n\t\tint[] a=new int[n];\n\t\tfor(int i=0;i<n;i++){\n\t\t\ta[i]=stdIn.nextInt();\n\t\t}\n\t\tSystem.out.print(a[n-1]);\n\t\tfor(int i=n-2;i>=0;i--)\n\t\t\tSystem.out.print(\" \"+a[i]);\n\t\tSystem.out.println(\"\");\n\t}\t\n}",
"Main"
] | import java.util.*;
import java.io.*;
import java.lang.*;
import java.math.*;
public class Main{
public static void main(String[] args) throws IOException{
Scanner stdIn=new Scanner(System.in);
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int n=stdIn.nextInt();
int[] a=new int[n];
for(int i=0;i<n;i++){
a[i]=stdIn.nextInt();
}
System.out.print(a[n-1]);
for(int i=n-2;i>=0;i--)
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,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
80,
11
],
[
80,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
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
],
[
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
],
[
52,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
14,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
14,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
68,
69
],
[
68,
70
],
[
14,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
12,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\npublic class Main {\n\t public static void main(String[] args) throws IOException {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t int n = Integer.parseInt(br.readLine());\n \n\t String[] su=br.readLine().split(\" \");\n\t \t \n\t\t StringBuilder outArray = new StringBuilder();\n\t\t \n\t\t for(int i=n-1;i>=0;i--){\n\t\t \toutArray.append(su[i] + \" \");\n\t\t }\n\t\t int p=outArray.length();\n\t\t outArray.deleteCharAt(p-1);\n\t\t System.out.println(outArray);\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\t public static void main(String[] args) throws IOException {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t int n = Integer.parseInt(br.readLine());\n \n\t String[] su=br.readLine().split(\" \");\n\t \t \n\t\t StringBuilder outArray = new StringBuilder();\n\t\t \n\t\t for(int i=n-1;i>=0;i--){\n\t\t \toutArray.append(su[i] + \" \");\n\t\t }\n\t\t int p=outArray.length();\n\t\t outArray.deleteCharAt(p-1);\n\t\t System.out.println(outArray);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t int n = Integer.parseInt(br.readLine());\n \n\t String[] su=br.readLine().split(\" \");\n\t \t \n\t\t StringBuilder outArray = new StringBuilder();\n\t\t \n\t\t for(int i=n-1;i>=0;i--){\n\t\t \toutArray.append(su[i] + \" \");\n\t\t }\n\t\t int p=outArray.length();\n\t\t outArray.deleteCharAt(p-1);\n\t\t System.out.println(outArray);\n\t}",
"main",
"{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t int n = Integer.parseInt(br.readLine());\n \n\t String[] su=br.readLine().split(\" \");\n\t \t \n\t\t StringBuilder outArray = new StringBuilder();\n\t\t \n\t\t for(int i=n-1;i>=0;i--){\n\t\t \toutArray.append(su[i] + \" \");\n\t\t }\n\t\t int p=outArray.length();\n\t\t outArray.deleteCharAt(p-1);\n\t\t System.out.println(outArray);\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[] su=br.readLine().split(\" \");",
"su",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"StringBuilder outArray = new StringBuilder();",
"outArray",
"new StringBuilder()",
"for(int i=n-1;i>=0;i--){\n\t\t \toutArray.append(su[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 \toutArray.append(su[i] + \" \");\n\t\t }",
"{\n\t\t \toutArray.append(su[i] + \" \");\n\t\t }",
"outArray.append(su[i] + \" \")",
"outArray.append",
"outArray",
"su[i] + \" \"",
"su[i]",
"su",
"i",
"\" \"",
"int p=outArray.length();",
"p",
"outArray.length()",
"outArray.length",
"outArray",
"outArray.deleteCharAt(p-1)",
"outArray.deleteCharAt",
"outArray",
"p-1",
"p",
"1",
"System.out.println(outArray)",
"System.out.println",
"System.out",
"System",
"System.out",
"outArray",
"String[] args",
"args",
"public class Main {\n\t public static void main(String[] args) throws IOException {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t int n = Integer.parseInt(br.readLine());\n \n\t String[] su=br.readLine().split(\" \");\n\t \t \n\t\t StringBuilder outArray = new StringBuilder();\n\t\t \n\t\t for(int i=n-1;i>=0;i--){\n\t\t \toutArray.append(su[i] + \" \");\n\t\t }\n\t\t int p=outArray.length();\n\t\t outArray.deleteCharAt(p-1);\n\t\t System.out.println(outArray);\n\t}\n}",
"public class Main {\n\t public static void main(String[] args) throws IOException {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t int n = Integer.parseInt(br.readLine());\n \n\t String[] su=br.readLine().split(\" \");\n\t \t \n\t\t StringBuilder outArray = new StringBuilder();\n\t\t \n\t\t for(int i=n-1;i>=0;i--){\n\t\t \toutArray.append(su[i] + \" \");\n\t\t }\n\t\t int p=outArray.length();\n\t\t outArray.deleteCharAt(p-1);\n\t\t System.out.println(outArray);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(br.readLine());
String[] su=br.readLine().split(" ");
StringBuilder outArray = new StringBuilder();
for(int i=n-1;i>=0;i--){
outArray.append(su[i] + " ");
}
int p=outArray.length();
outArray.deleteCharAt(p-1);
System.out.println(outArray);
}
} |
[
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,
4,
18,
18,
13,
13,
2,
2,
17,
18,
13,
13,
8,
2,
13,
17,
17,
17,
4,
18,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
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
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
65,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
70,
75
],
[
11,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
9,
81
],
[
81,
82
]
] | [
"import java.util.*;\nimport java.text.*;\n\nclass Main {\n public static void main(String[]args)throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int [] a = new int[n];\n for(int i = 0; i < n; i++) {\n a[i] = sc.nextInt();\n }\n for(int i = n-1; i >= 0; i--) {\n System.out.print(\"\"+a[i] + (i == 0 ? \"\" : \" \"));\n }\n System.out.println();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.text.*;",
"text.*",
"java",
"class Main {\n public static void main(String[]args)throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int [] a = new int[n];\n for(int i = 0; i < n; i++) {\n a[i] = sc.nextInt();\n }\n for(int i = n-1; i >= 0; i--) {\n System.out.print(\"\"+a[i] + (i == 0 ? \"\" : \" \"));\n }\n System.out.println();\n }\n}",
"Main",
"public static void main(String[]args)throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int [] a = new int[n];\n for(int i = 0; i < n; i++) {\n a[i] = sc.nextInt();\n }\n for(int i = n-1; i >= 0; i--) {\n System.out.print(\"\"+a[i] + (i == 0 ? \"\" : \" \"));\n }\n System.out.println();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int [] a = new int[n];\n for(int i = 0; i < n; i++) {\n a[i] = sc.nextInt();\n }\n for(int i = n-1; i >= 0; i--) {\n System.out.print(\"\"+a[i] + (i == 0 ? \"\" : \" \"));\n }\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 [] a = new int[n];",
"a",
"new int[n]",
"n",
"for(int i = 0; i < n; i++) {\n a[i] = sc.nextInt();\n }",
"int i = 0;",
"int 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(int i = n-1; i >= 0; i--) {\n System.out.print(\"\"+a[i] + (i == 0 ? \"\" : \" \"));\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(\"\"+a[i] + (i == 0 ? \"\" : \" \"));\n }",
"{\n System.out.print(\"\"+a[i] + (i == 0 ? \"\" : \" \"));\n }",
"System.out.print(\"\"+a[i] + (i == 0 ? \"\" : \" \"))",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\"+a[i] + (i == 0 ? \"\" : \" \")",
"\"\"+a[i] + (i == 0 ? \"\" : \" \")",
"\"\"",
"a[i]",
"a",
"i",
"(i == 0 ? \"\" : \" \")",
"i == 0",
"i",
"0",
"\"\"",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[]args",
"args"
] | import java.util.*;
import java.text.*;
class Main {
public static void main(String[]args)throws Exception {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int [] a = new int[n];
for(int i = 0; i < n; i++) {
a[i] = sc.nextInt();
}
for(int i = n-1; i >= 0; i--) {
System.out.print(""+a[i] + (i == 0 ? "" : " "));
}
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,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
20,
18,
13,
13,
41,
13,
2,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
40,
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
],
[
81,
8
],
[
81,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
11,
34
],
[
34,
35
],
[
34,
36
],
[
37,
38
],
[
37,
39
],
[
11,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
11,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
73,
77
],
[
9,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t int n = Integer.parseInt(br.readLine());\n\t String line = br.readLine();\n\n\t String[] input = line.split(\" \");\n\t String[] output = new String[input.length];\n\n\t int len = input.length - 1;\n\t for (int i = 0; i < n; i++) {\n\t \toutput[i] = input[len--];\n\t }\n\n\t System.out.println(String.join(\" \", output));\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t int n = Integer.parseInt(br.readLine());\n\t String line = br.readLine();\n\n\t String[] input = line.split(\" \");\n\t String[] output = new String[input.length];\n\n\t int len = input.length - 1;\n\t for (int i = 0; i < n; i++) {\n\t \toutput[i] = input[len--];\n\t }\n\n\t System.out.println(String.join(\" \", output));\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t int n = Integer.parseInt(br.readLine());\n\t String line = br.readLine();\n\n\t String[] input = line.split(\" \");\n\t String[] output = new String[input.length];\n\n\t int len = input.length - 1;\n\t for (int i = 0; i < n; i++) {\n\t \toutput[i] = input[len--];\n\t }\n\n\t System.out.println(String.join(\" \", output));\n\n\t}",
"main",
"{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t int n = Integer.parseInt(br.readLine());\n\t String line = br.readLine();\n\n\t String[] input = line.split(\" \");\n\t String[] output = new String[input.length];\n\n\t int len = input.length - 1;\n\t for (int i = 0; i < n; i++) {\n\t \toutput[i] = input[len--];\n\t }\n\n\t System.out.println(String.join(\" \", output));\n\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 line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"String[] input = line.split(\" \");",
"input",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"String[] output = new String[input.length];",
"output",
"new String[input.length]",
"input.length",
"input",
"input.length",
"int len = input.length - 1;",
"len",
"input.length - 1",
"input.length",
"input",
"input.length",
"1",
"for (int i = 0; i < n; i++) {\n\t \toutput[i] = input[len--];\n\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t \toutput[i] = input[len--];\n\t }",
"{\n\t \toutput[i] = input[len--];\n\t }",
"output[i] = input[len--]",
"output[i]",
"output",
"i",
"input[len--]",
"input",
"len--",
"len",
"System.out.println(String.join(\" \", output))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.join(\" \", output)",
"String.join",
"String",
"\" \"",
"output",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t int n = Integer.parseInt(br.readLine());\n\t String line = br.readLine();\n\n\t String[] input = line.split(\" \");\n\t String[] output = new String[input.length];\n\n\t int len = input.length - 1;\n\t for (int i = 0; i < n; i++) {\n\t \toutput[i] = input[len--];\n\t }\n\n\t System.out.println(String.join(\" \", output));\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t int n = Integer.parseInt(br.readLine());\n\t String line = br.readLine();\n\n\t String[] input = line.split(\" \");\n\t String[] output = new String[input.length];\n\n\t int len = input.length - 1;\n\t for (int i = 0; i < n; i++) {\n\t \toutput[i] = input[len--];\n\t }\n\n\t System.out.println(String.join(\" \", output));\n\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(br.readLine());
String line = br.readLine();
String[] input = line.split(" ");
String[] output = new String[input.length];
int len = input.length - 1;
for (int i = 0; i < n; i++) {
output[i] = input[len--];
}
System.out.println(String.join(" ", output));
}
} |
[
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,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
2,
18,
13,
13,
2,
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
],
[
111,
5
],
[
111,
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
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
45,
55
],
[
55,
56
],
[
56,
57
],
[
45,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
60,
70
],
[
70,
71
],
[
70,
72
],
[
8,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
73,
83
],
[
83,
84
],
[
84,
85
],
[
73,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
8,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
105,
107
],
[
6,
108
],
[
108,
109
],
[
0,
110
],
[
110,
111
],
[
110,
112
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n =scan.nextInt();\n\t\tint[] a = new int[n];\n\t\tint[] b = new int[n];\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=0;i<a.length;i++){\n\t\t\tb[a.length-(i+1)] = a[i];\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n-1;i++){\n\t\t\tSystem.out.print(b[i]+\" \");\n\t\t}\n\n\t\tSystem.out.println(b[n-1]);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n =scan.nextInt();\n\t\tint[] a = new int[n];\n\t\tint[] b = new int[n];\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=0;i<a.length;i++){\n\t\t\tb[a.length-(i+1)] = a[i];\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n-1;i++){\n\t\t\tSystem.out.print(b[i]+\" \");\n\t\t}\n\n\t\tSystem.out.println(b[n-1]);\n\t}\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[] a = new int[n];\n\t\tint[] b = new int[n];\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=0;i<a.length;i++){\n\t\t\tb[a.length-(i+1)] = a[i];\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n-1;i++){\n\t\t\tSystem.out.print(b[i]+\" \");\n\t\t}\n\n\t\tSystem.out.println(b[n-1]);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n =scan.nextInt();\n\t\tint[] a = new int[n];\n\t\tint[] b = new int[n];\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=0;i<a.length;i++){\n\t\t\tb[a.length-(i+1)] = a[i];\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n-1;i++){\n\t\t\tSystem.out.print(b[i]+\" \");\n\t\t}\n\n\t\tSystem.out.println(b[n-1]);\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[] b = new int[n];",
"b",
"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=0;i<a.length;i++){\n\t\t\tb[a.length-(i+1)] = a[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\tb[a.length-(i+1)] = a[i];\n\t\t}",
"{\n\t\t\tb[a.length-(i+1)] = a[i];\n\t\t}",
"b[a.length-(i+1)] = a[i]",
"b[a.length-(i+1)]",
"b",
"a.length-(i+1)",
"a.length",
"a",
"a.length",
"(i+1)",
"i",
"1",
"a[i]",
"a",
"i",
"for(int i=0; i<n-1;i++){\n\t\t\tSystem.out.print(b[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(b[i]+\" \");\n\t\t}",
"{\n\t\t\tSystem.out.print(b[i]+\" \");\n\t\t}",
"System.out.print(b[i]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"b[i]+\" \"",
"b[i]",
"b",
"i",
"\" \"",
"System.out.println(b[n-1])",
"System.out.println",
"System.out",
"System",
"System.out",
"b[n-1]",
"b",
"n-1",
"n",
"1",
"String[] args",
"args",
"public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n =scan.nextInt();\n\t\tint[] a = new int[n];\n\t\tint[] b = new int[n];\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=0;i<a.length;i++){\n\t\t\tb[a.length-(i+1)] = a[i];\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n-1;i++){\n\t\t\tSystem.out.print(b[i]+\" \");\n\t\t}\n\n\t\tSystem.out.println(b[n-1]);\n\t}\n\n}",
"public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n =scan.nextInt();\n\t\tint[] a = new int[n];\n\t\tint[] b = new int[n];\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=0;i<a.length;i++){\n\t\t\tb[a.length-(i+1)] = a[i];\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n-1;i++){\n\t\t\tSystem.out.print(b[i]+\" \");\n\t\t}\n\n\t\tSystem.out.println(b[n-1]);\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[] b = new int[n];
for(int i=0;i<n;i++){
a[i]=scan.nextInt();
}
for(int i=0;i<a.length;i++){
b[a.length-(i+1)] = a[i];
}
for(int i=0; i<n-1;i++){
System.out.print(b[i]+" ");
}
System.out.println(b[n-1]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
20,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
2,
18,
13,
13,
17,
4,
18,
13,
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
],
[
75,
8
],
[
75,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
11,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
34,
43
],
[
43,
44
],
[
43,
45
],
[
34,
46
],
[
46,
47
],
[
47,
48
],
[
34,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
11,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
11,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
9,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"import java.util.Scanner;\nimport java.lang.StringBuilder;\npublic class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str=sc.nextLine();\n\t\tstr=sc.nextLine();\n\t\tStringBuilder b = new StringBuilder();\n\t\tString[] s=str.split(\" \");\n\t\tfor(int i=(s.length-1);i>=0;i--){\n\t\t\tb.append(s[i]+\" \");\n\t\t}\n\t\tb.deleteCharAt(b.lastIndexOf(\" \"));\n\t\tSystem.out.println(b);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.lang.StringBuilder;",
"StringBuilder",
"java.lang",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str=sc.nextLine();\n\t\tstr=sc.nextLine();\n\t\tStringBuilder b = new StringBuilder();\n\t\tString[] s=str.split(\" \");\n\t\tfor(int i=(s.length-1);i>=0;i--){\n\t\t\tb.append(s[i]+\" \");\n\t\t}\n\t\tb.deleteCharAt(b.lastIndexOf(\" \"));\n\t\tSystem.out.println(b);\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str=sc.nextLine();\n\t\tstr=sc.nextLine();\n\t\tStringBuilder b = new StringBuilder();\n\t\tString[] s=str.split(\" \");\n\t\tfor(int i=(s.length-1);i>=0;i--){\n\t\t\tb.append(s[i]+\" \");\n\t\t}\n\t\tb.deleteCharAt(b.lastIndexOf(\" \"));\n\t\tSystem.out.println(b);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str=sc.nextLine();\n\t\tstr=sc.nextLine();\n\t\tStringBuilder b = new StringBuilder();\n\t\tString[] s=str.split(\" \");\n\t\tfor(int i=(s.length-1);i>=0;i--){\n\t\t\tb.append(s[i]+\" \");\n\t\t}\n\t\tb.deleteCharAt(b.lastIndexOf(\" \"));\n\t\tSystem.out.println(b);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str=sc.nextLine();",
"str",
"sc.nextLine()",
"sc.nextLine",
"sc",
"str=sc.nextLine()",
"str",
"sc.nextLine()",
"sc.nextLine",
"sc",
"StringBuilder b = new StringBuilder();",
"b",
"new StringBuilder()",
"String[] s=str.split(\" \");",
"s",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"for(int i=(s.length-1);i>=0;i--){\n\t\t\tb.append(s[i]+\" \");\n\t\t}",
"int i=(s.length-1);",
"int i=(s.length-1);",
"i",
"(s.length-1)",
"s.length",
"s",
"s.length",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tb.append(s[i]+\" \");\n\t\t}",
"{\n\t\t\tb.append(s[i]+\" \");\n\t\t}",
"b.append(s[i]+\" \")",
"b.append",
"b",
"s[i]+\" \"",
"s[i]",
"s",
"i",
"\" \"",
"b.deleteCharAt(b.lastIndexOf(\" \"))",
"b.deleteCharAt",
"b",
"b.lastIndexOf(\" \")",
"b.lastIndexOf",
"b",
"\" \"",
"System.out.println(b)",
"System.out.println",
"System.out",
"System",
"System.out",
"b",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str=sc.nextLine();\n\t\tstr=sc.nextLine();\n\t\tStringBuilder b = new StringBuilder();\n\t\tString[] s=str.split(\" \");\n\t\tfor(int i=(s.length-1);i>=0;i--){\n\t\t\tb.append(s[i]+\" \");\n\t\t}\n\t\tb.deleteCharAt(b.lastIndexOf(\" \"));\n\t\tSystem.out.println(b);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString str=sc.nextLine();\n\t\tstr=sc.nextLine();\n\t\tStringBuilder b = new StringBuilder();\n\t\tString[] s=str.split(\" \");\n\t\tfor(int i=(s.length-1);i>=0;i--){\n\t\t\tb.append(s[i]+\" \");\n\t\t}\n\t\tb.deleteCharAt(b.lastIndexOf(\" \"));\n\t\tSystem.out.println(b);\n\t}\n}",
"Main"
] | import java.util.Scanner;
import java.lang.StringBuilder;
public class Main {
public static void main(String[] args) throws Exception{
Scanner sc = new Scanner(System.in);
String str=sc.nextLine();
str=sc.nextLine();
StringBuilder b = new StringBuilder();
String[] s=str.split(" ");
for(int i=(s.length-1);i>=0;i--){
b.append(s[i]+" ");
}
b.deleteCharAt(b.lastIndexOf(" "));
System.out.println(b);
}
} |
[
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,
17,
18,
13,
13,
4,
18,
18,
13,
13,
17,
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
],
[
66,
72
],
[
72,
73
],
[
72,
74
],
[
8,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n int n = stdin.nextInt();\n int[] arr = new int[n];\n\n for (int i = 0; i < n; i++) {\n arr[i] = stdin.nextInt();\n }\n\n System.out.print(arr[n - 1]);\n for (int i = n - 2; i >= 0; i--) {\n System.out.printf(\" %d\", arr[i]);\n }\n System.out.println(\"\");\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n int n = stdin.nextInt();\n int[] arr = new int[n];\n\n for (int i = 0; i < n; i++) {\n arr[i] = stdin.nextInt();\n }\n\n System.out.print(arr[n - 1]);\n for (int i = n - 2; i >= 0; i--) {\n System.out.printf(\" %d\", arr[i]);\n }\n System.out.println(\"\");\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n int n = stdin.nextInt();\n int[] arr = new int[n];\n\n for (int i = 0; i < n; i++) {\n arr[i] = stdin.nextInt();\n }\n\n System.out.print(arr[n - 1]);\n for (int i = n - 2; i >= 0; i--) {\n System.out.printf(\" %d\", arr[i]);\n }\n System.out.println(\"\");\n }",
"main",
"{\n Scanner stdin = new Scanner(System.in);\n int n = stdin.nextInt();\n int[] arr = new int[n];\n\n for (int i = 0; i < n; i++) {\n arr[i] = stdin.nextInt();\n }\n\n System.out.print(arr[n - 1]);\n for (int i = n - 2; i >= 0; i--) {\n System.out.printf(\" %d\", arr[i]);\n }\n System.out.println(\"\");\n }",
"Scanner stdin = new Scanner(System.in);",
"stdin",
"new Scanner(System.in)",
"int n = stdin.nextInt();",
"n",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"int[] arr = new int[n];",
"arr",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n arr[i] = stdin.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n arr[i] = stdin.nextInt();\n }",
"{\n arr[i] = stdin.nextInt();\n }",
"arr[i] = stdin.nextInt()",
"arr[i]",
"arr",
"i",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"System.out.print(arr[n - 1])",
"System.out.print",
"System.out",
"System",
"System.out",
"arr[n - 1]",
"arr",
"n - 1",
"n",
"1",
"for (int i = n - 2; i >= 0; i--) {\n System.out.printf(\" %d\", arr[i]);\n }",
"int i = n - 2;",
"int i = n - 2;",
"i",
"n - 2",
"n",
"2",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n System.out.printf(\" %d\", arr[i]);\n }",
"{\n System.out.printf(\" %d\", arr[i]);\n }",
"System.out.printf(\" %d\", arr[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\" %d\"",
"arr[i]",
"arr",
"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) {\n Scanner stdin = new Scanner(System.in);\n int n = stdin.nextInt();\n int[] arr = new int[n];\n\n for (int i = 0; i < n; i++) {\n arr[i] = stdin.nextInt();\n }\n\n System.out.print(arr[n - 1]);\n for (int i = n - 2; i >= 0; i--) {\n System.out.printf(\" %d\", arr[i]);\n }\n System.out.println(\"\");\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n int n = stdin.nextInt();\n int[] arr = new int[n];\n\n for (int i = 0; i < n; i++) {\n arr[i] = stdin.nextInt();\n }\n\n System.out.print(arr[n - 1]);\n for (int i = n - 2; i >= 0; i--) {\n System.out.printf(\" %d\", arr[i]);\n }\n System.out.println(\"\");\n }\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdin = new Scanner(System.in);
int n = stdin.nextInt();
int[] arr = new int[n];
for (int i = 0; i < n; i++) {
arr[i] = stdin.nextInt();
}
System.out.print(arr[n - 1]);
for (int i = n - 2; i >= 0; i--) {
System.out.printf(" %d", arr[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,
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,
14,
2,
13,
2,
13,
17,
30,
4,
18,
13,
17,
4,
18,
13,
18,
13,
13,
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
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
31,
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
],
[
55,
56
],
[
55,
57
],
[
52,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
51,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
66,
68
],
[
14,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
75,
76
],
[
12,
77
],
[
77,
78
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint count = Integer.parseInt(br.readLine());\n\t\tString[] line = br.readLine().split(\" \");\n\n\t\tfor (int i = count-1; i >= 0; i--) {\n\t\t\tif(i != count -1){\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t\tsb.append(line[i]);\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint count = Integer.parseInt(br.readLine());\n\t\tString[] line = br.readLine().split(\" \");\n\n\t\tfor (int i = count-1; i >= 0; i--) {\n\t\t\tif(i != count -1){\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t\tsb.append(line[i]);\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint count = Integer.parseInt(br.readLine());\n\t\tString[] line = br.readLine().split(\" \");\n\n\t\tfor (int i = count-1; i >= 0; i--) {\n\t\t\tif(i != count -1){\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t\tsb.append(line[i]);\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint count = Integer.parseInt(br.readLine());\n\t\tString[] line = br.readLine().split(\" \");\n\n\t\tfor (int i = count-1; i >= 0; i--) {\n\t\t\tif(i != count -1){\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t\tsb.append(line[i]);\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int count = Integer.parseInt(br.readLine());",
"count",
"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 = count-1; i >= 0; i--) {\n\t\t\tif(i != count -1){\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t\tsb.append(line[i]);\n\t\t}",
"int i = count-1;",
"int i = count-1;",
"i",
"count-1",
"count",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tif(i != count -1){\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t\tsb.append(line[i]);\n\t\t}",
"{\n\t\t\tif(i != count -1){\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t\tsb.append(line[i]);\n\t\t}",
"if(i != count -1){\n\t\t\t\tsb.append(\" \");\n\t\t\t}",
"i != count -1",
"i",
"count -1",
"count",
"1",
"{\n\t\t\t\tsb.append(\" \");\n\t\t\t}",
"sb.append(\" \")",
"sb.append",
"sb",
"\" \"",
"sb.append(line[i])",
"sb.append",
"sb",
"line[i]",
"line",
"i",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
int count = Integer.parseInt(br.readLine());
String[] line = br.readLine().split(" ");
for (int i = count-1; i >= 0; i--) {
if(i != count -1){
sb.append(" ");
}
sb.append(line[i]);
}
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,
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,
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
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
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
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
56,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.util.*;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint[] a=new int[n];\n\t\tfor(int i=0;i<n;i++){\n\t\t\ta[i]=sc.nextInt();\n\t\t}\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\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a[i]);\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 sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint[] a=new int[n];\n\t\tfor(int i=0;i<n;i++){\n\t\t\ta[i]=sc.nextInt();\n\t\t}\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\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t}\n\t\t}\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\tint[] a=new int[n];\n\t\tfor(int i=0;i<n;i++){\n\t\t\ta[i]=sc.nextInt();\n\t\t}\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\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint[] a=new int[n];\n\t\tfor(int i=0;i<n;i++){\n\t\t\ta[i]=sc.nextInt();\n\t\t}\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\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(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",
"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}",
"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}",
"{\n\t\t\ta[i]=sc.nextInt();\n\t\t}",
"a[i]=sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i=n-1;i>=0;i--){\n\t\t\tif(i!=0){\n\t\t\t\tSystem.out.print(a[i]+\" \");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(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.print(a[i]+\" \");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(i!=0){\n\t\t\t\tSystem.out.print(a[i]+\" \");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t}\n\t\t}",
"if(i!=0){\n\t\t\t\tSystem.out.print(a[i]+\" \");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t}",
"i!=0",
"i",
"0",
"{\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",
"\" \"",
"{\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",
"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\tint[] a=new int[n];\n\t\tfor(int i=0;i<n;i++){\n\t\t\ta[i]=sc.nextInt();\n\t\t}\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\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t}\n\t\t}\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\tint[] a=new int[n];\n\t\tfor(int i=0;i<n;i++){\n\t\t\ta[i]=sc.nextInt();\n\t\t}\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\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
int n=sc.nextInt();
int[] a=new int[n];
for(int i=0;i<n;i++){
a[i]=sc.nextInt();
}
for(int i=n-1;i>=0;i--){
if(i!=0){
System.out.print(a[i]+" ");
}
else{
System.out.println(a[i]);
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
41,
13,
20,
13,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
40,
13,
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
],
[
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
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
34,
39
],
[
27,
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
],
[
57,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
52,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
52,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
27,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
9,
88
],
[
88,
89
]
] | [
"import java.util.*;\nimport 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 a = Integer.parseInt(br.readLine());\n if(a<=100){\n int[] num = new int[a];\n String[] str = br.readLine().split(\" \");\n for(int i=0; a>0; i++){\n num[i] = Integer.parseInt(str[--a]);\n System.out.print(num[i]);\n if(a != 0){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"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 a = Integer.parseInt(br.readLine());\n if(a<=100){\n int[] num = new int[a];\n String[] str = br.readLine().split(\" \");\n for(int i=0; a>0; i++){\n num[i] = Integer.parseInt(str[--a]);\n System.out.print(num[i]);\n if(a != 0){\n System.out.print(\" \");\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 a = Integer.parseInt(br.readLine());\n if(a<=100){\n int[] num = new int[a];\n String[] str = br.readLine().split(\" \");\n for(int i=0; a>0; i++){\n num[i] = Integer.parseInt(str[--a]);\n System.out.print(num[i]);\n if(a != 0){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int a = Integer.parseInt(br.readLine());\n if(a<=100){\n int[] num = new int[a];\n String[] str = br.readLine().split(\" \");\n for(int i=0; a>0; i++){\n num[i] = Integer.parseInt(str[--a]);\n System.out.print(num[i]);\n if(a != 0){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int a = Integer.parseInt(br.readLine());",
"a",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if(a<=100){\n int[] num = new int[a];\n String[] str = br.readLine().split(\" \");\n for(int i=0; a>0; i++){\n num[i] = Integer.parseInt(str[--a]);\n System.out.print(num[i]);\n if(a != 0){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }",
"a<=100",
"a",
"100",
"{\n int[] num = new int[a];\n String[] str = br.readLine().split(\" \");\n for(int i=0; a>0; i++){\n num[i] = Integer.parseInt(str[--a]);\n System.out.print(num[i]);\n if(a != 0){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }",
"int[] num = new int[a];",
"num",
"new int[a]",
"a",
"String[] str = br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for(int i=0; a>0; i++){\n num[i] = Integer.parseInt(str[--a]);\n System.out.print(num[i]);\n if(a != 0){\n System.out.print(\" \");\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"a>0",
"a",
"0",
"i++",
"i++",
"i",
"{\n num[i] = Integer.parseInt(str[--a]);\n System.out.print(num[i]);\n if(a != 0){\n System.out.print(\" \");\n }\n }",
"{\n num[i] = Integer.parseInt(str[--a]);\n System.out.print(num[i]);\n if(a != 0){\n System.out.print(\" \");\n }\n }",
"num[i] = Integer.parseInt(str[--a])",
"num[i]",
"num",
"i",
"Integer.parseInt(str[--a])",
"Integer.parseInt",
"Integer",
"str[--a]",
"str",
"--a",
"a",
"System.out.print(num[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"num[i]",
"num",
"i",
"if(a != 0){\n System.out.print(\" \");\n }",
"a != 0",
"a",
"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.*;
import java.io.*;
class Main{
public static void main(String args[])throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(br.readLine());
if(a<=100){
int[] num = new int[a];
String[] str = br.readLine().split(" ");
for(int i=0; a>0; i++){
num[i] = Integer.parseInt(str[--a]);
System.out.print(num[i]);
if(a != 0){
System.out.print(" ");
}
}
System.out.println();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
14,
2,
13,
17,
30,
0,
13,
4,
18,
13,
13,
9,
0,
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,
13,
13,
4,
18,
13,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
18,
13,
2,
13,
13,
14,
2,
13,
13,
4,
18,
18,
13,
13,
17,
3,
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
],
[
113,
8
],
[
113,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
11,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
35,
42
],
[
30,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
30,
49
],
[
49,
50
],
[
49,
51
],
[
30,
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
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
66,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
65,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
65,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
30,
100
],
[
11,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
11,
107
],
[
107,
108
],
[
108,
109
],
[
9,
110
],
[
110,
111
],
[
0,
112
],
[
112,
113
],
[
112,
114
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\npublic class Main{\n public static void main(String[]args)throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n String[] arr;\n int n=0;\n \n while((str=br.readLine())!=null){\n if(n==0){\n n=Integer.parseInt(str);\n continue;\n }\n arr=str.split(\" \");\n int[] array=new int[n];\n \n for(int i=1;i<=n;i++){\n \tarray[n-i] = Integer.parseInt(arr[n-i]);\n System.out.print(array[n-i]);\n if(i!=n) System.out.print(\" \");\n }\n break;\n }\n System.out.println(\"\");\n br.close();\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main{\n public static void main(String[]args)throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n String[] arr;\n int n=0;\n \n while((str=br.readLine())!=null){\n if(n==0){\n n=Integer.parseInt(str);\n continue;\n }\n arr=str.split(\" \");\n int[] array=new int[n];\n \n for(int i=1;i<=n;i++){\n \tarray[n-i] = Integer.parseInt(arr[n-i]);\n System.out.print(array[n-i]);\n if(i!=n) System.out.print(\" \");\n }\n break;\n }\n System.out.println(\"\");\n br.close();\n }\n}",
"Main",
"public static void main(String[]args)throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n String[] arr;\n int n=0;\n \n while((str=br.readLine())!=null){\n if(n==0){\n n=Integer.parseInt(str);\n continue;\n }\n arr=str.split(\" \");\n int[] array=new int[n];\n \n for(int i=1;i<=n;i++){\n \tarray[n-i] = Integer.parseInt(arr[n-i]);\n System.out.print(array[n-i]);\n if(i!=n) System.out.print(\" \");\n }\n break;\n }\n System.out.println(\"\");\n br.close();\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n String[] arr;\n int n=0;\n \n while((str=br.readLine())!=null){\n if(n==0){\n n=Integer.parseInt(str);\n continue;\n }\n arr=str.split(\" \");\n int[] array=new int[n];\n \n for(int i=1;i<=n;i++){\n \tarray[n-i] = Integer.parseInt(arr[n-i]);\n System.out.print(array[n-i]);\n if(i!=n) System.out.print(\" \");\n }\n break;\n }\n System.out.println(\"\");\n br.close();\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"String[] arr;",
"arr",
"int n=0;",
"n",
"0",
"while((str=br.readLine())!=null){\n if(n==0){\n n=Integer.parseInt(str);\n continue;\n }\n arr=str.split(\" \");\n int[] array=new int[n];\n \n for(int i=1;i<=n;i++){\n \tarray[n-i] = Integer.parseInt(arr[n-i]);\n System.out.print(array[n-i]);\n if(i!=n) System.out.print(\" \");\n }\n break;\n }",
"(str=br.readLine())!=null",
"(str=br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n if(n==0){\n n=Integer.parseInt(str);\n continue;\n }\n arr=str.split(\" \");\n int[] array=new int[n];\n \n for(int i=1;i<=n;i++){\n \tarray[n-i] = Integer.parseInt(arr[n-i]);\n System.out.print(array[n-i]);\n if(i!=n) System.out.print(\" \");\n }\n break;\n }",
"if(n==0){\n n=Integer.parseInt(str);\n continue;\n }",
"n==0",
"n",
"0",
"{\n n=Integer.parseInt(str);\n continue;\n }",
"n=Integer.parseInt(str)",
"n",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"continue;",
"arr=str.split(\" \")",
"arr",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int[] array=new int[n];",
"array",
"new int[n]",
"n",
"for(int i=1;i<=n;i++){\n \tarray[n-i] = Integer.parseInt(arr[n-i]);\n System.out.print(array[n-i]);\n if(i!=n) System.out.print(\" \");\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=n",
"i",
"n",
"i++",
"i++",
"i",
"{\n \tarray[n-i] = Integer.parseInt(arr[n-i]);\n System.out.print(array[n-i]);\n if(i!=n) System.out.print(\" \");\n }",
"{\n \tarray[n-i] = Integer.parseInt(arr[n-i]);\n System.out.print(array[n-i]);\n if(i!=n) System.out.print(\" \");\n }",
"array[n-i] = Integer.parseInt(arr[n-i])",
"array[n-i]",
"array",
"n-i",
"n",
"i",
"Integer.parseInt(arr[n-i])",
"Integer.parseInt",
"Integer",
"arr[n-i]",
"arr",
"n-i",
"n",
"i",
"System.out.print(array[n-i])",
"System.out.print",
"System.out",
"System",
"System.out",
"array[n-i]",
"array",
"n-i",
"n",
"i",
"if(i!=n) System.out.print(\" \");",
"i!=n",
"i",
"n",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"break;",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"br.close()",
"br.close",
"br",
"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 str;\n String[] arr;\n int n=0;\n \n while((str=br.readLine())!=null){\n if(n==0){\n n=Integer.parseInt(str);\n continue;\n }\n arr=str.split(\" \");\n int[] array=new int[n];\n \n for(int i=1;i<=n;i++){\n \tarray[n-i] = Integer.parseInt(arr[n-i]);\n System.out.print(array[n-i]);\n if(i!=n) System.out.print(\" \");\n }\n break;\n }\n System.out.println(\"\");\n br.close();\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 str;\n String[] arr;\n int n=0;\n \n while((str=br.readLine())!=null){\n if(n==0){\n n=Integer.parseInt(str);\n continue;\n }\n arr=str.split(\" \");\n int[] array=new int[n];\n \n for(int i=1;i<=n;i++){\n \tarray[n-i] = Integer.parseInt(arr[n-i]);\n System.out.print(array[n-i]);\n if(i!=n) System.out.print(\" \");\n }\n break;\n }\n System.out.println(\"\");\n br.close();\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main{
public static void main(String[]args)throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
String[] arr;
int n=0;
while((str=br.readLine())!=null){
if(n==0){
n=Integer.parseInt(str);
continue;
}
arr=str.split(" ");
int[] array=new int[n];
for(int i=1;i<=n;i++){
array[n-i] = Integer.parseInt(arr[n-i]);
System.out.print(array[n-i]);
if(i!=n) System.out.print(" ");
}
break;
}
System.out.println("");
br.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
38,
30,
41,
13,
20,
41,
13,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
0,
13,
20,
18,
13,
13,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
2,
2,
18,
13,
13,
17,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
3,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
91,
8
],
[
91,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
35,
40
],
[
32,
41
],
[
41,
42
],
[
41,
43
],
[
44,
45
],
[
44,
46
],
[
32,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
47,
56
],
[
56,
57
],
[
56,
58
],
[
47,
59
],
[
59,
60
],
[
60,
61
],
[
47,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
71,
76
],
[
32,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
82,
86
],
[
32,
87
],
[
9,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n // TODO ?????????????????????????????????????????????\n \n boolean first=true;\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n String[] x;\n while ((line = br.readLine()) != null) {\n \tString[] str=br.readLine().split(\" \");\n \t\n \tx=new String[str.length];\n\n \tfor(int i=x.length-1;i>=0;i--){\n \t\tx[i]=str[x.length-1-i];\n \t}\n \tSystem.out.println(String.join(\" \",x));\n \tbreak;\n }\n }\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n // TODO ?????????????????????????????????????????????\n \n boolean first=true;\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n String[] x;\n while ((line = br.readLine()) != null) {\n \tString[] str=br.readLine().split(\" \");\n \t\n \tx=new String[str.length];\n\n \tfor(int i=x.length-1;i>=0;i--){\n \t\tx[i]=str[x.length-1-i];\n \t}\n \tSystem.out.println(String.join(\" \",x));\n \tbreak;\n }\n }\n }\n\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // TODO ?????????????????????????????????????????????\n \n boolean first=true;\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n String[] x;\n while ((line = br.readLine()) != null) {\n \tString[] str=br.readLine().split(\" \");\n \t\n \tx=new String[str.length];\n\n \tfor(int i=x.length-1;i>=0;i--){\n \t\tx[i]=str[x.length-1-i];\n \t}\n \tSystem.out.println(String.join(\" \",x));\n \tbreak;\n }\n }\n }",
"main",
"{\n // TODO ?????????????????????????????????????????????\n \n boolean first=true;\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n String[] x;\n while ((line = br.readLine()) != null) {\n \tString[] str=br.readLine().split(\" \");\n \t\n \tx=new String[str.length];\n\n \tfor(int i=x.length-1;i>=0;i--){\n \t\tx[i]=str[x.length-1-i];\n \t}\n \tSystem.out.println(String.join(\" \",x));\n \tbreak;\n }\n }\n }",
"boolean first=true;",
"first",
"true",
"try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n String[] x;\n while ((line = br.readLine()) != null) {\n \tString[] str=br.readLine().split(\" \");\n \t\n \tx=new String[str.length];\n\n \tfor(int i=x.length-1;i>=0;i--){\n \t\tx[i]=str[x.length-1-i];\n \t}\n \tSystem.out.println(String.join(\" \",x));\n \tbreak;\n }\n }",
"{\n String line;\n String[] x;\n while ((line = br.readLine()) != null) {\n \tString[] str=br.readLine().split(\" \");\n \t\n \tx=new String[str.length];\n\n \tfor(int i=x.length-1;i>=0;i--){\n \t\tx[i]=str[x.length-1-i];\n \t}\n \tSystem.out.println(String.join(\" \",x));\n \tbreak;\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"String[] x;",
"x",
"while ((line = br.readLine()) != null) {\n \tString[] str=br.readLine().split(\" \");\n \t\n \tx=new String[str.length];\n\n \tfor(int i=x.length-1;i>=0;i--){\n \t\tx[i]=str[x.length-1-i];\n \t}\n \tSystem.out.println(String.join(\" \",x));\n \tbreak;\n }",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n \tString[] str=br.readLine().split(\" \");\n \t\n \tx=new String[str.length];\n\n \tfor(int i=x.length-1;i>=0;i--){\n \t\tx[i]=str[x.length-1-i];\n \t}\n \tSystem.out.println(String.join(\" \",x));\n \tbreak;\n }",
"String[] str=br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"x=new String[str.length]",
"x",
"new String[str.length]",
"str.length",
"str",
"str.length",
"for(int i=x.length-1;i>=0;i--){\n \t\tx[i]=str[x.length-1-i];\n \t}",
"int i=x.length-1;",
"int i=x.length-1;",
"i",
"x.length-1",
"x.length",
"x",
"x.length",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n \t\tx[i]=str[x.length-1-i];\n \t}",
"{\n \t\tx[i]=str[x.length-1-i];\n \t}",
"x[i]=str[x.length-1-i]",
"x[i]",
"x",
"i",
"str[x.length-1-i]",
"str",
"x.length-1-i",
"x.length-1-i",
"x.length",
"x",
"x.length",
"1",
"i",
"System.out.println(String.join(\" \",x))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.join(\" \",x)",
"String.join",
"String",
"\" \"",
"x",
"break;",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n // TODO ?????????????????????????????????????????????\n \n boolean first=true;\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n String[] x;\n while ((line = br.readLine()) != null) {\n \tString[] str=br.readLine().split(\" \");\n \t\n \tx=new String[str.length];\n\n \tfor(int i=x.length-1;i>=0;i--){\n \t\tx[i]=str[x.length-1-i];\n \t}\n \tSystem.out.println(String.join(\" \",x));\n \tbreak;\n }\n }\n }\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n // TODO ?????????????????????????????????????????????\n \n boolean first=true;\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n String[] x;\n while ((line = br.readLine()) != null) {\n \tString[] str=br.readLine().split(\" \");\n \t\n \tx=new String[str.length];\n\n \tfor(int i=x.length-1;i>=0;i--){\n \t\tx[i]=str[x.length-1-i];\n \t}\n \tSystem.out.println(String.join(\" \",x));\n \tbreak;\n }\n }\n }\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
// TODO ?????????????????????????????????????????????
boolean first=true;
try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
String line;
String[] x;
while ((line = br.readLine()) != null) {
String[] str=br.readLine().split(" ");
x=new String[str.length];
for(int i=x.length-1;i>=0;i--){
x[i]=str[x.length-1-i];
}
System.out.println(String.join(" ",x));
break;
}
}
}
} |
[
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,
41,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
41,
13,
17,
41,
13,
20,
28,
13,
13,
30,
30,
14,
2,
4,
18,
13,
17,
30,
4,
18,
13,
13,
4,
18,
13,
13,
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
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
8,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
52,
54
],
[
8,
55
],
[
55,
56
],
[
55,
57
],
[
55,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
61,
65
],
[
60,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
59,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
8,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
81,
82
],
[
6,
83
],
[
83,
84
]
] | [
"import java.util.*; \nclass Main{\n public static void main(String[] args){\n \t\n \tScanner input = new Scanner(System.in);\n \tint n = input.nextInt();//入力文字数決定\n \n // 文字列を List へ追加\n List<String> list = new ArrayList<String>();\n for (int i = 0; i < n; i++) {\n \tString s = input.next();\n list.add(s);\n }\n \t\tlist.toString();\n\n // 昇順にソート\n Collections.reverse(list);\n\t\t\tString separator = \" \";\n // List の文字列を StringBuilder に追加\n StringBuilder sb = new StringBuilder();\n for (String str : list) {\n \tif(sb.length() > 0){\n \t\tsb.append(separator);\n \t}\n sb.append(str);\n }\n \tSystem.out.println(sb.toString());\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n \t\n \tScanner input = new Scanner(System.in);\n \tint n = input.nextInt();//入力文字数決定\n \n // 文字列を List へ追加\n List<String> list = new ArrayList<String>();\n for (int i = 0; i < n; i++) {\n \tString s = input.next();\n list.add(s);\n }\n \t\tlist.toString();\n\n // 昇順にソート\n Collections.reverse(list);\n\t\t\tString separator = \" \";\n // List の文字列を StringBuilder に追加\n StringBuilder sb = new StringBuilder();\n for (String str : list) {\n \tif(sb.length() > 0){\n \t\tsb.append(separator);\n \t}\n sb.append(str);\n }\n \tSystem.out.println(sb.toString());\n }\n}",
"Main",
"public static void main(String[] args){\n \t\n \tScanner input = new Scanner(System.in);\n \tint n = input.nextInt();//入力文字数決定\n \n // 文字列を List へ追加\n List<String> list = new ArrayList<String>();\n for (int i = 0; i < n; i++) {\n \tString s = input.next();\n list.add(s);\n }\n \t\tlist.toString();\n\n // 昇順にソート\n Collections.reverse(list);\n\t\t\tString separator = \" \";\n // List の文字列を StringBuilder に追加\n StringBuilder sb = new StringBuilder();\n for (String str : list) {\n \tif(sb.length() > 0){\n \t\tsb.append(separator);\n \t}\n sb.append(str);\n }\n \tSystem.out.println(sb.toString());\n }",
"main",
"{\n \t\n \tScanner input = new Scanner(System.in);\n \tint n = input.nextInt();//入力文字数決定\n \n // 文字列を List へ追加\n List<String> list = new ArrayList<String>();\n for (int i = 0; i < n; i++) {\n \tString s = input.next();\n list.add(s);\n }\n \t\tlist.toString();\n\n // 昇順にソート\n Collections.reverse(list);\n\t\t\tString separator = \" \";\n // List の文字列を StringBuilder に追加\n StringBuilder sb = new StringBuilder();\n for (String str : list) {\n \tif(sb.length() > 0){\n \t\tsb.append(separator);\n \t}\n sb.append(str);\n }\n \tSystem.out.println(sb.toString());\n }",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"int n = input.nextInt();",
"n",
"input.nextInt()",
"input.nextInt",
"input",
"List<String> list = new ArrayList<String>();",
"list",
"new ArrayList<String>()",
"for (int i = 0; i < n; i++) {\n \tString s = input.next();\n list.add(s);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n \tString s = input.next();\n list.add(s);\n }",
"{\n \tString s = input.next();\n list.add(s);\n }",
"String s = input.next();",
"s",
"input.next()",
"input.next",
"input",
"list.add(s)",
"list.add",
"list",
"s",
"list.toString()",
"list.toString",
"list",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"String separator = \" \";",
"separator",
"\" \"",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (String str : list) {\n \tif(sb.length() > 0){\n \t\tsb.append(separator);\n \t}\n sb.append(str);\n }",
"String str",
"list",
"{\n \tif(sb.length() > 0){\n \t\tsb.append(separator);\n \t}\n sb.append(str);\n }",
"{\n \tif(sb.length() > 0){\n \t\tsb.append(separator);\n \t}\n sb.append(str);\n }",
"if(sb.length() > 0){\n \t\tsb.append(separator);\n \t}",
"sb.length() > 0",
"sb.length()",
"sb.length",
"sb",
"0",
"{\n \t\tsb.append(separator);\n \t}",
"sb.append(separator)",
"sb.append",
"sb",
"separator",
"sb.append(str)",
"sb.append",
"sb",
"str",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main(String[] args){
Scanner input = new Scanner(System.in);
int n = input.nextInt();//入力文字数決定
// 文字列を List へ追加
List<String> list = new ArrayList<String>();
for (int i = 0; i < n; i++) {
String s = input.next();
list.add(s);
}
list.toString();
// 昇順にソート
Collections.reverse(list);
String separator = " ";
// List の文字列を StringBuilder に追加
StringBuilder sb = new StringBuilder();
for (String str : list) {
if(sb.length() > 0){
sb.append(separator);
}
sb.append(str);
}
System.out.println(sb.toString());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
13,
42,
2,
40,
13,
17,
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,
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
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
14,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
39,
40
],
[
14,
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
],
[
63,
64
],
[
62,
65
],
[
61,
66
],
[
14,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
12,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n List<Integer> list = new ArrayList<>();\n int n=sc.nextInt();\n int j=n;\n while(j-->0){\n list.add(sc.nextInt());\n }\n for(int i=n-1;i>0;i--) {\n System.out.print(list.get(i)+\" \");\n }\n System.out.println(list.get(0));\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 sc =new Scanner(System.in);\n List<Integer> list = new ArrayList<>();\n int n=sc.nextInt();\n int j=n;\n while(j-->0){\n list.add(sc.nextInt());\n }\n for(int i=n-1;i>0;i--) {\n System.out.print(list.get(i)+\" \");\n }\n System.out.println(list.get(0));\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n List<Integer> list = new ArrayList<>();\n int n=sc.nextInt();\n int j=n;\n while(j-->0){\n list.add(sc.nextInt());\n }\n for(int i=n-1;i>0;i--) {\n System.out.print(list.get(i)+\" \");\n }\n System.out.println(list.get(0));\n }",
"main",
"{\n Scanner sc =new Scanner(System.in);\n List<Integer> list = new ArrayList<>();\n int n=sc.nextInt();\n int j=n;\n while(j-->0){\n list.add(sc.nextInt());\n }\n for(int i=n-1;i>0;i--) {\n System.out.print(list.get(i)+\" \");\n }\n System.out.println(list.get(0));\n }",
"Scanner sc =new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"List<Integer> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"int n=sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int j=n;",
"j",
"n",
"while(j-->0){\n list.add(sc.nextInt());\n }",
"j-->0",
"j--",
"j",
"0",
"{\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 }",
"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 }",
"{\n System.out.print(list.get(i)+\" \");\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.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){\n Scanner sc =new Scanner(System.in);\n List<Integer> list = new ArrayList<>();\n int n=sc.nextInt();\n int j=n;\n while(j-->0){\n list.add(sc.nextInt());\n }\n for(int i=n-1;i>0;i--) {\n System.out.print(list.get(i)+\" \");\n }\n System.out.println(list.get(0));\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n List<Integer> list = new ArrayList<>();\n int n=sc.nextInt();\n int j=n;\n while(j-->0){\n list.add(sc.nextInt());\n }\n for(int i=n-1;i>0;i--) {\n System.out.print(list.get(i)+\" \");\n }\n System.out.println(list.get(0));\n }\n}",
"Main"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc =new Scanner(System.in);
List<Integer> list = new ArrayList<>();
int n=sc.nextInt();
int j=n;
while(j-->0){
list.add(sc.nextInt());
}
for(int i=n-1;i>0;i--) {
System.out.print(list.get(i)+" ");
}
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,
0,
18,
13,
13,
4,
18,
13,
4,
13,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
4,
18,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
2,
18,
13,
13,
17,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
131,
5
],
[
131,
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
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
43,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
8,
77
],
[
77,
78
],
[
78,
79
],
[
6,
80
],
[
80,
81
],
[
131,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
85,
97
],
[
97,
98
],
[
98,
99
],
[
85,
100
],
[
101,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
105,
110
],
[
101,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
113,
115
],
[
101,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
120,
122
],
[
101,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
82,
128
],
[
128,
129
],
[
0,
130
],
[
130,
131
],
[
130,
132
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = sc.nextInt();\n\t\topi(a);\n\t\tfor (int i = 0; i < n -1; i++)\n\t\t\tSystem.out.print(a[i] + \" \");\n\t\tSystem.out.println(a[n-1]);\n\t\tsc.close();\n\t}\n\n\tstatic void opi(int[] x) {\n\t\tfor (int i = 0; i < x.length / 2; i++) {\n\t\t\tint j = x.length - 1 - i;\n\t\t\tint temp = x[i];\n\t\t\tx[i] = x[j];\n\t\t\tx[j] = temp;\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = sc.nextInt();\n\t\topi(a);\n\t\tfor (int i = 0; i < n -1; i++)\n\t\t\tSystem.out.print(a[i] + \" \");\n\t\tSystem.out.println(a[n-1]);\n\t\tsc.close();\n\t}\n\n\tstatic void opi(int[] x) {\n\t\tfor (int i = 0; i < x.length / 2; i++) {\n\t\t\tint j = x.length - 1 - i;\n\t\t\tint temp = x[i];\n\t\t\tx[i] = x[j];\n\t\t\tx[j] = temp;\n\t\t}\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\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = sc.nextInt();\n\t\topi(a);\n\t\tfor (int i = 0; i < n -1; i++)\n\t\t\tSystem.out.print(a[i] + \" \");\n\t\tSystem.out.println(a[n-1]);\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = sc.nextInt();\n\t\topi(a);\n\t\tfor (int i = 0; i < n -1; i++)\n\t\t\tSystem.out.print(a[i] + \" \");\n\t\tSystem.out.println(a[n-1]);\n\t\tsc.close();\n\t}",
"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",
"for (int i = 0; i < n; i++)\n\t\t\ta[i] = sc.nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = sc.nextInt();",
"a[i] = sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"opi(a)",
"opi",
"a",
"for (int i = 0; i < n -1; i++)\n\t\t\tSystem.out.print(a[i] + \" \");",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n -1",
"i",
"n -1",
"n",
"1",
"i++",
"i++",
"i",
"System.out.print(a[i] + \" \");",
"System.out.print(a[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i] + \" \"",
"a[i]",
"a",
"i",
"\" \"",
"System.out.println(a[n-1])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[n-1]",
"a",
"n-1",
"n",
"1",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"static void opi(int[] x) {\n\t\tfor (int i = 0; i < x.length / 2; i++) {\n\t\t\tint j = x.length - 1 - i;\n\t\t\tint temp = x[i];\n\t\t\tx[i] = x[j];\n\t\t\tx[j] = temp;\n\t\t}\n\t}",
"opi",
"{\n\t\tfor (int i = 0; i < x.length / 2; i++) {\n\t\t\tint j = x.length - 1 - i;\n\t\t\tint temp = x[i];\n\t\t\tx[i] = x[j];\n\t\t\tx[j] = temp;\n\t\t}\n\t}",
"for (int i = 0; i < x.length / 2; i++) {\n\t\t\tint j = x.length - 1 - i;\n\t\t\tint temp = x[i];\n\t\t\tx[i] = x[j];\n\t\t\tx[j] = temp;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < x.length / 2",
"i",
"x.length / 2",
"x.length",
"x",
"x.length",
"2",
"i++",
"i++",
"i",
"{\n\t\t\tint j = x.length - 1 - i;\n\t\t\tint temp = x[i];\n\t\t\tx[i] = x[j];\n\t\t\tx[j] = temp;\n\t\t}",
"{\n\t\t\tint j = x.length - 1 - i;\n\t\t\tint temp = x[i];\n\t\t\tx[i] = x[j];\n\t\t\tx[j] = temp;\n\t\t}",
"int j = x.length - 1 - i;",
"j",
"x.length - 1 - i",
"x.length - 1 - i",
"x.length",
"x",
"x.length",
"1",
"i",
"int temp = x[i];",
"temp",
"x[i]",
"x",
"i",
"x[i] = x[j]",
"x[i]",
"x",
"i",
"x[j]",
"x",
"j",
"x[j] = temp",
"x[j]",
"x",
"j",
"temp",
"int[] x",
"x",
"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\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = sc.nextInt();\n\t\topi(a);\n\t\tfor (int i = 0; i < n -1; i++)\n\t\t\tSystem.out.print(a[i] + \" \");\n\t\tSystem.out.println(a[n-1]);\n\t\tsc.close();\n\t}\n\n\tstatic void opi(int[] x) {\n\t\tfor (int i = 0; i < x.length / 2; i++) {\n\t\t\tint j = x.length - 1 - i;\n\t\t\tint temp = x[i];\n\t\t\tx[i] = x[j];\n\t\t\tx[j] = temp;\n\t\t}\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\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = sc.nextInt();\n\t\topi(a);\n\t\tfor (int i = 0; i < n -1; i++)\n\t\t\tSystem.out.print(a[i] + \" \");\n\t\tSystem.out.println(a[n-1]);\n\t\tsc.close();\n\t}\n\n\tstatic void opi(int[] x) {\n\t\tfor (int i = 0; i < x.length / 2; i++) {\n\t\t\tint j = x.length - 1 - i;\n\t\t\tint temp = x[i];\n\t\t\tx[i] = x[j];\n\t\t\tx[j] = temp;\n\t\t}\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[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = sc.nextInt();
opi(a);
for (int i = 0; i < n -1; i++)
System.out.print(a[i] + " ");
System.out.println(a[n-1]);
sc.close();
}
static void opi(int[] x) {
for (int i = 0; i < x.length / 2; i++) {
int j = x.length - 1 - i;
int temp = x[i];
x[i] = x[j];
x[j] = temp;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
14,
2,
13,
17,
30,
0,
18,
13,
17,
4,
18,
13,
4,
18,
18,
13,
13,
18,
13,
17,
30,
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,
2,
18,
13,
2,
13,
17,
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
] | [
[
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
],
[
22,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
21,
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
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
67,
73
],
[
41,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
74,
81
],
[
81,
82
],
[
81,
83
],
[
74,
84
],
[
84,
85
],
[
85,
86
],
[
74,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
41,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
104,
105
],
[
104,
106
],
[
6,
107
],
[
107,
108
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint x = scan.nextInt();\n\n\t\tint[] array = new int[x];\n\n\t\tif (x == 1) {\n\t\t\tarray[0] = scan.nextInt();\n\t\t\tSystem.out.println(array[0]);\n\t\t}\n\n\t\telse {\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tarray[i] = scan.nextInt();\n\t\t\t}\n\n\t\t\tSystem.out.print(array[x - 1] + \" \");\n\t\t\tfor (int i = x - 2; i > 0; i--) {\n\t\t\t\tSystem.out.print(array[i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(array[0]);\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 scan = new Scanner(System.in);\n\n\t\tint x = scan.nextInt();\n\n\t\tint[] array = new int[x];\n\n\t\tif (x == 1) {\n\t\t\tarray[0] = scan.nextInt();\n\t\t\tSystem.out.println(array[0]);\n\t\t}\n\n\t\telse {\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tarray[i] = scan.nextInt();\n\t\t\t}\n\n\t\t\tSystem.out.print(array[x - 1] + \" \");\n\t\t\tfor (int i = x - 2; i > 0; i--) {\n\t\t\t\tSystem.out.print(array[i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(array[0]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint x = scan.nextInt();\n\n\t\tint[] array = new int[x];\n\n\t\tif (x == 1) {\n\t\t\tarray[0] = scan.nextInt();\n\t\t\tSystem.out.println(array[0]);\n\t\t}\n\n\t\telse {\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tarray[i] = scan.nextInt();\n\t\t\t}\n\n\t\t\tSystem.out.print(array[x - 1] + \" \");\n\t\t\tfor (int i = x - 2; i > 0; i--) {\n\t\t\t\tSystem.out.print(array[i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(array[0]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint x = scan.nextInt();\n\n\t\tint[] array = new int[x];\n\n\t\tif (x == 1) {\n\t\t\tarray[0] = scan.nextInt();\n\t\t\tSystem.out.println(array[0]);\n\t\t}\n\n\t\telse {\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tarray[i] = scan.nextInt();\n\t\t\t}\n\n\t\t\tSystem.out.print(array[x - 1] + \" \");\n\t\t\tfor (int i = x - 2; i > 0; i--) {\n\t\t\t\tSystem.out.print(array[i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(array[0]);\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] array = new int[x];",
"array",
"new int[x]",
"x",
"if (x == 1) {\n\t\t\tarray[0] = scan.nextInt();\n\t\t\tSystem.out.println(array[0]);\n\t\t}\n\n\t\telse {\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tarray[i] = scan.nextInt();\n\t\t\t}\n\n\t\t\tSystem.out.print(array[x - 1] + \" \");\n\t\t\tfor (int i = x - 2; i > 0; i--) {\n\t\t\t\tSystem.out.print(array[i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(array[0]);\n\t\t}",
"x == 1",
"x",
"1",
"{\n\t\t\tarray[0] = scan.nextInt();\n\t\t\tSystem.out.println(array[0]);\n\t\t}",
"array[0] = scan.nextInt()",
"array[0]",
"array",
"0",
"scan.nextInt()",
"scan.nextInt",
"scan",
"System.out.println(array[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"array[0]",
"array",
"0",
"{\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tarray[i] = scan.nextInt();\n\t\t\t}\n\n\t\t\tSystem.out.print(array[x - 1] + \" \");\n\t\t\tfor (int i = x - 2; i > 0; i--) {\n\t\t\t\tSystem.out.print(array[i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(array[0]);\n\t\t}",
"for (int i = 0; i < x; i++) {\n\t\t\t\tarray[i] = scan.nextInt();\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < x",
"i",
"x",
"i++",
"i++",
"i",
"{\n\t\t\t\tarray[i] = scan.nextInt();\n\t\t\t}",
"{\n\t\t\t\tarray[i] = scan.nextInt();\n\t\t\t}",
"array[i] = scan.nextInt()",
"array[i]",
"array",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"System.out.print(array[x - 1] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"array[x - 1] + \" \"",
"array[x - 1]",
"array",
"x - 1",
"x",
"1",
"\" \"",
"for (int i = x - 2; i > 0; i--) {\n\t\t\t\tSystem.out.print(array[i] + \" \");\n\t\t\t}",
"int i = x - 2;",
"int i = x - 2;",
"i",
"x - 2",
"x",
"2",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\t\tSystem.out.print(array[i] + \" \");\n\t\t\t}",
"{\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]",
"array",
"i",
"\" \"",
"System.out.println(array[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"array[0]",
"array",
"0",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
int[] array = new int[x];
if (x == 1) {
array[0] = scan.nextInt();
System.out.println(array[0]);
}
else {
for (int i = 0; i < x; i++) {
array[i] = scan.nextInt();
}
System.out.print(array[x - 1] + " ");
for (int i = x - 2; i > 0; 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,
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,
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,
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
],
[
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
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
63,
69
],
[
69,
70
],
[
69,
71
],
[
58,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
73,
79
],
[
79,
80
],
[
79,
81
],
[
6,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int x[] = new int[n];\n int i;\n\n for(i = 0;i < n;i++){\n x[i] = sc.nextInt();\n }\n\n for(i = n - 1;i >= 0;i--){\n if(i == 0){\n System.out.printf(\"%d\\n\",x[i]);\n }else{\n System.out.printf(\"%d \",x[i]);\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\n int n = sc.nextInt();\n int x[] = new int[n];\n int i;\n\n for(i = 0;i < n;i++){\n x[i] = sc.nextInt();\n }\n\n for(i = n - 1;i >= 0;i--){\n if(i == 0){\n System.out.printf(\"%d\\n\",x[i]);\n }else{\n System.out.printf(\"%d \",x[i]);\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 x[] = new int[n];\n int i;\n\n for(i = 0;i < n;i++){\n x[i] = sc.nextInt();\n }\n\n for(i = n - 1;i >= 0;i--){\n if(i == 0){\n System.out.printf(\"%d\\n\",x[i]);\n }else{\n System.out.printf(\"%d \",x[i]);\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int x[] = new int[n];\n int i;\n\n for(i = 0;i < n;i++){\n x[i] = sc.nextInt();\n }\n\n for(i = n - 1;i >= 0;i--){\n if(i == 0){\n System.out.printf(\"%d\\n\",x[i]);\n }else{\n System.out.printf(\"%d \",x[i]);\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 x[] = new int[n];",
"x",
"new int[n]",
"n",
"int i;",
"i",
"for(i = 0;i < n;i++){\n x[i] = sc.nextInt();\n }",
"i = 0;",
"i = 0",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n x[i] = sc.nextInt();\n }",
"{\n x[i] = sc.nextInt();\n }",
"x[i] = sc.nextInt()",
"x[i]",
"x",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(i = n - 1;i >= 0;i--){\n if(i == 0){\n System.out.printf(\"%d\\n\",x[i]);\n }else{\n System.out.printf(\"%d \",x[i]);\n }\n }",
"i = n - 1;",
"i = n - 1",
"i",
"n - 1",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n if(i == 0){\n System.out.printf(\"%d\\n\",x[i]);\n }else{\n System.out.printf(\"%d \",x[i]);\n }\n }",
"{\n if(i == 0){\n System.out.printf(\"%d\\n\",x[i]);\n }else{\n System.out.printf(\"%d \",x[i]);\n }\n }",
"if(i == 0){\n System.out.printf(\"%d\\n\",x[i]);\n }else{\n System.out.printf(\"%d \",x[i]);\n }",
"i == 0",
"i",
"0",
"{\n System.out.printf(\"%d\\n\",x[i]);\n }",
"System.out.printf(\"%d\\n\",x[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\\n\"",
"x[i]",
"x",
"i",
"{\n System.out.printf(\"%d \",x[i]);\n }",
"System.out.printf(\"%d \",x[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d \"",
"x[i]",
"x",
"i",
"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 int x[] = new int[n];\n int i;\n\n for(i = 0;i < n;i++){\n x[i] = sc.nextInt();\n }\n\n for(i = n - 1;i >= 0;i--){\n if(i == 0){\n System.out.printf(\"%d\\n\",x[i]);\n }else{\n System.out.printf(\"%d \",x[i]);\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 int x[] = new int[n];\n int i;\n\n for(i = 0;i < n;i++){\n x[i] = sc.nextInt();\n }\n\n for(i = n - 1;i >= 0;i--){\n if(i == 0){\n System.out.printf(\"%d\\n\",x[i]);\n }else{\n System.out.printf(\"%d \",x[i]);\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 x[] = new int[n];
int i;
for(i = 0;i < n;i++){
x[i] = sc.nextInt();
}
for(i = n - 1;i >= 0;i--){
if(i == 0){
System.out.printf("%d\n",x[i]);
}else{
System.out.printf("%d ",x[i]);
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
40,
13,
14,
2,
2,
13,
17,
17,
9,
41,
13,
4,
18,
13,
17,
4,
13,
13,
13,
4,
18,
13,
17,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
18,
13,
2,
18,
13,
13,
17,
11,
1,
41,
13,
2,
18,
13,
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,
17,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
107,
8
],
[
107,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
31,
37
],
[
28,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
28,
44
],
[
44,
45
],
[
44,
46
],
[
44,
47
],
[
11,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
9,
52
],
[
52,
53
],
[
107,
54
],
[
54,
55
],
[
54,
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
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
69,
78
],
[
78,
79
],
[
78,
80
],
[
69,
81
],
[
81,
82
],
[
82,
83
],
[
69,
84
],
[
85,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
56,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
54,
102
],
[
102,
103
],
[
54,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tif (inCnt % 2 == 1)\n\t\t\t\tcontinue;\n\t\t\tString[] se = s.split(\" \");\n\t\t\t// int e = Integer.valueOf(se[0]);\n\t\t\tdoMain(inCnt, se);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, String[] se) {\n\t\tSystem.out.print(se[se.length - 1]);\n\t\tfor (int i = se.length - 2; i >= 0; i--) {\n\t\t\tSystem.out.print(\" \" + se[i]);\n\t\t}\n\t\tSystem.out.println(\"\");\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tif (inCnt % 2 == 1)\n\t\t\t\tcontinue;\n\t\t\tString[] se = s.split(\" \");\n\t\t\t// int e = Integer.valueOf(se[0]);\n\t\t\tdoMain(inCnt, se);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, String[] se) {\n\t\tSystem.out.print(se[se.length - 1]);\n\t\tfor (int i = se.length - 2; i >= 0; i--) {\n\t\t\tSystem.out.print(\" \" + se[i]);\n\t\t}\n\t\tSystem.out.println(\"\");\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tif (inCnt % 2 == 1)\n\t\t\t\tcontinue;\n\t\t\tString[] se = s.split(\" \");\n\t\t\t// int e = Integer.valueOf(se[0]);\n\t\t\tdoMain(inCnt, se);\n\t\t}\n\t\tSystem.exit(0);\n\t}",
"main",
"{\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tif (inCnt % 2 == 1)\n\t\t\t\tcontinue;\n\t\t\tString[] se = s.split(\" \");\n\t\t\t// int e = Integer.valueOf(se[0]);\n\t\t\tdoMain(inCnt, se);\n\t\t}\n\t\tSystem.exit(0);\n\t}",
"BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));",
"stdIn",
"new BufferedReader(new InputStreamReader(System.in))",
"String s;",
"s",
"int inCnt = 0;",
"inCnt",
"0",
"while ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tif (inCnt % 2 == 1)\n\t\t\t\tcontinue;\n\t\t\tString[] se = s.split(\" \");\n\t\t\t// int e = Integer.valueOf(se[0]);\n\t\t\tdoMain(inCnt, se);\n\t\t}",
"(s = stdIn.readLine()) != null",
"(s = stdIn.readLine())",
"s",
"stdIn.readLine()",
"stdIn.readLine",
"stdIn",
"null",
"{\n\t\t\tinCnt++;\n\t\t\tif (inCnt % 2 == 1)\n\t\t\t\tcontinue;\n\t\t\tString[] se = s.split(\" \");\n\t\t\t// int e = Integer.valueOf(se[0]);\n\t\t\tdoMain(inCnt, se);\n\t\t}",
"inCnt++",
"inCnt",
"if (inCnt % 2 == 1)\n\t\t\t\tcontinue;",
"inCnt % 2 == 1",
"inCnt % 2",
"inCnt",
"2",
"1",
"continue;",
"String[] se = s.split(\" \");",
"se",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"doMain(inCnt, se)",
"doMain",
"inCnt",
"se",
"System.exit(0)",
"System.exit",
"System",
"0",
"String[] args",
"args",
"private static void doMain(int inCnt, String[] se) {\n\t\tSystem.out.print(se[se.length - 1]);\n\t\tfor (int i = se.length - 2; i >= 0; i--) {\n\t\t\tSystem.out.print(\" \" + se[i]);\n\t\t}\n\t\tSystem.out.println(\"\");\n\n\t}",
"doMain",
"{\n\t\tSystem.out.print(se[se.length - 1]);\n\t\tfor (int i = se.length - 2; i >= 0; i--) {\n\t\t\tSystem.out.print(\" \" + se[i]);\n\t\t}\n\t\tSystem.out.println(\"\");\n\n\t}",
"System.out.print(se[se.length - 1])",
"System.out.print",
"System.out",
"System",
"System.out",
"se[se.length - 1]",
"se",
"se.length - 1",
"se.length",
"se",
"se.length",
"1",
"for (int i = se.length - 2; i >= 0; i--) {\n\t\t\tSystem.out.print(\" \" + se[i]);\n\t\t}",
"int i = se.length - 2;",
"int i = se.length - 2;",
"i",
"se.length - 2",
"se.length",
"se",
"se.length",
"2",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(\" \" + se[i]);\n\t\t}",
"{\n\t\t\tSystem.out.print(\" \" + se[i]);\n\t\t}",
"System.out.print(\" \" + se[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \" + se[i]",
"\" \"",
"se[i]",
"se",
"i",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"int inCnt",
"inCnt",
"String[] se",
"se",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tif (inCnt % 2 == 1)\n\t\t\t\tcontinue;\n\t\t\tString[] se = s.split(\" \");\n\t\t\t// int e = Integer.valueOf(se[0]);\n\t\t\tdoMain(inCnt, se);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, String[] se) {\n\t\tSystem.out.print(se[se.length - 1]);\n\t\tfor (int i = se.length - 2; i >= 0; i--) {\n\t\t\tSystem.out.print(\" \" + se[i]);\n\t\t}\n\t\tSystem.out.println(\"\");\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tif (inCnt % 2 == 1)\n\t\t\t\tcontinue;\n\t\t\tString[] se = s.split(\" \");\n\t\t\t// int e = Integer.valueOf(se[0]);\n\t\t\tdoMain(inCnt, se);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, String[] se) {\n\t\tSystem.out.print(se[se.length - 1]);\n\t\tfor (int i = se.length - 2; i >= 0; i--) {\n\t\t\tSystem.out.print(\" \" + se[i]);\n\t\t}\n\t\tSystem.out.println(\"\");\n\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
String s;
int inCnt = 0;
while ((s = stdIn.readLine()) != null) {
inCnt++;
if (inCnt % 2 == 1)
continue;
String[] se = s.split(" ");
// int e = Integer.valueOf(se[0]);
doMain(inCnt, se);
}
System.exit(0);
}
private static void doMain(int inCnt, String[] se) {
System.out.print(se[se.length - 1]);
for (int i = se.length - 2; i >= 0; i--) {
System.out.print(" " + se[i]);
}
System.out.println("");
}
} |
[
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,
42,
2,
13,
17,
30,
40,
13,
4,
18,
13,
2,
18,
13,
13,
17,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
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
],
[
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
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
8,
52
],
[
52,
53
],
[
52,
54
],
[
8,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
6,
68
],
[
68,
69
]
] | [
"import java.util.Scanner; \nclass Main{\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n String b = in.nextLine();\n int n = Integer.parseInt(b);\n String a = in.nextLine();\n String[] strAry = a.split(\" \");\n\n while(n > 0){\n n--;\n //System.out.print(strAry[n]);\n sb.append(strAry[n] + \" \");\n }\n String str = new String(sb);\n String str_new = str.trim();\n System.out.print(str_new + \"\\n\");\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n String b = in.nextLine();\n int n = Integer.parseInt(b);\n String a = in.nextLine();\n String[] strAry = a.split(\" \");\n\n while(n > 0){\n n--;\n //System.out.print(strAry[n]);\n sb.append(strAry[n] + \" \");\n }\n String str = new String(sb);\n String str_new = str.trim();\n System.out.print(str_new + \"\\n\");\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n String b = in.nextLine();\n int n = Integer.parseInt(b);\n String a = in.nextLine();\n String[] strAry = a.split(\" \");\n\n while(n > 0){\n n--;\n //System.out.print(strAry[n]);\n sb.append(strAry[n] + \" \");\n }\n String str = new String(sb);\n String str_new = str.trim();\n System.out.print(str_new + \"\\n\");\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n String b = in.nextLine();\n int n = Integer.parseInt(b);\n String a = in.nextLine();\n String[] strAry = a.split(\" \");\n\n while(n > 0){\n n--;\n //System.out.print(strAry[n]);\n sb.append(strAry[n] + \" \");\n }\n String str = new String(sb);\n String str_new = str.trim();\n System.out.print(str_new + \"\\n\");\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"String b = in.nextLine();",
"b",
"in.nextLine()",
"in.nextLine",
"in",
"int n = Integer.parseInt(b);",
"n",
"Integer.parseInt(b)",
"Integer.parseInt",
"Integer",
"b",
"String a = in.nextLine();",
"a",
"in.nextLine()",
"in.nextLine",
"in",
"String[] strAry = a.split(\" \");",
"strAry",
"a.split(\" \")",
"a.split",
"a",
"\" \"",
"while(n > 0){\n n--;\n //System.out.print(strAry[n]);\n sb.append(strAry[n] + \" \");\n }",
"n > 0",
"n",
"0",
"{\n n--;\n //System.out.print(strAry[n]);\n sb.append(strAry[n] + \" \");\n }",
"n--",
"n",
"sb.append(strAry[n] + \" \")",
"sb.append",
"sb",
"strAry[n] + \" \"",
"strAry[n]",
"strAry",
"n",
"\" \"",
"String str = new String(sb);",
"str",
"new String(sb)",
"String str_new = str.trim();",
"str_new",
"str.trim()",
"str.trim",
"str",
"System.out.print(str_new + \"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"str_new + \"\\n\"",
"str_new",
"\"\\n\"",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner in = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
String b = in.nextLine();
int n = Integer.parseInt(b);
String a = in.nextLine();
String[] strAry = a.split(" ");
while(n > 0){
n--;
//System.out.print(strAry[n]);
sb.append(strAry[n] + " ");
}
String str = new String(sb);
String str_new = str.trim();
System.out.print(str_new + "\n");
}
} |
[
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,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
41,
13,
20,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
40,
13,
0,
13,
13,
14,
2,
2,
13,
17,
17,
30,
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,
13,
0,
18,
13,
13,
13,
40,
13,
30,
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,
13,
0,
18,
13,
13,
13,
40,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
18,
13,
13,
14,
2,
13,
13,
3,
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
],
[
194,
11
],
[
194,
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
],
[
14,
32
],
[
32,
33
],
[
32,
34
],
[
14,
35
],
[
35,
36
],
[
35,
37
],
[
14,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
40,
45
],
[
14,
46
],
[
46,
47
],
[
46,
48
],
[
14,
49
],
[
49,
50
],
[
49,
51
],
[
14,
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
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
73,
74
],
[
73,
75
],
[
14,
76
],
[
76,
77
],
[
14,
78
],
[
78,
79
],
[
78,
80
],
[
14,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
81,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
95,
97
],
[
88,
98
],
[
98,
99
],
[
99,
100
],
[
88,
101
],
[
102,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
105,
107
],
[
102,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
112,
114
],
[
102,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
102,
120
],
[
120,
121
],
[
81,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
123,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
130,
132
],
[
123,
133
],
[
133,
134
],
[
134,
135
],
[
123,
136
],
[
137,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
140,
142
],
[
137,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
147,
148
],
[
147,
149
],
[
137,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
137,
155
],
[
155,
156
],
[
14,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
157,
162
],
[
162,
163
],
[
162,
164
],
[
157,
165
],
[
165,
166
],
[
166,
167
],
[
157,
168
],
[
169,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
170,
173
],
[
173,
174
],
[
173,
175
],
[
169,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
176,
180
],
[
169,
181
],
[
181,
182
],
[
182,
183
],
[
181,
184
],
[
14,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
185,
190
],
[
12,
191
],
[
191,
192
],
[
0,
193
],
[
193,
194
],
[
193,
195
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] age)throws IOException{\n\t\tBufferedReader sb = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = sb.readLine();\n\t\tint g = Integer.parseInt(input);\n\t\tint i = 0;\n\t\tint j = 0;\n\t\tint t = 0;\n\t\tString[] reinput = sb.readLine().split(\" \");\n\t\tStringBuffer br = new StringBuffer();\n\t\tint[] sainput = new int[g];\n\n\t\tfor( i=0 ; i<g ; i++ ){\n\t\t\tsainput[i] = Integer.parseInt(reinput[i]);\n\t\t}\n\n\t\tg--;\n\t\tj = g;\n\n\t\tif(g%2==1){\n\t\t\tfor( i=0 ; i<=j/2 ; i++ ){\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}\n\t\t}else{\n\t\t\tfor( i=0 ; i<j/2 ; i++ ){\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}\n\t\t}\n\n\t\tfor( i=0 ; i<=j ; i++){\n\t\t\tbr.append(sainput[i]);\n\t\t\tif( i==j ) break;\n\t\t\tbr.append(\" \");\n\t\t}\n\t\tSystem.out.println(br);\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[] age)throws IOException{\n\t\tBufferedReader sb = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = sb.readLine();\n\t\tint g = Integer.parseInt(input);\n\t\tint i = 0;\n\t\tint j = 0;\n\t\tint t = 0;\n\t\tString[] reinput = sb.readLine().split(\" \");\n\t\tStringBuffer br = new StringBuffer();\n\t\tint[] sainput = new int[g];\n\n\t\tfor( i=0 ; i<g ; i++ ){\n\t\t\tsainput[i] = Integer.parseInt(reinput[i]);\n\t\t}\n\n\t\tg--;\n\t\tj = g;\n\n\t\tif(g%2==1){\n\t\t\tfor( i=0 ; i<=j/2 ; i++ ){\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}\n\t\t}else{\n\t\t\tfor( i=0 ; i<j/2 ; i++ ){\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}\n\t\t}\n\n\t\tfor( i=0 ; i<=j ; i++){\n\t\t\tbr.append(sainput[i]);\n\t\t\tif( i==j ) break;\n\t\t\tbr.append(\" \");\n\t\t}\n\t\tSystem.out.println(br);\n\t}\n}",
"Main",
"public static void main(String[] age)throws IOException{\n\t\tBufferedReader sb = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = sb.readLine();\n\t\tint g = Integer.parseInt(input);\n\t\tint i = 0;\n\t\tint j = 0;\n\t\tint t = 0;\n\t\tString[] reinput = sb.readLine().split(\" \");\n\t\tStringBuffer br = new StringBuffer();\n\t\tint[] sainput = new int[g];\n\n\t\tfor( i=0 ; i<g ; i++ ){\n\t\t\tsainput[i] = Integer.parseInt(reinput[i]);\n\t\t}\n\n\t\tg--;\n\t\tj = g;\n\n\t\tif(g%2==1){\n\t\t\tfor( i=0 ; i<=j/2 ; i++ ){\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}\n\t\t}else{\n\t\t\tfor( i=0 ; i<j/2 ; i++ ){\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}\n\t\t}\n\n\t\tfor( i=0 ; i<=j ; i++){\n\t\t\tbr.append(sainput[i]);\n\t\t\tif( i==j ) break;\n\t\t\tbr.append(\" \");\n\t\t}\n\t\tSystem.out.println(br);\n\t}",
"main",
"{\n\t\tBufferedReader sb = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = sb.readLine();\n\t\tint g = Integer.parseInt(input);\n\t\tint i = 0;\n\t\tint j = 0;\n\t\tint t = 0;\n\t\tString[] reinput = sb.readLine().split(\" \");\n\t\tStringBuffer br = new StringBuffer();\n\t\tint[] sainput = new int[g];\n\n\t\tfor( i=0 ; i<g ; i++ ){\n\t\t\tsainput[i] = Integer.parseInt(reinput[i]);\n\t\t}\n\n\t\tg--;\n\t\tj = g;\n\n\t\tif(g%2==1){\n\t\t\tfor( i=0 ; i<=j/2 ; i++ ){\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}\n\t\t}else{\n\t\t\tfor( i=0 ; i<j/2 ; i++ ){\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}\n\t\t}\n\n\t\tfor( i=0 ; i<=j ; i++){\n\t\t\tbr.append(sainput[i]);\n\t\t\tif( i==j ) break;\n\t\t\tbr.append(\" \");\n\t\t}\n\t\tSystem.out.println(br);\n\t}",
"BufferedReader sb = new BufferedReader(new InputStreamReader(System.in));",
"sb",
"new BufferedReader(new InputStreamReader(System.in))",
"String input = sb.readLine();",
"input",
"sb.readLine()",
"sb.readLine",
"sb",
"int g = Integer.parseInt(input);",
"g",
"Integer.parseInt(input)",
"Integer.parseInt",
"Integer",
"input",
"int i = 0;",
"i",
"0",
"int j = 0;",
"j",
"0",
"int t = 0;",
"t",
"0",
"String[] reinput = sb.readLine().split(\" \");",
"reinput",
"sb.readLine().split(\" \")",
"sb.readLine().split",
"sb.readLine()",
"sb.readLine",
"sb",
"\" \"",
"StringBuffer br = new StringBuffer();",
"br",
"new StringBuffer()",
"int[] sainput = new int[g];",
"sainput",
"new int[g]",
"g",
"for( i=0 ; i<g ; i++ ){\n\t\t\tsainput[i] = Integer.parseInt(reinput[i]);\n\t\t}",
"i=0 ;",
"i=0",
"i",
"0",
"i<g",
"i",
"g",
"i++",
"i++",
"i",
"{\n\t\t\tsainput[i] = Integer.parseInt(reinput[i]);\n\t\t}",
"{\n\t\t\tsainput[i] = Integer.parseInt(reinput[i]);\n\t\t}",
"sainput[i] = Integer.parseInt(reinput[i])",
"sainput[i]",
"sainput",
"i",
"Integer.parseInt(reinput[i])",
"Integer.parseInt",
"Integer",
"reinput[i]",
"reinput",
"i",
"g--",
"g",
"j = g",
"j",
"g",
"if(g%2==1){\n\t\t\tfor( i=0 ; i<=j/2 ; i++ ){\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}\n\t\t}else{\n\t\t\tfor( i=0 ; i<j/2 ; i++ ){\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}\n\t\t}",
"g%2==1",
"g%2",
"g",
"2",
"1",
"{\n\t\t\tfor( i=0 ; i<=j/2 ; i++ ){\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}\n\t\t}",
"for( i=0 ; i<=j/2 ; i++ ){\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}",
"i=0 ;",
"i=0",
"i",
"0",
"i<=j/2",
"i",
"j/2",
"j",
"2",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}",
"{\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}",
"t = sainput[i]",
"t",
"sainput[i]",
"sainput",
"i",
"sainput[i]=sainput[g]",
"sainput[i]",
"sainput",
"i",
"sainput[g]",
"sainput",
"g",
"sainput[g]=t",
"sainput[g]",
"sainput",
"g",
"t",
"g--",
"g",
"{\n\t\t\tfor( i=0 ; i<j/2 ; i++ ){\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}\n\t\t}",
"for( i=0 ; i<j/2 ; i++ ){\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}",
"i=0 ;",
"i=0",
"i",
"0",
"i<j/2",
"i",
"j/2",
"j",
"2",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}",
"{\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}",
"t = sainput[i]",
"t",
"sainput[i]",
"sainput",
"i",
"sainput[i]=sainput[g]",
"sainput[i]",
"sainput",
"i",
"sainput[g]",
"sainput",
"g",
"sainput[g]=t",
"sainput[g]",
"sainput",
"g",
"t",
"g--",
"g",
"for( i=0 ; i<=j ; i++){\n\t\t\tbr.append(sainput[i]);\n\t\t\tif( i==j ) break;\n\t\t\tbr.append(\" \");\n\t\t}",
"i=0 ;",
"i=0",
"i",
"0",
"i<=j",
"i",
"j",
"i++",
"i++",
"i",
"{\n\t\t\tbr.append(sainput[i]);\n\t\t\tif( i==j ) break;\n\t\t\tbr.append(\" \");\n\t\t}",
"{\n\t\t\tbr.append(sainput[i]);\n\t\t\tif( i==j ) break;\n\t\t\tbr.append(\" \");\n\t\t}",
"br.append(sainput[i])",
"br.append",
"br",
"sainput[i]",
"sainput",
"i",
"if( i==j ) break;",
"i==j",
"i",
"j",
"break;",
"br.append(\" \")",
"br.append",
"br",
"\" \"",
"System.out.println(br)",
"System.out.println",
"System.out",
"System",
"System.out",
"br",
"String[] age",
"age",
"public class Main {\n\tpublic static void main(String[] age)throws IOException{\n\t\tBufferedReader sb = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = sb.readLine();\n\t\tint g = Integer.parseInt(input);\n\t\tint i = 0;\n\t\tint j = 0;\n\t\tint t = 0;\n\t\tString[] reinput = sb.readLine().split(\" \");\n\t\tStringBuffer br = new StringBuffer();\n\t\tint[] sainput = new int[g];\n\n\t\tfor( i=0 ; i<g ; i++ ){\n\t\t\tsainput[i] = Integer.parseInt(reinput[i]);\n\t\t}\n\n\t\tg--;\n\t\tj = g;\n\n\t\tif(g%2==1){\n\t\t\tfor( i=0 ; i<=j/2 ; i++ ){\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}\n\t\t}else{\n\t\t\tfor( i=0 ; i<j/2 ; i++ ){\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}\n\t\t}\n\n\t\tfor( i=0 ; i<=j ; i++){\n\t\t\tbr.append(sainput[i]);\n\t\t\tif( i==j ) break;\n\t\t\tbr.append(\" \");\n\t\t}\n\t\tSystem.out.println(br);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] age)throws IOException{\n\t\tBufferedReader sb = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = sb.readLine();\n\t\tint g = Integer.parseInt(input);\n\t\tint i = 0;\n\t\tint j = 0;\n\t\tint t = 0;\n\t\tString[] reinput = sb.readLine().split(\" \");\n\t\tStringBuffer br = new StringBuffer();\n\t\tint[] sainput = new int[g];\n\n\t\tfor( i=0 ; i<g ; i++ ){\n\t\t\tsainput[i] = Integer.parseInt(reinput[i]);\n\t\t}\n\n\t\tg--;\n\t\tj = g;\n\n\t\tif(g%2==1){\n\t\t\tfor( i=0 ; i<=j/2 ; i++ ){\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}\n\t\t}else{\n\t\t\tfor( i=0 ; i<j/2 ; i++ ){\n\t\t\t\t\tt = sainput[i];\n\t\t\t\t\tsainput[i]=sainput[g];\n\t\t\t\t\tsainput[g]=t;\n\t\t\t\t\tg--;\n\t\t\t}\n\t\t}\n\n\t\tfor( i=0 ; i<=j ; i++){\n\t\t\tbr.append(sainput[i]);\n\t\t\tif( i==j ) break;\n\t\t\tbr.append(\" \");\n\t\t}\n\t\tSystem.out.println(br);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] age)throws IOException{
BufferedReader sb = new BufferedReader(new InputStreamReader(System.in));
String input = sb.readLine();
int g = Integer.parseInt(input);
int i = 0;
int j = 0;
int t = 0;
String[] reinput = sb.readLine().split(" ");
StringBuffer br = new StringBuffer();
int[] sainput = new int[g];
for( i=0 ; i<g ; i++ ){
sainput[i] = Integer.parseInt(reinput[i]);
}
g--;
j = g;
if(g%2==1){
for( i=0 ; i<=j/2 ; i++ ){
t = sainput[i];
sainput[i]=sainput[g];
sainput[g]=t;
g--;
}
}else{
for( i=0 ; i<j/2 ; i++ ){
t = sainput[i];
sainput[i]=sainput[g];
sainput[g]=t;
g--;
}
}
for( i=0 ; i<=j ; i++){
br.append(sainput[i]);
if( i==j ) break;
br.append(" ");
}
System.out.println(br);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
20,
17,
12,
13,
30,
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,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
17,
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
],
[
4,
8
],
[
8,
9
],
[
4,
10
],
[
10,
11
],
[
10,
12
],
[
4,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
16,
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
],
[
16,
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
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
59,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
16,
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.Scanner;\nclass Main {\n\tint n,i;\n\tint[] a = new int[100];\n\tpublic void suzuki(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\t\tfor(i = 0;i < n;i++){\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tfor(i = (n - 1);i > 0;i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println(a[0]);\n\t}\n\tpublic static void main(String[] args){\n\t\tnew Main().suzuki();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tint n,i;\n\tint[] a = new int[100];\n\tpublic void suzuki(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\t\tfor(i = 0;i < n;i++){\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tfor(i = (n - 1);i > 0;i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println(a[0]);\n\t}\n\tpublic static void main(String[] args){\n\t\tnew Main().suzuki();\n\t}\n}",
"Main",
"int n",
"n",
"i;",
"i",
"int[] a = new int[100];",
"a",
"new int[100]",
"100",
"public void suzuki(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\t\tfor(i = 0;i < n;i++){\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tfor(i = (n - 1);i > 0;i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println(a[0]);\n\t}",
"suzuki",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\t\tfor(i = 0;i < n;i++){\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tfor(i = (n - 1);i > 0;i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println(a[0]);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"n = sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(i = 0;i < n;i++){\n\t\t\ta[i] = sc.nextInt();\n\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\ta[i] = sc.nextInt();\n\t\t}",
"a[i] = sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(i = (n - 1);i > 0;i--){\n\t\t\tSystem.out.print(a[i]);\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"i = (n - 1);",
"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\tSystem.out.print(\" \");\n\t\t}",
"{\n\t\t\tSystem.out.print(a[i]);\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",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"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\tnew Main().suzuki();\n\t}",
"main",
"{\n\t\tnew Main().suzuki();\n\t}",
"new Main().suzuki()",
"new Main().suzuki",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
int n,i;
int[] a = new int[100];
public void suzuki(){
Scanner sc = new Scanner(System.in);
n = sc.nextInt();
for(i = 0;i < n;i++){
a[i] = sc.nextInt();
}
for(i = (n - 1);i > 0;i--){
System.out.print(a[i]);
System.out.print(" ");
}
System.out.println(a[0]);
}
public static void main(String[] args){
new Main().suzuki();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
41,
13,
0,
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,
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,
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
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
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
],
[
39,
40
],
[
39,
41
],
[
42,
42
],
[
42,
43
],
[
42,
44
],
[
42,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
49,
62
],
[
63,
63
],
[
63,
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
],
[
74,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
6,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
] | [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n int num;\n Scanner scanner = new Scanner(System.in);\n \n num = scanner.nextInt();\n\n int[] array;\n array = new int[num];\n\n for(int i = 0; i < num; i++){\n array[num - 1 - i] = scanner.nextInt();\n }\n\n for(int i = 0; i < num - 1; i++){\n System.out.print(array[i] + \" \");\n }\n\n System.out.println(array[num - 1]);\n\n scanner.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n int num;\n Scanner scanner = new Scanner(System.in);\n \n num = scanner.nextInt();\n\n int[] array;\n array = new int[num];\n\n for(int i = 0; i < num; i++){\n array[num - 1 - i] = scanner.nextInt();\n }\n\n for(int i = 0; i < num - 1; i++){\n System.out.print(array[i] + \" \");\n }\n\n System.out.println(array[num - 1]);\n\n scanner.close();\n }\n}",
"Main",
"public static void main(String[] args){\n int num;\n Scanner scanner = new Scanner(System.in);\n \n num = scanner.nextInt();\n\n int[] array;\n array = new int[num];\n\n for(int i = 0; i < num; i++){\n array[num - 1 - i] = scanner.nextInt();\n }\n\n for(int i = 0; i < num - 1; i++){\n System.out.print(array[i] + \" \");\n }\n\n System.out.println(array[num - 1]);\n\n scanner.close();\n }",
"main",
"{\n int num;\n Scanner scanner = new Scanner(System.in);\n \n num = scanner.nextInt();\n\n int[] array;\n array = new int[num];\n\n for(int i = 0; i < num; i++){\n array[num - 1 - i] = scanner.nextInt();\n }\n\n for(int i = 0; i < num - 1; i++){\n System.out.print(array[i] + \" \");\n }\n\n System.out.println(array[num - 1]);\n\n scanner.close();\n }",
"int num;",
"num",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"num = scanner.nextInt()",
"num",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int[] array;",
"array",
"array = new int[num]",
"array",
"new int[num]",
"num",
"for(int i = 0; i < num; i++){\n array[num - 1 - i] = scanner.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < num",
"i",
"num",
"i++",
"i++",
"i",
"{\n array[num - 1 - i] = scanner.nextInt();\n }",
"{\n array[num - 1 - i] = scanner.nextInt();\n }",
"array[num - 1 - i] = scanner.nextInt()",
"array[num - 1 - i]",
"array",
"num - 1 - i",
"num - 1 - i",
"num",
"1",
"i",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"for(int i = 0; i < num - 1; i++){\n System.out.print(array[i] + \" \");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < num - 1",
"i",
"num - 1",
"num",
"1",
"i++",
"i++",
"i",
"{\n System.out.print(array[i] + \" \");\n }",
"{\n System.out.print(array[i] + \" \");\n }",
"System.out.print(array[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"array[i] + \" \"",
"array[i]",
"array",
"i",
"\" \"",
"System.out.println(array[num - 1])",
"System.out.println",
"System.out",
"System",
"System.out",
"array[num - 1]",
"array",
"num - 1",
"num",
"1",
"scanner.close()",
"scanner.close",
"scanner",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n int num;\n Scanner scanner = new Scanner(System.in);\n \n num = scanner.nextInt();\n\n int[] array;\n array = new int[num];\n\n for(int i = 0; i < num; i++){\n array[num - 1 - i] = scanner.nextInt();\n }\n\n for(int i = 0; i < num - 1; i++){\n System.out.print(array[i] + \" \");\n }\n\n System.out.println(array[num - 1]);\n\n scanner.close();\n }\n}",
"public class Main{\n public static void main(String[] args){\n int num;\n Scanner scanner = new Scanner(System.in);\n \n num = scanner.nextInt();\n\n int[] array;\n array = new int[num];\n\n for(int i = 0; i < num; i++){\n array[num - 1 - i] = scanner.nextInt();\n }\n\n for(int i = 0; i < num - 1; i++){\n System.out.print(array[i] + \" \");\n }\n\n System.out.println(array[num - 1]);\n\n scanner.close();\n }\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args){
int num;
Scanner scanner = new Scanner(System.in);
num = scanner.nextInt();
int[] array;
array = new int[num];
for(int i = 0; i < num; i++){
array[num - 1 - i] = scanner.nextInt();
}
for(int i = 0; i < num - 1; i++){
System.out.print(array[i] + " ");
}
System.out.println(array[num - 1]);
scanner.close();
}
}
|
[
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,
4,
18,
18,
13,
13,
2,
18,
13,
2,
2,
13,
17,
13,
17,
4,
18,
18,
13,
13,
18,
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
],
[
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
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
65,
65
],
[
65,
66
],
[
65,
67
],
[
65,
68
],
[
61,
69
],
[
8,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
6,
78
],
[
78,
79
]
] | [
"import java.util.Scanner;\nclass Main\n{\npublic static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int a[] = new int[n];\n \n for(int i=0; i<n; i++){\n a[i] = sc.nextInt();\n }\n for(int i=0;i<n-1;i++){\n System.out.print(a[n-1-i]+\" \");\n }\n System.out.println(a[0]);\n}\n}\n\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main\n{\npublic static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int a[] = new int[n];\n \n for(int i=0; i<n; i++){\n a[i] = sc.nextInt();\n }\n for(int i=0;i<n-1;i++){\n System.out.print(a[n-1-i]+\" \");\n }\n System.out.println(a[0]);\n}\n}",
"Main",
"public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int a[] = new int[n];\n \n for(int i=0; i<n; i++){\n a[i] = sc.nextInt();\n }\n for(int i=0;i<n-1;i++){\n System.out.print(a[n-1-i]+\" \");\n }\n System.out.println(a[0]);\n}",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int a[] = new int[n];\n \n for(int i=0; i<n; i++){\n a[i] = sc.nextInt();\n }\n for(int i=0;i<n-1;i++){\n System.out.print(a[n-1-i]+\" \");\n }\n System.out.println(a[0]);\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",
"for(int i=0; i<n; i++){\n a[i] = sc.nextInt();\n }",
"int i=0;",
"int 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(int i=0;i<n-1;i++){\n System.out.print(a[n-1-i]+\" \");\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n-1",
"i",
"n-1",
"n",
"1",
"i++",
"i++",
"i",
"{\n System.out.print(a[n-1-i]+\" \");\n }",
"{\n System.out.print(a[n-1-i]+\" \");\n }",
"System.out.print(a[n-1-i]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"a[n-1-i]+\" \"",
"a[n-1-i]",
"a",
"n-1-i",
"n-1-i",
"n",
"1",
"i",
"\" \"",
"System.out.println(a[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[0]",
"a",
"0",
"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 a[] = new int[n];
for(int i=0; i<n; i++){
a[i] = sc.nextInt();
}
for(int i=0;i<n-1;i++){
System.out.print(a[n-1-i]+" ");
}
System.out.println(a[0]);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
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,
40,
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
118,
11
],
[
118,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
15,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
22,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
22,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
22,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
22,
48
],
[
48,
49
],
[
48,
50
],
[
22,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
72,
74
],
[
22,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
75,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
75,
86
],
[
86,
87
],
[
87,
88
],
[
75,
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
],
[
99,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
22,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
12,
115
],
[
115,
116
],
[
0,
117
],
[
117,
118
],
[
117,
119
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString s = reader.readLine();\n\t\t\t\t\n\t\t\tint n = Integer.parseInt(s);\n\t\t\tString t = reader.readLine();\n\t\t\tString[] u = t.split(\" \"); \n\t\t\t\n\t\t\tint[] m = new int[n];\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tm[i] = Integer.parseInt(u[i]);\n\t\t\t}\n\t\t\t\n\t\t\tfor (int j = n - 1; j > -1; j--) {\n\t\t\t\tSystem.out.print(m[j]);\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\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",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString s = reader.readLine();\n\t\t\t\t\n\t\t\tint n = Integer.parseInt(s);\n\t\t\tString t = reader.readLine();\n\t\t\tString[] u = t.split(\" \"); \n\t\t\t\n\t\t\tint[] m = new int[n];\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tm[i] = Integer.parseInt(u[i]);\n\t\t\t}\n\t\t\t\n\t\t\tfor (int j = n - 1; j > -1; j--) {\n\t\t\t\tSystem.out.print(m[j]);\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString s = reader.readLine();\n\t\t\t\t\n\t\t\tint n = Integer.parseInt(s);\n\t\t\tString t = reader.readLine();\n\t\t\tString[] u = t.split(\" \"); \n\t\t\t\n\t\t\tint[] m = new int[n];\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tm[i] = Integer.parseInt(u[i]);\n\t\t\t}\n\t\t\t\n\t\t\tfor (int j = n - 1; j > -1; j--) {\n\t\t\t\tSystem.out.print(m[j]);\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString s = reader.readLine();\n\t\t\t\t\n\t\t\tint n = Integer.parseInt(s);\n\t\t\tString t = reader.readLine();\n\t\t\tString[] u = t.split(\" \"); \n\t\t\t\n\t\t\tint[] m = new int[n];\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tm[i] = Integer.parseInt(u[i]);\n\t\t\t}\n\t\t\t\n\t\t\tfor (int j = n - 1; j > -1; j--) {\n\t\t\t\tSystem.out.print(m[j]);\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"try {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString s = reader.readLine();\n\t\t\t\t\n\t\t\tint n = Integer.parseInt(s);\n\t\t\tString t = reader.readLine();\n\t\t\tString[] u = t.split(\" \"); \n\t\t\t\n\t\t\tint[] m = new int[n];\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tm[i] = Integer.parseInt(u[i]);\n\t\t\t}\n\t\t\t\n\t\t\tfor (int j = n - 1; j > -1; j--) {\n\t\t\t\tSystem.out.print(m[j]);\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\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\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString s = reader.readLine();\n\t\t\t\t\n\t\t\tint n = Integer.parseInt(s);\n\t\t\tString t = reader.readLine();\n\t\t\tString[] u = t.split(\" \"); \n\t\t\t\n\t\t\tint[] m = new int[n];\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tm[i] = Integer.parseInt(u[i]);\n\t\t\t}\n\t\t\t\n\t\t\tfor (int j = n - 1; j > -1; j--) {\n\t\t\t\tSystem.out.print(m[j]);\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\t\n\t\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String s = reader.readLine();",
"s",
"reader.readLine()",
"reader.readLine",
"reader",
"int n = Integer.parseInt(s);",
"n",
"Integer.parseInt(s)",
"Integer.parseInt",
"Integer",
"s",
"String t = reader.readLine();",
"t",
"reader.readLine()",
"reader.readLine",
"reader",
"String[] u = t.split(\" \");",
"u",
"t.split(\" \")",
"t.split",
"t",
"\" \"",
"int[] m = new int[n];",
"m",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n\t\t\t\tm[i] = Integer.parseInt(u[i]);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\tm[i] = Integer.parseInt(u[i]);\n\t\t\t}",
"{\n\t\t\t\tm[i] = Integer.parseInt(u[i]);\n\t\t\t}",
"m[i] = Integer.parseInt(u[i])",
"m[i]",
"m",
"i",
"Integer.parseInt(u[i])",
"Integer.parseInt",
"Integer",
"u[i]",
"u",
"i",
"for (int j = n - 1; j > -1; j--) {\n\t\t\t\tSystem.out.print(m[j]);\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}",
"int j = n - 1;",
"int j = n - 1;",
"j",
"n - 1",
"n",
"1",
"j > -1",
"j",
"-1",
"1",
"j--",
"j--",
"j",
"{\n\t\t\t\tSystem.out.print(m[j]);\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print(m[j]);\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}",
"System.out.print(m[j])",
"System.out.print",
"System.out",
"System",
"System.out",
"m[j]",
"m",
"j",
"if (j != 0) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}",
"j != 0",
"j",
"0",
"{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\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",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString s = reader.readLine();\n\t\t\t\t\n\t\t\tint n = Integer.parseInt(s);\n\t\t\tString t = reader.readLine();\n\t\t\tString[] u = t.split(\" \"); \n\t\t\t\n\t\t\tint[] m = new int[n];\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tm[i] = Integer.parseInt(u[i]);\n\t\t\t}\n\t\t\t\n\t\t\tfor (int j = n - 1; j > -1; j--) {\n\t\t\t\tSystem.out.print(m[j]);\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n}",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString s = reader.readLine();\n\t\t\t\t\n\t\t\tint n = Integer.parseInt(s);\n\t\t\tString t = reader.readLine();\n\t\t\tString[] u = t.split(\" \"); \n\t\t\t\n\t\t\tint[] m = new int[n];\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tm[i] = Integer.parseInt(u[i]);\n\t\t\t}\n\t\t\t\n\t\t\tfor (int j = n - 1; j > -1; j--) {\n\t\t\t\tSystem.out.print(m[j]);\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\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) {
try {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String s = reader.readLine();
int n = Integer.parseInt(s);
String t = reader.readLine();
String[] u = t.split(" ");
int[] m = new int[n];
for (int i = 0; i < n; i++) {
m[i] = Integer.parseInt(u[i]);
}
for (int j = n - 1; j > -1; j--) {
System.out.print(m[j]);
if (j != 0) {
System.out.print(" ");
}
}
System.out.println();
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
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,
2,
17,
13,
30,
41,
13,
4,
18,
13,
4,
18,
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,
4,
13,
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,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
18,
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,
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
],
[
181,
11
],
[
181,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
18,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
30,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
30,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
30,
50
],
[
50,
51
],
[
50,
52
],
[
53,
54
],
[
53,
55
],
[
30,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
56,
66
],
[
66,
67
],
[
67,
68
],
[
56,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
78,
79
],
[
78,
80
],
[
30,
81
],
[
81,
82
],
[
81,
83
],
[
30,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
84,
92
],
[
92,
93
],
[
93,
94
],
[
84,
95
],
[
96,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
102,
103
],
[
102,
104
],
[
96,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
108,
110
],
[
105,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
30,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
30,
123
],
[
123,
124
],
[
124,
125
],
[
12,
126
],
[
126,
127
],
[
181,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
133,
135
],
[
130,
136
],
[
136,
137
],
[
130,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
138,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
145,
147
],
[
138,
148
],
[
148,
149
],
[
149,
150
],
[
138,
151
],
[
152,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
155,
157
],
[
152,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
152,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
172,
176
],
[
169,
177
],
[
128,
178
],
[
178,
179
],
[
0,
180
],
[
180,
181
],
[
180,
182
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\n\npublic class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\ttry{\n\t\tint n=Integer.parseInt(reader.readLine());//n?????????\n\t\tString text=reader.readLine();\n\n\n\t\tString[] num_array=text.split(\" \");\n\t\tint[] num_array_int=new int[num_array.length];\n\n\t\tfor(int i=0;i<num_array.length;i++){\n\t\t\tnum_array_int[i]=Integer.parseInt(num_array[i]);\n\t\t}\n\n\t\tswap(num_array_int);\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tSystem.out.print(num_array_int[i]);\n\t\t\tif(i!=n-1){System.out.print(\" \");}\n\t\t}System.out.println();\n\t\treader.close();\n\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????\"+e);\n\t\t}\n\n\t}\n\n\t//????????????????????\\?????????????????????????????????\n\tpublic static void swap(int x[]){\n\t\t//????????????????????????\n\t\tint len=x.length;\n\t\tint a;\n\t\tfor(int i=0;i<(len/2);i++){\n\t\t\ta=x[i];\n\t\t\tx[i]=x[(len-1)-i];\n\t\t\tx[(len-1)-i]=a;\n\t\t}\n\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\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\ttry{\n\t\tint n=Integer.parseInt(reader.readLine());//n?????????\n\t\tString text=reader.readLine();\n\n\n\t\tString[] num_array=text.split(\" \");\n\t\tint[] num_array_int=new int[num_array.length];\n\n\t\tfor(int i=0;i<num_array.length;i++){\n\t\t\tnum_array_int[i]=Integer.parseInt(num_array[i]);\n\t\t}\n\n\t\tswap(num_array_int);\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tSystem.out.print(num_array_int[i]);\n\t\t\tif(i!=n-1){System.out.print(\" \");}\n\t\t}System.out.println();\n\t\treader.close();\n\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????\"+e);\n\t\t}\n\n\t}\n\n\t//????????????????????\\?????????????????????????????????\n\tpublic static void swap(int x[]){\n\t\t//????????????????????????\n\t\tint len=x.length;\n\t\tint a;\n\t\tfor(int i=0;i<(len/2);i++){\n\t\t\ta=x[i];\n\t\t\tx[i]=x[(len-1)-i];\n\t\t\tx[(len-1)-i]=a;\n\t\t}\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\ttry{\n\t\tint n=Integer.parseInt(reader.readLine());//n?????????\n\t\tString text=reader.readLine();\n\n\n\t\tString[] num_array=text.split(\" \");\n\t\tint[] num_array_int=new int[num_array.length];\n\n\t\tfor(int i=0;i<num_array.length;i++){\n\t\t\tnum_array_int[i]=Integer.parseInt(num_array[i]);\n\t\t}\n\n\t\tswap(num_array_int);\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tSystem.out.print(num_array_int[i]);\n\t\t\tif(i!=n-1){System.out.print(\" \");}\n\t\t}System.out.println();\n\t\treader.close();\n\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????\"+e);\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\ttry{\n\t\tint n=Integer.parseInt(reader.readLine());//n?????????\n\t\tString text=reader.readLine();\n\n\n\t\tString[] num_array=text.split(\" \");\n\t\tint[] num_array_int=new int[num_array.length];\n\n\t\tfor(int i=0;i<num_array.length;i++){\n\t\t\tnum_array_int[i]=Integer.parseInt(num_array[i]);\n\t\t}\n\n\t\tswap(num_array_int);\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tSystem.out.print(num_array_int[i]);\n\t\t\tif(i!=n-1){System.out.print(\" \");}\n\t\t}System.out.println();\n\t\treader.close();\n\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????\"+e);\n\t\t}\n\n\t}",
"BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"try{\n\t\tint n=Integer.parseInt(reader.readLine());//n?????????\n\t\tString text=reader.readLine();\n\n\n\t\tString[] num_array=text.split(\" \");\n\t\tint[] num_array_int=new int[num_array.length];\n\n\t\tfor(int i=0;i<num_array.length;i++){\n\t\t\tnum_array_int[i]=Integer.parseInt(num_array[i]);\n\t\t}\n\n\t\tswap(num_array_int);\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tSystem.out.print(num_array_int[i]);\n\t\t\tif(i!=n-1){System.out.print(\" \");}\n\t\t}System.out.println();\n\t\treader.close();\n\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????\"+e);\n\t\t}",
"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",
"\"??¨??????\"",
"e",
"{\n\t\tint n=Integer.parseInt(reader.readLine());//n?????????\n\t\tString text=reader.readLine();\n\n\n\t\tString[] num_array=text.split(\" \");\n\t\tint[] num_array_int=new int[num_array.length];\n\n\t\tfor(int i=0;i<num_array.length;i++){\n\t\t\tnum_array_int[i]=Integer.parseInt(num_array[i]);\n\t\t}\n\n\t\tswap(num_array_int);\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tSystem.out.print(num_array_int[i]);\n\t\t\tif(i!=n-1){System.out.print(\" \");}\n\t\t}System.out.println();\n\t\treader.close();\n\n\t\t}",
"int n=Integer.parseInt(reader.readLine());",
"n",
"Integer.parseInt(reader.readLine())",
"Integer.parseInt",
"Integer",
"reader.readLine()",
"reader.readLine",
"reader",
"String text=reader.readLine();",
"text",
"reader.readLine()",
"reader.readLine",
"reader",
"String[] num_array=text.split(\" \");",
"num_array",
"text.split(\" \")",
"text.split",
"text",
"\" \"",
"int[] num_array_int=new int[num_array.length];",
"num_array_int",
"new int[num_array.length]",
"num_array.length",
"num_array",
"num_array.length",
"for(int i=0;i<num_array.length;i++){\n\t\t\tnum_array_int[i]=Integer.parseInt(num_array[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<num_array.length",
"i",
"num_array.length",
"num_array",
"num_array.length",
"i++",
"i++",
"i",
"{\n\t\t\tnum_array_int[i]=Integer.parseInt(num_array[i]);\n\t\t}",
"{\n\t\t\tnum_array_int[i]=Integer.parseInt(num_array[i]);\n\t\t}",
"num_array_int[i]=Integer.parseInt(num_array[i])",
"num_array_int[i]",
"num_array_int",
"i",
"Integer.parseInt(num_array[i])",
"Integer.parseInt",
"Integer",
"num_array[i]",
"num_array",
"i",
"swap(num_array_int)",
"swap",
"num_array_int",
"for(int i=0;i<n;i++){\n\t\t\tSystem.out.print(num_array_int[i]);\n\t\t\tif(i!=n-1){System.out.print(\" \");}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.print(num_array_int[i]);\n\t\t\tif(i!=n-1){System.out.print(\" \");}\n\t\t}",
"{\n\t\t\tSystem.out.print(num_array_int[i]);\n\t\t\tif(i!=n-1){System.out.print(\" \");}\n\t\t}",
"System.out.print(num_array_int[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"num_array_int[i]",
"num_array_int",
"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",
"reader.close()",
"reader.close",
"reader",
"String[] args",
"args",
"//????????????????????\\?????????????????????????????????\n\tpublic static void swap(int x[]){\n\t\t//????????????????????????\n\t\tint len=x.length;\n\t\tint a;\n\t\tfor(int i=0;i<(len/2);i++){\n\t\t\ta=x[i];\n\t\t\tx[i]=x[(len-1)-i];\n\t\t\tx[(len-1)-i]=a;\n\t\t}\n\n\n\t}",
"swap",
"{\n\t\t//????????????????????????\n\t\tint len=x.length;\n\t\tint a;\n\t\tfor(int i=0;i<(len/2);i++){\n\t\t\ta=x[i];\n\t\t\tx[i]=x[(len-1)-i];\n\t\t\tx[(len-1)-i]=a;\n\t\t}\n\n\n\t}",
"int len=x.length;",
"len",
"x.length",
"x",
"x.length",
"int a;",
"a",
"for(int i=0;i<(len/2);i++){\n\t\t\ta=x[i];\n\t\t\tx[i]=x[(len-1)-i];\n\t\t\tx[(len-1)-i]=a;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<(len/2)",
"i",
"(len/2)",
"len",
"2",
"i++",
"i++",
"i",
"{\n\t\t\ta=x[i];\n\t\t\tx[i]=x[(len-1)-i];\n\t\t\tx[(len-1)-i]=a;\n\t\t}",
"{\n\t\t\ta=x[i];\n\t\t\tx[i]=x[(len-1)-i];\n\t\t\tx[(len-1)-i]=a;\n\t\t}",
"a=x[i]",
"a",
"x[i]",
"x",
"i",
"x[i]=x[(len-1)-i]",
"x[i]",
"x",
"i",
"x[(len-1)-i]",
"x",
"(len-1)-i",
"(len-1)",
"len",
"1",
"i",
"x[(len-1)-i]=a",
"x[(len-1)-i]",
"x",
"(len-1)-i",
"(len-1)",
"len",
"1",
"i",
"a",
"int x[]",
"x",
"public class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\ttry{\n\t\tint n=Integer.parseInt(reader.readLine());//n?????????\n\t\tString text=reader.readLine();\n\n\n\t\tString[] num_array=text.split(\" \");\n\t\tint[] num_array_int=new int[num_array.length];\n\n\t\tfor(int i=0;i<num_array.length;i++){\n\t\t\tnum_array_int[i]=Integer.parseInt(num_array[i]);\n\t\t}\n\n\t\tswap(num_array_int);\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tSystem.out.print(num_array_int[i]);\n\t\t\tif(i!=n-1){System.out.print(\" \");}\n\t\t}System.out.println();\n\t\treader.close();\n\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????\"+e);\n\t\t}\n\n\t}\n\n\t//????????????????????\\?????????????????????????????????\n\tpublic static void swap(int x[]){\n\t\t//????????????????????????\n\t\tint len=x.length;\n\t\tint a;\n\t\tfor(int i=0;i<(len/2);i++){\n\t\t\ta=x[i];\n\t\t\tx[i]=x[(len-1)-i];\n\t\t\tx[(len-1)-i]=a;\n\t\t}\n\n\n\t}\n\n}",
"public class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\ttry{\n\t\tint n=Integer.parseInt(reader.readLine());//n?????????\n\t\tString text=reader.readLine();\n\n\n\t\tString[] num_array=text.split(\" \");\n\t\tint[] num_array_int=new int[num_array.length];\n\n\t\tfor(int i=0;i<num_array.length;i++){\n\t\t\tnum_array_int[i]=Integer.parseInt(num_array[i]);\n\t\t}\n\n\t\tswap(num_array_int);\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tSystem.out.print(num_array_int[i]);\n\t\t\tif(i!=n-1){System.out.print(\" \");}\n\t\t}System.out.println();\n\t\treader.close();\n\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????\"+e);\n\t\t}\n\n\t}\n\n\t//????????????????????\\?????????????????????????????????\n\tpublic static void swap(int x[]){\n\t\t//????????????????????????\n\t\tint len=x.length;\n\t\tint a;\n\t\tfor(int i=0;i<(len/2);i++){\n\t\t\ta=x[i];\n\t\t\tx[i]=x[(len-1)-i];\n\t\t\tx[(len-1)-i]=a;\n\t\t}\n\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){
BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));
try{
int n=Integer.parseInt(reader.readLine());//n?????????
String text=reader.readLine();
String[] num_array=text.split(" ");
int[] num_array_int=new int[num_array.length];
for(int i=0;i<num_array.length;i++){
num_array_int[i]=Integer.parseInt(num_array[i]);
}
swap(num_array_int);
for(int i=0;i<n;i++){
System.out.print(num_array_int[i]);
if(i!=n-1){System.out.print(" ");}
}System.out.println();
reader.close();
}catch(IOException e){
System.out.println("??¨??????"+e);
}
}
//????????????????????\?????????????????????????????????
public static void swap(int x[]){
//????????????????????????
int len=x.length;
int a;
for(int i=0;i<(len/2);i++){
a=x[i];
x[i]=x[(len-1)-i];
x[(len-1)-i]=a;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
41,
13,
17,
11,
1,
0,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
2,
18,
13,
13,
17,
30,
0,
13,
18,
13,
13,
30,
0,
13,
2,
2,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
21,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
36,
41
],
[
28,
42
],
[
42,
43
],
[
28,
44
],
[
44,
45
],
[
44,
46
],
[
28,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
47,
56
],
[
56,
57
],
[
56,
58
],
[
47,
59
],
[
59,
60
],
[
60,
61
],
[
47,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
64,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
82,
82
],
[
82,
83
],
[
82,
84
],
[
82,
85
],
[
85,
86
],
[
85,
87
],
[
28,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
12,
94
],
[
94,
95
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\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\tString input = br.readLine();\n\t\t\tString[] text = br.readLine().split(\" \");\n\t\t\tint i;\n\t\t\tString ret = \"\";\n\t\t\tfor (i = text.length - 1; i >= 0; i--) {\n\t\t\t\tif (i == text.length - 1) {\n\t\t\t\t\tret = text[i];\n\t\t\t\t} else {\n\t\t\t\t\tret = ret + \" \" + text[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ret);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\n\tpublic static void main(String[] args) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tString input = br.readLine();\n\t\t\tString[] text = br.readLine().split(\" \");\n\t\t\tint i;\n\t\t\tString ret = \"\";\n\t\t\tfor (i = text.length - 1; i >= 0; i--) {\n\t\t\t\tif (i == text.length - 1) {\n\t\t\t\t\tret = text[i];\n\t\t\t\t} else {\n\t\t\t\t\tret = ret + \" \" + text[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ret);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tString input = br.readLine();\n\t\t\tString[] text = br.readLine().split(\" \");\n\t\t\tint i;\n\t\t\tString ret = \"\";\n\t\t\tfor (i = text.length - 1; i >= 0; i--) {\n\t\t\t\tif (i == text.length - 1) {\n\t\t\t\t\tret = text[i];\n\t\t\t\t} else {\n\t\t\t\t\tret = ret + \" \" + text[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ret);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tString input = br.readLine();\n\t\t\tString[] text = br.readLine().split(\" \");\n\t\t\tint i;\n\t\t\tString ret = \"\";\n\t\t\tfor (i = text.length - 1; i >= 0; i--) {\n\t\t\t\tif (i == text.length - 1) {\n\t\t\t\t\tret = text[i];\n\t\t\t\t} else {\n\t\t\t\t\tret = ret + \" \" + text[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ret);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"try {\n\t\t\tString input = br.readLine();\n\t\t\tString[] text = br.readLine().split(\" \");\n\t\t\tint i;\n\t\t\tString ret = \"\";\n\t\t\tfor (i = text.length - 1; i >= 0; i--) {\n\t\t\t\tif (i == text.length - 1) {\n\t\t\t\t\tret = text[i];\n\t\t\t\t} else {\n\t\t\t\t\tret = ret + \" \" + text[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ret);\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\tString input = br.readLine();\n\t\t\tString[] text = br.readLine().split(\" \");\n\t\t\tint i;\n\t\t\tString ret = \"\";\n\t\t\tfor (i = text.length - 1; i >= 0; i--) {\n\t\t\t\tif (i == text.length - 1) {\n\t\t\t\t\tret = text[i];\n\t\t\t\t} else {\n\t\t\t\t\tret = ret + \" \" + text[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(ret);\n\n\t\t}",
"String input = br.readLine();",
"input",
"br.readLine()",
"br.readLine",
"br",
"String[] text = br.readLine().split(\" \");",
"text",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int i;",
"i",
"String ret = \"\";",
"ret",
"\"\"",
"for (i = text.length - 1; i >= 0; i--) {\n\t\t\t\tif (i == text.length - 1) {\n\t\t\t\t\tret = text[i];\n\t\t\t\t} else {\n\t\t\t\t\tret = ret + \" \" + text[i];\n\t\t\t\t}\n\t\t\t}",
"i = text.length - 1;",
"i = text.length - 1",
"i",
"text.length - 1",
"text.length",
"text",
"text.length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\t\tif (i == text.length - 1) {\n\t\t\t\t\tret = text[i];\n\t\t\t\t} else {\n\t\t\t\t\tret = ret + \" \" + text[i];\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif (i == text.length - 1) {\n\t\t\t\t\tret = text[i];\n\t\t\t\t} else {\n\t\t\t\t\tret = ret + \" \" + text[i];\n\t\t\t\t}\n\t\t\t}",
"if (i == text.length - 1) {\n\t\t\t\t\tret = text[i];\n\t\t\t\t} else {\n\t\t\t\t\tret = ret + \" \" + text[i];\n\t\t\t\t}",
"i == text.length - 1",
"i",
"text.length - 1",
"text.length",
"text",
"text.length",
"1",
"{\n\t\t\t\t\tret = text[i];\n\t\t\t\t}",
"ret = text[i]",
"ret",
"text[i]",
"text",
"i",
"{\n\t\t\t\t\tret = ret + \" \" + text[i];\n\t\t\t\t}",
"ret = ret + \" \" + text[i]",
"ret",
"ret + \" \" + text[i]",
"ret + \" \" + text[i]",
"ret",
"\" \"",
"text[i]",
"text",
"i",
"System.out.println(ret)",
"System.out.println",
"System.out",
"System",
"System.out",
"ret",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
try {
String input = br.readLine();
String[] text = br.readLine().split(" ");
int i;
String ret = "";
for (i = text.length - 1; i >= 0; i--) {
if (i == text.length - 1) {
ret = text[i];
} else {
ret = ret + " " + text[i];
}
}
System.out.println(ret);
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
20,
13,
41,
13,
20,
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,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
2,
13,
13,
14,
2,
13,
13,
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
],
[
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
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
27
],
[
27,
28
],
[
27,
29
],
[
11,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
51,
52
],
[
11,
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
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
65,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
11,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
9,
91
],
[
91,
92
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n=Integer.parseInt(br.readLine());\n int[] array=new int[n];\n StringTokenizer st=new StringTokenizer(br.readLine());\n for(int i=0;i<n;i++){\n array[i]=Integer.parseInt(st.nextToken());\n }for(int i=1;i<=n;i++){\n System.out.print(array[n-i]);\n if(i!=n) System.out.print(\" \");\n }System.out.println();\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n=Integer.parseInt(br.readLine());\n int[] array=new int[n];\n StringTokenizer st=new StringTokenizer(br.readLine());\n for(int i=0;i<n;i++){\n array[i]=Integer.parseInt(st.nextToken());\n }for(int i=1;i<=n;i++){\n System.out.print(array[n-i]);\n if(i!=n) System.out.print(\" \");\n }System.out.println();\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n=Integer.parseInt(br.readLine());\n int[] array=new int[n];\n StringTokenizer st=new StringTokenizer(br.readLine());\n for(int i=0;i<n;i++){\n array[i]=Integer.parseInt(st.nextToken());\n }for(int i=1;i<=n;i++){\n System.out.print(array[n-i]);\n if(i!=n) System.out.print(\" \");\n }System.out.println();\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n=Integer.parseInt(br.readLine());\n int[] array=new int[n];\n StringTokenizer st=new StringTokenizer(br.readLine());\n for(int i=0;i<n;i++){\n array[i]=Integer.parseInt(st.nextToken());\n }for(int i=1;i<=n;i++){\n System.out.print(array[n-i]);\n if(i!=n) System.out.print(\" \");\n }System.out.println();\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",
"int[] array=new int[n];",
"array",
"new int[n]",
"n",
"StringTokenizer st=new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"for(int i=0;i<n;i++){\n array[i]=Integer.parseInt(st.nextToken());\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n array[i]=Integer.parseInt(st.nextToken());\n }",
"{\n array[i]=Integer.parseInt(st.nextToken());\n }",
"array[i]=Integer.parseInt(st.nextToken())",
"array[i]",
"array",
"i",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"for(int i=1;i<=n;i++){\n System.out.print(array[n-i]);\n if(i!=n) System.out.print(\" \");\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=n",
"i",
"n",
"i++",
"i++",
"i",
"{\n System.out.print(array[n-i]);\n if(i!=n) System.out.print(\" \");\n }",
"{\n System.out.print(array[n-i]);\n if(i!=n) System.out.print(\" \");\n }",
"System.out.print(array[n-i])",
"System.out.print",
"System.out",
"System",
"System.out",
"array[n-i]",
"array",
"n-i",
"n",
"i",
"if(i!=n) System.out.print(\" \");",
"i!=n",
"i",
"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.io.*;
import java.util.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n=Integer.parseInt(br.readLine());
int[] array=new int[n];
StringTokenizer st=new StringTokenizer(br.readLine());
for(int i=0;i<n;i++){
array[i]=Integer.parseInt(st.nextToken());
}for(int i=1;i<=n;i++){
System.out.print(array[n-i]);
if(i!=n) 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;\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[] input = new int[n];\n for (int i = 0; i < n; i++) {\n input[i] = sc.nextInt();\n }\n\n System.out.print(input[n - 1]);\n for (int i = n - 2; i >= 0; i--) {\n System.out.print(\" \" + input[i]);\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 Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] input = new int[n];\n for (int i = 0; i < n; i++) {\n input[i] = sc.nextInt();\n }\n\n System.out.print(input[n - 1]);\n for (int i = n - 2; i >= 0; i--) {\n System.out.print(\" \" + input[i]);\n }\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[] input = new int[n];\n for (int i = 0; i < n; i++) {\n input[i] = sc.nextInt();\n }\n\n System.out.print(input[n - 1]);\n for (int i = n - 2; i >= 0; i--) {\n System.out.print(\" \" + input[i]);\n }\n System.out.println();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] input = new int[n];\n for (int i = 0; i < n; i++) {\n input[i] = sc.nextInt();\n }\n\n System.out.print(input[n - 1]);\n for (int i = n - 2; i >= 0; i--) {\n System.out.print(\" \" + input[i]);\n }\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[] input = new int[n];",
"input",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n input[i] = sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n input[i] = sc.nextInt();\n }",
"{\n input[i] = sc.nextInt();\n }",
"input[i] = sc.nextInt()",
"input[i]",
"input",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.print(input[n - 1])",
"System.out.print",
"System.out",
"System",
"System.out",
"input[n - 1]",
"input",
"n - 1",
"n",
"1",
"for (int i = n - 2; i >= 0; i--) {\n System.out.print(\" \" + input[i]);\n }",
"int i = n - 2;",
"int i = n - 2;",
"i",
"n - 2",
"n",
"2",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n System.out.print(\" \" + input[i]);\n }",
"{\n System.out.print(\" \" + input[i]);\n }",
"System.out.print(\" \" + input[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \" + input[i]",
"\" \"",
"input[i]",
"input",
"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 sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] input = new int[n];\n for (int i = 0; i < n; i++) {\n input[i] = sc.nextInt();\n }\n\n System.out.print(input[n - 1]);\n for (int i = n - 2; i >= 0; i--) {\n System.out.print(\" \" + input[i]);\n }\n System.out.println();\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[] input = new int[n];\n for (int i = 0; i < n; i++) {\n input[i] = sc.nextInt();\n }\n\n System.out.print(input[n - 1]);\n for (int i = n - 2; i >= 0; i--) {\n System.out.print(\" \" + input[i]);\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 n = sc.nextInt();
int[] input = new int[n];
for (int i = 0; i < n; i++) {
input[i] = sc.nextInt();
}
System.out.print(input[n - 1]);
for (int i = n - 2; i >= 0; i--) {
System.out.print(" " + input[i]);
}
System.out.println();
}
}
|
[
7,
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,
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
],
[
86,
2
],
[
86,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
5,
14
],
[
14,
15
],
[
14,
16
],
[
5,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
23,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
5,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
38,
45
],
[
45,
46
],
[
45,
47
],
[
38,
48
],
[
48,
49
],
[
49,
50
],
[
38,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
53,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
5,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
3,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"public class Main {\n public static void main(String[] srgs) {\n\n // ??????????????????????????????.\n // ???????????????????????´??° (?????????????´???°, ?????????????´?) ???????????????.\n java.util.Scanner sc = new java.util.Scanner(System.in);\n int n = sc.nextInt();\n int array[] = new int[n];\n for (int i = 0; i < n; i ++) { array[i] = sc.nextInt(); }\n\n // ?????????????´????????´?????????????????????¨?????????.\n for (int i = n - 1; i >= 0; i --) {\n if (i != 0) { System.out.print(array[i] + \" \"); }\n else { System.out.print(array[i]); }\n }\n System.out.print(\"\\n\");\n }\n}",
"public class Main {\n public static void main(String[] srgs) {\n\n // ??????????????????????????????.\n // ???????????????????????´??° (?????????????´???°, ?????????????´?) ???????????????.\n java.util.Scanner sc = new java.util.Scanner(System.in);\n int n = sc.nextInt();\n int array[] = new int[n];\n for (int i = 0; i < n; i ++) { array[i] = sc.nextInt(); }\n\n // ?????????????´????????´?????????????????????¨?????????.\n for (int i = n - 1; i >= 0; i --) {\n if (i != 0) { System.out.print(array[i] + \" \"); }\n else { System.out.print(array[i]); }\n }\n System.out.print(\"\\n\");\n }\n}",
"Main",
"public static void main(String[] srgs) {\n\n // ??????????????????????????????.\n // ???????????????????????´??° (?????????????´???°, ?????????????´?) ???????????????.\n java.util.Scanner sc = new java.util.Scanner(System.in);\n int n = sc.nextInt();\n int array[] = new int[n];\n for (int i = 0; i < n; i ++) { array[i] = sc.nextInt(); }\n\n // ?????????????´????????´?????????????????????¨?????????.\n for (int i = n - 1; i >= 0; i --) {\n if (i != 0) { System.out.print(array[i] + \" \"); }\n else { System.out.print(array[i]); }\n }\n System.out.print(\"\\n\");\n }",
"main",
"{\n\n // ??????????????????????????????.\n // ???????????????????????´??° (?????????????´???°, ?????????????´?) ???????????????.\n java.util.Scanner sc = new java.util.Scanner(System.in);\n int n = sc.nextInt();\n int array[] = new int[n];\n for (int i = 0; i < n; i ++) { array[i] = sc.nextInt(); }\n\n // ?????????????´????????´?????????????????????¨?????????.\n for (int i = n - 1; i >= 0; i --) {\n if (i != 0) { System.out.print(array[i] + \" \"); }\n else { System.out.print(array[i]); }\n }\n System.out.print(\"\\n\");\n }",
"java.util.Scanner sc = new java.util.Scanner(System.in);",
"sc",
"new java.util.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 ++) { array[i] = sc.nextInt(); }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i ++",
"i ++",
"i",
"{ array[i] = sc.nextInt(); }",
"{ array[i] = sc.nextInt(); }",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int i = n - 1; i >= 0; i --) {\n if (i != 0) { System.out.print(array[i] + \" \"); }\n else { System.out.print(array[i]); }\n }",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"i >= 0",
"i",
"0",
"i --",
"i --",
"i",
"{\n if (i != 0) { System.out.print(array[i] + \" \"); }\n else { System.out.print(array[i]); }\n }",
"{\n if (i != 0) { System.out.print(array[i] + \" \"); }\n else { System.out.print(array[i]); }\n }",
"if (i != 0) { System.out.print(array[i] + \" \"); }\n else { System.out.print(array[i]); }",
"i != 0",
"i",
"0",
"{ System.out.print(array[i] + \" \"); }",
"System.out.print(array[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"array[i] + \" \"",
"array[i]",
"array",
"i",
"\" \"",
"{ System.out.print(array[i]); }",
"System.out.print(array[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"array[i]",
"array",
"i",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] srgs",
"srgs",
"public class Main {\n public static void main(String[] srgs) {\n\n // ??????????????????????????????.\n // ???????????????????????´??° (?????????????´???°, ?????????????´?) ???????????????.\n java.util.Scanner sc = new java.util.Scanner(System.in);\n int n = sc.nextInt();\n int array[] = new int[n];\n for (int i = 0; i < n; i ++) { array[i] = sc.nextInt(); }\n\n // ?????????????´????????´?????????????????????¨?????????.\n for (int i = n - 1; i >= 0; i --) {\n if (i != 0) { System.out.print(array[i] + \" \"); }\n else { System.out.print(array[i]); }\n }\n System.out.print(\"\\n\");\n }\n}",
"public class Main {\n public static void main(String[] srgs) {\n\n // ??????????????????????????????.\n // ???????????????????????´??° (?????????????´???°, ?????????????´?) ???????????????.\n java.util.Scanner sc = new java.util.Scanner(System.in);\n int n = sc.nextInt();\n int array[] = new int[n];\n for (int i = 0; i < n; i ++) { array[i] = sc.nextInt(); }\n\n // ?????????????´????????´?????????????????????¨?????????.\n for (int i = n - 1; i >= 0; i --) {\n if (i != 0) { System.out.print(array[i] + \" \"); }\n else { System.out.print(array[i]); }\n }\n System.out.print(\"\\n\");\n }\n}",
"Main"
] | public class Main {
public static void main(String[] srgs) {
// ??????????????????????????????.
// ???????????????????????´??° (?????????????´???°, ?????????????´?) ???????????????.
java.util.Scanner sc = new java.util.Scanner(System.in);
int n = sc.nextInt();
int array[] = new int[n];
for (int i = 0; i < n; i ++) { array[i] = sc.nextInt(); }
// ?????????????´????????´?????????????????????¨?????????.
for (int i = n - 1; i >= 0; i --) {
if (i != 0) { System.out.print(array[i] + " "); }
else { System.out.print(array[i]); }
}
System.out.print("\n");
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.