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,
2,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
18,
13,
13,
17,
40,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
83,
11
],
[
83,
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
],
[
39,
40
],
[
39,
41
],
[
14,
42
],
[
42,
43
],
[
42,
44
],
[
14,
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
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
59,
67
],
[
67,
68
],
[
14,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
14,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
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 IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str = br.readLine();\n\t\t\n\t\tint n = Integer.parseInt(str);\n\t\t\n\t\tString[] arr = br.readLine().split(\" \");\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tint count = n-1;\n\t\tString out=\"\";\n\t\tfor(int i =0;i<arr.length;i++){\n\t\t\tout += arr[count]+\" \";\n\t\t\tcount--;\n\t\t}\n\t\tString result = out.trim();\n\t\t\n\t\tSystem.out.println(result);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str = br.readLine();\n\t\t\n\t\tint n = Integer.parseInt(str);\n\t\t\n\t\tString[] arr = br.readLine().split(\" \");\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tint count = n-1;\n\t\tString out=\"\";\n\t\tfor(int i =0;i<arr.length;i++){\n\t\t\tout += arr[count]+\" \";\n\t\t\tcount--;\n\t\t}\n\t\tString result = out.trim();\n\t\t\n\t\tSystem.out.println(result);\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\t\n\t\tString str = br.readLine();\n\t\t\n\t\tint n = Integer.parseInt(str);\n\t\t\n\t\tString[] arr = br.readLine().split(\" \");\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tint count = n-1;\n\t\tString out=\"\";\n\t\tfor(int i =0;i<arr.length;i++){\n\t\t\tout += arr[count]+\" \";\n\t\t\tcount--;\n\t\t}\n\t\tString result = out.trim();\n\t\t\n\t\tSystem.out.println(result);\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str = br.readLine();\n\t\t\n\t\tint n = Integer.parseInt(str);\n\t\t\n\t\tString[] arr = br.readLine().split(\" \");\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tint count = n-1;\n\t\tString out=\"\";\n\t\tfor(int i =0;i<arr.length;i++){\n\t\t\tout += arr[count]+\" \";\n\t\t\tcount--;\n\t\t}\n\t\tString result = out.trim();\n\t\t\n\t\tSystem.out.println(result);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"int n = Integer.parseInt(str);",
"n",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"String[] arr = br.readLine().split(\" \");",
"arr",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int count = n-1;",
"count",
"n-1",
"n",
"1",
"String out=\"\";",
"out",
"\"\"",
"for(int i =0;i<arr.length;i++){\n\t\t\tout += arr[count]+\" \";\n\t\t\tcount--;\n\t\t}",
"int i =0;",
"int i =0;",
"i",
"0",
"i<arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\n\t\t\tout += arr[count]+\" \";\n\t\t\tcount--;\n\t\t}",
"{\n\t\t\tout += arr[count]+\" \";\n\t\t\tcount--;\n\t\t}",
"out += arr[count]+\" \"",
"out",
"arr[count]+\" \"",
"arr[count]",
"arr",
"count",
"\" \"",
"count--",
"count",
"String result = out.trim();",
"result",
"out.trim()",
"out.trim",
"out",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str = br.readLine();\n\t\t\n\t\tint n = Integer.parseInt(str);\n\t\t\n\t\tString[] arr = br.readLine().split(\" \");\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tint count = n-1;\n\t\tString out=\"\";\n\t\tfor(int i =0;i<arr.length;i++){\n\t\t\tout += arr[count]+\" \";\n\t\t\tcount--;\n\t\t}\n\t\tString result = out.trim();\n\t\t\n\t\tSystem.out.println(result);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str = br.readLine();\n\t\t\n\t\tint n = Integer.parseInt(str);\n\t\t\n\t\tString[] arr = br.readLine().split(\" \");\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tint count = n-1;\n\t\tString out=\"\";\n\t\tfor(int i =0;i<arr.length;i++){\n\t\t\tout += arr[count]+\" \";\n\t\t\tcount--;\n\t\t}\n\t\tString result = out.trim();\n\t\t\n\t\tSystem.out.println(result);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
int n = Integer.parseInt(str);
String[] arr = br.readLine().split(" ");
int count = n-1;
String out="";
for(int i =0;i<arr.length;i++){
out += arr[count]+" ";
count--;
}
String result = out.trim();
System.out.println(result);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
0,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
11,
1,
2,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
4,
18,
13,
17,
4,
18,
18,
13,
13,
20,
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
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
8,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
44,
51
],
[
51,
52
],
[
52,
53
],
[
44,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
65,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
8,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
6,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] | [
"\n\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n;\n\t\tn = scan.nextInt();\n\t\t\n\t\t//?????????????????¨??????\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t//n??????????????????n?????????????????\\??????\n\t\tfor(int count = 0; count<n;count++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\t//??\\??????????????????????????????????????????\n\t\tfor(;0<=(n-1);n--){\n\t\t\tsb.append(list.get(n-1));\n\t\t\tif((n-1) != 0){\n\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(new String(sb));\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n;\n\t\tn = scan.nextInt();\n\t\t\n\t\t//?????????????????¨??????\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t//n??????????????????n?????????????????\\??????\n\t\tfor(int count = 0; count<n;count++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\t//??\\??????????????????????????????????????????\n\t\tfor(;0<=(n-1);n--){\n\t\t\tsb.append(list.get(n-1));\n\t\t\tif((n-1) != 0){\n\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(new String(sb));\t\t\n\t\t\n\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\tStringBuilder sb = new StringBuilder();\n\t\tint n;\n\t\tn = scan.nextInt();\n\t\t\n\t\t//?????????????????¨??????\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t//n??????????????????n?????????????????\\??????\n\t\tfor(int count = 0; count<n;count++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\t//??\\??????????????????????????????????????????\n\t\tfor(;0<=(n-1);n--){\n\t\t\tsb.append(list.get(n-1));\n\t\t\tif((n-1) != 0){\n\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(new String(sb));\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n;\n\t\tn = scan.nextInt();\n\t\t\n\t\t//?????????????????¨??????\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t//n??????????????????n?????????????????\\??????\n\t\tfor(int count = 0; count<n;count++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\t//??\\??????????????????????????????????????????\n\t\tfor(;0<=(n-1);n--){\n\t\t\tsb.append(list.get(n-1));\n\t\t\tif((n-1) != 0){\n\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(new String(sb));\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int n;",
"n",
"n = scan.nextInt()",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"for(int count = 0; count<n;count++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}",
"int count = 0;",
"int count = 0;",
"count",
"0",
"count<n",
"count",
"n",
"count++",
"count++",
"count",
"{\n\t\t\tlist.add(scan.nextInt());\n\t\t}",
"{\n\t\t\tlist.add(scan.nextInt());\n\t\t}",
"list.add(scan.nextInt())",
"list.add",
"list",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(;0<=(n-1);n--){\n\t\t\tsb.append(list.get(n-1));\n\t\t\tif((n-1) != 0){\n\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}",
";",
"0<=(n-1)",
"0",
"(n-1)",
"n",
"1",
"n--",
"n--",
"n",
"{\n\t\t\tsb.append(list.get(n-1));\n\t\t\tif((n-1) != 0){\n\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}",
"{\n\t\t\tsb.append(list.get(n-1));\n\t\t\tif((n-1) != 0){\n\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}",
"sb.append(list.get(n-1))",
"sb.append",
"sb",
"list.get(n-1)",
"list.get",
"list",
"n-1",
"n",
"1",
"if((n-1) != 0){\n\t\t\tsb.append(\" \");\n\t\t\t}",
"(n-1) != 0",
"(n-1)",
"n",
"1",
"0",
"{\n\t\t\tsb.append(\" \");\n\t\t\t}",
"sb.append(\" \")",
"sb.append",
"sb",
"\" \"",
"System.out.println(new String(sb))",
"System.out.println",
"System.out",
"System",
"System.out",
"new String(sb)",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n;\n\t\tn = scan.nextInt();\n\t\t\n\t\t//?????????????????¨??????\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t//n??????????????????n?????????????????\\??????\n\t\tfor(int count = 0; count<n;count++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\t//??\\??????????????????????????????????????????\n\t\tfor(;0<=(n-1);n--){\n\t\t\tsb.append(list.get(n-1));\n\t\t\tif((n-1) != 0){\n\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(new String(sb));\t\t\n\t\t\n\t\t\n\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\tStringBuilder sb = new StringBuilder();\n\t\tint n;\n\t\tn = scan.nextInt();\n\t\t\n\t\t//?????????????????¨??????\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t//n??????????????????n?????????????????\\??????\n\t\tfor(int count = 0; count<n;count++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\t//??\\??????????????????????????????????????????\n\t\tfor(;0<=(n-1);n--){\n\t\t\tsb.append(list.get(n-1));\n\t\t\tif((n-1) != 0){\n\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(new String(sb));\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
int n;
n = scan.nextInt();
//?????????????????¨??????
List<Integer> list = new ArrayList<Integer>();
//n??????????????????n?????????????????\??????
for(int count = 0; count<n;count++){
list.add(scan.nextInt());
}
//??\??????????????????????????????????????????
for(;0<=(n-1);n--){
sb.append(list.get(n-1));
if((n-1) != 0){
sb.append(" ");
}
}
System.out.println(new String(sb));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
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,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
30,
0,
13,
17,
30,
0,
13,
17,
3,
14,
2,
13,
17,
30,
41,
13,
2,
18,
13,
13,
17,
11,
1,
41,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
13,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
127,
5
],
[
127,
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
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
32,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
54,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
54,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
27,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
79,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
87,
95
],
[
95,
96
],
[
96,
97
],
[
87,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
110,
111
],
[
110,
112
],
[
100,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
6,
124
],
[
124,
125
],
[
0,
126
],
[
126,
127
],
[
126,
128
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tboolean flag = false;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tsc.nextLine();\n\t\tif (n <= 100) {\n\t\t\tint ai[] = new int[n];\n\t\t\tfor (int i = 0; i < ai.length; i++) {\n\t\t\t\tai[i] = sc.nextInt();\n\t\t\t\tif (ai[i] >= 0 && ai[i] <= 1000) {\n\t\t\t\t\tflag = true;\n\t\t\t\t} else {\n\t\t\t\t\tflag = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tif (flag == true) {\n\t\t\t\tint length = ai.length - 1;\n\t\t\t\tfor (int j = length; j >= 0; j--) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\tSystem.out.println(ai[j]);\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tSystem.out.print(ai[j] + \" \");\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\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\tboolean flag = false;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tsc.nextLine();\n\t\tif (n <= 100) {\n\t\t\tint ai[] = new int[n];\n\t\t\tfor (int i = 0; i < ai.length; i++) {\n\t\t\t\tai[i] = sc.nextInt();\n\t\t\t\tif (ai[i] >= 0 && ai[i] <= 1000) {\n\t\t\t\t\tflag = true;\n\t\t\t\t} else {\n\t\t\t\t\tflag = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tif (flag == true) {\n\t\t\t\tint length = ai.length - 1;\n\t\t\t\tfor (int j = length; j >= 0; j--) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\tSystem.out.println(ai[j]);\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tSystem.out.print(ai[j] + \" \");\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tboolean flag = false;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tsc.nextLine();\n\t\tif (n <= 100) {\n\t\t\tint ai[] = new int[n];\n\t\t\tfor (int i = 0; i < ai.length; i++) {\n\t\t\t\tai[i] = sc.nextInt();\n\t\t\t\tif (ai[i] >= 0 && ai[i] <= 1000) {\n\t\t\t\t\tflag = true;\n\t\t\t\t} else {\n\t\t\t\t\tflag = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tif (flag == true) {\n\t\t\t\tint length = ai.length - 1;\n\t\t\t\tfor (int j = length; j >= 0; j--) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\tSystem.out.println(ai[j]);\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tSystem.out.print(ai[j] + \" \");\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tboolean flag = false;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tsc.nextLine();\n\t\tif (n <= 100) {\n\t\t\tint ai[] = new int[n];\n\t\t\tfor (int i = 0; i < ai.length; i++) {\n\t\t\t\tai[i] = sc.nextInt();\n\t\t\t\tif (ai[i] >= 0 && ai[i] <= 1000) {\n\t\t\t\t\tflag = true;\n\t\t\t\t} else {\n\t\t\t\t\tflag = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tif (flag == true) {\n\t\t\t\tint length = ai.length - 1;\n\t\t\t\tfor (int j = length; j >= 0; j--) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\tSystem.out.println(ai[j]);\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tSystem.out.print(ai[j] + \" \");\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t}",
"boolean flag = false;",
"flag",
"false",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextLine()",
"sc.nextLine",
"sc",
"if (n <= 100) {\n\t\t\tint ai[] = new int[n];\n\t\t\tfor (int i = 0; i < ai.length; i++) {\n\t\t\t\tai[i] = sc.nextInt();\n\t\t\t\tif (ai[i] >= 0 && ai[i] <= 1000) {\n\t\t\t\t\tflag = true;\n\t\t\t\t} else {\n\t\t\t\t\tflag = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tif (flag == true) {\n\t\t\t\tint length = ai.length - 1;\n\t\t\t\tfor (int j = length; j >= 0; j--) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\tSystem.out.println(ai[j]);\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tSystem.out.print(ai[j] + \" \");\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"n <= 100",
"n",
"100",
"{\n\t\t\tint ai[] = new int[n];\n\t\t\tfor (int i = 0; i < ai.length; i++) {\n\t\t\t\tai[i] = sc.nextInt();\n\t\t\t\tif (ai[i] >= 0 && ai[i] <= 1000) {\n\t\t\t\t\tflag = true;\n\t\t\t\t} else {\n\t\t\t\t\tflag = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tif (flag == true) {\n\t\t\t\tint length = ai.length - 1;\n\t\t\t\tfor (int j = length; j >= 0; j--) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\tSystem.out.println(ai[j]);\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tSystem.out.print(ai[j] + \" \");\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"int ai[] = new int[n];",
"ai",
"new int[n]",
"n",
"for (int i = 0; i < ai.length; i++) {\n\t\t\t\tai[i] = sc.nextInt();\n\t\t\t\tif (ai[i] >= 0 && ai[i] <= 1000) {\n\t\t\t\t\tflag = true;\n\t\t\t\t} else {\n\t\t\t\t\tflag = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < ai.length",
"i",
"ai.length",
"ai",
"ai.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tai[i] = sc.nextInt();\n\t\t\t\tif (ai[i] >= 0 && ai[i] <= 1000) {\n\t\t\t\t\tflag = true;\n\t\t\t\t} else {\n\t\t\t\t\tflag = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}",
"{\n\t\t\t\tai[i] = sc.nextInt();\n\t\t\t\tif (ai[i] >= 0 && ai[i] <= 1000) {\n\t\t\t\t\tflag = true;\n\t\t\t\t} else {\n\t\t\t\t\tflag = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}",
"ai[i] = sc.nextInt()",
"ai[i]",
"ai",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (ai[i] >= 0 && ai[i] <= 1000) {\n\t\t\t\t\tflag = true;\n\t\t\t\t} else {\n\t\t\t\t\tflag = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"ai[i] >= 0 && ai[i] <= 1000",
"ai[i] >= 0",
"ai[i]",
"ai",
"i",
"0",
"ai[i] <= 1000",
"ai[i]",
"ai",
"i",
"1000",
"{\n\t\t\t\t\tflag = true;\n\t\t\t\t}",
"flag = true",
"flag",
"true",
"{\n\t\t\t\t\tflag = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"flag = false",
"flag",
"false",
"break;",
"if (flag == true) {\n\t\t\t\tint length = ai.length - 1;\n\t\t\t\tfor (int j = length; j >= 0; j--) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\tSystem.out.println(ai[j]);\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tSystem.out.print(ai[j] + \" \");\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}",
"flag == true",
"flag",
"true",
"{\n\t\t\t\tint length = ai.length - 1;\n\t\t\t\tfor (int j = length; j >= 0; j--) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\tSystem.out.println(ai[j]);\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tSystem.out.print(ai[j] + \" \");\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}",
"int length = ai.length - 1;",
"length",
"ai.length - 1",
"ai.length",
"ai",
"ai.length",
"1",
"for (int j = length; j >= 0; j--) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\tSystem.out.println(ai[j]);\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tSystem.out.print(ai[j] + \" \");\n\t\t\t\t\t}\n\n\t\t\t\t}",
"int j = length;",
"int j = length;",
"j",
"length",
"j >= 0",
"j",
"0",
"j--",
"j--",
"j",
"{\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\tSystem.out.println(ai[j]);\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tSystem.out.print(ai[j] + \" \");\n\t\t\t\t\t}\n\n\t\t\t\t}",
"{\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\tSystem.out.println(ai[j]);\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tSystem.out.print(ai[j] + \" \");\n\t\t\t\t\t}\n\n\t\t\t\t}",
"if (j == 0) {\n\t\t\t\t\t\tSystem.out.println(ai[j]);\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tSystem.out.print(ai[j] + \" \");\n\t\t\t\t\t}",
"j == 0",
"j",
"0",
"{\n\t\t\t\t\t\tSystem.out.println(ai[j]);\n\t\t\t\t\t}",
"System.out.println(ai[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"ai[j]",
"ai",
"j",
"{\n\n\t\t\t\t\t\tSystem.out.print(ai[j] + \" \");\n\t\t\t\t\t}",
"System.out.print(ai[j] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"ai[j] + \" \"",
"ai[j]",
"ai",
"j",
"\" \"",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tboolean flag = false;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tsc.nextLine();\n\t\tif (n <= 100) {\n\t\t\tint ai[] = new int[n];\n\t\t\tfor (int i = 0; i < ai.length; i++) {\n\t\t\t\tai[i] = sc.nextInt();\n\t\t\t\tif (ai[i] >= 0 && ai[i] <= 1000) {\n\t\t\t\t\tflag = true;\n\t\t\t\t} else {\n\t\t\t\t\tflag = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tif (flag == true) {\n\t\t\t\tint length = ai.length - 1;\n\t\t\t\tfor (int j = length; j >= 0; j--) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\tSystem.out.println(ai[j]);\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tSystem.out.print(ai[j] + \" \");\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tboolean flag = false;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tsc.nextLine();\n\t\tif (n <= 100) {\n\t\t\tint ai[] = new int[n];\n\t\t\tfor (int i = 0; i < ai.length; i++) {\n\t\t\t\tai[i] = sc.nextInt();\n\t\t\t\tif (ai[i] >= 0 && ai[i] <= 1000) {\n\t\t\t\t\tflag = true;\n\t\t\t\t} else {\n\t\t\t\t\tflag = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tif (flag == true) {\n\t\t\t\tint length = ai.length - 1;\n\t\t\t\tfor (int j = length; j >= 0; j--) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\tSystem.out.println(ai[j]);\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tSystem.out.print(ai[j] + \" \");\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
boolean flag = false;
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
sc.nextLine();
if (n <= 100) {
int ai[] = new int[n];
for (int i = 0; i < ai.length; i++) {
ai[i] = sc.nextInt();
if (ai[i] >= 0 && ai[i] <= 1000) {
flag = true;
} else {
flag = false;
break;
}
}
if (flag == true) {
int length = ai.length - 1;
for (int j = length; j >= 0; j--) {
if (j == 0) {
System.out.println(ai[j]);
} else {
System.out.print(ai[j] + " ");
}
}
}
}
}
} |
[
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,
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,
17,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
2,
13,
18,
13,
13,
17,
41,
13,
4,
18,
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
],
[
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
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
34,
39
],
[
14,
40
],
[
40,
41
],
[
40,
42
],
[
14,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
44,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
14,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
68,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
84,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
14,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
14,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
12,
101
],
[
101,
102
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main{\n\t public static void main(String[] args) throws IOException{\n\t\tBufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str = br.readLine();\n\t\tint num = Integer.parseInt(str);\n\t\tString resultLine =\"\";\n\t\t\n\t\t\t\n\t\t\tString[] inputStr = br.readLine().split(\" \");\n\t\t\tString[] inputNum = new String[num];\n\t\t\t\n\t\t\tfor(int i=0; i<num; i++){\n\t\t\t\tinputNum[i] = (inputStr[(num-1)-i]);\n\t\t\t}\n\n\t\t\tfor(int j=0; j<num; j++) {\n\t\t\t\tresultLine = resultLine +inputNum[j] + \" \";\n\t\t\t}\n\t\t\tString new_str1 = resultLine.trim();\n\t\t\tSystem.out.println(new_str1);\n\t}\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\t public static void main(String[] args) throws IOException{\n\t\tBufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str = br.readLine();\n\t\tint num = Integer.parseInt(str);\n\t\tString resultLine =\"\";\n\t\t\n\t\t\t\n\t\t\tString[] inputStr = br.readLine().split(\" \");\n\t\t\tString[] inputNum = new String[num];\n\t\t\t\n\t\t\tfor(int i=0; i<num; i++){\n\t\t\t\tinputNum[i] = (inputStr[(num-1)-i]);\n\t\t\t}\n\n\t\t\tfor(int j=0; j<num; j++) {\n\t\t\t\tresultLine = resultLine +inputNum[j] + \" \";\n\t\t\t}\n\t\t\tString new_str1 = resultLine.trim();\n\t\t\tSystem.out.println(new_str1);\n\t}\t\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str = br.readLine();\n\t\tint num = Integer.parseInt(str);\n\t\tString resultLine =\"\";\n\t\t\n\t\t\t\n\t\t\tString[] inputStr = br.readLine().split(\" \");\n\t\t\tString[] inputNum = new String[num];\n\t\t\t\n\t\t\tfor(int i=0; i<num; i++){\n\t\t\t\tinputNum[i] = (inputStr[(num-1)-i]);\n\t\t\t}\n\n\t\t\tfor(int j=0; j<num; j++) {\n\t\t\t\tresultLine = resultLine +inputNum[j] + \" \";\n\t\t\t}\n\t\t\tString new_str1 = resultLine.trim();\n\t\t\tSystem.out.println(new_str1);\n\t}",
"main",
"{\n\t\tBufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString str = br.readLine();\n\t\tint num = Integer.parseInt(str);\n\t\tString resultLine =\"\";\n\t\t\n\t\t\t\n\t\t\tString[] inputStr = br.readLine().split(\" \");\n\t\t\tString[] inputNum = new String[num];\n\t\t\t\n\t\t\tfor(int i=0; i<num; i++){\n\t\t\t\tinputNum[i] = (inputStr[(num-1)-i]);\n\t\t\t}\n\n\t\t\tfor(int j=0; j<num; j++) {\n\t\t\t\tresultLine = resultLine +inputNum[j] + \" \";\n\t\t\t}\n\t\t\tString new_str1 = resultLine.trim();\n\t\t\tSystem.out.println(new_str1);\n\t}",
"BufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"int num = Integer.parseInt(str);",
"num",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"String resultLine =\"\";",
"resultLine",
"\"\"",
"String[] inputStr = br.readLine().split(\" \");",
"inputStr",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"String[] inputNum = new String[num];",
"inputNum",
"new String[num]",
"num",
"for(int i=0; i<num; i++){\n\t\t\t\tinputNum[i] = (inputStr[(num-1)-i]);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<num",
"i",
"num",
"i++",
"i++",
"i",
"{\n\t\t\t\tinputNum[i] = (inputStr[(num-1)-i]);\n\t\t\t}",
"{\n\t\t\t\tinputNum[i] = (inputStr[(num-1)-i]);\n\t\t\t}",
"inputNum[i] = (inputStr[(num-1)-i])",
"inputNum[i]",
"inputNum",
"i",
"(inputStr[(num-1)-i])",
"inputStr",
"(num-1)-i",
"(num-1)",
"num",
"1",
"i",
"for(int j=0; j<num; j++) {\n\t\t\t\tresultLine = resultLine +inputNum[j] + \" \";\n\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<num",
"j",
"num",
"j++",
"j++",
"j",
"{\n\t\t\t\tresultLine = resultLine +inputNum[j] + \" \";\n\t\t\t}",
"{\n\t\t\t\tresultLine = resultLine +inputNum[j] + \" \";\n\t\t\t}",
"resultLine = resultLine +inputNum[j] + \" \"",
"resultLine",
"resultLine +inputNum[j] + \" \"",
"resultLine +inputNum[j] + \" \"",
"resultLine",
"inputNum[j]",
"inputNum",
"j",
"\" \"",
"String new_str1 = resultLine.trim();",
"new_str1",
"resultLine.trim()",
"resultLine.trim",
"resultLine",
"System.out.println(new_str1)",
"System.out.println",
"System.out",
"System",
"System.out",
"new_str1",
"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 str = br.readLine();
int num = Integer.parseInt(str);
String resultLine ="";
String[] inputStr = br.readLine().split(" ");
String[] inputNum = new String[num];
for(int i=0; i<num; i++){
inputNum[i] = (inputStr[(num-1)-i]);
}
for(int j=0; j<num; j++) {
resultLine = resultLine +inputNum[j] + " ";
}
String new_str1 = resultLine.trim();
System.out.println(new_str1);
}
} |
[
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,
2,
13,
17,
13,
14,
2,
13,
2,
13,
17,
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
],
[
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
],
[
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
],
[
62,
62
],
[
62,
63
],
[
62,
64
],
[
62,
65
],
[
53,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
66,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
6,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"import java.util.Scanner;\npublic class Main {\npublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\tint i=sc.nextInt();\n\tint N[]=new int[i];\n\tfor(int j=0;j<i;j++){\n\t\tN[j]=sc.nextInt();\n\t}\n\tfor(int s=0;s<i;s++){\n\t\tSystem.out.print(N[i-1-s]);\n\t\tif(s<(i-1))System.out.print(\" \");\n\t}\n\tSystem.out.print(\"\\n\");\n\t}\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\npublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\tint i=sc.nextInt();\n\tint N[]=new int[i];\n\tfor(int j=0;j<i;j++){\n\t\tN[j]=sc.nextInt();\n\t}\n\tfor(int s=0;s<i;s++){\n\t\tSystem.out.print(N[i-1-s]);\n\t\tif(s<(i-1))System.out.print(\" \");\n\t}\n\tSystem.out.print(\"\\n\");\n\t}\n}",
"Main",
"public static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\tint i=sc.nextInt();\n\tint N[]=new int[i];\n\tfor(int j=0;j<i;j++){\n\t\tN[j]=sc.nextInt();\n\t}\n\tfor(int s=0;s<i;s++){\n\t\tSystem.out.print(N[i-1-s]);\n\t\tif(s<(i-1))System.out.print(\" \");\n\t}\n\tSystem.out.print(\"\\n\");\n\t}",
"main",
"{\n\tScanner sc=new Scanner(System.in);\n\tint i=sc.nextInt();\n\tint N[]=new int[i];\n\tfor(int j=0;j<i;j++){\n\t\tN[j]=sc.nextInt();\n\t}\n\tfor(int s=0;s<i;s++){\n\t\tSystem.out.print(N[i-1-s]);\n\t\tif(s<(i-1))System.out.print(\" \");\n\t}\n\tSystem.out.print(\"\\n\");\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i=sc.nextInt();",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int N[]=new int[i];",
"N",
"new int[i]",
"i",
"for(int j=0;j<i;j++){\n\t\tN[j]=sc.nextInt();\n\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<i",
"j",
"i",
"j++",
"j++",
"j",
"{\n\t\tN[j]=sc.nextInt();\n\t}",
"{\n\t\tN[j]=sc.nextInt();\n\t}",
"N[j]=sc.nextInt()",
"N[j]",
"N",
"j",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int s=0;s<i;s++){\n\t\tSystem.out.print(N[i-1-s]);\n\t\tif(s<(i-1))System.out.print(\" \");\n\t}",
"int s=0;",
"int s=0;",
"s",
"0",
"s<i",
"s",
"i",
"s++",
"s++",
"s",
"{\n\t\tSystem.out.print(N[i-1-s]);\n\t\tif(s<(i-1))System.out.print(\" \");\n\t}",
"{\n\t\tSystem.out.print(N[i-1-s]);\n\t\tif(s<(i-1))System.out.print(\" \");\n\t}",
"System.out.print(N[i-1-s])",
"System.out.print",
"System.out",
"System",
"System.out",
"N[i-1-s]",
"N",
"i-1-s",
"i-1-s",
"i",
"1",
"s",
"if(s<(i-1))System.out.print(\" \");",
"s<(i-1)",
"s",
"(i-1)",
"i",
"1",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args",
"public class Main {\npublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\tint i=sc.nextInt();\n\tint N[]=new int[i];\n\tfor(int j=0;j<i;j++){\n\t\tN[j]=sc.nextInt();\n\t}\n\tfor(int s=0;s<i;s++){\n\t\tSystem.out.print(N[i-1-s]);\n\t\tif(s<(i-1))System.out.print(\" \");\n\t}\n\tSystem.out.print(\"\\n\");\n\t}\n}",
"public class Main {\npublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\tint i=sc.nextInt();\n\tint N[]=new int[i];\n\tfor(int j=0;j<i;j++){\n\t\tN[j]=sc.nextInt();\n\t}\n\tfor(int s=0;s<i;s++){\n\t\tSystem.out.print(N[i-1-s]);\n\t\tif(s<(i-1))System.out.print(\" \");\n\t}\n\tSystem.out.print(\"\\n\");\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
int i=sc.nextInt();
int N[]=new int[i];
for(int j=0;j<i;j++){
N[j]=sc.nextInt();
}
for(int s=0;s<i;s++){
System.out.print(N[i-1-s]);
if(s<(i-1))System.out.print(" ");
}
System.out.print("\n");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
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
],
[
94,
5
],
[
94,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
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
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
57,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
73,
79
],
[
79,
80
],
[
79,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
8,
88
],
[
88,
89
],
[
89,
90
],
[
6,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] 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\tfor(int i = a.length - 1; i >= 0; i--) {\n\t\t\tif(i != a.length - 1) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d\", a[i]);\n\t\t}\n\t\tSystem.out.println(\"\");\n\n\t\tscan.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint 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\tfor(int i = a.length - 1; i >= 0; i--) {\n\t\t\tif(i != a.length - 1) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d\", a[i]);\n\t\t}\n\t\tSystem.out.println(\"\");\n\n\t\tscan.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint 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\tfor(int i = a.length - 1; i >= 0; i--) {\n\t\t\tif(i != a.length - 1) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d\", a[i]);\n\t\t}\n\t\tSystem.out.println(\"\");\n\n\t\tscan.close();\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\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 = a.length - 1; i >= 0; i--) {\n\t\t\tif(i != a.length - 1) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d\", a[i]);\n\t\t}\n\t\tSystem.out.println(\"\");\n\n\t\tscan.close();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"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 = a.length - 1; i >= 0; i--) {\n\t\t\tif(i != a.length - 1) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d\", a[i]);\n\t\t}",
"int i = a.length - 1;",
"int i = a.length - 1;",
"i",
"a.length - 1",
"a.length",
"a",
"a.length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tif(i != a.length - 1) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d\", a[i]);\n\t\t}",
"{\n\t\t\tif(i != a.length - 1) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d\", a[i]);\n\t\t}",
"if(i != a.length - 1) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}",
"i != a.length - 1",
"i",
"a.length - 1",
"a.length",
"a",
"a.length",
"1",
"{\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}",
"System.out.printf(\" \")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.printf(\"%d\", a[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\"",
"a[i]",
"a",
"i",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint 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\tfor(int i = a.length - 1; i >= 0; i--) {\n\t\t\tif(i != a.length - 1) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d\", a[i]);\n\t\t}\n\t\tSystem.out.println(\"\");\n\n\t\tscan.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint 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\tfor(int i = a.length - 1; i >= 0; i--) {\n\t\t\tif(i != a.length - 1) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d\", a[i]);\n\t\t}\n\t\tSystem.out.println(\"\");\n\n\t\tscan.close();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int[] a = new int[n];
for(int i = 0; i < n; i++) {
a[i] = scan.nextInt();
}
for(int i = a.length - 1; i >= 0; i--) {
if(i != a.length - 1) {
System.out.printf(" ");
}
System.out.printf("%d", a[i]);
}
System.out.println("");
scan.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,
2,
13,
17,
2,
17,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
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
],
[
45,
46
],
[
45,
47
],
[
41,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
55,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
64,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
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\t// TODO ?????????????????????????????????????????????\n\n\t\t//Scanner????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t//??\\??????????????????int??????\n\t\tint n = scan.nextInt();\n\t\tint[] ary = new int[n];\n\n\t\t//????????????????????????????´?\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tary[i] = scan.nextInt();\n\t\t\t//System.out.println(i);\n\t\t}\n\t\t//??????(??????????????????????????????????????§??°?????????)\n\t\tfor(int j = n-1; 0 <= j; j-- ){\n\t\t\tSystem.out.print(ary[j]);\n\t\t\tif(j != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//Scanner????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t//??\\??????????????????int??????\n\t\tint n = scan.nextInt();\n\t\tint[] ary = new int[n];\n\n\t\t//????????????????????????????´?\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tary[i] = scan.nextInt();\n\t\t\t//System.out.println(i);\n\t\t}\n\t\t//??????(??????????????????????????????????????§??°?????????)\n\t\tfor(int j = n-1; 0 <= j; j-- ){\n\t\t\tSystem.out.print(ary[j]);\n\t\t\tif(j != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//Scanner????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t//??\\??????????????????int??????\n\t\tint n = scan.nextInt();\n\t\tint[] ary = new int[n];\n\n\t\t//????????????????????????????´?\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tary[i] = scan.nextInt();\n\t\t\t//System.out.println(i);\n\t\t}\n\t\t//??????(??????????????????????????????????????§??°?????????)\n\t\tfor(int j = n-1; 0 <= j; j-- ){\n\t\t\tSystem.out.print(ary[j]);\n\t\t\tif(j != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//Scanner????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t//??\\??????????????????int??????\n\t\tint n = scan.nextInt();\n\t\tint[] ary = new int[n];\n\n\t\t//????????????????????????????´?\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tary[i] = scan.nextInt();\n\t\t\t//System.out.println(i);\n\t\t}\n\t\t//??????(??????????????????????????????????????§??°?????????)\n\t\tfor(int j = n-1; 0 <= j; j-- ){\n\t\t\tSystem.out.print(ary[j]);\n\t\t\tif(j != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] ary = new int[n];",
"ary",
"new int[n]",
"n",
"for(int i = 0; i < n; i++){\n\t\t\tary[i] = scan.nextInt();\n\t\t\t//System.out.println(i);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tary[i] = scan.nextInt();\n\t\t\t//System.out.println(i);\n\t\t}",
"{\n\t\t\tary[i] = scan.nextInt();\n\t\t\t//System.out.println(i);\n\t\t}",
"ary[i] = scan.nextInt()",
"ary[i]",
"ary",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(int j = n-1; 0 <= j; j-- ){\n\t\t\tSystem.out.print(ary[j]);\n\t\t\tif(j != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}",
"int j = n-1;",
"int j = n-1;",
"j",
"n-1",
"n",
"1",
"0 <= j",
"0",
"j",
"j--",
"j--",
"j",
"{\n\t\t\tSystem.out.print(ary[j]);\n\t\t\tif(j != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}",
"{\n\t\t\tSystem.out.print(ary[j]);\n\t\t\tif(j != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}",
"System.out.print(ary[j])",
"System.out.print",
"System.out",
"System",
"System.out",
"ary[j]",
"ary",
"j",
"if(j != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"j != 0",
"j",
"0",
"{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"{\n\t\t\t\tSystem.out.println();\n\t\t\t}",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//Scanner????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t//??\\??????????????????int??????\n\t\tint n = scan.nextInt();\n\t\tint[] ary = new int[n];\n\n\t\t//????????????????????????????´?\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tary[i] = scan.nextInt();\n\t\t\t//System.out.println(i);\n\t\t}\n\t\t//??????(??????????????????????????????????????§??°?????????)\n\t\tfor(int j = n-1; 0 <= j; j-- ){\n\t\t\tSystem.out.print(ary[j]);\n\t\t\tif(j != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//Scanner????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t//??\\??????????????????int??????\n\t\tint n = scan.nextInt();\n\t\tint[] ary = new int[n];\n\n\t\t//????????????????????????????´?\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tary[i] = scan.nextInt();\n\t\t\t//System.out.println(i);\n\t\t}\n\t\t//??????(??????????????????????????????????????§??°?????????)\n\t\tfor(int j = n-1; 0 <= j; j-- ){\n\t\t\tSystem.out.print(ary[j]);\n\t\t\tif(j != 0){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
//Scanner????????????????????????
Scanner scan = new Scanner(System.in);
//??\??????????????????int??????
int n = scan.nextInt();
int[] ary = new int[n];
//????????????????????????????´?
for(int i = 0; i < n; i++){
ary[i] = scan.nextInt();
//System.out.println(i);
}
//??????(??????????????????????????????????????§??°?????????)
for(int j = n-1; 0 <= j; j-- ){
System.out.print(ary[j]);
if(j != 0){
System.out.print(" ");
}else{
System.out.println();
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
4,
18,
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,
17,
18,
13,
13,
4,
18,
18,
13,
13,
17,
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
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
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
],
[
56,
62
],
[
62,
63
],
[
62,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
65,
71
],
[
71,
72
],
[
71,
73
],
[
6,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
] | [
"import java.util.Scanner;\n\n\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n int an[] = new int[100];\n int n = input.nextInt();\n for(int i = 0; i < n; i++) {\n an[i] = input.nextInt();\n }\n\n for(int i = n - 1; i >= 1; i--){\n System.out.printf(\"%d \", an[i]);\n }\n System.out.printf(\"%d\\n\", an[0]);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n int an[] = new int[100];\n int n = input.nextInt();\n for(int i = 0; i < n; i++) {\n an[i] = input.nextInt();\n }\n\n for(int i = n - 1; i >= 1; i--){\n System.out.printf(\"%d \", an[i]);\n }\n System.out.printf(\"%d\\n\", an[0]);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n int an[] = new int[100];\n int n = input.nextInt();\n for(int i = 0; i < n; i++) {\n an[i] = input.nextInt();\n }\n\n for(int i = n - 1; i >= 1; i--){\n System.out.printf(\"%d \", an[i]);\n }\n System.out.printf(\"%d\\n\", an[0]);\n }",
"main",
"{\n Scanner input = new Scanner(System.in);\n int an[] = new int[100];\n int n = input.nextInt();\n for(int i = 0; i < n; i++) {\n an[i] = input.nextInt();\n }\n\n for(int i = n - 1; i >= 1; i--){\n System.out.printf(\"%d \", an[i]);\n }\n System.out.printf(\"%d\\n\", an[0]);\n }",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"int an[] = new int[100];",
"an",
"new int[100]",
"100",
"int n = input.nextInt();",
"n",
"input.nextInt()",
"input.nextInt",
"input",
"for(int i = 0; i < n; i++) {\n an[i] = input.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n an[i] = input.nextInt();\n }",
"{\n an[i] = input.nextInt();\n }",
"an[i] = input.nextInt()",
"an[i]",
"an",
"i",
"input.nextInt()",
"input.nextInt",
"input",
"for(int i = n - 1; i >= 1; i--){\n System.out.printf(\"%d \", an[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.printf(\"%d \", an[i]);\n }",
"{\n System.out.printf(\"%d \", an[i]);\n }",
"System.out.printf(\"%d \", an[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d \"",
"an[i]",
"an",
"i",
"System.out.printf(\"%d\\n\", an[0])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\\n\"",
"an[0]",
"an",
"0",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n int an[] = new int[100];\n int n = input.nextInt();\n for(int i = 0; i < n; i++) {\n an[i] = input.nextInt();\n }\n\n for(int i = n - 1; i >= 1; i--){\n System.out.printf(\"%d \", an[i]);\n }\n System.out.printf(\"%d\\n\", an[0]);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n int an[] = new int[100];\n int n = input.nextInt();\n for(int i = 0; i < n; i++) {\n an[i] = input.nextInt();\n }\n\n for(int i = n - 1; i >= 1; i--){\n System.out.printf(\"%d \", an[i]);\n }\n System.out.printf(\"%d\\n\", an[0]);\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int an[] = new int[100];
int n = input.nextInt();
for(int i = 0; i < n; i++) {
an[i] = input.nextInt();
}
for(int i = n - 1; i >= 1; i--){
System.out.printf("%d ", an[i]);
}
System.out.printf("%d\n", an[0]);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
20,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
6
],
[
6,
7
],
[
6,
8
],
[
47,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
9,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] | [
"import java.util.*;\n \npublic class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int n = scn.nextInt();\n String str = scn.next();\n for(int i = 1; i < n; i++) {\n str = new String(scn.next() + \" \" + str);\n }\n System.out.println(str);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int n = scn.nextInt();\n String str = scn.next();\n for(int i = 1; i < n; i++) {\n str = new String(scn.next() + \" \" + str);\n }\n System.out.println(str);\n }\n}",
"Main",
"private static final Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"public static void main(String[] args) {\n int n = scn.nextInt();\n String str = scn.next();\n for(int i = 1; i < n; i++) {\n str = new String(scn.next() + \" \" + str);\n }\n System.out.println(str);\n }",
"main",
"{\n int n = scn.nextInt();\n String str = scn.next();\n for(int i = 1; i < n; i++) {\n str = new String(scn.next() + \" \" + str);\n }\n System.out.println(str);\n }",
"int n = scn.nextInt();",
"n",
"scn.nextInt()",
"scn.nextInt",
"scn",
"String str = scn.next();",
"str",
"scn.next()",
"scn.next",
"scn",
"for(int i = 1; i < n; i++) {\n str = new String(scn.next() + \" \" + str);\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n str = new String(scn.next() + \" \" + str);\n }",
"{\n str = new String(scn.next() + \" \" + str);\n }",
"str = new String(scn.next() + \" \" + str)",
"str",
"new String(scn.next() + \" \" + str)",
"System.out.println(str)",
"System.out.println",
"System.out",
"System",
"System.out",
"str",
"String[] args",
"args",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int n = scn.nextInt();\n String str = scn.next();\n for(int i = 1; i < n; i++) {\n str = new String(scn.next() + \" \" + str);\n }\n System.out.println(str);\n }\n}",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int n = scn.nextInt();\n String str = scn.next();\n for(int i = 1; i < n; i++) {\n str = new String(scn.next() + \" \" + str);\n }\n System.out.println(str);\n }\n}",
"Main"
] | import java.util.*;
public class Main {
private static final Scanner scn = new Scanner(System.in);
public static void main(String[] args) {
int n = scn.nextInt();
String str = scn.next();
for(int i = 1; i < n; i++) {
str = new String(scn.next() + " " + str);
}
System.out.println(str);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
41,
13,
4,
18,
13,
13,
41,
13,
20,
13,
41,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
2,
13,
17,
14,
2,
2,
13,
2,
13,
17,
2,
13,
2,
13,
13,
30,
4,
18,
13,
2,
18,
13,
13,
17,
30,
4,
18,
13,
2,
18,
13,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
113,
11
],
[
113,
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
],
[
27,
28
],
[
28,
29
],
[
25,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
14,
40
],
[
40,
41
],
[
40,
42
],
[
14,
44
],
[
44,
45
],
[
44,
46
],
[
14,
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
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
59,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
73,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
72,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
72,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
59,
102
],
[
102,
103
],
[
14,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
12,
110
],
[
110,
111
],
[
0,
112
],
[
112,
113
],
[
112,
114
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\n\npublic class Main{\n\tpublic static void main(String[] args)throws Exception{\n\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line1 = br.readLine();\n\t\tString[] line2 = br.readLine().split(\" \");\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tint n = Integer.parseInt(line1);\n\t\tint[] a = new int[n];\n\t\t\n\t\tint num = n;\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\ta[i] = Integer.parseInt(line2[num-1]);\n\t\t\tif((i == (n-1)) && (num == (n-i))){\n\t\t\t\tsb.append(a[i]+\"\\n\");\n\t\t\t}\telse{\n\t\t\t\tsb.append(a[i] +\" \");\n\t\t\t}\n\t\t\tnum--;\n\t\t}\n\t\tSystem.out.print(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 Exception{\n\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line1 = br.readLine();\n\t\tString[] line2 = br.readLine().split(\" \");\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tint n = Integer.parseInt(line1);\n\t\tint[] a = new int[n];\n\t\t\n\t\tint num = n;\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\ta[i] = Integer.parseInt(line2[num-1]);\n\t\t\tif((i == (n-1)) && (num == (n-i))){\n\t\t\t\tsb.append(a[i]+\"\\n\");\n\t\t\t}\telse{\n\t\t\t\tsb.append(a[i] +\" \");\n\t\t\t}\n\t\t\tnum--;\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"Main",
"public static void main(String[] args)throws Exception{\n\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line1 = br.readLine();\n\t\tString[] line2 = br.readLine().split(\" \");\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tint n = Integer.parseInt(line1);\n\t\tint[] a = new int[n];\n\t\t\n\t\tint num = n;\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\ta[i] = Integer.parseInt(line2[num-1]);\n\t\t\tif((i == (n-1)) && (num == (n-i))){\n\t\t\t\tsb.append(a[i]+\"\\n\");\n\t\t\t}\telse{\n\t\t\t\tsb.append(a[i] +\" \");\n\t\t\t}\n\t\t\tnum--;\n\t\t}\n\t\tSystem.out.print(sb);\n\t}",
"main",
"{\n\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line1 = br.readLine();\n\t\tString[] line2 = br.readLine().split(\" \");\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tint n = Integer.parseInt(line1);\n\t\tint[] a = new int[n];\n\t\t\n\t\tint num = n;\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\ta[i] = Integer.parseInt(line2[num-1]);\n\t\t\tif((i == (n-1)) && (num == (n-i))){\n\t\t\t\tsb.append(a[i]+\"\\n\");\n\t\t\t}\telse{\n\t\t\t\tsb.append(a[i] +\" \");\n\t\t\t}\n\t\t\tnum--;\n\t\t}\n\t\tSystem.out.print(sb);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line1 = br.readLine();",
"line1",
"br.readLine()",
"br.readLine",
"br",
"String[] line2 = br.readLine().split(\" \");",
"line2",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int n = Integer.parseInt(line1);",
"n",
"Integer.parseInt(line1)",
"Integer.parseInt",
"Integer",
"line1",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"int num = n;",
"num",
"n",
"for(int i=0; i<n; i++){\n\t\t\ta[i] = Integer.parseInt(line2[num-1]);\n\t\t\tif((i == (n-1)) && (num == (n-i))){\n\t\t\t\tsb.append(a[i]+\"\\n\");\n\t\t\t}\telse{\n\t\t\t\tsb.append(a[i] +\" \");\n\t\t\t}\n\t\t\tnum--;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = Integer.parseInt(line2[num-1]);\n\t\t\tif((i == (n-1)) && (num == (n-i))){\n\t\t\t\tsb.append(a[i]+\"\\n\");\n\t\t\t}\telse{\n\t\t\t\tsb.append(a[i] +\" \");\n\t\t\t}\n\t\t\tnum--;\n\t\t}",
"{\n\t\t\ta[i] = Integer.parseInt(line2[num-1]);\n\t\t\tif((i == (n-1)) && (num == (n-i))){\n\t\t\t\tsb.append(a[i]+\"\\n\");\n\t\t\t}\telse{\n\t\t\t\tsb.append(a[i] +\" \");\n\t\t\t}\n\t\t\tnum--;\n\t\t}",
"a[i] = Integer.parseInt(line2[num-1])",
"a[i]",
"a",
"i",
"Integer.parseInt(line2[num-1])",
"Integer.parseInt",
"Integer",
"line2[num-1]",
"line2",
"num-1",
"num",
"1",
"if((i == (n-1)) && (num == (n-i))){\n\t\t\t\tsb.append(a[i]+\"\\n\");\n\t\t\t}\telse{\n\t\t\t\tsb.append(a[i] +\" \");\n\t\t\t}",
"(i == (n-1)) && (num == (n-i))",
"(i == (n-1))",
"i",
"(n-1)",
"n",
"1",
"(num == (n-i))",
"num",
"(n-i)",
"n",
"i",
"{\n\t\t\t\tsb.append(a[i]+\"\\n\");\n\t\t\t}",
"sb.append(a[i]+\"\\n\")",
"sb.append",
"sb",
"a[i]+\"\\n\"",
"a[i]",
"a",
"i",
"\"\\n\"",
"{\n\t\t\t\tsb.append(a[i] +\" \");\n\t\t\t}",
"sb.append(a[i] +\" \")",
"sb.append",
"sb",
"a[i] +\" \"",
"a[i]",
"a",
"i",
"\" \"",
"num--",
"num",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args)throws Exception{\n\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line1 = br.readLine();\n\t\tString[] line2 = br.readLine().split(\" \");\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tint n = Integer.parseInt(line1);\n\t\tint[] a = new int[n];\n\t\t\n\t\tint num = n;\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\ta[i] = Integer.parseInt(line2[num-1]);\n\t\t\tif((i == (n-1)) && (num == (n-i))){\n\t\t\t\tsb.append(a[i]+\"\\n\");\n\t\t\t}\telse{\n\t\t\t\tsb.append(a[i] +\" \");\n\t\t\t}\n\t\t\tnum--;\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args)throws Exception{\n\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line1 = br.readLine();\n\t\tString[] line2 = br.readLine().split(\" \");\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tint n = Integer.parseInt(line1);\n\t\tint[] a = new int[n];\n\t\t\n\t\tint num = n;\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\ta[i] = Integer.parseInt(line2[num-1]);\n\t\t\tif((i == (n-1)) && (num == (n-i))){\n\t\t\t\tsb.append(a[i]+\"\\n\");\n\t\t\t}\telse{\n\t\t\t\tsb.append(a[i] +\" \");\n\t\t\t}\n\t\t\tnum--;\n\t\t}\n\t\tSystem.out.print(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 Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line1 = br.readLine();
String[] line2 = br.readLine().split(" ");
StringBuilder sb = new StringBuilder();
int n = Integer.parseInt(line1);
int[] a = new int[n];
int num = n;
for(int i=0; i<n; i++){
a[i] = Integer.parseInt(line2[num-1]);
if((i == (n-1)) && (num == (n-i))){
sb.append(a[i]+"\n");
} else{
sb.append(a[i] +" ");
}
num--;
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
41,
13,
20,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
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,
4,
18,
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
],
[
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
],
[
40,
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
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
61,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
8,
85
],
[
85,
86
],
[
86,
87
],
[
6,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// ?????????????????\\????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// ??\\?????°????????????????????°\n\t\tint input = sc.nextInt();\n\n\t\t// ?????????????????°\n\t\tint cnt;\n\n\t\t// ??\\??????????????°????????\\????????????\n\t\tint[] matrix = new int[input];\n\n\t\t// ???????????°????????\\??????\n\t\tfor (cnt = 0; cnt < input; cnt++) {\n\n\t\t\tmatrix[cnt] = Integer.parseInt(sc.next());\n\n\t\t}\n\n\t\t// ????????????????????????\n\t\tfor (cnt = input - 1; cnt >= 0; cnt--) {\n\n\t\t\tif (cnt > 0) {\n\n\t\t\t\tSystem.out.print(matrix[cnt] + \" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(matrix[cnt]);\n\n\t\t\t}\n\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// ?????????????????\\????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// ??\\?????°????????????????????°\n\t\tint input = sc.nextInt();\n\n\t\t// ?????????????????°\n\t\tint cnt;\n\n\t\t// ??\\??????????????°????????\\????????????\n\t\tint[] matrix = new int[input];\n\n\t\t// ???????????°????????\\??????\n\t\tfor (cnt = 0; cnt < input; cnt++) {\n\n\t\t\tmatrix[cnt] = Integer.parseInt(sc.next());\n\n\t\t}\n\n\t\t// ????????????????????????\n\t\tfor (cnt = input - 1; cnt >= 0; cnt--) {\n\n\t\t\tif (cnt > 0) {\n\n\t\t\t\tSystem.out.print(matrix[cnt] + \" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(matrix[cnt]);\n\n\t\t\t}\n\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\t// ?????????????????\\????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// ??\\?????°????????????????????°\n\t\tint input = sc.nextInt();\n\n\t\t// ?????????????????°\n\t\tint cnt;\n\n\t\t// ??\\??????????????°????????\\????????????\n\t\tint[] matrix = new int[input];\n\n\t\t// ???????????°????????\\??????\n\t\tfor (cnt = 0; cnt < input; cnt++) {\n\n\t\t\tmatrix[cnt] = Integer.parseInt(sc.next());\n\n\t\t}\n\n\t\t// ????????????????????????\n\t\tfor (cnt = input - 1; cnt >= 0; cnt--) {\n\n\t\t\tif (cnt > 0) {\n\n\t\t\t\tSystem.out.print(matrix[cnt] + \" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(matrix[cnt]);\n\n\t\t\t}\n\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\n\t\t// ?????????????????\\????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// ??\\?????°????????????????????°\n\t\tint input = sc.nextInt();\n\n\t\t// ?????????????????°\n\t\tint cnt;\n\n\t\t// ??\\??????????????°????????\\????????????\n\t\tint[] matrix = new int[input];\n\n\t\t// ???????????°????????\\??????\n\t\tfor (cnt = 0; cnt < input; cnt++) {\n\n\t\t\tmatrix[cnt] = Integer.parseInt(sc.next());\n\n\t\t}\n\n\t\t// ????????????????????????\n\t\tfor (cnt = input - 1; cnt >= 0; cnt--) {\n\n\t\t\tif (cnt > 0) {\n\n\t\t\t\tSystem.out.print(matrix[cnt] + \" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(matrix[cnt]);\n\n\t\t\t}\n\n\t\t}\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int input = sc.nextInt();",
"input",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int cnt;",
"cnt",
"int[] matrix = new int[input];",
"matrix",
"new int[input]",
"input",
"for (cnt = 0; cnt < input; cnt++) {\n\n\t\t\tmatrix[cnt] = Integer.parseInt(sc.next());\n\n\t\t}",
"cnt = 0;",
"cnt = 0",
"cnt",
"0",
"cnt < input",
"cnt",
"input",
"cnt++",
"cnt++",
"cnt",
"{\n\n\t\t\tmatrix[cnt] = Integer.parseInt(sc.next());\n\n\t\t}",
"{\n\n\t\t\tmatrix[cnt] = Integer.parseInt(sc.next());\n\n\t\t}",
"matrix[cnt] = Integer.parseInt(sc.next())",
"matrix[cnt]",
"matrix",
"cnt",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"for (cnt = input - 1; cnt >= 0; cnt--) {\n\n\t\t\tif (cnt > 0) {\n\n\t\t\t\tSystem.out.print(matrix[cnt] + \" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(matrix[cnt]);\n\n\t\t\t}\n\n\t\t}",
"cnt = input - 1;",
"cnt = input - 1",
"cnt",
"input - 1",
"input",
"1",
"cnt >= 0",
"cnt",
"0",
"cnt--",
"cnt--",
"cnt",
"{\n\n\t\t\tif (cnt > 0) {\n\n\t\t\t\tSystem.out.print(matrix[cnt] + \" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(matrix[cnt]);\n\n\t\t\t}\n\n\t\t}",
"{\n\n\t\t\tif (cnt > 0) {\n\n\t\t\t\tSystem.out.print(matrix[cnt] + \" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(matrix[cnt]);\n\n\t\t\t}\n\n\t\t}",
"if (cnt > 0) {\n\n\t\t\t\tSystem.out.print(matrix[cnt] + \" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(matrix[cnt]);\n\n\t\t\t}",
"cnt > 0",
"cnt",
"0",
"{\n\n\t\t\t\tSystem.out.print(matrix[cnt] + \" \");\n\n\t\t\t}",
"System.out.print(matrix[cnt] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"matrix[cnt] + \" \"",
"matrix[cnt]",
"matrix",
"cnt",
"\" \"",
"{\n\n\t\t\t\tSystem.out.println(matrix[cnt]);\n\n\t\t\t}",
"System.out.println(matrix[cnt])",
"System.out.println",
"System.out",
"System",
"System.out",
"matrix[cnt]",
"matrix",
"cnt",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// ?????????????????\\????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// ??\\?????°????????????????????°\n\t\tint input = sc.nextInt();\n\n\t\t// ?????????????????°\n\t\tint cnt;\n\n\t\t// ??\\??????????????°????????\\????????????\n\t\tint[] matrix = new int[input];\n\n\t\t// ???????????°????????\\??????\n\t\tfor (cnt = 0; cnt < input; cnt++) {\n\n\t\t\tmatrix[cnt] = Integer.parseInt(sc.next());\n\n\t\t}\n\n\t\t// ????????????????????????\n\t\tfor (cnt = input - 1; cnt >= 0; cnt--) {\n\n\t\t\tif (cnt > 0) {\n\n\t\t\t\tSystem.out.print(matrix[cnt] + \" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(matrix[cnt]);\n\n\t\t\t}\n\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// ?????????????????\\????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// ??\\?????°????????????????????°\n\t\tint input = sc.nextInt();\n\n\t\t// ?????????????????°\n\t\tint cnt;\n\n\t\t// ??\\??????????????°????????\\????????????\n\t\tint[] matrix = new int[input];\n\n\t\t// ???????????°????????\\??????\n\t\tfor (cnt = 0; cnt < input; cnt++) {\n\n\t\t\tmatrix[cnt] = Integer.parseInt(sc.next());\n\n\t\t}\n\n\t\t// ????????????????????????\n\t\tfor (cnt = input - 1; cnt >= 0; cnt--) {\n\n\t\t\tif (cnt > 0) {\n\n\t\t\t\tSystem.out.print(matrix[cnt] + \" \");\n\n\t\t\t} else {\n\n\t\t\t\tSystem.out.println(matrix[cnt]);\n\n\t\t\t}\n\n\t\t}\n\t\tsc.close();\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 input = sc.nextInt();
// ?????????????????°
int cnt;
// ??\??????????????°????????\????????????
int[] matrix = new int[input];
// ???????????°????????\??????
for (cnt = 0; cnt < input; cnt++) {
matrix[cnt] = Integer.parseInt(sc.next());
}
// ????????????????????????
for (cnt = input - 1; cnt >= 0; cnt--) {
if (cnt > 0) {
System.out.print(matrix[cnt] + " ");
} else {
System.out.println(matrix[cnt]);
}
}
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
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,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
13,
17,
41,
13,
4,
18,
13,
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
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
8,
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
],
[
55,
57
],
[
51,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
8,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
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\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString line2 = sc.nextLine();\n\t\tint totall = Integer.parseInt(line);\n\t\tString[] num = line2.split(\" \");\n\n\t\tStringBuilder gyaku = new StringBuilder();\n\n\t\tfor (int i = totall-1; i >= 0; i--) {\n\t\t\tgyaku.append(num[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tgyaku.append(\" \");\n\n\t\t\t}\n\t\t}\n\n\t\tString reverse = gyaku.toString();\n\t\tSystem.out.println(reverse);\n\n\t}\n\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\tString line = sc.nextLine();\n\t\tString line2 = sc.nextLine();\n\t\tint totall = Integer.parseInt(line);\n\t\tString[] num = line2.split(\" \");\n\n\t\tStringBuilder gyaku = new StringBuilder();\n\n\t\tfor (int i = totall-1; i >= 0; i--) {\n\t\t\tgyaku.append(num[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tgyaku.append(\" \");\n\n\t\t\t}\n\t\t}\n\n\t\tString reverse = gyaku.toString();\n\t\tSystem.out.println(reverse);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString line2 = sc.nextLine();\n\t\tint totall = Integer.parseInt(line);\n\t\tString[] num = line2.split(\" \");\n\n\t\tStringBuilder gyaku = new StringBuilder();\n\n\t\tfor (int i = totall-1; i >= 0; i--) {\n\t\t\tgyaku.append(num[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tgyaku.append(\" \");\n\n\t\t\t}\n\t\t}\n\n\t\tString reverse = gyaku.toString();\n\t\tSystem.out.println(reverse);\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString line2 = sc.nextLine();\n\t\tint totall = Integer.parseInt(line);\n\t\tString[] num = line2.split(\" \");\n\n\t\tStringBuilder gyaku = new StringBuilder();\n\n\t\tfor (int i = totall-1; i >= 0; i--) {\n\t\t\tgyaku.append(num[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tgyaku.append(\" \");\n\n\t\t\t}\n\t\t}\n\n\t\tString reverse = gyaku.toString();\n\t\tSystem.out.println(reverse);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String line2 = sc.nextLine();",
"line2",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int totall = Integer.parseInt(line);",
"totall",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"String[] num = line2.split(\" \");",
"num",
"line2.split(\" \")",
"line2.split",
"line2",
"\" \"",
"StringBuilder gyaku = new StringBuilder();",
"gyaku",
"new StringBuilder()",
"for (int i = totall-1; i >= 0; i--) {\n\t\t\tgyaku.append(num[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tgyaku.append(\" \");\n\n\t\t\t}\n\t\t}",
"int i = totall-1;",
"int i = totall-1;",
"i",
"totall-1",
"totall",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tgyaku.append(num[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tgyaku.append(\" \");\n\n\t\t\t}\n\t\t}",
"{\n\t\t\tgyaku.append(num[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tgyaku.append(\" \");\n\n\t\t\t}\n\t\t}",
"gyaku.append(num[i])",
"gyaku.append",
"gyaku",
"num[i]",
"num",
"i",
"if (i != 0) {\n\t\t\t\tgyaku.append(\" \");\n\n\t\t\t}",
"i != 0",
"i",
"0",
"{\n\t\t\t\tgyaku.append(\" \");\n\n\t\t\t}",
"gyaku.append(\" \")",
"gyaku.append",
"gyaku",
"\" \"",
"String reverse = gyaku.toString();",
"reverse",
"gyaku.toString()",
"gyaku.toString",
"gyaku",
"System.out.println(reverse)",
"System.out.println",
"System.out",
"System",
"System.out",
"reverse",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString line2 = sc.nextLine();\n\t\tint totall = Integer.parseInt(line);\n\t\tString[] num = line2.split(\" \");\n\n\t\tStringBuilder gyaku = new StringBuilder();\n\n\t\tfor (int i = totall-1; i >= 0; i--) {\n\t\t\tgyaku.append(num[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tgyaku.append(\" \");\n\n\t\t\t}\n\t\t}\n\n\t\tString reverse = gyaku.toString();\n\t\tSystem.out.println(reverse);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString line2 = sc.nextLine();\n\t\tint totall = Integer.parseInt(line);\n\t\tString[] num = line2.split(\" \");\n\n\t\tStringBuilder gyaku = new StringBuilder();\n\n\t\tfor (int i = totall-1; i >= 0; i--) {\n\t\t\tgyaku.append(num[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tgyaku.append(\" \");\n\n\t\t\t}\n\t\t}\n\n\t\tString reverse = gyaku.toString();\n\t\tSystem.out.println(reverse);\n\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String line = sc.nextLine();
String line2 = sc.nextLine();
int totall = Integer.parseInt(line);
String[] num = line2.split(" ");
StringBuilder gyaku = new StringBuilder();
for (int i = totall-1; i >= 0; i--) {
gyaku.append(num[i]);
if (i != 0) {
gyaku.append(" ");
}
}
String reverse = gyaku.toString();
System.out.println(reverse);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
41,
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
],
[
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,
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
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
44,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
56,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
56,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
6,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"import java.util.Scanner;\npublic class Main {\n\t public static void main(String args[]) {\n\t \tScanner sc = new Scanner(System.in);\n\t \tint n = sc.nextInt(); //n????????\\?????????????????????\n\t StringBuilder NewBuilder = new StringBuilder(); \n\t \tint [] a = new int[n];\n\t \t \n\t \tfor(int i = 0; i < n ; i++) {\n\t \t\ta[i] = sc.nextInt();\n\t \t}\n\n for(int i = n; i >= 1; i--){\n \t \n int x = a[i-1];\n NewBuilder.append(x);\n \n if(i == 1){\n break;\n }\n NewBuilder.append(\" \");\n }\n NewBuilder.append(\"\\n\");\n System.out.print(NewBuilder);\n\n }\t \n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t public static void main(String args[]) {\n\t \tScanner sc = new Scanner(System.in);\n\t \tint n = sc.nextInt(); //n????????\\?????????????????????\n\t StringBuilder NewBuilder = new StringBuilder(); \n\t \tint [] a = new int[n];\n\t \t \n\t \tfor(int i = 0; i < n ; i++) {\n\t \t\ta[i] = sc.nextInt();\n\t \t}\n\n for(int i = n; i >= 1; i--){\n \t \n int x = a[i-1];\n NewBuilder.append(x);\n \n if(i == 1){\n break;\n }\n NewBuilder.append(\" \");\n }\n NewBuilder.append(\"\\n\");\n System.out.print(NewBuilder);\n\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????????\\?????????????????????\n\t StringBuilder NewBuilder = new StringBuilder(); \n\t \tint [] a = new int[n];\n\t \t \n\t \tfor(int i = 0; i < n ; i++) {\n\t \t\ta[i] = sc.nextInt();\n\t \t}\n\n for(int i = n; i >= 1; i--){\n \t \n int x = a[i-1];\n NewBuilder.append(x);\n \n if(i == 1){\n break;\n }\n NewBuilder.append(\" \");\n }\n NewBuilder.append(\"\\n\");\n System.out.print(NewBuilder);\n\n }",
"main",
"{\n\t \tScanner sc = new Scanner(System.in);\n\t \tint n = sc.nextInt(); //n????????\\?????????????????????\n\t StringBuilder NewBuilder = new StringBuilder(); \n\t \tint [] a = new int[n];\n\t \t \n\t \tfor(int i = 0; i < n ; i++) {\n\t \t\ta[i] = sc.nextInt();\n\t \t}\n\n for(int i = n; i >= 1; i--){\n \t \n int x = a[i-1];\n NewBuilder.append(x);\n \n if(i == 1){\n break;\n }\n NewBuilder.append(\" \");\n }\n NewBuilder.append(\"\\n\");\n System.out.print(NewBuilder);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"StringBuilder NewBuilder = new StringBuilder();",
"NewBuilder",
"new StringBuilder()",
"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; i >= 1; i--){\n \t \n int x = a[i-1];\n NewBuilder.append(x);\n \n if(i == 1){\n break;\n }\n NewBuilder.append(\" \");\n }",
"int i = n;",
"int i = n;",
"i",
"n",
"i >= 1",
"i",
"1",
"i--",
"i--",
"i",
"{\n \t \n int x = a[i-1];\n NewBuilder.append(x);\n \n if(i == 1){\n break;\n }\n NewBuilder.append(\" \");\n }",
"{\n \t \n int x = a[i-1];\n NewBuilder.append(x);\n \n if(i == 1){\n break;\n }\n NewBuilder.append(\" \");\n }",
"int x = a[i-1];",
"x",
"a[i-1]",
"a",
"i-1",
"i",
"1",
"NewBuilder.append(x)",
"NewBuilder.append",
"NewBuilder",
"x",
"if(i == 1){\n break;\n }",
"i == 1",
"i",
"1",
"{\n break;\n }",
"break;",
"NewBuilder.append(\" \")",
"NewBuilder.append",
"NewBuilder",
"\" \"",
"NewBuilder.append(\"\\n\")",
"NewBuilder.append",
"NewBuilder",
"\"\\n\"",
"System.out.print(NewBuilder)",
"System.out.print",
"System.out",
"System",
"System.out",
"NewBuilder",
"String args[]",
"args",
"public class Main {\n\t public static void main(String args[]) {\n\t \tScanner sc = new Scanner(System.in);\n\t \tint n = sc.nextInt(); //n????????\\?????????????????????\n\t StringBuilder NewBuilder = new StringBuilder(); \n\t \tint [] a = new int[n];\n\t \t \n\t \tfor(int i = 0; i < n ; i++) {\n\t \t\ta[i] = sc.nextInt();\n\t \t}\n\n for(int i = n; i >= 1; i--){\n \t \n int x = a[i-1];\n NewBuilder.append(x);\n \n if(i == 1){\n break;\n }\n NewBuilder.append(\" \");\n }\n NewBuilder.append(\"\\n\");\n System.out.print(NewBuilder);\n\n }\t \n\n}",
"public class Main {\n\t public static void main(String args[]) {\n\t \tScanner sc = new Scanner(System.in);\n\t \tint n = sc.nextInt(); //n????????\\?????????????????????\n\t StringBuilder NewBuilder = new StringBuilder(); \n\t \tint [] a = new int[n];\n\t \t \n\t \tfor(int i = 0; i < n ; i++) {\n\t \t\ta[i] = sc.nextInt();\n\t \t}\n\n for(int i = n; i >= 1; i--){\n \t \n int x = a[i-1];\n NewBuilder.append(x);\n \n if(i == 1){\n break;\n }\n NewBuilder.append(\" \");\n }\n NewBuilder.append(\"\\n\");\n System.out.print(NewBuilder);\n\n }\t \n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt(); //n????????\?????????????????????
StringBuilder NewBuilder = new StringBuilder();
int [] a = new int[n];
for(int i = 0; i < n ; i++) {
a[i] = sc.nextInt();
}
for(int i = n; i >= 1; i--){
int x = a[i-1];
NewBuilder.append(x);
if(i == 1){
break;
}
NewBuilder.append(" ");
}
NewBuilder.append("\n");
System.out.print(NewBuilder);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
20,
13,
14,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
30,
9,
30,
0,
13,
17,
3,
14,
2,
13,
17,
30,
11,
1,
41,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
18,
13,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
120,
5
],
[
120,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
52,
64
],
[
64,
65
],
[
52,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
8,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
76,
84
],
[
84,
85
],
[
85,
86
],
[
76,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
102,
104
],
[
99,
105
],
[
89,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
114,
116
],
[
6,
117
],
[
117,
118
],
[
0,
119
],
[
119,
120
],
[
119,
121
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = Integer.parseInt(s.nextLine());\n\t\tboolean flag=true;\n\t\tint[] seq = new int[n];\n\t\tif(n<=100) {\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tseq[i]=s.nextInt();\n\t\t\tif(seq[i]>=0 && seq[i]<1000) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t}\n\t\t\n\t\tif(flag==true) {\n\t\t\tfor(int j=n;j>0;j--) {\n\t\t\t\tif(j!=1) {\n\t\t\t\t\tSystem.out.print(seq[j-1]+\" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(seq[j-1]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = Integer.parseInt(s.nextLine());\n\t\tboolean flag=true;\n\t\tint[] seq = new int[n];\n\t\tif(n<=100) {\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tseq[i]=s.nextInt();\n\t\t\tif(seq[i]>=0 && seq[i]<1000) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t}\n\t\t\n\t\tif(flag==true) {\n\t\t\tfor(int j=n;j>0;j--) {\n\t\t\t\tif(j!=1) {\n\t\t\t\t\tSystem.out.print(seq[j-1]+\" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(seq[j-1]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = Integer.parseInt(s.nextLine());\n\t\tboolean flag=true;\n\t\tint[] seq = new int[n];\n\t\tif(n<=100) {\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tseq[i]=s.nextInt();\n\t\t\tif(seq[i]>=0 && seq[i]<1000) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t}\n\t\t\n\t\tif(flag==true) {\n\t\t\tfor(int j=n;j>0;j--) {\n\t\t\t\tif(j!=1) {\n\t\t\t\t\tSystem.out.print(seq[j-1]+\" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(seq[j-1]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = Integer.parseInt(s.nextLine());\n\t\tboolean flag=true;\n\t\tint[] seq = new int[n];\n\t\tif(n<=100) {\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tseq[i]=s.nextInt();\n\t\t\tif(seq[i]>=0 && seq[i]<1000) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t}\n\t\t\n\t\tif(flag==true) {\n\t\t\tfor(int j=n;j>0;j--) {\n\t\t\t\tif(j!=1) {\n\t\t\t\t\tSystem.out.print(seq[j-1]+\" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(seq[j-1]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int n = Integer.parseInt(s.nextLine());",
"n",
"Integer.parseInt(s.nextLine())",
"Integer.parseInt",
"Integer",
"s.nextLine()",
"s.nextLine",
"s",
"boolean flag=true;",
"flag",
"true",
"int[] seq = new int[n];",
"seq",
"new int[n]",
"n",
"if(n<=100) {\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tseq[i]=s.nextInt();\n\t\t\tif(seq[i]>=0 && seq[i]<1000) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t}",
"n<=100",
"n",
"100",
"{\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tseq[i]=s.nextInt();\n\t\t\tif(seq[i]>=0 && seq[i]<1000) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t}",
"for(int i=0;i<n;i++) {\n\t\t\tseq[i]=s.nextInt();\n\t\t\tif(seq[i]>=0 && seq[i]<1000) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tseq[i]=s.nextInt();\n\t\t\tif(seq[i]>=0 && seq[i]<1000) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tseq[i]=s.nextInt();\n\t\t\tif(seq[i]>=0 && seq[i]<1000) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"seq[i]=s.nextInt()",
"seq[i]",
"seq",
"i",
"s.nextInt()",
"s.nextInt",
"s",
"if(seq[i]>=0 && seq[i]<1000) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag=false;\n\t\t\t\tbreak;\n\t\t\t}",
"seq[i]>=0 && seq[i]<1000",
"seq[i]>=0",
"seq[i]",
"seq",
"i",
"0",
"seq[i]<1000",
"seq[i]",
"seq",
"i",
"1000",
"{\n\t\t\t\tcontinue;\n\t\t\t}",
"continue;",
"{\n\t\t\t\tflag=false;\n\t\t\t\tbreak;\n\t\t\t}",
"flag=false",
"flag",
"false",
"break;",
"if(flag==true) {\n\t\t\tfor(int j=n;j>0;j--) {\n\t\t\t\tif(j!=1) {\n\t\t\t\t\tSystem.out.print(seq[j-1]+\" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(seq[j-1]);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"flag==true",
"flag",
"true",
"{\n\t\t\tfor(int j=n;j>0;j--) {\n\t\t\t\tif(j!=1) {\n\t\t\t\t\tSystem.out.print(seq[j-1]+\" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(seq[j-1]);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int j=n;j>0;j--) {\n\t\t\t\tif(j!=1) {\n\t\t\t\t\tSystem.out.print(seq[j-1]+\" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(seq[j-1]);\n\t\t\t\t}\n\t\t\t}",
"int j=n;",
"int j=n;",
"j",
"n",
"j>0",
"j",
"0",
"j--",
"j--",
"j",
"{\n\t\t\t\tif(j!=1) {\n\t\t\t\t\tSystem.out.print(seq[j-1]+\" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(seq[j-1]);\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(j!=1) {\n\t\t\t\t\tSystem.out.print(seq[j-1]+\" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(seq[j-1]);\n\t\t\t\t}\n\t\t\t}",
"if(j!=1) {\n\t\t\t\t\tSystem.out.print(seq[j-1]+\" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(seq[j-1]);\n\t\t\t\t}",
"j!=1",
"j",
"1",
"{\n\t\t\t\t\tSystem.out.print(seq[j-1]+\" \");\n\t\t\t\t}",
"System.out.print(seq[j-1]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"seq[j-1]+\" \"",
"seq[j-1]",
"seq",
"j-1",
"j",
"1",
"\" \"",
"{\n\t\t\t\t\tSystem.out.println(seq[j-1]);\n\t\t\t\t}",
"System.out.println(seq[j-1])",
"System.out.println",
"System.out",
"System",
"System.out",
"seq[j-1]",
"seq",
"j-1",
"j",
"1",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = Integer.parseInt(s.nextLine());\n\t\tboolean flag=true;\n\t\tint[] seq = new int[n];\n\t\tif(n<=100) {\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tseq[i]=s.nextInt();\n\t\t\tif(seq[i]>=0 && seq[i]<1000) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t}\n\t\t\n\t\tif(flag==true) {\n\t\t\tfor(int j=n;j>0;j--) {\n\t\t\t\tif(j!=1) {\n\t\t\t\t\tSystem.out.print(seq[j-1]+\" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(seq[j-1]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = Integer.parseInt(s.nextLine());\n\t\tboolean flag=true;\n\t\tint[] seq = new int[n];\n\t\tif(n<=100) {\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tseq[i]=s.nextInt();\n\t\t\tif(seq[i]>=0 && seq[i]<1000) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tflag=false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t}\n\t\t\n\t\tif(flag==true) {\n\t\t\tfor(int j=n;j>0;j--) {\n\t\t\t\tif(j!=1) {\n\t\t\t\t\tSystem.out.print(seq[j-1]+\" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(seq[j-1]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int n = Integer.parseInt(s.nextLine());
boolean flag=true;
int[] seq = new int[n];
if(n<=100) {
for(int i=0;i<n;i++) {
seq[i]=s.nextInt();
if(seq[i]>=0 && seq[i]<1000) {
continue;
}else {
flag=false;
break;
}
}
}
if(flag==true) {
for(int j=n;j>0;j--) {
if(j!=1) {
System.out.print(seq[j-1]+" ");
}else {
System.out.println(seq[j-1]);
}
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
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,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
13,
18
],
[
9,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
19,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
33,
38
],
[
19,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
39,
48
],
[
48,
49
],
[
48,
50
],
[
39,
51
],
[
51,
52
],
[
52,
53
],
[
39,
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.io.*;\n\npublic class Main{\n public static void main(String[] args){\n\ttry{ \n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t int x = Integer.parseInt(br.readLine());\n \t String[] str = br.readLine().split(\" \");\n\n\t\tfor(int i = str.length-1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t \t System.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t \t System.out.println(str[i]);\n\t\t\t}\n\t\t}\n\t}catch(IOException e){\n\t System.out.println(e);\n\t}\n}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[] args){\n\ttry{ \n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t int x = Integer.parseInt(br.readLine());\n \t String[] str = br.readLine().split(\" \");\n\n\t\tfor(int i = str.length-1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t \t System.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t \t System.out.println(str[i]);\n\t\t\t}\n\t\t}\n\t}catch(IOException e){\n\t System.out.println(e);\n\t}\n}\n}",
"Main",
"public static void main(String[] args){\n\ttry{ \n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t int x = Integer.parseInt(br.readLine());\n \t String[] str = br.readLine().split(\" \");\n\n\t\tfor(int i = str.length-1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t \t System.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t \t System.out.println(str[i]);\n\t\t\t}\n\t\t}\n\t}catch(IOException e){\n\t System.out.println(e);\n\t}\n}",
"main",
"{\n\ttry{ \n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t int x = Integer.parseInt(br.readLine());\n \t String[] str = br.readLine().split(\" \");\n\n\t\tfor(int i = str.length-1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t \t System.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t \t System.out.println(str[i]);\n\t\t\t}\n\t\t}\n\t}catch(IOException e){\n\t System.out.println(e);\n\t}\n}",
"try{ \n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t int x = Integer.parseInt(br.readLine());\n \t String[] str = br.readLine().split(\" \");\n\n\t\tfor(int i = str.length-1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t \t System.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t \t System.out.println(str[i]);\n\t\t\t}\n\t\t}\n\t}catch(IOException e){\n\t System.out.println(e);\n\t}",
"catch(IOException e){\n\t System.out.println(e);\n\t}",
"IOException e",
"{\n\t System.out.println(e);\n\t}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{ \n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t int x = Integer.parseInt(br.readLine());\n \t String[] str = br.readLine().split(\" \");\n\n\t\tfor(int i = str.length-1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t \t System.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t \t System.out.println(str[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 x = Integer.parseInt(br.readLine());",
"x",
"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 = str.length-1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t \t System.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t \t System.out.println(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 System.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t \t System.out.println(str[i]);\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(i != 0){\n\t\t \t System.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t \t System.out.println(str[i]);\n\t\t\t}\n\t\t}",
"if(i != 0){\n\t\t \t System.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t \t System.out.println(str[i]);\n\t\t\t}",
"i != 0",
"i",
"0",
"{\n\t\t \t System.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 System.out.println(str[i]);\n\t\t\t}",
"System.out.println(str[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"str[i]",
"str",
"i",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n\ttry{ \n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t int x = Integer.parseInt(br.readLine());\n \t String[] str = br.readLine().split(\" \");\n\n\t\tfor(int i = str.length-1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t \t System.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t \t System.out.println(str[i]);\n\t\t\t}\n\t\t}\n\t}catch(IOException e){\n\t System.out.println(e);\n\t}\n}\n}",
"public class Main{\n public static void main(String[] args){\n\ttry{ \n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t int x = Integer.parseInt(br.readLine());\n \t String[] str = br.readLine().split(\" \");\n\n\t\tfor(int i = str.length-1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t \t System.out.print(str[i] + \" \");\n\t\t\t}else{\n\t\t \t System.out.println(str[i]);\n\t\t\t}\n\t\t}\n\t}catch(IOException e){\n\t System.out.println(e);\n\t}\n}\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[] args){
try{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(br.readLine());
String[] str = br.readLine().split(" ");
for(int i = str.length-1; i >= 0; i--){
if(i != 0){
System.out.print(str[i] + " ");
}else{
System.out.println(str[i]);
}
}
}catch(IOException e){
System.out.println(e);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
12,
13,
30,
4,
18,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
12,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
25,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
25,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
12,
77
],
[
77,
78
],
[
78,
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;\n\nclass Main {\n\tint[] k = new int[101];\n\tpublic void kami() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tif(n <= 100){\n\t\t\tfor(int x = 1; x <= n; x++){\n\t\t\t\t k[x] = sc.nextInt();\n\t\t\t}\n\n\t\t\tfor(int i = n; i >= 2; i--){\n\t\t\t\tSystem.out.print(k[i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.print(k[1]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n\tpublic static void main(String[] args) {\n\n\t\tnew Main().kami();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tint[] k = new int[101];\n\tpublic void kami() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tif(n <= 100){\n\t\t\tfor(int x = 1; x <= n; x++){\n\t\t\t\t k[x] = sc.nextInt();\n\t\t\t}\n\n\t\t\tfor(int i = n; i >= 2; i--){\n\t\t\t\tSystem.out.print(k[i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.print(k[1]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n\tpublic static void main(String[] args) {\n\n\t\tnew Main().kami();\n\t}\n\n}",
"Main",
"int[] k = new int[101];",
"k",
"new int[101]",
"101",
"public void kami() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tif(n <= 100){\n\t\t\tfor(int x = 1; x <= n; x++){\n\t\t\t\t k[x] = sc.nextInt();\n\t\t\t}\n\n\t\t\tfor(int i = n; i >= 2; i--){\n\t\t\t\tSystem.out.print(k[i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.print(k[1]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"kami",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tif(n <= 100){\n\t\t\tfor(int x = 1; x <= n; x++){\n\t\t\t\t k[x] = sc.nextInt();\n\t\t\t}\n\n\t\t\tfor(int i = n; i >= 2; i--){\n\t\t\t\tSystem.out.print(k[i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.print(k[1]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n <= 100){\n\t\t\tfor(int x = 1; x <= n; x++){\n\t\t\t\t k[x] = sc.nextInt();\n\t\t\t}\n\n\t\t\tfor(int i = n; i >= 2; i--){\n\t\t\t\tSystem.out.print(k[i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.print(k[1]);\n\t\t}",
"n <= 100",
"n",
"100",
"{\n\t\t\tfor(int x = 1; x <= n; x++){\n\t\t\t\t k[x] = sc.nextInt();\n\t\t\t}\n\n\t\t\tfor(int i = n; i >= 2; i--){\n\t\t\t\tSystem.out.print(k[i] + \" \");\n\t\t\t}\n\t\t\tSystem.out.print(k[1]);\n\t\t}",
"for(int x = 1; x <= n; x++){\n\t\t\t\t k[x] = sc.nextInt();\n\t\t\t}",
"int x = 1;",
"int x = 1;",
"x",
"1",
"x <= n",
"x",
"n",
"x++",
"x++",
"x",
"{\n\t\t\t\t k[x] = sc.nextInt();\n\t\t\t}",
"{\n\t\t\t\t k[x] = sc.nextInt();\n\t\t\t}",
"k[x] = sc.nextInt()",
"k[x]",
"k",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i = n; i >= 2; i--){\n\t\t\t\tSystem.out.print(k[i] + \" \");\n\t\t\t}",
"int i = n;",
"int i = n;",
"i",
"n",
"i >= 2",
"i",
"2",
"i--",
"i--",
"i",
"{\n\t\t\t\tSystem.out.print(k[i] + \" \");\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print(k[i] + \" \");\n\t\t\t}",
"System.out.print(k[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"k[i] + \" \"",
"k[i]",
"k",
"i",
"\" \"",
"System.out.print(k[1])",
"System.out.print",
"System.out",
"System",
"System.out",
"k[1]",
"k",
"1",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"public static void main(String[] args) {\n\n\t\tnew Main().kami();\n\t}",
"main",
"{\n\n\t\tnew Main().kami();\n\t}",
"new Main().kami()",
"new Main().kami",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
int[] k = new int[101];
public void kami() {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
if(n <= 100){
for(int x = 1; x <= n; x++){
k[x] = sc.nextInt();
}
for(int i = n; i >= 2; i--){
System.out.print(k[i] + " ");
}
System.out.print(k[1]);
}
System.out.println();
}
public static void main(String[] args) {
new Main().kami();
}
} |
[
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,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
41,
13,
0,
13,
4,
18,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
107,
11
],
[
107,
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
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
30,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
30,
47
],
[
47,
48
],
[
30,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
30,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
55,
62
],
[
62,
63
],
[
62,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
55,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
75,
77
],
[
69,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
78,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
30,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
12,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
] | [
"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 input = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t try{\n\t\t\t //??\\???\n\t\t\t String ab = input.readLine();\n\t\t int a=Integer.parseInt(ab);\n\t\t String an=input.readLine();\n\t\t String[] strAry;\n\t\t //????????????????´?????????????????´?\n\t strAry=an.split(\" \");\n\t //??\\??????????????°??????????????????????????§a????????§-1??????????????§??°?????????\n\t //a???5?????¨???5.4.3.2.1??§0????????????????????¨???\n\t for(int i=a-1; i>=0; i--){\n\t \t //Array???????????????????????????????????????\n\t int b=Integer.parseInt(strAry[i]);\n\t //??\\??????????????????i???????????°???????????????a?????°????????????\n\t if(i>0){\n\t System.out.print(b+\" \");\n\t }else{\n\t \t System.out.print(b);\n\t }\n\n\t \t}\n\t System.out.println(\"\");\n\n\n\n\n\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t try{\n\t\t\t //??\\???\n\t\t\t String ab = input.readLine();\n\t\t int a=Integer.parseInt(ab);\n\t\t String an=input.readLine();\n\t\t String[] strAry;\n\t\t //????????????????´?????????????????´?\n\t strAry=an.split(\" \");\n\t //??\\??????????????°??????????????????????????§a????????§-1??????????????§??°?????????\n\t //a???5?????¨???5.4.3.2.1??§0????????????????????¨???\n\t for(int i=a-1; i>=0; i--){\n\t \t //Array???????????????????????????????????????\n\t int b=Integer.parseInt(strAry[i]);\n\t //??\\??????????????????i???????????°???????????????a?????°????????????\n\t if(i>0){\n\t System.out.print(b+\" \");\n\t }else{\n\t \t System.out.print(b);\n\t }\n\n\t \t}\n\t System.out.println(\"\");\n\n\n\n\n\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t try{\n\t\t\t //??\\???\n\t\t\t String ab = input.readLine();\n\t\t int a=Integer.parseInt(ab);\n\t\t String an=input.readLine();\n\t\t String[] strAry;\n\t\t //????????????????´?????????????????´?\n\t strAry=an.split(\" \");\n\t //??\\??????????????°??????????????????????????§a????????§-1??????????????§??°?????????\n\t //a???5?????¨???5.4.3.2.1??§0????????????????????¨???\n\t for(int i=a-1; i>=0; i--){\n\t \t //Array???????????????????????????????????????\n\t int b=Integer.parseInt(strAry[i]);\n\t //??\\??????????????????i???????????°???????????????a?????°????????????\n\t if(i>0){\n\t System.out.print(b+\" \");\n\t }else{\n\t \t System.out.print(b);\n\t }\n\n\t \t}\n\t System.out.println(\"\");\n\n\n\n\n\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }\n\n\t}",
"main",
"{\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t try{\n\t\t\t //??\\???\n\t\t\t String ab = input.readLine();\n\t\t int a=Integer.parseInt(ab);\n\t\t String an=input.readLine();\n\t\t String[] strAry;\n\t\t //????????????????´?????????????????´?\n\t strAry=an.split(\" \");\n\t //??\\??????????????°??????????????????????????§a????????§-1??????????????§??°?????????\n\t //a???5?????¨???5.4.3.2.1??§0????????????????????¨???\n\t for(int i=a-1; i>=0; i--){\n\t \t //Array???????????????????????????????????????\n\t int b=Integer.parseInt(strAry[i]);\n\t //??\\??????????????????i???????????°???????????????a?????°????????????\n\t if(i>0){\n\t System.out.print(b+\" \");\n\t }else{\n\t \t System.out.print(b);\n\t }\n\n\t \t}\n\t System.out.println(\"\");\n\n\n\n\n\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }\n\n\t}",
"BufferedReader input = new BufferedReader(new InputStreamReader(System.in));",
"input",
"new BufferedReader(new InputStreamReader(System.in))",
"try{\n\t\t\t //??\\???\n\t\t\t String ab = input.readLine();\n\t\t int a=Integer.parseInt(ab);\n\t\t String an=input.readLine();\n\t\t String[] strAry;\n\t\t //????????????????´?????????????????´?\n\t strAry=an.split(\" \");\n\t //??\\??????????????°??????????????????????????§a????????§-1??????????????§??°?????????\n\t //a???5?????¨???5.4.3.2.1??§0????????????????????¨???\n\t for(int i=a-1; i>=0; i--){\n\t \t //Array???????????????????????????????????????\n\t int b=Integer.parseInt(strAry[i]);\n\t //??\\??????????????????i???????????°???????????????a?????°????????????\n\t if(i>0){\n\t System.out.print(b+\" \");\n\t }else{\n\t \t System.out.print(b);\n\t }\n\n\t \t}\n\t System.out.println(\"\");\n\n\n\n\n\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }",
"catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }",
"IOException e",
"{ System.out.println(\"Exception : \" + e);\n\t\t }",
"System.out.println(\"Exception : \" + e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Exception : \" + e",
"\"Exception : \"",
"e",
"{\n\t\t\t //??\\???\n\t\t\t String ab = input.readLine();\n\t\t int a=Integer.parseInt(ab);\n\t\t String an=input.readLine();\n\t\t String[] strAry;\n\t\t //????????????????´?????????????????´?\n\t strAry=an.split(\" \");\n\t //??\\??????????????°??????????????????????????§a????????§-1??????????????§??°?????????\n\t //a???5?????¨???5.4.3.2.1??§0????????????????????¨???\n\t for(int i=a-1; i>=0; i--){\n\t \t //Array???????????????????????????????????????\n\t int b=Integer.parseInt(strAry[i]);\n\t //??\\??????????????????i???????????°???????????????a?????°????????????\n\t if(i>0){\n\t System.out.print(b+\" \");\n\t }else{\n\t \t System.out.print(b);\n\t }\n\n\t \t}\n\t System.out.println(\"\");\n\n\n\n\n\n\n\t\t }",
"String ab = input.readLine();",
"ab",
"input.readLine()",
"input.readLine",
"input",
"int a=Integer.parseInt(ab);",
"a",
"Integer.parseInt(ab)",
"Integer.parseInt",
"Integer",
"ab",
"String an=input.readLine();",
"an",
"input.readLine()",
"input.readLine",
"input",
"String[] strAry;",
"strAry",
"strAry=an.split(\" \")",
"strAry",
"an.split(\" \")",
"an.split",
"an",
"\" \"",
"for(int i=a-1; i>=0; i--){\n\t \t //Array???????????????????????????????????????\n\t int b=Integer.parseInt(strAry[i]);\n\t //??\\??????????????????i???????????°???????????????a?????°????????????\n\t if(i>0){\n\t System.out.print(b+\" \");\n\t }else{\n\t \t System.out.print(b);\n\t }\n\n\t \t}",
"int i=a-1;",
"int i=a-1;",
"i",
"a-1",
"a",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t \t //Array???????????????????????????????????????\n\t int b=Integer.parseInt(strAry[i]);\n\t //??\\??????????????????i???????????°???????????????a?????°????????????\n\t if(i>0){\n\t System.out.print(b+\" \");\n\t }else{\n\t \t System.out.print(b);\n\t }\n\n\t \t}",
"{\n\t \t //Array???????????????????????????????????????\n\t int b=Integer.parseInt(strAry[i]);\n\t //??\\??????????????????i???????????°???????????????a?????°????????????\n\t if(i>0){\n\t System.out.print(b+\" \");\n\t }else{\n\t \t System.out.print(b);\n\t }\n\n\t \t}",
"int b=Integer.parseInt(strAry[i]);",
"b",
"Integer.parseInt(strAry[i])",
"Integer.parseInt",
"Integer",
"strAry[i]",
"strAry",
"i",
"if(i>0){\n\t System.out.print(b+\" \");\n\t }else{\n\t \t System.out.print(b);\n\t }",
"i>0",
"i",
"0",
"{\n\t System.out.print(b+\" \");\n\t }",
"System.out.print(b+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"b+\" \"",
"b",
"\" \"",
"{\n\t \t System.out.print(b);\n\t }",
"System.out.print(b)",
"System.out.print",
"System.out",
"System",
"System.out",
"b",
"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\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t try{\n\t\t\t //??\\???\n\t\t\t String ab = input.readLine();\n\t\t int a=Integer.parseInt(ab);\n\t\t String an=input.readLine();\n\t\t String[] strAry;\n\t\t //????????????????´?????????????????´?\n\t strAry=an.split(\" \");\n\t //??\\??????????????°??????????????????????????§a????????§-1??????????????§??°?????????\n\t //a???5?????¨???5.4.3.2.1??§0????????????????????¨???\n\t for(int i=a-1; i>=0; i--){\n\t \t //Array???????????????????????????????????????\n\t int b=Integer.parseInt(strAry[i]);\n\t //??\\??????????????????i???????????°???????????????a?????°????????????\n\t if(i>0){\n\t System.out.print(b+\" \");\n\t }else{\n\t \t System.out.print(b);\n\t }\n\n\t \t}\n\t System.out.println(\"\");\n\n\n\n\n\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }\n\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t try{\n\t\t\t //??\\???\n\t\t\t String ab = input.readLine();\n\t\t int a=Integer.parseInt(ab);\n\t\t String an=input.readLine();\n\t\t String[] strAry;\n\t\t //????????????????´?????????????????´?\n\t strAry=an.split(\" \");\n\t //??\\??????????????°??????????????????????????§a????????§-1??????????????§??°?????????\n\t //a???5?????¨???5.4.3.2.1??§0????????????????????¨???\n\t for(int i=a-1; i>=0; i--){\n\t \t //Array???????????????????????????????????????\n\t int b=Integer.parseInt(strAry[i]);\n\t //??\\??????????????????i???????????°???????????????a?????°????????????\n\t if(i>0){\n\t System.out.print(b+\" \");\n\t }else{\n\t \t System.out.print(b);\n\t }\n\n\t \t}\n\t System.out.println(\"\");\n\n\n\n\n\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }\n\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args) {
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
try{
//??\???
String ab = input.readLine();
int a=Integer.parseInt(ab);
String an=input.readLine();
String[] strAry;
//????????????????´?????????????????´?
strAry=an.split(" ");
//??\??????????????°??????????????????????????§a????????§-1??????????????§??°?????????
//a???5?????¨???5.4.3.2.1??§0????????????????????¨???
for(int i=a-1; i>=0; i--){
//Array???????????????????????????????????????
int b=Integer.parseInt(strAry[i]);
//??\??????????????????i???????????°???????????????a?????°????????????
if(i>0){
System.out.print(b+" ");
}else{
System.out.print(b);
}
}
System.out.println("");
}catch(IOException e) { System.out.println("Exception : " + e);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
41,
13,
20,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
2,
17,
13,
2,
13,
17,
30,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
13,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
2,
4,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
123,
14
],
[
123,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
38,
48
],
[
48,
49
],
[
49,
50
],
[
38,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
52,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
30,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
30,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
75,
85
],
[
85,
86
],
[
86,
87
],
[
75,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
93,
97
],
[
90,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
90,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
114,
119
],
[
15,
120
],
[
120,
121
],
[
0,
122
],
[
122,
123
],
[
122,
124
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint num = scanner.nextInt();\n\t\tif (num <= 100) {\n\t\t\tint array[] = new int[num];\n\t\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\t\tint next = scanner.nextInt();\n\t\t\t\tif (0 <= next && next < 1000) {\n\t\t\t\t\tlist.add(next);\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollections.reverse(list);\n\n\t\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\t\tif (i == (list.size()-1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint num = scanner.nextInt();\n\t\tif (num <= 100) {\n\t\t\tint array[] = new int[num];\n\t\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\t\tint next = scanner.nextInt();\n\t\t\t\tif (0 <= next && next < 1000) {\n\t\t\t\t\tlist.add(next);\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollections.reverse(list);\n\n\t\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\t\tif (i == (list.size()-1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint num = scanner.nextInt();\n\t\tif (num <= 100) {\n\t\t\tint array[] = new int[num];\n\t\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\t\tint next = scanner.nextInt();\n\t\t\t\tif (0 <= next && next < 1000) {\n\t\t\t\t\tlist.add(next);\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollections.reverse(list);\n\n\t\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\t\tif (i == (list.size()-1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint num = scanner.nextInt();\n\t\tif (num <= 100) {\n\t\t\tint array[] = new int[num];\n\t\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\t\tint next = scanner.nextInt();\n\t\t\t\tif (0 <= next && next < 1000) {\n\t\t\t\t\tlist.add(next);\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollections.reverse(list);\n\n\t\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\t\tif (i == (list.size()-1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int num = scanner.nextInt();",
"num",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (num <= 100) {\n\t\t\tint array[] = new int[num];\n\t\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\t\tint next = scanner.nextInt();\n\t\t\t\tif (0 <= next && next < 1000) {\n\t\t\t\t\tlist.add(next);\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollections.reverse(list);\n\n\t\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\t\tif (i == (list.size()-1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"num <= 100",
"num",
"100",
"{\n\t\t\tint array[] = new int[num];\n\t\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\t\tint next = scanner.nextInt();\n\t\t\t\tif (0 <= next && next < 1000) {\n\t\t\t\t\tlist.add(next);\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollections.reverse(list);\n\n\t\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\t\tif (i == (list.size()-1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int array[] = new int[num];",
"array",
"new int[num]",
"num",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"for (int i = 0; i < array.length; i++) {\n\t\t\t\tint next = scanner.nextInt();\n\t\t\t\tif (0 <= next && next < 1000) {\n\t\t\t\t\tlist.add(next);\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tint next = scanner.nextInt();\n\t\t\t\tif (0 <= next && next < 1000) {\n\t\t\t\t\tlist.add(next);\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tint next = scanner.nextInt();\n\t\t\t\tif (0 <= next && next < 1000) {\n\t\t\t\t\tlist.add(next);\n\t\t\t\t}\n\t\t\t}",
"int next = scanner.nextInt();",
"next",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (0 <= next && next < 1000) {\n\t\t\t\t\tlist.add(next);\n\t\t\t\t}",
"0 <= next && next < 1000",
"0 <= next",
"0",
"next",
"next < 1000",
"next",
"1000",
"{\n\t\t\t\t\tlist.add(next);\n\t\t\t\t}",
"list.add(next)",
"list.add",
"list",
"next",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"for (int i = 0; i < list.size(); i++) {\n\t\t\t\tif (i == (list.size()-1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n\t\t\t\tif (i == (list.size()-1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif (i == (list.size()-1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}",
"if (i == (list.size()-1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}",
"i == (list.size()-1)",
"i",
"(list.size()-1)",
"list.size()",
"list.size",
"list",
"1",
"{\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t}",
"System.out.println(list.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(i)",
"list.get",
"list",
"i",
"{\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}",
"System.out.print(list.get(i) + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"list.get(i) + \" \"",
"list.get(i)",
"list.get",
"list",
"i",
"\" \"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint num = scanner.nextInt();\n\t\tif (num <= 100) {\n\t\t\tint array[] = new int[num];\n\t\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\t\tint next = scanner.nextInt();\n\t\t\t\tif (0 <= next && next < 1000) {\n\t\t\t\t\tlist.add(next);\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollections.reverse(list);\n\n\t\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\t\tif (i == (list.size()-1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint num = scanner.nextInt();\n\t\tif (num <= 100) {\n\t\t\tint array[] = new int[num];\n\t\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\t\tint next = scanner.nextInt();\n\t\t\t\tif (0 <= next && next < 1000) {\n\t\t\t\t\tlist.add(next);\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollections.reverse(list);\n\n\t\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\t\tif (i == (list.size()-1)) {\n\t\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int num = scanner.nextInt();
if (num <= 100) {
int array[] = new int[num];
List<Integer> list = new ArrayList<Integer>();
for (int i = 0; i < array.length; i++) {
int next = scanner.nextInt();
if (0 <= next && next < 1000) {
list.add(next);
}
}
Collections.reverse(list);
for (int i = 0; i < list.size(); i++) {
if (i == (list.size()-1)) {
System.out.println(list.get(i));
} else {
System.out.print(list.get(i) + " ");
}
}
}
}
} |
[
7,
15,
13,
17,
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,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
94,
8
],
[
94,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
46,
50
],
[
42,
51
],
[
51,
52
],
[
51,
53
],
[
42,
54
],
[
54,
55
],
[
55,
56
],
[
42,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
62,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
58,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
11,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
11,
88
],
[
88,
89
],
[
89,
90
],
[
9,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> i = new ArrayList<Integer>();\n\n\t\tint n = sc.nextInt();\n\n\t\tfor (int x = 0; x < n; x++) {\n\n\t\t\ti.add(sc.nextInt());\n\n\t\t}\n\t\tfor (int y = i.size() - 1; y >= 0; y--) {\n\n\t\t\tif (y != i.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\n\t\t\tSystem.out.print(i.get(y));\n\n\t\t}\n\t\tSystem.out.println();\n\t\tsc.close();\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> i = new ArrayList<Integer>();\n\n\t\tint n = sc.nextInt();\n\n\t\tfor (int x = 0; x < n; x++) {\n\n\t\t\ti.add(sc.nextInt());\n\n\t\t}\n\t\tfor (int y = i.size() - 1; y >= 0; y--) {\n\n\t\t\tif (y != i.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\n\t\t\tSystem.out.print(i.get(y));\n\n\t\t}\n\t\tSystem.out.println();\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> i = new ArrayList<Integer>();\n\n\t\tint n = sc.nextInt();\n\n\t\tfor (int x = 0; x < n; x++) {\n\n\t\t\ti.add(sc.nextInt());\n\n\t\t}\n\t\tfor (int y = i.size() - 1; y >= 0; y--) {\n\n\t\t\tif (y != i.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\n\t\t\tSystem.out.print(i.get(y));\n\n\t\t}\n\t\tSystem.out.println();\n\t\tsc.close();\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> i = new ArrayList<Integer>();\n\n\t\tint n = sc.nextInt();\n\n\t\tfor (int x = 0; x < n; x++) {\n\n\t\t\ti.add(sc.nextInt());\n\n\t\t}\n\t\tfor (int y = i.size() - 1; y >= 0; y--) {\n\n\t\t\tif (y != i.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\n\t\t\tSystem.out.print(i.get(y));\n\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)",
"ArrayList<Integer> i = new ArrayList<Integer>();",
"i",
"new ArrayList<Integer>()",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int x = 0; x < n; x++) {\n\n\t\t\ti.add(sc.nextInt());\n\n\t\t}",
"int x = 0;",
"int x = 0;",
"x",
"0",
"x < n",
"x",
"n",
"x++",
"x++",
"x",
"{\n\n\t\t\ti.add(sc.nextInt());\n\n\t\t}",
"{\n\n\t\t\ti.add(sc.nextInt());\n\n\t\t}",
"i.add(sc.nextInt())",
"i.add",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int y = i.size() - 1; y >= 0; y--) {\n\n\t\t\tif (y != i.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\n\t\t\tSystem.out.print(i.get(y));\n\n\t\t}",
"int y = i.size() - 1;",
"int y = i.size() - 1;",
"y",
"i.size() - 1",
"i.size()",
"i.size",
"i",
"1",
"y >= 0",
"y",
"0",
"y--",
"y--",
"y",
"{\n\n\t\t\tif (y != i.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\n\t\t\tSystem.out.print(i.get(y));\n\n\t\t}",
"{\n\n\t\t\tif (y != i.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\n\t\t\tSystem.out.print(i.get(y));\n\n\t\t}",
"if (y != i.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"y != i.size() - 1",
"y",
"i.size() - 1",
"i.size()",
"i.size",
"i",
"1",
"{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.print(i.get(y))",
"System.out.print",
"System.out",
"System",
"System.out",
"i.get(y)",
"i.get",
"i",
"y",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> i = new ArrayList<Integer>();\n\n\t\tint n = sc.nextInt();\n\n\t\tfor (int x = 0; x < n; x++) {\n\n\t\t\ti.add(sc.nextInt());\n\n\t\t}\n\t\tfor (int y = i.size() - 1; y >= 0; y--) {\n\n\t\t\tif (y != i.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\n\t\t\tSystem.out.print(i.get(y));\n\n\t\t}\n\t\tSystem.out.println();\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> i = new ArrayList<Integer>();\n\n\t\tint n = sc.nextInt();\n\n\t\tfor (int x = 0; x < n; x++) {\n\n\t\t\ti.add(sc.nextInt());\n\n\t\t}\n\t\tfor (int y = i.size() - 1; y >= 0; y--) {\n\n\t\t\tif (y != i.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\n\t\t\tSystem.out.print(i.get(y));\n\n\t\t}\n\t\tSystem.out.println();\n\t\tsc.close();\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<Integer> i = new ArrayList<Integer>();
int n = sc.nextInt();
for (int x = 0; x < n; x++) {
i.add(sc.nextInt());
}
for (int y = i.size() - 1; y >= 0; y--) {
if (y != i.size() - 1) {
System.out.print(" ");
}
System.out.print(i.get(y));
}
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,
17,
41,
13,
17,
41,
13,
20,
41,
13,
20,
0,
13,
4,
18,
13,
4,
18,
13,
41,
13,
20,
13,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
123,
14
],
[
123,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
27
],
[
27,
28
],
[
27,
29
],
[
17,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
36,
37
],
[
17,
38
],
[
38,
39
],
[
38,
40
],
[
17,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
17,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
17,
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
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
71,
73
],
[
65,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
17,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
78,
85
],
[
85,
86
],
[
85,
87
],
[
78,
88
],
[
88,
89
],
[
89,
90
],
[
78,
91
],
[
92,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
92,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
102,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
15,
120
],
[
120,
121
],
[
0,
122
],
[
122,
123
],
[
122,
124
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t/**\n\t\t * ?????°?????£?¨?\n\t\t */\n\t\tint n = 0;\n\t\tint temp = 0;\n\t\t/**\n\t\t * ???????????£?¨?\n\t\t */\n\t\tArrayList<Integer> reverse = new ArrayList<Integer>();\n\t\t/**\n\t\t * ??\\?????¨?????????????´?\n\t\t */\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tn = Integer.parseInt(br.readLine()); //??\\???????????????????????\\???\n\t\tString box[] = new String[n];\n\t\tString str = br.readLine();\n\t\tbox = str.split(\" \");\n\t\t/**\n\t\t * int???????????¨????????????????´?\n\t\t */\n\t\tfor(int i = 0; i < n; ++i){\n\t\t\ttemp = Integer.parseInt(box[i]);\n\t\t\treverse.add(temp);\n\t\t}\n\t\tfor (int j = n-1; j >= 0; --j) {\n\t\t\tSystem.out.print(reverse.get(j));\n\t\t\tif (j != 0) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t/**\n\t\t * ?????°?????£?¨?\n\t\t */\n\t\tint n = 0;\n\t\tint temp = 0;\n\t\t/**\n\t\t * ???????????£?¨?\n\t\t */\n\t\tArrayList<Integer> reverse = new ArrayList<Integer>();\n\t\t/**\n\t\t * ??\\?????¨?????????????´?\n\t\t */\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tn = Integer.parseInt(br.readLine()); //??\\???????????????????????\\???\n\t\tString box[] = new String[n];\n\t\tString str = br.readLine();\n\t\tbox = str.split(\" \");\n\t\t/**\n\t\t * int???????????¨????????????????´?\n\t\t */\n\t\tfor(int i = 0; i < n; ++i){\n\t\t\ttemp = Integer.parseInt(box[i]);\n\t\t\treverse.add(temp);\n\t\t}\n\t\tfor (int j = n-1; j >= 0; --j) {\n\t\t\tSystem.out.print(reverse.get(j));\n\t\t\tif (j != 0) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t/**\n\t\t * ?????°?????£?¨?\n\t\t */\n\t\tint n = 0;\n\t\tint temp = 0;\n\t\t/**\n\t\t * ???????????£?¨?\n\t\t */\n\t\tArrayList<Integer> reverse = new ArrayList<Integer>();\n\t\t/**\n\t\t * ??\\?????¨?????????????´?\n\t\t */\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tn = Integer.parseInt(br.readLine()); //??\\???????????????????????\\???\n\t\tString box[] = new String[n];\n\t\tString str = br.readLine();\n\t\tbox = str.split(\" \");\n\t\t/**\n\t\t * int???????????¨????????????????´?\n\t\t */\n\t\tfor(int i = 0; i < n; ++i){\n\t\t\ttemp = Integer.parseInt(box[i]);\n\t\t\treverse.add(temp);\n\t\t}\n\t\tfor (int j = n-1; j >= 0; --j) {\n\t\t\tSystem.out.print(reverse.get(j));\n\t\t\tif (j != 0) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\t/**\n\t\t * ?????°?????£?¨?\n\t\t */\n\t\tint n = 0;\n\t\tint temp = 0;\n\t\t/**\n\t\t * ???????????£?¨?\n\t\t */\n\t\tArrayList<Integer> reverse = new ArrayList<Integer>();\n\t\t/**\n\t\t * ??\\?????¨?????????????´?\n\t\t */\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tn = Integer.parseInt(br.readLine()); //??\\???????????????????????\\???\n\t\tString box[] = new String[n];\n\t\tString str = br.readLine();\n\t\tbox = str.split(\" \");\n\t\t/**\n\t\t * int???????????¨????????????????´?\n\t\t */\n\t\tfor(int i = 0; i < n; ++i){\n\t\t\ttemp = Integer.parseInt(box[i]);\n\t\t\treverse.add(temp);\n\t\t}\n\t\tfor (int j = n-1; j >= 0; --j) {\n\t\t\tSystem.out.print(reverse.get(j));\n\t\t\tif (j != 0) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}",
"int n = 0;",
"n",
"0",
"int temp = 0;",
"temp",
"0",
"ArrayList<Integer> reverse = new ArrayList<Integer>();",
"reverse",
"new ArrayList<Integer>()",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"n = Integer.parseInt(br.readLine())",
"n",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"String box[] = new String[n];",
"box",
"new String[n]",
"n",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"box = str.split(\" \")",
"box",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"for(int i = 0; i < n; ++i){\n\t\t\ttemp = Integer.parseInt(box[i]);\n\t\t\treverse.add(temp);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"++i",
"++i",
"i",
"{\n\t\t\ttemp = Integer.parseInt(box[i]);\n\t\t\treverse.add(temp);\n\t\t}",
"{\n\t\t\ttemp = Integer.parseInt(box[i]);\n\t\t\treverse.add(temp);\n\t\t}",
"temp = Integer.parseInt(box[i])",
"temp",
"Integer.parseInt(box[i])",
"Integer.parseInt",
"Integer",
"box[i]",
"box",
"i",
"reverse.add(temp)",
"reverse.add",
"reverse",
"temp",
"for (int j = n-1; j >= 0; --j) {\n\t\t\tSystem.out.print(reverse.get(j));\n\t\t\tif (j != 0) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"\");\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\t\t\tSystem.out.print(reverse.get(j));\n\t\t\tif (j != 0) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}",
"{\n\t\t\tSystem.out.print(reverse.get(j));\n\t\t\tif (j != 0) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}",
"System.out.print(reverse.get(j))",
"System.out.print",
"System.out",
"System",
"System.out",
"reverse.get(j)",
"reverse.get",
"reverse",
"j",
"if (j != 0) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"j != 0",
"j",
"0",
"{\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}",
"System.out.printf(\" \")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\" \"",
"{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t/**\n\t\t * ?????°?????£?¨?\n\t\t */\n\t\tint n = 0;\n\t\tint temp = 0;\n\t\t/**\n\t\t * ???????????£?¨?\n\t\t */\n\t\tArrayList<Integer> reverse = new ArrayList<Integer>();\n\t\t/**\n\t\t * ??\\?????¨?????????????´?\n\t\t */\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tn = Integer.parseInt(br.readLine()); //??\\???????????????????????\\???\n\t\tString box[] = new String[n];\n\t\tString str = br.readLine();\n\t\tbox = str.split(\" \");\n\t\t/**\n\t\t * int???????????¨????????????????´?\n\t\t */\n\t\tfor(int i = 0; i < n; ++i){\n\t\t\ttemp = Integer.parseInt(box[i]);\n\t\t\treverse.add(temp);\n\t\t}\n\t\tfor (int j = n-1; j >= 0; --j) {\n\t\t\tSystem.out.print(reverse.get(j));\n\t\t\tif (j != 0) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t/**\n\t\t * ?????°?????£?¨?\n\t\t */\n\t\tint n = 0;\n\t\tint temp = 0;\n\t\t/**\n\t\t * ???????????£?¨?\n\t\t */\n\t\tArrayList<Integer> reverse = new ArrayList<Integer>();\n\t\t/**\n\t\t * ??\\?????¨?????????????´?\n\t\t */\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tn = Integer.parseInt(br.readLine()); //??\\???????????????????????\\???\n\t\tString box[] = new String[n];\n\t\tString str = br.readLine();\n\t\tbox = str.split(\" \");\n\t\t/**\n\t\t * int???????????¨????????????????´?\n\t\t */\n\t\tfor(int i = 0; i < n; ++i){\n\t\t\ttemp = Integer.parseInt(box[i]);\n\t\t\treverse.add(temp);\n\t\t}\n\t\tfor (int j = n-1; j >= 0; --j) {\n\t\t\tSystem.out.print(reverse.get(j));\n\t\t\tif (j != 0) {\n\t\t\t\tSystem.out.printf(\" \");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) throws IOException {
/**
* ?????°?????£?¨?
*/
int n = 0;
int temp = 0;
/**
* ???????????£?¨?
*/
ArrayList<Integer> reverse = new ArrayList<Integer>();
/**
* ??\?????¨?????????????´?
*/
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
n = Integer.parseInt(br.readLine()); //??\???????????????????????\???
String box[] = new String[n];
String str = br.readLine();
box = str.split(" ");
/**
* int???????????¨????????????????´?
*/
for(int i = 0; i < n; ++i){
temp = Integer.parseInt(box[i]);
reverse.add(temp);
}
for (int j = n-1; j >= 0; --j) {
System.out.print(reverse.get(j));
if (j != 0) {
System.out.printf(" ");
}
else{
System.out.println("");
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
4,
18,
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,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
18,
13,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
43,
50
],
[
50,
51
],
[
50,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
43,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
58,
64
],
[
64,
65
],
[
64,
66
],
[
57,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
8,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
6,
86
],
[
86,
87
]
] | [
"import java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] args) \t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num[];\n\t\tint nagasa = sc.nextInt();\n\t\tnum = new int[nagasa];\n\t\tfor(int i = 0; i < nagasa ; i++) {\n\t\t\tnum[i] = sc.nextInt();\n\t\t}\n\t\tfor(int j = nagasa - 1; j >= 0 ; j--) {\n\t\t\tSystem.out.printf(\"%d\", num[j]);\n\t\t\tif(j != 0) System.out.printf(\" \");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t\tsc.close();\n\t}\t\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String[] args) \t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num[];\n\t\tint nagasa = sc.nextInt();\n\t\tnum = new int[nagasa];\n\t\tfor(int i = 0; i < nagasa ; i++) {\n\t\t\tnum[i] = sc.nextInt();\n\t\t}\n\t\tfor(int j = nagasa - 1; j >= 0 ; j--) {\n\t\t\tSystem.out.printf(\"%d\", num[j]);\n\t\t\tif(j != 0) System.out.printf(\" \");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t\tsc.close();\n\t}\t\n}",
"Main",
"public static void main(String[] args) \t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num[];\n\t\tint nagasa = sc.nextInt();\n\t\tnum = new int[nagasa];\n\t\tfor(int i = 0; i < nagasa ; i++) {\n\t\t\tnum[i] = sc.nextInt();\n\t\t}\n\t\tfor(int j = nagasa - 1; j >= 0 ; j--) {\n\t\t\tSystem.out.printf(\"%d\", num[j]);\n\t\t\tif(j != 0) System.out.printf(\" \");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num[];\n\t\tint nagasa = sc.nextInt();\n\t\tnum = new int[nagasa];\n\t\tfor(int i = 0; i < nagasa ; i++) {\n\t\t\tnum[i] = sc.nextInt();\n\t\t}\n\t\tfor(int j = nagasa - 1; j >= 0 ; j--) {\n\t\t\tSystem.out.printf(\"%d\", num[j]);\n\t\t\tif(j != 0) System.out.printf(\" \");\n\t\t}\n\t\tSystem.out.printf(\"\\n\");\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int num[];",
"num",
"int nagasa = sc.nextInt();",
"nagasa",
"sc.nextInt()",
"sc.nextInt",
"sc",
"num = new int[nagasa]",
"num",
"new int[nagasa]",
"nagasa",
"for(int i = 0; i < nagasa ; i++) {\n\t\t\tnum[i] = sc.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < nagasa",
"i",
"nagasa",
"i++",
"i++",
"i",
"{\n\t\t\tnum[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tnum[i] = sc.nextInt();\n\t\t}",
"num[i] = sc.nextInt()",
"num[i]",
"num",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int j = nagasa - 1; j >= 0 ; j--) {\n\t\t\tSystem.out.printf(\"%d\", num[j]);\n\t\t\tif(j != 0) System.out.printf(\" \");\n\t\t}",
"int j = nagasa - 1;",
"int j = nagasa - 1;",
"j",
"nagasa - 1",
"nagasa",
"1",
"j >= 0",
"j",
"0",
"j--",
"j--",
"j",
"{\n\t\t\tSystem.out.printf(\"%d\", num[j]);\n\t\t\tif(j != 0) System.out.printf(\" \");\n\t\t}",
"{\n\t\t\tSystem.out.printf(\"%d\", num[j]);\n\t\t\tif(j != 0) System.out.printf(\" \");\n\t\t}",
"System.out.printf(\"%d\", num[j])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\"",
"num[j]",
"num",
"j",
"if(j != 0) System.out.printf(\" \");",
"j != 0",
"j",
"0",
"System.out.printf(\" \")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.printf(\"\\n\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"\\n\"",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int num[];
int nagasa = sc.nextInt();
num = new int[nagasa];
for(int i = 0; i < nagasa ; i++) {
num[i] = sc.nextInt();
}
for(int j = nagasa - 1; j >= 0 ; j--) {
System.out.printf("%d", num[j]);
if(j != 0) System.out.printf(" ");
}
System.out.printf("\n");
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,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
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
] | [
[
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
],
[
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
],
[
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
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
63,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
8,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
6,
93
],
[
93,
94
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] nums = new int[n];\n\t\tfor(int i=0; i<nums.length; i++){\n\t\t\tnums[i] = scan.nextInt();\n\t\t}\n\t\tscan.close();\n\t\tfor(int s = nums.length-1; s>=0; s--){\n\t\t\tif(s == 0){\n\t\t\t\tSystem.out.print(nums[s]);\n\t\t\t}else{\n\n\t\t\tSystem.out.print(nums[s] + \" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(\"\\n\");\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] nums = new int[n];\n\t\tfor(int i=0; i<nums.length; i++){\n\t\t\tnums[i] = scan.nextInt();\n\t\t}\n\t\tscan.close();\n\t\tfor(int s = nums.length-1; s>=0; s--){\n\t\t\tif(s == 0){\n\t\t\t\tSystem.out.print(nums[s]);\n\t\t\t}else{\n\n\t\t\tSystem.out.print(nums[s] + \" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(\"\\n\");\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] nums = new int[n];\n\t\tfor(int i=0; i<nums.length; i++){\n\t\t\tnums[i] = scan.nextInt();\n\t\t}\n\t\tscan.close();\n\t\tfor(int s = nums.length-1; s>=0; s--){\n\t\t\tif(s == 0){\n\t\t\t\tSystem.out.print(nums[s]);\n\t\t\t}else{\n\n\t\t\tSystem.out.print(nums[s] + \" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(\"\\n\");\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] nums = new int[n];\n\t\tfor(int i=0; i<nums.length; i++){\n\t\t\tnums[i] = scan.nextInt();\n\t\t}\n\t\tscan.close();\n\t\tfor(int s = nums.length-1; s>=0; s--){\n\t\t\tif(s == 0){\n\t\t\t\tSystem.out.print(nums[s]);\n\t\t\t}else{\n\n\t\t\tSystem.out.print(nums[s] + \" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(\"\\n\");\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] nums = new int[n];",
"nums",
"new int[n]",
"n",
"for(int i=0; i<nums.length; i++){\n\t\t\tnums[i] = scan.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<nums.length",
"i",
"nums.length",
"nums",
"nums.length",
"i++",
"i++",
"i",
"{\n\t\t\tnums[i] = scan.nextInt();\n\t\t}",
"{\n\t\t\tnums[i] = scan.nextInt();\n\t\t}",
"nums[i] = scan.nextInt()",
"nums[i]",
"nums",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"scan.close()",
"scan.close",
"scan",
"for(int s = nums.length-1; s>=0; s--){\n\t\t\tif(s == 0){\n\t\t\t\tSystem.out.print(nums[s]);\n\t\t\t}else{\n\n\t\t\tSystem.out.print(nums[s] + \" \");\n\t\t\t}\n\t\t}",
"int s = nums.length-1;",
"int s = nums.length-1;",
"s",
"nums.length-1",
"nums.length",
"nums",
"nums.length",
"1",
"s>=0",
"s",
"0",
"s--",
"s--",
"s",
"{\n\t\t\tif(s == 0){\n\t\t\t\tSystem.out.print(nums[s]);\n\t\t\t}else{\n\n\t\t\tSystem.out.print(nums[s] + \" \");\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(s == 0){\n\t\t\t\tSystem.out.print(nums[s]);\n\t\t\t}else{\n\n\t\t\tSystem.out.print(nums[s] + \" \");\n\t\t\t}\n\t\t}",
"if(s == 0){\n\t\t\t\tSystem.out.print(nums[s]);\n\t\t\t}else{\n\n\t\t\tSystem.out.print(nums[s] + \" \");\n\t\t\t}",
"s == 0",
"s",
"0",
"{\n\t\t\t\tSystem.out.print(nums[s]);\n\t\t\t}",
"System.out.print(nums[s])",
"System.out.print",
"System.out",
"System",
"System.out",
"nums[s]",
"nums",
"s",
"{\n\n\t\t\tSystem.out.print(nums[s] + \" \");\n\t\t\t}",
"System.out.print(nums[s] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"nums[s] + \" \"",
"nums[s]",
"nums",
"s",
"\" \"",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int[] nums = new int[n];
for(int i=0; i<nums.length; i++){
nums[i] = scan.nextInt();
}
scan.close();
for(int s = nums.length-1; s>=0; s--){
if(s == 0){
System.out.print(nums[s]);
}else{
System.out.print(nums[s] + " ");
}
}
System.out.print("\n");
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
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,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
75,
5
],
[
75,
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
],
[
59,
63
],
[
8,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
6,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"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 num[] = new int[n];\n for(int i = 0 ; i < n ; i++)\n num[i] = sc.nextInt();\n for(int i = n - 1 ; i > 0 ; i--)\n System.out.print(num[i] + \" \");\n System.out.println(num[0]);\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 num[] = new int[n];\n for(int i = 0 ; i < n ; i++)\n num[i] = sc.nextInt();\n for(int i = n - 1 ; i > 0 ; i--)\n System.out.print(num[i] + \" \");\n System.out.println(num[0]);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int num[] = new int[n];\n for(int i = 0 ; i < n ; i++)\n num[i] = sc.nextInt();\n for(int i = n - 1 ; i > 0 ; i--)\n System.out.print(num[i] + \" \");\n System.out.println(num[0]);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int num[] = new int[n];\n for(int i = 0 ; i < n ; i++)\n num[i] = sc.nextInt();\n for(int i = n - 1 ; i > 0 ; i--)\n System.out.print(num[i] + \" \");\n System.out.println(num[0]);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int num[] = new int[n];",
"num",
"new int[n]",
"n",
"for(int i = 0 ; i < n ; i++)\n num[i] = sc.nextInt();",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"num[i] = sc.nextInt();",
"num[i] = sc.nextInt()",
"num[i]",
"num",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i = n - 1 ; i > 0 ; i--)\n System.out.print(num[i] + \" \");",
"int i = n - 1 ;",
"int i = n - 1 ;",
"i",
"n - 1",
"n",
"1",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"System.out.print(num[i] + \" \");",
"System.out.print(num[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"num[i] + \" \"",
"num[i]",
"num",
"i",
"\" \"",
"System.out.println(num[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"num[0]",
"num",
"0",
"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 num[] = new int[n];\n for(int i = 0 ; i < n ; i++)\n num[i] = sc.nextInt();\n for(int i = n - 1 ; i > 0 ; i--)\n System.out.print(num[i] + \" \");\n System.out.println(num[0]);\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 num[] = new int[n];\n for(int i = 0 ; i < n ; i++)\n num[i] = sc.nextInt();\n for(int i = n - 1 ; i > 0 ; i--)\n System.out.print(num[i] + \" \");\n System.out.println(num[0]);\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 num[] = new int[n];
for(int i = 0 ; i < n ; i++)
num[i] = sc.nextInt();
for(int i = n - 1 ; i > 0 ; i--)
System.out.print(num[i] + " ");
System.out.println(num[0]);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
18,
13,
2,
2,
13,
17,
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
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
45,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
11,
50
],
[
50,
51
],
[
50,
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
],
[
66,
69
],
[
69,
70
],
[
69,
71
],
[
72,
72
],
[
72,
73
],
[
72,
74
],
[
72,
75
],
[
11,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
82,
83
],
[
9,
84
],
[
84,
85
]
] | [
"import java.util.Scanner;\nimport java.util.StringJoiner;\n\nclass Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n String[] ary = new String[n];\n\n for (int i = 0; i < n; i++ ) {\n ary[i] = String.valueOf(sc.nextInt());\n }\n\n sc.close();\n\n StringJoiner sj = new StringJoiner(\" \");\n\n for(int i = 0; i<n; i++) {\n sj.add(ary[n-1-i]);\n }\n\n System.out.println(sj.toString());\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.StringJoiner;",
"StringJoiner",
"java.util",
"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 String[] ary = new String[n];\n\n for (int i = 0; i < n; i++ ) {\n ary[i] = String.valueOf(sc.nextInt());\n }\n\n sc.close();\n\n StringJoiner sj = new StringJoiner(\" \");\n\n for(int i = 0; i<n; i++) {\n sj.add(ary[n-1-i]);\n }\n\n System.out.println(sj.toString());\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 String[] ary = new String[n];\n\n for (int i = 0; i < n; i++ ) {\n ary[i] = String.valueOf(sc.nextInt());\n }\n\n sc.close();\n\n StringJoiner sj = new StringJoiner(\" \");\n\n for(int i = 0; i<n; i++) {\n sj.add(ary[n-1-i]);\n }\n\n System.out.println(sj.toString());\n\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n String[] ary = new String[n];\n\n for (int i = 0; i < n; i++ ) {\n ary[i] = String.valueOf(sc.nextInt());\n }\n\n sc.close();\n\n StringJoiner sj = new StringJoiner(\" \");\n\n for(int i = 0; i<n; i++) {\n sj.add(ary[n-1-i]);\n }\n\n System.out.println(sj.toString());\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String[] ary = new String[n];",
"ary",
"new String[n]",
"n",
"for (int i = 0; i < n; i++ ) {\n ary[i] = String.valueOf(sc.nextInt());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n ary[i] = String.valueOf(sc.nextInt());\n }",
"{\n ary[i] = String.valueOf(sc.nextInt());\n }",
"ary[i] = String.valueOf(sc.nextInt())",
"ary[i]",
"ary",
"i",
"String.valueOf(sc.nextInt())",
"String.valueOf",
"String",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.close()",
"sc.close",
"sc",
"StringJoiner sj = new StringJoiner(\" \");",
"sj",
"new StringJoiner(\" \")",
"for(int i = 0; i<n; i++) {\n sj.add(ary[n-1-i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n sj.add(ary[n-1-i]);\n }",
"{\n sj.add(ary[n-1-i]);\n }",
"sj.add(ary[n-1-i])",
"sj.add",
"sj",
"ary[n-1-i]",
"ary",
"n-1-i",
"n-1-i",
"n",
"1",
"i",
"System.out.println(sj.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sj.toString()",
"sj.toString",
"sj",
"String[] args",
"args"
] | import java.util.Scanner;
import java.util.StringJoiner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
String[] ary = new String[n];
for (int i = 0; i < n; i++ ) {
ary[i] = String.valueOf(sc.nextInt());
}
sc.close();
StringJoiner sj = new StringJoiner(" ");
for(int i = 0; i<n; i++) {
sj.add(ary[n-1-i]);
}
System.out.println(sj.toString());
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
2,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
51,
5
],
[
51,
6
],
[
6,
7
],
[
6,
8
],
[
51,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
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
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
37,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
9,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] | [
"import java.util.*;\n \npublic class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int n = scn.nextInt();\n StringBuilder sb = new StringBuilder(scn.next());\n for(int i = 1; i < n; i++) {\n sb.insert(0, scn.next() + \" \");\n }\n System.out.println(sb);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int n = scn.nextInt();\n StringBuilder sb = new StringBuilder(scn.next());\n for(int i = 1; i < n; i++) {\n sb.insert(0, scn.next() + \" \");\n }\n System.out.println(sb);\n }\n}",
"Main",
"private static final Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"public static void main(String[] args) {\n int n = scn.nextInt();\n StringBuilder sb = new StringBuilder(scn.next());\n for(int i = 1; i < n; i++) {\n sb.insert(0, scn.next() + \" \");\n }\n System.out.println(sb);\n }",
"main",
"{\n int n = scn.nextInt();\n StringBuilder sb = new StringBuilder(scn.next());\n for(int i = 1; i < n; i++) {\n sb.insert(0, scn.next() + \" \");\n }\n System.out.println(sb);\n }",
"int n = scn.nextInt();",
"n",
"scn.nextInt()",
"scn.nextInt",
"scn",
"StringBuilder sb = new StringBuilder(scn.next());",
"sb",
"new StringBuilder(scn.next())",
"for(int i = 1; i < n; i++) {\n sb.insert(0, scn.next() + \" \");\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n sb.insert(0, scn.next() + \" \");\n }",
"{\n sb.insert(0, scn.next() + \" \");\n }",
"sb.insert(0, scn.next() + \" \")",
"sb.insert",
"sb",
"0",
"scn.next() + \" \"",
"scn.next()",
"scn.next",
"scn",
"\" \"",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int n = scn.nextInt();\n StringBuilder sb = new StringBuilder(scn.next());\n for(int i = 1; i < n; i++) {\n sb.insert(0, scn.next() + \" \");\n }\n System.out.println(sb);\n }\n}",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int n = scn.nextInt();\n StringBuilder sb = new StringBuilder(scn.next());\n for(int i = 1; i < n; i++) {\n sb.insert(0, scn.next() + \" \");\n }\n System.out.println(sb);\n }\n}",
"Main"
] | import java.util.*;
public class Main {
private static final Scanner scn = new Scanner(System.in);
public static void main(String[] args) {
int n = scn.nextInt();
StringBuilder sb = new StringBuilder(scn.next());
for(int i = 1; i < n; i++) {
sb.insert(0, scn.next() + " ");
}
System.out.println(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
41,
13,
20,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
3,
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
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
17,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
45,
46
],
[
14,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
47,
54
],
[
54,
55
],
[
54,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
47,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
61,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
61,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
14,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
12,
88
],
[
88,
89
]
] | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint n;\n\t\tList<Integer> iary = new ArrayList<>();\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tn = stdIn.nextInt();\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tiary.add(stdIn.nextInt());\n\t\t}\n\n\t\tfor (int i = n-1; i >= 0; i--) {\n\t\t\tSystem.out.print(iary.get(i));\n\t\t\tif(i == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint n;\n\t\tList<Integer> iary = new ArrayList<>();\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tn = stdIn.nextInt();\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tiary.add(stdIn.nextInt());\n\t\t}\n\n\t\tfor (int i = n-1; i >= 0; i--) {\n\t\t\tSystem.out.print(iary.get(i));\n\t\t\tif(i == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tint n;\n\t\tList<Integer> iary = new ArrayList<>();\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tn = stdIn.nextInt();\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tiary.add(stdIn.nextInt());\n\t\t}\n\n\t\tfor (int i = n-1; i >= 0; i--) {\n\t\t\tSystem.out.print(iary.get(i));\n\t\t\tif(i == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\n\t\tint n;\n\t\tList<Integer> iary = new ArrayList<>();\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tn = stdIn.nextInt();\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tiary.add(stdIn.nextInt());\n\t\t}\n\n\t\tfor (int i = n-1; i >= 0; i--) {\n\t\t\tSystem.out.print(iary.get(i));\n\t\t\tif(i == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}",
"int n;",
"n",
"List<Integer> iary = new ArrayList<>();",
"iary",
"new ArrayList<>()",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"n = stdIn.nextInt()",
"n",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"for (int i = 0; i < n; i++) {\n\t\t\tiary.add(stdIn.nextInt());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tiary.add(stdIn.nextInt());\n\t\t}",
"{\n\t\t\tiary.add(stdIn.nextInt());\n\t\t}",
"iary.add(stdIn.nextInt())",
"iary.add",
"iary",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"for (int i = n-1; i >= 0; i--) {\n\t\t\tSystem.out.print(iary.get(i));\n\t\t\tif(i == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"int i = n-1;",
"int i = n-1;",
"i",
"n-1",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(iary.get(i));\n\t\t\tif(i == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"{\n\t\t\tSystem.out.print(iary.get(i));\n\t\t\tif(i == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"System.out.print(iary.get(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"iary.get(i)",
"iary.get",
"iary",
"i",
"if(i == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"i == 0",
"i",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
int n;
List<Integer> iary = new ArrayList<>();
Scanner stdIn = new Scanner(System.in);
n = stdIn.nextInt();
for (int i = 0; i < n; i++) {
iary.add(stdIn.nextInt());
}
for (int i = n-1; i >= 0; i--) {
System.out.print(iary.get(i));
if(i == 0) {
break;
}
System.out.print(" ");
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
20,
13,
14,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
30,
9,
30,
0,
13,
17,
3,
14,
2,
13,
17,
30,
11,
1,
41,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
18,
13,
2,
13,
17,
17,
30,
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
],
[
123,
5
],
[
123,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
52,
64
],
[
64,
65
],
[
52,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
8,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
76,
84
],
[
84,
85
],
[
85,
86
],
[
76,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
102,
104
],
[
99,
105
],
[
89,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
114,
116
],
[
8,
117
],
[
117,
118
],
[
118,
119
],
[
6,
120
],
[
120,
121
],
[
0,
122
],
[
122,
123
],
[
122,
124
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\t \n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n \n int num = Integer.parseInt(stdin.nextLine());\n \n boolean boo = true;\n int[] seq = new int[num];\n if(num <= 100) {\n \n \tfor(int i = 0;i < num;i++) {\n \t\tseq[i] = stdin.nextInt();\n \t\tif(seq[i] >= 0 && seq[i] <= 1000) {\n \t\t\tcontinue;\n \t\t}else {\n \t\t\tboo = false;\n break;\n \t\t}\n \t}\n }\n \n if(boo == true) {\n for(int j = num ;j > 0;j--) {\n if(j != 1) {\n System.out.print(seq[j - 1]+\" \");\n }else {\n System.out.println(seq[j - 1]);\n }\n }\n }\n stdin.close(); \n }\n\t \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\t \n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n \n int num = Integer.parseInt(stdin.nextLine());\n \n boolean boo = true;\n int[] seq = new int[num];\n if(num <= 100) {\n \n \tfor(int i = 0;i < num;i++) {\n \t\tseq[i] = stdin.nextInt();\n \t\tif(seq[i] >= 0 && seq[i] <= 1000) {\n \t\t\tcontinue;\n \t\t}else {\n \t\t\tboo = false;\n break;\n \t\t}\n \t}\n }\n \n if(boo == true) {\n for(int j = num ;j > 0;j--) {\n if(j != 1) {\n System.out.print(seq[j - 1]+\" \");\n }else {\n System.out.println(seq[j - 1]);\n }\n }\n }\n stdin.close(); \n }\n\t \n}",
"Main",
"public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n \n int num = Integer.parseInt(stdin.nextLine());\n \n boolean boo = true;\n int[] seq = new int[num];\n if(num <= 100) {\n \n \tfor(int i = 0;i < num;i++) {\n \t\tseq[i] = stdin.nextInt();\n \t\tif(seq[i] >= 0 && seq[i] <= 1000) {\n \t\t\tcontinue;\n \t\t}else {\n \t\t\tboo = false;\n break;\n \t\t}\n \t}\n }\n \n if(boo == true) {\n for(int j = num ;j > 0;j--) {\n if(j != 1) {\n System.out.print(seq[j - 1]+\" \");\n }else {\n System.out.println(seq[j - 1]);\n }\n }\n }\n stdin.close(); \n }",
"main",
"{\n Scanner stdin = new Scanner(System.in);\n \n int num = Integer.parseInt(stdin.nextLine());\n \n boolean boo = true;\n int[] seq = new int[num];\n if(num <= 100) {\n \n \tfor(int i = 0;i < num;i++) {\n \t\tseq[i] = stdin.nextInt();\n \t\tif(seq[i] >= 0 && seq[i] <= 1000) {\n \t\t\tcontinue;\n \t\t}else {\n \t\t\tboo = false;\n break;\n \t\t}\n \t}\n }\n \n if(boo == true) {\n for(int j = num ;j > 0;j--) {\n if(j != 1) {\n System.out.print(seq[j - 1]+\" \");\n }else {\n System.out.println(seq[j - 1]);\n }\n }\n }\n stdin.close(); \n }",
"Scanner stdin = new Scanner(System.in);",
"stdin",
"new Scanner(System.in)",
"int num = Integer.parseInt(stdin.nextLine());",
"num",
"Integer.parseInt(stdin.nextLine())",
"Integer.parseInt",
"Integer",
"stdin.nextLine()",
"stdin.nextLine",
"stdin",
"boolean boo = true;",
"boo",
"true",
"int[] seq = new int[num];",
"seq",
"new int[num]",
"num",
"if(num <= 100) {\n \n \tfor(int i = 0;i < num;i++) {\n \t\tseq[i] = stdin.nextInt();\n \t\tif(seq[i] >= 0 && seq[i] <= 1000) {\n \t\t\tcontinue;\n \t\t}else {\n \t\t\tboo = false;\n break;\n \t\t}\n \t}\n }",
"num <= 100",
"num",
"100",
"{\n \n \tfor(int i = 0;i < num;i++) {\n \t\tseq[i] = stdin.nextInt();\n \t\tif(seq[i] >= 0 && seq[i] <= 1000) {\n \t\t\tcontinue;\n \t\t}else {\n \t\t\tboo = false;\n break;\n \t\t}\n \t}\n }",
"for(int i = 0;i < num;i++) {\n \t\tseq[i] = stdin.nextInt();\n \t\tif(seq[i] >= 0 && seq[i] <= 1000) {\n \t\t\tcontinue;\n \t\t}else {\n \t\t\tboo = false;\n break;\n \t\t}\n \t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < num",
"i",
"num",
"i++",
"i++",
"i",
"{\n \t\tseq[i] = stdin.nextInt();\n \t\tif(seq[i] >= 0 && seq[i] <= 1000) {\n \t\t\tcontinue;\n \t\t}else {\n \t\t\tboo = false;\n break;\n \t\t}\n \t}",
"{\n \t\tseq[i] = stdin.nextInt();\n \t\tif(seq[i] >= 0 && seq[i] <= 1000) {\n \t\t\tcontinue;\n \t\t}else {\n \t\t\tboo = false;\n break;\n \t\t}\n \t}",
"seq[i] = stdin.nextInt()",
"seq[i]",
"seq",
"i",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"if(seq[i] >= 0 && seq[i] <= 1000) {\n \t\t\tcontinue;\n \t\t}else {\n \t\t\tboo = false;\n break;\n \t\t}",
"seq[i] >= 0 && seq[i] <= 1000",
"seq[i] >= 0",
"seq[i]",
"seq",
"i",
"0",
"seq[i] <= 1000",
"seq[i]",
"seq",
"i",
"1000",
"{\n \t\t\tcontinue;\n \t\t}",
"continue;",
"{\n \t\t\tboo = false;\n break;\n \t\t}",
"boo = false",
"boo",
"false",
"break;",
"if(boo == true) {\n for(int j = num ;j > 0;j--) {\n if(j != 1) {\n System.out.print(seq[j - 1]+\" \");\n }else {\n System.out.println(seq[j - 1]);\n }\n }\n }",
"boo == true",
"boo",
"true",
"{\n for(int j = num ;j > 0;j--) {\n if(j != 1) {\n System.out.print(seq[j - 1]+\" \");\n }else {\n System.out.println(seq[j - 1]);\n }\n }\n }",
"for(int j = num ;j > 0;j--) {\n if(j != 1) {\n System.out.print(seq[j - 1]+\" \");\n }else {\n System.out.println(seq[j - 1]);\n }\n }",
"int j = num ;",
"int j = num ;",
"j",
"num",
"j > 0",
"j",
"0",
"j--",
"j--",
"j",
"{\n if(j != 1) {\n System.out.print(seq[j - 1]+\" \");\n }else {\n System.out.println(seq[j - 1]);\n }\n }",
"{\n if(j != 1) {\n System.out.print(seq[j - 1]+\" \");\n }else {\n System.out.println(seq[j - 1]);\n }\n }",
"if(j != 1) {\n System.out.print(seq[j - 1]+\" \");\n }else {\n System.out.println(seq[j - 1]);\n }",
"j != 1",
"j",
"1",
"{\n System.out.print(seq[j - 1]+\" \");\n }",
"System.out.print(seq[j - 1]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"seq[j - 1]+\" \"",
"seq[j - 1]",
"seq",
"j - 1",
"j",
"1",
"\" \"",
"{\n System.out.println(seq[j - 1]);\n }",
"System.out.println(seq[j - 1])",
"System.out.println",
"System.out",
"System",
"System.out",
"seq[j - 1]",
"seq",
"j - 1",
"j",
"1",
"stdin.close()",
"stdin.close",
"stdin",
"String[] args",
"args",
"public class Main{\n\t \n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n \n int num = Integer.parseInt(stdin.nextLine());\n \n boolean boo = true;\n int[] seq = new int[num];\n if(num <= 100) {\n \n \tfor(int i = 0;i < num;i++) {\n \t\tseq[i] = stdin.nextInt();\n \t\tif(seq[i] >= 0 && seq[i] <= 1000) {\n \t\t\tcontinue;\n \t\t}else {\n \t\t\tboo = false;\n break;\n \t\t}\n \t}\n }\n \n if(boo == true) {\n for(int j = num ;j > 0;j--) {\n if(j != 1) {\n System.out.print(seq[j - 1]+\" \");\n }else {\n System.out.println(seq[j - 1]);\n }\n }\n }\n stdin.close(); \n }\n\t \n}",
"public class Main{\n\t \n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n \n int num = Integer.parseInt(stdin.nextLine());\n \n boolean boo = true;\n int[] seq = new int[num];\n if(num <= 100) {\n \n \tfor(int i = 0;i < num;i++) {\n \t\tseq[i] = stdin.nextInt();\n \t\tif(seq[i] >= 0 && seq[i] <= 1000) {\n \t\t\tcontinue;\n \t\t}else {\n \t\t\tboo = false;\n break;\n \t\t}\n \t}\n }\n \n if(boo == true) {\n for(int j = num ;j > 0;j--) {\n if(j != 1) {\n System.out.print(seq[j - 1]+\" \");\n }else {\n System.out.println(seq[j - 1]);\n }\n }\n }\n stdin.close(); \n }\n\t \n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner stdin = new Scanner(System.in);
int num = Integer.parseInt(stdin.nextLine());
boolean boo = true;
int[] seq = new int[num];
if(num <= 100) {
for(int i = 0;i < num;i++) {
seq[i] = stdin.nextInt();
if(seq[i] >= 0 && seq[i] <= 1000) {
continue;
}else {
boo = false;
break;
}
}
}
if(boo == true) {
for(int j = num ;j > 0;j--) {
if(j != 1) {
System.out.print(seq[j - 1]+" ");
}else {
System.out.println(seq[j - 1]);
}
}
}
stdin.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,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
17,
18,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
88,
5
],
[
88,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
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
],
[
51,
56
],
[
56,
57
],
[
56,
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
],
[
76,
76
],
[
76,
77
],
[
76,
78
],
[
76,
79
],
[
8,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] Array = new int[n];\n\t\t// Array?????°????????£??\\\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tArray[i] = sc.nextInt();\n\t\t}\n\t\tSystem.out.print(Array[n-1]);\n\t\tfor(int j = 0; j < n-1; j++) {\n\t\t\tSystem.out.print(\" \" + Array[n-2-j]);\n\t\t}\n\t\tSystem.out.println();\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[] Array = new int[n];\n\t\t// Array?????°????????£??\\\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tArray[i] = sc.nextInt();\n\t\t}\n\t\tSystem.out.print(Array[n-1]);\n\t\tfor(int j = 0; j < n-1; j++) {\n\t\t\tSystem.out.print(\" \" + Array[n-2-j]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] Array = new int[n];\n\t\t// Array?????°????????£??\\\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tArray[i] = sc.nextInt();\n\t\t}\n\t\tSystem.out.print(Array[n-1]);\n\t\tfor(int j = 0; j < n-1; j++) {\n\t\t\tSystem.out.print(\" \" + Array[n-2-j]);\n\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\tint[] Array = new int[n];\n\t\t// Array?????°????????£??\\\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tArray[i] = sc.nextInt();\n\t\t}\n\t\tSystem.out.print(Array[n-1]);\n\t\tfor(int j = 0; j < n-1; j++) {\n\t\t\tSystem.out.print(\" \" + Array[n-2-j]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[] Array = new int[n];",
"Array",
"new int[n]",
"n",
"for(int i = 0; i < n; i++) {\n\t\t\tArray[i] = sc.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tArray[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tArray[i] = sc.nextInt();\n\t\t}",
"Array[i] = sc.nextInt()",
"Array[i]",
"Array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.print(Array[n-1])",
"System.out.print",
"System.out",
"System",
"System.out",
"Array[n-1]",
"Array",
"n-1",
"n",
"1",
"for(int j = 0; j < n-1; j++) {\n\t\t\tSystem.out.print(\" \" + Array[n-2-j]);\n\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < n-1",
"j",
"n-1",
"n",
"1",
"j++",
"j++",
"j",
"{\n\t\t\tSystem.out.print(\" \" + Array[n-2-j]);\n\t\t}",
"{\n\t\t\tSystem.out.print(\" \" + Array[n-2-j]);\n\t\t}",
"System.out.print(\" \" + Array[n-2-j])",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \" + Array[n-2-j]",
"\" \"",
"Array[n-2-j]",
"Array",
"n-2-j",
"n-2-j",
"n",
"2",
"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();\n\t\tint[] Array = new int[n];\n\t\t// Array?????°????????£??\\\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tArray[i] = sc.nextInt();\n\t\t}\n\t\tSystem.out.print(Array[n-1]);\n\t\tfor(int j = 0; j < n-1; j++) {\n\t\t\tSystem.out.print(\" \" + Array[n-2-j]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] Array = new int[n];\n\t\t// Array?????°????????£??\\\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tArray[i] = sc.nextInt();\n\t\t}\n\t\tSystem.out.print(Array[n-1]);\n\t\tfor(int j = 0; j < n-1; j++) {\n\t\t\tSystem.out.print(\" \" + Array[n-2-j]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] Array = new int[n];
// Array?????°????????£??\
for(int i = 0; i < n; i++) {
Array[i] = sc.nextInt();
}
System.out.print(Array[n-1]);
for(int j = 0; j < n-1; j++) {
System.out.print(" " + Array[n-2-j]);
}
System.out.println();
}
} |
[
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,
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,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
14,
2,
13,
2,
13,
17,
30,
4,
18,
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
],
[
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
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
17,
29
],
[
29,
30
],
[
17,
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
],
[
17,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
17,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
54,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
66,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
76,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
17,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
15,
95
],
[
95,
96
]
] | [
"import java.util.Scanner;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tArrayList<Integer> suuti = new ArrayList<Integer>();\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint a;\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tsuuti.add(sc.nextInt());\n\t\t\t\n\t\t}\n \n\t\tCollections.reverse(suuti);\n\t\t\n\t\tfor(a = 0; a < n; a++){\n\t\t\tSystem.out.print(suuti.get(a));\n\t\t\tif(a < n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n \n\t\tSystem.out.println(\"\");\n\t\t\n }\n\n\t}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) {\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tArrayList<Integer> suuti = new ArrayList<Integer>();\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint a;\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tsuuti.add(sc.nextInt());\n\t\t\t\n\t\t}\n \n\t\tCollections.reverse(suuti);\n\t\t\n\t\tfor(a = 0; a < n; a++){\n\t\t\tSystem.out.print(suuti.get(a));\n\t\t\tif(a < n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n \n\t\tSystem.out.println(\"\");\n\t\t\n }\n\n\t}",
"Main",
"public static void main(String[] args) {\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tArrayList<Integer> suuti = new ArrayList<Integer>();\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint a;\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tsuuti.add(sc.nextInt());\n\t\t\t\n\t\t}\n \n\t\tCollections.reverse(suuti);\n\t\t\n\t\tfor(a = 0; a < n; a++){\n\t\t\tSystem.out.print(suuti.get(a));\n\t\t\tif(a < n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n \n\t\tSystem.out.println(\"\");\n\t\t\n }",
"main",
"{\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tArrayList<Integer> suuti = new ArrayList<Integer>();\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint a;\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tsuuti.add(sc.nextInt());\n\t\t\t\n\t\t}\n \n\t\tCollections.reverse(suuti);\n\t\t\n\t\tfor(a = 0; a < n; a++){\n\t\t\tSystem.out.print(suuti.get(a));\n\t\t\tif(a < n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n \n\t\tSystem.out.println(\"\");\n\t\t\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> suuti = new ArrayList<Integer>();",
"suuti",
"new ArrayList<Integer>()",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int a;",
"a",
"for(int i = 0; i < n; i++){\n\t\t\tsuuti.add(sc.nextInt());\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\tsuuti.add(sc.nextInt());\n\t\t\t\n\t\t}",
"{\n\t\t\tsuuti.add(sc.nextInt());\n\t\t\t\n\t\t}",
"suuti.add(sc.nextInt())",
"suuti.add",
"suuti",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Collections.reverse(suuti)",
"Collections.reverse",
"Collections",
"suuti",
"for(a = 0; a < n; a++){\n\t\t\tSystem.out.print(suuti.get(a));\n\t\t\tif(a < n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"a = 0;",
"a = 0",
"a",
"0",
"a < n",
"a",
"n",
"a++",
"a++",
"a",
"{\n\t\t\tSystem.out.print(suuti.get(a));\n\t\t\tif(a < n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"{\n\t\t\tSystem.out.print(suuti.get(a));\n\t\t\tif(a < n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"System.out.print(suuti.get(a))",
"System.out.print",
"System.out",
"System",
"System.out",
"suuti.get(a)",
"suuti.get",
"suuti",
"a",
"if(a < n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"a < n - 1",
"a",
"n - 1",
"n",
"1",
"{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args"
] | import java.util.Scanner;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<Integer> suuti = new ArrayList<Integer>();
int n = sc.nextInt();
int a;
for(int i = 0; i < n; i++){
suuti.add(sc.nextInt());
}
Collections.reverse(suuti);
for(a = 0; a < n; a++){
System.out.print(suuti.get(a));
if(a < n - 1){
System.out.print(" ");
}
}
System.out.println("");
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
0,
13,
4,
18,
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
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
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
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
8,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
6,
79
],
[
79,
80
]
] | [
"import java.util.Scanner;\n \nclass Main{\n public static void main(String[] arg){\n int n;\n\n Scanner in = new Scanner(System.in);\n\n n = in.nextInt();\n\n in.nextLine();\n\n int [] input = new int[n];\n\n for(int i=0; i<n; i++){\n input[i] = in.nextInt();\n }\n for(int i=n-1; i>0; i--){\n System.out.print(input[i] + \" \");\n }\n System.out.println(input[0]);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] arg){\n int n;\n\n Scanner in = new Scanner(System.in);\n\n n = in.nextInt();\n\n in.nextLine();\n\n int [] input = new int[n];\n\n for(int i=0; i<n; i++){\n input[i] = in.nextInt();\n }\n for(int i=n-1; i>0; i--){\n System.out.print(input[i] + \" \");\n }\n System.out.println(input[0]);\n }\n}",
"Main",
"public static void main(String[] arg){\n int n;\n\n Scanner in = new Scanner(System.in);\n\n n = in.nextInt();\n\n in.nextLine();\n\n int [] input = new int[n];\n\n for(int i=0; i<n; i++){\n input[i] = in.nextInt();\n }\n for(int i=n-1; i>0; i--){\n System.out.print(input[i] + \" \");\n }\n System.out.println(input[0]);\n }",
"main",
"{\n int n;\n\n Scanner in = new Scanner(System.in);\n\n n = in.nextInt();\n\n in.nextLine();\n\n int [] input = new int[n];\n\n for(int i=0; i<n; i++){\n input[i] = in.nextInt();\n }\n for(int i=n-1; i>0; i--){\n System.out.print(input[i] + \" \");\n }\n System.out.println(input[0]);\n }",
"int n;",
"n",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"n = in.nextInt()",
"n",
"in.nextInt()",
"in.nextInt",
"in",
"in.nextLine()",
"in.nextLine",
"in",
"int [] input = new int[n];",
"input",
"new int[n]",
"n",
"for(int i=0; i<n; i++){\n input[i] = in.nextInt();\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n input[i] = in.nextInt();\n }",
"{\n input[i] = in.nextInt();\n }",
"input[i] = in.nextInt()",
"input[i]",
"input",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"for(int i=n-1; i>0; i--){\n System.out.print(input[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(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(input[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"input[0]",
"input",
"0",
"String[] arg",
"arg"
] | import java.util.Scanner;
class Main{
public static void main(String[] arg){
int n;
Scanner in = new Scanner(System.in);
n = in.nextInt();
in.nextLine();
int [] input = new int[n];
for(int i=0; i<n; i++){
input[i] = in.nextInt();
}
for(int i=n-1; i>0; i--){
System.out.print(input[i] + " ");
}
System.out.println(input[0]);
}
} |
[
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,
18,
13,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
20,
13,
0,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
0,
13,
17,
30,
30,
14,
2,
13,
13,
30,
4,
18,
13,
18,
13,
2,
13,
13,
3,
30,
4,
18,
13,
18,
13,
2,
13,
13,
4,
18,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
97,
14
],
[
97,
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
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
17,
37
],
[
37,
38
],
[
37,
39
],
[
17,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
43,
48
],
[
17,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
49,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
67,
76
],
[
63,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
77,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
17,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
15,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintStream;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tPrintStream out = System.out;\n\t\tint n = Integer.parseInt(in.readLine());// 要素数n\n\t\tString[] str = new String[n];\n\t\tstr = in.readLine().split(\" \");\n\t\tfor (int i = 1; i <= n; i += 1) {\n\t\t\tif (i == n) {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\t\tout.println(sb);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintStream;",
"PrintStream",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tPrintStream out = System.out;\n\t\tint n = Integer.parseInt(in.readLine());// 要素数n\n\t\tString[] str = new String[n];\n\t\tstr = in.readLine().split(\" \");\n\t\tfor (int i = 1; i <= n; i += 1) {\n\t\t\tif (i == n) {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\t\tout.println(sb);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tPrintStream out = System.out;\n\t\tint n = Integer.parseInt(in.readLine());// 要素数n\n\t\tString[] str = new String[n];\n\t\tstr = in.readLine().split(\" \");\n\t\tfor (int i = 1; i <= n; i += 1) {\n\t\t\tif (i == n) {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\t\tout.println(sb);\n\t}",
"main",
"{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tPrintStream out = System.out;\n\t\tint n = Integer.parseInt(in.readLine());// 要素数n\n\t\tString[] str = new String[n];\n\t\tstr = in.readLine().split(\" \");\n\t\tfor (int i = 1; i <= n; i += 1) {\n\t\t\tif (i == n) {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\t\tout.println(sb);\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"PrintStream out = System.out;",
"out",
"System.out",
"System",
"System.out",
"int n = Integer.parseInt(in.readLine());",
"n",
"Integer.parseInt(in.readLine())",
"Integer.parseInt",
"Integer",
"in.readLine()",
"in.readLine",
"in",
"String[] str = new String[n];",
"str",
"new String[n]",
"n",
"str = in.readLine().split(\" \")",
"str",
"in.readLine().split(\" \")",
"in.readLine().split",
"in.readLine()",
"in.readLine",
"in",
"\" \"",
"for (int i = 1; i <= n; i += 1) {\n\t\t\tif (i == n) {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= n",
"i",
"n",
"i += 1",
"i += 1",
"i",
"1",
"{\n\t\t\tif (i == n) {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (i == n) {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}",
"if (i == n) {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tsb.append(\" \");\n\t\t\t}",
"i == n",
"i",
"n",
"{\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tbreak;\n\t\t\t}",
"sb.append(str[n - i])",
"sb.append",
"sb",
"str[n - i]",
"str",
"n - i",
"n",
"i",
"break;",
"{\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tsb.append(\" \");\n\t\t\t}",
"sb.append(str[n - i])",
"sb.append",
"sb",
"str[n - i]",
"str",
"n - i",
"n",
"i",
"sb.append(\" \")",
"sb.append",
"sb",
"\" \"",
"out.println(sb)",
"out.println",
"out",
"sb",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tPrintStream out = System.out;\n\t\tint n = Integer.parseInt(in.readLine());// 要素数n\n\t\tString[] str = new String[n];\n\t\tstr = in.readLine().split(\" \");\n\t\tfor (int i = 1; i <= n; i += 1) {\n\t\t\tif (i == n) {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\t\tout.println(sb);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tPrintStream out = System.out;\n\t\tint n = Integer.parseInt(in.readLine());// 要素数n\n\t\tString[] str = new String[n];\n\t\tstr = in.readLine().split(\" \");\n\t\tfor (int i = 1; i <= n; i += 1) {\n\t\t\tif (i == n) {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsb.append(str[n - i]);\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\t\tout.println(sb);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
PrintStream out = System.out;
int n = Integer.parseInt(in.readLine());// 要素数n
String[] str = new String[n];
str = in.readLine().split(" ");
for (int i = 1; i <= n; i += 1) {
if (i == n) {
sb.append(str[n - i]);
break;
} else {
sb.append(str[n - i]);
sb.append(" ");
}
}
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,
0,
18,
13,
13,
4,
18,
13,
41,
13,
2,
13,
17,
4,
18,
18,
13,
13,
18,
13,
13,
42,
2,
40,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
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
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
8,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
53,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
58,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
8,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
6,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] | [
"import java.util.*;\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\n int[] ary = new int[n];\n \n for (int i = 0; i < n; i++)\n ary[i] = sc.nextInt();\n \n int j = n - 1;\n System.out.print(ary[j]);\n while (--j >= 0) {\n System.out.print(' ');\n System.out.print(ary[j]);\n }\n System.out.println();\n }\n}\n",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n\n int[] ary = new int[n];\n \n for (int i = 0; i < n; i++)\n ary[i] = sc.nextInt();\n \n int j = n - 1;\n System.out.print(ary[j]);\n while (--j >= 0) {\n System.out.print(' ');\n System.out.print(ary[j]);\n }\n System.out.println();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n\n int[] ary = new int[n];\n \n for (int i = 0; i < n; i++)\n ary[i] = sc.nextInt();\n \n int j = n - 1;\n System.out.print(ary[j]);\n while (--j >= 0) {\n System.out.print(' ');\n System.out.print(ary[j]);\n }\n System.out.println();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n\n int[] ary = new int[n];\n \n for (int i = 0; i < n; i++)\n ary[i] = sc.nextInt();\n \n int j = n - 1;\n System.out.print(ary[j]);\n while (--j >= 0) {\n System.out.print(' ');\n System.out.print(ary[j]);\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[] ary = new int[n];",
"ary",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n ary[i] = sc.nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"ary[i] = sc.nextInt();",
"ary[i] = sc.nextInt()",
"ary[i]",
"ary",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int j = n - 1;",
"j",
"n - 1",
"n",
"1",
"System.out.print(ary[j])",
"System.out.print",
"System.out",
"System",
"System.out",
"ary[j]",
"ary",
"j",
"while (--j >= 0) {\n System.out.print(' ');\n System.out.print(ary[j]);\n }",
"--j >= 0",
"--j",
"j",
"0",
"{\n System.out.print(' ');\n System.out.print(ary[j]);\n }",
"System.out.print(' ')",
"System.out.print",
"System.out",
"System",
"System.out",
"' '",
"System.out.print(ary[j])",
"System.out.print",
"System.out",
"System",
"System.out",
"ary[j]",
"ary",
"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\n int n = sc.nextInt();\n\n int[] ary = new int[n];\n \n for (int i = 0; i < n; i++)\n ary[i] = sc.nextInt();\n \n int j = n - 1;\n System.out.print(ary[j]);\n while (--j >= 0) {\n System.out.print(' ');\n System.out.print(ary[j]);\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\n int n = sc.nextInt();\n\n int[] ary = new int[n];\n \n for (int i = 0; i < n; i++)\n ary[i] = sc.nextInt();\n \n int j = n - 1;\n System.out.print(ary[j]);\n while (--j >= 0) {\n System.out.print(' ');\n System.out.print(ary[j]);\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[] ary = new int[n];
for (int i = 0; i < n; i++)
ary[i] = sc.nextInt();
int j = n - 1;
System.out.print(ary[j]);
while (--j >= 0) {
System.out.print(' ');
System.out.print(ary[j]);
}
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,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
13,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
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
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
34,
41
],
[
41,
42
],
[
41,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
49,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
11,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
9,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint strengh = Integer.parseInt(br.readLine());\n\t\tString line = br.readLine();\n\t\tString[] lines = line.split(\" \");\n\n\t\tfor (int i = strengh - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(lines[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(lines[i] + \" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\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\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint strengh = Integer.parseInt(br.readLine());\n\t\tString line = br.readLine();\n\t\tString[] lines = line.split(\" \");\n\n\t\tfor (int i = strengh - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(lines[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(lines[i] + \" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint strengh = Integer.parseInt(br.readLine());\n\t\tString line = br.readLine();\n\t\tString[] lines = line.split(\" \");\n\n\t\tfor (int i = strengh - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(lines[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(lines[i] + \" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint strengh = Integer.parseInt(br.readLine());\n\t\tString line = br.readLine();\n\t\tString[] lines = line.split(\" \");\n\n\t\tfor (int i = strengh - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(lines[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(lines[i] + \" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int strengh = Integer.parseInt(br.readLine());",
"strengh",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"String[] lines = line.split(\" \");",
"lines",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"for (int i = strengh - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(lines[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(lines[i] + \" \");\n\t\t\t}\n\t\t}",
"int i = strengh - 1;",
"int i = strengh - 1;",
"i",
"strengh - 1",
"strengh",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(lines[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(lines[i] + \" \");\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(lines[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(lines[i] + \" \");\n\t\t\t}\n\t\t}",
"if (i == 0) {\n\t\t\t\tSystem.out.print(lines[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(lines[i] + \" \");\n\t\t\t}",
"i == 0",
"i",
"0",
"{\n\t\t\t\tSystem.out.print(lines[i]);\n\t\t\t}",
"System.out.print(lines[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"lines[i]",
"lines",
"i",
"{\n\t\t\t\tSystem.out.print(lines[i] + \" \");\n\t\t\t}",
"System.out.print(lines[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"lines[i] + \" \"",
"lines[i]",
"lines",
"i",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint strengh = Integer.parseInt(br.readLine());\n\t\tString line = br.readLine();\n\t\tString[] lines = line.split(\" \");\n\n\t\tfor (int i = strengh - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(lines[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(lines[i] + \" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint strengh = Integer.parseInt(br.readLine());\n\t\tString line = br.readLine();\n\t\tString[] lines = line.split(\" \");\n\n\t\tfor (int i = strengh - 1; i >= 0; i--) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.print(lines[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(lines[i] + \" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\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 strengh = Integer.parseInt(br.readLine());
String line = br.readLine();
String[] lines = line.split(" ");
for (int i = strengh - 1; i >= 0; i--) {
if (i == 0) {
System.out.print(lines[i]);
} else {
System.out.print(lines[i] + " ");
}
}
System.out.println();
}
} |
[
7,
6,
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,
41,
13,
41,
13,
41,
13,
20,
41,
13,
20,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
4,
18,
4,
18,
13,
17,
0,
13,
20,
4,
18,
13,
13,
28,
13,
13,
30,
30,
4,
18,
13,
4,
18,
13,
2,
13,
17,
4,
18,
13,
2,
4,
18,
13,
17,
4,
18,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
0,
2
],
[
2,
3
],
[
2,
4
],
[
0,
5
],
[
5,
6
],
[
5,
7
],
[
0,
8
],
[
8,
9
],
[
8,
10
],
[
0,
11
],
[
11,
12
],
[
11,
13
],
[
0,
14
],
[
14,
15
],
[
14,
16
],
[
0,
17
],
[
17,
18
],
[
17,
19
],
[
0,
20
],
[
97,
21
],
[
97,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
24,
29
],
[
29,
30
],
[
24,
31
],
[
31,
32
],
[
31,
33
],
[
24,
34
],
[
34,
35
],
[
34,
36
],
[
24,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
24,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
47,
52
],
[
24,
53
],
[
53,
54
],
[
53,
55
],
[
24,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
24,
60
],
[
60,
61
],
[
60,
62
],
[
60,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
71,
73
],
[
24,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
77,
81
],
[
74,
82
],
[
82,
83
],
[
83,
84
],
[
24,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
24,
91
],
[
91,
92
],
[
92,
93
],
[
22,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
] | [
"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\tpublic static void main(String[] args) throws IOException{\n\t\tint num;\n\t\tString[] str;\n\t\tList<Integer> list;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\n\t\tnum = Integer.parseInt(br.readLine());\n\t\tstr = br.readLine().split(\" \");\n\n\t\tlist = new ArrayList<Integer>(){\n\t\t\t{\n\t\t\t\tfor(int i = 0; i < num; i++){\n\t\t\t\t\tadd(Integer.parseInt(str[i]));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tCollections.reverse(list);\n\t\tfor(int i: list){\n\t\t\tbuilder.append(String.valueOf(i + \" \"));\n\t\t}\n\t\tbuilder.delete(builder.length() - 1, builder.length());\n\n\t\tSystem.out.println(builder);\n\t\tbr.close();\n\t}\n}",
"ArrayList<Integer>(){\n\t\t\t{\n\t\t\t\tfor(int i = 0; i < num; i++){\n\t\t\t\t\tadd(Integer.parseInt(str[i]));\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"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\tpublic static void main(String[] args) throws IOException{\n\t\tint num;\n\t\tString[] str;\n\t\tList<Integer> list;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\n\t\tnum = Integer.parseInt(br.readLine());\n\t\tstr = br.readLine().split(\" \");\n\n\t\tlist = new ArrayList<Integer>(){\n\t\t\t{\n\t\t\t\tfor(int i = 0; i < num; i++){\n\t\t\t\t\tadd(Integer.parseInt(str[i]));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tCollections.reverse(list);\n\t\tfor(int i: list){\n\t\t\tbuilder.append(String.valueOf(i + \" \"));\n\t\t}\n\t\tbuilder.delete(builder.length() - 1, builder.length());\n\n\t\tSystem.out.println(builder);\n\t\tbr.close();\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tint num;\n\t\tString[] str;\n\t\tList<Integer> list;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\n\t\tnum = Integer.parseInt(br.readLine());\n\t\tstr = br.readLine().split(\" \");\n\n\t\tlist = new ArrayList<Integer>(){\n\t\t\t{\n\t\t\t\tfor(int i = 0; i < num; i++){\n\t\t\t\t\tadd(Integer.parseInt(str[i]));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tCollections.reverse(list);\n\t\tfor(int i: list){\n\t\t\tbuilder.append(String.valueOf(i + \" \"));\n\t\t}\n\t\tbuilder.delete(builder.length() - 1, builder.length());\n\n\t\tSystem.out.println(builder);\n\t\tbr.close();\n\t}",
"main",
"{\n\t\tint num;\n\t\tString[] str;\n\t\tList<Integer> list;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\n\t\tnum = Integer.parseInt(br.readLine());\n\t\tstr = br.readLine().split(\" \");\n\n\t\tlist = new ArrayList<Integer>(){\n\t\t\t{\n\t\t\t\tfor(int i = 0; i < num; i++){\n\t\t\t\t\tadd(Integer.parseInt(str[i]));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tCollections.reverse(list);\n\t\tfor(int i: list){\n\t\t\tbuilder.append(String.valueOf(i + \" \"));\n\t\t}\n\t\tbuilder.delete(builder.length() - 1, builder.length());\n\n\t\tSystem.out.println(builder);\n\t\tbr.close();\n\t}",
"int num;",
"num",
"String[] str;",
"str",
"List<Integer> list;",
"list",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"num = Integer.parseInt(br.readLine())",
"num",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"str = br.readLine().split(\" \")",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"list = new ArrayList<Integer>(){\n\t\t\t{\n\t\t\t\tfor(int i = 0; i < num; i++){\n\t\t\t\t\tadd(Integer.parseInt(str[i]));\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"list",
"new ArrayList<Integer>(){\n\t\t\t{\n\t\t\t\tfor(int i = 0; i < num; i++){\n\t\t\t\t\tadd(Integer.parseInt(str[i]));\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"for(int i: list){\n\t\t\tbuilder.append(String.valueOf(i + \" \"));\n\t\t}",
"int i",
"list",
"{\n\t\t\tbuilder.append(String.valueOf(i + \" \"));\n\t\t}",
"{\n\t\t\tbuilder.append(String.valueOf(i + \" \"));\n\t\t}",
"builder.append(String.valueOf(i + \" \"))",
"builder.append",
"builder",
"String.valueOf(i + \" \")",
"String.valueOf",
"String",
"i + \" \"",
"i",
"\" \"",
"builder.delete(builder.length() - 1, builder.length())",
"builder.delete",
"builder",
"builder.length() - 1",
"builder.length()",
"builder.length",
"builder",
"1",
"builder.length()",
"builder.length",
"builder",
"System.out.println(builder)",
"System.out.println",
"System.out",
"System",
"System.out",
"builder",
"br.close()",
"br.close",
"br",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tint num;\n\t\tString[] str;\n\t\tList<Integer> list;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\n\t\tnum = Integer.parseInt(br.readLine());\n\t\tstr = br.readLine().split(\" \");\n\n\t\tlist = new ArrayList<Integer>(){\n\t\t\t{\n\t\t\t\tfor(int i = 0; i < num; i++){\n\t\t\t\t\tadd(Integer.parseInt(str[i]));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tCollections.reverse(list);\n\t\tfor(int i: list){\n\t\t\tbuilder.append(String.valueOf(i + \" \"));\n\t\t}\n\t\tbuilder.delete(builder.length() - 1, builder.length());\n\n\t\tSystem.out.println(builder);\n\t\tbr.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tint num;\n\t\tString[] str;\n\t\tList<Integer> list;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\n\t\tnum = Integer.parseInt(br.readLine());\n\t\tstr = br.readLine().split(\" \");\n\n\t\tlist = new ArrayList<Integer>(){\n\t\t\t{\n\t\t\t\tfor(int i = 0; i < num; i++){\n\t\t\t\t\tadd(Integer.parseInt(str[i]));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tCollections.reverse(list);\n\t\tfor(int i: list){\n\t\t\tbuilder.append(String.valueOf(i + \" \"));\n\t\t}\n\t\tbuilder.delete(builder.length() - 1, builder.length());\n\n\t\tSystem.out.println(builder);\n\t\tbr.close();\n\t}\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{
int num;
String[] str;
List<Integer> list;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder builder = new StringBuilder();
num = Integer.parseInt(br.readLine());
str = br.readLine().split(" ");
list = new ArrayList<Integer>(){
{
for(int i = 0; i < num; i++){
add(Integer.parseInt(str[i]));
}
}
};
Collections.reverse(list);
for(int i: list){
builder.append(String.valueOf(i + " "));
}
builder.delete(builder.length() - 1, builder.length());
System.out.println(builder);
br.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,
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,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
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
],
[
50,
51
],
[
50,
52
],
[
42,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
8,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
6,
69
],
[
69,
70
]
] | [
"import java.io.*;\n \nclass Main{\n public static void main(String[] args) throws IOException{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int x = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n \n for(int i = str.length; i > 0; i--){\n\t\tSystem.out.print(str[i-1]);\n\t\tif(i != 1){\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t}\n\tSystem.out.println();\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] args) throws IOException{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int x = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n \n for(int i = str.length; i > 0; i--){\n\t\tSystem.out.print(str[i-1]);\n\t\tif(i != 1){\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t}\n\tSystem.out.println();\n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int x = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n \n for(int i = str.length; i > 0; i--){\n\t\tSystem.out.print(str[i-1]);\n\t\tif(i != 1){\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t}\n\tSystem.out.println();\n }",
"main",
"{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int x = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n \n for(int i = str.length; i > 0; i--){\n\t\tSystem.out.print(str[i-1]);\n\t\tif(i != 1){\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t}\n\tSystem.out.println();\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int x = Integer.parseInt(br.readLine());",
"x",
"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 = str.length; i > 0; i--){\n\t\tSystem.out.print(str[i-1]);\n\t\tif(i != 1){\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t}",
"int i = str.length;",
"int i = str.length;",
"i",
"str.length",
"str",
"str.length",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\tSystem.out.print(str[i-1]);\n\t\tif(i != 1){\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t}",
"{\n\t\tSystem.out.print(str[i-1]);\n\t\tif(i != 1){\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t}",
"System.out.print(str[i-1])",
"System.out.print",
"System.out",
"System",
"System.out",
"str[i-1]",
"str",
"i-1",
"i",
"1",
"if(i != 1){\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"i != 1",
"i",
"1",
"{\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(br.readLine());
String[] str = br.readLine().split(" ");
for(int i = str.length; i > 0; i--){
System.out.print(str[i-1]);
if(i != 1){
System.out.print(" ");
}
}
System.out.println();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
20,
13,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
4,
18,
13,
18,
13,
13,
4,
18,
18,
18,
13,
13,
13,
13,
41,
13,
17,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
13,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
40,
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
],
[
124,
11
],
[
124,
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,
33
],
[
33,
34
],
[
33,
35
],
[
14,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
14,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
14,
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
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
69,
71
],
[
61,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
75,
77
],
[
14,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
78,
85
],
[
14,
86
],
[
86,
87
],
[
86,
88
],
[
14,
89
],
[
89,
90
],
[
89,
91
],
[
89,
92
],
[
93,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
93,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
100,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
93,
113
],
[
113,
114
],
[
14,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
12,
121
],
[
121,
122
],
[
0,
123
],
[
123,
124
],
[
123,
125
]
] | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tint v = Integer.parseInt(line);\n\n\t\tint[] va = new int[v];\n\t\tList<Integer> klist = new ArrayList<Integer>();\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] k = line2.split(\" \");\n\t\tfor (int j = 0; j < k.length; j++) {\n\t\t\tva[j] = Integer.parseInt(k[j]);\n\t\t\tklist.add(va[j]);\n\t\t}\n\n\t\tjava.util.Collections.reverse(klist);\n\t\tint val = 0;\n\t\tfor (Integer integer : klist) {\n\t\t\tSystem.out.print(integer);\n\t\t\tif (val != v - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tval++;\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\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\tpublic static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tint v = Integer.parseInt(line);\n\n\t\tint[] va = new int[v];\n\t\tList<Integer> klist = new ArrayList<Integer>();\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] k = line2.split(\" \");\n\t\tfor (int j = 0; j < k.length; j++) {\n\t\t\tva[j] = Integer.parseInt(k[j]);\n\t\t\tklist.add(va[j]);\n\t\t}\n\n\t\tjava.util.Collections.reverse(klist);\n\t\tint val = 0;\n\t\tfor (Integer integer : klist) {\n\t\t\tSystem.out.print(integer);\n\t\t\tif (val != v - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tval++;\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n}",
"Main",
"public static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tint v = Integer.parseInt(line);\n\n\t\tint[] va = new int[v];\n\t\tList<Integer> klist = new ArrayList<Integer>();\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] k = line2.split(\" \");\n\t\tfor (int j = 0; j < k.length; j++) {\n\t\t\tva[j] = Integer.parseInt(k[j]);\n\t\t\tklist.add(va[j]);\n\t\t}\n\n\t\tjava.util.Collections.reverse(klist);\n\t\tint val = 0;\n\t\tfor (Integer integer : klist) {\n\t\t\tSystem.out.print(integer);\n\t\t\tif (val != v - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tval++;\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tint v = Integer.parseInt(line);\n\n\t\tint[] va = new int[v];\n\t\tList<Integer> klist = new ArrayList<Integer>();\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] k = line2.split(\" \");\n\t\tfor (int j = 0; j < k.length; j++) {\n\t\t\tva[j] = Integer.parseInt(k[j]);\n\t\t\tklist.add(va[j]);\n\t\t}\n\n\t\tjava.util.Collections.reverse(klist);\n\t\tint val = 0;\n\t\tfor (Integer integer : klist) {\n\t\t\tSystem.out.print(integer);\n\t\t\tif (val != v - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tval++;\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int v = Integer.parseInt(line);",
"v",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"int[] va = new int[v];",
"va",
"new int[v]",
"v",
"List<Integer> klist = new ArrayList<Integer>();",
"klist",
"new ArrayList<Integer>()",
"String line2 = sc.nextLine();",
"line2",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] k = line2.split(\" \");",
"k",
"line2.split(\" \")",
"line2.split",
"line2",
"\" \"",
"for (int j = 0; j < k.length; j++) {\n\t\t\tva[j] = Integer.parseInt(k[j]);\n\t\t\tklist.add(va[j]);\n\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < k.length",
"j",
"k.length",
"k",
"k.length",
"j++",
"j++",
"j",
"{\n\t\t\tva[j] = Integer.parseInt(k[j]);\n\t\t\tklist.add(va[j]);\n\t\t}",
"{\n\t\t\tva[j] = Integer.parseInt(k[j]);\n\t\t\tklist.add(va[j]);\n\t\t}",
"va[j] = Integer.parseInt(k[j])",
"va[j]",
"va",
"j",
"Integer.parseInt(k[j])",
"Integer.parseInt",
"Integer",
"k[j]",
"k",
"j",
"klist.add(va[j])",
"klist.add",
"klist",
"va[j]",
"va",
"j",
"java.util.Collections.reverse(klist)",
"java.util.Collections.reverse",
"java.util.Collections",
"java.util",
"java",
"java.util",
"java.util.Collections",
"klist",
"int val = 0;",
"val",
"0",
"for (Integer integer : klist) {\n\t\t\tSystem.out.print(integer);\n\t\t\tif (val != v - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tval++;\n\t\t}",
"Integer integer",
"klist",
"{\n\t\t\tSystem.out.print(integer);\n\t\t\tif (val != v - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tval++;\n\t\t}",
"{\n\t\t\tSystem.out.print(integer);\n\t\t\tif (val != v - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tval++;\n\t\t}",
"System.out.print(integer)",
"System.out.print",
"System.out",
"System",
"System.out",
"integer",
"if (val != v - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"val != v - 1",
"val",
"v - 1",
"v",
"1",
"{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"val++",
"val",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] arges",
"arges",
"public class Main {\n\tpublic static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tint v = Integer.parseInt(line);\n\n\t\tint[] va = new int[v];\n\t\tList<Integer> klist = new ArrayList<Integer>();\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] k = line2.split(\" \");\n\t\tfor (int j = 0; j < k.length; j++) {\n\t\t\tva[j] = Integer.parseInt(k[j]);\n\t\t\tklist.add(va[j]);\n\t\t}\n\n\t\tjava.util.Collections.reverse(klist);\n\t\tint val = 0;\n\t\tfor (Integer integer : klist) {\n\t\t\tSystem.out.print(integer);\n\t\t\tif (val != v - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tval++;\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tint v = Integer.parseInt(line);\n\n\t\tint[] va = new int[v];\n\t\tList<Integer> klist = new ArrayList<Integer>();\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] k = line2.split(\" \");\n\t\tfor (int j = 0; j < k.length; j++) {\n\t\t\tva[j] = Integer.parseInt(k[j]);\n\t\t\tklist.add(va[j]);\n\t\t}\n\n\t\tjava.util.Collections.reverse(klist);\n\t\tint val = 0;\n\t\tfor (Integer integer : klist) {\n\t\t\tSystem.out.print(integer);\n\t\t\tif (val != v - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tval++;\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] arges) {
Scanner sc = new Scanner(System.in);
String line = sc.nextLine();
int v = Integer.parseInt(line);
int[] va = new int[v];
List<Integer> klist = new ArrayList<Integer>();
String line2 = sc.nextLine();
String[] k = line2.split(" ");
for (int j = 0; j < k.length; j++) {
va[j] = Integer.parseInt(k[j]);
klist.add(va[j]);
}
java.util.Collections.reverse(klist);
int val = 0;
for (Integer integer : klist) {
System.out.print(integer);
if (val != v - 1) {
System.out.print(" ");
}
val++;
}
System.out.println("");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
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,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
14,
2,
13,
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
],
[
97,
11
],
[
97,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
14,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
14,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
49,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
63,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
63,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
76,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
14,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
12,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
] | [
"import java.util.Scanner;\nimport java.util.Collections;\nimport java.util.ArrayList;\n\npublic class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint n = scan.nextInt();\n\t\tArrayList<Integer> num = new ArrayList<Integer>();\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tnum.add(scan.nextInt());\n\t\t}\n\t\t\n\t\tCollections.reverse(num);\n\t\t\n\t\tfor(int i = 0; i < num.size(); i++){\n\t\t\tint b = num.get(i);\n\t\t\tSystem.out.print(b);\n\t\t\tif(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tSystem.out.println();\n\t\t}\n\t}\n\t\n\t",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint n = scan.nextInt();\n\t\tArrayList<Integer> num = new ArrayList<Integer>();\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tnum.add(scan.nextInt());\n\t\t}\n\t\t\n\t\tCollections.reverse(num);\n\t\t\n\t\tfor(int i = 0; i < num.size(); i++){\n\t\t\tint b = num.get(i);\n\t\t\tSystem.out.print(b);\n\t\t\tif(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tSystem.out.println();\n\t\t}\n\t}",
"Main",
"public static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint n = scan.nextInt();\n\t\tArrayList<Integer> num = new ArrayList<Integer>();\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tnum.add(scan.nextInt());\n\t\t}\n\t\t\n\t\tCollections.reverse(num);\n\t\t\n\t\tfor(int i = 0; i < num.size(); i++){\n\t\t\tint b = num.get(i);\n\t\t\tSystem.out.print(b);\n\t\t\tif(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tSystem.out.println();\n\t\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint n = scan.nextInt();\n\t\tArrayList<Integer> num = new ArrayList<Integer>();\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tnum.add(scan.nextInt());\n\t\t}\n\t\t\n\t\tCollections.reverse(num);\n\t\t\n\t\tfor(int i = 0; i < num.size(); i++){\n\t\t\tint b = num.get(i);\n\t\t\tSystem.out.print(b);\n\t\t\tif(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tSystem.out.println();\n\t\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"ArrayList<Integer> num = new ArrayList<Integer>();",
"num",
"new ArrayList<Integer>()",
"for(int i = 0; i < n; i++){\n\t\t\tnum.add(scan.nextInt());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tnum.add(scan.nextInt());\n\t\t}",
"{\n\t\t\tnum.add(scan.nextInt());\n\t\t}",
"num.add(scan.nextInt())",
"num.add",
"num",
"scan.nextInt()",
"scan.nextInt",
"scan",
"Collections.reverse(num)",
"Collections.reverse",
"Collections",
"num",
"for(int i = 0; i < num.size(); i++){\n\t\t\tint b = num.get(i);\n\t\t\tSystem.out.print(b);\n\t\t\tif(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\t\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < num.size()",
"i",
"num.size()",
"num.size",
"num",
"i++",
"i++",
"i",
"{\n\t\t\tint b = num.get(i);\n\t\t\tSystem.out.print(b);\n\t\t\tif(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\t\n\t\t}",
"{\n\t\t\tint b = num.get(i);\n\t\t\tSystem.out.print(b);\n\t\t\tif(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\t\n\t\t}",
"int b = num.get(i);",
"b",
"num.get(i)",
"num.get",
"num",
"i",
"System.out.print(b)",
"System.out.print",
"System.out",
"System",
"System.out",
"b",
"if(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"i != n - 1",
"i",
"n - 1",
"n",
"1",
"{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint n = scan.nextInt();\n\t\tArrayList<Integer> num = new ArrayList<Integer>();\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tnum.add(scan.nextInt());\n\t\t}\n\t\t\n\t\tCollections.reverse(num);\n\t\t\n\t\tfor(int i = 0; i < num.size(); i++){\n\t\t\tint b = num.get(i);\n\t\t\tSystem.out.print(b);\n\t\t\tif(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tSystem.out.println();\n\t\t}\n\t}",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint n = scan.nextInt();\n\t\tArrayList<Integer> num = new ArrayList<Integer>();\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tnum.add(scan.nextInt());\n\t\t}\n\t\t\n\t\tCollections.reverse(num);\n\t\t\n\t\tfor(int i = 0; i < num.size(); i++){\n\t\t\tint b = num.get(i);\n\t\t\tSystem.out.print(b);\n\t\t\tif(i != n - 1){\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tSystem.out.println();\n\t\t}\n\t}",
"Main"
] | import java.util.Scanner;
import java.util.Collections;
import java.util.ArrayList;
public class Main {
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
ArrayList<Integer> num = new ArrayList<Integer>();
for(int i = 0; i < n; i++){
num.add(scan.nextInt());
}
Collections.reverse(num);
for(int i = 0; i < num.size(); i++){
int b = num.get(i);
System.out.print(b);
if(i != n - 1){
System.out.print(" ");
}
}
System.out.println();
}
}
|
[
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,
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,
4,
18,
18,
13,
13,
4,
18,
13,
13,
14,
2,
13,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
103,
20
],
[
103,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
23,
32
],
[
32,
33
],
[
32,
34
],
[
23,
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
],
[
48,
51
],
[
51,
52
],
[
52,
53
],
[
23,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
23,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
58,
68
],
[
68,
69
],
[
69,
70
],
[
58,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
72,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
82,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
23,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
21,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collection;\nimport java.util.Collections;\nimport java.util.Scanner;\n\n/**\n * Created by Arifur on 9/8/2015.\n */\npublic class Main {\n public static void main(String[] arg) {\n Scanner scanner=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int x=scanner.nextInt();\n ArrayList<Integer> list=new ArrayList<Integer>();\n for (int i = 0; i < x; i++) {\n list.add(scanner.nextInt());\n }\n Collections.reverse(list);\n for (int i = 0; i < list.size(); i++) {\n System.out.print(list.get(i));\n if(i<x-1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n\n }\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.Collection;",
"Collection",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] arg) {\n Scanner scanner=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int x=scanner.nextInt();\n ArrayList<Integer> list=new ArrayList<Integer>();\n for (int i = 0; i < x; i++) {\n list.add(scanner.nextInt());\n }\n Collections.reverse(list);\n for (int i = 0; i < list.size(); i++) {\n System.out.print(list.get(i));\n if(i<x-1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n\n }\n}",
"Main",
"public static void main(String[] arg) {\n Scanner scanner=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int x=scanner.nextInt();\n ArrayList<Integer> list=new ArrayList<Integer>();\n for (int i = 0; i < x; i++) {\n list.add(scanner.nextInt());\n }\n Collections.reverse(list);\n for (int i = 0; i < list.size(); i++) {\n System.out.print(list.get(i));\n if(i<x-1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n\n }",
"main",
"{\n Scanner scanner=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int x=scanner.nextInt();\n ArrayList<Integer> list=new ArrayList<Integer>();\n for (int i = 0; i < x; i++) {\n list.add(scanner.nextInt());\n }\n Collections.reverse(list);\n for (int i = 0; i < list.size(); i++) {\n System.out.print(list.get(i));\n if(i<x-1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n\n }",
"Scanner scanner=new Scanner(new BufferedReader(new InputStreamReader(System.in)));",
"scanner",
"new Scanner(new BufferedReader(new InputStreamReader(System.in)))",
"int x=scanner.nextInt();",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"ArrayList<Integer> list=new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"for (int i = 0; i < x; i++) {\n list.add(scanner.nextInt());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < x",
"i",
"x",
"i++",
"i++",
"i",
"{\n list.add(scanner.nextInt());\n }",
"{\n list.add(scanner.nextInt());\n }",
"list.add(scanner.nextInt())",
"list.add",
"list",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"for (int i = 0; i < list.size(); i++) {\n System.out.print(list.get(i));\n if(i<x-1){\n System.out.print(\" \");\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n System.out.print(list.get(i));\n if(i<x-1){\n System.out.print(\" \");\n }\n }",
"{\n System.out.print(list.get(i));\n if(i<x-1){\n System.out.print(\" \");\n }\n }",
"System.out.print(list.get(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"list.get(i)",
"list.get",
"list",
"i",
"if(i<x-1){\n System.out.print(\" \");\n }",
"i<x-1",
"i",
"x-1",
"x",
"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",
"String[] arg",
"arg",
"public class Main {\n public static void main(String[] arg) {\n Scanner scanner=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int x=scanner.nextInt();\n ArrayList<Integer> list=new ArrayList<Integer>();\n for (int i = 0; i < x; i++) {\n list.add(scanner.nextInt());\n }\n Collections.reverse(list);\n for (int i = 0; i < list.size(); i++) {\n System.out.print(list.get(i));\n if(i<x-1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n\n }\n}",
"public class Main {\n public static void main(String[] arg) {\n Scanner scanner=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int x=scanner.nextInt();\n ArrayList<Integer> list=new ArrayList<Integer>();\n for (int i = 0; i < x; i++) {\n list.add(scanner.nextInt());\n }\n Collections.reverse(list);\n for (int i = 0; i < list.size(); i++) {\n System.out.print(list.get(i));\n if(i<x-1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Scanner;
/**
* Created by Arifur on 9/8/2015.
*/
public class Main {
public static void main(String[] arg) {
Scanner scanner=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
int x=scanner.nextInt();
ArrayList<Integer> list=new ArrayList<Integer>();
for (int i = 0; i < x; i++) {
list.add(scanner.nextInt());
}
Collections.reverse(list);
for (int i = 0; i < list.size(); i++) {
System.out.print(list.get(i));
if(i<x-1){
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,
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,
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
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
40,
47
],
[
47,
48
],
[
47,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
55,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
6,
77
],
[
77,
78
]
] | [
"\nimport java.util.*;\n\nclass Main{\npublic static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint n = sc.nextInt();\nint[]a = new int[n];\nfor(int i=0; i<n; i++) a[i] =sc.nextInt();\nfor(int s=n-1; s>=0; s--){\nif(s>0) System.out.print(a[s]+\" \");\nelse System.out.println(a[0]);\n}\n}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\npublic static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint n = sc.nextInt();\nint[]a = new int[n];\nfor(int i=0; i<n; i++) a[i] =sc.nextInt();\nfor(int s=n-1; s>=0; s--){\nif(s>0) System.out.print(a[s]+\" \");\nelse System.out.println(a[0]);\n}\n}\n}",
"Main",
"public static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint n = sc.nextInt();\nint[]a = new int[n];\nfor(int i=0; i<n; i++) a[i] =sc.nextInt();\nfor(int s=n-1; s>=0; s--){\nif(s>0) System.out.print(a[s]+\" \");\nelse System.out.println(a[0]);\n}\n}",
"main",
"{\nScanner sc = new Scanner(System.in);\nint n = sc.nextInt();\nint[]a = new int[n];\nfor(int i=0; i<n; i++) a[i] =sc.nextInt();\nfor(int s=n-1; s>=0; s--){\nif(s>0) System.out.print(a[s]+\" \");\nelse System.out.println(a[0]);\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();",
"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 s=n-1; s>=0; s--){\nif(s>0) System.out.print(a[s]+\" \");\nelse System.out.println(a[0]);\n}",
"int s=n-1;",
"int s=n-1;",
"s",
"n-1",
"n",
"1",
"s>=0",
"s",
"0",
"s--",
"s--",
"s",
"{\nif(s>0) System.out.print(a[s]+\" \");\nelse System.out.println(a[0]);\n}",
"{\nif(s>0) System.out.print(a[s]+\" \");\nelse System.out.println(a[0]);\n}",
"if(s>0) System.out.print(a[s]+\" \");\nelse System.out.println(a[0]);",
"s>0",
"s",
"0",
"System.out.print(a[s]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"a[s]+\" \"",
"a[s]",
"a",
"s",
"\" \"",
"System.out.println(a[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[0]",
"a",
"0",
"String[] args",
"args"
] |
import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[]a = new int[n];
for(int i=0; i<n; i++) a[i] =sc.nextInt();
for(int s=n-1; s>=0; s--){
if(s>0) System.out.print(a[s]+" ");
else System.out.println(a[0]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
30,
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,
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.Scanner;\npublic class Main{\npublic static void main(String[] args){\nScanner scan = new Scanner(System.in);\n\nint n = scan.nextInt();\nint[] a = new int[n];\nfor(int j = 0;j<n;j++){\na[j]= scan.nextInt();}\nfor(int i = n-1;i>=0;i--){\nif(i>0){System.out.print(a[i] + \" \");\n}\nelse{System.out.println(a[0]);}\n}}}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\npublic static void main(String[] args){\nScanner scan = new Scanner(System.in);\n\nint n = scan.nextInt();\nint[] a = new int[n];\nfor(int j = 0;j<n;j++){\na[j]= scan.nextInt();}\nfor(int i = n-1;i>=0;i--){\nif(i>0){System.out.print(a[i] + \" \");\n}\nelse{System.out.println(a[0]);}\n}}}",
"Main",
"public static void main(String[] args){\nScanner scan = new Scanner(System.in);\n\nint n = scan.nextInt();\nint[] a = new int[n];\nfor(int j = 0;j<n;j++){\na[j]= scan.nextInt();}\nfor(int i = n-1;i>=0;i--){\nif(i>0){System.out.print(a[i] + \" \");\n}\nelse{System.out.println(a[0]);}\n}}",
"main",
"{\nScanner scan = new Scanner(System.in);\n\nint n = scan.nextInt();\nint[] a = new int[n];\nfor(int j = 0;j<n;j++){\na[j]= scan.nextInt();}\nfor(int i = n-1;i>=0;i--){\nif(i>0){System.out.print(a[i] + \" \");\n}\nelse{System.out.println(a[0]);}\n}}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for(int j = 0;j<n;j++){\na[j]= scan.nextInt();}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j<n",
"j",
"n",
"j++",
"j++",
"j",
"{\na[j]= scan.nextInt();}",
"{\na[j]= scan.nextInt();}",
"a[j]= scan.nextInt()",
"a[j]",
"a",
"j",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(int i = n-1;i>=0;i--){\nif(i>0){System.out.print(a[i] + \" \");\n}\nelse{System.out.println(a[0]);}\n}",
"int i = n-1;",
"int i = n-1;",
"i",
"n-1",
"n",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\nif(i>0){System.out.print(a[i] + \" \");\n}\nelse{System.out.println(a[0]);}\n}",
"{\nif(i>0){System.out.print(a[i] + \" \");\n}\nelse{System.out.println(a[0]);}\n}",
"if(i>0){System.out.print(a[i] + \" \");\n}\nelse{System.out.println(a[0]);}",
"i>0",
"i",
"0",
"{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(a[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[0]",
"a",
"0",
"String[] args",
"args",
"public class Main{\npublic static void main(String[] args){\nScanner scan = new Scanner(System.in);\n\nint n = scan.nextInt();\nint[] a = new int[n];\nfor(int j = 0;j<n;j++){\na[j]= scan.nextInt();}\nfor(int i = n-1;i>=0;i--){\nif(i>0){System.out.print(a[i] + \" \");\n}\nelse{System.out.println(a[0]);}\n}}}",
"public class Main{\npublic static void main(String[] args){\nScanner scan = new Scanner(System.in);\n\nint n = scan.nextInt();\nint[] a = new int[n];\nfor(int j = 0;j<n;j++){\na[j]= scan.nextInt();}\nfor(int i = n-1;i>=0;i--){\nif(i>0){System.out.print(a[i] + \" \");\n}\nelse{System.out.println(a[0]);}\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 j = 0;j<n;j++){
a[j]= scan.nextInt();}
for(int i = n-1;i>=0;i--){
if(i>0){System.out.print(a[i] + " ");
}
else{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,
4,
18,
13,
41,
13,
4,
18,
13,
17,
40,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
4,
18,
13,
18,
13,
2,
2,
13,
13,
17,
17,
4,
18,
18,
13,
13,
4,
18,
13,
18,
13,
17,
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
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
30,
34
],
[
34,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
36,
46
],
[
46,
47
],
[
47,
48
],
[
36,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
56,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
76,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] | [
"import java.io.*;\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line1 = reader.readLine();\n\t\tint n = Integer.parseInt(line1);//1stLine\n\t\tString line2 = reader.readLine();//2ndLine\n\t\tString[] sarray = line2.split(\" \", -1);\n\t\tfor(int i = 0; i < (n - 1); i++){\n\t\t\tSystem.out.print(Integer.parseInt(sarray[(n - i - 1)]) + \" \");\n\t\t}\n\t\tSystem.out.println(Integer.parseInt(sarray[0]));\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line1 = reader.readLine();\n\t\tint n = Integer.parseInt(line1);//1stLine\n\t\tString line2 = reader.readLine();//2ndLine\n\t\tString[] sarray = line2.split(\" \", -1);\n\t\tfor(int i = 0; i < (n - 1); i++){\n\t\t\tSystem.out.print(Integer.parseInt(sarray[(n - i - 1)]) + \" \");\n\t\t}\n\t\tSystem.out.println(Integer.parseInt(sarray[0]));\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line1 = reader.readLine();\n\t\tint n = Integer.parseInt(line1);//1stLine\n\t\tString line2 = reader.readLine();//2ndLine\n\t\tString[] sarray = line2.split(\" \", -1);\n\t\tfor(int i = 0; i < (n - 1); i++){\n\t\t\tSystem.out.print(Integer.parseInt(sarray[(n - i - 1)]) + \" \");\n\t\t}\n\t\tSystem.out.println(Integer.parseInt(sarray[0]));\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line1 = reader.readLine();\n\t\tint n = Integer.parseInt(line1);//1stLine\n\t\tString line2 = reader.readLine();//2ndLine\n\t\tString[] sarray = line2.split(\" \", -1);\n\t\tfor(int i = 0; i < (n - 1); i++){\n\t\t\tSystem.out.print(Integer.parseInt(sarray[(n - i - 1)]) + \" \");\n\t\t}\n\t\tSystem.out.println(Integer.parseInt(sarray[0]));\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String line1 = reader.readLine();",
"line1",
"reader.readLine()",
"reader.readLine",
"reader",
"int n = Integer.parseInt(line1);",
"n",
"Integer.parseInt(line1)",
"Integer.parseInt",
"Integer",
"line1",
"String line2 = reader.readLine();",
"line2",
"reader.readLine()",
"reader.readLine",
"reader",
"String[] sarray = line2.split(\" \", -1);",
"sarray",
"line2.split(\" \", -1)",
"line2.split",
"line2",
"\" \"",
"-1",
"1",
"for(int i = 0; i < (n - 1); i++){\n\t\t\tSystem.out.print(Integer.parseInt(sarray[(n - i - 1)]) + \" \");\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(Integer.parseInt(sarray[(n - i - 1)]) + \" \");\n\t\t}",
"{\n\t\t\tSystem.out.print(Integer.parseInt(sarray[(n - i - 1)]) + \" \");\n\t\t}",
"System.out.print(Integer.parseInt(sarray[(n - i - 1)]) + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"Integer.parseInt(sarray[(n - i - 1)]) + \" \"",
"Integer.parseInt(sarray[(n - i - 1)])",
"Integer.parseInt",
"Integer",
"sarray[(n - i - 1)]",
"sarray",
"(n - i - 1)",
"n - i - 1",
"n",
"i",
"1",
"\" \"",
"System.out.println(Integer.parseInt(sarray[0]))",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.parseInt(sarray[0])",
"Integer.parseInt",
"Integer",
"sarray[0]",
"sarray",
"0",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line1 = reader.readLine();\n\t\tint n = Integer.parseInt(line1);//1stLine\n\t\tString line2 = reader.readLine();//2ndLine\n\t\tString[] sarray = line2.split(\" \", -1);\n\t\tfor(int i = 0; i < (n - 1); i++){\n\t\t\tSystem.out.print(Integer.parseInt(sarray[(n - i - 1)]) + \" \");\n\t\t}\n\t\tSystem.out.println(Integer.parseInt(sarray[0]));\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line1 = reader.readLine();\n\t\tint n = Integer.parseInt(line1);//1stLine\n\t\tString line2 = reader.readLine();//2ndLine\n\t\tString[] sarray = line2.split(\" \", -1);\n\t\tfor(int i = 0; i < (n - 1); i++){\n\t\t\tSystem.out.print(Integer.parseInt(sarray[(n - i - 1)]) + \" \");\n\t\t}\n\t\tSystem.out.println(Integer.parseInt(sarray[0]));\n\t}\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String line1 = reader.readLine();
int n = Integer.parseInt(line1);//1stLine
String line2 = reader.readLine();//2ndLine
String[] sarray = line2.split(" ", -1);
for(int i = 0; i < (n - 1); i++){
System.out.print(Integer.parseInt(sarray[(n - i - 1)]) + " ");
}
System.out.println(Integer.parseInt(sarray[0]));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
41,
13,
17,
0,
13,
20,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
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
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
46,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
55,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
66,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
6,
83
],
[
83,
84
]
] | [
"/** goto 文は、C/C++言語などで使うことのできる文で、実行されると無条件に指定されたラベルに処理が飛びます。\n * 例えば goto CHECK_NUM; という文が実行されると、プログラムの中で CHECK_NUM: と書かれた行に処理が移ります。\n * この機能を使って、繰り返し処理なども実現することができます。\n * 一方、goto 文は自由度が高すぎ、プログラムの可読性に影響するため、可能な限り使わないことが推奨されています。\n * 次のC++言語のプログラムと同じ動作をするプログラムを作成してください。ただし、goto 文は使わないで実装してみましょう。\n */\n\n/*sucannerクラス使うためにインポート*/\nimport java.util.Scanner;\n\nclass Main {\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 処理を繰り返す\n\t\t// 数字を受け取る\n\t\tint inti = sc.nextInt();\n\t\tint[] array;\n\t\tint i = 0;\n\t\tarray = new int[inti];\n\n\t\tfor (i = 0; i < inti; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t\t// System.out.print(array[i]);\n\t\t}\n\t\tfor (; i > 0; i--) {\n\t\t\tSystem.out.print(array[i - 1]);\n\t\t\tif (i - 1 != 0)\n\t\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 処理を繰り返す\n\t\t// 数字を受け取る\n\t\tint inti = sc.nextInt();\n\t\tint[] array;\n\t\tint i = 0;\n\t\tarray = new int[inti];\n\n\t\tfor (i = 0; i < inti; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t\t// System.out.print(array[i]);\n\t\t}\n\t\tfor (; i > 0; i--) {\n\t\t\tSystem.out.print(array[i - 1]);\n\t\t\tif (i - 1 != 0)\n\t\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main",
"// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 処理を繰り返す\n\t\t// 数字を受け取る\n\t\tint inti = sc.nextInt();\n\t\tint[] array;\n\t\tint i = 0;\n\t\tarray = new int[inti];\n\n\t\tfor (i = 0; i < inti; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t\t// System.out.print(array[i]);\n\t\t}\n\t\tfor (; i > 0; i--) {\n\t\t\tSystem.out.print(array[i - 1]);\n\t\t\tif (i - 1 != 0)\n\t\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 処理を繰り返す\n\t\t// 数字を受け取る\n\t\tint inti = sc.nextInt();\n\t\tint[] array;\n\t\tint i = 0;\n\t\tarray = new int[inti];\n\n\t\tfor (i = 0; i < inti; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t\t// System.out.print(array[i]);\n\t\t}\n\t\tfor (; i > 0; i--) {\n\t\t\tSystem.out.print(array[i - 1]);\n\t\t\tif (i - 1 != 0)\n\t\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int inti = sc.nextInt();",
"inti",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[] array;",
"array",
"int i = 0;",
"i",
"0",
"array = new int[inti]",
"array",
"new int[inti]",
"inti",
"for (i = 0; i < inti; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t\t// System.out.print(array[i]);\n\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < inti",
"i",
"inti",
"i++",
"i++",
"i",
"{\n\t\t\tarray[i] = sc.nextInt();\n\t\t\t// System.out.print(array[i]);\n\t\t}",
"{\n\t\t\tarray[i] = sc.nextInt();\n\t\t\t// System.out.print(array[i]);\n\t\t}",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (; i > 0; i--) {\n\t\t\tSystem.out.print(array[i - 1]);\n\t\t\tif (i - 1 != 0)\n\t\t\t\tSystem.out.print(\" \");\n\t\t}",
";",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(array[i - 1]);\n\t\t\tif (i - 1 != 0)\n\t\t\t\tSystem.out.print(\" \");\n\t\t}",
"{\n\t\t\tSystem.out.print(array[i - 1]);\n\t\t\tif (i - 1 != 0)\n\t\t\t\tSystem.out.print(\" \");\n\t\t}",
"System.out.print(array[i - 1])",
"System.out.print",
"System.out",
"System",
"System.out",
"array[i - 1]",
"array",
"i - 1",
"i",
"1",
"if (i - 1 != 0)\n\t\t\t\tSystem.out.print(\" \");",
"i - 1 != 0",
"i - 1",
"i",
"1",
"0",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args"
] | /** goto 文は、C/C++言語などで使うことのできる文で、実行されると無条件に指定されたラベルに処理が飛びます。
* 例えば goto CHECK_NUM; という文が実行されると、プログラムの中で CHECK_NUM: と書かれた行に処理が移ります。
* この機能を使って、繰り返し処理なども実現することができます。
* 一方、goto 文は自由度が高すぎ、プログラムの可読性に影響するため、可能な限り使わないことが推奨されています。
* 次のC++言語のプログラムと同じ動作をするプログラムを作成してください。ただし、goto 文は使わないで実装してみましょう。
*/
/*sucannerクラス使うためにインポート*/
import java.util.Scanner;
class Main {
// プログラムのエントリポイント
public static void main(String[] args) {
// 入力ストリームの生成
Scanner sc = new Scanner(System.in);
// 処理を繰り返す
// 数字を受け取る
int inti = sc.nextInt();
int[] array;
int i = 0;
array = new int[inti];
for (i = 0; i < inti; i++) {
array[i] = sc.nextInt();
// System.out.print(array[i]);
}
for (; i > 0; i--) {
System.out.print(array[i - 1]);
if (i - 1 != 0)
System.out.print(" ");
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
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,
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
],
[
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
],
[
6,
80
],
[
80,
81
]
] | [
"import java.util.*;\nclass Main {\n\tpublic static void main (String[] args) throws java.lang.Exception {\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++) a[i] = sc.nextInt();\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tif(i != 0) System.out.print(\" \");\n\t\t\tSystem.out.print(a[n - i - 1]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception {\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++) a[i] = sc.nextInt();\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tif(i != 0) System.out.print(\" \");\n\t\t\tSystem.out.print(a[n - i - 1]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception {\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++) a[i] = sc.nextInt();\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tif(i != 0) System.out.print(\" \");\n\t\t\tSystem.out.print(a[n - i - 1]);\n\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\tint a[] = new int[n];\n\t\tfor(int i = 0; i < n; i++) a[i] = sc.nextInt();\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tif(i != 0) System.out.print(\" \");\n\t\t\tSystem.out.print(a[n - i - 1]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int 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 = 0; i < n; i++) {\n\t\t\tif(i != 0) System.out.print(\" \");\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\tif(i != 0) System.out.print(\" \");\n\t\t\tSystem.out.print(a[n - i - 1]);\n\t\t}",
"{\n\t\t\tif(i != 0) System.out.print(\" \");\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"
] | import java.util.*;
class Main {
public static void main (String[] args) throws java.lang.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 = 0; i < n; 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,
17,
41,
13,
20,
41,
13,
4,
18,
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,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
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.*;\n\npublic class Main {\n public static void main(String[] args) {\n int[] arr = new int[100];\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n for (int i = 0; i < n; i++) {\n arr[i] = sc.nextInt();\n }\n for (int j = n - 1; j > 0; j--) {\n System.out.print(arr[j] + \" \");\n }\n System.out.println(arr[0]);\n sc.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n int[] arr = new int[100];\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n for (int i = 0; i < n; i++) {\n arr[i] = sc.nextInt();\n }\n for (int j = n - 1; j > 0; j--) {\n System.out.print(arr[j] + \" \");\n }\n System.out.println(arr[0]);\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n int[] arr = new int[100];\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n for (int i = 0; i < n; i++) {\n arr[i] = sc.nextInt();\n }\n for (int j = n - 1; j > 0; j--) {\n System.out.print(arr[j] + \" \");\n }\n System.out.println(arr[0]);\n sc.close();\n }",
"main",
"{\n int[] arr = new int[100];\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n for (int i = 0; i < n; i++) {\n arr[i] = sc.nextInt();\n }\n for (int j = n - 1; j > 0; j--) {\n System.out.print(arr[j] + \" \");\n }\n System.out.println(arr[0]);\n sc.close();\n }",
"int[] arr = new int[100];",
"arr",
"new int[100]",
"100",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int i = 0; i < n; i++) {\n arr[i] = sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n arr[i] = sc.nextInt();\n }",
"{\n arr[i] = sc.nextInt();\n }",
"arr[i] = sc.nextInt()",
"arr[i]",
"arr",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int j = n - 1; j > 0; j--) {\n System.out.print(arr[j] + \" \");\n }",
"int j = n - 1;",
"int j = n - 1;",
"j",
"n - 1",
"n",
"1",
"j > 0",
"j",
"0",
"j--",
"j--",
"j",
"{\n System.out.print(arr[j] + \" \");\n }",
"{\n System.out.print(arr[j] + \" \");\n }",
"System.out.print(arr[j] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"arr[j] + \" \"",
"arr[j]",
"arr",
"j",
"\" \"",
"System.out.println(arr[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"arr[0]",
"arr",
"0",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n int[] arr = new int[100];\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n for (int i = 0; i < n; i++) {\n arr[i] = sc.nextInt();\n }\n for (int j = n - 1; j > 0; j--) {\n System.out.print(arr[j] + \" \");\n }\n System.out.println(arr[0]);\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n int[] arr = new int[100];\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n for (int i = 0; i < n; i++) {\n arr[i] = sc.nextInt();\n }\n for (int j = n - 1; j > 0; j--) {\n System.out.print(arr[j] + \" \");\n }\n System.out.println(arr[0]);\n sc.close();\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
int[] arr = new int[100];
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
for (int i = 0; i < n; i++) {
arr[i] = sc.nextInt();
}
for (int j = n - 1; j > 0; j--) {
System.out.print(arr[j] + " ");
}
System.out.println(arr[0]);
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,
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,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
14,
2,
13,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
13,
30,
4,
18,
18,
13,
13,
2,
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
],
[
107,
14
],
[
107,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
29,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
17,
51
],
[
51,
52
],
[
51,
53
],
[
17,
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
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
68,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
78,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
75,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
96,
97
],
[
96,
98
],
[
17,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
15,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
] | [
"import java.util.ArrayList;\nimport static java.util.Collections.reverse;\nimport java.util.List;\nimport java.util.Scanner;\n\n/**\n *\n * @author lenovo\n */\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n\n List<Integer> list = new ArrayList<>();\n\n for (int i = 0; i < n; i++) {\n int a = scanner.nextInt();\n list.add(a);\n\n }\n // Collections.sort(list, Collections.reverseOrder());\n reverse(list);\n for (int i = 0; i < list.size(); i++) {\n Integer get = list.get(i);\n if (i == list.size()-1) {\n System.out.print(get);\n } else {\n System.out.print(get + \" \");\n }\n }\n System.out.println();\n }\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import static java.util.Collections.reverse;",
"import static java.util.Collections.reverse;",
"import static java.util.Collections.reverse;",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n\n List<Integer> list = new ArrayList<>();\n\n for (int i = 0; i < n; i++) {\n int a = scanner.nextInt();\n list.add(a);\n\n }\n // Collections.sort(list, Collections.reverseOrder());\n reverse(list);\n for (int i = 0; i < list.size(); i++) {\n Integer get = list.get(i);\n if (i == list.size()-1) {\n System.out.print(get);\n } else {\n System.out.print(get + \" \");\n }\n }\n System.out.println();\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n\n List<Integer> list = new ArrayList<>();\n\n for (int i = 0; i < n; i++) {\n int a = scanner.nextInt();\n list.add(a);\n\n }\n // Collections.sort(list, Collections.reverseOrder());\n reverse(list);\n for (int i = 0; i < list.size(); i++) {\n Integer get = list.get(i);\n if (i == list.size()-1) {\n System.out.print(get);\n } else {\n System.out.print(get + \" \");\n }\n }\n System.out.println();\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n\n List<Integer> list = new ArrayList<>();\n\n for (int i = 0; i < n; i++) {\n int a = scanner.nextInt();\n list.add(a);\n\n }\n // Collections.sort(list, Collections.reverseOrder());\n reverse(list);\n for (int i = 0; i < list.size(); i++) {\n Integer get = list.get(i);\n if (i == list.size()-1) {\n System.out.print(get);\n } else {\n System.out.print(get + \" \");\n }\n }\n System.out.println();\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int n = scanner.nextInt();",
"n",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"List<Integer> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"for (int i = 0; i < n; i++) {\n int a = scanner.nextInt();\n list.add(a);\n\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n int a = scanner.nextInt();\n list.add(a);\n\n }",
"{\n int a = scanner.nextInt();\n list.add(a);\n\n }",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"list.add(a)",
"list.add",
"list",
"a",
"reverse(list)",
"reverse",
"list",
"for (int i = 0; i < list.size(); i++) {\n Integer get = list.get(i);\n if (i == list.size()-1) {\n System.out.print(get);\n } else {\n System.out.print(get + \" \");\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n Integer get = list.get(i);\n if (i == list.size()-1) {\n System.out.print(get);\n } else {\n System.out.print(get + \" \");\n }\n }",
"{\n Integer get = list.get(i);\n if (i == list.size()-1) {\n System.out.print(get);\n } else {\n System.out.print(get + \" \");\n }\n }",
"Integer get = list.get(i);",
"get",
"list.get(i)",
"list.get",
"list",
"i",
"if (i == list.size()-1) {\n System.out.print(get);\n } else {\n System.out.print(get + \" \");\n }",
"i == list.size()-1",
"i",
"list.size()-1",
"list.size()",
"list.size",
"list",
"1",
"{\n System.out.print(get);\n }",
"System.out.print(get)",
"System.out.print",
"System.out",
"System",
"System.out",
"get",
"{\n System.out.print(get + \" \");\n }",
"System.out.print(get + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"get + \" \"",
"get",
"\" \"",
"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 scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n\n List<Integer> list = new ArrayList<>();\n\n for (int i = 0; i < n; i++) {\n int a = scanner.nextInt();\n list.add(a);\n\n }\n // Collections.sort(list, Collections.reverseOrder());\n reverse(list);\n for (int i = 0; i < list.size(); i++) {\n Integer get = list.get(i);\n if (i == list.size()-1) {\n System.out.print(get);\n } else {\n System.out.print(get + \" \");\n }\n }\n System.out.println();\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n\n List<Integer> list = new ArrayList<>();\n\n for (int i = 0; i < n; i++) {\n int a = scanner.nextInt();\n list.add(a);\n\n }\n // Collections.sort(list, Collections.reverseOrder());\n reverse(list);\n for (int i = 0; i < list.size(); i++) {\n Integer get = list.get(i);\n if (i == list.size()-1) {\n System.out.print(get);\n } else {\n System.out.print(get + \" \");\n }\n }\n System.out.println();\n }\n\n}",
"Main"
] | import java.util.ArrayList;
import static java.util.Collections.reverse;
import java.util.List;
import java.util.Scanner;
/**
*
* @author lenovo
*/
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
List<Integer> list = new ArrayList<>();
for (int i = 0; i < n; i++) {
int a = scanner.nextInt();
list.add(a);
}
// Collections.sort(list, Collections.reverseOrder());
reverse(list);
for (int i = 0; i < list.size(); i++) {
Integer get = list.get(i);
if (i == list.size()-1) {
System.out.print(get);
} else {
System.out.print(get + " ");
}
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
18,
13,
13,
17,
14,
2,
13,
17,
0,
13,
2,
4,
18,
13,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
29,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
49,
56
],
[
56,
57
],
[
56,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
49,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
70,
72
],
[
66,
73
],
[
63,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
84,
86
],
[
80,
87
],
[
63,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
6,
94
],
[
94,
95
]
] | [
"import java.util.Scanner;\n\n/**\n * \n */\n\n/**\n * @author kawakami\n *\n */\nclass Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner as = new Scanner(System.in);\n\t\t\n\t\tint n=as.nextInt();\n\t\tlong tr;\n\t\tint j = 0,k = 0;\n\t\tlong jug[] = new long[n];\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\t\n\t\t\tjug[i]=as.nextInt();\n\t\n\t\t}\n\t\t\n\t\t\n\t\tfor(int l=n-1;l>=0;l--){\n\t\t\t\n\t\t\tString str=String.valueOf(jug[l])+\" \";\n\t\t\tif(l==0)\n\t\t\t\tstr=String.valueOf(jug[l])+\"\\n\";\n\t\t\t\n\t\t\t\tSystem.out.print(str);\n\t\t\t\t\n\t\t\t\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner as = new Scanner(System.in);\n\t\t\n\t\tint n=as.nextInt();\n\t\tlong tr;\n\t\tint j = 0,k = 0;\n\t\tlong jug[] = new long[n];\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\t\n\t\t\tjug[i]=as.nextInt();\n\t\n\t\t}\n\t\t\n\t\t\n\t\tfor(int l=n-1;l>=0;l--){\n\t\t\t\n\t\t\tString str=String.valueOf(jug[l])+\" \";\n\t\t\tif(l==0)\n\t\t\t\tstr=String.valueOf(jug[l])+\"\\n\";\n\t\t\t\n\t\t\t\tSystem.out.print(str);\n\t\t\t\t\n\t\t\t\n\t\t}\n\n\t}\n\n}",
"Main",
"/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner as = new Scanner(System.in);\n\t\t\n\t\tint n=as.nextInt();\n\t\tlong tr;\n\t\tint j = 0,k = 0;\n\t\tlong jug[] = new long[n];\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\t\n\t\t\tjug[i]=as.nextInt();\n\t\n\t\t}\n\t\t\n\t\t\n\t\tfor(int l=n-1;l>=0;l--){\n\t\t\t\n\t\t\tString str=String.valueOf(jug[l])+\" \";\n\t\t\tif(l==0)\n\t\t\t\tstr=String.valueOf(jug[l])+\"\\n\";\n\t\t\t\n\t\t\t\tSystem.out.print(str);\n\t\t\t\t\n\t\t\t\n\t\t}\n\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner as = new Scanner(System.in);\n\t\t\n\t\tint n=as.nextInt();\n\t\tlong tr;\n\t\tint j = 0,k = 0;\n\t\tlong jug[] = new long[n];\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\t\n\t\t\tjug[i]=as.nextInt();\n\t\n\t\t}\n\t\t\n\t\t\n\t\tfor(int l=n-1;l>=0;l--){\n\t\t\t\n\t\t\tString str=String.valueOf(jug[l])+\" \";\n\t\t\tif(l==0)\n\t\t\t\tstr=String.valueOf(jug[l])+\"\\n\";\n\t\t\t\n\t\t\t\tSystem.out.print(str);\n\t\t\t\t\n\t\t\t\n\t\t}\n\n\t}",
"Scanner as = new Scanner(System.in);",
"as",
"new Scanner(System.in)",
"int n=as.nextInt();",
"n",
"as.nextInt()",
"as.nextInt",
"as",
"long tr;",
"tr",
"int j = 0",
"j",
"0",
"k = 0;",
"k",
"0",
"long jug[] = new long[n];",
"jug",
"new long[n]",
"n",
"for(int i=0;i<n;i++){\n\t\t\t\n\t\t\tjug[i]=as.nextInt();\n\t\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\tjug[i]=as.nextInt();\n\t\n\t\t}",
"{\n\t\t\t\n\t\t\tjug[i]=as.nextInt();\n\t\n\t\t}",
"jug[i]=as.nextInt()",
"jug[i]",
"jug",
"i",
"as.nextInt()",
"as.nextInt",
"as",
"for(int l=n-1;l>=0;l--){\n\t\t\t\n\t\t\tString str=String.valueOf(jug[l])+\" \";\n\t\t\tif(l==0)\n\t\t\t\tstr=String.valueOf(jug[l])+\"\\n\";\n\t\t\t\n\t\t\t\tSystem.out.print(str);\n\t\t\t\t\n\t\t\t\n\t\t}",
"int l=n-1;",
"int l=n-1;",
"l",
"n-1",
"n",
"1",
"l>=0",
"l",
"0",
"l--",
"l--",
"l",
"{\n\t\t\t\n\t\t\tString str=String.valueOf(jug[l])+\" \";\n\t\t\tif(l==0)\n\t\t\t\tstr=String.valueOf(jug[l])+\"\\n\";\n\t\t\t\n\t\t\t\tSystem.out.print(str);\n\t\t\t\t\n\t\t\t\n\t\t}",
"{\n\t\t\t\n\t\t\tString str=String.valueOf(jug[l])+\" \";\n\t\t\tif(l==0)\n\t\t\t\tstr=String.valueOf(jug[l])+\"\\n\";\n\t\t\t\n\t\t\t\tSystem.out.print(str);\n\t\t\t\t\n\t\t\t\n\t\t}",
"String str=String.valueOf(jug[l])+\" \";",
"str",
"String.valueOf(jug[l])+\" \"",
"String.valueOf(jug[l])",
"String.valueOf",
"String",
"jug[l]",
"jug",
"l",
"\" \"",
"if(l==0)\n\t\t\t\tstr=String.valueOf(jug[l])+\"\\n\";",
"l==0",
"l",
"0",
"str=String.valueOf(jug[l])+\"\\n\"",
"str",
"String.valueOf(jug[l])+\"\\n\"",
"String.valueOf(jug[l])",
"String.valueOf",
"String",
"jug[l]",
"jug",
"l",
"\"\\n\"",
"System.out.print(str)",
"System.out.print",
"System.out",
"System",
"System.out",
"str",
"String[] args",
"args"
] | import java.util.Scanner;
/**
*
*/
/**
* @author kawakami
*
*/
class Main {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner as = new Scanner(System.in);
int n=as.nextInt();
long tr;
int j = 0,k = 0;
long jug[] = new long[n];
for(int i=0;i<n;i++){
jug[i]=as.nextInt();
}
for(int l=n-1;l>=0;l--){
String str=String.valueOf(jug[l])+" ";
if(l==0)
str=String.valueOf(jug[l])+"\n";
System.out.print(str);
}
}
} |
[
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,
18,
13,
2,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
40,
17,
1,
40,
13,
30,
0,
13,
2,
17,
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
],
[
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
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
35,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
35,
46
],
[
46,
47
],
[
47,
48
],
[
35,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
6,
63
],
[
63,
64
]
] | [
"import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint N = Integer.parseInt(br.readLine());\n String[] array = br.readLine().split(\" \");\n String str=array[N-1];\n for(int i=N-2;i>-1;i--) str+=\" \"+array[i];\n System.out.println(str);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint N = Integer.parseInt(br.readLine());\n String[] array = br.readLine().split(\" \");\n String str=array[N-1];\n for(int i=N-2;i>-1;i--) str+=\" \"+array[i];\n System.out.println(str);\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint N = Integer.parseInt(br.readLine());\n String[] array = br.readLine().split(\" \");\n String str=array[N-1];\n for(int i=N-2;i>-1;i--) str+=\" \"+array[i];\n System.out.println(str);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint N = Integer.parseInt(br.readLine());\n String[] array = br.readLine().split(\" \");\n String str=array[N-1];\n for(int i=N-2;i>-1;i--) str+=\" \"+array[i];\n System.out.println(str);\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[] array = br.readLine().split(\" \");",
"array",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"String str=array[N-1];",
"str",
"array[N-1]",
"array",
"N-1",
"N",
"1",
"for(int i=N-2;i>-1;i--) str+=\" \"+array[i];",
"int i=N-2;",
"int i=N-2;",
"i",
"N-2",
"N",
"2",
"i>-1",
"i",
"-1",
"1",
"i--",
"i--",
"i",
"str+=\" \"+array[i];",
"str+=\" \"+array[i]",
"str",
"\" \"+array[i]",
"\" \"",
"array[i]",
"array",
"i",
"System.out.println(str)",
"System.out.println",
"System.out",
"System",
"System.out",
"str",
"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[] array = br.readLine().split(" ");
String str=array[N-1];
for(int i=N-2;i>-1;i--) str+=" "+array[i];
System.out.println(str);
}
} |
[
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,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
18,
13,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
18,
13,
2,
13,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
91,
5
],
[
91,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
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
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
59,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
54,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
71,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
6,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\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 = 1; i <= n; i++) {\n\t\t\tif(i<n) {\n\t\t\t\tSystem.out.printf(\"%d \", a[n - i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d\", a[n - i]);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\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 = 1; i <= n; i++) {\n\t\t\tif(i<n) {\n\t\t\t\tSystem.out.printf(\"%d \", a[n - i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d\", a[n - i]);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\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 = 1; i <= n; i++) {\n\t\t\tif(i<n) {\n\t\t\t\tSystem.out.printf(\"%d \", a[n - i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d\", a[n - i]);\n\t\t\t}\n\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\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 = 1; i <= n; i++) {\n\t\t\tif(i<n) {\n\t\t\t\tSystem.out.printf(\"%d \", a[n - i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d\", a[n - i]);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"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 = 1; i <= n; i++) {\n\t\t\tif(i<n) {\n\t\t\t\tSystem.out.printf(\"%d \", a[n - i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d\", a[n - i]);\n\t\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tif(i<n) {\n\t\t\t\tSystem.out.printf(\"%d \", a[n - i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d\", a[n - i]);\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(i<n) {\n\t\t\t\tSystem.out.printf(\"%d \", a[n - i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d\", a[n - i]);\n\t\t\t}\n\t\t}",
"if(i<n) {\n\t\t\t\tSystem.out.printf(\"%d \", a[n - i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d\", a[n - i]);\n\t\t\t}",
"i<n",
"i",
"n",
"{\n\t\t\t\tSystem.out.printf(\"%d \", a[n - i]);\n\t\t\t}",
"System.out.printf(\"%d \", a[n - i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d \"",
"a[n - i]",
"a",
"n - i",
"n",
"i",
"{\n\t\t\t\tSystem.out.printf(\"%d\", a[n - i]);\n\t\t\t}",
"System.out.printf(\"%d\", a[n - i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\"",
"a[n - i]",
"a",
"n - i",
"n",
"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 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 = 1; i <= n; i++) {\n\t\t\tif(i<n) {\n\t\t\t\tSystem.out.printf(\"%d \", a[n - i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d\", a[n - i]);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint 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 = 1; i <= n; i++) {\n\t\t\tif(i<n) {\n\t\t\t\tSystem.out.printf(\"%d \", a[n - i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.printf(\"%d\", a[n - i]);\n\t\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 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 = 1; i <= n; i++) {
if(i<n) {
System.out.printf("%d ", a[n - i]);
} else {
System.out.printf("%d", a[n - 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,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
78,
11
],
[
78,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
28,
33
],
[
14,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
34,
41
],
[
41,
42
],
[
41,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
48,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
57,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
12,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String str[] = br.readLine().split(\" \");\n for(int i=n-1;i>=0;i--){\n System.out.print(str[i]);\n if(i>0){\n System.out.print(\" \");\n }else{\n System.out.print(\"\\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",
"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 str[] = br.readLine().split(\" \");\n for(int i=n-1;i>=0;i--){\n System.out.print(str[i]);\n if(i>0){\n System.out.print(\" \");\n }else{\n System.out.print(\"\\n\");\n }\n }\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 str[] = br.readLine().split(\" \");\n for(int i=n-1;i>=0;i--){\n System.out.print(str[i]);\n if(i>0){\n System.out.print(\" \");\n }else{\n System.out.print(\"\\n\");\n }\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String str[] = br.readLine().split(\" \");\n for(int i=n-1;i>=0;i--){\n System.out.print(str[i]);\n if(i>0){\n System.out.print(\" \");\n }else{\n System.out.print(\"\\n\");\n }\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int n = Integer.parseInt(br.readLine());",
"n",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"String str[] = br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for(int i=n-1;i>=0;i--){\n System.out.print(str[i]);\n if(i>0){\n System.out.print(\" \");\n }else{\n System.out.print(\"\\n\");\n }\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(str[i]);\n if(i>0){\n System.out.print(\" \");\n }else{\n System.out.print(\"\\n\");\n }\n }",
"{\n System.out.print(str[i]);\n if(i>0){\n System.out.print(\" \");\n }else{\n System.out.print(\"\\n\");\n }\n }",
"System.out.print(str[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"str[i]",
"str",
"i",
"if(i>0){\n System.out.print(\" \");\n }else{\n System.out.print(\"\\n\");\n }",
"i>0",
"i",
"0",
"{\n System.out.print(\" \");\n }",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"{\n System.out.print(\"\\n\");\n }",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"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 str[] = br.readLine().split(\" \");\n for(int i=n-1;i>=0;i--){\n System.out.print(str[i]);\n if(i>0){\n System.out.print(\" \");\n }else{\n System.out.print(\"\\n\");\n }\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 int n = Integer.parseInt(br.readLine());\n String str[] = br.readLine().split(\" \");\n for(int i=n-1;i>=0;i--){\n System.out.print(str[i]);\n if(i>0){\n System.out.print(\" \");\n }else{\n System.out.print(\"\\n\");\n }\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(br.readLine());
String str[] = br.readLine().split(" ");
for(int i=n-1;i>=0;i--){
System.out.print(str[i]);
if(i>0){
System.out.print(" ");
}else{
System.out.print("\n");
}
}
}
} |
[
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,
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,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
17,
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
],
[
92,
8
],
[
92,
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
],
[
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
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
11,
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
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
80,
80
],
[
80,
81
],
[
80,
82
],
[
80,
83
],
[
11,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
9,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"import java.util.*;\nimport java.lang.*;\n\n/**\n * ReversingNumbers\n */\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n int array[] = new int[n];\n\n for (int i = 0; i < n; i++) {\n array[i] = sc.nextInt();\n }\n System.out.print(array[n - 1]);\n\n for (int i = 1; i < n; i++) {\n System.out.print(\" \" + array[n - i - 1]);\n }\n System.out.println();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n int array[] = new int[n];\n\n for (int i = 0; i < n; i++) {\n array[i] = sc.nextInt();\n }\n System.out.print(array[n - 1]);\n\n for (int i = 1; i < n; i++) {\n System.out.print(\" \" + array[n - i - 1]);\n }\n System.out.println();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n int array[] = new int[n];\n\n for (int i = 0; i < n; i++) {\n array[i] = sc.nextInt();\n }\n System.out.print(array[n - 1]);\n\n for (int i = 1; i < n; i++) {\n System.out.print(\" \" + array[n - i - 1]);\n }\n System.out.println();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n int array[] = new int[n];\n\n for (int i = 0; i < n; i++) {\n array[i] = sc.nextInt();\n }\n System.out.print(array[n - 1]);\n\n for (int i = 1; i < n; i++) {\n System.out.print(\" \" + array[n - i - 1]);\n }\n System.out.println();\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",
"int array[] = new int[n];",
"array",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n array[i] = sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n array[i] = sc.nextInt();\n }",
"{\n array[i] = sc.nextInt();\n }",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.print(array[n - 1])",
"System.out.print",
"System.out",
"System",
"System.out",
"array[n - 1]",
"array",
"n - 1",
"n",
"1",
"for (int i = 1; i < n; i++) {\n System.out.print(\" \" + array[n - i - 1]);\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n System.out.print(\" \" + array[n - i - 1]);\n }",
"{\n System.out.print(\" \" + array[n - i - 1]);\n }",
"System.out.print(\" \" + array[n - i - 1])",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \" + array[n - i - 1]",
"\" \"",
"array[n - i - 1]",
"array",
"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 public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n int array[] = new int[n];\n\n for (int i = 0; i < n; i++) {\n array[i] = sc.nextInt();\n }\n System.out.print(array[n - 1]);\n\n for (int i = 1; i < n; i++) {\n System.out.print(\" \" + array[n - i - 1]);\n }\n System.out.println();\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n int array[] = new int[n];\n\n for (int i = 0; i < n; i++) {\n array[i] = sc.nextInt();\n }\n System.out.print(array[n - 1]);\n\n for (int i = 1; i < n; i++) {\n System.out.print(\" \" + array[n - i - 1]);\n }\n System.out.println();\n }\n}",
"Main"
] | import java.util.*;
import java.lang.*;
/**
* ReversingNumbers
*/
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = Integer.parseInt(sc.next());
int array[] = new int[n];
for (int i = 0; i < n; i++) {
array[i] = sc.nextInt();
}
System.out.print(array[n - 1]);
for (int i = 1; i < n; i++) {
System.out.print(" " + array[n - i - 1]);
}
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,
11,
1,
41,
13,
2,
13,
17,
2,
17,
13,
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
],
[
74,
5
],
[
74,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
25,
30
],
[
8,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
31,
38
],
[
38,
39
],
[
38,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
8,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
6,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] | [
"import java.io.*;\npublic class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sbu=new StringBuilder();\n int x=Integer.parseInt(buf.readLine());\n String[] num=buf.readLine().split(\" \");\n for(int i=x-1;0<=i;i--){\n sbu.append(num[i]+\" \");\n }\n int y=sbu.length();\n sbu.deleteCharAt(y-1);\n System.out.println(sbu);\n }\n }",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sbu=new StringBuilder();\n int x=Integer.parseInt(buf.readLine());\n String[] num=buf.readLine().split(\" \");\n for(int i=x-1;0<=i;i--){\n sbu.append(num[i]+\" \");\n }\n int y=sbu.length();\n sbu.deleteCharAt(y-1);\n System.out.println(sbu);\n }\n }",
"Main",
"public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sbu=new StringBuilder();\n int x=Integer.parseInt(buf.readLine());\n String[] num=buf.readLine().split(\" \");\n for(int i=x-1;0<=i;i--){\n sbu.append(num[i]+\" \");\n }\n int y=sbu.length();\n sbu.deleteCharAt(y-1);\n System.out.println(sbu);\n }",
"main",
"{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sbu=new StringBuilder();\n int x=Integer.parseInt(buf.readLine());\n String[] num=buf.readLine().split(\" \");\n for(int i=x-1;0<=i;i--){\n sbu.append(num[i]+\" \");\n }\n int y=sbu.length();\n sbu.deleteCharAt(y-1);\n System.out.println(sbu);\n }",
"BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));",
"buf",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sbu=new StringBuilder();",
"sbu",
"new StringBuilder()",
"int x=Integer.parseInt(buf.readLine());",
"x",
"Integer.parseInt(buf.readLine())",
"Integer.parseInt",
"Integer",
"buf.readLine()",
"buf.readLine",
"buf",
"String[] num=buf.readLine().split(\" \");",
"num",
"buf.readLine().split(\" \")",
"buf.readLine().split",
"buf.readLine()",
"buf.readLine",
"buf",
"\" \"",
"for(int i=x-1;0<=i;i--){\n sbu.append(num[i]+\" \");\n }",
"int i=x-1;",
"int i=x-1;",
"i",
"x-1",
"x",
"1",
"0<=i",
"0",
"i",
"i--",
"i--",
"i",
"{\n sbu.append(num[i]+\" \");\n }",
"{\n sbu.append(num[i]+\" \");\n }",
"sbu.append(num[i]+\" \")",
"sbu.append",
"sbu",
"num[i]+\" \"",
"num[i]",
"num",
"i",
"\" \"",
"int y=sbu.length();",
"y",
"sbu.length()",
"sbu.length",
"sbu",
"sbu.deleteCharAt(y-1)",
"sbu.deleteCharAt",
"sbu",
"y-1",
"y",
"1",
"System.out.println(sbu)",
"System.out.println",
"System.out",
"System",
"System.out",
"sbu",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sbu=new StringBuilder();\n int x=Integer.parseInt(buf.readLine());\n String[] num=buf.readLine().split(\" \");\n for(int i=x-1;0<=i;i--){\n sbu.append(num[i]+\" \");\n }\n int y=sbu.length();\n sbu.deleteCharAt(y-1);\n System.out.println(sbu);\n }\n }",
"public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sbu=new StringBuilder();\n int x=Integer.parseInt(buf.readLine());\n String[] num=buf.readLine().split(\" \");\n for(int i=x-1;0<=i;i--){\n sbu.append(num[i]+\" \");\n }\n int y=sbu.length();\n sbu.deleteCharAt(y-1);\n System.out.println(sbu);\n }\n }",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
StringBuilder sbu=new StringBuilder();
int x=Integer.parseInt(buf.readLine());
String[] num=buf.readLine().split(" ");
for(int i=x-1;0<=i;i--){
sbu.append(num[i]+" ");
}
int y=sbu.length();
sbu.deleteCharAt(y-1);
System.out.println(sbu);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
20,
13,
14,
2,
13,
17,
30,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
2,
17,
13,
2,
13,
17,
30,
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
],
[
106,
5
],
[
106,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
31,
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
],
[
31,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
6,
103
],
[
103,
104
],
[
0,
105
],
[
105,
106
],
[
105,
107
]
] | [
"import java.util.Scanner;\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 x = 0, i = 0;\n int[] arr = new int[n];\n if(n <= 100){\n for(i = 0;i < n ;i++){\n \tx = scan.nextInt();\n \tif(0 <= x && x < 1000){\n \tarr[i] = x;\n \t}\n }\n for(i = n-1;i >= 0;i--){\n System.out.print(arr[i]);\n if( i > 0){\n System.out.print(\" \");\n }\n }System.out.println();\n \n }\n\t\t\n\t\t\n\t\t}\n}\t\n\t\t\t\n\t\t\n\t\n\t\t\n\t\t\n\n\n\n\t\t",
"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 x = 0, i = 0;\n int[] arr = new int[n];\n if(n <= 100){\n for(i = 0;i < n ;i++){\n \tx = scan.nextInt();\n \tif(0 <= x && x < 1000){\n \tarr[i] = x;\n \t}\n }\n for(i = n-1;i >= 0;i--){\n System.out.print(arr[i]);\n if( i > 0){\n System.out.print(\" \");\n }\n }System.out.println();\n \n }\n\t\t\n\t\t\n\t\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 x = 0, i = 0;\n int[] arr = new int[n];\n if(n <= 100){\n for(i = 0;i < n ;i++){\n \tx = scan.nextInt();\n \tif(0 <= x && x < 1000){\n \tarr[i] = x;\n \t}\n }\n for(i = n-1;i >= 0;i--){\n System.out.print(arr[i]);\n if( i > 0){\n System.out.print(\" \");\n }\n }System.out.println();\n \n }\n\t\t\n\t\t\n\t\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint x = 0, i = 0;\n int[] arr = new int[n];\n if(n <= 100){\n for(i = 0;i < n ;i++){\n \tx = scan.nextInt();\n \tif(0 <= x && x < 1000){\n \tarr[i] = x;\n \t}\n }\n for(i = n-1;i >= 0;i--){\n System.out.print(arr[i]);\n if( i > 0){\n System.out.print(\" \");\n }\n }System.out.println();\n \n }\n\t\t\n\t\t\n\t\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int x = 0",
"x",
"0",
"i = 0;",
"i",
"0",
"int[] arr = new int[n];",
"arr",
"new int[n]",
"n",
"if(n <= 100){\n for(i = 0;i < n ;i++){\n \tx = scan.nextInt();\n \tif(0 <= x && x < 1000){\n \tarr[i] = x;\n \t}\n }\n for(i = n-1;i >= 0;i--){\n System.out.print(arr[i]);\n if( i > 0){\n System.out.print(\" \");\n }\n }System.out.println();\n \n }",
"n <= 100",
"n",
"100",
"{\n for(i = 0;i < n ;i++){\n \tx = scan.nextInt();\n \tif(0 <= x && x < 1000){\n \tarr[i] = x;\n \t}\n }\n for(i = n-1;i >= 0;i--){\n System.out.print(arr[i]);\n if( i > 0){\n System.out.print(\" \");\n }\n }System.out.println();\n \n }",
"for(i = 0;i < n ;i++){\n \tx = scan.nextInt();\n \tif(0 <= x && x < 1000){\n \tarr[i] = x;\n \t}\n }",
"i = 0;",
"i = 0",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n \tx = scan.nextInt();\n \tif(0 <= x && x < 1000){\n \tarr[i] = x;\n \t}\n }",
"{\n \tx = scan.nextInt();\n \tif(0 <= x && x < 1000){\n \tarr[i] = x;\n \t}\n }",
"x = scan.nextInt()",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(0 <= x && x < 1000){\n \tarr[i] = x;\n \t}",
"0 <= x && x < 1000",
"0 <= x",
"0",
"x",
"x < 1000",
"x",
"1000",
"{\n \tarr[i] = x;\n \t}",
"arr[i] = x",
"arr[i]",
"arr",
"i",
"x",
"for(i = n-1;i >= 0;i--){\n System.out.print(arr[i]);\n if( i > 0){\n System.out.print(\" \");\n }\n }",
"i = n-1;",
"i = n-1",
"i",
"n-1",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n System.out.print(arr[i]);\n if( i > 0){\n System.out.print(\" \");\n }\n }",
"{\n System.out.print(arr[i]);\n if( i > 0){\n System.out.print(\" \");\n }\n }",
"System.out.print(arr[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"arr[i]",
"arr",
"i",
"if( i > 0){\n System.out.print(\" \");\n }",
"i > 0",
"i",
"0",
"{\n System.out.print(\" \");\n }",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\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 x = 0, i = 0;\n int[] arr = new int[n];\n if(n <= 100){\n for(i = 0;i < n ;i++){\n \tx = scan.nextInt();\n \tif(0 <= x && x < 1000){\n \tarr[i] = x;\n \t}\n }\n for(i = n-1;i >= 0;i--){\n System.out.print(arr[i]);\n if( i > 0){\n System.out.print(\" \");\n }\n }System.out.println();\n \n }\n\t\t\n\t\t\n\t\t}\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 x = 0, i = 0;\n int[] arr = new int[n];\n if(n <= 100){\n for(i = 0;i < n ;i++){\n \tx = scan.nextInt();\n \tif(0 <= x && x < 1000){\n \tarr[i] = x;\n \t}\n }\n for(i = n-1;i >= 0;i--){\n System.out.print(arr[i]);\n if( i > 0){\n System.out.print(\" \");\n }\n }System.out.println();\n \n }\n\t\t\n\t\t\n\t\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 x = 0, i = 0;
int[] arr = new int[n];
if(n <= 100){
for(i = 0;i < n ;i++){
x = scan.nextInt();
if(0 <= x && x < 1000){
arr[i] = x;
}
}
for(i = n-1;i >= 0;i--){
System.out.print(arr[i]);
if( i > 0){
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,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
2,
4,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
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
],
[
82,
11
],
[
82,
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
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
38,
43
],
[
34,
44
],
[
44,
45
],
[
44,
46
],
[
34,
47
],
[
47,
48
],
[
48,
49
],
[
34,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
51,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
51,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
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\tpublic static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n \n \tString input = br.readLine();\n \tString[] inputan = br.readLine().split(\" \");\n \tfor (int j = Integer.parseInt(input) - 1; j >= 0; j--)\n \t{\n \t\tSystem.out.print(inputan[j]);\n \t\tif (j > 0)\n \t\t\tSystem.out.print(\" \");\n \t\tif (j == 0)\n \t\t\tSystem.out.println();\n \t}\n \t\n \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\tpublic static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n \n \tString input = br.readLine();\n \tString[] inputan = br.readLine().split(\" \");\n \tfor (int j = Integer.parseInt(input) - 1; j >= 0; j--)\n \t{\n \t\tSystem.out.print(inputan[j]);\n \t\tif (j > 0)\n \t\t\tSystem.out.print(\" \");\n \t\tif (j == 0)\n \t\t\tSystem.out.println();\n \t}\n \t\n \t\n\t}\n\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n \n \tString input = br.readLine();\n \tString[] inputan = br.readLine().split(\" \");\n \tfor (int j = Integer.parseInt(input) - 1; j >= 0; j--)\n \t{\n \t\tSystem.out.print(inputan[j]);\n \t\tif (j > 0)\n \t\t\tSystem.out.print(\" \");\n \t\tif (j == 0)\n \t\t\tSystem.out.println();\n \t}\n \t\n \t\n\t}",
"main",
"{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n \n \tString input = br.readLine();\n \tString[] inputan = br.readLine().split(\" \");\n \tfor (int j = Integer.parseInt(input) - 1; j >= 0; j--)\n \t{\n \t\tSystem.out.print(inputan[j]);\n \t\tif (j > 0)\n \t\t\tSystem.out.print(\" \");\n \t\tif (j == 0)\n \t\t\tSystem.out.println();\n \t}\n \t\n \t\n\t}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"String input = br.readLine();",
"input",
"br.readLine()",
"br.readLine",
"br",
"String[] inputan = br.readLine().split(\" \");",
"inputan",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for (int j = Integer.parseInt(input) - 1; j >= 0; j--)\n \t{\n \t\tSystem.out.print(inputan[j]);\n \t\tif (j > 0)\n \t\t\tSystem.out.print(\" \");\n \t\tif (j == 0)\n \t\t\tSystem.out.println();\n \t}",
"int j = Integer.parseInt(input) - 1;",
"int j = Integer.parseInt(input) - 1;",
"j",
"Integer.parseInt(input) - 1",
"Integer.parseInt(input)",
"Integer.parseInt",
"Integer",
"input",
"1",
"j >= 0",
"j",
"0",
"j--",
"j--",
"j",
"{\n \t\tSystem.out.print(inputan[j]);\n \t\tif (j > 0)\n \t\t\tSystem.out.print(\" \");\n \t\tif (j == 0)\n \t\t\tSystem.out.println();\n \t}",
"{\n \t\tSystem.out.print(inputan[j]);\n \t\tif (j > 0)\n \t\t\tSystem.out.print(\" \");\n \t\tif (j == 0)\n \t\t\tSystem.out.println();\n \t}",
"System.out.print(inputan[j])",
"System.out.print",
"System.out",
"System",
"System.out",
"inputan[j]",
"inputan",
"j",
"if (j > 0)\n \t\t\tSystem.out.print(\" \");",
"j > 0",
"j",
"0",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"if (j == 0)\n \t\t\tSystem.out.println();",
"j == 0",
"j",
"0",
"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\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n \n \tString input = br.readLine();\n \tString[] inputan = br.readLine().split(\" \");\n \tfor (int j = Integer.parseInt(input) - 1; j >= 0; j--)\n \t{\n \t\tSystem.out.print(inputan[j]);\n \t\tif (j > 0)\n \t\t\tSystem.out.print(\" \");\n \t\tif (j == 0)\n \t\t\tSystem.out.println();\n \t}\n \t\n \t\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n \n \tString input = br.readLine();\n \tString[] inputan = br.readLine().split(\" \");\n \tfor (int j = Integer.parseInt(input) - 1; j >= 0; j--)\n \t{\n \t\tSystem.out.print(inputan[j]);\n \t\tif (j > 0)\n \t\t\tSystem.out.print(\" \");\n \t\tif (j == 0)\n \t\t\tSystem.out.println();\n \t}\n \t\n \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)throws IOException{
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String input = br.readLine();
String[] inputan = br.readLine().split(" ");
for (int j = Integer.parseInt(input) - 1; j >= 0; j--)
{
System.out.print(inputan[j]);
if (j > 0)
System.out.print(" ");
if (j == 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,
41,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
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
],
[
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
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
49,
50
],
[
43,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
52,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
63,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
63,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args)\n {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int[] a = new int[n];\n int i;\n for(i=0; i<n;i++){\n a[i] = scanner.nextInt();\n }\n\n for(; i>0; i--){\n System.out.print(a[i-1]);\n if(i-1 != 0) System.out.print(\" \");\n else System.out.println();\n }\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args)\n {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int[] a = new int[n];\n int i;\n for(i=0; i<n;i++){\n a[i] = scanner.nextInt();\n }\n\n for(; i>0; i--){\n System.out.print(a[i-1]);\n if(i-1 != 0) System.out.print(\" \");\n else System.out.println();\n }\n}\n}",
"Main",
"public static void main(String[] args)\n {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int[] a = new int[n];\n int i;\n for(i=0; i<n;i++){\n a[i] = scanner.nextInt();\n }\n\n for(; i>0; i--){\n System.out.print(a[i-1]);\n if(i-1 != 0) System.out.print(\" \");\n else System.out.println();\n }\n}",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int[] a = new int[n];\n int i;\n for(i=0; i<n;i++){\n a[i] = scanner.nextInt();\n }\n\n for(; i>0; i--){\n System.out.print(a[i-1]);\n if(i-1 != 0) System.out.print(\" \");\n else System.out.println();\n }\n}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int n = scanner.nextInt();",
"n",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"int i;",
"i",
"for(i=0; i<n;i++){\n a[i] = scanner.nextInt();\n }",
"i=0;",
"i=0",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = scanner.nextInt();\n }",
"{\n a[i] = scanner.nextInt();\n }",
"a[i] = scanner.nextInt()",
"a[i]",
"a",
"i",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"for(; i>0; i--){\n System.out.print(a[i-1]);\n if(i-1 != 0) System.out.print(\" \");\n else System.out.println();\n }",
";",
"i>0",
"i",
"0",
"i--",
"i--",
"i",
"{\n System.out.print(a[i-1]);\n if(i-1 != 0) System.out.print(\" \");\n else System.out.println();\n }",
"{\n System.out.print(a[i-1]);\n if(i-1 != 0) System.out.print(\" \");\n else System.out.println();\n }",
"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 != 0) System.out.print(\" \");\n else System.out.println();",
"i-1 != 0",
"i-1",
"i",
"1",
"0",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args)\n {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int[] a = new int[n];\n int i;\n for(i=0; i<n;i++){\n a[i] = scanner.nextInt();\n }\n\n for(; i>0; i--){\n System.out.print(a[i-1]);\n if(i-1 != 0) System.out.print(\" \");\n else System.out.println();\n }\n}\n}",
"public class Main{\n public static void main(String[] args)\n {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int[] a = new int[n];\n int i;\n for(i=0; i<n;i++){\n a[i] = scanner.nextInt();\n }\n\n for(; i>0; i--){\n System.out.print(a[i-1]);\n if(i-1 != 0) System.out.print(\" \");\n else System.out.println();\n }\n}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args)
{
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int[] a = new int[n];
int i;
for(i=0; i<n;i++){
a[i] = scanner.nextInt();
}
for(; i>0; i--){
System.out.print(a[i-1]);
if(i-1 != 0) System.out.print(" ");
else System.out.println();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
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,
13,
13,
17,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
100,
5
],
[
100,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
41,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
47,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
65,
69
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
76,
81
],
[
62,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
8,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
6,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
] | [
"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 ArrayList<String> a = new ArrayList<>();\n\n for (int i = 0; i < n; i++) {\n a.add(scan.next());\n }\n\n Collections.reverse(a);\n for(int i = 0; i < a.size(); i++){\n if(i < a.size()-1){\n System.out.print(a.get(i) + \" \");\n }else{\n System.out.print(a.get(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 ArrayList<String> a = new ArrayList<>();\n\n for (int i = 0; i < n; i++) {\n a.add(scan.next());\n }\n\n Collections.reverse(a);\n for(int i = 0; i < a.size(); i++){\n if(i < a.size()-1){\n System.out.print(a.get(i) + \" \");\n }else{\n System.out.print(a.get(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 ArrayList<String> a = new ArrayList<>();\n\n for (int i = 0; i < n; i++) {\n a.add(scan.next());\n }\n\n Collections.reverse(a);\n for(int i = 0; i < a.size(); i++){\n if(i < a.size()-1){\n System.out.print(a.get(i) + \" \");\n }else{\n System.out.print(a.get(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 ArrayList<String> a = new ArrayList<>();\n\n for (int i = 0; i < n; i++) {\n a.add(scan.next());\n }\n\n Collections.reverse(a);\n for(int i = 0; i < a.size(); i++){\n if(i < a.size()-1){\n System.out.print(a.get(i) + \" \");\n }else{\n System.out.print(a.get(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",
"ArrayList<String> a = new ArrayList<>();",
"a",
"new ArrayList<>()",
"for (int i = 0; i < n; i++) {\n a.add(scan.next());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a.add(scan.next());\n }",
"{\n a.add(scan.next());\n }",
"a.add(scan.next())",
"a.add",
"a",
"scan.next()",
"scan.next",
"scan",
"Collections.reverse(a)",
"Collections.reverse",
"Collections",
"a",
"for(int i = 0; i < a.size(); i++){\n if(i < a.size()-1){\n System.out.print(a.get(i) + \" \");\n }else{\n System.out.print(a.get(i));\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.size()",
"i",
"a.size()",
"a.size",
"a",
"i++",
"i++",
"i",
"{\n if(i < a.size()-1){\n System.out.print(a.get(i) + \" \");\n }else{\n System.out.print(a.get(i));\n }\n }",
"{\n if(i < a.size()-1){\n System.out.print(a.get(i) + \" \");\n }else{\n System.out.print(a.get(i));\n }\n }",
"if(i < a.size()-1){\n System.out.print(a.get(i) + \" \");\n }else{\n System.out.print(a.get(i));\n }",
"i < a.size()-1",
"i",
"a.size()-1",
"a.size()",
"a.size",
"a",
"1",
"{\n System.out.print(a.get(i) + \" \");\n }",
"System.out.print(a.get(i) + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"a.get(i) + \" \"",
"a.get(i)",
"a.get",
"a",
"i",
"\" \"",
"{\n System.out.print(a.get(i));\n }",
"System.out.print(a.get(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"a.get(i)",
"a.get",
"a",
"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 ArrayList<String> a = new ArrayList<>();\n\n for (int i = 0; i < n; i++) {\n a.add(scan.next());\n }\n\n Collections.reverse(a);\n for(int i = 0; i < a.size(); i++){\n if(i < a.size()-1){\n System.out.print(a.get(i) + \" \");\n }else{\n System.out.print(a.get(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 ArrayList<String> a = new ArrayList<>();\n\n for (int i = 0; i < n; i++) {\n a.add(scan.next());\n }\n\n Collections.reverse(a);\n for(int i = 0; i < a.size(); i++){\n if(i < a.size()-1){\n System.out.print(a.get(i) + \" \");\n }else{\n System.out.print(a.get(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];
ArrayList<String> a = new ArrayList<>();
for (int i = 0; i < n; i++) {
a.add(scan.next());
}
Collections.reverse(a);
for(int i = 0; i < a.size(); i++){
if(i < a.size()-1){
System.out.print(a.get(i) + " ");
}else{
System.out.print(a.get(i));
}
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
41,
13,
20,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
0,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
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
],
[
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
],
[
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
],
[
77,
82
],
[
6,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(),x;\n\t\tint[] a=new int[n];\n\t\tfor(x=0;x<n;x++){\n\t\ta[x] = sc.nextInt();\n\t\t}\n\t\tfor(x=n-1;x>=0;x--){\n\t\tSystem.out.print(a[x]);\n\t\tif(x!=0){System.out.print(\" \");}\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 sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(),x;\n\t\tint[] a=new int[n];\n\t\tfor(x=0;x<n;x++){\n\t\ta[x] = sc.nextInt();\n\t\t}\n\t\tfor(x=n-1;x>=0;x--){\n\t\tSystem.out.print(a[x]);\n\t\tif(x!=0){System.out.print(\" \");}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(),x;\n\t\tint[] a=new int[n];\n\t\tfor(x=0;x<n;x++){\n\t\ta[x] = sc.nextInt();\n\t\t}\n\t\tfor(x=n-1;x>=0;x--){\n\t\tSystem.out.print(a[x]);\n\t\tif(x!=0){System.out.print(\" \");}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(),x;\n\t\tint[] a=new int[n];\n\t\tfor(x=0;x<n;x++){\n\t\ta[x] = sc.nextInt();\n\t\t}\n\t\tfor(x=n-1;x>=0;x--){\n\t\tSystem.out.print(a[x]);\n\t\tif(x!=0){System.out.print(\" \");}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"x;",
"x",
"int[] a=new int[n];",
"a",
"new int[n]",
"n",
"for(x=0;x<n;x++){\n\t\ta[x] = sc.nextInt();\n\t\t}",
"x=0;",
"x=0",
"x",
"0",
"x<n",
"x",
"n",
"x++",
"x++",
"x",
"{\n\t\ta[x] = sc.nextInt();\n\t\t}",
"{\n\t\ta[x] = sc.nextInt();\n\t\t}",
"a[x] = sc.nextInt()",
"a[x]",
"a",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(x=n-1;x>=0;x--){\n\t\tSystem.out.print(a[x]);\n\t\tif(x!=0){System.out.print(\" \");}\n\t\t}",
"x=n-1;",
"x=n-1",
"x",
"n-1",
"n",
"1",
"x>=0",
"x",
"0",
"x--",
"x--",
"x",
"{\n\t\tSystem.out.print(a[x]);\n\t\tif(x!=0){System.out.print(\" \");}\n\t\t}",
"{\n\t\tSystem.out.print(a[x]);\n\t\tif(x!=0){System.out.print(\" \");}\n\t\t}",
"System.out.print(a[x])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[x]",
"a",
"x",
"if(x!=0){System.out.print(\" \");}",
"x!=0",
"x",
"0",
"{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",
"\"\"",
"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(),x;\n\t\tint[] a=new int[n];\n\t\tfor(x=0;x<n;x++){\n\t\ta[x] = sc.nextInt();\n\t\t}\n\t\tfor(x=n-1;x>=0;x--){\n\t\tSystem.out.print(a[x]);\n\t\tif(x!=0){System.out.print(\" \");}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(),x;\n\t\tint[] a=new int[n];\n\t\tfor(x=0;x<n;x++){\n\t\ta[x] = sc.nextInt();\n\t\t}\n\t\tfor(x=n-1;x>=0;x--){\n\t\tSystem.out.print(a[x]);\n\t\tif(x!=0){System.out.print(\" \");}\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 sc = new Scanner(System.in);
int n = sc.nextInt(),x;
int[] a=new int[n];
for(x=0;x<n;x++){
a[x] = sc.nextInt();
}
for(x=n-1;x>=0;x--){
System.out.print(a[x]);
if(x!=0){System.out.print(" ");}
}
System.out.println("");
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
13,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
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
]
] | [
"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 int a = sc.nextInt();\n int[] l = new int[a];\n\n for(int i = 0; i < a; i++) {\n \tl[i] = sc.nextInt();\n }\n\n for(int j = a-1; j >= 0; j--) {\n \tif(j == 0) {\n \tSystem.out.println(l[j]);\n \t} else {\n \tSystem.out.print(l[j] + \" \");\n \t}\n\n }\n\t}\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int[] l = new int[a];\n\n for(int i = 0; i < a; i++) {\n \tl[i] = sc.nextInt();\n }\n\n for(int j = a-1; j >= 0; j--) {\n \tif(j == 0) {\n \tSystem.out.println(l[j]);\n \t} else {\n \tSystem.out.print(l[j] + \" \");\n \t}\n\n }\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int[] l = new int[a];\n\n for(int i = 0; i < a; i++) {\n \tl[i] = sc.nextInt();\n }\n\n for(int j = a-1; j >= 0; j--) {\n \tif(j == 0) {\n \tSystem.out.println(l[j]);\n \t} else {\n \tSystem.out.print(l[j] + \" \");\n \t}\n\n }\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int[] l = new int[a];\n\n for(int i = 0; i < a; i++) {\n \tl[i] = sc.nextInt();\n }\n\n for(int j = a-1; j >= 0; j--) {\n \tif(j == 0) {\n \tSystem.out.println(l[j]);\n \t} else {\n \tSystem.out.print(l[j] + \" \");\n \t}\n\n }\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[] l = new int[a];",
"l",
"new int[a]",
"a",
"for(int i = 0; i < a; i++) {\n \tl[i] = sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a",
"i",
"a",
"i++",
"i++",
"i",
"{\n \tl[i] = sc.nextInt();\n }",
"{\n \tl[i] = sc.nextInt();\n }",
"l[i] = sc.nextInt()",
"l[i]",
"l",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int j = a-1; j >= 0; j--) {\n \tif(j == 0) {\n \tSystem.out.println(l[j]);\n \t} else {\n \tSystem.out.print(l[j] + \" \");\n \t}\n\n }",
"int j = a-1;",
"int j = a-1;",
"j",
"a-1",
"a",
"1",
"j >= 0",
"j",
"0",
"j--",
"j--",
"j",
"{\n \tif(j == 0) {\n \tSystem.out.println(l[j]);\n \t} else {\n \tSystem.out.print(l[j] + \" \");\n \t}\n\n }",
"{\n \tif(j == 0) {\n \tSystem.out.println(l[j]);\n \t} else {\n \tSystem.out.print(l[j] + \" \");\n \t}\n\n }",
"if(j == 0) {\n \tSystem.out.println(l[j]);\n \t} else {\n \tSystem.out.print(l[j] + \" \");\n \t}",
"j == 0",
"j",
"0",
"{\n \tSystem.out.println(l[j]);\n \t}",
"System.out.println(l[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"l[j]",
"l",
"j",
"{\n \tSystem.out.print(l[j] + \" \");\n \t}",
"System.out.print(l[j] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"l[j] + \" \"",
"l[j]",
"l",
"j",
"\" \"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int[] l = new int[a];\n\n for(int i = 0; i < a; i++) {\n \tl[i] = sc.nextInt();\n }\n\n for(int j = a-1; j >= 0; j--) {\n \tif(j == 0) {\n \tSystem.out.println(l[j]);\n \t} else {\n \tSystem.out.print(l[j] + \" \");\n \t}\n\n }\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int[] l = new int[a];\n\n for(int i = 0; i < a; i++) {\n \tl[i] = sc.nextInt();\n }\n\n for(int j = a-1; j >= 0; j--) {\n \tif(j == 0) {\n \tSystem.out.println(l[j]);\n \t} else {\n \tSystem.out.print(l[j] + \" \");\n \t}\n\n }\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int[] l = new int[a];
for(int i = 0; i < a; i++) {
l[i] = sc.nextInt();
}
for(int j = a-1; j >= 0; j--) {
if(j == 0) {
System.out.println(l[j]);
} else {
System.out.print(l[j] + " ");
}
}
}
}
|
[
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,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
2,
18,
13,
13,
17,
4,
18,
13,
2,
18,
13,
13,
17,
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
],
[
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
],
[
25,
26
],
[
25,
27
],
[
21,
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
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
46,
56
],
[
56,
57
],
[
57,
58
],
[
46,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
61,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
80,
81
],
[
80,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
6,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"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 a = sc.nextInt();\n\t\tint[] nums = new int[a];\n\t\t\n\t\tfor(int i = a-1; i >= 0; i--){\n\t\t\tnums[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tStringBuilder str = new StringBuilder();\n\t\tfor(int i = 0; i < nums.length; i++){\n\t\t\tif(i != nums.length-1) str.append(nums[i] + \" \");\n\t\t\telse str.append(nums[i]);\n\t\t}\n\t\t\n\t\tSystem.out.println(str);\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint[] nums = new int[a];\n\t\t\n\t\tfor(int i = a-1; i >= 0; i--){\n\t\t\tnums[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tStringBuilder str = new StringBuilder();\n\t\tfor(int i = 0; i < nums.length; i++){\n\t\t\tif(i != nums.length-1) str.append(nums[i] + \" \");\n\t\t\telse str.append(nums[i]);\n\t\t}\n\t\t\n\t\tSystem.out.println(str);\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint[] nums = new int[a];\n\t\t\n\t\tfor(int i = a-1; i >= 0; i--){\n\t\t\tnums[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tStringBuilder str = new StringBuilder();\n\t\tfor(int i = 0; i < nums.length; i++){\n\t\t\tif(i != nums.length-1) str.append(nums[i] + \" \");\n\t\t\telse str.append(nums[i]);\n\t\t}\n\t\t\n\t\tSystem.out.println(str);\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint[] nums = new int[a];\n\t\t\n\t\tfor(int i = a-1; i >= 0; i--){\n\t\t\tnums[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tStringBuilder str = new StringBuilder();\n\t\tfor(int i = 0; i < nums.length; i++){\n\t\t\tif(i != nums.length-1) str.append(nums[i] + \" \");\n\t\t\telse str.append(nums[i]);\n\t\t}\n\t\t\n\t\tSystem.out.println(str);\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[] nums = new int[a];",
"nums",
"new int[a]",
"a",
"for(int i = a-1; i >= 0; i--){\n\t\t\tnums[i] = sc.nextInt();\n\t\t}",
"int i = a-1;",
"int i = a-1;",
"i",
"a-1",
"a",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tnums[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tnums[i] = sc.nextInt();\n\t\t}",
"nums[i] = sc.nextInt()",
"nums[i]",
"nums",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"StringBuilder str = new StringBuilder();",
"str",
"new StringBuilder()",
"for(int i = 0; i < nums.length; i++){\n\t\t\tif(i != nums.length-1) str.append(nums[i] + \" \");\n\t\t\telse str.append(nums[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < nums.length",
"i",
"nums.length",
"nums",
"nums.length",
"i++",
"i++",
"i",
"{\n\t\t\tif(i != nums.length-1) str.append(nums[i] + \" \");\n\t\t\telse str.append(nums[i]);\n\t\t}",
"{\n\t\t\tif(i != nums.length-1) str.append(nums[i] + \" \");\n\t\t\telse str.append(nums[i]);\n\t\t}",
"if(i != nums.length-1) str.append(nums[i] + \" \");\n\t\t\telse str.append(nums[i]);",
"i != nums.length-1",
"i",
"nums.length-1",
"nums.length",
"nums",
"nums.length",
"1",
"str.append(nums[i] + \" \")",
"str.append",
"str",
"nums[i] + \" \"",
"nums[i]",
"nums",
"i",
"\" \"",
"str.append(nums[i])",
"str.append",
"str",
"nums[i]",
"nums",
"i",
"System.out.println(str)",
"System.out.println",
"System.out",
"System",
"System.out",
"str",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint[] nums = new int[a];\n\t\t\n\t\tfor(int i = a-1; i >= 0; i--){\n\t\t\tnums[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tStringBuilder str = new StringBuilder();\n\t\tfor(int i = 0; i < nums.length; i++){\n\t\t\tif(i != nums.length-1) str.append(nums[i] + \" \");\n\t\t\telse str.append(nums[i]);\n\t\t}\n\t\t\n\t\tSystem.out.println(str);\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint[] nums = new int[a];\n\t\t\n\t\tfor(int i = a-1; i >= 0; i--){\n\t\t\tnums[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tStringBuilder str = new StringBuilder();\n\t\tfor(int i = 0; i < nums.length; i++){\n\t\t\tif(i != nums.length-1) str.append(nums[i] + \" \");\n\t\t\telse str.append(nums[i]);\n\t\t}\n\t\t\n\t\tSystem.out.println(str);\n\t\t\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int[] nums = new int[a];
for(int i = a-1; i >= 0; i--){
nums[i] = sc.nextInt();
}
StringBuilder str = new StringBuilder();
for(int i = 0; i < nums.length; i++){
if(i != nums.length-1) str.append(nums[i] + " ");
else str.append(nums[i]);
}
System.out.println(str);
}
} |
[
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,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
18,
13,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
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
],
[
25,
26
],
[
25,
27
],
[
21,
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
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
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\tpublic static void main(String args[]){\n\n\t\tScanner sc = new Scanner (System.in);\n\t\tint n= sc.nextInt();\n\t\tint num[]= new int[n];\n\t\tfor (int i=n-1;i>=0;--i){\n\t\t\tnum[i]= sc.nextInt();\n\t\t}\n\t\tSystem.out.print(num[0]);\n\t\tfor (int i=1;i<=n-1;++i){\n\t\t\tSystem.out.print(\" \"+num[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\n\t\tScanner sc = new Scanner (System.in);\n\t\tint n= sc.nextInt();\n\t\tint num[]= new int[n];\n\t\tfor (int i=n-1;i>=0;--i){\n\t\t\tnum[i]= sc.nextInt();\n\t\t}\n\t\tSystem.out.print(num[0]);\n\t\tfor (int i=1;i<=n-1;++i){\n\t\t\tSystem.out.print(\" \"+num[i]);\n\t\t}\n\t\tSystem.out.println();\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 num[]= new int[n];\n\t\tfor (int i=n-1;i>=0;--i){\n\t\t\tnum[i]= sc.nextInt();\n\t\t}\n\t\tSystem.out.print(num[0]);\n\t\tfor (int i=1;i<=n-1;++i){\n\t\t\tSystem.out.print(\" \"+num[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner (System.in);\n\t\tint n= sc.nextInt();\n\t\tint num[]= new int[n];\n\t\tfor (int i=n-1;i>=0;--i){\n\t\t\tnum[i]= sc.nextInt();\n\t\t}\n\t\tSystem.out.print(num[0]);\n\t\tfor (int i=1;i<=n-1;++i){\n\t\t\tSystem.out.print(\" \"+num[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"Scanner sc = new Scanner (System.in);",
"sc",
"new Scanner (System.in)",
"int n= sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int num[]= new int[n];",
"num",
"new int[n]",
"n",
"for (int i=n-1;i>=0;--i){\n\t\t\tnum[i]= sc.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\tnum[i]= sc.nextInt();\n\t\t}",
"{\n\t\t\tnum[i]= sc.nextInt();\n\t\t}",
"num[i]= sc.nextInt()",
"num[i]",
"num",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.print(num[0])",
"System.out.print",
"System.out",
"System",
"System.out",
"num[0]",
"num",
"0",
"for (int i=1;i<=n-1;++i){\n\t\t\tSystem.out.print(\" \"+num[i]);\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=n-1",
"i",
"n-1",
"n",
"1",
"++i",
"++i",
"i",
"{\n\t\t\tSystem.out.print(\" \"+num[i]);\n\t\t}",
"{\n\t\t\tSystem.out.print(\" \"+num[i]);\n\t\t}",
"System.out.print(\" \"+num[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"+num[i]",
"\" \"",
"num[i]",
"num",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"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 num[]= new int[n];\n\t\tfor (int i=n-1;i>=0;--i){\n\t\t\tnum[i]= sc.nextInt();\n\t\t}\n\t\tSystem.out.print(num[0]);\n\t\tfor (int i=1;i<=n-1;++i){\n\t\t\tSystem.out.print(\" \"+num[i]);\n\t\t}\n\t\tSystem.out.println();\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 num[]= new int[n];\n\t\tfor (int i=n-1;i>=0;--i){\n\t\t\tnum[i]= sc.nextInt();\n\t\t}\n\t\tSystem.out.print(num[0]);\n\t\tfor (int i=1;i<=n-1;++i){\n\t\t\tSystem.out.print(\" \"+num[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 sc = new Scanner (System.in);
int n= sc.nextInt();
int num[]= new int[n];
for (int i=n-1;i>=0;--i){
num[i]= sc.nextInt();
}
System.out.print(num[0]);
for (int i=1;i<=n-1;++i){
System.out.print(" "+num[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,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
81,
2
],
[
81,
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
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
52,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
52,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
5,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
3,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] | [
"public class Main {\n\tpublic static void main (String[] args){\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] arr = new int[n];\n\n\t\tfor(int i = 0;i < n; i++){\n\t\t\tarr[i] = scan.nextInt();\n\t\t}\n\t\tfor(int j = (n-1);j >= 0;j--){\n\t\t\tSystem.out.print(arr[j]);\n\t\t\tif(j == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"public class Main {\n\tpublic static void main (String[] args){\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] arr = new int[n];\n\n\t\tfor(int i = 0;i < n; i++){\n\t\t\tarr[i] = scan.nextInt();\n\t\t}\n\t\tfor(int j = (n-1);j >= 0;j--){\n\t\t\tSystem.out.print(arr[j]);\n\t\t\tif(j == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"Main",
"public static void main (String[] args){\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] arr = new int[n];\n\n\t\tfor(int i = 0;i < n; i++){\n\t\t\tarr[i] = scan.nextInt();\n\t\t}\n\t\tfor(int j = (n-1);j >= 0;j--){\n\t\t\tSystem.out.print(arr[j]);\n\t\t\tif(j == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] arr = new int[n];\n\n\t\tfor(int i = 0;i < n; i++){\n\t\t\tarr[i] = scan.nextInt();\n\t\t}\n\t\tfor(int j = (n-1);j >= 0;j--){\n\t\t\tSystem.out.print(arr[j]);\n\t\t\tif(j == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}",
"java.util.Scanner scan = new java.util.Scanner(System.in);",
"scan",
"new java.util.Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] arr = new int[n];",
"arr",
"new int[n]",
"n",
"for(int i = 0;i < n; i++){\n\t\t\tarr[i] = scan.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tarr[i] = scan.nextInt();\n\t\t}",
"{\n\t\t\tarr[i] = scan.nextInt();\n\t\t}",
"arr[i] = scan.nextInt()",
"arr[i]",
"arr",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(int j = (n-1);j >= 0;j--){\n\t\t\tSystem.out.print(arr[j]);\n\t\t\tif(j == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"int j = (n-1);",
"int j = (n-1);",
"j",
"(n-1)",
"n",
"1",
"j >= 0",
"j",
"0",
"j--",
"j--",
"j",
"{\n\t\t\tSystem.out.print(arr[j]);\n\t\t\tif(j == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"{\n\t\t\tSystem.out.print(arr[j]);\n\t\t\tif(j == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}",
"System.out.print(arr[j])",
"System.out.print",
"System.out",
"System",
"System.out",
"arr[j]",
"arr",
"j",
"if(j == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"j == 0",
"j",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main (String[] args){\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] arr = new int[n];\n\n\t\tfor(int i = 0;i < n; i++){\n\t\t\tarr[i] = scan.nextInt();\n\t\t}\n\t\tfor(int j = (n-1);j >= 0;j--){\n\t\t\tSystem.out.print(arr[j]);\n\t\t\tif(j == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"public class Main {\n\tpublic static void main (String[] args){\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] arr = new int[n];\n\n\t\tfor(int i = 0;i < n; i++){\n\t\t\tarr[i] = scan.nextInt();\n\t\t}\n\t\tfor(int j = (n-1);j >= 0;j--){\n\t\t\tSystem.out.print(arr[j]);\n\t\t\tif(j == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print(\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"Main"
] | public class Main {
public static void main (String[] args){
java.util.Scanner scan = new java.util.Scanner(System.in);
int n = scan.nextInt();
int[] arr = new int[n];
for(int i = 0;i < n; i++){
arr[i] = scan.nextInt();
}
for(int j = (n-1);j >= 0;j--){
System.out.print(arr[j]);
if(j == 0){
break;
}
System.out.print(" ");
}
System.out.println();
}
} |
[
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,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
2,
2,
13,
17,
13,
4,
18,
13,
4,
18,
18,
13,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
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
],
[
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
],
[
97,
20
],
[
97,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
23,
32
],
[
32,
33
],
[
32,
34
],
[
23,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
52,
52
],
[
52,
53
],
[
52,
54
],
[
52,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
23,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
23,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
67,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
23,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
21,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
] | [
"import java.io.File;\nimport java.io.IOException;\nimport java.util.ArrayDeque;\nimport java.util.ArrayList;\nimport java.util.Deque;\nimport java.util.Scanner;\n\npublic class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor(int i = 0; i < n; i++) a[n-1-i] = sc.nextInt();\n\t\tSystem.out.print(a[0]);\n\t\tfor(int i = 1; i < n; i++) System.out.print(\" \" + a[i]);\n\t\tSystem.out.println();\n\t}\n}",
"import java.io.File;",
"File",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.ArrayDeque;",
"ArrayDeque",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Deque;",
"Deque",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor(int i = 0; i < n; i++) a[n-1-i] = sc.nextInt();\n\t\tSystem.out.print(a[0]);\n\t\tfor(int i = 1; i < n; i++) System.out.print(\" \" + a[i]);\n\t\tSystem.out.println();\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor(int i = 0; i < n; i++) a[n-1-i] = sc.nextInt();\n\t\tSystem.out.print(a[0]);\n\t\tfor(int i = 1; i < n; i++) System.out.print(\" \" + a[i]);\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor(int i = 0; i < n; i++) a[n-1-i] = sc.nextInt();\n\t\tSystem.out.print(a[0]);\n\t\tfor(int i = 1; i < n; i++) System.out.print(\" \" + a[i]);\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++) a[n-1-i] = sc.nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[n-1-i] = sc.nextInt();",
"a[n-1-i] = sc.nextInt()",
"a[n-1-i]",
"a",
"n-1-i",
"n-1-i",
"n",
"1",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.print(a[0])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[0]",
"a",
"0",
"for(int i = 1; i < n; i++) System.out.print(\" \" + a[i]);",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < n",
"i",
"n",
"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 \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor(int i = 0; i < n; i++) a[n-1-i] = sc.nextInt();\n\t\tSystem.out.print(a[0]);\n\t\tfor(int i = 1; i < n; i++) System.out.print(\" \" + a[i]);\n\t\tSystem.out.println();\n\t}\n}",
"public class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor(int i = 0; i < n; i++) a[n-1-i] = sc.nextInt();\n\t\tSystem.out.print(a[0]);\n\t\tfor(int i = 1; i < n; i++) System.out.print(\" \" + a[i]);\n\t\tSystem.out.println();\n\t}\n}",
"Main"
] | import java.io.File;
import java.io.IOException;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
//File file = new File("input.txt");
//Scanner sc = new Scanner(file);
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] a = new int[n];
for(int i = 0; i < n; i++) a[n-1-i] = sc.nextInt();
System.out.print(a[0]);
for(int i = 1; i < n; i++) System.out.print(" " + a[i]);
System.out.println();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
0,
13,
20,
17,
41,
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,
14,
2,
13,
17,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
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
],
[
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
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
63,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
8,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
6,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] | [
"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;\n\t\ta = new int[100];\n\t\tint i;\n\t\tfor(i = 0; i < n; ++i){\n\t\t\tint r = scan.nextInt();\n\t\t\ta[i] = r;\n\t\t}\n\t\tfor(i = n - 1; i >= 0; --i){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(a[i]+\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] a;\n\t\ta = new int[100];\n\t\tint i;\n\t\tfor(i = 0; i < n; ++i){\n\t\t\tint r = scan.nextInt();\n\t\t\ta[i] = r;\n\t\t}\n\t\tfor(i = n - 1; i >= 0; --i){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(a[i]+\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] a;\n\t\ta = new int[100];\n\t\tint i;\n\t\tfor(i = 0; i < n; ++i){\n\t\t\tint r = scan.nextInt();\n\t\t\ta[i] = r;\n\t\t}\n\t\tfor(i = n - 1; i >= 0; --i){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(a[i]+\" \");\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[] a;\n\t\ta = new int[100];\n\t\tint i;\n\t\tfor(i = 0; i < n; ++i){\n\t\t\tint r = scan.nextInt();\n\t\t\ta[i] = r;\n\t\t}\n\t\tfor(i = n - 1; i >= 0; --i){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(a[i]+\" \");\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[] a;",
"a",
"a = new int[100]",
"a",
"new int[100]",
"100",
"int i;",
"i",
"for(i = 0; i < n; ++i){\n\t\t\tint r = scan.nextInt();\n\t\t\ta[i] = r;\n\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < n",
"i",
"n",
"++i",
"++i",
"i",
"{\n\t\t\tint r = scan.nextInt();\n\t\t\ta[i] = r;\n\t\t}",
"{\n\t\t\tint r = scan.nextInt();\n\t\t\ta[i] = r;\n\t\t}",
"int r = scan.nextInt();",
"r",
"scan.nextInt()",
"scan.nextInt",
"scan",
"a[i] = r",
"a[i]",
"a",
"i",
"r",
"for(i = n - 1; i >= 0; --i){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(a[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.print(a[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(a[i]+\" \");\n\t\t}",
"{\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(a[i]+\" \");\n\t\t}",
"if(i == 0)\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(a[i]+\" \");",
"i == 0",
"i",
"0",
"System.out.print(a[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i]",
"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){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] a;\n\t\ta = new int[100];\n\t\tint i;\n\t\tfor(i = 0; i < n; ++i){\n\t\t\tint r = scan.nextInt();\n\t\t\ta[i] = r;\n\t\t}\n\t\tfor(i = n - 1; i >= 0; --i){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(a[i]+\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] a;\n\t\ta = new int[100];\n\t\tint i;\n\t\tfor(i = 0; i < n; ++i){\n\t\t\tint r = scan.nextInt();\n\t\t\ta[i] = r;\n\t\t}\n\t\tfor(i = n - 1; i >= 0; --i){\n\t\t\tif(i == 0)\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\telse \n\t\t\t\tSystem.out.print(a[i]+\" \");\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int[] a;
a = new int[100];
int i;
for(i = 0; i < n; ++i){
int r = scan.nextInt();
a[i] = r;
}
for(i = n - 1; i >= 0; --i){
if(i == 0)
System.out.print(a[i]);
else
System.out.print(a[i]+" ");
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
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
],
[
22,
24
],
[
21,
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
],
[
21,
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
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
21,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
6,
79
],
[
79,
80
]
] | [
"import java.util.Scanner;\n \nclass Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n if (n <= 100) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++) {\n array[i] = scanner.nextInt();\n }\n for (int i = n - 1; i >= 1; i--) {\n System.out.print(array[i] + \" \");\n }\n System.out.println(array[0]);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n if (n <= 100) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++) {\n array[i] = scanner.nextInt();\n }\n for (int i = n - 1; i >= 1; i--) {\n System.out.print(array[i] + \" \");\n }\n System.out.println(array[0]);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n if (n <= 100) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++) {\n array[i] = scanner.nextInt();\n }\n for (int i = n - 1; i >= 1; i--) {\n System.out.print(array[i] + \" \");\n }\n System.out.println(array[0]);\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n if (n <= 100) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++) {\n array[i] = scanner.nextInt();\n }\n for (int i = n - 1; i >= 1; i--) {\n System.out.print(array[i] + \" \");\n }\n System.out.println(array[0]);\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int n = scanner.nextInt();",
"n",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (n <= 100) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++) {\n array[i] = scanner.nextInt();\n }\n for (int i = n - 1; i >= 1; i--) {\n System.out.print(array[i] + \" \");\n }\n System.out.println(array[0]);\n }",
"n <= 100",
"n",
"100",
"{\n int[] array = new int[n];\n for (int i = 0; i < n; i++) {\n array[i] = scanner.nextInt();\n }\n for (int i = n - 1; i >= 1; i--) {\n System.out.print(array[i] + \" \");\n }\n System.out.println(array[0]);\n }",
"int[] array = new int[n];",
"array",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n array[i] = scanner.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n array[i] = scanner.nextInt();\n }",
"{\n array[i] = scanner.nextInt();\n }",
"array[i] = scanner.nextInt()",
"array[i]",
"array",
"i",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"for (int i = n - 1; i >= 1; i--) {\n System.out.print(array[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(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[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 scanner = new Scanner(System.in);
int n = scanner.nextInt();
if (n <= 100) {
int[] array = new int[n];
for (int i = 0; i < n; i++) {
array[i] = scanner.nextInt();
}
for (int i = n - 1; i >= 1; i--) {
System.out.print(array[i] + " ");
}
System.out.println(array[0]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
4,
18,
13,
18,
13,
2,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
13,
2,
17,
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
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
39,
46
],
[
46,
47
],
[
46,
48
],
[
39,
49
],
[
49,
50
],
[
50,
51
],
[
39,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
6,
67
],
[
67,
68
]
] | [
"/* ITP1_6_A */\nimport java.io.*;\n\nclass Main\n{\n public static void main(String[] args) throws IOException\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n int n = Integer.parseInt(br.readLine()); // The number of elements\n String array[] = br.readLine().split(\" \"); // Array\n\n sb.append(array[n-1]);\n\n for(int i = n-2; i >= 0; i--) sb.append(\" \" + array[i]);\n\n System.out.println(sb);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n public static void main(String[] args) throws IOException\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n int n = Integer.parseInt(br.readLine()); // The number of elements\n String array[] = br.readLine().split(\" \"); // Array\n\n sb.append(array[n-1]);\n\n for(int i = n-2; i >= 0; i--) sb.append(\" \" + array[i]);\n\n System.out.println(sb);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n int n = Integer.parseInt(br.readLine()); // The number of elements\n String array[] = br.readLine().split(\" \"); // Array\n\n sb.append(array[n-1]);\n\n for(int i = n-2; i >= 0; i--) sb.append(\" \" + array[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()); // The number of elements\n String array[] = br.readLine().split(\" \"); // Array\n\n sb.append(array[n-1]);\n\n for(int i = n-2; i >= 0; i--) sb.append(\" \" + array[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 array[] = br.readLine().split(\" \");",
"array",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"sb.append(array[n-1])",
"sb.append",
"sb",
"array[n-1]",
"array",
"n-1",
"n",
"1",
"for(int i = n-2; i >= 0; i--) sb.append(\" \" + array[i]);",
"int i = n-2;",
"int i = n-2;",
"i",
"n-2",
"n",
"2",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"sb.append(\" \" + array[i]);",
"sb.append(\" \" + array[i])",
"sb.append",
"sb",
"\" \" + array[i]",
"\" \"",
"array[i]",
"array",
"i",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args"
] | /* ITP1_6_A */
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()); // The number of elements
String array[] = br.readLine().split(" "); // Array
sb.append(array[n-1]);
for(int i = n-2; i >= 0; i--) sb.append(" " + array[i]);
System.out.println(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
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,
18,
13,
2,
2,
13,
13,
17,
4,
18,
13,
4,
18,
13,
17,
13,
4,
18,
13,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
90,
14
],
[
90,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
19,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
19,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
36,
41
],
[
19,
42
],
[
42,
43
],
[
42,
44
],
[
19,
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
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
66,
66
],
[
66,
67
],
[
66,
68
],
[
66,
69
],
[
19,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
73,
77
],
[
19,
78
],
[
78,
79
],
[
79,
80
],
[
90,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
81,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\n\npublic class Main {\n public void exec() throws IOException {\n \ttry(\n \t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t\t\tPrintWriter out = new PrintWriter(System.out);\n \t\t\t){\n int n = Integer.parseInt(br.readLine());\n String[] s = br.readLine().split(\" \");\n String[] s2 = new String[n];\n for(int i=0; i<n; i++) {\n \ts2[i] = s[n-i-1];\n }\n out.println(String.join(\" \",s2));\n out.flush();\n \t}\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }\n}\n ",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"public class Main {\n public void exec() throws IOException {\n \ttry(\n \t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t\t\tPrintWriter out = new PrintWriter(System.out);\n \t\t\t){\n int n = Integer.parseInt(br.readLine());\n String[] s = br.readLine().split(\" \");\n String[] s2 = new String[n];\n for(int i=0; i<n; i++) {\n \ts2[i] = s[n-i-1];\n }\n out.println(String.join(\" \",s2));\n out.flush();\n \t}\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }\n}",
"Main",
"public void exec() throws IOException {\n \ttry(\n \t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t\t\tPrintWriter out = new PrintWriter(System.out);\n \t\t\t){\n int n = Integer.parseInt(br.readLine());\n String[] s = br.readLine().split(\" \");\n String[] s2 = new String[n];\n for(int i=0; i<n; i++) {\n \ts2[i] = s[n-i-1];\n }\n out.println(String.join(\" \",s2));\n out.flush();\n \t}\n }",
"exec",
"{\n \ttry(\n \t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t\t\tPrintWriter out = new PrintWriter(System.out);\n \t\t\t){\n int n = Integer.parseInt(br.readLine());\n String[] s = br.readLine().split(\" \");\n String[] s2 = new String[n];\n for(int i=0; i<n; i++) {\n \ts2[i] = s[n-i-1];\n }\n out.println(String.join(\" \",s2));\n out.flush();\n \t}\n }",
"try(\n \t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t\t\tPrintWriter out = new PrintWriter(System.out);\n \t\t\t){\n int n = Integer.parseInt(br.readLine());\n String[] s = br.readLine().split(\" \");\n String[] s2 = new String[n];\n for(int i=0; i<n; i++) {\n \ts2[i] = s[n-i-1];\n }\n out.println(String.join(\" \",s2));\n out.flush();\n \t}",
"{\n int n = Integer.parseInt(br.readLine());\n String[] s = br.readLine().split(\" \");\n String[] s2 = new String[n];\n for(int i=0; i<n; i++) {\n \ts2[i] = s[n-i-1];\n }\n out.println(String.join(\" \",s2));\n out.flush();\n \t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"new BufferedReader(new InputStreamReader(System.in))",
"PrintWriter out = new PrintWriter(System.out)",
"PrintWriter out = new PrintWriter(System.out)",
"new PrintWriter(System.out)",
"int n = Integer.parseInt(br.readLine());",
"n",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"String[] s = br.readLine().split(\" \");",
"s",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"String[] s2 = new String[n];",
"s2",
"new String[n]",
"n",
"for(int i=0; i<n; i++) {\n \ts2[i] = s[n-i-1];\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n \ts2[i] = s[n-i-1];\n }",
"{\n \ts2[i] = s[n-i-1];\n }",
"s2[i] = s[n-i-1]",
"s2[i]",
"s2",
"i",
"s[n-i-1]",
"s",
"n-i-1",
"n-i-1",
"n",
"i",
"1",
"out.println(String.join(\" \",s2))",
"out.println",
"out",
"String.join(\" \",s2)",
"String.join",
"String",
"\" \"",
"s2",
"out.flush()",
"out.flush",
"out",
"public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }",
"main",
"{\n \tnew Main().exec();\n }",
"new Main().exec()",
"new Main().exec",
"new Main()",
"String[] args",
"args",
"public class Main {\n public void exec() throws IOException {\n \ttry(\n \t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t\t\tPrintWriter out = new PrintWriter(System.out);\n \t\t\t){\n int n = Integer.parseInt(br.readLine());\n String[] s = br.readLine().split(\" \");\n String[] s2 = new String[n];\n for(int i=0; i<n; i++) {\n \ts2[i] = s[n-i-1];\n }\n out.println(String.join(\" \",s2));\n out.flush();\n \t}\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }\n}",
"public class Main {\n public void exec() throws IOException {\n \ttry(\n \t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t\t\tPrintWriter out = new PrintWriter(System.out);\n \t\t\t){\n int n = Integer.parseInt(br.readLine());\n String[] s = br.readLine().split(\" \");\n String[] s2 = new String[n];\n for(int i=0; i<n; i++) {\n \ts2[i] = s[n-i-1];\n }\n out.println(String.join(\" \",s2));\n out.flush();\n \t}\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
public class Main {
public void exec() throws IOException {
try(
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
PrintWriter out = new PrintWriter(System.out);
){
int n = Integer.parseInt(br.readLine());
String[] s = br.readLine().split(" ");
String[] s2 = new String[n];
for(int i=0; i<n; i++) {
s2[i] = s[n-i-1];
}
out.println(String.join(" ",s2));
out.flush();
}
}
public static void main(String[] args) throws IOException {
new Main().exec();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
5,
13,
30,
4,
18,
18,
13,
13,
17,
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,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
17,
0,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
2,
13,
17,
13,
0,
18,
13,
2,
2,
13,
17,
13,
13,
11,
1,
41,
13,
17,
2,
13,
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,
17,
18,
13,
13,
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
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
15,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
15,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
34,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
34,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
34,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
34,
60
],
[
60,
61
],
[
60,
62
],
[
34,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
64,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
84,
86
],
[
34,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
87,
97
],
[
97,
98
],
[
98,
99
],
[
87,
100
],
[
101,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
107,
109
],
[
101,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
114,
115
],
[
114,
116
],
[
117,
117
],
[
117,
118
],
[
117,
119
],
[
117,
120
],
[
101,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
125,
125
],
[
125,
126
],
[
125,
127
],
[
125,
128
],
[
121,
129
],
[
34,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
130,
135
],
[
135,
136
],
[
135,
137
],
[
130,
138
],
[
138,
139
],
[
139,
140
],
[
130,
141
],
[
142,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
148,
153
],
[
153,
154
],
[
153,
155
],
[
143,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
157,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
164,
166
],
[
34,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
167,
172
],
[
12,
173
],
[
173,
174
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n/**\n * Lesson6A 与えられた数列を逆順に出力するプログラム\n *\n * @author 前島佑介\n * @version 2014/12/1\n */\nclass Main {\n\n\t/**\n\t * プログラムのエントリポイント\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\n\t\t// 1行目読み込む\n\t\ttry {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\n\t\t\tString strNum = insBR.readLine();\n\n\t\t\t// 数値化\n\t\t\tint intNum = Integer.parseInt(strNum);\n\n\t\t\t// 2行目読み込む\n\t\t\tString strLine = insBR.readLine();\n\n\t\t\t// 2行目をばらけさせる\n\t\t\tString[] strAry = strLine.split(\" \");\n\n\t\t\t// intにキャストして配列にいれる\n\t\t\tint[] intAry = new int[intNum];\n\n\t\t\tfor (int i = 0; i < intNum; i++) {\n\t\t\t\tintAry[i] = Integer.parseInt(strAry[i]);\n\t\t\t}\n\n\t\t\t// 反転させる\n\t\t\tfor (int i = 0; i < intNum / 2; i++) {\n\n\t\t\t\tint intChage = 0;\n\t\t\t\tintChage = intAry[i];\n\t\t\t\tintAry[i] = intAry[intNum - 1 - i];\n\t\t\t\tintAry[intNum - 1 - i] = intChage;\n\n\t\t\t}\n\n\t\t\t// 出力\n\t\t\tfor (int i = 0; i < intNum; i++) {\n\t\t\t\tif(i ==0) {\n\t\t\t\t\tSystem.out.print(intAry[i]);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(\" \" + intAry[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\n\t/**\n\t * プログラムのエントリポイント\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\n\t\t// 1行目読み込む\n\t\ttry {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\n\t\t\tString strNum = insBR.readLine();\n\n\t\t\t// 数値化\n\t\t\tint intNum = Integer.parseInt(strNum);\n\n\t\t\t// 2行目読み込む\n\t\t\tString strLine = insBR.readLine();\n\n\t\t\t// 2行目をばらけさせる\n\t\t\tString[] strAry = strLine.split(\" \");\n\n\t\t\t// intにキャストして配列にいれる\n\t\t\tint[] intAry = new int[intNum];\n\n\t\t\tfor (int i = 0; i < intNum; i++) {\n\t\t\t\tintAry[i] = Integer.parseInt(strAry[i]);\n\t\t\t}\n\n\t\t\t// 反転させる\n\t\t\tfor (int i = 0; i < intNum / 2; i++) {\n\n\t\t\t\tint intChage = 0;\n\t\t\t\tintChage = intAry[i];\n\t\t\t\tintAry[i] = intAry[intNum - 1 - i];\n\t\t\t\tintAry[intNum - 1 - i] = intChage;\n\n\t\t\t}\n\n\t\t\t// 出力\n\t\t\tfor (int i = 0; i < intNum; i++) {\n\t\t\t\tif(i ==0) {\n\t\t\t\t\tSystem.out.print(intAry[i]);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(\" \" + intAry[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}\n\n\t}\n}",
"Main",
"/**\n\t * プログラムのエントリポイント\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\n\t\t// 1行目読み込む\n\t\ttry {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\n\t\t\tString strNum = insBR.readLine();\n\n\t\t\t// 数値化\n\t\t\tint intNum = Integer.parseInt(strNum);\n\n\t\t\t// 2行目読み込む\n\t\t\tString strLine = insBR.readLine();\n\n\t\t\t// 2行目をばらけさせる\n\t\t\tString[] strAry = strLine.split(\" \");\n\n\t\t\t// intにキャストして配列にいれる\n\t\t\tint[] intAry = new int[intNum];\n\n\t\t\tfor (int i = 0; i < intNum; i++) {\n\t\t\t\tintAry[i] = Integer.parseInt(strAry[i]);\n\t\t\t}\n\n\t\t\t// 反転させる\n\t\t\tfor (int i = 0; i < intNum / 2; i++) {\n\n\t\t\t\tint intChage = 0;\n\t\t\t\tintChage = intAry[i];\n\t\t\t\tintAry[i] = intAry[intNum - 1 - i];\n\t\t\t\tintAry[intNum - 1 - i] = intChage;\n\n\t\t\t}\n\n\t\t\t// 出力\n\t\t\tfor (int i = 0; i < intNum; i++) {\n\t\t\t\tif(i ==0) {\n\t\t\t\t\tSystem.out.print(intAry[i]);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(\" \" + intAry[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}\n\n\t}",
"main",
"{\n\n\t\t// 1行目読み込む\n\t\ttry {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\n\t\t\tString strNum = insBR.readLine();\n\n\t\t\t// 数値化\n\t\t\tint intNum = Integer.parseInt(strNum);\n\n\t\t\t// 2行目読み込む\n\t\t\tString strLine = insBR.readLine();\n\n\t\t\t// 2行目をばらけさせる\n\t\t\tString[] strAry = strLine.split(\" \");\n\n\t\t\t// intにキャストして配列にいれる\n\t\t\tint[] intAry = new int[intNum];\n\n\t\t\tfor (int i = 0; i < intNum; i++) {\n\t\t\t\tintAry[i] = Integer.parseInt(strAry[i]);\n\t\t\t}\n\n\t\t\t// 反転させる\n\t\t\tfor (int i = 0; i < intNum / 2; i++) {\n\n\t\t\t\tint intChage = 0;\n\t\t\t\tintChage = intAry[i];\n\t\t\t\tintAry[i] = intAry[intNum - 1 - i];\n\t\t\t\tintAry[intNum - 1 - i] = intChage;\n\n\t\t\t}\n\n\t\t\t// 出力\n\t\t\tfor (int i = 0; i < intNum; i++) {\n\t\t\t\tif(i ==0) {\n\t\t\t\t\tSystem.out.print(intAry[i]);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(\" \" + intAry[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}\n\n\t}",
"try {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\n\t\t\tString strNum = insBR.readLine();\n\n\t\t\t// 数値化\n\t\t\tint intNum = Integer.parseInt(strNum);\n\n\t\t\t// 2行目読み込む\n\t\t\tString strLine = insBR.readLine();\n\n\t\t\t// 2行目をばらけさせる\n\t\t\tString[] strAry = strLine.split(\" \");\n\n\t\t\t// intにキャストして配列にいれる\n\t\t\tint[] intAry = new int[intNum];\n\n\t\t\tfor (int i = 0; i < intNum; i++) {\n\t\t\t\tintAry[i] = Integer.parseInt(strAry[i]);\n\t\t\t}\n\n\t\t\t// 反転させる\n\t\t\tfor (int i = 0; i < intNum / 2; i++) {\n\n\t\t\t\tint intChage = 0;\n\t\t\t\tintChage = intAry[i];\n\t\t\t\tintAry[i] = intAry[intNum - 1 - i];\n\t\t\t\tintAry[intNum - 1 - i] = intChage;\n\n\t\t\t}\n\n\t\t\t// 出力\n\t\t\tfor (int i = 0; i < intNum; i++) {\n\t\t\t\tif(i ==0) {\n\t\t\t\t\tSystem.out.print(intAry[i]);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(\" \" + intAry[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\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",
"catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}",
"NumberFormatException e",
"{\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}",
"System.out.println(\"数字で入力して下さい\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"数字で入力して下さい\"",
"{\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\n\t\t\tString strNum = insBR.readLine();\n\n\t\t\t// 数値化\n\t\t\tint intNum = Integer.parseInt(strNum);\n\n\t\t\t// 2行目読み込む\n\t\t\tString strLine = insBR.readLine();\n\n\t\t\t// 2行目をばらけさせる\n\t\t\tString[] strAry = strLine.split(\" \");\n\n\t\t\t// intにキャストして配列にいれる\n\t\t\tint[] intAry = new int[intNum];\n\n\t\t\tfor (int i = 0; i < intNum; i++) {\n\t\t\t\tintAry[i] = Integer.parseInt(strAry[i]);\n\t\t\t}\n\n\t\t\t// 反転させる\n\t\t\tfor (int i = 0; i < intNum / 2; i++) {\n\n\t\t\t\tint intChage = 0;\n\t\t\t\tintChage = intAry[i];\n\t\t\t\tintAry[i] = intAry[intNum - 1 - i];\n\t\t\t\tintAry[intNum - 1 - i] = intChage;\n\n\t\t\t}\n\n\t\t\t// 出力\n\t\t\tfor (int i = 0; i < intNum; i++) {\n\t\t\t\tif(i ==0) {\n\t\t\t\t\tSystem.out.print(intAry[i]);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(\" \" + intAry[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\n\n\t\t}",
"BufferedReader insBR = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));",
"insBR",
"new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in))",
"String strNum = insBR.readLine();",
"strNum",
"insBR.readLine()",
"insBR.readLine",
"insBR",
"int intNum = Integer.parseInt(strNum);",
"intNum",
"Integer.parseInt(strNum)",
"Integer.parseInt",
"Integer",
"strNum",
"String strLine = insBR.readLine();",
"strLine",
"insBR.readLine()",
"insBR.readLine",
"insBR",
"String[] strAry = strLine.split(\" \");",
"strAry",
"strLine.split(\" \")",
"strLine.split",
"strLine",
"\" \"",
"int[] intAry = new int[intNum];",
"intAry",
"new int[intNum]",
"intNum",
"for (int i = 0; i < intNum; i++) {\n\t\t\t\tintAry[i] = Integer.parseInt(strAry[i]);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < intNum",
"i",
"intNum",
"i++",
"i++",
"i",
"{\n\t\t\t\tintAry[i] = Integer.parseInt(strAry[i]);\n\t\t\t}",
"{\n\t\t\t\tintAry[i] = Integer.parseInt(strAry[i]);\n\t\t\t}",
"intAry[i] = Integer.parseInt(strAry[i])",
"intAry[i]",
"intAry",
"i",
"Integer.parseInt(strAry[i])",
"Integer.parseInt",
"Integer",
"strAry[i]",
"strAry",
"i",
"for (int i = 0; i < intNum / 2; i++) {\n\n\t\t\t\tint intChage = 0;\n\t\t\t\tintChage = intAry[i];\n\t\t\t\tintAry[i] = intAry[intNum - 1 - i];\n\t\t\t\tintAry[intNum - 1 - i] = intChage;\n\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < intNum / 2",
"i",
"intNum / 2",
"intNum",
"2",
"i++",
"i++",
"i",
"{\n\n\t\t\t\tint intChage = 0;\n\t\t\t\tintChage = intAry[i];\n\t\t\t\tintAry[i] = intAry[intNum - 1 - i];\n\t\t\t\tintAry[intNum - 1 - i] = intChage;\n\n\t\t\t}",
"{\n\n\t\t\t\tint intChage = 0;\n\t\t\t\tintChage = intAry[i];\n\t\t\t\tintAry[i] = intAry[intNum - 1 - i];\n\t\t\t\tintAry[intNum - 1 - i] = intChage;\n\n\t\t\t}",
"int intChage = 0;",
"intChage",
"0",
"intChage = intAry[i]",
"intChage",
"intAry[i]",
"intAry",
"i",
"intAry[i] = intAry[intNum - 1 - i]",
"intAry[i]",
"intAry",
"i",
"intAry[intNum - 1 - i]",
"intAry",
"intNum - 1 - i",
"intNum - 1 - i",
"intNum",
"1",
"i",
"intAry[intNum - 1 - i] = intChage",
"intAry[intNum - 1 - i]",
"intAry",
"intNum - 1 - i",
"intNum - 1 - i",
"intNum",
"1",
"i",
"intChage",
"for (int i = 0; i < intNum; i++) {\n\t\t\t\tif(i ==0) {\n\t\t\t\t\tSystem.out.print(intAry[i]);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(\" \" + intAry[i]);\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < intNum",
"i",
"intNum",
"i++",
"i++",
"i",
"{\n\t\t\t\tif(i ==0) {\n\t\t\t\t\tSystem.out.print(intAry[i]);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(\" \" + intAry[i]);\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(i ==0) {\n\t\t\t\t\tSystem.out.print(intAry[i]);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(\" \" + intAry[i]);\n\t\t\t\t}\n\t\t\t}",
"if(i ==0) {\n\t\t\t\t\tSystem.out.print(intAry[i]);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(\" \" + intAry[i]);\n\t\t\t\t}",
"i ==0",
"i",
"0",
"{\n\t\t\t\t\tSystem.out.print(intAry[i]);\n\t\t\t\t}",
"System.out.print(intAry[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"intAry[i]",
"intAry",
"i",
"{\n\t\t\t\t\tSystem.out.print(\" \" + intAry[i]);\n\t\t\t\t}",
"System.out.print(\" \" + intAry[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \" + intAry[i]",
"\" \"",
"intAry[i]",
"intAry",
"i",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
* Lesson6A 与えられた数列を逆順に出力するプログラム
*
* @author 前島佑介
* @version 2014/12/1
*/
class Main {
/**
* プログラムのエントリポイント
* @param args
*/
public static void main(String[] args) {
// 1行目読み込む
try {
BufferedReader insBR = new BufferedReader(new InputStreamReader(
System.in));
String strNum = insBR.readLine();
// 数値化
int intNum = Integer.parseInt(strNum);
// 2行目読み込む
String strLine = insBR.readLine();
// 2行目をばらけさせる
String[] strAry = strLine.split(" ");
// intにキャストして配列にいれる
int[] intAry = new int[intNum];
for (int i = 0; i < intNum; i++) {
intAry[i] = Integer.parseInt(strAry[i]);
}
// 反転させる
for (int i = 0; i < intNum / 2; i++) {
int intChage = 0;
intChage = intAry[i];
intAry[i] = intAry[intNum - 1 - i];
intAry[intNum - 1 - i] = intChage;
}
// 出力
for (int i = 0; i < intNum; i++) {
if(i ==0) {
System.out.print(intAry[i]);
} else {
System.out.print(" " + intAry[i]);
}
}
System.out.println("");
} catch (IOException e) {
System.out.println(e);
} catch (NumberFormatException e) {
System.out.println("数字で入力して下さい");
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
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
],
[
86,
5
],
[
86,
6
],
[
6,
7
],
[
6,
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
],
[
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
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
42,
49
],
[
49,
50
],
[
49,
51
],
[
42,
52
],
[
52,
53
],
[
53,
54
],
[
42,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
62,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
57,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
73,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
9,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"import java.util.*;\n\npublic class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tint n = scan.nextInt();\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tlist.add(a);\n\t\t}\n\n\t\tfor(int i = n - 1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.printf(\"%d \", list.get(i));\n\t\t\t} else{\n\t\t\t\tSystem.out.printf(\"%d\\n\", list.get(i));\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tint n = scan.nextInt();\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tlist.add(a);\n\t\t}\n\n\t\tfor(int i = n - 1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.printf(\"%d \", list.get(i));\n\t\t\t} else{\n\t\t\t\tSystem.out.printf(\"%d\\n\", list.get(i));\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"private static final Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"public static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tint n = scan.nextInt();\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tlist.add(a);\n\t\t}\n\n\t\tfor(int i = n - 1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.printf(\"%d \", list.get(i));\n\t\t\t} else{\n\t\t\t\tSystem.out.printf(\"%d\\n\", list.get(i));\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tint n = scan.nextInt();\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tlist.add(a);\n\t\t}\n\n\t\tfor(int i = n - 1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.printf(\"%d \", list.get(i));\n\t\t\t} else{\n\t\t\t\tSystem.out.printf(\"%d\\n\", list.get(i));\n\t\t\t}\n\t\t}\n\t}",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tlist.add(a);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tint a = scan.nextInt();\n\t\t\tlist.add(a);\n\t\t}",
"{\n\t\t\tint a = scan.nextInt();\n\t\t\tlist.add(a);\n\t\t}",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"list.add(a)",
"list.add",
"list",
"a",
"for(int i = n - 1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.printf(\"%d \", list.get(i));\n\t\t\t} else{\n\t\t\t\tSystem.out.printf(\"%d\\n\", list.get(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.printf(\"%d \", list.get(i));\n\t\t\t} else{\n\t\t\t\tSystem.out.printf(\"%d\\n\", list.get(i));\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.printf(\"%d \", list.get(i));\n\t\t\t} else{\n\t\t\t\tSystem.out.printf(\"%d\\n\", list.get(i));\n\t\t\t}\n\t\t}",
"if(i != 0){\n\t\t\t\tSystem.out.printf(\"%d \", list.get(i));\n\t\t\t} else{\n\t\t\t\tSystem.out.printf(\"%d\\n\", list.get(i));\n\t\t\t}",
"i != 0",
"i",
"0",
"{\n\t\t\t\tSystem.out.printf(\"%d \", list.get(i));\n\t\t\t}",
"System.out.printf(\"%d \", list.get(i))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d \"",
"list.get(i)",
"list.get",
"list",
"i",
"{\n\t\t\t\tSystem.out.printf(\"%d\\n\", list.get(i));\n\t\t\t}",
"System.out.printf(\"%d\\n\", list.get(i))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\\n\"",
"list.get(i)",
"list.get",
"list",
"i",
"String[] args",
"args",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tint n = scan.nextInt();\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tlist.add(a);\n\t\t}\n\n\t\tfor(int i = n - 1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.printf(\"%d \", list.get(i));\n\t\t\t} else{\n\t\t\t\tSystem.out.printf(\"%d\\n\", list.get(i));\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tint n = scan.nextInt();\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tlist.add(a);\n\t\t}\n\n\t\tfor(int i = n - 1; i >= 0; i--){\n\t\t\tif(i != 0){\n\t\t\t\tSystem.out.printf(\"%d \", list.get(i));\n\t\t\t} else{\n\t\t\t\tSystem.out.printf(\"%d\\n\", list.get(i));\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
List<Integer> list = new ArrayList<Integer>();
int n = scan.nextInt();
for(int i = 0; i < n; i++){
int a = scan.nextInt();
list.add(a);
}
for(int i = n - 1; i >= 0; i--){
if(i != 0){
System.out.printf("%d ", list.get(i));
} else{
System.out.printf("%d\n", list.get(i));
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
85,
14
],
[
85,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
17,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
34,
39
],
[
17,
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
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
56,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
65,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
15,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString input = scanner.nextLine();\n\n\t\tint num = Integer.parseInt(input);\n\n\t\tString[] arr = scanner.nextLine().split(\" \");\n\n\t\t//int[] intarr = new int[num];\n\n\t\tfor(int i=arr.length-1;i>=0;i--){\n\n\t\t\tSystem.out.print(arr[i]);\n\t\t\tif(i!=0){System.out.print(\" \");}else{System.out.println();}\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString input = scanner.nextLine();\n\n\t\tint num = Integer.parseInt(input);\n\n\t\tString[] arr = scanner.nextLine().split(\" \");\n\n\t\t//int[] intarr = new int[num];\n\n\t\tfor(int i=arr.length-1;i>=0;i--){\n\n\t\t\tSystem.out.print(arr[i]);\n\t\t\tif(i!=0){System.out.print(\" \");}else{System.out.println();}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString input = scanner.nextLine();\n\n\t\tint num = Integer.parseInt(input);\n\n\t\tString[] arr = scanner.nextLine().split(\" \");\n\n\t\t//int[] intarr = new int[num];\n\n\t\tfor(int i=arr.length-1;i>=0;i--){\n\n\t\t\tSystem.out.print(arr[i]);\n\t\t\tif(i!=0){System.out.print(\" \");}else{System.out.println();}\n\t\t}\n\t}",
"main",
"{\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString input = scanner.nextLine();\n\n\t\tint num = Integer.parseInt(input);\n\n\t\tString[] arr = scanner.nextLine().split(\" \");\n\n\t\t//int[] intarr = new int[num];\n\n\t\tfor(int i=arr.length-1;i>=0;i--){\n\n\t\t\tSystem.out.print(arr[i]);\n\t\t\tif(i!=0){System.out.print(\" \");}else{System.out.println();}\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String input = scanner.nextLine();",
"input",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"int num = Integer.parseInt(input);",
"num",
"Integer.parseInt(input)",
"Integer.parseInt",
"Integer",
"input",
"String[] arr = scanner.nextLine().split(\" \");",
"arr",
"scanner.nextLine().split(\" \")",
"scanner.nextLine().split",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"\" \"",
"for(int i=arr.length-1;i>=0;i--){\n\n\t\t\tSystem.out.print(arr[i]);\n\t\t\tif(i!=0){System.out.print(\" \");}else{System.out.println();}\n\t\t}",
"int i=arr.length-1;",
"int i=arr.length-1;",
"i",
"arr.length-1",
"arr.length",
"arr",
"arr.length",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\n\t\t\tSystem.out.print(arr[i]);\n\t\t\tif(i!=0){System.out.print(\" \");}else{System.out.println();}\n\t\t}",
"{\n\n\t\t\tSystem.out.print(arr[i]);\n\t\t\tif(i!=0){System.out.print(\" \");}else{System.out.println();}\n\t\t}",
"System.out.print(arr[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"arr[i]",
"arr",
"i",
"if(i!=0){System.out.print(\" \");}else{System.out.println();}",
"i!=0",
"i",
"0",
"{System.out.print(\" \");}",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"{System.out.println();}",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString input = scanner.nextLine();\n\n\t\tint num = Integer.parseInt(input);\n\n\t\tString[] arr = scanner.nextLine().split(\" \");\n\n\t\t//int[] intarr = new int[num];\n\n\t\tfor(int i=arr.length-1;i>=0;i--){\n\n\t\t\tSystem.out.print(arr[i]);\n\t\t\tif(i!=0){System.out.print(\" \");}else{System.out.println();}\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString input = scanner.nextLine();\n\n\t\tint num = Integer.parseInt(input);\n\n\t\tString[] arr = scanner.nextLine().split(\" \");\n\n\t\t//int[] intarr = new int[num];\n\n\t\tfor(int i=arr.length-1;i>=0;i--){\n\n\t\t\tSystem.out.print(arr[i]);\n\t\t\tif(i!=0){System.out.print(\" \");}else{System.out.println();}\n\t\t}\n\t}\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
Scanner scanner = new Scanner(System.in);
String input = scanner.nextLine();
int num = Integer.parseInt(input);
String[] arr = scanner.nextLine().split(" ");
//int[] intarr = new int[num];
for(int i=arr.length-1;i>=0;i--){
System.out.print(arr[i]);
if(i!=0){System.out.print(" ");}else{System.out.println();}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
0,
13,
20,
13,
42,
2,
13,
13,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
13,
40,
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,
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
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
30,
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
],
[
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 Scanner sc =new Scanner(System.in);\n int i=0;\n int n =sc.nextInt();\n int[] t;\n t = new int[n];\n \n while(i<n){\n int H =sc.nextInt();\n t[i]=H;\n i++;\n }\n System.out.print(t[n-1]);\n \n for(int b=n-2;b>=0;b--){\n \n System.out.print(\" \"+t[b]);\n }\n System.out.println();\n \n sc.close();\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 i=0;\n int n =sc.nextInt();\n int[] t;\n t = new int[n];\n \n while(i<n){\n int H =sc.nextInt();\n t[i]=H;\n i++;\n }\n System.out.print(t[n-1]);\n \n for(int b=n-2;b>=0;b--){\n \n System.out.print(\" \"+t[b]);\n }\n System.out.println();\n \n sc.close();\n }\n \n}",
"Main",
"public static void main (String [] args){\n Scanner sc =new Scanner(System.in);\n int i=0;\n int n =sc.nextInt();\n int[] t;\n t = new int[n];\n \n while(i<n){\n int H =sc.nextInt();\n t[i]=H;\n i++;\n }\n System.out.print(t[n-1]);\n \n for(int b=n-2;b>=0;b--){\n \n System.out.print(\" \"+t[b]);\n }\n System.out.println();\n \n sc.close();\n }",
"main",
"{\n Scanner sc =new Scanner(System.in);\n int i=0;\n int n =sc.nextInt();\n int[] t;\n t = new int[n];\n \n while(i<n){\n int H =sc.nextInt();\n t[i]=H;\n i++;\n }\n System.out.print(t[n-1]);\n \n for(int b=n-2;b>=0;b--){\n \n System.out.print(\" \"+t[b]);\n }\n System.out.println();\n \n sc.close();\n }",
"Scanner sc =new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i=0;",
"i",
"0",
"int n =sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[] t;",
"t",
"t = new int[n]",
"t",
"new int[n]",
"n",
"while(i<n){\n int H =sc.nextInt();\n t[i]=H;\n i++;\n }",
"i<n",
"i",
"n",
"{\n int H =sc.nextInt();\n t[i]=H;\n i++;\n }",
"int H =sc.nextInt();",
"H",
"sc.nextInt()",
"sc.nextInt",
"sc",
"t[i]=H",
"t[i]",
"t",
"i",
"H",
"i++",
"i",
"System.out.print(t[n-1])",
"System.out.print",
"System.out",
"System",
"System.out",
"t[n-1]",
"t",
"n-1",
"n",
"1",
"for(int b=n-2;b>=0;b--){\n \n System.out.print(\" \"+t[b]);\n }",
"int b=n-2;",
"int b=n-2;",
"b",
"n-2",
"n",
"2",
"b>=0",
"b",
"0",
"b--",
"b--",
"b",
"{\n \n System.out.print(\" \"+t[b]);\n }",
"{\n \n System.out.print(\" \"+t[b]);\n }",
"System.out.print(\" \"+t[b])",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"+t[b]",
"\" \"",
"t[b]",
"t",
"b",
"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 Scanner sc =new Scanner(System.in);\n int i=0;\n int n =sc.nextInt();\n int[] t;\n t = new int[n];\n \n while(i<n){\n int H =sc.nextInt();\n t[i]=H;\n i++;\n }\n System.out.print(t[n-1]);\n \n for(int b=n-2;b>=0;b--){\n \n System.out.print(\" \"+t[b]);\n }\n System.out.println();\n \n sc.close();\n }\n \n}",
"public class Main{\n public static void main (String [] args){\n Scanner sc =new Scanner(System.in);\n int i=0;\n int n =sc.nextInt();\n int[] t;\n t = new int[n];\n \n while(i<n){\n int H =sc.nextInt();\n t[i]=H;\n i++;\n }\n System.out.print(t[n-1]);\n \n for(int b=n-2;b>=0;b--){\n \n System.out.print(\" \"+t[b]);\n }\n System.out.println();\n \n sc.close();\n }\n \n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main (String [] args){
Scanner sc =new Scanner(System.in);
int i=0;
int n =sc.nextInt();
int[] t;
t = new int[n];
while(i<n){
int H =sc.nextInt();
t[i]=H;
i++;
}
System.out.print(t[n-1]);
for(int b=n-2;b>=0;b--){
System.out.print(" "+t[b]);
}
System.out.println();
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
90,
8
],
[
90,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
12,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
22,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
36,
41
],
[
22,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
42,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
42,
54
],
[
54,
55
],
[
55,
56
],
[
42,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
58,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
67,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
22,
84
],
[
84,
85
],
[
85,
86
],
[
9,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tString[] strArray = br.readLine().split(\"\\\\s\");\n\t\t\t\n\t\t\tfor (int i = n - 1; 0 < i + 1; i--) {\n\t\t\t\tSystem.out.print(strArray[i]);\n\t\t\t\tif(i == 0){\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\t\n\t\t\t}\n\t\t\t\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}\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) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tString[] strArray = br.readLine().split(\"\\\\s\");\n\t\t\t\n\t\t\tfor (int i = n - 1; 0 < i + 1; i--) {\n\t\t\t\tSystem.out.print(strArray[i]);\n\t\t\t\tif(i == 0){\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\t\n\t\t\t}\n\t\t\t\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tString[] strArray = br.readLine().split(\"\\\\s\");\n\t\t\t\n\t\t\tfor (int i = n - 1; 0 < i + 1; i--) {\n\t\t\t\tSystem.out.print(strArray[i]);\n\t\t\t\tif(i == 0){\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\t\n\t\t\t}\n\t\t\t\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}",
"main",
"{\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tString[] strArray = br.readLine().split(\"\\\\s\");\n\t\t\t\n\t\t\tfor (int i = n - 1; 0 < i + 1; i--) {\n\t\t\t\tSystem.out.print(strArray[i]);\n\t\t\t\tif(i == 0){\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\t\n\t\t\t}\n\t\t\t\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}",
"try {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tString[] strArray = br.readLine().split(\"\\\\s\");\n\t\t\t\n\t\t\tfor (int i = n - 1; 0 < i + 1; i--) {\n\t\t\t\tSystem.out.print(strArray[i]);\n\t\t\t\tif(i == 0){\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\t\n\t\t\t}\n\t\t\t\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}",
"catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}",
"Exception e",
"{\n\t\t\tSystem.err.println(e);\n\t\t}",
"System.err.println(e)",
"System.err.println",
"System.err",
"System",
"System.err",
"e",
"{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tString[] strArray = br.readLine().split(\"\\\\s\");\n\t\t\t\n\t\t\tfor (int i = n - 1; 0 < i + 1; i--) {\n\t\t\t\tSystem.out.print(strArray[i]);\n\t\t\t\tif(i == 0){\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\t\n\t\t\t}\n\t\t\t\n\t\t\tbr.close();\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));",
"br",
"new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.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(\"\\\\s\");",
"strArray",
"br.readLine().split(\"\\\\s\")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\"\\\\s\"",
"for (int i = n - 1; 0 < i + 1; i--) {\n\t\t\t\tSystem.out.print(strArray[i]);\n\t\t\t\tif(i == 0){\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\t\n\t\t\t}",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"0 < i + 1",
"0",
"i + 1",
"i",
"1",
"i--",
"i--",
"i",
"{\n\t\t\t\tSystem.out.print(strArray[i]);\n\t\t\t\tif(i == 0){\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\t\n\t\t\t}",
"{\n\t\t\t\tSystem.out.print(strArray[i]);\n\t\t\t\tif(i == 0){\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\t\n\t\t\t}",
"System.out.print(strArray[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"strArray[i]",
"strArray",
"i",
"if(i == 0){\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}",
"i == 0",
"i",
"0",
"{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"br.close()",
"br.close",
"br",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tString[] strArray = br.readLine().split(\"\\\\s\");\n\t\t\t\n\t\t\tfor (int i = n - 1; 0 < i + 1; i--) {\n\t\t\t\tSystem.out.print(strArray[i]);\n\t\t\t\tif(i == 0){\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\t\n\t\t\t}\n\t\t\t\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tString[] strArray = br.readLine().split(\"\\\\s\");\n\t\t\t\n\t\t\tfor (int i = n - 1; 0 < i + 1; i--) {\n\t\t\t\tSystem.out.print(strArray[i]);\n\t\t\t\tif(i == 0){\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\t\n\t\t\t}\n\t\t\t\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(
System.in));
int n = Integer.parseInt(br.readLine());
String[] strArray = br.readLine().split("\\s");
for (int i = n - 1; 0 < i + 1; i--) {
System.out.print(strArray[i]);
if(i == 0){
System.out.println();
}else{
System.out.print(" ");
}
}
br.close();
} catch (Exception e) {
System.err.println(e);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
2,
18,
13,
2,
2,
13,
17,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
17,
2,
4,
18,
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
],
[
84,
11
],
[
84,
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
],
[
28,
34
],
[
14,
35
],
[
35,
36
],
[
35,
37
],
[
14,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
54,
62
],
[
14,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
68,
73
],
[
68,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
74,
80
],
[
12,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"import java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n int num = Integer.parseInt(br.readLine());\n\n String[] input = br.readLine().split(\" \" , num);\n StringBuilder sb = new StringBuilder();\n\n for(int i = 0; i < num; i++){\n sb.append(input[num-1-i] + \" \");\n }\n\n System.out.println(sb.toString().substring(0 , sb.toString().length()-1));\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"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 IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n int num = Integer.parseInt(br.readLine());\n\n String[] input = br.readLine().split(\" \" , num);\n StringBuilder sb = new StringBuilder();\n\n for(int i = 0; i < num; i++){\n sb.append(input[num-1-i] + \" \");\n }\n\n System.out.println(sb.toString().substring(0 , sb.toString().length()-1));\n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n int num = Integer.parseInt(br.readLine());\n\n String[] input = br.readLine().split(\" \" , num);\n StringBuilder sb = new StringBuilder();\n\n for(int i = 0; i < num; i++){\n sb.append(input[num-1-i] + \" \");\n }\n\n System.out.println(sb.toString().substring(0 , sb.toString().length()-1));\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n int num = Integer.parseInt(br.readLine());\n\n String[] input = br.readLine().split(\" \" , num);\n StringBuilder sb = new StringBuilder();\n\n for(int i = 0; i < num; i++){\n sb.append(input[num-1-i] + \" \");\n }\n\n System.out.println(sb.toString().substring(0 , sb.toString().length()-1));\n }",
"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[] input = br.readLine().split(\" \" , num);",
"input",
"br.readLine().split(\" \" , num)",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"num",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for(int i = 0; i < num; i++){\n sb.append(input[num-1-i] + \" \");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < num",
"i",
"num",
"i++",
"i++",
"i",
"{\n sb.append(input[num-1-i] + \" \");\n }",
"{\n sb.append(input[num-1-i] + \" \");\n }",
"sb.append(input[num-1-i] + \" \")",
"sb.append",
"sb",
"input[num-1-i] + \" \"",
"input[num-1-i]",
"input",
"num-1-i",
"num-1-i",
"num",
"1",
"i",
"\" \"",
"System.out.println(sb.toString().substring(0 , sb.toString().length()-1))",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString().substring(0 , sb.toString().length()-1)",
"sb.toString().substring",
"sb.toString()",
"sb.toString",
"sb",
"0",
"sb.toString().length()-1",
"sb.toString().length()",
"sb.toString().length",
"sb.toString()",
"sb.toString",
"sb",
"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\n int num = Integer.parseInt(br.readLine());\n\n String[] input = br.readLine().split(\" \" , num);\n StringBuilder sb = new StringBuilder();\n\n for(int i = 0; i < num; i++){\n sb.append(input[num-1-i] + \" \");\n }\n\n System.out.println(sb.toString().substring(0 , sb.toString().length()-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\n int num = Integer.parseInt(br.readLine());\n\n String[] input = br.readLine().split(\" \" , num);\n StringBuilder sb = new StringBuilder();\n\n for(int i = 0; i < num; i++){\n sb.append(input[num-1-i] + \" \");\n }\n\n System.out.println(sb.toString().substring(0 , sb.toString().length()-1));\n }\n}",
"Main"
] | import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
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[] input = br.readLine().split(" " , num);
StringBuilder sb = new StringBuilder();
for(int i = 0; i < num; i++){
sb.append(input[num-1-i] + " ");
}
System.out.println(sb.toString().substring(0 , sb.toString().length()-1));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
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
],
[
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
],
[
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
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
61,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
9,
85
],
[
85,
86
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner scane = new Scanner(System.in);\n\n\t\tint n =scane.nextInt();\n\n\t\tint[] a = new int[n];\n\n\t\tfor(int i =0; i <n; i++){\n\t\t\ta[i] = scane.nextInt();\n\t\t}\n\n\t\tfor(int i =a.length-1; i>=0; --i){\n\t\t\tif(i !=0){\n\t\t\tSystem.out.print(a[i]+\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t}\n\t\t}\n\n\t}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner scane = new Scanner(System.in);\n\n\t\tint n =scane.nextInt();\n\n\t\tint[] a = new int[n];\n\n\t\tfor(int i =0; i <n; i++){\n\t\t\ta[i] = scane.nextInt();\n\t\t}\n\n\t\tfor(int i =a.length-1; i>=0; --i){\n\t\t\tif(i !=0){\n\t\t\tSystem.out.print(a[i]+\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t}\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tScanner scane = new Scanner(System.in);\n\n\t\tint n =scane.nextInt();\n\n\t\tint[] a = new int[n];\n\n\t\tfor(int i =0; i <n; i++){\n\t\t\ta[i] = scane.nextInt();\n\t\t}\n\n\t\tfor(int i =a.length-1; i>=0; --i){\n\t\t\tif(i !=0){\n\t\t\tSystem.out.print(a[i]+\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t}\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tScanner scane = new Scanner(System.in);\n\n\t\tint n =scane.nextInt();\n\n\t\tint[] a = new int[n];\n\n\t\tfor(int i =0; i <n; i++){\n\t\t\ta[i] = scane.nextInt();\n\t\t}\n\n\t\tfor(int i =a.length-1; i>=0; --i){\n\t\t\tif(i !=0){\n\t\t\tSystem.out.print(a[i]+\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t}\n\t\t}\n\n\t}",
"Scanner scane = new Scanner(System.in);",
"scane",
"new Scanner(System.in)",
"int n =scane.nextInt();",
"n",
"scane.nextInt()",
"scane.nextInt",
"scane",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for(int i =0; i <n; i++){\n\t\t\ta[i] = scane.nextInt();\n\t\t}",
"int i =0;",
"int i =0;",
"i",
"0",
"i <n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = scane.nextInt();\n\t\t}",
"{\n\t\t\ta[i] = scane.nextInt();\n\t\t}",
"a[i] = scane.nextInt()",
"a[i]",
"a",
"i",
"scane.nextInt()",
"scane.nextInt",
"scane",
"for(int i =a.length-1; i>=0; --i){\n\t\t\tif(i !=0){\n\t\t\tSystem.out.print(a[i]+\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a[i]);\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",
"{\n\t\t\tif(i !=0){\n\t\t\tSystem.out.print(a[i]+\" \");\n\t\t\t}else{\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\tSystem.out.print(a[i]+\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t}\n\t\t}",
"if(i !=0){\n\t\t\tSystem.out.print(a[i]+\" \");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a[i]);\n\t\t\t}",
"i !=0",
"i",
"0",
"{\n\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"
] | import java.io.IOException;
import java.util.Scanner;
class Main {
public static void main(String[] args) throws IOException {
Scanner scane = new Scanner(System.in);
int n =scane.nextInt();
int[] a = new int[n];
for(int i =0; i <n; i++){
a[i] = scane.nextInt();
}
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,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
11,
1,
0,
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,
2,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
77,
11
],
[
77,
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
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
30,
35
],
[
14,
36
],
[
36,
37
],
[
36,
38
],
[
14,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
39,
46
],
[
46,
47
],
[
46,
48
],
[
39,
49
],
[
49,
50
],
[
50,
51
],
[
39,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
14,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
12,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\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\t int i;\n\t String[] su=br.readLine().split(\" \");\n\t \n\t StringBuilder outArray = new StringBuilder();\n\t \n\t for( i=n-1;i>0;i--){\n\t \tSystem.out.print(su[i]+\" \");\n\t }\n\t System.out.print(su[i]+\"\\n\");\n\t }\n\t}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\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\t int i;\n\t String[] su=br.readLine().split(\" \");\n\t \n\t StringBuilder outArray = new StringBuilder();\n\t \n\t for( i=n-1;i>0;i--){\n\t \tSystem.out.print(su[i]+\" \");\n\t }\n\t System.out.print(su[i]+\"\\n\");\n\t }\n\t}",
"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\t int i;\n\t String[] su=br.readLine().split(\" \");\n\t \n\t StringBuilder outArray = new StringBuilder();\n\t \n\t for( i=n-1;i>0;i--){\n\t \tSystem.out.print(su[i]+\" \");\n\t }\n\t System.out.print(su[i]+\"\\n\");\n\t }",
"main",
"{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t int n = Integer.parseInt(br.readLine());\n\t int i;\n\t String[] su=br.readLine().split(\" \");\n\t \n\t StringBuilder outArray = new StringBuilder();\n\t \n\t for( i=n-1;i>0;i--){\n\t \tSystem.out.print(su[i]+\" \");\n\t }\n\t System.out.print(su[i]+\"\\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",
"int i;",
"i",
"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( i=n-1;i>0;i--){\n\t \tSystem.out.print(su[i]+\" \");\n\t }",
"i=n-1;",
"i=n-1",
"i",
"n-1",
"n",
"1",
"i>0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t \tSystem.out.print(su[i]+\" \");\n\t }",
"{\n\t \tSystem.out.print(su[i]+\" \");\n\t }",
"System.out.print(su[i]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"su[i]+\" \"",
"su[i]",
"su",
"i",
"\" \"",
"System.out.print(su[i]+\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"su[i]+\"\\n\"",
"su[i]",
"su",
"i",
"\"\\n\"",
"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\t int i;\n\t String[] su=br.readLine().split(\" \");\n\t \n\t StringBuilder outArray = new StringBuilder();\n\t \n\t for( i=n-1;i>0;i--){\n\t \tSystem.out.print(su[i]+\" \");\n\t }\n\t System.out.print(su[i]+\"\\n\");\n\t }\n\t}",
"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\t int i;\n\t String[] su=br.readLine().split(\" \");\n\t \n\t StringBuilder outArray = new StringBuilder();\n\t \n\t for( i=n-1;i>0;i--){\n\t \tSystem.out.print(su[i]+\" \");\n\t }\n\t System.out.print(su[i]+\"\\n\");\n\t }\n\t}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(br.readLine());
int i;
String[] su=br.readLine().split(" ");
StringBuilder outArray = new StringBuilder();
for( i=n-1;i>0;i--){
System.out.print(su[i]+" ");
}
System.out.print(su[i]+"\n");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
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,
4,
18,
13,
13,
17,
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
],
[
91,
8
],
[
91,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
45,
52
],
[
52,
53
],
[
52,
54
],
[
45,
55
],
[
55,
56
],
[
56,
57
],
[
45,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
70,
75
],
[
60,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
82,
87
],
[
9,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tscan.close();\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t} else {\n\t\t\t\tSystem.out.print(list.get(i) + \"\\n\");\n\t\t\t}\n\t\t}\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tscan.close();\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t} else {\n\t\t\t\tSystem.out.print(list.get(i) + \"\\n\");\n\t\t\t}\n\t\t}\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\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tscan.close();\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t} else {\n\t\t\t\tSystem.out.print(list.get(i) + \"\\n\");\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\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tscan.close();\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t} else {\n\t\t\t\tSystem.out.print(list.get(i) + \"\\n\");\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",
"ArrayList<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"for (int i = 0; i < n; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tlist.add(scan.nextInt());\n\t\t}",
"{\n\t\t\tlist.add(scan.nextInt());\n\t\t}",
"list.add(scan.nextInt())",
"list.add",
"list",
"scan.nextInt()",
"scan.nextInt",
"scan",
"scan.close()",
"scan.close",
"scan",
"for (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t} else {\n\t\t\t\tSystem.out.print(list.get(i) + \"\\n\");\n\t\t\t}\n\t\t}",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t} else {\n\t\t\t\tSystem.out.print(list.get(i) + \"\\n\");\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t} else {\n\t\t\t\tSystem.out.print(list.get(i) + \"\\n\");\n\t\t\t}\n\t\t}",
"if (i != 0) {\n\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t} else {\n\t\t\t\tSystem.out.print(list.get(i) + \"\\n\");\n\t\t\t}",
"i != 0",
"i",
"0",
"{\n\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t}",
"System.out.print(list.get(i) + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"list.get(i) + \" \"",
"list.get(i)",
"list.get",
"list",
"i",
"\" \"",
"{\n\t\t\t\tSystem.out.print(list.get(i) + \"\\n\");\n\t\t\t}",
"System.out.print(list.get(i) + \"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"list.get(i) + \"\\n\"",
"list.get(i)",
"list.get",
"list",
"i",
"\"\\n\"",
"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\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tscan.close();\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t} else {\n\t\t\t\tSystem.out.print(list.get(i) + \"\\n\");\n\t\t\t}\n\t\t}\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tscan.close();\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i != 0) {\n\t\t\t\tSystem.out.print(list.get(i) + \" \");\n\t\t\t} else {\n\t\t\t\tSystem.out.print(list.get(i) + \"\\n\");\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
ArrayList<Integer> list = new ArrayList<Integer>();
for (int i = 0; i < n; i++) {
list.add(scan.nextInt());
}
scan.close();
for (int i = n - 1; i >= 0; i--) {
if (i != 0) {
System.out.print(list.get(i) + " ");
} else {
System.out.print(list.get(i) + "\n");
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
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
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int d[] = new int[n];\n for(int i=0;i<n;i++) {\n d[i] = in.nextInt();\n }\n for(int i=n-1;i>=0;i--) {\n if(i == 0) {\n System.out.println(d[i]);\n } else {\n System.out.print(d[i] + \" \");\n }\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int d[] = new int[n];\n for(int i=0;i<n;i++) {\n d[i] = in.nextInt();\n }\n for(int i=n-1;i>=0;i--) {\n if(i == 0) {\n System.out.println(d[i]);\n } else {\n System.out.print(d[i] + \" \");\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int d[] = new int[n];\n for(int i=0;i<n;i++) {\n d[i] = in.nextInt();\n }\n for(int i=n-1;i>=0;i--) {\n if(i == 0) {\n System.out.println(d[i]);\n } else {\n System.out.print(d[i] + \" \");\n }\n }\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int d[] = new int[n];\n for(int i=0;i<n;i++) {\n d[i] = in.nextInt();\n }\n for(int i=n-1;i>=0;i--) {\n if(i == 0) {\n System.out.println(d[i]);\n } else {\n System.out.print(d[i] + \" \");\n }\n }\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int n = in.nextInt();",
"n",
"in.nextInt()",
"in.nextInt",
"in",
"int d[] = new int[n];",
"d",
"new int[n]",
"n",
"for(int i=0;i<n;i++) {\n d[i] = in.nextInt();\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n d[i] = in.nextInt();\n }",
"{\n d[i] = in.nextInt();\n }",
"d[i] = in.nextInt()",
"d[i]",
"d",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"for(int i=n-1;i>=0;i--) {\n if(i == 0) {\n System.out.println(d[i]);\n } else {\n System.out.print(d[i] + \" \");\n }\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 System.out.println(d[i]);\n } else {\n System.out.print(d[i] + \" \");\n }\n }",
"{\n if(i == 0) {\n System.out.println(d[i]);\n } else {\n System.out.print(d[i] + \" \");\n }\n }",
"if(i == 0) {\n System.out.println(d[i]);\n } else {\n System.out.print(d[i] + \" \");\n }",
"i == 0",
"i",
"0",
"{\n System.out.println(d[i]);\n }",
"System.out.println(d[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"d[i]",
"d",
"i",
"{\n System.out.print(d[i] + \" \");\n }",
"System.out.print(d[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"d[i] + \" \"",
"d[i]",
"d",
"i",
"\" \"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int d[] = new int[n];\n for(int i=0;i<n;i++) {\n d[i] = in.nextInt();\n }\n for(int i=n-1;i>=0;i--) {\n if(i == 0) {\n System.out.println(d[i]);\n } else {\n System.out.print(d[i] + \" \");\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int d[] = new int[n];\n for(int i=0;i<n;i++) {\n d[i] = in.nextInt();\n }\n for(int i=n-1;i>=0;i--) {\n if(i == 0) {\n System.out.println(d[i]);\n } else {\n System.out.print(d[i] + \" \");\n }\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int n = in.nextInt();
int d[] = new int[n];
for(int i=0;i<n;i++) {
d[i] = in.nextInt();
}
for(int i=n-1;i>=0;i--) {
if(i == 0) {
System.out.println(d[i]);
} else {
System.out.print(d[i] + " ");
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
0,
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,
30,
3,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
58,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
58,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
8,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
6,
84
],
[
84,
85
]
] | [
"import java.util.Scanner;\n\nclass Main\n{\n\tpublic static void main ( String[] args ) {\n\t\tScanner sc = new Scanner ( System.in );\n\n\t\tint n = 0;\n\t\tn = sc.nextInt ();\n\n\t\tint[] a = new int[ n ];\n\t\t\n\t\tfor ( int i = 0; i < n; i++ ) {\n\t\t\ta[ i ] = sc.nextInt ();\n\t\t}\n\n\t\tfor ( int j = n - 1; 0 <= j; j-- ) {\n\t\t\tSystem.out.print ( a[ j ] );\n\t\t\tif ( j == 0 ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print ( \" \" );\n\t\t}\n\t\tSystem.out.println ();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main\n{\n\tpublic static void main ( String[] args ) {\n\t\tScanner sc = new Scanner ( System.in );\n\n\t\tint n = 0;\n\t\tn = sc.nextInt ();\n\n\t\tint[] a = new int[ n ];\n\t\t\n\t\tfor ( int i = 0; i < n; i++ ) {\n\t\t\ta[ i ] = sc.nextInt ();\n\t\t}\n\n\t\tfor ( int j = n - 1; 0 <= j; j-- ) {\n\t\t\tSystem.out.print ( a[ j ] );\n\t\t\tif ( j == 0 ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print ( \" \" );\n\t\t}\n\t\tSystem.out.println ();\n\t}\n}",
"Main",
"public static void main ( String[] args ) {\n\t\tScanner sc = new Scanner ( System.in );\n\n\t\tint n = 0;\n\t\tn = sc.nextInt ();\n\n\t\tint[] a = new int[ n ];\n\t\t\n\t\tfor ( int i = 0; i < n; i++ ) {\n\t\t\ta[ i ] = sc.nextInt ();\n\t\t}\n\n\t\tfor ( int j = n - 1; 0 <= j; j-- ) {\n\t\t\tSystem.out.print ( a[ j ] );\n\t\t\tif ( j == 0 ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print ( \" \" );\n\t\t}\n\t\tSystem.out.println ();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner ( System.in );\n\n\t\tint n = 0;\n\t\tn = sc.nextInt ();\n\n\t\tint[] a = new int[ n ];\n\t\t\n\t\tfor ( int i = 0; i < n; i++ ) {\n\t\t\ta[ i ] = sc.nextInt ();\n\t\t}\n\n\t\tfor ( int j = n - 1; 0 <= j; j-- ) {\n\t\t\tSystem.out.print ( a[ j ] );\n\t\t\tif ( j == 0 ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print ( \" \" );\n\t\t}\n\t\tSystem.out.println ();\n\t}",
"Scanner sc = new Scanner ( System.in );",
"sc",
"new Scanner ( System.in )",
"int n = 0;",
"n",
"0",
"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 j = n - 1; 0 <= j; j-- ) {\n\t\t\tSystem.out.print ( a[ j ] );\n\t\t\tif ( j == 0 ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print ( \" \" );\n\t\t}",
"int j = n - 1;",
"int j = n - 1;",
"j",
"n - 1",
"n",
"1",
"0 <= j",
"0",
"j",
"j--",
"j--",
"j",
"{\n\t\t\tSystem.out.print ( a[ j ] );\n\t\t\tif ( j == 0 ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print ( \" \" );\n\t\t}",
"{\n\t\t\tSystem.out.print ( a[ j ] );\n\t\t\tif ( j == 0 ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.print ( \" \" );\n\t\t}",
"System.out.print ( a[ j ] )",
"System.out.print",
"System.out",
"System",
"System.out",
"a[ j ]",
"a",
"j",
"if ( j == 0 ) {\n\t\t\t\tbreak;\n\t\t\t}",
"j == 0",
"j",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.print ( \" \" )",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println ()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args"
] | import java.util.Scanner;
class Main
{
public static void main ( String[] args ) {
Scanner sc = new Scanner ( System.in );
int n = 0;
n = sc.nextInt ();
int[] a = new int[ n ];
for ( int i = 0; i < n; i++ ) {
a[ i ] = sc.nextInt ();
}
for ( int j = n - 1; 0 <= j; j-- ) {
System.out.print ( a[ j ] );
if ( j == 0 ) {
break;
}
System.out.print ( " " );
}
System.out.println ();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
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,
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,
17,
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
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
43,
50
],
[
50,
51
],
[
50,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
43,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
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
],
[
77,
82
],
[
6,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"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 i,n = sc.nextInt();\n\t\tint array[] = new int[\t100];\n\t\tfor(i = 0; i < n; i++){\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\t\tfor(i = i - 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}\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 sc = new Scanner(System.in);\n\t\tint i,n = sc.nextInt();\n\t\tint array[] = new int[\t100];\n\t\tfor(i = 0; i < n; i++){\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\t\tfor(i = i - 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}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n}",
"Main",
"public static void main(String [] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i,n = sc.nextInt();\n\t\tint array[] = new int[\t100];\n\t\tfor(i = 0; i < n; i++){\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\t\tfor(i = i - 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}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i,n = sc.nextInt();\n\t\tint array[] = new int[\t100];\n\t\tfor(i = 0; i < n; i++){\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\t\tfor(i = i - 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}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i",
"i",
"n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int array[] = new int[\t100];",
"array",
"new int[\t100]",
"100",
"for(i = 0; i < n; i++){\n\t\t\tarray[i] = sc.nextInt();\n\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tarray[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tarray[i] = sc.nextInt();\n\t\t}",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(i = i - 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}\n\t\t}",
"i = i - 1;",
"i = i - 1",
"i",
"i - 1",
"i",
"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}\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}\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}",
"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\tScanner sc = new Scanner(System.in);\n\t\tint i,n = sc.nextInt();\n\t\tint array[] = new int[\t100];\n\t\tfor(i = 0; i < n; i++){\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\t\tfor(i = i - 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}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n}",
"public class Main{\n\tpublic static void main(String [] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i,n = sc.nextInt();\n\t\tint array[] = new int[\t100];\n\t\tfor(i = 0; i < n; i++){\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\t\tfor(i = i - 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}\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 sc = new Scanner(System.in);
int i,n = sc.nextInt();
int array[] = new int[ 100];
for(i = 0; i < n; i++){
array[i] = sc.nextInt();
}
for(i = i - 1; i >= 0; i--){
System.out.print(array[i]);
if(i != 0){
System.out.print(" ");
}
}
System.out.println("");
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
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
],
[
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
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
34,
41
],
[
41,
42
],
[
41,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
48,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
59,
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.util.*;\n/*\nMain class for AOJ where there is no input.\n*/\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.nextLine());\n \n String str = sc.nextLine();\n String[] arr = str.split(\" \");\n String s = \"\";\n \n for(int i = n - 1; i >= 0 ; i--){\n s += arr[i];\n if(i != 0){\n s += \" \";\n }\n } \n System.out.println(s); \n }//main method \n}//class",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.nextLine());\n \n String str = sc.nextLine();\n String[] arr = str.split(\" \");\n String s = \"\";\n \n for(int i = n - 1; i >= 0 ; i--){\n s += arr[i];\n if(i != 0){\n s += \" \";\n }\n } \n System.out.println(s); \n }//main method \n}//class",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.nextLine());\n \n String str = sc.nextLine();\n String[] arr = str.split(\" \");\n String s = \"\";\n \n for(int i = n - 1; i >= 0 ; i--){\n s += arr[i];\n if(i != 0){\n s += \" \";\n }\n } \n System.out.println(s); \n }//main method ",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.nextLine());\n \n String str = sc.nextLine();\n String[] arr = str.split(\" \");\n String s = \"\";\n \n for(int i = n - 1; i >= 0 ; i--){\n s += arr[i];\n if(i != 0){\n s += \" \";\n }\n } \n System.out.println(s); \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = Integer.parseInt(sc.nextLine());",
"n",
"Integer.parseInt(sc.nextLine())",
"Integer.parseInt",
"Integer",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String str = sc.nextLine();",
"str",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] arr = str.split(\" \");",
"arr",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"String s = \"\";",
"s",
"\"\"",
"for(int i = n - 1; i >= 0 ; i--){\n s += arr[i];\n if(i != 0){\n s += \" \";\n }\n }",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n s += arr[i];\n if(i != 0){\n s += \" \";\n }\n }",
"{\n s += arr[i];\n if(i != 0){\n s += \" \";\n }\n }",
"s += arr[i]",
"s",
"arr[i]",
"arr",
"i",
"if(i != 0){\n s += \" \";\n }",
"i != 0",
"i",
"0",
"{\n s += \" \";\n }",
"s += \" \"",
"s",
"\" \"",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.nextLine());\n \n String str = sc.nextLine();\n String[] arr = str.split(\" \");\n String s = \"\";\n \n for(int i = n - 1; i >= 0 ; i--){\n s += arr[i];\n if(i != 0){\n s += \" \";\n }\n } \n System.out.println(s); \n }//main method \n}//class",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.nextLine());\n \n String str = sc.nextLine();\n String[] arr = str.split(\" \");\n String s = \"\";\n \n for(int i = n - 1; i >= 0 ; i--){\n s += arr[i];\n if(i != 0){\n s += \" \";\n }\n } \n System.out.println(s); \n }//main method \n}//class",
"Main"
] | import java.util.*;
/*
Main class for AOJ where there is no input.
*/
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int n = Integer.parseInt(sc.nextLine());
String str = sc.nextLine();
String[] arr = str.split(" ");
String s = "";
for(int i = n - 1; i >= 0 ; i--){
s += arr[i];
if(i != 0){
s += " ";
}
}
System.out.println(s);
}//main method
}//class |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
0,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
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,
0,
13,
18,
13,
17,
4,
18,
18,
13,
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
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
26,
36
],
[
36,
37
],
[
37,
38
],
[
26,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
8,
51
],
[
51,
52
],
[
51,
53
],
[
8,
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
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
8,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
8,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
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\tScanner std = new Scanner(System.in);\n\t\tint n = Integer.parseInt(std.next());\n\t\tint array[];\n\t\tarray = new int[n];\n\t\tfor (int i=0; i<=n-1; i++){\n\t\t\tarray[i] = Integer.parseInt(std.next());\n\t\t}\n\t\tString ret = \"\";\n\t\tfor (int j=n-1; j>=1; j--){\n\t\t\tret += array[j] + \" \";\n\t\t}\n\t\tret += array[0];\n\t\tSystem.out.println(ret);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tint n = Integer.parseInt(std.next());\n\t\tint array[];\n\t\tarray = new int[n];\n\t\tfor (int i=0; i<=n-1; i++){\n\t\t\tarray[i] = Integer.parseInt(std.next());\n\t\t}\n\t\tString ret = \"\";\n\t\tfor (int j=n-1; j>=1; j--){\n\t\t\tret += array[j] + \" \";\n\t\t}\n\t\tret += array[0];\n\t\tSystem.out.println(ret);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tint n = Integer.parseInt(std.next());\n\t\tint array[];\n\t\tarray = new int[n];\n\t\tfor (int i=0; i<=n-1; i++){\n\t\t\tarray[i] = Integer.parseInt(std.next());\n\t\t}\n\t\tString ret = \"\";\n\t\tfor (int j=n-1; j>=1; j--){\n\t\t\tret += array[j] + \" \";\n\t\t}\n\t\tret += array[0];\n\t\tSystem.out.println(ret);\n\t}",
"main",
"{\n\t\tScanner std = new Scanner(System.in);\n\t\tint n = Integer.parseInt(std.next());\n\t\tint array[];\n\t\tarray = new int[n];\n\t\tfor (int i=0; i<=n-1; i++){\n\t\t\tarray[i] = Integer.parseInt(std.next());\n\t\t}\n\t\tString ret = \"\";\n\t\tfor (int j=n-1; j>=1; j--){\n\t\t\tret += array[j] + \" \";\n\t\t}\n\t\tret += array[0];\n\t\tSystem.out.println(ret);\n\t}",
"Scanner std = new Scanner(System.in);",
"std",
"new Scanner(System.in)",
"int n = Integer.parseInt(std.next());",
"n",
"Integer.parseInt(std.next())",
"Integer.parseInt",
"Integer",
"std.next()",
"std.next",
"std",
"int array[];",
"array",
"array = new int[n]",
"array",
"new int[n]",
"n",
"for (int i=0; i<=n-1; i++){\n\t\t\tarray[i] = Integer.parseInt(std.next());\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\tarray[i] = Integer.parseInt(std.next());\n\t\t}",
"{\n\t\t\tarray[i] = Integer.parseInt(std.next());\n\t\t}",
"array[i] = Integer.parseInt(std.next())",
"array[i]",
"array",
"i",
"Integer.parseInt(std.next())",
"Integer.parseInt",
"Integer",
"std.next()",
"std.next",
"std",
"String ret = \"\";",
"ret",
"\"\"",
"for (int j=n-1; j>=1; j--){\n\t\t\tret += array[j] + \" \";\n\t\t}",
"int j=n-1;",
"int j=n-1;",
"j",
"n-1",
"n",
"1",
"j>=1",
"j",
"1",
"j--",
"j--",
"j",
"{\n\t\t\tret += array[j] + \" \";\n\t\t}",
"{\n\t\t\tret += array[j] + \" \";\n\t\t}",
"ret += array[j] + \" \"",
"ret",
"array[j] + \" \"",
"array[j]",
"array",
"j",
"\" \"",
"ret += array[0]",
"ret",
"array[0]",
"array",
"0",
"System.out.println(ret)",
"System.out.println",
"System.out",
"System",
"System.out",
"ret",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tint n = Integer.parseInt(std.next());\n\t\tint array[];\n\t\tarray = new int[n];\n\t\tfor (int i=0; i<=n-1; i++){\n\t\t\tarray[i] = Integer.parseInt(std.next());\n\t\t}\n\t\tString ret = \"\";\n\t\tfor (int j=n-1; j>=1; j--){\n\t\t\tret += array[j] + \" \";\n\t\t}\n\t\tret += array[0];\n\t\tSystem.out.println(ret);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tint n = Integer.parseInt(std.next());\n\t\tint array[];\n\t\tarray = new int[n];\n\t\tfor (int i=0; i<=n-1; i++){\n\t\t\tarray[i] = Integer.parseInt(std.next());\n\t\t}\n\t\tString ret = \"\";\n\t\tfor (int j=n-1; j>=1; j--){\n\t\t\tret += array[j] + \" \";\n\t\t}\n\t\tret += array[0];\n\t\tSystem.out.println(ret);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner std = new Scanner(System.in);
int n = Integer.parseInt(std.next());
int array[];
array = new int[n];
for (int i=0; i<=n-1; i++){
array[i] = Integer.parseInt(std.next());
}
String ret = "";
for (int j=n-1; j>=1; j--){
ret += array[j] + " ";
}
ret += array[0];
System.out.println(ret);
}
} |
[
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,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
17,
18,
13,
13,
30,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
95,
5
],
[
95,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
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
],
[
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
],
[
61,
62
],
[
61,
63
],
[
58,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
58,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
8,
89
],
[
89,
90
],
[
90,
91
],
[
6,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor(int i=0;i<a.length;i++) {\n\t\t\ta[i] = scanner.nextInt();\n\t\t}\n\t\tfor(int i=n-1;i>=0;i--) {\n\t\t\tif(i!=n-1) {\n\t\t\t\tSystem.out.print(\" \" + 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\tSystem.out.println();\n\t\tscanner.close();\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 scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor(int i=0;i<a.length;i++) {\n\t\t\ta[i] = scanner.nextInt();\n\t\t}\n\t\tfor(int i=n-1;i>=0;i--) {\n\t\t\tif(i!=n-1) {\n\t\t\t\tSystem.out.print(\" \" + 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\tSystem.out.println();\n\t\tscanner.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor(int i=0;i<a.length;i++) {\n\t\t\ta[i] = scanner.nextInt();\n\t\t}\n\t\tfor(int i=n-1;i>=0;i--) {\n\t\t\tif(i!=n-1) {\n\t\t\t\tSystem.out.print(\" \" + 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\tSystem.out.println();\n\t\tscanner.close();\n\t}",
"main",
"{\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor(int i=0;i<a.length;i++) {\n\t\t\ta[i] = scanner.nextInt();\n\t\t}\n\t\tfor(int i=n-1;i>=0;i--) {\n\t\t\tif(i!=n-1) {\n\t\t\t\tSystem.out.print(\" \" + 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\tSystem.out.println();\n\t\tscanner.close();\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int n = scanner.nextInt();",
"n",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for(int i=0;i<a.length;i++) {\n\t\t\ta[i] = scanner.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] = scanner.nextInt();\n\t\t}",
"{\n\t\t\ta[i] = scanner.nextInt();\n\t\t}",
"a[i] = scanner.nextInt()",
"a[i]",
"a",
"i",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"for(int i=n-1;i>=0;i--) {\n\t\t\tif(i!=n-1) {\n\t\t\t\tSystem.out.print(\" \" + a[i]);\n\t\t\t}else {\n\t\t\t\tSystem.out.print(a[i]);\n\t\t\t}\n\t\t}",
"int i=n-1;",
"int i=n-1;",
"i",
"n-1",
"n",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tif(i!=n-1) {\n\t\t\t\tSystem.out.print(\" \" + 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.print(\" \" + 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.print(\" \" + 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.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.print(a[i]);\n\t\t\t}",
"System.out.print(a[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"scanner.close()",
"scanner.close",
"scanner",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor(int i=0;i<a.length;i++) {\n\t\t\ta[i] = scanner.nextInt();\n\t\t}\n\t\tfor(int i=n-1;i>=0;i--) {\n\t\t\tif(i!=n-1) {\n\t\t\t\tSystem.out.print(\" \" + 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\tSystem.out.println();\n\t\tscanner.close();\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor(int i=0;i<a.length;i++) {\n\t\t\ta[i] = scanner.nextInt();\n\t\t}\n\t\tfor(int i=n-1;i>=0;i--) {\n\t\t\tif(i!=n-1) {\n\t\t\t\tSystem.out.print(\" \" + 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\tSystem.out.println();\n\t\tscanner.close();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
int[] a = new int[n];
for(int i=0;i<a.length;i++) {
a[i] = scanner.nextInt();
}
for(int i=n-1;i>=0;i--) {
if(i!=n-1) {
System.out.print(" " + a[i]);
}else {
System.out.print(a[i]);
}
}
System.out.println();
scanner.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
20,
0,
13,
4,
18,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
4,
18,
13,
17,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
11,
1,
0,
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,
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
],
[
11,
14
],
[
14,
15
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
11,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
29,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
11,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
45,
50
],
[
11,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
71,
73
],
[
11,
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
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
89,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
88,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
11,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
11,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
9,
119
],
[
119,
120
]
] | [
"import java.io.*;\nimport java.util.Arrays;\nclass Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tint i,m;\n\t\tint[] n = new int[990];\n\t\tString[] str = new String[990];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tstr = in.readLine().split(\" \");\n\t\tm = Integer.parseInt(str[0]);\n\t\tstr = in.readLine().split(\" \");\n\t\tfor(i=0;i<m;i++){\n\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t}\n\t\tfor(i=m-1;i>=0;i--){\n\t\t\tif(i!=m-1) System.out.print(\" \"); \n\t\t\tSystem.out.print(n[i]);\n\t\t}\n\t\tSystem.out.println();\n\t\tSystem.out.flush();\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tint i,m;\n\t\tint[] n = new int[990];\n\t\tString[] str = new String[990];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tstr = in.readLine().split(\" \");\n\t\tm = Integer.parseInt(str[0]);\n\t\tstr = in.readLine().split(\" \");\n\t\tfor(i=0;i<m;i++){\n\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t}\n\t\tfor(i=m-1;i>=0;i--){\n\t\t\tif(i!=m-1) System.out.print(\" \"); \n\t\t\tSystem.out.print(n[i]);\n\t\t}\n\t\tSystem.out.println();\n\t\tSystem.out.flush();\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tint i,m;\n\t\tint[] n = new int[990];\n\t\tString[] str = new String[990];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tstr = in.readLine().split(\" \");\n\t\tm = Integer.parseInt(str[0]);\n\t\tstr = in.readLine().split(\" \");\n\t\tfor(i=0;i<m;i++){\n\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t}\n\t\tfor(i=m-1;i>=0;i--){\n\t\t\tif(i!=m-1) System.out.print(\" \"); \n\t\t\tSystem.out.print(n[i]);\n\t\t}\n\t\tSystem.out.println();\n\t\tSystem.out.flush();\n\t}",
"main",
"{\n\t\tint i,m;\n\t\tint[] n = new int[990];\n\t\tString[] str = new String[990];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tstr = in.readLine().split(\" \");\n\t\tm = Integer.parseInt(str[0]);\n\t\tstr = in.readLine().split(\" \");\n\t\tfor(i=0;i<m;i++){\n\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t}\n\t\tfor(i=m-1;i>=0;i--){\n\t\t\tif(i!=m-1) System.out.print(\" \"); \n\t\t\tSystem.out.print(n[i]);\n\t\t}\n\t\tSystem.out.println();\n\t\tSystem.out.flush();\n\t}",
"int i",
"i",
"m;",
"m",
"int[] n = new int[990];",
"n",
"new int[990]",
"990",
"String[] str = new String[990];",
"str",
"new String[990]",
"990",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"str = in.readLine().split(\" \")",
"str",
"in.readLine().split(\" \")",
"in.readLine().split",
"in.readLine()",
"in.readLine",
"in",
"\" \"",
"m = Integer.parseInt(str[0])",
"m",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"str = in.readLine().split(\" \")",
"str",
"in.readLine().split(\" \")",
"in.readLine().split",
"in.readLine()",
"in.readLine",
"in",
"\" \"",
"for(i=0;i<m;i++){\n\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t}",
"i=0;",
"i=0",
"i",
"0",
"i<m",
"i",
"m",
"i++",
"i++",
"i",
"{\n\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t}",
"{\n\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t}",
"n[i] = Integer.parseInt(str[i])",
"n[i]",
"n",
"i",
"Integer.parseInt(str[i])",
"Integer.parseInt",
"Integer",
"str[i]",
"str",
"i",
"for(i=m-1;i>=0;i--){\n\t\t\tif(i!=m-1) System.out.print(\" \"); \n\t\t\tSystem.out.print(n[i]);\n\t\t}",
"i=m-1;",
"i=m-1",
"i",
"m-1",
"m",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tif(i!=m-1) System.out.print(\" \"); \n\t\t\tSystem.out.print(n[i]);\n\t\t}",
"{\n\t\t\tif(i!=m-1) System.out.print(\" \"); \n\t\t\tSystem.out.print(n[i]);\n\t\t}",
"if(i!=m-1) System.out.print(\" \");",
"i!=m-1",
"i",
"m-1",
"m",
"1",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.print(n[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"n[i]",
"n",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"System.out.flush()",
"System.out.flush",
"System.out",
"System",
"System.out",
"String[] args",
"args"
] | import java.io.*;
import java.util.Arrays;
class Main{
public static void main(String[] args) throws IOException {
int i,m;
int[] n = new int[990];
String[] str = new String[990];
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
str = in.readLine().split(" ");
m = Integer.parseInt(str[0]);
str = in.readLine().split(" ");
for(i=0;i<m;i++){
n[i] = Integer.parseInt(str[i]);
}
for(i=m-1;i>=0;i--){
if(i!=m-1) System.out.print(" ");
System.out.print(n[i]);
}
System.out.println();
System.out.flush();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
18,
13,
13,
14,
2,
13,
2,
18,
13,
13,
17,
30,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
97,
5
],
[
97,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
21,
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
],
[
6,
46
],
[
46,
47
],
[
97,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
54,
64
],
[
64,
65
],
[
65,
66
],
[
54,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
72,
74
],
[
68,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
50,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
48,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
] | [
"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 = n - 1; i >= 0; i--) {\n a[i] = sc.nextInt();\n }\n printArray(a);\n }\n\n private static void printArray(int[] arr) {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < arr.length; i++) {\n sb.append(arr[i]);\n if (i != arr.length - 1) {\n sb.append(\" \");\n }\n }\n System.out.println(sb);\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 = n - 1; i >= 0; i--) {\n a[i] = sc.nextInt();\n }\n printArray(a);\n }\n\n private static void printArray(int[] arr) {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < arr.length; i++) {\n sb.append(arr[i]);\n if (i != arr.length - 1) {\n sb.append(\" \");\n }\n }\n System.out.println(sb);\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 = n - 1; i >= 0; i--) {\n a[i] = sc.nextInt();\n }\n printArray(a);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a = new int[n];\n for (int i = n - 1; i >= 0; i--) {\n a[i] = sc.nextInt();\n }\n printArray(a);\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 = n - 1; i >= 0; i--) {\n a[i] = sc.nextInt();\n }",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n a[i] = sc.nextInt();\n }",
"{\n a[i] = sc.nextInt();\n }",
"a[i] = sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"printArray(a)",
"printArray",
"a",
"String[] args",
"args",
"private static void printArray(int[] arr) {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < arr.length; i++) {\n sb.append(arr[i]);\n if (i != arr.length - 1) {\n sb.append(\" \");\n }\n }\n System.out.println(sb);\n }",
"printArray",
"{\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < arr.length; i++) {\n sb.append(arr[i]);\n if (i != arr.length - 1) {\n sb.append(\" \");\n }\n }\n System.out.println(sb);\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = 0; i < arr.length; i++) {\n sb.append(arr[i]);\n if (i != arr.length - 1) {\n sb.append(\" \");\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\n sb.append(arr[i]);\n if (i != arr.length - 1) {\n sb.append(\" \");\n }\n }",
"{\n sb.append(arr[i]);\n if (i != arr.length - 1) {\n sb.append(\" \");\n }\n }",
"sb.append(arr[i])",
"sb.append",
"sb",
"arr[i]",
"arr",
"i",
"if (i != arr.length - 1) {\n sb.append(\" \");\n }",
"i != arr.length - 1",
"i",
"arr.length - 1",
"arr.length",
"arr",
"arr.length",
"1",
"{\n sb.append(\" \");\n }",
"sb.append(\" \")",
"sb.append",
"sb",
"\" \"",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"int[] arr",
"arr",
"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 = n - 1; i >= 0; i--) {\n a[i] = sc.nextInt();\n }\n printArray(a);\n }\n\n private static void printArray(int[] arr) {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < arr.length; i++) {\n sb.append(arr[i]);\n if (i != arr.length - 1) {\n sb.append(\" \");\n }\n }\n System.out.println(sb);\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 = n - 1; i >= 0; i--) {\n a[i] = sc.nextInt();\n }\n printArray(a);\n }\n\n private static void printArray(int[] arr) {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < arr.length; i++) {\n sb.append(arr[i]);\n if (i != arr.length - 1) {\n sb.append(\" \");\n }\n }\n System.out.println(sb);\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 = n - 1; i >= 0; i--) {
a[i] = sc.nextInt();
}
printArray(a);
}
private static void printArray(int[] arr) {
StringBuilder sb = new StringBuilder();
for (int i = 0; i < arr.length; i++) {
sb.append(arr[i]);
if (i != arr.length - 1) {
sb.append(" ");
}
}
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,
20,
41,
13,
17,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
2,
2,
4,
18,
13,
17,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
14,
2,
13,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
141,
11
],
[
141,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
14,
27
],
[
27,
28
],
[
28,
29
],
[
14,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
14,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
37,
41
],
[
14,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
42,
52
],
[
52,
53
],
[
53,
54
],
[
42,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
14,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
66,
76
],
[
76,
77
],
[
77,
78
],
[
66,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
88,
92
],
[
88,
93
],
[
14,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
94,
104
],
[
104,
105
],
[
105,
106
],
[
94,
107
],
[
108,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
108,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
121,
125
],
[
118,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
14,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
12,
138
],
[
138,
139
],
[
0,
140
],
[
140,
141
],
[
140,
142
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tArrayList<Integer> array = new ArrayList<Integer>();\n\t\tArrayList<Integer> array2 = new ArrayList<Integer>();\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString data = \"\";\n\t\tbr.readLine();\n\t\tdata = br.readLine();\n\n\t\tString [] hairetsu = data.split(\" \", 0);\n\t\t\n\t\tfor(int i = 0; i < hairetsu.length; i++) {\n\t\t\tarray.add(Integer.parseInt(hairetsu[i]));\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < array.size(); i++) {\n\t\t\tarray2.add(array.get(array.size() - 1 - i));\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < array2.size(); i++) {\n\t\t\tSystem.out.print(array2.get(i));\n\t\t\tif(i < array2.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\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",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tArrayList<Integer> array = new ArrayList<Integer>();\n\t\tArrayList<Integer> array2 = new ArrayList<Integer>();\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString data = \"\";\n\t\tbr.readLine();\n\t\tdata = br.readLine();\n\n\t\tString [] hairetsu = data.split(\" \", 0);\n\t\t\n\t\tfor(int i = 0; i < hairetsu.length; i++) {\n\t\t\tarray.add(Integer.parseInt(hairetsu[i]));\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < array.size(); i++) {\n\t\t\tarray2.add(array.get(array.size() - 1 - i));\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < array2.size(); i++) {\n\t\t\tSystem.out.print(array2.get(i));\n\t\t\tif(i < array2.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\n\t}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tArrayList<Integer> array = new ArrayList<Integer>();\n\t\tArrayList<Integer> array2 = new ArrayList<Integer>();\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString data = \"\";\n\t\tbr.readLine();\n\t\tdata = br.readLine();\n\n\t\tString [] hairetsu = data.split(\" \", 0);\n\t\t\n\t\tfor(int i = 0; i < hairetsu.length; i++) {\n\t\t\tarray.add(Integer.parseInt(hairetsu[i]));\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < array.size(); i++) {\n\t\t\tarray2.add(array.get(array.size() - 1 - i));\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < array2.size(); i++) {\n\t\t\tSystem.out.print(array2.get(i));\n\t\t\tif(i < array2.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\n\t}",
"main",
"{\n\t\tArrayList<Integer> array = new ArrayList<Integer>();\n\t\tArrayList<Integer> array2 = new ArrayList<Integer>();\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString data = \"\";\n\t\tbr.readLine();\n\t\tdata = br.readLine();\n\n\t\tString [] hairetsu = data.split(\" \", 0);\n\t\t\n\t\tfor(int i = 0; i < hairetsu.length; i++) {\n\t\t\tarray.add(Integer.parseInt(hairetsu[i]));\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < array.size(); i++) {\n\t\t\tarray2.add(array.get(array.size() - 1 - i));\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < array2.size(); i++) {\n\t\t\tSystem.out.print(array2.get(i));\n\t\t\tif(i < array2.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\n\t}",
"ArrayList<Integer> array = new ArrayList<Integer>();",
"array",
"new ArrayList<Integer>()",
"ArrayList<Integer> array2 = new ArrayList<Integer>();",
"array2",
"new ArrayList<Integer>()",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String data = \"\";",
"data",
"\"\"",
"br.readLine()",
"br.readLine",
"br",
"data = br.readLine()",
"data",
"br.readLine()",
"br.readLine",
"br",
"String [] hairetsu = data.split(\" \", 0);",
"hairetsu",
"data.split(\" \", 0)",
"data.split",
"data",
"\" \"",
"0",
"for(int i = 0; i < hairetsu.length; i++) {\n\t\t\tarray.add(Integer.parseInt(hairetsu[i]));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < hairetsu.length",
"i",
"hairetsu.length",
"hairetsu",
"hairetsu.length",
"i++",
"i++",
"i",
"{\n\t\t\tarray.add(Integer.parseInt(hairetsu[i]));\n\t\t}",
"{\n\t\t\tarray.add(Integer.parseInt(hairetsu[i]));\n\t\t}",
"array.add(Integer.parseInt(hairetsu[i]))",
"array.add",
"array",
"Integer.parseInt(hairetsu[i])",
"Integer.parseInt",
"Integer",
"hairetsu[i]",
"hairetsu",
"i",
"for(int i = 0; i < array.size(); i++) {\n\t\t\tarray2.add(array.get(array.size() - 1 - i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.size()",
"i",
"array.size()",
"array.size",
"array",
"i++",
"i++",
"i",
"{\n\t\t\tarray2.add(array.get(array.size() - 1 - i));\n\t\t}",
"{\n\t\t\tarray2.add(array.get(array.size() - 1 - i));\n\t\t}",
"array2.add(array.get(array.size() - 1 - i))",
"array2.add",
"array2",
"array.get(array.size() - 1 - i)",
"array.get",
"array",
"array.size() - 1 - i",
"array.size() - 1 - i",
"array.size()",
"array.size",
"array",
"1",
"i",
"for(int i = 0; i < array2.size(); i++) {\n\t\t\tSystem.out.print(array2.get(i));\n\t\t\tif(i < array2.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array2.size()",
"i",
"array2.size()",
"array2.size",
"array2",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.print(array2.get(i));\n\t\t\tif(i < array2.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"{\n\t\t\tSystem.out.print(array2.get(i));\n\t\t\tif(i < array2.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"System.out.print(array2.get(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"array2.get(i)",
"array2.get",
"array2",
"i",
"if(i < array2.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"i < array2.size() - 1",
"i",
"array2.size() - 1",
"array2.size()",
"array2.size",
"array2",
"1",
"{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tArrayList<Integer> array = new ArrayList<Integer>();\n\t\tArrayList<Integer> array2 = new ArrayList<Integer>();\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString data = \"\";\n\t\tbr.readLine();\n\t\tdata = br.readLine();\n\n\t\tString [] hairetsu = data.split(\" \", 0);\n\t\t\n\t\tfor(int i = 0; i < hairetsu.length; i++) {\n\t\t\tarray.add(Integer.parseInt(hairetsu[i]));\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < array.size(); i++) {\n\t\t\tarray2.add(array.get(array.size() - 1 - i));\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < array2.size(); i++) {\n\t\t\tSystem.out.print(array2.get(i));\n\t\t\tif(i < array2.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\n\t}\n}",
"public class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tArrayList<Integer> array = new ArrayList<Integer>();\n\t\tArrayList<Integer> array2 = new ArrayList<Integer>();\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString data = \"\";\n\t\tbr.readLine();\n\t\tdata = br.readLine();\n\n\t\tString [] hairetsu = data.split(\" \", 0);\n\t\t\n\t\tfor(int i = 0; i < hairetsu.length; i++) {\n\t\t\tarray.add(Integer.parseInt(hairetsu[i]));\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < array.size(); i++) {\n\t\t\tarray2.add(array.get(array.size() - 1 - i));\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < array2.size(); i++) {\n\t\t\tSystem.out.print(array2.get(i));\n\t\t\tif(i < array2.size() - 1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main {
public static void main (String[] args) throws java.lang.Exception
{
ArrayList<Integer> array = new ArrayList<Integer>();
ArrayList<Integer> array2 = new ArrayList<Integer>();
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String data = "";
br.readLine();
data = br.readLine();
String [] hairetsu = data.split(" ", 0);
for(int i = 0; i < hairetsu.length; i++) {
array.add(Integer.parseInt(hairetsu[i]));
}
for(int i = 0; i < array.size(); i++) {
array2.add(array.get(array.size() - 1 - i));
}
for(int i = 0; i < array2.size(); i++) {
System.out.print(array2.get(i));
if(i < array2.size() - 1) {
System.out.print(" ");
}
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
17,
13,
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
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
19,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
25,
34
],
[
34,
35
],
[
34,
36
],
[
25,
37
],
[
37,
38
],
[
38,
39
],
[
25,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
42,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
8,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
6,
71
],
[
71,
72
]
] | [
"import java.io.*;\n\nclass Main\n{\n public static void main (String[ ] args) throws Exception\n {\n BufferedReader br = new BufferedReader (new InputStreamReader (System.in));\n \n String str = br.readLine();\n String[] strArr = (br.readLine()).split(\" \");\n \n for(int i = strArr.length - 1; i >= 0; i--)\n {\n if(0 != i)\n {\n System.out.print(strArr[i] + \" \");\n }\n else\n {\n System.out.print(strArr[i]);\n }\n }\n System.out.println();\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n public static void main (String[ ] args) throws Exception\n {\n BufferedReader br = new BufferedReader (new InputStreamReader (System.in));\n \n String str = br.readLine();\n String[] strArr = (br.readLine()).split(\" \");\n \n for(int i = strArr.length - 1; i >= 0; i--)\n {\n if(0 != i)\n {\n System.out.print(strArr[i] + \" \");\n }\n else\n {\n System.out.print(strArr[i]);\n }\n }\n System.out.println();\n }\n}",
"Main",
"public static void main (String[ ] args) throws Exception\n {\n BufferedReader br = new BufferedReader (new InputStreamReader (System.in));\n \n String str = br.readLine();\n String[] strArr = (br.readLine()).split(\" \");\n \n for(int i = strArr.length - 1; i >= 0; i--)\n {\n if(0 != i)\n {\n System.out.print(strArr[i] + \" \");\n }\n else\n {\n System.out.print(strArr[i]);\n }\n }\n System.out.println();\n }",
"main",
"{\n BufferedReader br = new BufferedReader (new InputStreamReader (System.in));\n \n String str = br.readLine();\n String[] strArr = (br.readLine()).split(\" \");\n \n for(int i = strArr.length - 1; i >= 0; i--)\n {\n if(0 != i)\n {\n System.out.print(strArr[i] + \" \");\n }\n else\n {\n System.out.print(strArr[i]);\n }\n }\n System.out.println();\n }",
"BufferedReader br = new BufferedReader (new InputStreamReader (System.in));",
"br",
"new BufferedReader (new InputStreamReader (System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] strArr = (br.readLine()).split(\" \");",
"strArr",
"(br.readLine()).split(\" \")",
"(br.readLine()).split",
"(br.readLine())",
"br.readLine",
"br",
"\" \"",
"for(int i = strArr.length - 1; i >= 0; i--)\n {\n if(0 != i)\n {\n System.out.print(strArr[i] + \" \");\n }\n else\n {\n System.out.print(strArr[i]);\n }\n }",
"int i = strArr.length - 1;",
"int i = strArr.length - 1;",
"i",
"strArr.length - 1",
"strArr.length",
"strArr",
"strArr.length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n if(0 != i)\n {\n System.out.print(strArr[i] + \" \");\n }\n else\n {\n System.out.print(strArr[i]);\n }\n }",
"{\n if(0 != i)\n {\n System.out.print(strArr[i] + \" \");\n }\n else\n {\n System.out.print(strArr[i]);\n }\n }",
"if(0 != i)\n {\n System.out.print(strArr[i] + \" \");\n }\n else\n {\n System.out.print(strArr[i]);\n }",
"0 != i",
"0",
"i",
"{\n System.out.print(strArr[i] + \" \");\n }",
"System.out.print(strArr[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"strArr[i] + \" \"",
"strArr[i]",
"strArr",
"i",
"\" \"",
"{\n System.out.print(strArr[i]);\n }",
"System.out.print(strArr[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"strArr[i]",
"strArr",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[ ] args",
"args"
] | import java.io.*;
class Main
{
public static void main (String[ ] args) throws Exception
{
BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
String str = br.readLine();
String[] strArr = (br.readLine()).split(" ");
for(int i = strArr.length - 1; i >= 0; i--)
{
if(0 != i)
{
System.out.print(strArr[i] + " ");
}
else
{
System.out.print(strArr[i]);
}
}
System.out.println();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
18,
13,
2,
13,
17,
41,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
2,
13,
17,
18,
13,
13,
0,
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
],
[
85,
8
],
[
85,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
11,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
11,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
11,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
65,
65
],
[
65,
66
],
[
65,
67
],
[
65,
68
],
[
68,
69
],
[
68,
70
],
[
61,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
11,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
9,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\npublic class Main {\n public static void main (String args[]) throws IOException {\n Scanner sc = new Scanner(System.in);\n StringBuffer sb = new StringBuffer();\n int a = Integer.parseInt(sc.nextLine());\n String x =sc.nextLine();\n String[] i =x.split(\" \");\n String str = i[a-1];\n int b = a-2;\n for (int c=1;c<a;c++){\n \tstr=str+\" \"+i[b] ;\n \tb = b-1;\n }\n System.out.println(str);\n }\n\n\n }",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main (String args[]) throws IOException {\n Scanner sc = new Scanner(System.in);\n StringBuffer sb = new StringBuffer();\n int a = Integer.parseInt(sc.nextLine());\n String x =sc.nextLine();\n String[] i =x.split(\" \");\n String str = i[a-1];\n int b = a-2;\n for (int c=1;c<a;c++){\n \tstr=str+\" \"+i[b] ;\n \tb = b-1;\n }\n System.out.println(str);\n }\n\n\n }",
"Main",
"public static void main (String args[]) throws IOException {\n Scanner sc = new Scanner(System.in);\n StringBuffer sb = new StringBuffer();\n int a = Integer.parseInt(sc.nextLine());\n String x =sc.nextLine();\n String[] i =x.split(\" \");\n String str = i[a-1];\n int b = a-2;\n for (int c=1;c<a;c++){\n \tstr=str+\" \"+i[b] ;\n \tb = b-1;\n }\n System.out.println(str);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n StringBuffer sb = new StringBuffer();\n int a = Integer.parseInt(sc.nextLine());\n String x =sc.nextLine();\n String[] i =x.split(\" \");\n String str = i[a-1];\n int b = a-2;\n for (int c=1;c<a;c++){\n \tstr=str+\" \"+i[b] ;\n \tb = b-1;\n }\n System.out.println(str);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuffer sb = new StringBuffer();",
"sb",
"new StringBuffer()",
"int a = Integer.parseInt(sc.nextLine());",
"a",
"Integer.parseInt(sc.nextLine())",
"Integer.parseInt",
"Integer",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String x =sc.nextLine();",
"x",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] i =x.split(\" \");",
"i",
"x.split(\" \")",
"x.split",
"x",
"\" \"",
"String str = i[a-1];",
"str",
"i[a-1]",
"i",
"a-1",
"a",
"1",
"int b = a-2;",
"b",
"a-2",
"a",
"2",
"for (int c=1;c<a;c++){\n \tstr=str+\" \"+i[b] ;\n \tb = b-1;\n }",
"int c=1;",
"int c=1;",
"c",
"1",
"c<a",
"c",
"a",
"c++",
"c++",
"c",
"{\n \tstr=str+\" \"+i[b] ;\n \tb = b-1;\n }",
"{\n \tstr=str+\" \"+i[b] ;\n \tb = b-1;\n }",
"str=str+\" \"+i[b]",
"str",
"str+\" \"+i[b]",
"str+\" \"+i[b]",
"str",
"\" \"",
"i[b]",
"i",
"b",
"b = b-1",
"b",
"b-1",
"b",
"1",
"System.out.println(str)",
"System.out.println",
"System.out",
"System",
"System.out",
"str",
"String args[]",
"args",
"public class Main {\n public static void main (String args[]) throws IOException {\n Scanner sc = new Scanner(System.in);\n StringBuffer sb = new StringBuffer();\n int a = Integer.parseInt(sc.nextLine());\n String x =sc.nextLine();\n String[] i =x.split(\" \");\n String str = i[a-1];\n int b = a-2;\n for (int c=1;c<a;c++){\n \tstr=str+\" \"+i[b] ;\n \tb = b-1;\n }\n System.out.println(str);\n }\n\n\n }",
"public class Main {\n public static void main (String args[]) throws IOException {\n Scanner sc = new Scanner(System.in);\n StringBuffer sb = new StringBuffer();\n int a = Integer.parseInt(sc.nextLine());\n String x =sc.nextLine();\n String[] i =x.split(\" \");\n String str = i[a-1];\n int b = a-2;\n for (int c=1;c<a;c++){\n \tstr=str+\" \"+i[b] ;\n \tb = b-1;\n }\n System.out.println(str);\n }\n\n\n }",
"Main"
] | import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main (String args[]) throws IOException {
Scanner sc = new Scanner(System.in);
StringBuffer sb = new StringBuffer();
int a = Integer.parseInt(sc.nextLine());
String x =sc.nextLine();
String[] i =x.split(" ");
String str = i[a-1];
int b = a-2;
for (int c=1;c<a;c++){
str=str+" "+i[b] ;
b = b-1;
}
System.out.println(str);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
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
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
17,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
17,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
60,
67
],
[
67,
68
],
[
67,
69
],
[
60,
70
],
[
70,
71
],
[
71,
72
],
[
60,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
17,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
15,
90
],
[
90,
91
]
] | [
"import java.awt.*;\nimport java.awt.geom.*;\nimport java.io.*;\n\nimport java.util.*;\nclass Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] l = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tl[i] = sc.nextInt();\n\t\t}\n\t\tSystem.out.print(l[n-1]);\n\t\tfor(int i = n-2; i >= 0; i--) {\n\t\t\tSystem.out.print(\" \" + l[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"import java.awt.*;",
"awt.*",
"java",
"import java.awt.geom.*;",
"geom.*",
"java.awt",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] l = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tl[i] = sc.nextInt();\n\t\t}\n\t\tSystem.out.print(l[n-1]);\n\t\tfor(int i = n-2; i >= 0; i--) {\n\t\t\tSystem.out.print(\" \" + l[i]);\n\t\t}\n\t\tSystem.out.println();\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[] l = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tl[i] = sc.nextInt();\n\t\t}\n\t\tSystem.out.print(l[n-1]);\n\t\tfor(int i = n-2; i >= 0; i--) {\n\t\t\tSystem.out.print(\" \" + l[i]);\n\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\tint[] l = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tl[i] = sc.nextInt();\n\t\t}\n\t\tSystem.out.print(l[n-1]);\n\t\tfor(int i = n-2; i >= 0; i--) {\n\t\t\tSystem.out.print(\" \" + l[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[] l = new int[n];",
"l",
"new int[n]",
"n",
"for(int i = 0; i < n; i++) {\n\t\t\tl[i] = sc.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tl[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tl[i] = sc.nextInt();\n\t\t}",
"l[i] = sc.nextInt()",
"l[i]",
"l",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.print(l[n-1])",
"System.out.print",
"System.out",
"System",
"System.out",
"l[n-1]",
"l",
"n-1",
"n",
"1",
"for(int i = n-2; i >= 0; i--) {\n\t\t\tSystem.out.print(\" \" + l[i]);\n\t\t}",
"int i = n-2;",
"int i = n-2;",
"i",
"n-2",
"n",
"2",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(\" \" + l[i]);\n\t\t}",
"{\n\t\t\tSystem.out.print(\" \" + l[i]);\n\t\t}",
"System.out.print(\" \" + l[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \" + l[i]",
"\" \"",
"l[i]",
"l",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args"
] | import java.awt.*;
import java.awt.geom.*;
import java.io.*;
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] l = new int[n];
for(int i = 0; i < n; i++) {
l[i] = sc.nextInt();
}
System.out.print(l[n-1]);
for(int i = n-2; i >= 0; i--) {
System.out.print(" " + l[i]);
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
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,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
93,
5
],
[
93,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
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
],
[
93,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
88,
89
],
[
81,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint a[] = new int[100];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.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\t}\n\t\tSystem.out.println();\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain m = new Main();\n\t\tm.run();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint a[] = new int[100];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.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\t}\n\t\tSystem.out.println();\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain m = new Main();\n\t\tm.run();\n\t}\n}",
"Main",
"void run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint a[] = new int[100];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.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\t}\n\t\tSystem.out.println();\n\t}",
"run",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint a[] = new int[100];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.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\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 a[] = new int[100];",
"a",
"new int[100]",
"100",
"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",
"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]);\n\t\t}",
"int i = n - 2;",
"int i = n - 2;",
"i",
"n - 2",
"n",
"2",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(\" \" + a[i]);\n\t\t}",
"{\n\t\t\tSystem.out.print(\" \" + a[i]);\n\t\t}",
"System.out.print(\" \" + a[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \" + a[i]",
"\" \"",
"a[i]",
"a",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"public static void main(String[] args) {\n\t\tMain m = new Main();\n\t\tm.run();\n\t}",
"main",
"{\n\t\tMain m = new Main();\n\t\tm.run();\n\t}",
"Main m = new Main();",
"m",
"new Main()",
"m.run()",
"m.run",
"m",
"String[] args",
"args",
"public class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint a[] = new int[100];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.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\t}\n\t\tSystem.out.println();\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain m = new Main();\n\t\tm.run();\n\t}\n}",
"public class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint a[] = new int[100];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.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\t}\n\t\tSystem.out.println();\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain m = new Main();\n\t\tm.run();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
void run() {
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int a[] = new int[100];
for (int i = 0; i < n; i++) {
a[i] = scan.nextInt();
}
System.out.print(a[n - 1]);
for(int i = n - 2; i >= 0; i--) {
System.out.print(" " + a[i]);
}
System.out.println();
}
public static void main(String[] args) {
Main m = new Main();
m.run();
}
} |
[
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,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
14,
2,
13,
17,
30,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13
] | [
[
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
],
[
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
],
[
51,
52
],
[
51,
53
],
[
22,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
54,
64
],
[
64,
65
],
[
65,
66
],
[
54,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
76,
78
],
[
22,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
84,
93
],
[
93,
94
],
[
93,
95
],
[
84,
96
],
[
96,
97
],
[
97,
98
],
[
84,
99
],
[
100,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
83,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
116,
118
],
[
12,
119
],
[
119,
120
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\tpublic static void main( String[] args ) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader( new InputStreamReader( System.in ) );\n\t\t\tString tmp = br.readLine();\n\t\t\tint numbersSize = Integer.parseInt(tmp);\n\n\t\t\tString tmp2 = br.readLine();\n\t\t\tString[] plainNumber = tmp2.split(\" \");\n\t\t\tint[] Numbers = new int[plainNumber.length];\n\n\t\t\tfor( int i = 0; i < plainNumber.length; i++ ) {\n\t\t\t\tNumbers[i] = Integer.parseInt(plainNumber[i]);\n\t\t\t}\n\n\t\t\tif( numbersSize <= 100 ) {\n\t\t\t\tfor(int i = ( Numbers.length - 1 ); i > 0; i--) {\n\t\t\t\t\tSystem.out.print( Numbers[i] + \" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.println( Numbers[0] );\n\t\t\t}\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\tpublic static void main( String[] args ) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader( new InputStreamReader( System.in ) );\n\t\t\tString tmp = br.readLine();\n\t\t\tint numbersSize = Integer.parseInt(tmp);\n\n\t\t\tString tmp2 = br.readLine();\n\t\t\tString[] plainNumber = tmp2.split(\" \");\n\t\t\tint[] Numbers = new int[plainNumber.length];\n\n\t\t\tfor( int i = 0; i < plainNumber.length; i++ ) {\n\t\t\t\tNumbers[i] = Integer.parseInt(plainNumber[i]);\n\t\t\t}\n\n\t\t\tif( numbersSize <= 100 ) {\n\t\t\t\tfor(int i = ( Numbers.length - 1 ); i > 0; i--) {\n\t\t\t\t\tSystem.out.print( Numbers[i] + \" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.println( Numbers[0] );\n\t\t\t}\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\ttry {\n\t\t\tBufferedReader br = new BufferedReader( new InputStreamReader( System.in ) );\n\t\t\tString tmp = br.readLine();\n\t\t\tint numbersSize = Integer.parseInt(tmp);\n\n\t\t\tString tmp2 = br.readLine();\n\t\t\tString[] plainNumber = tmp2.split(\" \");\n\t\t\tint[] Numbers = new int[plainNumber.length];\n\n\t\t\tfor( int i = 0; i < plainNumber.length; i++ ) {\n\t\t\t\tNumbers[i] = Integer.parseInt(plainNumber[i]);\n\t\t\t}\n\n\t\t\tif( numbersSize <= 100 ) {\n\t\t\t\tfor(int i = ( Numbers.length - 1 ); i > 0; i--) {\n\t\t\t\t\tSystem.out.print( Numbers[i] + \" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.println( Numbers[0] );\n\t\t\t}\n\n\t\t} catch( IOException e ) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader( new InputStreamReader( System.in ) );\n\t\t\tString tmp = br.readLine();\n\t\t\tint numbersSize = Integer.parseInt(tmp);\n\n\t\t\tString tmp2 = br.readLine();\n\t\t\tString[] plainNumber = tmp2.split(\" \");\n\t\t\tint[] Numbers = new int[plainNumber.length];\n\n\t\t\tfor( int i = 0; i < plainNumber.length; i++ ) {\n\t\t\t\tNumbers[i] = Integer.parseInt(plainNumber[i]);\n\t\t\t}\n\n\t\t\tif( numbersSize <= 100 ) {\n\t\t\t\tfor(int i = ( Numbers.length - 1 ); i > 0; i--) {\n\t\t\t\t\tSystem.out.print( Numbers[i] + \" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.println( Numbers[0] );\n\t\t\t}\n\n\t\t} catch( IOException e ) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"try {\n\t\t\tBufferedReader br = new BufferedReader( new InputStreamReader( System.in ) );\n\t\t\tString tmp = br.readLine();\n\t\t\tint numbersSize = Integer.parseInt(tmp);\n\n\t\t\tString tmp2 = br.readLine();\n\t\t\tString[] plainNumber = tmp2.split(\" \");\n\t\t\tint[] Numbers = new int[plainNumber.length];\n\n\t\t\tfor( int i = 0; i < plainNumber.length; i++ ) {\n\t\t\t\tNumbers[i] = Integer.parseInt(plainNumber[i]);\n\t\t\t}\n\n\t\t\tif( numbersSize <= 100 ) {\n\t\t\t\tfor(int i = ( Numbers.length - 1 ); i > 0; i--) {\n\t\t\t\t\tSystem.out.print( Numbers[i] + \" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.println( Numbers[0] );\n\t\t\t}\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\tBufferedReader br = new BufferedReader( new InputStreamReader( System.in ) );\n\t\t\tString tmp = br.readLine();\n\t\t\tint numbersSize = Integer.parseInt(tmp);\n\n\t\t\tString tmp2 = br.readLine();\n\t\t\tString[] plainNumber = tmp2.split(\" \");\n\t\t\tint[] Numbers = new int[plainNumber.length];\n\n\t\t\tfor( int i = 0; i < plainNumber.length; i++ ) {\n\t\t\t\tNumbers[i] = Integer.parseInt(plainNumber[i]);\n\t\t\t}\n\n\t\t\tif( numbersSize <= 100 ) {\n\t\t\t\tfor(int i = ( Numbers.length - 1 ); i > 0; i--) {\n\t\t\t\t\tSystem.out.print( Numbers[i] + \" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.println( Numbers[0] );\n\t\t\t}\n\n\t\t}",
"BufferedReader br = new BufferedReader( new InputStreamReader( System.in ) );",
"br",
"new BufferedReader( new InputStreamReader( System.in ) )",
"String tmp = br.readLine();",
"tmp",
"br.readLine()",
"br.readLine",
"br",
"int numbersSize = Integer.parseInt(tmp);",
"numbersSize",
"Integer.parseInt(tmp)",
"Integer.parseInt",
"Integer",
"tmp",
"String tmp2 = br.readLine();",
"tmp2",
"br.readLine()",
"br.readLine",
"br",
"String[] plainNumber = tmp2.split(\" \");",
"plainNumber",
"tmp2.split(\" \")",
"tmp2.split",
"tmp2",
"\" \"",
"int[] Numbers = new int[plainNumber.length];",
"Numbers",
"new int[plainNumber.length]",
"plainNumber.length",
"plainNumber",
"plainNumber.length",
"for( int i = 0; i < plainNumber.length; i++ ) {\n\t\t\t\tNumbers[i] = Integer.parseInt(plainNumber[i]);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < plainNumber.length",
"i",
"plainNumber.length",
"plainNumber",
"plainNumber.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tNumbers[i] = Integer.parseInt(plainNumber[i]);\n\t\t\t}",
"{\n\t\t\t\tNumbers[i] = Integer.parseInt(plainNumber[i]);\n\t\t\t}",
"Numbers[i] = Integer.parseInt(plainNumber[i])",
"Numbers[i]",
"Numbers",
"i",
"Integer.parseInt(plainNumber[i])",
"Integer.parseInt",
"Integer",
"plainNumber[i]",
"plainNumber",
"i",
"if( numbersSize <= 100 ) {\n\t\t\t\tfor(int i = ( Numbers.length - 1 ); i > 0; i--) {\n\t\t\t\t\tSystem.out.print( Numbers[i] + \" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.println( Numbers[0] );\n\t\t\t}",
"numbersSize <= 100",
"numbersSize",
"100",
"{\n\t\t\t\tfor(int i = ( Numbers.length - 1 ); i > 0; i--) {\n\t\t\t\t\tSystem.out.print( Numbers[i] + \" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.println( Numbers[0] );\n\t\t\t}",
"for(int i = ( Numbers.length - 1 ); i > 0; i--) {\n\t\t\t\t\tSystem.out.print( Numbers[i] + \" \");\n\t\t\t\t}",
"int i = ( Numbers.length - 1 );",
"int i = ( Numbers.length - 1 );",
"i",
"( Numbers.length - 1 )",
"Numbers.length",
"Numbers",
"Numbers.length",
"1",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\t\t\tSystem.out.print( Numbers[i] + \" \");\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.print( Numbers[i] + \" \");\n\t\t\t\t}",
"System.out.print( Numbers[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"Numbers[i] + \" \"",
"Numbers[i]",
"Numbers",
"i",
"\" \"",
"System.out.println( Numbers[0] )",
"System.out.println",
"System.out",
"System",
"System.out",
"Numbers[0]",
"Numbers",
"0",
"String[] args",
"args"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main( String[] args ) {
try {
BufferedReader br = new BufferedReader( new InputStreamReader( System.in ) );
String tmp = br.readLine();
int numbersSize = Integer.parseInt(tmp);
String tmp2 = br.readLine();
String[] plainNumber = tmp2.split(" ");
int[] Numbers = new int[plainNumber.length];
for( int i = 0; i < plainNumber.length; i++ ) {
Numbers[i] = Integer.parseInt(plainNumber[i]);
}
if( numbersSize <= 100 ) {
for(int i = ( Numbers.length - 1 ); i > 0; i--) {
System.out.print( Numbers[i] + " ");
}
System.out.println( Numbers[0] );
}
} catch( IOException e ) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
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,
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
],
[
76,
11
],
[
76,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
28,
33
],
[
14,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
34,
41
],
[
41,
42
],
[
41,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
48,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
14,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
12,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String[] lines = br.readLine().split(\" \");\n for (int i = n - 1; i >= 0; i--) {\n System.out.print(lines[i]);\n if (i != 0) {\n System.out.print(\" \");\n }\n }\n System.out.println();\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String[] lines = br.readLine().split(\" \");\n for (int i = n - 1; i >= 0; i--) {\n System.out.print(lines[i]);\n if (i != 0) {\n System.out.print(\" \");\n }\n }\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 String[] lines = br.readLine().split(\" \");\n for (int i = n - 1; i >= 0; i--) {\n System.out.print(lines[i]);\n if (i != 0) {\n System.out.print(\" \");\n }\n }\n System.out.println();\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String[] lines = br.readLine().split(\" \");\n for (int i = n - 1; i >= 0; i--) {\n System.out.print(lines[i]);\n if (i != 0) {\n System.out.print(\" \");\n }\n }\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",
"String[] lines = br.readLine().split(\" \");",
"lines",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for (int i = n - 1; i >= 0; i--) {\n System.out.print(lines[i]);\n if (i != 0) {\n System.out.print(\" \");\n }\n }",
"int i = n - 1;",
"int i = n - 1;",
"i",
"n - 1",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n System.out.print(lines[i]);\n if (i != 0) {\n System.out.print(\" \");\n }\n }",
"{\n System.out.print(lines[i]);\n if (i != 0) {\n System.out.print(\" \");\n }\n }",
"System.out.print(lines[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"lines[i]",
"lines",
"i",
"if (i != 0) {\n System.out.print(\" \");\n }",
"i != 0",
"i",
"0",
"{\n System.out.print(\" \");\n }",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\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[] lines = br.readLine().split(\" \");\n for (int i = n - 1; i >= 0; i--) {\n System.out.print(lines[i]);\n if (i != 0) {\n System.out.print(\" \");\n }\n }\n System.out.println();\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String[] lines = br.readLine().split(\" \");\n for (int i = n - 1; i >= 0; i--) {\n System.out.print(lines[i]);\n if (i != 0) {\n System.out.print(\" \");\n }\n }\n System.out.println();\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));
int n = Integer.parseInt(br.readLine());
String[] lines = br.readLine().split(" ");
for (int i = n - 1; i >= 0; i--) {
System.out.print(lines[i]);
if (i != 0) {
System.out.print(" ");
}
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
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,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
86,
5
],
[
86,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
41,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
55,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
8,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
8,
80
],
[
80,
81
],
[
81,
82
],
[
6,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();//n?????°????????????\n\t\tint vals[] = new int[n];\n\t\tfor(int cnt = 0; cnt < n; cnt++){//??°????????\\?????????\n\t\t\tvals[cnt] = scan.nextInt();\n\t\t}\n\t\tfor(int cnt = n - 1; cnt >= 0; cnt--){//??°??????????????????\n\t\t\tSystem.out.print(vals[cnt]);\n\t\t\tif(cnt != 0){//?????????????????§?????????\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n scan.close();\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();//n?????°????????????\n\t\tint vals[] = new int[n];\n\t\tfor(int cnt = 0; cnt < n; cnt++){//??°????????\\?????????\n\t\t\tvals[cnt] = scan.nextInt();\n\t\t}\n\t\tfor(int cnt = n - 1; cnt >= 0; cnt--){//??°??????????????????\n\t\t\tSystem.out.print(vals[cnt]);\n\t\t\tif(cnt != 0){//?????????????????§?????????\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n scan.close();\n }\n\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();//n?????°????????????\n\t\tint vals[] = new int[n];\n\t\tfor(int cnt = 0; cnt < n; cnt++){//??°????????\\?????????\n\t\t\tvals[cnt] = scan.nextInt();\n\t\t}\n\t\tfor(int cnt = n - 1; cnt >= 0; cnt--){//??°??????????????????\n\t\t\tSystem.out.print(vals[cnt]);\n\t\t\tif(cnt != 0){//?????????????????§?????????\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n scan.close();\n }",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();//n?????°????????????\n\t\tint vals[] = new int[n];\n\t\tfor(int cnt = 0; cnt < n; cnt++){//??°????????\\?????????\n\t\t\tvals[cnt] = scan.nextInt();\n\t\t}\n\t\tfor(int cnt = n - 1; cnt >= 0; cnt--){//??°??????????????????\n\t\t\tSystem.out.print(vals[cnt]);\n\t\t\tif(cnt != 0){//?????????????????§?????????\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n scan.close();\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int vals[] = new int[n];",
"vals",
"new int[n]",
"n",
"for(int cnt = 0; cnt < n; cnt++){//??°????????\\?????????\n\t\t\tvals[cnt] = scan.nextInt();\n\t\t}",
"int cnt = 0;",
"int cnt = 0;",
"cnt",
"0",
"cnt < n",
"cnt",
"n",
"cnt++",
"cnt++",
"cnt",
"{//??°????????\\?????????\n\t\t\tvals[cnt] = scan.nextInt();\n\t\t}",
"{//??°????????\\?????????\n\t\t\tvals[cnt] = scan.nextInt();\n\t\t}",
"vals[cnt] = scan.nextInt()",
"vals[cnt]",
"vals",
"cnt",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(int cnt = n - 1; cnt >= 0; cnt--){//??°??????????????????\n\t\t\tSystem.out.print(vals[cnt]);\n\t\t\tif(cnt != 0){//?????????????????§?????????\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"int cnt = n - 1;",
"int cnt = n - 1;",
"cnt",
"n - 1",
"n",
"1",
"cnt >= 0",
"cnt",
"0",
"cnt--",
"cnt--",
"cnt",
"{//??°??????????????????\n\t\t\tSystem.out.print(vals[cnt]);\n\t\t\tif(cnt != 0){//?????????????????§?????????\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"{//??°??????????????????\n\t\t\tSystem.out.print(vals[cnt]);\n\t\t\tif(cnt != 0){//?????????????????§?????????\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"System.out.print(vals[cnt])",
"System.out.print",
"System.out",
"System",
"System.out",
"vals[cnt]",
"vals",
"cnt",
"if(cnt != 0){//?????????????????§?????????\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}",
"cnt != 0",
"cnt",
"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",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();//n?????°????????????\n\t\tint vals[] = new int[n];\n\t\tfor(int cnt = 0; cnt < n; cnt++){//??°????????\\?????????\n\t\t\tvals[cnt] = scan.nextInt();\n\t\t}\n\t\tfor(int cnt = n - 1; cnt >= 0; cnt--){//??°??????????????????\n\t\t\tSystem.out.print(vals[cnt]);\n\t\t\tif(cnt != 0){//?????????????????§?????????\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n scan.close();\n }\n\n}",
"public class Main {\n\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();//n?????°????????????\n\t\tint vals[] = new int[n];\n\t\tfor(int cnt = 0; cnt < n; cnt++){//??°????????\\?????????\n\t\t\tvals[cnt] = scan.nextInt();\n\t\t}\n\t\tfor(int cnt = n - 1; cnt >= 0; cnt--){//??°??????????????????\n\t\t\tSystem.out.print(vals[cnt]);\n\t\t\tif(cnt != 0){//?????????????????§?????????\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n scan.close();\n }\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();//n?????°????????????
int vals[] = new int[n];
for(int cnt = 0; cnt < n; cnt++){//??°????????\?????????
vals[cnt] = scan.nextInt();
}
for(int cnt = n - 1; cnt >= 0; cnt--){//??°??????????????????
System.out.print(vals[cnt]);
if(cnt != 0){//?????????????????§?????????
System.out.print(" ");
}
}
System.out.println();
scan.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
17,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
4,
18,
13,
2,
13,
17,
1,
0,
13,
4,
18,
13,
30,
30,
4,
18,
13,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
4,
18,
13,
17,
41,
13,
20,
4,
18,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
4,
18,
4,
18,
13,
17,
17,
13,
0,
13,
20,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
13,
2,
18,
13,
13,
17,
30,
4,
18,
13,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
191,
23
],
[
191,
24
],
[
24,
25
],
[
191,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
39,
40
],
[
32,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
32,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
29,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
56,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
63,
70
],
[
70,
71
],
[
70,
72
],
[
63,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
63,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
56,
85
],
[
85,
86
],
[
86,
87
],
[
56,
88
],
[
88,
89
],
[
88,
90
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
56,
98
],
[
98,
99
],
[
98,
100
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
56,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
115,
117
],
[
108,
118
],
[
118,
119
],
[
119,
120
],
[
108,
121
],
[
122,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
128,
134
],
[
127,
135
],
[
56,
136
],
[
136,
137
],
[
136,
138
],
[
56,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
139,
148
],
[
148,
149
],
[
148,
150
],
[
139,
151
],
[
151,
152
],
[
152,
153
],
[
139,
154
],
[
155,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
156,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
161,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
156,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
170,
173
],
[
173,
174
],
[
173,
175
],
[
56,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
176,
181
],
[
181,
182
],
[
182,
183
],
[
56,
184
],
[
184,
185
],
[
185,
186
],
[
184,
187
],
[
26,
188
],
[
188,
189
],
[
0,
190
],
[
190,
191
],
[
190,
192
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Comparator;\n\npublic class Main{\n\n static StringBuilder sb;\n\n public static void main(String[] args) {\n\ttry {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t List<String> lines = new ArrayList<String>();\n\n\t for (String line = br.readLine(); line != null; line = br.readLine()) {\n\t\tlines.add(line);\n\t }\n\t //lines.add(\"5\");\n\t //lines.add(\"1 2 5 4 5\");\n\t br.close();\n\n\t //List<String> array = new ArrayList<String>();\n\t String[] array = new String[Integer.parseInt(lines.get(0))];\n\t String[] reverse = new String[Integer.parseInt(lines.get(0))];\n\t for (int i = 0; i < array.length ; i++) {\n\t\tarray[i] = lines.get(1).split(\" \")[i];\n\t }\n\t sb = new StringBuilder();\n\n\t for (int i = array.length - 1; i >= 0 ; i--) {\n\t\tif ( i != 0 ) {\n\t\t sb.append(array[i] + \" \");\n\t\t} else {\n\t\t sb.append(array[i]);\n\t\t}\n\t }\n\n\t System.out.println(sb.toString());\n\t System.exit(0);\n\n\t} catch (Exception e) {\n\t System.out.println(e.getMessage());\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Comparator;",
"Comparator",
"java.util",
"public class Main{\n\n static StringBuilder sb;\n\n public static void main(String[] args) {\n\ttry {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t List<String> lines = new ArrayList<String>();\n\n\t for (String line = br.readLine(); line != null; line = br.readLine()) {\n\t\tlines.add(line);\n\t }\n\t //lines.add(\"5\");\n\t //lines.add(\"1 2 5 4 5\");\n\t br.close();\n\n\t //List<String> array = new ArrayList<String>();\n\t String[] array = new String[Integer.parseInt(lines.get(0))];\n\t String[] reverse = new String[Integer.parseInt(lines.get(0))];\n\t for (int i = 0; i < array.length ; i++) {\n\t\tarray[i] = lines.get(1).split(\" \")[i];\n\t }\n\t sb = new StringBuilder();\n\n\t for (int i = array.length - 1; i >= 0 ; i--) {\n\t\tif ( i != 0 ) {\n\t\t sb.append(array[i] + \" \");\n\t\t} else {\n\t\t sb.append(array[i]);\n\t\t}\n\t }\n\n\t System.out.println(sb.toString());\n\t System.exit(0);\n\n\t} catch (Exception e) {\n\t System.out.println(e.getMessage());\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }\n}",
"Main",
"static StringBuilder sb;",
"sb",
"public static void main(String[] args) {\n\ttry {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t List<String> lines = new ArrayList<String>();\n\n\t for (String line = br.readLine(); line != null; line = br.readLine()) {\n\t\tlines.add(line);\n\t }\n\t //lines.add(\"5\");\n\t //lines.add(\"1 2 5 4 5\");\n\t br.close();\n\n\t //List<String> array = new ArrayList<String>();\n\t String[] array = new String[Integer.parseInt(lines.get(0))];\n\t String[] reverse = new String[Integer.parseInt(lines.get(0))];\n\t for (int i = 0; i < array.length ; i++) {\n\t\tarray[i] = lines.get(1).split(\" \")[i];\n\t }\n\t sb = new StringBuilder();\n\n\t for (int i = array.length - 1; i >= 0 ; i--) {\n\t\tif ( i != 0 ) {\n\t\t sb.append(array[i] + \" \");\n\t\t} else {\n\t\t sb.append(array[i]);\n\t\t}\n\t }\n\n\t System.out.println(sb.toString());\n\t System.exit(0);\n\n\t} catch (Exception e) {\n\t System.out.println(e.getMessage());\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }",
"main",
"{\n\ttry {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t List<String> lines = new ArrayList<String>();\n\n\t for (String line = br.readLine(); line != null; line = br.readLine()) {\n\t\tlines.add(line);\n\t }\n\t //lines.add(\"5\");\n\t //lines.add(\"1 2 5 4 5\");\n\t br.close();\n\n\t //List<String> array = new ArrayList<String>();\n\t String[] array = new String[Integer.parseInt(lines.get(0))];\n\t String[] reverse = new String[Integer.parseInt(lines.get(0))];\n\t for (int i = 0; i < array.length ; i++) {\n\t\tarray[i] = lines.get(1).split(\" \")[i];\n\t }\n\t sb = new StringBuilder();\n\n\t for (int i = array.length - 1; i >= 0 ; i--) {\n\t\tif ( i != 0 ) {\n\t\t sb.append(array[i] + \" \");\n\t\t} else {\n\t\t sb.append(array[i]);\n\t\t}\n\t }\n\n\t System.out.println(sb.toString());\n\t System.exit(0);\n\n\t} catch (Exception e) {\n\t System.out.println(e.getMessage());\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }",
"try {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t List<String> lines = new ArrayList<String>();\n\n\t for (String line = br.readLine(); line != null; line = br.readLine()) {\n\t\tlines.add(line);\n\t }\n\t //lines.add(\"5\");\n\t //lines.add(\"1 2 5 4 5\");\n\t br.close();\n\n\t //List<String> array = new ArrayList<String>();\n\t String[] array = new String[Integer.parseInt(lines.get(0))];\n\t String[] reverse = new String[Integer.parseInt(lines.get(0))];\n\t for (int i = 0; i < array.length ; i++) {\n\t\tarray[i] = lines.get(1).split(\" \")[i];\n\t }\n\t sb = new StringBuilder();\n\n\t for (int i = array.length - 1; i >= 0 ; i--) {\n\t\tif ( i != 0 ) {\n\t\t sb.append(array[i] + \" \");\n\t\t} else {\n\t\t sb.append(array[i]);\n\t\t}\n\t }\n\n\t System.out.println(sb.toString());\n\t System.exit(0);\n\n\t} catch (Exception e) {\n\t System.out.println(e.getMessage());\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}",
"catch (Exception e) {\n\t System.out.println(e.getMessage());\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}",
"Exception e",
"{\n\t System.out.println(e.getMessage());\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}",
"System.out.println(e.getMessage())",
"System.out.println",
"System.out",
"System",
"System.out",
"e.getMessage()",
"e.getMessage",
"e",
"System.out.println(Arrays.toString(e.getStackTrace()))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.toString(e.getStackTrace())",
"Arrays.toString",
"Arrays",
"e.getStackTrace()",
"e.getStackTrace",
"e",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t List<String> lines = new ArrayList<String>();\n\n\t for (String line = br.readLine(); line != null; line = br.readLine()) {\n\t\tlines.add(line);\n\t }\n\t //lines.add(\"5\");\n\t //lines.add(\"1 2 5 4 5\");\n\t br.close();\n\n\t //List<String> array = new ArrayList<String>();\n\t String[] array = new String[Integer.parseInt(lines.get(0))];\n\t String[] reverse = new String[Integer.parseInt(lines.get(0))];\n\t for (int i = 0; i < array.length ; i++) {\n\t\tarray[i] = lines.get(1).split(\" \")[i];\n\t }\n\t sb = new StringBuilder();\n\n\t for (int i = array.length - 1; i >= 0 ; i--) {\n\t\tif ( i != 0 ) {\n\t\t sb.append(array[i] + \" \");\n\t\t} else {\n\t\t sb.append(array[i]);\n\t\t}\n\t }\n\n\t System.out.println(sb.toString());\n\t System.exit(0);\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"List<String> lines = new ArrayList<String>();",
"lines",
"new ArrayList<String>()",
"for (String line = br.readLine(); line != null; line = br.readLine()) {\n\t\tlines.add(line);\n\t }",
"String line = br.readLine();",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"line != null",
"line",
"null",
"line = br.readLine()",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"{\n\t\tlines.add(line);\n\t }",
"{\n\t\tlines.add(line);\n\t }",
"lines.add(line)",
"lines.add",
"lines",
"line",
"br.close()",
"br.close",
"br",
"String[] array = new String[Integer.parseInt(lines.get(0))];",
"array",
"new String[Integer.parseInt(lines.get(0))]",
"Integer.parseInt(lines.get(0))",
"Integer.parseInt",
"Integer",
"lines.get(0)",
"lines.get",
"lines",
"0",
"String[] reverse = new String[Integer.parseInt(lines.get(0))];",
"reverse",
"new String[Integer.parseInt(lines.get(0))]",
"Integer.parseInt(lines.get(0))",
"Integer.parseInt",
"Integer",
"lines.get(0)",
"lines.get",
"lines",
"0",
"for (int i = 0; i < array.length ; i++) {\n\t\tarray[i] = lines.get(1).split(\" \")[i];\n\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\tarray[i] = lines.get(1).split(\" \")[i];\n\t }",
"{\n\t\tarray[i] = lines.get(1).split(\" \")[i];\n\t }",
"array[i] = lines.get(1).split(\" \")[i]",
"array[i]",
"array",
"i",
"lines.get(1).split(\" \")[i]",
"lines.get(1).split(\" \")",
"lines.get(1).split",
"lines.get(1)",
"lines.get",
"lines",
"1",
"\" \"",
"i",
"sb = new StringBuilder()",
"sb",
"new StringBuilder()",
"for (int i = array.length - 1; i >= 0 ; i--) {\n\t\tif ( i != 0 ) {\n\t\t sb.append(array[i] + \" \");\n\t\t} else {\n\t\t sb.append(array[i]);\n\t\t}\n\t }",
"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\t\tif ( i != 0 ) {\n\t\t sb.append(array[i] + \" \");\n\t\t} else {\n\t\t sb.append(array[i]);\n\t\t}\n\t }",
"{\n\t\tif ( i != 0 ) {\n\t\t sb.append(array[i] + \" \");\n\t\t} else {\n\t\t sb.append(array[i]);\n\t\t}\n\t }",
"if ( i != 0 ) {\n\t\t sb.append(array[i] + \" \");\n\t\t} else {\n\t\t sb.append(array[i]);\n\t\t}",
"i != 0",
"i",
"0",
"{\n\t\t sb.append(array[i] + \" \");\n\t\t}",
"sb.append(array[i] + \" \")",
"sb.append",
"sb",
"array[i] + \" \"",
"array[i]",
"array",
"i",
"\" \"",
"{\n\t\t sb.append(array[i]);\n\t\t}",
"sb.append(array[i])",
"sb.append",
"sb",
"array[i]",
"array",
"i",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"System.exit(0)",
"System.exit",
"System",
"0",
"String[] args",
"args",
"public class Main{\n\n static StringBuilder sb;\n\n public static void main(String[] args) {\n\ttry {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t List<String> lines = new ArrayList<String>();\n\n\t for (String line = br.readLine(); line != null; line = br.readLine()) {\n\t\tlines.add(line);\n\t }\n\t //lines.add(\"5\");\n\t //lines.add(\"1 2 5 4 5\");\n\t br.close();\n\n\t //List<String> array = new ArrayList<String>();\n\t String[] array = new String[Integer.parseInt(lines.get(0))];\n\t String[] reverse = new String[Integer.parseInt(lines.get(0))];\n\t for (int i = 0; i < array.length ; i++) {\n\t\tarray[i] = lines.get(1).split(\" \")[i];\n\t }\n\t sb = new StringBuilder();\n\n\t for (int i = array.length - 1; i >= 0 ; i--) {\n\t\tif ( i != 0 ) {\n\t\t sb.append(array[i] + \" \");\n\t\t} else {\n\t\t sb.append(array[i]);\n\t\t}\n\t }\n\n\t System.out.println(sb.toString());\n\t System.exit(0);\n\n\t} catch (Exception e) {\n\t System.out.println(e.getMessage());\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }\n}",
"public class Main{\n\n static StringBuilder sb;\n\n public static void main(String[] args) {\n\ttry {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t List<String> lines = new ArrayList<String>();\n\n\t for (String line = br.readLine(); line != null; line = br.readLine()) {\n\t\tlines.add(line);\n\t }\n\t //lines.add(\"5\");\n\t //lines.add(\"1 2 5 4 5\");\n\t br.close();\n\n\t //List<String> array = new ArrayList<String>();\n\t String[] array = new String[Integer.parseInt(lines.get(0))];\n\t String[] reverse = new String[Integer.parseInt(lines.get(0))];\n\t for (int i = 0; i < array.length ; i++) {\n\t\tarray[i] = lines.get(1).split(\" \")[i];\n\t }\n\t sb = new StringBuilder();\n\n\t for (int i = array.length - 1; i >= 0 ; i--) {\n\t\tif ( i != 0 ) {\n\t\t sb.append(array[i] + \" \");\n\t\t} else {\n\t\t sb.append(array[i]);\n\t\t}\n\t }\n\n\t System.out.println(sb.toString());\n\t System.exit(0);\n\n\t} catch (Exception e) {\n\t System.out.println(e.getMessage());\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.List;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
public class Main{
static StringBuilder sb;
public static void main(String[] args) {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
List<String> lines = new ArrayList<String>();
for (String line = br.readLine(); line != null; line = br.readLine()) {
lines.add(line);
}
//lines.add("5");
//lines.add("1 2 5 4 5");
br.close();
//List<String> array = new ArrayList<String>();
String[] array = new String[Integer.parseInt(lines.get(0))];
String[] reverse = new String[Integer.parseInt(lines.get(0))];
for (int i = 0; i < array.length ; i++) {
array[i] = lines.get(1).split(" ")[i];
}
sb = new StringBuilder();
for (int i = array.length - 1; i >= 0 ; i--) {
if ( i != 0 ) {
sb.append(array[i] + " ");
} else {
sb.append(array[i]);
}
}
System.out.println(sb.toString());
System.exit(0);
} catch (Exception e) {
System.out.println(e.getMessage());
System.out.println(Arrays.toString(e.getStackTrace()));
System.exit(0);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
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,
17,
4,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
84,
5
],
[
84,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
39,
46
],
[
46,
47
],
[
46,
48
],
[
39,
49
],
[
49,
50
],
[
50,
51
],
[
39,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
54,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
53,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
8,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"import java.util.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\nScanner kb=new Scanner(System.in);\nint n=kb.nextInt();\nArrayList<Integer> al=new ArrayList<Integer>(n);\nfor(int i=0;i<n;i++){\n\tal.add(kb.nextInt());\n}\nfor(int i=n-1;i>=0;i--){\n\tSystem.out.printf(\"%d\",al.get(i));\n\tif(i!=0){\n System.out.print(\" \");\t\n\t}\n}\nSystem.out.println(\"\");\t\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\nScanner kb=new Scanner(System.in);\nint n=kb.nextInt();\nArrayList<Integer> al=new ArrayList<Integer>(n);\nfor(int i=0;i<n;i++){\n\tal.add(kb.nextInt());\n}\nfor(int i=n-1;i>=0;i--){\n\tSystem.out.printf(\"%d\",al.get(i));\n\tif(i!=0){\n System.out.print(\" \");\t\n\t}\n}\nSystem.out.println(\"\");\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\nScanner kb=new Scanner(System.in);\nint n=kb.nextInt();\nArrayList<Integer> al=new ArrayList<Integer>(n);\nfor(int i=0;i<n;i++){\n\tal.add(kb.nextInt());\n}\nfor(int i=n-1;i>=0;i--){\n\tSystem.out.printf(\"%d\",al.get(i));\n\tif(i!=0){\n System.out.print(\" \");\t\n\t}\n}\nSystem.out.println(\"\");\t\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\nScanner kb=new Scanner(System.in);\nint n=kb.nextInt();\nArrayList<Integer> al=new ArrayList<Integer>(n);\nfor(int i=0;i<n;i++){\n\tal.add(kb.nextInt());\n}\nfor(int i=n-1;i>=0;i--){\n\tSystem.out.printf(\"%d\",al.get(i));\n\tif(i!=0){\n System.out.print(\" \");\t\n\t}\n}\nSystem.out.println(\"\");\t\n\t}",
"Scanner kb=new Scanner(System.in);",
"kb",
"new Scanner(System.in)",
"int n=kb.nextInt();",
"n",
"kb.nextInt()",
"kb.nextInt",
"kb",
"ArrayList<Integer> al=new ArrayList<Integer>(n);",
"al",
"new ArrayList<Integer>(n)",
"for(int i=0;i<n;i++){\n\tal.add(kb.nextInt());\n}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\tal.add(kb.nextInt());\n}",
"{\n\tal.add(kb.nextInt());\n}",
"al.add(kb.nextInt())",
"al.add",
"al",
"kb.nextInt()",
"kb.nextInt",
"kb",
"for(int i=n-1;i>=0;i--){\n\tSystem.out.printf(\"%d\",al.get(i));\n\tif(i!=0){\n System.out.print(\" \");\t\n\t}\n}",
"int i=n-1;",
"int i=n-1;",
"i",
"n-1",
"n",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\tSystem.out.printf(\"%d\",al.get(i));\n\tif(i!=0){\n System.out.print(\" \");\t\n\t}\n}",
"{\n\tSystem.out.printf(\"%d\",al.get(i));\n\tif(i!=0){\n System.out.print(\" \");\t\n\t}\n}",
"System.out.printf(\"%d\",al.get(i))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\"",
"al.get(i)",
"al.get",
"al",
"i",
"if(i!=0){\n System.out.print(\" \");\t\n\t}",
"i!=0",
"i",
"0",
"{\n System.out.print(\" \");\t\n\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\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\nScanner kb=new Scanner(System.in);\nint n=kb.nextInt();\nArrayList<Integer> al=new ArrayList<Integer>(n);\nfor(int i=0;i<n;i++){\n\tal.add(kb.nextInt());\n}\nfor(int i=n-1;i>=0;i--){\n\tSystem.out.printf(\"%d\",al.get(i));\n\tif(i!=0){\n System.out.print(\" \");\t\n\t}\n}\nSystem.out.println(\"\");\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\nScanner kb=new Scanner(System.in);\nint n=kb.nextInt();\nArrayList<Integer> al=new ArrayList<Integer>(n);\nfor(int i=0;i<n;i++){\n\tal.add(kb.nextInt());\n}\nfor(int i=n-1;i>=0;i--){\n\tSystem.out.printf(\"%d\",al.get(i));\n\tif(i!=0){\n System.out.print(\" \");\t\n\t}\n}\nSystem.out.println(\"\");\t\n\t}\n\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner kb=new Scanner(System.in);
int n=kb.nextInt();
ArrayList<Integer> al=new ArrayList<Integer>(n);
for(int i=0;i<n;i++){
al.add(kb.nextInt());
}
for(int i=n-1;i>=0;i--){
System.out.printf("%d",al.get(i));
if(i!=0){
System.out.print(" ");
}
}
System.out.println("");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
0,
13,
20,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
18,
4,
18,
13,
17,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
2,
13,
17,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
0,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
2,
18,
13,
13,
17,
13,
0,
18,
13,
2,
2,
18,
13,
13,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
168,
11
],
[
168,
12
],
[
12,
13
],
[
168,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
16,
23
],
[
23,
24
],
[
23,
25
],
[
16,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
16,
34
],
[
34,
35
],
[
34,
36
],
[
16,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
16,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
62,
67
],
[
16,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
16,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
81,
82
],
[
72,
83
],
[
84,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
85,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
85,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
16,
109
],
[
109,
110
],
[
110,
111
],
[
14,
112
],
[
112,
113
],
[
168,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
119,
131
],
[
131,
132
],
[
132,
133
],
[
119,
134
],
[
135,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
138,
140
],
[
135,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
145,
146
],
[
145,
147
],
[
148,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
148,
152
],
[
148,
153
],
[
135,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
158,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
162
],
[
158,
163
],
[
154,
164
],
[
114,
165
],
[
165,
166
],
[
0,
167
],
[
167,
168
],
[
167,
169
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\t\n\tstatic int[] array;\n\t\n\tpublic static void main(String[] args)throws IOException{\n\t\tMain app = new Main();\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader reader = new BufferedReader(isr);\n\t\t\n\t\tint n = Integer.parseInt(reader.readLine());\n\t\tarray = new int[n];\n\t\tString string = reader.readLine();\n\t\t\n\t\tfor(int i = 0; i < n; i++)\n\t\t\tarray[i] = Integer.parseInt(string.split(\" \")[i]);\n\t\t\n\t\tapp.reverse(array);\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tif(i != n - 1)\n\t\t\t\tSystem.out.print(array[i] + \" \");\n\t\t\telse\n\t\t\t\tSystem.out.println(array[i]);\n\t\t}\n\t\treader.close();\n\t}\n\tpublic void reverse(int[] array){\n\t\tint temp;\n\t\tfor(int i = 0; i < array.length / 2; i++){\n\t\t\ttemp = array[i];\n\t\t\tarray[i] = array[array.length - 1 - i];\n\t\t\tarray[array.length - 1 - i] = temp;\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\t\n\tstatic int[] array;\n\t\n\tpublic static void main(String[] args)throws IOException{\n\t\tMain app = new Main();\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader reader = new BufferedReader(isr);\n\t\t\n\t\tint n = Integer.parseInt(reader.readLine());\n\t\tarray = new int[n];\n\t\tString string = reader.readLine();\n\t\t\n\t\tfor(int i = 0; i < n; i++)\n\t\t\tarray[i] = Integer.parseInt(string.split(\" \")[i]);\n\t\t\n\t\tapp.reverse(array);\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tif(i != n - 1)\n\t\t\t\tSystem.out.print(array[i] + \" \");\n\t\t\telse\n\t\t\t\tSystem.out.println(array[i]);\n\t\t}\n\t\treader.close();\n\t}\n\tpublic void reverse(int[] array){\n\t\tint temp;\n\t\tfor(int i = 0; i < array.length / 2; i++){\n\t\t\ttemp = array[i];\n\t\t\tarray[i] = array[array.length - 1 - i];\n\t\t\tarray[array.length - 1 - i] = temp;\n\t\t}\n\t}\n}",
"Main",
"static int[] array;",
"array",
"public static void main(String[] args)throws IOException{\n\t\tMain app = new Main();\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader reader = new BufferedReader(isr);\n\t\t\n\t\tint n = Integer.parseInt(reader.readLine());\n\t\tarray = new int[n];\n\t\tString string = reader.readLine();\n\t\t\n\t\tfor(int i = 0; i < n; i++)\n\t\t\tarray[i] = Integer.parseInt(string.split(\" \")[i]);\n\t\t\n\t\tapp.reverse(array);\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tif(i != n - 1)\n\t\t\t\tSystem.out.print(array[i] + \" \");\n\t\t\telse\n\t\t\t\tSystem.out.println(array[i]);\n\t\t}\n\t\treader.close();\n\t}",
"main",
"{\n\t\tMain app = new Main();\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader reader = new BufferedReader(isr);\n\t\t\n\t\tint n = Integer.parseInt(reader.readLine());\n\t\tarray = new int[n];\n\t\tString string = reader.readLine();\n\t\t\n\t\tfor(int i = 0; i < n; i++)\n\t\t\tarray[i] = Integer.parseInt(string.split(\" \")[i]);\n\t\t\n\t\tapp.reverse(array);\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tif(i != n - 1)\n\t\t\t\tSystem.out.print(array[i] + \" \");\n\t\t\telse\n\t\t\t\tSystem.out.println(array[i]);\n\t\t}\n\t\treader.close();\n\t}",
"Main app = new Main();",
"app",
"new Main()",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader reader = new BufferedReader(isr);",
"reader",
"new BufferedReader(isr)",
"int n = Integer.parseInt(reader.readLine());",
"n",
"Integer.parseInt(reader.readLine())",
"Integer.parseInt",
"Integer",
"reader.readLine()",
"reader.readLine",
"reader",
"array = new int[n]",
"array",
"new int[n]",
"n",
"String string = reader.readLine();",
"string",
"reader.readLine()",
"reader.readLine",
"reader",
"for(int i = 0; i < n; i++)\n\t\t\tarray[i] = Integer.parseInt(string.split(\" \")[i]);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"array[i] = Integer.parseInt(string.split(\" \")[i]);",
"array[i] = Integer.parseInt(string.split(\" \")[i])",
"array[i]",
"array",
"i",
"Integer.parseInt(string.split(\" \")[i])",
"Integer.parseInt",
"Integer",
"string.split(\" \")[i]",
"string.split(\" \")",
"string.split",
"string",
"\" \"",
"i",
"app.reverse(array)",
"app.reverse",
"app",
"array",
"for(int i = 0; i < n; i++){\n\t\t\tif(i != n - 1)\n\t\t\t\tSystem.out.print(array[i] + \" \");\n\t\t\telse\n\t\t\t\tSystem.out.println(array[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tif(i != n - 1)\n\t\t\t\tSystem.out.print(array[i] + \" \");\n\t\t\telse\n\t\t\t\tSystem.out.println(array[i]);\n\t\t}",
"{\n\t\t\tif(i != n - 1)\n\t\t\t\tSystem.out.print(array[i] + \" \");\n\t\t\telse\n\t\t\t\tSystem.out.println(array[i]);\n\t\t}",
"if(i != n - 1)\n\t\t\t\tSystem.out.print(array[i] + \" \");\n\t\t\telse\n\t\t\t\tSystem.out.println(array[i]);",
"i != n - 1",
"i",
"n - 1",
"n",
"1",
"System.out.print(array[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"array[i] + \" \"",
"array[i]",
"array",
"i",
"\" \"",
"System.out.println(array[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"array[i]",
"array",
"i",
"reader.close()",
"reader.close",
"reader",
"String[] args",
"args",
"public void reverse(int[] array){\n\t\tint temp;\n\t\tfor(int i = 0; i < array.length / 2; i++){\n\t\t\ttemp = array[i];\n\t\t\tarray[i] = array[array.length - 1 - i];\n\t\t\tarray[array.length - 1 - i] = temp;\n\t\t}\n\t}",
"reverse",
"{\n\t\tint temp;\n\t\tfor(int i = 0; i < array.length / 2; i++){\n\t\t\ttemp = array[i];\n\t\t\tarray[i] = array[array.length - 1 - i];\n\t\t\tarray[array.length - 1 - i] = temp;\n\t\t}\n\t}",
"int temp;",
"temp",
"for(int i = 0; i < array.length / 2; i++){\n\t\t\ttemp = array[i];\n\t\t\tarray[i] = array[array.length - 1 - i];\n\t\t\tarray[array.length - 1 - i] = temp;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length / 2",
"i",
"array.length / 2",
"array.length",
"array",
"array.length",
"2",
"i++",
"i++",
"i",
"{\n\t\t\ttemp = array[i];\n\t\t\tarray[i] = array[array.length - 1 - i];\n\t\t\tarray[array.length - 1 - i] = temp;\n\t\t}",
"{\n\t\t\ttemp = array[i];\n\t\t\tarray[i] = array[array.length - 1 - i];\n\t\t\tarray[array.length - 1 - i] = temp;\n\t\t}",
"temp = array[i]",
"temp",
"array[i]",
"array",
"i",
"array[i] = array[array.length - 1 - i]",
"array[i]",
"array",
"i",
"array[array.length - 1 - i]",
"array",
"array.length - 1 - i",
"array.length - 1 - i",
"array.length",
"array",
"array.length",
"1",
"i",
"array[array.length - 1 - i] = temp",
"array[array.length - 1 - i]",
"array",
"array.length - 1 - i",
"array.length - 1 - i",
"array.length",
"array",
"array.length",
"1",
"i",
"temp",
"int[] array",
"array",
"public class Main{\n\t\n\tstatic int[] array;\n\t\n\tpublic static void main(String[] args)throws IOException{\n\t\tMain app = new Main();\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader reader = new BufferedReader(isr);\n\t\t\n\t\tint n = Integer.parseInt(reader.readLine());\n\t\tarray = new int[n];\n\t\tString string = reader.readLine();\n\t\t\n\t\tfor(int i = 0; i < n; i++)\n\t\t\tarray[i] = Integer.parseInt(string.split(\" \")[i]);\n\t\t\n\t\tapp.reverse(array);\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tif(i != n - 1)\n\t\t\t\tSystem.out.print(array[i] + \" \");\n\t\t\telse\n\t\t\t\tSystem.out.println(array[i]);\n\t\t}\n\t\treader.close();\n\t}\n\tpublic void reverse(int[] array){\n\t\tint temp;\n\t\tfor(int i = 0; i < array.length / 2; i++){\n\t\t\ttemp = array[i];\n\t\t\tarray[i] = array[array.length - 1 - i];\n\t\t\tarray[array.length - 1 - i] = temp;\n\t\t}\n\t}\n}",
"public class Main{\n\t\n\tstatic int[] array;\n\t\n\tpublic static void main(String[] args)throws IOException{\n\t\tMain app = new Main();\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader reader = new BufferedReader(isr);\n\t\t\n\t\tint n = Integer.parseInt(reader.readLine());\n\t\tarray = new int[n];\n\t\tString string = reader.readLine();\n\t\t\n\t\tfor(int i = 0; i < n; i++)\n\t\t\tarray[i] = Integer.parseInt(string.split(\" \")[i]);\n\t\t\n\t\tapp.reverse(array);\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tif(i != n - 1)\n\t\t\t\tSystem.out.print(array[i] + \" \");\n\t\t\telse\n\t\t\t\tSystem.out.println(array[i]);\n\t\t}\n\t\treader.close();\n\t}\n\tpublic void reverse(int[] array){\n\t\tint temp;\n\t\tfor(int i = 0; i < array.length / 2; i++){\n\t\t\ttemp = array[i];\n\t\t\tarray[i] = array[array.length - 1 - i];\n\t\t\tarray[array.length - 1 - i] = temp;\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
static int[] array;
public static void main(String[] args)throws IOException{
Main app = new Main();
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader reader = new BufferedReader(isr);
int n = Integer.parseInt(reader.readLine());
array = new int[n];
String string = reader.readLine();
for(int i = 0; i < n; i++)
array[i] = Integer.parseInt(string.split(" ")[i]);
app.reverse(array);
for(int i = 0; i < n; i++){
if(i != n - 1)
System.out.print(array[i] + " ");
else
System.out.println(array[i]);
}
reader.close();
}
public void reverse(int[] array){
int temp;
for(int i = 0; i < array.length / 2; i++){
temp = array[i];
array[i] = array[array.length - 1 - i];
array[array.length - 1 - i] = temp;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
50,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
50,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
70,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
8,
87
],
[
87,
88
],
[
88,
89
],
[
6,
90
],
[
90,
91
]
] | [
"import java.io.*;\nclass Main{\npublic static void main(String[] args)throws IOException{\nBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\nString str=br.readLine();\nint n=Integer.parseInt(str);\nString str2=br.readLine();\nString[] arr=str2.split(\" \");\nString[] rev =new String[n];\nfor(int i=0; i<n; i++){\nrev[i]=arr[n-i-1];\nSystem.out.print(rev[i]);\nif(i !=n-1) System.out.print(\" \");\n}\nSystem.out.println();\nbr.close();\n}\n} ",
"import java.io.*;",
"io.*",
"java",
"class Main{\npublic static void main(String[] args)throws IOException{\nBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\nString str=br.readLine();\nint n=Integer.parseInt(str);\nString str2=br.readLine();\nString[] arr=str2.split(\" \");\nString[] rev =new String[n];\nfor(int i=0; i<n; i++){\nrev[i]=arr[n-i-1];\nSystem.out.print(rev[i]);\nif(i !=n-1) System.out.print(\" \");\n}\nSystem.out.println();\nbr.close();\n}\n}",
"Main",
"public static void main(String[] args)throws IOException{\nBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\nString str=br.readLine();\nint n=Integer.parseInt(str);\nString str2=br.readLine();\nString[] arr=str2.split(\" \");\nString[] rev =new String[n];\nfor(int i=0; i<n; i++){\nrev[i]=arr[n-i-1];\nSystem.out.print(rev[i]);\nif(i !=n-1) System.out.print(\" \");\n}\nSystem.out.println();\nbr.close();\n}",
"main",
"{\nBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\nString str=br.readLine();\nint n=Integer.parseInt(str);\nString str2=br.readLine();\nString[] arr=str2.split(\" \");\nString[] rev =new String[n];\nfor(int i=0; i<n; i++){\nrev[i]=arr[n-i-1];\nSystem.out.print(rev[i]);\nif(i !=n-1) System.out.print(\" \");\n}\nSystem.out.println();\nbr.close();\n}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str=br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"int n=Integer.parseInt(str);",
"n",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"String str2=br.readLine();",
"str2",
"br.readLine()",
"br.readLine",
"br",
"String[] arr=str2.split(\" \");",
"arr",
"str2.split(\" \")",
"str2.split",
"str2",
"\" \"",
"String[] rev =new String[n];",
"rev",
"new String[n]",
"n",
"for(int i=0; i<n; i++){\nrev[i]=arr[n-i-1];\nSystem.out.print(rev[i]);\nif(i !=n-1) System.out.print(\" \");\n}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\nrev[i]=arr[n-i-1];\nSystem.out.print(rev[i]);\nif(i !=n-1) System.out.print(\" \");\n}",
"{\nrev[i]=arr[n-i-1];\nSystem.out.print(rev[i]);\nif(i !=n-1) System.out.print(\" \");\n}",
"rev[i]=arr[n-i-1]",
"rev[i]",
"rev",
"i",
"arr[n-i-1]",
"arr",
"n-i-1",
"n-i-1",
"n",
"i",
"1",
"System.out.print(rev[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"rev[i]",
"rev",
"i",
"if(i !=n-1) System.out.print(\" \");",
"i !=n-1",
"i",
"n-1",
"n",
"1",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"br.close()",
"br.close",
"br",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args)throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
int n=Integer.parseInt(str);
String str2=br.readLine();
String[] arr=str2.split(" ");
String[] rev =new String[n];
for(int i=0; i<n; i++){
rev[i]=arr[n-i-1];
System.out.print(rev[i]);
if(i !=n-1) System.out.print(" ");
}
System.out.println();
br.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,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
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
],
[
47,
49
],
[
43,
50
],
[
50,
51
],
[
50,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
43,
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
],
[
77,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
6,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] | [
"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[] a = new int[n];\n for(int i = 0;i < a.length;i++){\n a[i] = sc.nextInt();\n }\n \n for(int i = n-1;i >= 0;i--){\n System.out.print(a[i]);\n\n if(i != 0){\n System.out.print(\" \");\n }\n }\n\n System.out.print(\"\\n\");\n \n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\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 \n for(int i = n-1;i >= 0;i--){\n System.out.print(a[i]);\n\n if(i != 0){\n System.out.print(\" \");\n }\n }\n\n System.out.print(\"\\n\");\n \n sc.close();\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\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 \n for(int i = n-1;i >= 0;i--){\n System.out.print(a[i]);\n\n if(i != 0){\n System.out.print(\" \");\n }\n }\n\n System.out.print(\"\\n\");\n \n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\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 \n for(int i = n-1;i >= 0;i--){\n System.out.print(a[i]);\n\n if(i != 0){\n System.out.print(\" \");\n }\n }\n\n System.out.print(\"\\n\");\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 < 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 = n-1;i >= 0;i--){\n System.out.print(a[i]);\n\n if(i != 0){\n System.out.print(\" \");\n }\n }",
"int i = n-1;",
"int i = n-1;",
"i",
"n-1",
"n",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n System.out.print(a[i]);\n\n if(i != 0){\n System.out.print(\" \");\n }\n }",
"{\n System.out.print(a[i]);\n\n if(i != 0){\n System.out.print(\" \");\n }\n }",
"System.out.print(a[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"if(i != 0){\n System.out.print(\" \");\n }",
"i != 0",
"i",
"0",
"{\n System.out.print(\" \");\n }",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.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\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 \n for(int i = n-1;i >= 0;i--){\n System.out.print(a[i]);\n\n if(i != 0){\n System.out.print(\" \");\n }\n }\n\n System.out.print(\"\\n\");\n \n sc.close();\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[] a = new int[n];\n for(int i = 0;i < a.length;i++){\n a[i] = sc.nextInt();\n }\n \n for(int i = n-1;i >= 0;i--){\n System.out.print(a[i]);\n\n if(i != 0){\n System.out.print(\" \");\n }\n }\n\n System.out.print(\"\\n\");\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 < a.length;i++){
a[i] = sc.nextInt();
}
for(int i = n-1;i >= 0;i--){
System.out.print(a[i]);
if(i != 0){
System.out.print(" ");
}
}
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,
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,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
76,
11
],
[
76,
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
],
[
55,
57
],
[
51,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
14,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
12,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] str = br.readLine().split(\" \");\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tsb.append(str[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(sb);\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 NumberFormatException, IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] str = br.readLine().split(\" \");\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tsb.append(str[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(sb);\n\t}\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] str = br.readLine().split(\" \");\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tsb.append(str[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(sb);\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] str = br.readLine().split(\" \");\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tsb.append(str[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\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()",
"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\t\t\tsb.append(str[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tsb.append(\" \");\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\tsb.append(str[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}",
"{\n\t\t\tsb.append(str[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}",
"sb.append(str[i])",
"sb.append",
"sb",
"str[i]",
"str",
"i",
"if (i != 0) {\n\t\t\t\tsb.append(\" \");\n\t\t\t}",
"i != 0",
"i",
"0",
"{\n\t\t\t\tsb.append(\" \");\n\t\t\t}",
"sb.append(\" \")",
"sb.append",
"sb",
"\" \"",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] str = br.readLine().split(\" \");\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tsb.append(str[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(sb);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] str = br.readLine().split(\" \");\n\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tsb.append(str[i]);\n\t\t\tif (i != 0) {\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(sb);\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 NumberFormatException, 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]);
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,
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,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
88,
5
],
[
88,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
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
],
[
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
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tint i;\n\t\t\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\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\tsc.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tint i;\n\t\t\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\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\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tint i;\n\t\t\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\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\tsc.close();\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tint i;\n\t\t\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\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\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 i;",
"i",
"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\tif (i > 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\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\tif (i > 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}",
"{\n\t\t\tSystem.out.print(a[i]);\n\t\t\tif (i > 0) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\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",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tint i;\n\t\t\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\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\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a = new int[n];\n\t\tint i;\n\t\t\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\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\tsc.close();\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] a = new int[n];
int i;
for (i = 0; i < n; i++) {
a[i] = sc.nextInt();
}
for (i = n - 1; i >= 0; i--) {
System.out.print(a[i]);
if (i > 0) {
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,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
13,
30,
4,
18,
18,
13,
13,
2,
17,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
90,
5
],
[
90,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
56,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
6,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint array[] = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == n - 1) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\" \" + array[i]);\n\t\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 sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint array[] = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == n - 1) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\" \" + array[i]);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint array[] = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == n - 1) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\" \" + array[i]);\n\t\t\t}\n\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\tint array[] = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == n - 1) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\" \" + array[i]);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int array[] = new int[n];",
"array",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tarray[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tarray[i] = sc.nextInt();\n\t\t}",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == n - 1) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\" \" + array[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 == n - 1) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\" \" + array[i]);\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (i == n - 1) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\" \" + array[i]);\n\t\t\t}\n\t\t}",
"if (i == n - 1) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\" \" + array[i]);\n\t\t\t}",
"i == n - 1",
"i",
"n - 1",
"n",
"1",
"{\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t}",
"System.out.print(array[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"array[i]",
"array",
"i",
"{\n\t\t\t\tSystem.out.print(\" \" + array[i]);\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()",
"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\tint array[] = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == n - 1) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\" \" + array[i]);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint array[] = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tif (i == n - 1) {\n\t\t\t\tSystem.out.print(array[i]);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\" \" + array[i]);\n\t\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 sc = new Scanner(System.in);
int n = sc.nextInt();
int array[] = new int[n];
for (int i = 0; i < n; i++) {
array[i] = sc.nextInt();
}
for (int i = n - 1; i >= 0; i--) {
if (i == n - 1) {
System.out.print(array[i]);
} else {
System.out.print(" " + array[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,
4,
18,
13,
41,
13,
41,
13,
4,
18,
13,
13,
41,
13,
20,
13,
0,
13,
4,
18,
13,
17,
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,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
87,
8
],
[
87,
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
],
[
11,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
11,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
11,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
43,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
43,
54
],
[
54,
55
],
[
55,
56
],
[
43,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
58,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
11,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
9,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line1 = br.readLine();\n String line2 = br.readLine();\n String str;\n \n int num = Integer.parseInt(line1);\n String aryNum[] = new String[num];\n aryNum = line2.split(\" \");\n \n for (int i = num - 1; i > -1; i--) {\n System.out.print(aryNum[i]);\n if(i != 0){\n System.out.print(\" \");\n }\n }\n\n System.out.println(\"\");\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 line1 = br.readLine();\n String line2 = br.readLine();\n String str;\n \n int num = Integer.parseInt(line1);\n String aryNum[] = new String[num];\n aryNum = line2.split(\" \");\n \n for (int i = num - 1; i > -1; i--) {\n System.out.print(aryNum[i]);\n if(i != 0){\n System.out.print(\" \");\n }\n }\n\n System.out.println(\"\");\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line1 = br.readLine();\n String line2 = br.readLine();\n String str;\n \n int num = Integer.parseInt(line1);\n String aryNum[] = new String[num];\n aryNum = line2.split(\" \");\n \n for (int i = num - 1; i > -1; i--) {\n System.out.print(aryNum[i]);\n if(i != 0){\n System.out.print(\" \");\n }\n }\n\n System.out.println(\"\");\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line1 = br.readLine();\n String line2 = br.readLine();\n String str;\n \n int num = Integer.parseInt(line1);\n String aryNum[] = new String[num];\n aryNum = line2.split(\" \");\n \n for (int i = num - 1; i > -1; i--) {\n System.out.print(aryNum[i]);\n if(i != 0){\n System.out.print(\" \");\n }\n }\n\n System.out.println(\"\");\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line1 = br.readLine();",
"line1",
"br.readLine()",
"br.readLine",
"br",
"String line2 = br.readLine();",
"line2",
"br.readLine()",
"br.readLine",
"br",
"String str;",
"str",
"int num = Integer.parseInt(line1);",
"num",
"Integer.parseInt(line1)",
"Integer.parseInt",
"Integer",
"line1",
"String aryNum[] = new String[num];",
"aryNum",
"new String[num]",
"num",
"aryNum = line2.split(\" \")",
"aryNum",
"line2.split(\" \")",
"line2.split",
"line2",
"\" \"",
"for (int i = num - 1; i > -1; i--) {\n System.out.print(aryNum[i]);\n if(i != 0){\n System.out.print(\" \");\n }\n }",
"int i = num - 1;",
"int i = num - 1;",
"i",
"num - 1",
"num",
"1",
"i > -1",
"i",
"-1",
"1",
"i--",
"i--",
"i",
"{\n System.out.print(aryNum[i]);\n if(i != 0){\n System.out.print(\" \");\n }\n }",
"{\n System.out.print(aryNum[i]);\n if(i != 0){\n System.out.print(\" \");\n }\n }",
"System.out.print(aryNum[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"aryNum[i]",
"aryNum",
"i",
"if(i != 0){\n System.out.print(\" \");\n }",
"i != 0",
"i",
"0",
"{\n System.out.print(\" \");\n }",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line1 = br.readLine();\n String line2 = br.readLine();\n String str;\n \n int num = Integer.parseInt(line1);\n String aryNum[] = new String[num];\n aryNum = line2.split(\" \");\n \n for (int i = num - 1; i > -1; i--) {\n System.out.print(aryNum[i]);\n if(i != 0){\n System.out.print(\" \");\n }\n }\n\n System.out.println(\"\");\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line1 = br.readLine();\n String line2 = br.readLine();\n String str;\n \n int num = Integer.parseInt(line1);\n String aryNum[] = new String[num];\n aryNum = line2.split(\" \");\n \n for (int i = num - 1; i > -1; i--) {\n System.out.print(aryNum[i]);\n if(i != 0){\n System.out.print(\" \");\n }\n }\n\n System.out.println(\"\");\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 line1 = br.readLine();
String line2 = br.readLine();
String str;
int num = Integer.parseInt(line1);
String aryNum[] = new String[num];
aryNum = line2.split(" ");
for (int i = num - 1; i > -1; i--) {
System.out.print(aryNum[i]);
if(i != 0){
System.out.print(" ");
}
}
System.out.println("");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
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,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
13,
2,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
13,
30,
0,
13,
2,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
20,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
34,
39
],
[
20,
40
],
[
40,
41
],
[
40,
42
],
[
20,
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
],
[
56,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
20,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
20,
69
],
[
69,
70
],
[
69,
71
],
[
20,
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
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
87,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
105,
110
],
[
20,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
18,
117
],
[
117,
118
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger count = Integer.parseInt(br.readLine());\n\t\tString[] strNumArrays = br.readLine().split(\" \");\n\t\tArrayList<Integer> numArrayList = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tnumArrayList.add(Integer.parseInt(strNumArrays[i]));\n\t\t}\n\t\tCollections.reverse(numArrayList);\n\t\tString out = \"\";\n\t\tfor (int i = 0; i < numArrayList.size(); i++) {\n\t\t\tif (i == numArrayList.size() - 1) {\n\t\t\t\tout += numArrayList.get(i);\n\t\t\t} else {\n\t\t\t\tout += numArrayList.get(i) + \" \";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(out);\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",
"class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger count = Integer.parseInt(br.readLine());\n\t\tString[] strNumArrays = br.readLine().split(\" \");\n\t\tArrayList<Integer> numArrayList = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tnumArrayList.add(Integer.parseInt(strNumArrays[i]));\n\t\t}\n\t\tCollections.reverse(numArrayList);\n\t\tString out = \"\";\n\t\tfor (int i = 0; i < numArrayList.size(); i++) {\n\t\t\tif (i == numArrayList.size() - 1) {\n\t\t\t\tout += numArrayList.get(i);\n\t\t\t} else {\n\t\t\t\tout += numArrayList.get(i) + \" \";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(out);\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\tInteger count = Integer.parseInt(br.readLine());\n\t\tString[] strNumArrays = br.readLine().split(\" \");\n\t\tArrayList<Integer> numArrayList = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tnumArrayList.add(Integer.parseInt(strNumArrays[i]));\n\t\t}\n\t\tCollections.reverse(numArrayList);\n\t\tString out = \"\";\n\t\tfor (int i = 0; i < numArrayList.size(); i++) {\n\t\t\tif (i == numArrayList.size() - 1) {\n\t\t\t\tout += numArrayList.get(i);\n\t\t\t} else {\n\t\t\t\tout += numArrayList.get(i) + \" \";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(out);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger count = Integer.parseInt(br.readLine());\n\t\tString[] strNumArrays = br.readLine().split(\" \");\n\t\tArrayList<Integer> numArrayList = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tnumArrayList.add(Integer.parseInt(strNumArrays[i]));\n\t\t}\n\t\tCollections.reverse(numArrayList);\n\t\tString out = \"\";\n\t\tfor (int i = 0; i < numArrayList.size(); i++) {\n\t\t\tif (i == numArrayList.size() - 1) {\n\t\t\t\tout += numArrayList.get(i);\n\t\t\t} else {\n\t\t\t\tout += numArrayList.get(i) + \" \";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(out);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"Integer count = Integer.parseInt(br.readLine());",
"count",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"String[] strNumArrays = br.readLine().split(\" \");",
"strNumArrays",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"ArrayList<Integer> numArrayList = new ArrayList<Integer>();",
"numArrayList",
"new ArrayList<Integer>()",
"for (int i = 0; i < count; i++) {\n\t\t\tnumArrayList.add(Integer.parseInt(strNumArrays[i]));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < count",
"i",
"count",
"i++",
"i++",
"i",
"{\n\t\t\tnumArrayList.add(Integer.parseInt(strNumArrays[i]));\n\t\t}",
"{\n\t\t\tnumArrayList.add(Integer.parseInt(strNumArrays[i]));\n\t\t}",
"numArrayList.add(Integer.parseInt(strNumArrays[i]))",
"numArrayList.add",
"numArrayList",
"Integer.parseInt(strNumArrays[i])",
"Integer.parseInt",
"Integer",
"strNumArrays[i]",
"strNumArrays",
"i",
"Collections.reverse(numArrayList)",
"Collections.reverse",
"Collections",
"numArrayList",
"String out = \"\";",
"out",
"\"\"",
"for (int i = 0; i < numArrayList.size(); i++) {\n\t\t\tif (i == numArrayList.size() - 1) {\n\t\t\t\tout += numArrayList.get(i);\n\t\t\t} else {\n\t\t\t\tout += numArrayList.get(i) + \" \";\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < numArrayList.size()",
"i",
"numArrayList.size()",
"numArrayList.size",
"numArrayList",
"i++",
"i++",
"i",
"{\n\t\t\tif (i == numArrayList.size() - 1) {\n\t\t\t\tout += numArrayList.get(i);\n\t\t\t} else {\n\t\t\t\tout += numArrayList.get(i) + \" \";\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (i == numArrayList.size() - 1) {\n\t\t\t\tout += numArrayList.get(i);\n\t\t\t} else {\n\t\t\t\tout += numArrayList.get(i) + \" \";\n\t\t\t}\n\t\t}",
"if (i == numArrayList.size() - 1) {\n\t\t\t\tout += numArrayList.get(i);\n\t\t\t} else {\n\t\t\t\tout += numArrayList.get(i) + \" \";\n\t\t\t}",
"i == numArrayList.size() - 1",
"i",
"numArrayList.size() - 1",
"numArrayList.size()",
"numArrayList.size",
"numArrayList",
"1",
"{\n\t\t\t\tout += numArrayList.get(i);\n\t\t\t}",
"out += numArrayList.get(i)",
"out",
"numArrayList.get(i)",
"numArrayList.get",
"numArrayList",
"i",
"{\n\t\t\t\tout += numArrayList.get(i) + \" \";\n\t\t\t}",
"out += numArrayList.get(i) + \" \"",
"out",
"numArrayList.get(i) + \" \"",
"numArrayList.get(i)",
"numArrayList.get",
"numArrayList",
"i",
"\" \"",
"System.out.println(out)",
"System.out.println",
"System.out",
"System",
"System.out",
"out",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
Integer count = Integer.parseInt(br.readLine());
String[] strNumArrays = br.readLine().split(" ");
ArrayList<Integer> numArrayList = new ArrayList<Integer>();
for (int i = 0; i < count; i++) {
numArrayList.add(Integer.parseInt(strNumArrays[i]));
}
Collections.reverse(numArrayList);
String out = "";
for (int i = 0; i < numArrayList.size(); i++) {
if (i == numArrayList.size() - 1) {
out += numArrayList.get(i);
} else {
out += numArrayList.get(i) + " ";
}
}
System.out.println(out);
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.