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,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
2,
2,
13,
17,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
10,
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
],
[
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
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
42,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
55,
62
],
[
62,
63
],
[
62,
64
],
[
51,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
65,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
17,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
92,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
90,
96
],
[
92,
97
],
[
15,
98
],
[
98,
99
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\tpublic static final int MAX = 200000;\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint highest =0;\n\t\tint middle =0;\n\t\tint lowest =0;\n\n\t\tfor(int i =0 ; i<10; i++){\n\n\t\t\tint now = Integer.parseInt(br.readLine());\n\t\t\tif(highest <= now){\n\t\t\t\tlowest = middle;\n\t\t\t\tmiddle = highest;\n\t\t\t\thighest= now;\n\t\t\t/*\tSystem.out.println(\"h\");*/\n\t\t\t}else if (middle <= now) {\n\t\t\t\tlowest = middle;\n\t\t\t\tmiddle = now;\n\t\t\t\t/*System.out.println(\"m\");*/\n\t\t\t}else if (lowest <= now) {\n\t\t\t\tlowest = now;\n\t\t\t\t/*System.out.println(\"l\");*/\n\n\t\t\t}\n\t\t\t/*System.out.println(highest+\"\\n\"+middle+\"\\n\"+lowest);*/\n\n\t\t}\n\n\t\tSystem.out.println(highest+\"\\n\"+middle+\"\\n\"+lowest);\n\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\n\tpublic static final int MAX = 200000;\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint highest =0;\n\t\tint middle =0;\n\t\tint lowest =0;\n\n\t\tfor(int i =0 ; i<10; i++){\n\n\t\t\tint now = Integer.parseInt(br.readLine());\n\t\t\tif(highest <= now){\n\t\t\t\tlowest = middle;\n\t\t\t\tmiddle = highest;\n\t\t\t\thighest= now;\n\t\t\t/*\tSystem.out.println(\"h\");*/\n\t\t\t}else if (middle <= now) {\n\t\t\t\tlowest = middle;\n\t\t\t\tmiddle = now;\n\t\t\t\t/*System.out.println(\"m\");*/\n\t\t\t}else if (lowest <= now) {\n\t\t\t\tlowest = now;\n\t\t\t\t/*System.out.println(\"l\");*/\n\n\t\t\t}\n\t\t\t/*System.out.println(highest+\"\\n\"+middle+\"\\n\"+lowest);*/\n\n\t\t}\n\n\t\tSystem.out.println(highest+\"\\n\"+middle+\"\\n\"+lowest);\n\n\t}\n\n}",
"Main",
"public static final int MAX = 200000;",
"MAX",
"200000",
"public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint highest =0;\n\t\tint middle =0;\n\t\tint lowest =0;\n\n\t\tfor(int i =0 ; i<10; i++){\n\n\t\t\tint now = Integer.parseInt(br.readLine());\n\t\t\tif(highest <= now){\n\t\t\t\tlowest = middle;\n\t\t\t\tmiddle = highest;\n\t\t\t\thighest= now;\n\t\t\t/*\tSystem.out.println(\"h\");*/\n\t\t\t}else if (middle <= now) {\n\t\t\t\tlowest = middle;\n\t\t\t\tmiddle = now;\n\t\t\t\t/*System.out.println(\"m\");*/\n\t\t\t}else if (lowest <= now) {\n\t\t\t\tlowest = now;\n\t\t\t\t/*System.out.println(\"l\");*/\n\n\t\t\t}\n\t\t\t/*System.out.println(highest+\"\\n\"+middle+\"\\n\"+lowest);*/\n\n\t\t}\n\n\t\tSystem.out.println(highest+\"\\n\"+middle+\"\\n\"+lowest);\n\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint highest =0;\n\t\tint middle =0;\n\t\tint lowest =0;\n\n\t\tfor(int i =0 ; i<10; i++){\n\n\t\t\tint now = Integer.parseInt(br.readLine());\n\t\t\tif(highest <= now){\n\t\t\t\tlowest = middle;\n\t\t\t\tmiddle = highest;\n\t\t\t\thighest= now;\n\t\t\t/*\tSystem.out.println(\"h\");*/\n\t\t\t}else if (middle <= now) {\n\t\t\t\tlowest = middle;\n\t\t\t\tmiddle = now;\n\t\t\t\t/*System.out.println(\"m\");*/\n\t\t\t}else if (lowest <= now) {\n\t\t\t\tlowest = now;\n\t\t\t\t/*System.out.println(\"l\");*/\n\n\t\t\t}\n\t\t\t/*System.out.println(highest+\"\\n\"+middle+\"\\n\"+lowest);*/\n\n\t\t}\n\n\t\tSystem.out.println(highest+\"\\n\"+middle+\"\\n\"+lowest);\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int highest =0;",
"highest",
"0",
"int middle =0;",
"middle",
"0",
"int lowest =0;",
"lowest",
"0",
"for(int i =0 ; i<10; i++){\n\n\t\t\tint now = Integer.parseInt(br.readLine());\n\t\t\tif(highest <= now){\n\t\t\t\tlowest = middle;\n\t\t\t\tmiddle = highest;\n\t\t\t\thighest= now;\n\t\t\t/*\tSystem.out.println(\"h\");*/\n\t\t\t}else if (middle <= now) {\n\t\t\t\tlowest = middle;\n\t\t\t\tmiddle = now;\n\t\t\t\t/*System.out.println(\"m\");*/\n\t\t\t}else if (lowest <= now) {\n\t\t\t\tlowest = now;\n\t\t\t\t/*System.out.println(\"l\");*/\n\n\t\t\t}\n\t\t\t/*System.out.println(highest+\"\\n\"+middle+\"\\n\"+lowest);*/\n\n\t\t}",
"int i =0 ;",
"int i =0 ;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\n\t\t\tint now = Integer.parseInt(br.readLine());\n\t\t\tif(highest <= now){\n\t\t\t\tlowest = middle;\n\t\t\t\tmiddle = highest;\n\t\t\t\thighest= now;\n\t\t\t/*\tSystem.out.println(\"h\");*/\n\t\t\t}else if (middle <= now) {\n\t\t\t\tlowest = middle;\n\t\t\t\tmiddle = now;\n\t\t\t\t/*System.out.println(\"m\");*/\n\t\t\t}else if (lowest <= now) {\n\t\t\t\tlowest = now;\n\t\t\t\t/*System.out.println(\"l\");*/\n\n\t\t\t}\n\t\t\t/*System.out.println(highest+\"\\n\"+middle+\"\\n\"+lowest);*/\n\n\t\t}",
"{\n\n\t\t\tint now = Integer.parseInt(br.readLine());\n\t\t\tif(highest <= now){\n\t\t\t\tlowest = middle;\n\t\t\t\tmiddle = highest;\n\t\t\t\thighest= now;\n\t\t\t/*\tSystem.out.println(\"h\");*/\n\t\t\t}else if (middle <= now) {\n\t\t\t\tlowest = middle;\n\t\t\t\tmiddle = now;\n\t\t\t\t/*System.out.println(\"m\");*/\n\t\t\t}else if (lowest <= now) {\n\t\t\t\tlowest = now;\n\t\t\t\t/*System.out.println(\"l\");*/\n\n\t\t\t}\n\t\t\t/*System.out.println(highest+\"\\n\"+middle+\"\\n\"+lowest);*/\n\n\t\t}",
"int now = Integer.parseInt(br.readLine());",
"now",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if(highest <= now){\n\t\t\t\tlowest = middle;\n\t\t\t\tmiddle = highest;\n\t\t\t\thighest= now;\n\t\t\t/*\tSystem.out.println(\"h\");*/\n\t\t\t}else if (middle <= now) {\n\t\t\t\tlowest = middle;\n\t\t\t\tmiddle = now;\n\t\t\t\t/*System.out.println(\"m\");*/\n\t\t\t}else if (lowest <= now) {\n\t\t\t\tlowest = now;\n\t\t\t\t/*System.out.println(\"l\");*/\n\n\t\t\t}",
"highest <= now",
"highest",
"now",
"{\n\t\t\t\tlowest = middle;\n\t\t\t\tmiddle = highest;\n\t\t\t\thighest= now;\n\t\t\t/*\tSystem.out.println(\"h\");*/\n\t\t\t}",
"lowest = middle",
"lowest",
"middle",
"middle = highest",
"middle",
"highest",
"highest= now",
"highest",
"now",
"if (middle <= now) {\n\t\t\t\tlowest = middle;\n\t\t\t\tmiddle = now;\n\t\t\t\t/*System.out.println(\"m\");*/\n\t\t\t}else if (lowest <= now) {\n\t\t\t\tlowest = now;\n\t\t\t\t/*System.out.println(\"l\");*/\n\n\t\t\t}",
"middle <= now",
"middle",
"now",
"{\n\t\t\t\tlowest = middle;\n\t\t\t\tmiddle = now;\n\t\t\t\t/*System.out.println(\"m\");*/\n\t\t\t}",
"lowest = middle",
"lowest",
"middle",
"middle = now",
"middle",
"now",
"if (lowest <= now) {\n\t\t\t\tlowest = now;\n\t\t\t\t/*System.out.println(\"l\");*/\n\n\t\t\t}",
"lowest <= now",
"lowest",
"now",
"{\n\t\t\t\tlowest = now;\n\t\t\t\t/*System.out.println(\"l\");*/\n\n\t\t\t}",
"lowest = now",
"lowest",
"now",
"System.out.println(highest+\"\\n\"+middle+\"\\n\"+lowest)",
"System.out.println",
"System.out",
"System",
"System.out",
"highest+\"\\n\"+middle+\"\\n\"+lowest",
"\"\\n\"",
"middle",
"highest+\"\\n\"+middle+\"\\n\"+lowest",
"highest",
"\"\\n\"",
"middle",
"\"\\n\"",
"lowest",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static final int MAX = 200000;
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int highest =0;
int middle =0;
int lowest =0;
for(int i =0 ; i<10; i++){
int now = Integer.parseInt(br.readLine());
if(highest <= now){
lowest = middle;
middle = highest;
highest= now;
/* System.out.println("h");*/
}else if (middle <= now) {
lowest = middle;
middle = now;
/*System.out.println("m");*/
}else if (lowest <= now) {
lowest = now;
/*System.out.println("l");*/
}
/*System.out.println(highest+"\n"+middle+"\n"+lowest);*/
}
System.out.println(highest+"\n"+middle+"\n"+lowest);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
0,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
13,
4,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
18
],
[
18,
19
],
[
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
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
48,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] | [
"import java.util.*;\n \npublic class Main {\n public static void main(String args[] ) throws Exception {\n \t\n \tScanner sc = new Scanner(System.in);\n \tInteger array[];\n \tarray = new Integer[10];\t\n \t\n for (int i=0; i<10; i++) {\n Integer mountain = sc.nextInt();\n array[i] = mountain;\n }\n \n Arrays.sort(array, Comparator.reverseOrder());\n for (int j=0; j<3; j++){\n System.out.println(array[j]);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String args[] ) throws Exception {\n \t\n \tScanner sc = new Scanner(System.in);\n \tInteger array[];\n \tarray = new Integer[10];\t\n \t\n for (int i=0; i<10; i++) {\n Integer mountain = sc.nextInt();\n array[i] = mountain;\n }\n \n Arrays.sort(array, Comparator.reverseOrder());\n for (int j=0; j<3; j++){\n System.out.println(array[j]);\n }\n }\n}",
"Main",
"public static void main(String args[] ) throws Exception {\n \t\n \tScanner sc = new Scanner(System.in);\n \tInteger array[];\n \tarray = new Integer[10];\t\n \t\n for (int i=0; i<10; i++) {\n Integer mountain = sc.nextInt();\n array[i] = mountain;\n }\n \n Arrays.sort(array, Comparator.reverseOrder());\n for (int j=0; j<3; j++){\n System.out.println(array[j]);\n }\n }",
"main",
"{\n \t\n \tScanner sc = new Scanner(System.in);\n \tInteger array[];\n \tarray = new Integer[10];\t\n \t\n for (int i=0; i<10; i++) {\n Integer mountain = sc.nextInt();\n array[i] = mountain;\n }\n \n Arrays.sort(array, Comparator.reverseOrder());\n for (int j=0; j<3; j++){\n System.out.println(array[j]);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Integer array[];",
"array",
"array = new Integer[10]",
"array",
"new Integer[10]",
"10",
"for (int i=0; i<10; i++) {\n Integer mountain = sc.nextInt();\n array[i] = mountain;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n Integer mountain = sc.nextInt();\n array[i] = mountain;\n }",
"{\n Integer mountain = sc.nextInt();\n array[i] = mountain;\n }",
"Integer mountain = sc.nextInt();",
"mountain",
"sc.nextInt()",
"sc.nextInt",
"sc",
"array[i] = mountain",
"array[i]",
"array",
"i",
"mountain",
"Arrays.sort(array, Comparator.reverseOrder())",
"Arrays.sort",
"Arrays",
"array",
"Comparator.reverseOrder()",
"Comparator.reverseOrder",
"Comparator",
"for (int j=0; j<3; j++){\n System.out.println(array[j]);\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<3",
"j",
"3",
"j++",
"j++",
"j",
"{\n System.out.println(array[j]);\n }",
"{\n System.out.println(array[j]);\n }",
"System.out.println(array[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"array[j]",
"array",
"j",
"String args[]",
"args",
"public class Main {\n public static void main(String args[] ) throws Exception {\n \t\n \tScanner sc = new Scanner(System.in);\n \tInteger array[];\n \tarray = new Integer[10];\t\n \t\n for (int i=0; i<10; i++) {\n Integer mountain = sc.nextInt();\n array[i] = mountain;\n }\n \n Arrays.sort(array, Comparator.reverseOrder());\n for (int j=0; j<3; j++){\n System.out.println(array[j]);\n }\n }\n}",
"public class Main {\n public static void main(String args[] ) throws Exception {\n \t\n \tScanner sc = new Scanner(System.in);\n \tInteger array[];\n \tarray = new Integer[10];\t\n \t\n for (int i=0; i<10; i++) {\n Integer mountain = sc.nextInt();\n array[i] = mountain;\n }\n \n Arrays.sort(array, Comparator.reverseOrder());\n for (int j=0; j<3; j++){\n System.out.println(array[j]);\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String args[] ) throws Exception {
Scanner sc = new Scanner(System.in);
Integer array[];
array = new Integer[10];
for (int i=0; i<10; i++) {
Integer mountain = sc.nextInt();
array[i] = mountain;
}
Arrays.sort(array, Comparator.reverseOrder());
for (int j=0; j<3; j++){
System.out.println(array[j]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
0,
18,
13,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
2,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
100,
14
],
[
100,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
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
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
37,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
17,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
17,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
17,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
17,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
17,
94
],
[
94,
95
],
[
95,
96
],
[
15,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
] | [
"import java.io.InputStreamReader;\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.util.Arrays;\n \npublic class Main {\n public static void main(String args[] ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] list = new int [10];\n for (int i = 0; i < 10; i++) {\n String s = br.readLine();\n int n = Integer.parseInt(s);\n list[i] = n;\n }\n Arrays.sort(list);\n\n System.out.println(list[list.length-1]);\n System.out.println(list[list.length-2]);\n System.out.println(list[list.length-3]);\n br.close();\n }\n}",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n public static void main(String args[] ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] list = new int [10];\n for (int i = 0; i < 10; i++) {\n String s = br.readLine();\n int n = Integer.parseInt(s);\n list[i] = n;\n }\n Arrays.sort(list);\n\n System.out.println(list[list.length-1]);\n System.out.println(list[list.length-2]);\n System.out.println(list[list.length-3]);\n br.close();\n }\n}",
"Main",
"public static void main(String args[] ) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] list = new int [10];\n for (int i = 0; i < 10; i++) {\n String s = br.readLine();\n int n = Integer.parseInt(s);\n list[i] = n;\n }\n Arrays.sort(list);\n\n System.out.println(list[list.length-1]);\n System.out.println(list[list.length-2]);\n System.out.println(list[list.length-3]);\n br.close();\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] list = new int [10];\n for (int i = 0; i < 10; i++) {\n String s = br.readLine();\n int n = Integer.parseInt(s);\n list[i] = n;\n }\n Arrays.sort(list);\n\n System.out.println(list[list.length-1]);\n System.out.println(list[list.length-2]);\n System.out.println(list[list.length-3]);\n br.close();\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] list = new int [10];",
"list",
"new int [10]",
"10",
"for (int i = 0; i < 10; i++) {\n String s = br.readLine();\n int n = Integer.parseInt(s);\n list[i] = n;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n String s = br.readLine();\n int n = Integer.parseInt(s);\n list[i] = n;\n }",
"{\n String s = br.readLine();\n int n = Integer.parseInt(s);\n list[i] = n;\n }",
"String s = br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"int n = Integer.parseInt(s);",
"n",
"Integer.parseInt(s)",
"Integer.parseInt",
"Integer",
"s",
"list[i] = n",
"list[i]",
"list",
"i",
"n",
"Arrays.sort(list)",
"Arrays.sort",
"Arrays",
"list",
"System.out.println(list[list.length-1])",
"System.out.println",
"System.out",
"System",
"System.out",
"list[list.length-1]",
"list",
"list.length-1",
"list.length",
"list",
"list.length",
"1",
"System.out.println(list[list.length-2])",
"System.out.println",
"System.out",
"System",
"System.out",
"list[list.length-2]",
"list",
"list.length-2",
"list.length",
"list",
"list.length",
"2",
"System.out.println(list[list.length-3])",
"System.out.println",
"System.out",
"System",
"System.out",
"list[list.length-3]",
"list",
"list.length-3",
"list.length",
"list",
"list.length",
"3",
"br.close()",
"br.close",
"br",
"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[] list = new int [10];\n for (int i = 0; i < 10; i++) {\n String s = br.readLine();\n int n = Integer.parseInt(s);\n list[i] = n;\n }\n Arrays.sort(list);\n\n System.out.println(list[list.length-1]);\n System.out.println(list[list.length-2]);\n System.out.println(list[list.length-3]);\n br.close();\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[] list = new int [10];\n for (int i = 0; i < 10; i++) {\n String s = br.readLine();\n int n = Integer.parseInt(s);\n list[i] = n;\n }\n Arrays.sort(list);\n\n System.out.println(list[list.length-1]);\n System.out.println(list[list.length-2]);\n System.out.println(list[list.length-3]);\n br.close();\n }\n}",
"Main"
] | import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.Arrays;
public class Main {
public static void main(String args[] ) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int[] list = new int [10];
for (int i = 0; i < 10; i++) {
String s = br.readLine();
int n = Integer.parseInt(s);
list[i] = n;
}
Arrays.sort(list);
System.out.println(list[list.length-1]);
System.out.println(list[list.length-2]);
System.out.println(list[list.length-3]);
br.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
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,
13,
11,
1,
41,
13,
18,
13,
13,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
77,
8
],
[
77,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
19,
29
],
[
29,
30
],
[
30,
31
],
[
19,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
11,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
45,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
45,
59
],
[
59,
60
],
[
60,
61
],
[
45,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
9,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
] | [
"import java.util.Scanner;\nimport java.util.Arrays;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int[] input = new int[10];\n for(int i = 0; i < input.length; i++){\n input[i] = sc.nextInt();\n }\n Arrays.sort(input);\n for(int i = input.length; i > input.length-3; i--){\n System.out.println(input[i-1]);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int[] input = new int[10];\n for(int i = 0; i < input.length; i++){\n input[i] = sc.nextInt();\n }\n Arrays.sort(input);\n for(int i = input.length; i > input.length-3; i--){\n System.out.println(input[i-1]);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int[] input = new int[10];\n for(int i = 0; i < input.length; i++){\n input[i] = sc.nextInt();\n }\n Arrays.sort(input);\n for(int i = input.length; i > input.length-3; i--){\n System.out.println(input[i-1]);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int[] input = new int[10];\n for(int i = 0; i < input.length; i++){\n input[i] = sc.nextInt();\n }\n Arrays.sort(input);\n for(int i = input.length; i > input.length-3; i--){\n System.out.println(input[i-1]);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] input = new int[10];",
"input",
"new int[10]",
"10",
"for(int i = 0; i < input.length; i++){\n input[i] = sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < input.length",
"i",
"input.length",
"input",
"input.length",
"i++",
"i++",
"i",
"{\n input[i] = sc.nextInt();\n }",
"{\n input[i] = sc.nextInt();\n }",
"input[i] = sc.nextInt()",
"input[i]",
"input",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(input)",
"Arrays.sort",
"Arrays",
"input",
"for(int i = input.length; i > input.length-3; i--){\n System.out.println(input[i-1]);\n }",
"int i = input.length;",
"int i = input.length;",
"i",
"input.length",
"input",
"input.length",
"i > input.length-3",
"i",
"input.length-3",
"input.length",
"input",
"input.length",
"3",
"i--",
"i--",
"i",
"{\n System.out.println(input[i-1]);\n }",
"{\n System.out.println(input[i-1]);\n }",
"System.out.println(input[i-1])",
"System.out.println",
"System.out",
"System",
"System.out",
"input[i-1]",
"input",
"i-1",
"i",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int[] input = new int[10];\n for(int i = 0; i < input.length; i++){\n input[i] = sc.nextInt();\n }\n Arrays.sort(input);\n for(int i = input.length; i > input.length-3; i--){\n System.out.println(input[i-1]);\n }\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int[] input = new int[10];\n for(int i = 0; i < input.length; i++){\n input[i] = sc.nextInt();\n }\n Arrays.sort(input);\n for(int i = input.length; i > input.length-3; i--){\n System.out.println(input[i-1]);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
import java.util.Arrays;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int[] input = new int[10];
for(int i = 0; i < input.length; i++){
input[i] = sc.nextInt();
}
Arrays.sort(input);
for(int i = input.length; i > input.length-3; i--){
System.out.println(input[i-1]);
}
}
} |
[
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,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
79,
17
],
[
79,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
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
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
20,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
20,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
20,
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
],
[
18,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"import java.io.IOException;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner scan = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n for (int i = 0; i < 10; i++) {\n list.add(scan.nextInt());\n }\n Collections.sort(list);\n Collections.reverse(list);\n\n for (int i = 0; i < 3; i++) {\n System.out.println(list.get(i));\n }\n }\n\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner scan = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n for (int i = 0; i < 10; i++) {\n list.add(scan.nextInt());\n }\n Collections.sort(list);\n Collections.reverse(list);\n\n for (int i = 0; i < 3; i++) {\n System.out.println(list.get(i));\n }\n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n Scanner scan = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n for (int i = 0; i < 10; i++) {\n list.add(scan.nextInt());\n }\n Collections.sort(list);\n Collections.reverse(list);\n\n for (int i = 0; i < 3; i++) {\n System.out.println(list.get(i));\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n for (int i = 0; i < 10; i++) {\n list.add(scan.nextInt());\n }\n Collections.sort(list);\n Collections.reverse(list);\n\n for (int i = 0; i < 3; i++) {\n System.out.println(list.get(i));\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"for (int i = 0; i < 10; i++) {\n list.add(scan.nextInt());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n list.add(scan.nextInt());\n }",
"{\n list.add(scan.nextInt());\n }",
"list.add(scan.nextInt())",
"list.add",
"list",
"scan.nextInt()",
"scan.nextInt",
"scan",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"for (int i = 0; i < 3; i++) {\n System.out.println(list.get(i));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(list.get(i));\n }",
"{\n System.out.println(list.get(i));\n }",
"System.out.println(list.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(i)",
"list.get",
"list",
"i",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner scan = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n for (int i = 0; i < 10; i++) {\n list.add(scan.nextInt());\n }\n Collections.sort(list);\n Collections.reverse(list);\n\n for (int i = 0; i < 3; i++) {\n System.out.println(list.get(i));\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner scan = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n for (int i = 0; i < 10; i++) {\n list.add(scan.nextInt());\n }\n Collections.sort(list);\n Collections.reverse(list);\n\n for (int i = 0; i < 3; i++) {\n System.out.println(list.get(i));\n }\n }\n\n}",
"Main"
] | import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
Scanner scan = new Scanner(System.in);
List<Integer> list = new ArrayList<Integer>();
for (int i = 0; i < 10; i++) {
list.add(scan.nextInt());
}
Collections.sort(list);
Collections.reverse(list);
for (int i = 0; i < 3; i++) {
System.out.println(list.get(i));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
0,
18,
13,
17,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
41,
13,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
2,
13,
17,
18,
13,
13,
30,
0,
18,
13,
17,
18,
13,
2,
13,
17,
0,
18,
13,
2,
13,
17,
18,
13,
13,
0,
18,
13,
13,
18,
13,
17,
0,
13,
17,
42,
2,
13,
17,
30,
41,
13,
17,
0,
13,
4,
18,
13,
40,
13,
42,
2,
2,
13,
17,
2,
13,
18,
13,
13,
30,
0,
18,
13,
2,
13,
17,
18,
13,
13,
40,
13,
14,
2,
13,
17,
30,
0,
18,
13,
2,
13,
17,
13,
4,
18,
18,
13,
13,
2,
2,
2,
2,
18,
13,
17,
17,
18,
13,
17,
17,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
178,
5
],
[
178,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
8,
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
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
54,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
68,
74
],
[
74,
75
],
[
74,
76
],
[
67,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
77,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
87,
93
],
[
93,
94
],
[
93,
95
],
[
77,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
100,
101
],
[
100,
102
],
[
8,
103
],
[
103,
104
],
[
103,
105
],
[
8,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
110,
119
],
[
119,
120
],
[
110,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
128,
130
],
[
121,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
135,
137
],
[
132,
138
],
[
138,
139
],
[
138,
140
],
[
131,
141
],
[
141,
142
],
[
110,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
151,
153
],
[
148,
154
],
[
8,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
155,
160
],
[
163,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
163,
167
],
[
162,
168
],
[
168,
169
],
[
168,
170
],
[
161,
171
],
[
163,
172
],
[
172,
173
],
[
172,
174
],
[
6,
175
],
[
175,
176
],
[
0,
177
],
[
177,
178
],
[
177,
179
]
] | [
"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[] m=new int[4];\n\t\tm[0]=sc.nextInt();\n\t\tm[1]=sc.nextInt();\n\t\tm[2]=sc.nextInt();\n\t\tint work,a;\n\t\tfor(int j=1;j<=2;j++){\n\t\t\tfor(int i=j;i>0;i--){\n\t\t\t\tif(m[i-1]<m[i]){\n\t\t\t\t\tm[3]=m[i-1];\n\t\t\t\t\tm[i-1]=m[i];\n\t\t\t\t\tm[i]=m[3];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\ta=3;\n\t\twhile(a<10){\n\t\t\tint i=2;\n\t\t\twork=sc.nextInt();\n\t\t\ta++;\n\t\t\twhile(((i>=0) && work>m[i])){\n\t\t\t\t\tm[i+1]=m[i];\n\t\t\t\t\ti--;\n\t\t\t}\n\t\t\tif(i!=2){\n\t\t\t\tm[i+1]=work;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\tSystem.out.println(m[0]+\"\\n\"+m[1] + \"\\n\"+m[2]);\n\t\t\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint[] m=new int[4];\n\t\tm[0]=sc.nextInt();\n\t\tm[1]=sc.nextInt();\n\t\tm[2]=sc.nextInt();\n\t\tint work,a;\n\t\tfor(int j=1;j<=2;j++){\n\t\t\tfor(int i=j;i>0;i--){\n\t\t\t\tif(m[i-1]<m[i]){\n\t\t\t\t\tm[3]=m[i-1];\n\t\t\t\t\tm[i-1]=m[i];\n\t\t\t\t\tm[i]=m[3];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\ta=3;\n\t\twhile(a<10){\n\t\t\tint i=2;\n\t\t\twork=sc.nextInt();\n\t\t\ta++;\n\t\t\twhile(((i>=0) && work>m[i])){\n\t\t\t\t\tm[i+1]=m[i];\n\t\t\t\t\ti--;\n\t\t\t}\n\t\t\tif(i!=2){\n\t\t\t\tm[i+1]=work;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\tSystem.out.println(m[0]+\"\\n\"+m[1] + \"\\n\"+m[2]);\n\t\t\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint[] m=new int[4];\n\t\tm[0]=sc.nextInt();\n\t\tm[1]=sc.nextInt();\n\t\tm[2]=sc.nextInt();\n\t\tint work,a;\n\t\tfor(int j=1;j<=2;j++){\n\t\t\tfor(int i=j;i>0;i--){\n\t\t\t\tif(m[i-1]<m[i]){\n\t\t\t\t\tm[3]=m[i-1];\n\t\t\t\t\tm[i-1]=m[i];\n\t\t\t\t\tm[i]=m[3];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\ta=3;\n\t\twhile(a<10){\n\t\t\tint i=2;\n\t\t\twork=sc.nextInt();\n\t\t\ta++;\n\t\t\twhile(((i>=0) && work>m[i])){\n\t\t\t\t\tm[i+1]=m[i];\n\t\t\t\t\ti--;\n\t\t\t}\n\t\t\tif(i!=2){\n\t\t\t\tm[i+1]=work;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\tSystem.out.println(m[0]+\"\\n\"+m[1] + \"\\n\"+m[2]);\n\t\t\n\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint[] m=new int[4];\n\t\tm[0]=sc.nextInt();\n\t\tm[1]=sc.nextInt();\n\t\tm[2]=sc.nextInt();\n\t\tint work,a;\n\t\tfor(int j=1;j<=2;j++){\n\t\t\tfor(int i=j;i>0;i--){\n\t\t\t\tif(m[i-1]<m[i]){\n\t\t\t\t\tm[3]=m[i-1];\n\t\t\t\t\tm[i-1]=m[i];\n\t\t\t\t\tm[i]=m[3];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\ta=3;\n\t\twhile(a<10){\n\t\t\tint i=2;\n\t\t\twork=sc.nextInt();\n\t\t\ta++;\n\t\t\twhile(((i>=0) && work>m[i])){\n\t\t\t\t\tm[i+1]=m[i];\n\t\t\t\t\ti--;\n\t\t\t}\n\t\t\tif(i!=2){\n\t\t\t\tm[i+1]=work;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\tSystem.out.println(m[0]+\"\\n\"+m[1] + \"\\n\"+m[2]);\n\t\t\n\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] m=new int[4];",
"m",
"new int[4]",
"4",
"m[0]=sc.nextInt()",
"m[0]",
"m",
"0",
"sc.nextInt()",
"sc.nextInt",
"sc",
"m[1]=sc.nextInt()",
"m[1]",
"m",
"1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"m[2]=sc.nextInt()",
"m[2]",
"m",
"2",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int work",
"work",
"a;",
"a",
"for(int j=1;j<=2;j++){\n\t\t\tfor(int i=j;i>0;i--){\n\t\t\t\tif(m[i-1]<m[i]){\n\t\t\t\t\tm[3]=m[i-1];\n\t\t\t\t\tm[i-1]=m[i];\n\t\t\t\t\tm[i]=m[3];\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int j=1;",
"int j=1;",
"j",
"1",
"j<=2",
"j",
"2",
"j++",
"j++",
"j",
"{\n\t\t\tfor(int i=j;i>0;i--){\n\t\t\t\tif(m[i-1]<m[i]){\n\t\t\t\t\tm[3]=m[i-1];\n\t\t\t\t\tm[i-1]=m[i];\n\t\t\t\t\tm[i]=m[3];\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int i=j;i>0;i--){\n\t\t\t\tif(m[i-1]<m[i]){\n\t\t\t\t\tm[3]=m[i-1];\n\t\t\t\t\tm[i-1]=m[i];\n\t\t\t\t\tm[i]=m[3];\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int i=j;i>0;i--){\n\t\t\t\tif(m[i-1]<m[i]){\n\t\t\t\t\tm[3]=m[i-1];\n\t\t\t\t\tm[i-1]=m[i];\n\t\t\t\t\tm[i]=m[3];\n\t\t\t\t}\n\t\t\t}",
"int i=j;",
"int i=j;",
"i",
"j",
"i>0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\t\tif(m[i-1]<m[i]){\n\t\t\t\t\tm[3]=m[i-1];\n\t\t\t\t\tm[i-1]=m[i];\n\t\t\t\t\tm[i]=m[3];\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(m[i-1]<m[i]){\n\t\t\t\t\tm[3]=m[i-1];\n\t\t\t\t\tm[i-1]=m[i];\n\t\t\t\t\tm[i]=m[3];\n\t\t\t\t}\n\t\t\t}",
"if(m[i-1]<m[i]){\n\t\t\t\t\tm[3]=m[i-1];\n\t\t\t\t\tm[i-1]=m[i];\n\t\t\t\t\tm[i]=m[3];\n\t\t\t\t}",
"m[i-1]<m[i]",
"m[i-1]",
"m",
"i-1",
"i",
"1",
"m[i]",
"m",
"i",
"{\n\t\t\t\t\tm[3]=m[i-1];\n\t\t\t\t\tm[i-1]=m[i];\n\t\t\t\t\tm[i]=m[3];\n\t\t\t\t}",
"m[3]=m[i-1]",
"m[3]",
"m",
"3",
"m[i-1]",
"m",
"i-1",
"i",
"1",
"m[i-1]=m[i]",
"m[i-1]",
"m",
"i-1",
"i",
"1",
"m[i]",
"m",
"i",
"m[i]=m[3]",
"m[i]",
"m",
"i",
"m[3]",
"m",
"3",
"a=3",
"a",
"3",
"while(a<10){\n\t\t\tint i=2;\n\t\t\twork=sc.nextInt();\n\t\t\ta++;\n\t\t\twhile(((i>=0) && work>m[i])){\n\t\t\t\t\tm[i+1]=m[i];\n\t\t\t\t\ti--;\n\t\t\t}\n\t\t\tif(i!=2){\n\t\t\t\tm[i+1]=work;\n\t\t\t}\n\t\t}",
"a<10",
"a",
"10",
"{\n\t\t\tint i=2;\n\t\t\twork=sc.nextInt();\n\t\t\ta++;\n\t\t\twhile(((i>=0) && work>m[i])){\n\t\t\t\t\tm[i+1]=m[i];\n\t\t\t\t\ti--;\n\t\t\t}\n\t\t\tif(i!=2){\n\t\t\t\tm[i+1]=work;\n\t\t\t}\n\t\t}",
"int i=2;",
"i",
"2",
"work=sc.nextInt()",
"work",
"sc.nextInt()",
"sc.nextInt",
"sc",
"a++",
"a",
"while(((i>=0) && work>m[i])){\n\t\t\t\t\tm[i+1]=m[i];\n\t\t\t\t\ti--;\n\t\t\t}",
"((i>=0) && work>m[i])",
"(i>=0)",
"i",
"0",
"work>m[i]",
"work",
"m[i]",
"m",
"i",
"{\n\t\t\t\t\tm[i+1]=m[i];\n\t\t\t\t\ti--;\n\t\t\t}",
"m[i+1]=m[i]",
"m[i+1]",
"m",
"i+1",
"i",
"1",
"m[i]",
"m",
"i",
"i--",
"i",
"if(i!=2){\n\t\t\t\tm[i+1]=work;\n\t\t\t}",
"i!=2",
"i",
"2",
"{\n\t\t\t\tm[i+1]=work;\n\t\t\t}",
"m[i+1]=work",
"m[i+1]",
"m",
"i+1",
"i",
"1",
"work",
"System.out.println(m[0]+\"\\n\"+m[1] + \"\\n\"+m[2])",
"System.out.println",
"System.out",
"System",
"System.out",
"m[0]+\"\\n\"+m[1] + \"\\n\"+m[2]",
"\"\\n\"",
"m[1]",
"m[0]+\"\\n\"+m[1] + \"\\n\"+m[2]",
"m[0]",
"m",
"0",
"\"\\n\"",
"m[1]",
"m",
"1",
"\"\\n\"",
"m[2]",
"m",
"2",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint[] m=new int[4];\n\t\tm[0]=sc.nextInt();\n\t\tm[1]=sc.nextInt();\n\t\tm[2]=sc.nextInt();\n\t\tint work,a;\n\t\tfor(int j=1;j<=2;j++){\n\t\t\tfor(int i=j;i>0;i--){\n\t\t\t\tif(m[i-1]<m[i]){\n\t\t\t\t\tm[3]=m[i-1];\n\t\t\t\t\tm[i-1]=m[i];\n\t\t\t\t\tm[i]=m[3];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\ta=3;\n\t\twhile(a<10){\n\t\t\tint i=2;\n\t\t\twork=sc.nextInt();\n\t\t\ta++;\n\t\t\twhile(((i>=0) && work>m[i])){\n\t\t\t\t\tm[i+1]=m[i];\n\t\t\t\t\ti--;\n\t\t\t}\n\t\t\tif(i!=2){\n\t\t\t\tm[i+1]=work;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\tSystem.out.println(m[0]+\"\\n\"+m[1] + \"\\n\"+m[2]);\n\t\t\n\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint[] m=new int[4];\n\t\tm[0]=sc.nextInt();\n\t\tm[1]=sc.nextInt();\n\t\tm[2]=sc.nextInt();\n\t\tint work,a;\n\t\tfor(int j=1;j<=2;j++){\n\t\t\tfor(int i=j;i>0;i--){\n\t\t\t\tif(m[i-1]<m[i]){\n\t\t\t\t\tm[3]=m[i-1];\n\t\t\t\t\tm[i-1]=m[i];\n\t\t\t\t\tm[i]=m[3];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\ta=3;\n\t\twhile(a<10){\n\t\t\tint i=2;\n\t\t\twork=sc.nextInt();\n\t\t\ta++;\n\t\t\twhile(((i>=0) && work>m[i])){\n\t\t\t\t\tm[i+1]=m[i];\n\t\t\t\t\ti--;\n\t\t\t}\n\t\t\tif(i!=2){\n\t\t\t\tm[i+1]=work;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\tSystem.out.println(m[0]+\"\\n\"+m[1] + \"\\n\"+m[2]);\n\t\t\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[] m=new int[4];
m[0]=sc.nextInt();
m[1]=sc.nextInt();
m[2]=sc.nextInt();
int work,a;
for(int j=1;j<=2;j++){
for(int i=j;i>0;i--){
if(m[i-1]<m[i]){
m[3]=m[i-1];
m[i-1]=m[i];
m[i]=m[3];
}
}
}
a=3;
while(a<10){
int i=2;
work=sc.nextInt();
a++;
while(((i>=0) && work>m[i])){
m[i+1]=m[i];
i--;
}
if(i!=2){
m[i+1]=work;
}
}
System.out.println(m[0]+"\n"+m[1] + "\n"+m[2]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
20,
17,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
0,
18,
13,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
13,
4,
18,
13,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
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
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
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
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
40,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
14,
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
],
[
64,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
12,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] | [
"\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[]args){\n\t\t\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\tint i = 0;\n\t\t\tint a =0;\n\t\t\tInteger b[]=new Integer[10];\n\t\t\n\t\t\t\n\t\tfor(i=0;i<10;i++){\n\t\t\t//System.out.println(\"????????\\?????????????????????\");\n\t\t\ta = scan.nextInt();\n\t\t\tb[i]=a;\n\t\t\t\n\t\t\t}\t\n\t\t\t\n\t\t\n\t\t \n\t\tfor(int j =0;j<3;j++){\n\t\t\tArrays.sort(b, Collections.reverseOrder());\n\n\t\t\tSystem.out.println(b[j]);\n\n\t\t\t\n\t\t}\n\t\t\n\n\t\n}\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[]args){\n\t\t\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\tint i = 0;\n\t\t\tint a =0;\n\t\t\tInteger b[]=new Integer[10];\n\t\t\n\t\t\t\n\t\tfor(i=0;i<10;i++){\n\t\t\t//System.out.println(\"????????\\?????????????????????\");\n\t\t\ta = scan.nextInt();\n\t\t\tb[i]=a;\n\t\t\t\n\t\t\t}\t\n\t\t\t\n\t\t\n\t\t \n\t\tfor(int j =0;j<3;j++){\n\t\t\tArrays.sort(b, Collections.reverseOrder());\n\n\t\t\tSystem.out.println(b[j]);\n\n\t\t\t\n\t\t}\n\t\t\n\n\t\n}\n}",
"Main",
"public static void main(String[]args){\n\t\t\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\tint i = 0;\n\t\t\tint a =0;\n\t\t\tInteger b[]=new Integer[10];\n\t\t\n\t\t\t\n\t\tfor(i=0;i<10;i++){\n\t\t\t//System.out.println(\"????????\\?????????????????????\");\n\t\t\ta = scan.nextInt();\n\t\t\tb[i]=a;\n\t\t\t\n\t\t\t}\t\n\t\t\t\n\t\t\n\t\t \n\t\tfor(int j =0;j<3;j++){\n\t\t\tArrays.sort(b, Collections.reverseOrder());\n\n\t\t\tSystem.out.println(b[j]);\n\n\t\t\t\n\t\t}\n\t\t\n\n\t\n}",
"main",
"{\n\t\t\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\tint i = 0;\n\t\t\tint a =0;\n\t\t\tInteger b[]=new Integer[10];\n\t\t\n\t\t\t\n\t\tfor(i=0;i<10;i++){\n\t\t\t//System.out.println(\"????????\\?????????????????????\");\n\t\t\ta = scan.nextInt();\n\t\t\tb[i]=a;\n\t\t\t\n\t\t\t}\t\n\t\t\t\n\t\t\n\t\t \n\t\tfor(int j =0;j<3;j++){\n\t\t\tArrays.sort(b, Collections.reverseOrder());\n\n\t\t\tSystem.out.println(b[j]);\n\n\t\t\t\n\t\t}\n\t\t\n\n\t\n}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int i = 0;",
"i",
"0",
"int a =0;",
"a",
"0",
"Integer b[]=new Integer[10];",
"b",
"new Integer[10]",
"10",
"for(i=0;i<10;i++){\n\t\t\t//System.out.println(\"????????\\?????????????????????\");\n\t\t\ta = scan.nextInt();\n\t\t\tb[i]=a;\n\t\t\t\n\t\t\t}",
"i=0;",
"i=0",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\t//System.out.println(\"????????\\?????????????????????\");\n\t\t\ta = scan.nextInt();\n\t\t\tb[i]=a;\n\t\t\t\n\t\t\t}",
"{\n\t\t\t//System.out.println(\"????????\\?????????????????????\");\n\t\t\ta = scan.nextInt();\n\t\t\tb[i]=a;\n\t\t\t\n\t\t\t}",
"a = scan.nextInt()",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"b[i]=a",
"b[i]",
"b",
"i",
"a",
"for(int j =0;j<3;j++){\n\t\t\tArrays.sort(b, Collections.reverseOrder());\n\n\t\t\tSystem.out.println(b[j]);\n\n\t\t\t\n\t\t}",
"int j =0;",
"int j =0;",
"j",
"0",
"j<3",
"j",
"3",
"j++",
"j++",
"j",
"{\n\t\t\tArrays.sort(b, Collections.reverseOrder());\n\n\t\t\tSystem.out.println(b[j]);\n\n\t\t\t\n\t\t}",
"{\n\t\t\tArrays.sort(b, Collections.reverseOrder());\n\n\t\t\tSystem.out.println(b[j]);\n\n\t\t\t\n\t\t}",
"Arrays.sort(b, Collections.reverseOrder())",
"Arrays.sort",
"Arrays",
"b",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"System.out.println(b[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"b[j]",
"b",
"j",
"String[]args",
"args",
"public class Main {\n\tpublic static void main(String[]args){\n\t\t\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\tint i = 0;\n\t\t\tint a =0;\n\t\t\tInteger b[]=new Integer[10];\n\t\t\n\t\t\t\n\t\tfor(i=0;i<10;i++){\n\t\t\t//System.out.println(\"????????\\?????????????????????\");\n\t\t\ta = scan.nextInt();\n\t\t\tb[i]=a;\n\t\t\t\n\t\t\t}\t\n\t\t\t\n\t\t\n\t\t \n\t\tfor(int j =0;j<3;j++){\n\t\t\tArrays.sort(b, Collections.reverseOrder());\n\n\t\t\tSystem.out.println(b[j]);\n\n\t\t\t\n\t\t}\n\t\t\n\n\t\n}\n}",
"public class Main {\n\tpublic static void main(String[]args){\n\t\t\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\tint i = 0;\n\t\t\tint a =0;\n\t\t\tInteger b[]=new Integer[10];\n\t\t\n\t\t\t\n\t\tfor(i=0;i<10;i++){\n\t\t\t//System.out.println(\"????????\\?????????????????????\");\n\t\t\ta = scan.nextInt();\n\t\t\tb[i]=a;\n\t\t\t\n\t\t\t}\t\n\t\t\t\n\t\t\n\t\t \n\t\tfor(int j =0;j<3;j++){\n\t\t\tArrays.sort(b, Collections.reverseOrder());\n\n\t\t\tSystem.out.println(b[j]);\n\n\t\t\t\n\t\t}\n\t\t\n\n\t\n}\n}",
"Main"
] |
import java.util.Arrays;
import java.util.Collections;
import java.util.Scanner;
public class Main {
public static void main(String[]args){
Scanner scan = new Scanner(System.in);
int i = 0;
int a =0;
Integer b[]=new Integer[10];
for(i=0;i<10;i++){
//System.out.println("????????\?????????????????????");
a = scan.nextInt();
b[i]=a;
}
for(int j =0;j<3;j++){
Arrays.sort(b, Collections.reverseOrder());
System.out.println(b[j]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
29,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
99,
17
],
[
99,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
20,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
20,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
33,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
18,
55
],
[
55,
56
],
[
99,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
59,
66
],
[
66,
67
],
[
59,
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
],
[
83,
84
],
[
84,
85
],
[
80,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
59,
93
],
[
93,
94
],
[
94,
95
],
[
59,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\n\npublic class Main {\n\n\t/**\n\t * AOJ001 List of Top 3 Hills\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\tArrayList<Integer> mountainList = getMountainList();\n\n\t\tCollections.sort(mountainList);\n\t\tCollections.reverse(mountainList);\n\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(mountainList.get(i));\n\t\t}\n\t}\n\n\t/**\n\t * ??\\??????????????¨??????10???????±±????????????????´???????????????????????????´??????\n\t *\n\t * @return 10???????±±????????????????´???????????????????\n\t * @throws IOException ??\\????????¨??????\n\t */\n\tprivate static ArrayList<Integer> getMountainList() throws IOException {\n\t\tBufferedReader bufferedReader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\t\tArrayList<Integer> mountainList = new ArrayList<Integer>();\n\n\t\tString strInput;\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tstrInput = bufferedReader.readLine();\n\t\t\tmountainList.add(Integer.parseInt(strInput));\n\t\t}\n\n\t\tbufferedReader.close();\n\t\treturn mountainList;\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",
"public class Main {\n\n\t/**\n\t * AOJ001 List of Top 3 Hills\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\tArrayList<Integer> mountainList = getMountainList();\n\n\t\tCollections.sort(mountainList);\n\t\tCollections.reverse(mountainList);\n\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(mountainList.get(i));\n\t\t}\n\t}\n\n\t/**\n\t * ??\\??????????????¨??????10???????±±????????????????´???????????????????????????´??????\n\t *\n\t * @return 10???????±±????????????????´???????????????????\n\t * @throws IOException ??\\????????¨??????\n\t */\n\tprivate static ArrayList<Integer> getMountainList() throws IOException {\n\t\tBufferedReader bufferedReader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\t\tArrayList<Integer> mountainList = new ArrayList<Integer>();\n\n\t\tString strInput;\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tstrInput = bufferedReader.readLine();\n\t\t\tmountainList.add(Integer.parseInt(strInput));\n\t\t}\n\n\t\tbufferedReader.close();\n\t\treturn mountainList;\n\t}\n\n}",
"Main",
"/**\n\t * AOJ001 List of Top 3 Hills\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\tArrayList<Integer> mountainList = getMountainList();\n\n\t\tCollections.sort(mountainList);\n\t\tCollections.reverse(mountainList);\n\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(mountainList.get(i));\n\t\t}\n\t}",
"main",
"{\n\t\tArrayList<Integer> mountainList = getMountainList();\n\n\t\tCollections.sort(mountainList);\n\t\tCollections.reverse(mountainList);\n\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(mountainList.get(i));\n\t\t}\n\t}",
"ArrayList<Integer> mountainList = getMountainList();",
"mountainList",
"getMountainList()",
"getMountainList",
"Collections.sort(mountainList)",
"Collections.sort",
"Collections",
"mountainList",
"Collections.reverse(mountainList)",
"Collections.reverse",
"Collections",
"mountainList",
"for (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(mountainList.get(i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(mountainList.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(mountainList.get(i));\n\t\t}",
"System.out.println(mountainList.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"mountainList.get(i)",
"mountainList.get",
"mountainList",
"i",
"String[] args",
"args",
"/**\n\t * ??\\??????????????¨??????10???????±±????????????????´???????????????????????????´??????\n\t *\n\t * @return 10???????±±????????????????´???????????????????\n\t * @throws IOException ??\\????????¨??????\n\t */\n\tprivate static ArrayList<Integer> getMountainList() throws IOException {\n\t\tBufferedReader bufferedReader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\t\tArrayList<Integer> mountainList = new ArrayList<Integer>();\n\n\t\tString strInput;\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tstrInput = bufferedReader.readLine();\n\t\t\tmountainList.add(Integer.parseInt(strInput));\n\t\t}\n\n\t\tbufferedReader.close();\n\t\treturn mountainList;\n\t}",
"getMountainList",
"{\n\t\tBufferedReader bufferedReader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\t\tArrayList<Integer> mountainList = new ArrayList<Integer>();\n\n\t\tString strInput;\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tstrInput = bufferedReader.readLine();\n\t\t\tmountainList.add(Integer.parseInt(strInput));\n\t\t}\n\n\t\tbufferedReader.close();\n\t\treturn mountainList;\n\t}",
"BufferedReader bufferedReader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));",
"bufferedReader",
"new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))",
"ArrayList<Integer> mountainList = new ArrayList<Integer>();",
"mountainList",
"new ArrayList<Integer>()",
"String strInput;",
"strInput",
"for (int i = 0; i < 10; i++) {\n\t\t\tstrInput = bufferedReader.readLine();\n\t\t\tmountainList.add(Integer.parseInt(strInput));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tstrInput = bufferedReader.readLine();\n\t\t\tmountainList.add(Integer.parseInt(strInput));\n\t\t}",
"{\n\t\t\tstrInput = bufferedReader.readLine();\n\t\t\tmountainList.add(Integer.parseInt(strInput));\n\t\t}",
"strInput = bufferedReader.readLine()",
"strInput",
"bufferedReader.readLine()",
"bufferedReader.readLine",
"bufferedReader",
"mountainList.add(Integer.parseInt(strInput))",
"mountainList.add",
"mountainList",
"Integer.parseInt(strInput)",
"Integer.parseInt",
"Integer",
"strInput",
"bufferedReader.close()",
"bufferedReader.close",
"bufferedReader",
"return mountainList;",
"mountainList",
"public class Main {\n\n\t/**\n\t * AOJ001 List of Top 3 Hills\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\tArrayList<Integer> mountainList = getMountainList();\n\n\t\tCollections.sort(mountainList);\n\t\tCollections.reverse(mountainList);\n\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(mountainList.get(i));\n\t\t}\n\t}\n\n\t/**\n\t * ??\\??????????????¨??????10???????±±????????????????´???????????????????????????´??????\n\t *\n\t * @return 10???????±±????????????????´???????????????????\n\t * @throws IOException ??\\????????¨??????\n\t */\n\tprivate static ArrayList<Integer> getMountainList() throws IOException {\n\t\tBufferedReader bufferedReader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\t\tArrayList<Integer> mountainList = new ArrayList<Integer>();\n\n\t\tString strInput;\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tstrInput = bufferedReader.readLine();\n\t\t\tmountainList.add(Integer.parseInt(strInput));\n\t\t}\n\n\t\tbufferedReader.close();\n\t\treturn mountainList;\n\t}\n\n}",
"public class Main {\n\n\t/**\n\t * AOJ001 List of Top 3 Hills\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\tArrayList<Integer> mountainList = getMountainList();\n\n\t\tCollections.sort(mountainList);\n\t\tCollections.reverse(mountainList);\n\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(mountainList.get(i));\n\t\t}\n\t}\n\n\t/**\n\t * ??\\??????????????¨??????10???????±±????????????????´???????????????????????????´??????\n\t *\n\t * @return 10???????±±????????????????´???????????????????\n\t * @throws IOException ??\\????????¨??????\n\t */\n\tprivate static ArrayList<Integer> getMountainList() throws IOException {\n\t\tBufferedReader bufferedReader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\t\tArrayList<Integer> mountainList = new ArrayList<Integer>();\n\n\t\tString strInput;\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tstrInput = bufferedReader.readLine();\n\t\t\tmountainList.add(Integer.parseInt(strInput));\n\t\t}\n\n\t\tbufferedReader.close();\n\t\treturn mountainList;\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
public class Main {
/**
* AOJ001 List of Top 3 Hills
*
* @param args
*/
public static void main(String[] args) throws IOException {
ArrayList<Integer> mountainList = getMountainList();
Collections.sort(mountainList);
Collections.reverse(mountainList);
for (int i = 0; i < 3; i++) {
System.out.println(mountainList.get(i));
}
}
/**
* ??\??????????????¨??????10???????±±????????????????´???????????????????????????´??????
*
* @return 10???????±±????????????????´???????????????????
* @throws IOException ??\????????¨??????
*/
private static ArrayList<Integer> getMountainList() throws IOException {
BufferedReader bufferedReader = new BufferedReader(
new InputStreamReader(System.in));
ArrayList<Integer> mountainList = new ArrayList<Integer>();
String strInput;
for (int i = 0; i < 10; i++) {
strInput = bufferedReader.readLine();
mountainList.add(Integer.parseInt(strInput));
}
bufferedReader.close();
return mountainList;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
38,
5,
13,
30,
4,
18,
13,
5,
13,
30,
4,
18,
13,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
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
],
[
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,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
41,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
63,
64
],
[
20,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
20,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
81,
82
],
[
72,
83
],
[
84,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
90,
91
],
[
90,
92
],
[
18,
93
],
[
93,
94
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nimport java.util.Collections;\n\n\nclass Main {\n\tpublic static void main(String[] args){\n\t\tInteger[] input = new Integer[10];\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tfor(int i=0; i<10; i++){\n\t\t\ttry {\n\t\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\tArrays.sort(input, Collections.reverseOrder());\n\t\t\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(input[i]);\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.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"class Main {\n\tpublic static void main(String[] args){\n\t\tInteger[] input = new Integer[10];\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tfor(int i=0; i<10; i++){\n\t\t\ttry {\n\t\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\tArrays.sort(input, Collections.reverseOrder());\n\t\t\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(input[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tInteger[] input = new Integer[10];\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tfor(int i=0; i<10; i++){\n\t\t\ttry {\n\t\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\tArrays.sort(input, Collections.reverseOrder());\n\t\t\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(input[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tInteger[] input = new Integer[10];\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tfor(int i=0; i<10; i++){\n\t\t\ttry {\n\t\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\tArrays.sort(input, Collections.reverseOrder());\n\t\t\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(input[i]);\n\t\t}\n\t}",
"Integer[] input = new Integer[10];",
"input",
"new Integer[10]",
"10",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"for(int i=0; i<10; i++){\n\t\t\ttry {\n\t\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\ttry {\n\t\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"{\n\t\t\ttry {\n\t\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"try {\n\t\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"catch (NumberFormatException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"NumberFormatException e",
"{\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"catch (IOException e) {\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"IOException e",
"{\n\t\t\t\t// TODO 自動生成された catch ブロック\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t\t}",
"input[i] = Integer.parseInt(br.readLine())",
"input[i]",
"input",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(input, Collections.reverseOrder())",
"Arrays.sort",
"Arrays",
"input",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"for(int i=0; i<3; i++){\n\t\t\tSystem.out.println(input[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(input[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(input[i]);\n\t\t}",
"System.out.println(input[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"input[i]",
"input",
"i",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Collections;
class Main {
public static void main(String[] args){
Integer[] input = new Integer[10];
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
for(int i=0; i<10; i++){
try {
input[i] = Integer.parseInt(br.readLine());
} catch (NumberFormatException e) {
// TODO 自動生成された catch ブロック
e.printStackTrace();
} catch (IOException e) {
// TODO 自動生成された catch ブロック
e.printStackTrace();
}
}
Arrays.sort(input, Collections.reverseOrder());
for(int i=0; i<3; i++){
System.out.println(input[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
18,
13,
17,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
13,
14,
2,
13,
18,
13,
17,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
13,
14,
2,
13,
18,
13,
17,
30,
0,
18,
13,
17,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
121,
5
],
[
121,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
37,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
43,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
37,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
63,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
63,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
82,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
8,
94
],
[
94,
95
],
[
95,
96
],
[
8,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
102,
103
],
[
102,
104
],
[
97,
105
],
[
105,
106
],
[
106,
107
],
[
97,
108
],
[
109,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
115,
116
],
[
115,
117
],
[
6,
118
],
[
118,
119
],
[
0,
120
],
[
120,
121
],
[
120,
122
]
] | [
"import java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tint[] x= new int[3];\n\t\tint temp =0;\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor(int i=0; i<10; i++){\n\t\t temp =scanner.nextInt();\n\t\t if(temp>x[0]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=x[0];\n\t\t \t x[0]=temp;\n\t\t }else if(temp>x[1]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=temp;\n\t\t }else if(temp>x[2]){\n\t\t \t x[2]=temp;\n\t\t }\n\t\t}\n\t\tscanner.close();\n\t\tfor(int i =0; i<3; i++){\n System.out.println(x[i]);\n\t\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 Auto-generated method stub\n\t\tint[] x= new int[3];\n\t\tint temp =0;\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor(int i=0; i<10; i++){\n\t\t temp =scanner.nextInt();\n\t\t if(temp>x[0]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=x[0];\n\t\t \t x[0]=temp;\n\t\t }else if(temp>x[1]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=temp;\n\t\t }else if(temp>x[2]){\n\t\t \t x[2]=temp;\n\t\t }\n\t\t}\n\t\tscanner.close();\n\t\tfor(int i =0; i<3; i++){\n System.out.println(x[i]);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tint[] x= new int[3];\n\t\tint temp =0;\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor(int i=0; i<10; i++){\n\t\t temp =scanner.nextInt();\n\t\t if(temp>x[0]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=x[0];\n\t\t \t x[0]=temp;\n\t\t }else if(temp>x[1]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=temp;\n\t\t }else if(temp>x[2]){\n\t\t \t x[2]=temp;\n\t\t }\n\t\t}\n\t\tscanner.close();\n\t\tfor(int i =0; i<3; i++){\n System.out.println(x[i]);\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tint[] x= new int[3];\n\t\tint temp =0;\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor(int i=0; i<10; i++){\n\t\t temp =scanner.nextInt();\n\t\t if(temp>x[0]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=x[0];\n\t\t \t x[0]=temp;\n\t\t }else if(temp>x[1]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=temp;\n\t\t }else if(temp>x[2]){\n\t\t \t x[2]=temp;\n\t\t }\n\t\t}\n\t\tscanner.close();\n\t\tfor(int i =0; i<3; i++){\n System.out.println(x[i]);\n\t\t}\n\t}",
"int[] x= new int[3];",
"x",
"new int[3]",
"3",
"int temp =0;",
"temp",
"0",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"for(int i=0; i<10; i++){\n\t\t temp =scanner.nextInt();\n\t\t if(temp>x[0]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=x[0];\n\t\t \t x[0]=temp;\n\t\t }else if(temp>x[1]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=temp;\n\t\t }else if(temp>x[2]){\n\t\t \t x[2]=temp;\n\t\t }\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t temp =scanner.nextInt();\n\t\t if(temp>x[0]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=x[0];\n\t\t \t x[0]=temp;\n\t\t }else if(temp>x[1]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=temp;\n\t\t }else if(temp>x[2]){\n\t\t \t x[2]=temp;\n\t\t }\n\t\t}",
"{\n\t\t temp =scanner.nextInt();\n\t\t if(temp>x[0]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=x[0];\n\t\t \t x[0]=temp;\n\t\t }else if(temp>x[1]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=temp;\n\t\t }else if(temp>x[2]){\n\t\t \t x[2]=temp;\n\t\t }\n\t\t}",
"temp =scanner.nextInt()",
"temp",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if(temp>x[0]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=x[0];\n\t\t \t x[0]=temp;\n\t\t }else if(temp>x[1]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=temp;\n\t\t }else if(temp>x[2]){\n\t\t \t x[2]=temp;\n\t\t }",
"temp>x[0]",
"temp",
"x[0]",
"x",
"0",
"{\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=x[0];\n\t\t \t x[0]=temp;\n\t\t }",
"x[2]=x[1]",
"x[2]",
"x",
"2",
"x[1]",
"x",
"1",
"x[1]=x[0]",
"x[1]",
"x",
"1",
"x[0]",
"x",
"0",
"x[0]=temp",
"x[0]",
"x",
"0",
"temp",
"if(temp>x[1]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=temp;\n\t\t }else if(temp>x[2]){\n\t\t \t x[2]=temp;\n\t\t }",
"temp>x[1]",
"temp",
"x[1]",
"x",
"1",
"{\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=temp;\n\t\t }",
"x[2]=x[1]",
"x[2]",
"x",
"2",
"x[1]",
"x",
"1",
"x[1]=temp",
"x[1]",
"x",
"1",
"temp",
"if(temp>x[2]){\n\t\t \t x[2]=temp;\n\t\t }",
"temp>x[2]",
"temp",
"x[2]",
"x",
"2",
"{\n\t\t \t x[2]=temp;\n\t\t }",
"x[2]=temp",
"x[2]",
"x",
"2",
"temp",
"scanner.close()",
"scanner.close",
"scanner",
"for(int i =0; i<3; i++){\n System.out.println(x[i]);\n\t\t}",
"int i =0;",
"int i =0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(x[i]);\n\t\t}",
"{\n System.out.println(x[i]);\n\t\t}",
"System.out.println(x[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"x[i]",
"x",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tint[] x= new int[3];\n\t\tint temp =0;\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor(int i=0; i<10; i++){\n\t\t temp =scanner.nextInt();\n\t\t if(temp>x[0]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=x[0];\n\t\t \t x[0]=temp;\n\t\t }else if(temp>x[1]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=temp;\n\t\t }else if(temp>x[2]){\n\t\t \t x[2]=temp;\n\t\t }\n\t\t}\n\t\tscanner.close();\n\t\tfor(int i =0; i<3; i++){\n System.out.println(x[i]);\n\t\t}\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\tint[] x= new int[3];\n\t\tint temp =0;\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor(int i=0; i<10; i++){\n\t\t temp =scanner.nextInt();\n\t\t if(temp>x[0]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=x[0];\n\t\t \t x[0]=temp;\n\t\t }else if(temp>x[1]){\n\t\t \t x[2]=x[1];\n\t\t \t x[1]=temp;\n\t\t }else if(temp>x[2]){\n\t\t \t x[2]=temp;\n\t\t }\n\t\t}\n\t\tscanner.close();\n\t\tfor(int i =0; i<3; i++){\n System.out.println(x[i]);\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
int[] x= new int[3];
int temp =0;
Scanner scanner = new Scanner(System.in);
for(int i=0; i<10; i++){
temp =scanner.nextInt();
if(temp>x[0]){
x[2]=x[1];
x[1]=x[0];
x[0]=temp;
}else if(temp>x[1]){
x[2]=x[1];
x[1]=temp;
}else if(temp>x[2]){
x[2]=temp;
}
}
scanner.close();
for(int i =0; i<3; i++){
System.out.println(x[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
0,
18,
13,
40,
13,
4,
18,
13,
13,
14,
2,
13,
17,
3,
4,
18,
13,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
72,
8
],
[
72,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
30,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
24,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
11,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
11,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
48,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
9,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] | [
"\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n int[] mountains = new int[10];\n int i = 0;\n while(true){\n String s = r.readLine();\n mountains[i++] = Integer.valueOf(s);\n if(i >= 10) break;\n }\n Arrays.sort(mountains);\n for(i = 9; i > 6; i--) {\n System.out.println(mountains[i]);\n }\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n int[] mountains = new int[10];\n int i = 0;\n while(true){\n String s = r.readLine();\n mountains[i++] = Integer.valueOf(s);\n if(i >= 10) break;\n }\n Arrays.sort(mountains);\n for(i = 9; i > 6; i--) {\n System.out.println(mountains[i]);\n }\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n int[] mountains = new int[10];\n int i = 0;\n while(true){\n String s = r.readLine();\n mountains[i++] = Integer.valueOf(s);\n if(i >= 10) break;\n }\n Arrays.sort(mountains);\n for(i = 9; i > 6; i--) {\n System.out.println(mountains[i]);\n }\n\t}",
"main",
"{\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n int[] mountains = new int[10];\n int i = 0;\n while(true){\n String s = r.readLine();\n mountains[i++] = Integer.valueOf(s);\n if(i >= 10) break;\n }\n Arrays.sort(mountains);\n for(i = 9; i > 6; i--) {\n System.out.println(mountains[i]);\n }\n\t}",
"BufferedReader r = new BufferedReader(new InputStreamReader(System.in));",
"r",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] mountains = new int[10];",
"mountains",
"new int[10]",
"10",
"int i = 0;",
"i",
"0",
"while(true){\n String s = r.readLine();\n mountains[i++] = Integer.valueOf(s);\n if(i >= 10) break;\n }",
"true",
"{\n String s = r.readLine();\n mountains[i++] = Integer.valueOf(s);\n if(i >= 10) break;\n }",
"String s = r.readLine();",
"s",
"r.readLine()",
"r.readLine",
"r",
"mountains[i++] = Integer.valueOf(s)",
"mountains[i++]",
"mountains",
"i++",
"i",
"Integer.valueOf(s)",
"Integer.valueOf",
"Integer",
"s",
"if(i >= 10) break;",
"i >= 10",
"i",
"10",
"break;",
"Arrays.sort(mountains)",
"Arrays.sort",
"Arrays",
"mountains",
"for(i = 9; i > 6; i--) {\n System.out.println(mountains[i]);\n }",
"i = 9;",
"i = 9",
"i",
"9",
"i > 6",
"i",
"6",
"i--",
"i--",
"i",
"{\n System.out.println(mountains[i]);\n }",
"{\n System.out.println(mountains[i]);\n }",
"System.out.println(mountains[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"mountains[i]",
"mountains",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n int[] mountains = new int[10];\n int i = 0;\n while(true){\n String s = r.readLine();\n mountains[i++] = Integer.valueOf(s);\n if(i >= 10) break;\n }\n Arrays.sort(mountains);\n for(i = 9; i > 6; i--) {\n System.out.println(mountains[i]);\n }\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n int[] mountains = new int[10];\n int i = 0;\n while(true){\n String s = r.readLine();\n mountains[i++] = Integer.valueOf(s);\n if(i >= 10) break;\n }\n Arrays.sort(mountains);\n for(i = 9; i > 6; i--) {\n System.out.println(mountains[i]);\n }\n\t}\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
int[] mountains = new int[10];
int i = 0;
while(true){
String s = r.readLine();
mountains[i++] = Integer.valueOf(s);
if(i >= 10) break;
}
Arrays.sort(mountains);
for(i = 9; i > 6; i--) {
System.out.println(mountains[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
73,
11
],
[
73,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
19
],
[
19,
20
],
[
19,
21
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
14,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
14,
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
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
12,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
] | [
"\nimport java.util.Arrays;\nimport java.util.Comparator;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tInteger[] mountainHigh = new Integer[10];\n\t\tScanner stdin = new Scanner(System.in);\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tmountainHigh[i] = stdin.nextInt();\n\t\t}\n\t\tArrays.sort(mountainHigh,Comparator.reverseOrder());\n\n\t\tfor(int high = 0; high < 3; high++) {\n\t\t\tSystem.out.println(mountainHigh[high]);\n\t\t}\n\n\t}\n\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Comparator;",
"Comparator",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tInteger[] mountainHigh = new Integer[10];\n\t\tScanner stdin = new Scanner(System.in);\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tmountainHigh[i] = stdin.nextInt();\n\t\t}\n\t\tArrays.sort(mountainHigh,Comparator.reverseOrder());\n\n\t\tfor(int high = 0; high < 3; high++) {\n\t\t\tSystem.out.println(mountainHigh[high]);\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main (String[] args) {\n\n\t\tInteger[] mountainHigh = new Integer[10];\n\t\tScanner stdin = new Scanner(System.in);\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tmountainHigh[i] = stdin.nextInt();\n\t\t}\n\t\tArrays.sort(mountainHigh,Comparator.reverseOrder());\n\n\t\tfor(int high = 0; high < 3; high++) {\n\t\t\tSystem.out.println(mountainHigh[high]);\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tInteger[] mountainHigh = new Integer[10];\n\t\tScanner stdin = new Scanner(System.in);\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tmountainHigh[i] = stdin.nextInt();\n\t\t}\n\t\tArrays.sort(mountainHigh,Comparator.reverseOrder());\n\n\t\tfor(int high = 0; high < 3; high++) {\n\t\t\tSystem.out.println(mountainHigh[high]);\n\t\t}\n\n\t}",
"Integer[] mountainHigh = new Integer[10];",
"mountainHigh",
"new Integer[10]",
"10",
"Scanner stdin = new Scanner(System.in);",
"stdin",
"new Scanner(System.in)",
"for(int i = 0; i < 10; i++) {\n\t\t\tmountainHigh[i] = stdin.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tmountainHigh[i] = stdin.nextInt();\n\t\t}",
"{\n\t\t\tmountainHigh[i] = stdin.nextInt();\n\t\t}",
"mountainHigh[i] = stdin.nextInt()",
"mountainHigh[i]",
"mountainHigh",
"i",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"Arrays.sort(mountainHigh,Comparator.reverseOrder())",
"Arrays.sort",
"Arrays",
"mountainHigh",
"Comparator.reverseOrder()",
"Comparator.reverseOrder",
"Comparator",
"for(int high = 0; high < 3; high++) {\n\t\t\tSystem.out.println(mountainHigh[high]);\n\t\t}",
"int high = 0;",
"int high = 0;",
"high",
"0",
"high < 3",
"high",
"3",
"high++",
"high++",
"high",
"{\n\t\t\tSystem.out.println(mountainHigh[high]);\n\t\t}",
"{\n\t\t\tSystem.out.println(mountainHigh[high]);\n\t\t}",
"System.out.println(mountainHigh[high])",
"System.out.println",
"System.out",
"System",
"System.out",
"mountainHigh[high]",
"mountainHigh",
"high",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tInteger[] mountainHigh = new Integer[10];\n\t\tScanner stdin = new Scanner(System.in);\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tmountainHigh[i] = stdin.nextInt();\n\t\t}\n\t\tArrays.sort(mountainHigh,Comparator.reverseOrder());\n\n\t\tfor(int high = 0; high < 3; high++) {\n\t\t\tSystem.out.println(mountainHigh[high]);\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tInteger[] mountainHigh = new Integer[10];\n\t\tScanner stdin = new Scanner(System.in);\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tmountainHigh[i] = stdin.nextInt();\n\t\t}\n\t\tArrays.sort(mountainHigh,Comparator.reverseOrder());\n\n\t\tfor(int high = 0; high < 3; high++) {\n\t\t\tSystem.out.println(mountainHigh[high]);\n\t\t}\n\n\t}\n\n}",
"Main"
] |
import java.util.Arrays;
import java.util.Comparator;
import java.util.Scanner;
public class Main {
public static void main (String[] args) {
Integer[] mountainHigh = new Integer[10];
Scanner stdin = new Scanner(System.in);
for(int i = 0; i < 10; i++) {
mountainHigh[i] = stdin.nextInt();
}
Arrays.sort(mountainHigh,Comparator.reverseOrder());
for(int high = 0; high < 3; high++) {
System.out.println(mountainHigh[high]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
39,
17,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
14,
2,
13,
18,
13,
17,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
13,
14,
2,
13,
18,
13,
17,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
13,
14,
2,
13,
18,
13,
17,
30,
0,
18,
13,
17,
13,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
119,
11
],
[
119,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
20,
22
],
[
20,
23
],
[
14,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
36,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
36,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
48,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
66,
68
],
[
54,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
48,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
74,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
85,
87
],
[
80,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
74,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
96,
98
],
[
93,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
14,
105
],
[
105,
106
],
[
105,
107
],
[
105,
108
],
[
109,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
12,
116
],
[
116,
117
],
[
0,
118
],
[
118,
119
],
[
118,
120
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int[] best = {0, 0, 0};\t\t// ??????????????????\n \n for(int i=0; i<10; i++){\n String line = br.readLine();\t\t\t// ????????????\n int height = Integer.parseInt(line);\t// ??°????????????\n \t\n if(height > best[0]){\t// ??\\????????????????????´???\n \tbest[2] = best[1];\n \tbest[1] = best[0];\n \tbest[0] = height;\n }\n else if(height > best[1]){\n \tbest[2] = best[1];\n \tbest[1] = height;\n }\n else if(height > best[2]){\n \tbest[2] = height;\n }\n }\n \n for(int h: best){\n \tSystem.out.println(h);\n }\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int[] best = {0, 0, 0};\t\t// ??????????????????\n \n for(int i=0; i<10; i++){\n String line = br.readLine();\t\t\t// ????????????\n int height = Integer.parseInt(line);\t// ??°????????????\n \t\n if(height > best[0]){\t// ??\\????????????????????´???\n \tbest[2] = best[1];\n \tbest[1] = best[0];\n \tbest[0] = height;\n }\n else if(height > best[1]){\n \tbest[2] = best[1];\n \tbest[1] = height;\n }\n else if(height > best[2]){\n \tbest[2] = height;\n }\n }\n \n for(int h: best){\n \tSystem.out.println(h);\n }\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int[] best = {0, 0, 0};\t\t// ??????????????????\n \n for(int i=0; i<10; i++){\n String line = br.readLine();\t\t\t// ????????????\n int height = Integer.parseInt(line);\t// ??°????????????\n \t\n if(height > best[0]){\t// ??\\????????????????????´???\n \tbest[2] = best[1];\n \tbest[1] = best[0];\n \tbest[0] = height;\n }\n else if(height > best[1]){\n \tbest[2] = best[1];\n \tbest[1] = height;\n }\n else if(height > best[2]){\n \tbest[2] = height;\n }\n }\n \n for(int h: best){\n \tSystem.out.println(h);\n }\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int[] best = {0, 0, 0};\t\t// ??????????????????\n \n for(int i=0; i<10; i++){\n String line = br.readLine();\t\t\t// ????????????\n int height = Integer.parseInt(line);\t// ??°????????????\n \t\n if(height > best[0]){\t// ??\\????????????????????´???\n \tbest[2] = best[1];\n \tbest[1] = best[0];\n \tbest[0] = height;\n }\n else if(height > best[1]){\n \tbest[2] = best[1];\n \tbest[1] = height;\n }\n else if(height > best[2]){\n \tbest[2] = height;\n }\n }\n \n for(int h: best){\n \tSystem.out.println(h);\n }\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] best = {0, 0, 0};",
"best",
"{0, 0, 0}",
"0",
"0",
"0",
"for(int i=0; i<10; i++){\n String line = br.readLine();\t\t\t// ????????????\n int height = Integer.parseInt(line);\t// ??°????????????\n \t\n if(height > best[0]){\t// ??\\????????????????????´???\n \tbest[2] = best[1];\n \tbest[1] = best[0];\n \tbest[0] = height;\n }\n else if(height > best[1]){\n \tbest[2] = best[1];\n \tbest[1] = height;\n }\n else if(height > best[2]){\n \tbest[2] = height;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n String line = br.readLine();\t\t\t// ????????????\n int height = Integer.parseInt(line);\t// ??°????????????\n \t\n if(height > best[0]){\t// ??\\????????????????????´???\n \tbest[2] = best[1];\n \tbest[1] = best[0];\n \tbest[0] = height;\n }\n else if(height > best[1]){\n \tbest[2] = best[1];\n \tbest[1] = height;\n }\n else if(height > best[2]){\n \tbest[2] = height;\n }\n }",
"{\n String line = br.readLine();\t\t\t// ????????????\n int height = Integer.parseInt(line);\t// ??°????????????\n \t\n if(height > best[0]){\t// ??\\????????????????????´???\n \tbest[2] = best[1];\n \tbest[1] = best[0];\n \tbest[0] = height;\n }\n else if(height > best[1]){\n \tbest[2] = best[1];\n \tbest[1] = height;\n }\n else if(height > best[2]){\n \tbest[2] = height;\n }\n }",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"int height = Integer.parseInt(line);",
"height",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"if(height > best[0]){\t// ??\\????????????????????´???\n \tbest[2] = best[1];\n \tbest[1] = best[0];\n \tbest[0] = height;\n }\n else if(height > best[1]){\n \tbest[2] = best[1];\n \tbest[1] = height;\n }\n else if(height > best[2]){\n \tbest[2] = height;\n }",
"height > best[0]",
"height",
"best[0]",
"best",
"0",
"{\t// ??\\????????????????????´???\n \tbest[2] = best[1];\n \tbest[1] = best[0];\n \tbest[0] = height;\n }",
"best[2] = best[1]",
"best[2]",
"best",
"2",
"best[1]",
"best",
"1",
"best[1] = best[0]",
"best[1]",
"best",
"1",
"best[0]",
"best",
"0",
"best[0] = height",
"best[0]",
"best",
"0",
"height",
"if(height > best[1]){\n \tbest[2] = best[1];\n \tbest[1] = height;\n }\n else if(height > best[2]){\n \tbest[2] = height;\n }",
"height > best[1]",
"height",
"best[1]",
"best",
"1",
"{\n \tbest[2] = best[1];\n \tbest[1] = height;\n }",
"best[2] = best[1]",
"best[2]",
"best",
"2",
"best[1]",
"best",
"1",
"best[1] = height",
"best[1]",
"best",
"1",
"height",
"if(height > best[2]){\n \tbest[2] = height;\n }",
"height > best[2]",
"height",
"best[2]",
"best",
"2",
"{\n \tbest[2] = height;\n }",
"best[2] = height",
"best[2]",
"best",
"2",
"height",
"for(int h: best){\n \tSystem.out.println(h);\n }",
"int h",
"best",
"{\n \tSystem.out.println(h);\n }",
"{\n \tSystem.out.println(h);\n }",
"System.out.println(h)",
"System.out.println",
"System.out",
"System",
"System.out",
"h",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int[] best = {0, 0, 0};\t\t// ??????????????????\n \n for(int i=0; i<10; i++){\n String line = br.readLine();\t\t\t// ????????????\n int height = Integer.parseInt(line);\t// ??°????????????\n \t\n if(height > best[0]){\t// ??\\????????????????????´???\n \tbest[2] = best[1];\n \tbest[1] = best[0];\n \tbest[0] = height;\n }\n else if(height > best[1]){\n \tbest[2] = best[1];\n \tbest[1] = height;\n }\n else if(height > best[2]){\n \tbest[2] = height;\n }\n }\n \n for(int h: best){\n \tSystem.out.println(h);\n }\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int[] best = {0, 0, 0};\t\t// ??????????????????\n \n for(int i=0; i<10; i++){\n String line = br.readLine();\t\t\t// ????????????\n int height = Integer.parseInt(line);\t// ??°????????????\n \t\n if(height > best[0]){\t// ??\\????????????????????´???\n \tbest[2] = best[1];\n \tbest[1] = best[0];\n \tbest[0] = height;\n }\n else if(height > best[1]){\n \tbest[2] = best[1];\n \tbest[1] = height;\n }\n else if(height > best[2]){\n \tbest[2] = height;\n }\n }\n \n for(int h: best){\n \tSystem.out.println(h);\n }\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
// TODO ?????????????????????????????????????????????
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int[] best = {0, 0, 0}; // ??????????????????
for(int i=0; i<10; i++){
String line = br.readLine(); // ????????????
int height = Integer.parseInt(line); // ??°????????????
if(height > best[0]){ // ??\????????????????????´???
best[2] = best[1];
best[1] = best[0];
best[0] = height;
}
else if(height > best[1]){
best[2] = best[1];
best[1] = height;
}
else if(height > best[2]){
best[2] = height;
}
}
for(int h: best){
System.out.println(h);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
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
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
45,
52
],
[
52,
53
],
[
52,
54
],
[
41,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
55,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
8,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
8,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
8,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
6,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\n\t\tint first=0,second=0,third=0;\n\t\tint set;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(int i=0;i<10;i++){\n\t\t\t\n\t\t\tset = sc.nextInt();\n\t\t\t\n\t\t\tif(first<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = set;\n\t\t\t}else if(second<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = set;\n\t\t\t}else if(third<set){\n\t\t\t\tthird = set;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\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\n\t\tint first=0,second=0,third=0;\n\t\tint set;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(int i=0;i<10;i++){\n\t\t\t\n\t\t\tset = sc.nextInt();\n\t\t\t\n\t\t\tif(first<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = set;\n\t\t\t}else if(second<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = set;\n\t\t\t}else if(third<set){\n\t\t\t\tthird = set;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\n\t\tint first=0,second=0,third=0;\n\t\tint set;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(int i=0;i<10;i++){\n\t\t\t\n\t\t\tset = sc.nextInt();\n\t\t\t\n\t\t\tif(first<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = set;\n\t\t\t}else if(second<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = set;\n\t\t\t}else if(third<set){\n\t\t\t\tthird = set;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\n\t\tint first=0,second=0,third=0;\n\t\tint set;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(int i=0;i<10;i++){\n\t\t\t\n\t\t\tset = sc.nextInt();\n\t\t\t\n\t\t\tif(first<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = set;\n\t\t\t}else if(second<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = set;\n\t\t\t}else if(third<set){\n\t\t\t\tthird = set;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t}",
"int first=0",
"first",
"0",
"second=0",
"second",
"0",
"third=0;",
"third",
"0",
"int set;",
"set",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i=0;i<10;i++){\n\t\t\t\n\t\t\tset = sc.nextInt();\n\t\t\t\n\t\t\tif(first<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = set;\n\t\t\t}else if(second<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = set;\n\t\t\t}else if(third<set){\n\t\t\t\tthird = set;\n\t\t\t}\n\t\t\t\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\t\n\t\t\tset = sc.nextInt();\n\t\t\t\n\t\t\tif(first<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = set;\n\t\t\t}else if(second<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = set;\n\t\t\t}else if(third<set){\n\t\t\t\tthird = set;\n\t\t\t}\n\t\t\t\n\t\t}",
"{\n\t\t\t\n\t\t\tset = sc.nextInt();\n\t\t\t\n\t\t\tif(first<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = set;\n\t\t\t}else if(second<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = set;\n\t\t\t}else if(third<set){\n\t\t\t\tthird = set;\n\t\t\t}\n\t\t\t\n\t\t}",
"set = sc.nextInt()",
"set",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(first<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = set;\n\t\t\t}else if(second<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = set;\n\t\t\t}else if(third<set){\n\t\t\t\tthird = set;\n\t\t\t}",
"first<set",
"first",
"set",
"{\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = set;\n\t\t\t}",
"third = second",
"third",
"second",
"second = first",
"second",
"first",
"first = set",
"first",
"set",
"if(second<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = set;\n\t\t\t}else if(third<set){\n\t\t\t\tthird = set;\n\t\t\t}",
"second<set",
"second",
"set",
"{\n\t\t\t\tthird = second;\n\t\t\t\tsecond = set;\n\t\t\t}",
"third = second",
"third",
"second",
"second = set",
"second",
"set",
"if(third<set){\n\t\t\t\tthird = set;\n\t\t\t}",
"third<set",
"third",
"set",
"{\n\t\t\t\tthird = set;\n\t\t\t}",
"third = set",
"third",
"set",
"System.out.println(first)",
"System.out.println",
"System.out",
"System",
"System.out",
"first",
"System.out.println(second)",
"System.out.println",
"System.out",
"System",
"System.out",
"second",
"System.out.println(third)",
"System.out.println",
"System.out",
"System",
"System.out",
"third",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\n\t\tint first=0,second=0,third=0;\n\t\tint set;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(int i=0;i<10;i++){\n\t\t\t\n\t\t\tset = sc.nextInt();\n\t\t\t\n\t\t\tif(first<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = set;\n\t\t\t}else if(second<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = set;\n\t\t\t}else if(third<set){\n\t\t\t\tthird = set;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\n\t\tint first=0,second=0,third=0;\n\t\tint set;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(int i=0;i<10;i++){\n\t\t\t\n\t\t\tset = sc.nextInt();\n\t\t\t\n\t\t\tif(first<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = set;\n\t\t\t}else if(second<set){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = set;\n\t\t\t}else if(third<set){\n\t\t\t\tthird = set;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
int first=0,second=0,third=0;
int set;
Scanner sc = new Scanner(System.in);
for(int i=0;i<10;i++){
set = sc.nextInt();
if(first<set){
third = second;
second = first;
first = set;
}else if(second<set){
third = second;
second = set;
}else if(third<set){
third = set;
}
}
System.out.println(first);
System.out.println(second);
System.out.println(third);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
0,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
77,
11
],
[
77,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
14,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
14,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
54,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
12,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
] | [
"import java.awt.List;\nimport java.io.*;\nimport java.util.Arrays;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] arr = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tString str;\n\t\t\tstr = br.readLine();\n\t\t\tarr[i] = Integer.parseInt(str);\n\t\t}\n\t\tArrays.sort(arr);\n\t\tfor (int i = 9; i > 6; i--)\n\t\t\tSystem.out.println(arr[i]);\n\t}\n}",
"import java.awt.List;",
"List",
"java.awt",
"import java.io.*;",
"io.*",
"java",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] arr = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tString str;\n\t\t\tstr = br.readLine();\n\t\t\tarr[i] = Integer.parseInt(str);\n\t\t}\n\t\tArrays.sort(arr);\n\t\tfor (int i = 9; i > 6; i--)\n\t\t\tSystem.out.println(arr[i]);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] arr = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tString str;\n\t\t\tstr = br.readLine();\n\t\t\tarr[i] = Integer.parseInt(str);\n\t\t}\n\t\tArrays.sort(arr);\n\t\tfor (int i = 9; i > 6; i--)\n\t\t\tSystem.out.println(arr[i]);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] arr = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tString str;\n\t\t\tstr = br.readLine();\n\t\t\tarr[i] = Integer.parseInt(str);\n\t\t}\n\t\tArrays.sort(arr);\n\t\tfor (int i = 9; i > 6; i--)\n\t\t\tSystem.out.println(arr[i]);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] arr = new int[10];",
"arr",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++) {\n\t\t\tString str;\n\t\t\tstr = br.readLine();\n\t\t\tarr[i] = Integer.parseInt(str);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tString str;\n\t\t\tstr = br.readLine();\n\t\t\tarr[i] = Integer.parseInt(str);\n\t\t}",
"{\n\t\t\tString str;\n\t\t\tstr = br.readLine();\n\t\t\tarr[i] = Integer.parseInt(str);\n\t\t}",
"String str;",
"str",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"arr[i] = Integer.parseInt(str)",
"arr[i]",
"arr",
"i",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"Arrays.sort(arr)",
"Arrays.sort",
"Arrays",
"arr",
"for (int i = 9; i > 6; i--)\n\t\t\tSystem.out.println(arr[i]);",
"int i = 9;",
"int i = 9;",
"i",
"9",
"i > 6",
"i",
"6",
"i--",
"i--",
"i",
"System.out.println(arr[i]);",
"System.out.println(arr[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"arr[i]",
"arr",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] arr = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tString str;\n\t\t\tstr = br.readLine();\n\t\t\tarr[i] = Integer.parseInt(str);\n\t\t}\n\t\tArrays.sort(arr);\n\t\tfor (int i = 9; i > 6; i--)\n\t\t\tSystem.out.println(arr[i]);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] arr = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tString str;\n\t\t\tstr = br.readLine();\n\t\t\tarr[i] = Integer.parseInt(str);\n\t\t}\n\t\tArrays.sort(arr);\n\t\tfor (int i = 9; i > 6; i--)\n\t\t\tSystem.out.println(arr[i]);\n\t}\n}",
"Main"
] | import java.awt.List;
import java.io.*;
import java.util.Arrays;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int[] arr = new int[10];
for (int i = 0; i < 10; i++) {
String str;
str = br.readLine();
arr[i] = Integer.parseInt(str);
}
Arrays.sort(arr);
for (int i = 9; i > 6; i--)
System.out.println(arr[i]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41,
13,
17,
0,
13,
17,
41,
13,
2,
2,
13,
2,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
13,
17,
0,
18,
13,
2,
13,
17,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
137,
5
],
[
137,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
16,
26
],
[
26,
27
],
[
27,
28
],
[
16,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
46,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
53,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
66,
76
],
[
76,
77
],
[
77,
78
],
[
66,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
81,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
91,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
91,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
109,
111
],
[
106,
112
],
[
8,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
118,
119
],
[
118,
120
],
[
113,
121
],
[
121,
122
],
[
122,
123
],
[
113,
124
],
[
125,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
126,
131
],
[
131,
132
],
[
131,
133
],
[
6,
134
],
[
134,
135
],
[
0,
136
],
[
136,
137
],
[
136,
138
]
] | [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner stdin = new Scanner(System.in);\n\n\t\tint[] x = new int[10];\n\n\t\tfor(int i =0; i < x.length; i++ ) {\n\n\n\t\t\tx[i] = stdin.nextInt();\n\n\t\t}\n\n\t\tint n = 0;\n\t\tn = 10;\n\t\tint buble =n*(n-1)/2;\n\t\tfor(int i = 0; i < buble; i++){\n\n\t\t for(int j = 0; j < n - 1; j++){\n\n\t\t \tif(x[j] < x[j + 1]) {\n\n\t\t \t\tint temp = x[j];\n\t\t \t\tx[j] = x[j + 1];\n\t\t \t\tx[j + 1] = temp;\n\n\t\t \t}\n\n\t\t }\n\n\t }\n\n\t\tfor(int i = 0; i < 3; i++) {\n\n\t\t\tSystem.out.println(x[i]);\n\n\t\t}\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\n\t\tScanner stdin = new Scanner(System.in);\n\n\t\tint[] x = new int[10];\n\n\t\tfor(int i =0; i < x.length; i++ ) {\n\n\n\t\t\tx[i] = stdin.nextInt();\n\n\t\t}\n\n\t\tint n = 0;\n\t\tn = 10;\n\t\tint buble =n*(n-1)/2;\n\t\tfor(int i = 0; i < buble; i++){\n\n\t\t for(int j = 0; j < n - 1; j++){\n\n\t\t \tif(x[j] < x[j + 1]) {\n\n\t\t \t\tint temp = x[j];\n\t\t \t\tx[j] = x[j + 1];\n\t\t \t\tx[j + 1] = temp;\n\n\t\t \t}\n\n\t\t }\n\n\t }\n\n\t\tfor(int i = 0; i < 3; i++) {\n\n\t\t\tSystem.out.println(x[i]);\n\n\t\t}\n\n\t}\n\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner stdin = new Scanner(System.in);\n\n\t\tint[] x = new int[10];\n\n\t\tfor(int i =0; i < x.length; i++ ) {\n\n\n\t\t\tx[i] = stdin.nextInt();\n\n\t\t}\n\n\t\tint n = 0;\n\t\tn = 10;\n\t\tint buble =n*(n-1)/2;\n\t\tfor(int i = 0; i < buble; i++){\n\n\t\t for(int j = 0; j < n - 1; j++){\n\n\t\t \tif(x[j] < x[j + 1]) {\n\n\t\t \t\tint temp = x[j];\n\t\t \t\tx[j] = x[j + 1];\n\t\t \t\tx[j + 1] = temp;\n\n\t\t \t}\n\n\t\t }\n\n\t }\n\n\t\tfor(int i = 0; i < 3; i++) {\n\n\t\t\tSystem.out.println(x[i]);\n\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tScanner stdin = new Scanner(System.in);\n\n\t\tint[] x = new int[10];\n\n\t\tfor(int i =0; i < x.length; i++ ) {\n\n\n\t\t\tx[i] = stdin.nextInt();\n\n\t\t}\n\n\t\tint n = 0;\n\t\tn = 10;\n\t\tint buble =n*(n-1)/2;\n\t\tfor(int i = 0; i < buble; i++){\n\n\t\t for(int j = 0; j < n - 1; j++){\n\n\t\t \tif(x[j] < x[j + 1]) {\n\n\t\t \t\tint temp = x[j];\n\t\t \t\tx[j] = x[j + 1];\n\t\t \t\tx[j + 1] = temp;\n\n\t\t \t}\n\n\t\t }\n\n\t }\n\n\t\tfor(int i = 0; i < 3; i++) {\n\n\t\t\tSystem.out.println(x[i]);\n\n\t\t}\n\n\t}",
"Scanner stdin = new Scanner(System.in);",
"stdin",
"new Scanner(System.in)",
"int[] x = new int[10];",
"x",
"new int[10]",
"10",
"for(int i =0; i < x.length; i++ ) {\n\n\n\t\t\tx[i] = stdin.nextInt();\n\n\t\t}",
"int i =0;",
"int i =0;",
"i",
"0",
"i < x.length",
"i",
"x.length",
"x",
"x.length",
"i++",
"i++",
"i",
"{\n\n\n\t\t\tx[i] = stdin.nextInt();\n\n\t\t}",
"{\n\n\n\t\t\tx[i] = stdin.nextInt();\n\n\t\t}",
"x[i] = stdin.nextInt()",
"x[i]",
"x",
"i",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"int n = 0;",
"n",
"0",
"n = 10",
"n",
"10",
"int buble =n*(n-1)/2;",
"buble",
"n*(n-1)/2",
"n*(n-1)",
"n",
"(n-1)",
"n",
"1",
"2",
"for(int i = 0; i < buble; i++){\n\n\t\t for(int j = 0; j < n - 1; j++){\n\n\t\t \tif(x[j] < x[j + 1]) {\n\n\t\t \t\tint temp = x[j];\n\t\t \t\tx[j] = x[j + 1];\n\t\t \t\tx[j + 1] = temp;\n\n\t\t \t}\n\n\t\t }\n\n\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < buble",
"i",
"buble",
"i++",
"i++",
"i",
"{\n\n\t\t for(int j = 0; j < n - 1; j++){\n\n\t\t \tif(x[j] < x[j + 1]) {\n\n\t\t \t\tint temp = x[j];\n\t\t \t\tx[j] = x[j + 1];\n\t\t \t\tx[j + 1] = temp;\n\n\t\t \t}\n\n\t\t }\n\n\t }",
"{\n\n\t\t for(int j = 0; j < n - 1; j++){\n\n\t\t \tif(x[j] < x[j + 1]) {\n\n\t\t \t\tint temp = x[j];\n\t\t \t\tx[j] = x[j + 1];\n\t\t \t\tx[j + 1] = temp;\n\n\t\t \t}\n\n\t\t }\n\n\t }",
"for(int j = 0; j < n - 1; j++){\n\n\t\t \tif(x[j] < x[j + 1]) {\n\n\t\t \t\tint temp = x[j];\n\t\t \t\tx[j] = x[j + 1];\n\t\t \t\tx[j + 1] = temp;\n\n\t\t \t}\n\n\t\t }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < n - 1",
"j",
"n - 1",
"n",
"1",
"j++",
"j++",
"j",
"{\n\n\t\t \tif(x[j] < x[j + 1]) {\n\n\t\t \t\tint temp = x[j];\n\t\t \t\tx[j] = x[j + 1];\n\t\t \t\tx[j + 1] = temp;\n\n\t\t \t}\n\n\t\t }",
"{\n\n\t\t \tif(x[j] < x[j + 1]) {\n\n\t\t \t\tint temp = x[j];\n\t\t \t\tx[j] = x[j + 1];\n\t\t \t\tx[j + 1] = temp;\n\n\t\t \t}\n\n\t\t }",
"if(x[j] < x[j + 1]) {\n\n\t\t \t\tint temp = x[j];\n\t\t \t\tx[j] = x[j + 1];\n\t\t \t\tx[j + 1] = temp;\n\n\t\t \t}",
"x[j] < x[j + 1]",
"x[j]",
"x",
"j",
"x[j + 1]",
"x",
"j + 1",
"j",
"1",
"{\n\n\t\t \t\tint temp = x[j];\n\t\t \t\tx[j] = x[j + 1];\n\t\t \t\tx[j + 1] = temp;\n\n\t\t \t}",
"int temp = x[j];",
"temp",
"x[j]",
"x",
"j",
"x[j] = x[j + 1]",
"x[j]",
"x",
"j",
"x[j + 1]",
"x",
"j + 1",
"j",
"1",
"x[j + 1] = temp",
"x[j + 1]",
"x",
"j + 1",
"j",
"1",
"temp",
"for(int i = 0; i < 3; i++) {\n\n\t\t\tSystem.out.println(x[i]);\n\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\n\t\t\tSystem.out.println(x[i]);\n\n\t\t}",
"{\n\n\t\t\tSystem.out.println(x[i]);\n\n\t\t}",
"System.out.println(x[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"x[i]",
"x",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner stdin = new Scanner(System.in);\n\n\t\tint[] x = new int[10];\n\n\t\tfor(int i =0; i < x.length; i++ ) {\n\n\n\t\t\tx[i] = stdin.nextInt();\n\n\t\t}\n\n\t\tint n = 0;\n\t\tn = 10;\n\t\tint buble =n*(n-1)/2;\n\t\tfor(int i = 0; i < buble; i++){\n\n\t\t for(int j = 0; j < n - 1; j++){\n\n\t\t \tif(x[j] < x[j + 1]) {\n\n\t\t \t\tint temp = x[j];\n\t\t \t\tx[j] = x[j + 1];\n\t\t \t\tx[j + 1] = temp;\n\n\t\t \t}\n\n\t\t }\n\n\t }\n\n\t\tfor(int i = 0; i < 3; i++) {\n\n\t\t\tSystem.out.println(x[i]);\n\n\t\t}\n\n\t}\n\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner stdin = new Scanner(System.in);\n\n\t\tint[] x = new int[10];\n\n\t\tfor(int i =0; i < x.length; i++ ) {\n\n\n\t\t\tx[i] = stdin.nextInt();\n\n\t\t}\n\n\t\tint n = 0;\n\t\tn = 10;\n\t\tint buble =n*(n-1)/2;\n\t\tfor(int i = 0; i < buble; i++){\n\n\t\t for(int j = 0; j < n - 1; j++){\n\n\t\t \tif(x[j] < x[j + 1]) {\n\n\t\t \t\tint temp = x[j];\n\t\t \t\tx[j] = x[j + 1];\n\t\t \t\tx[j + 1] = temp;\n\n\t\t \t}\n\n\t\t }\n\n\t }\n\n\t\tfor(int i = 0; i < 3; i++) {\n\n\t\t\tSystem.out.println(x[i]);\n\n\t\t}\n\n\t}\n\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdin = new Scanner(System.in);
int[] x = new int[10];
for(int i =0; i < x.length; i++ ) {
x[i] = stdin.nextInt();
}
int n = 0;
n = 10;
int buble =n*(n-1)/2;
for(int i = 0; i < buble; i++){
for(int j = 0; j < n - 1; j++){
if(x[j] < x[j + 1]) {
int temp = x[j];
x[j] = x[j + 1];
x[j + 1] = temp;
}
}
}
for(int i = 0; i < 3; i++) {
System.out.println(x[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
18,
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
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
11,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
11,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
11,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
9,
67
],
[
67,
68
]
] | [
"import java.util.Scanner;\nimport java.util.Arrays;\n\nclass Main{\n public static void main(String[] a){\n Scanner s = new Scanner(System.in);\n int[] inputs = new int[10];\n\n for(int i = 0; i < 10; i++){\n inputs[i] = s.nextInt();\n }\n\n Arrays.sort(inputs);\n\n System.out.println(inputs[9]);\n System.out.println(inputs[8]);\n System.out.println(inputs[7]);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main{\n public static void main(String[] a){\n Scanner s = new Scanner(System.in);\n int[] inputs = new int[10];\n\n for(int i = 0; i < 10; i++){\n inputs[i] = s.nextInt();\n }\n\n Arrays.sort(inputs);\n\n System.out.println(inputs[9]);\n System.out.println(inputs[8]);\n System.out.println(inputs[7]);\n }\n}",
"Main",
"public static void main(String[] a){\n Scanner s = new Scanner(System.in);\n int[] inputs = new int[10];\n\n for(int i = 0; i < 10; i++){\n inputs[i] = s.nextInt();\n }\n\n Arrays.sort(inputs);\n\n System.out.println(inputs[9]);\n System.out.println(inputs[8]);\n System.out.println(inputs[7]);\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n int[] inputs = new int[10];\n\n for(int i = 0; i < 10; i++){\n inputs[i] = s.nextInt();\n }\n\n Arrays.sort(inputs);\n\n System.out.println(inputs[9]);\n System.out.println(inputs[8]);\n System.out.println(inputs[7]);\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int[] inputs = new int[10];",
"inputs",
"new int[10]",
"10",
"for(int i = 0; i < 10; i++){\n inputs[i] = s.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n inputs[i] = s.nextInt();\n }",
"{\n inputs[i] = s.nextInt();\n }",
"inputs[i] = s.nextInt()",
"inputs[i]",
"inputs",
"i",
"s.nextInt()",
"s.nextInt",
"s",
"Arrays.sort(inputs)",
"Arrays.sort",
"Arrays",
"inputs",
"System.out.println(inputs[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"inputs[9]",
"inputs",
"9",
"System.out.println(inputs[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"inputs[8]",
"inputs",
"8",
"System.out.println(inputs[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"inputs[7]",
"inputs",
"7",
"String[] a",
"a"
] | import java.util.Scanner;
import java.util.Arrays;
class Main{
public static void main(String[] a){
Scanner s = new Scanner(System.in);
int[] inputs = new int[10];
for(int i = 0; i < 10; i++){
inputs[i] = s.nextInt();
}
Arrays.sort(inputs);
System.out.println(inputs[9]);
System.out.println(inputs[8]);
System.out.println(inputs[7]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
20,
17,
42,
2,
2,
0,
13,
4,
18,
13,
17,
40,
4,
18,
13,
30,
40,
18,
13,
4,
13,
13,
41,
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
],
[
53,
14
],
[
53,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
17,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
27,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
17,
47
],
[
47,
48
],
[
47,
49
],
[
15,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nimport static java.lang.Integer.parseInt;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\n\t\tint[] hills = new int[10001];\n\n\t\twhile ((line = br.readLine()) != null && !line.isEmpty()) {\n\t\t\thills[parseInt(line)]++;\n\t\t}\n\n\t\tint count = 0;\n\t\touter:\n\t\tfor (int i = hills.length - 1; ; i--) {\n\t\t\tif (hills[i] > 0) {\n\t\t\t\tfor (int j = 0; j < hills[i]; j++) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tcount++;\n\t\t\t\t\tif (count == 3) break outer;\n\t\t\t\t}\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 static java.lang.Integer.parseInt;",
"import static java.lang.Integer.parseInt;",
"import static java.lang.Integer.parseInt;",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\n\t\tint[] hills = new int[10001];\n\n\t\twhile ((line = br.readLine()) != null && !line.isEmpty()) {\n\t\t\thills[parseInt(line)]++;\n\t\t}\n\n\t\tint count = 0;\n\t\touter:\n\t\tfor (int i = hills.length - 1; ; i--) {\n\t\t\tif (hills[i] > 0) {\n\t\t\t\tfor (int j = 0; j < hills[i]; j++) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tcount++;\n\t\t\t\t\tif (count == 3) break outer;\n\t\t\t\t}\n\t\t\t}\n\t\t}\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\tString line;\n\n\t\tint[] hills = new int[10001];\n\n\t\twhile ((line = br.readLine()) != null && !line.isEmpty()) {\n\t\t\thills[parseInt(line)]++;\n\t\t}\n\n\t\tint count = 0;\n\t\touter:\n\t\tfor (int i = hills.length - 1; ; i--) {\n\t\t\tif (hills[i] > 0) {\n\t\t\t\tfor (int j = 0; j < hills[i]; j++) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tcount++;\n\t\t\t\t\tif (count == 3) break outer;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\n\t\tint[] hills = new int[10001];\n\n\t\twhile ((line = br.readLine()) != null && !line.isEmpty()) {\n\t\t\thills[parseInt(line)]++;\n\t\t}\n\n\t\tint count = 0;\n\t\touter:\n\t\tfor (int i = hills.length - 1; ; i--) {\n\t\t\tif (hills[i] > 0) {\n\t\t\t\tfor (int j = 0; j < hills[i]; j++) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tcount++;\n\t\t\t\t\tif (count == 3) break outer;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"int[] hills = new int[10001];",
"hills",
"new int[10001]",
"10001",
"while ((line = br.readLine()) != null && !line.isEmpty()) {\n\t\t\thills[parseInt(line)]++;\n\t\t}",
"(line = br.readLine()) != null && !line.isEmpty()",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"!line.isEmpty()",
"line.isEmpty()",
"line.isEmpty",
"line",
"{\n\t\t\thills[parseInt(line)]++;\n\t\t}",
"hills[parseInt(line)]++",
"hills[parseInt(line)]",
"hills",
"parseInt(line)",
"parseInt",
"line",
"int count = 0;",
"count",
"0",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\n\t\tint[] hills = new int[10001];\n\n\t\twhile ((line = br.readLine()) != null && !line.isEmpty()) {\n\t\t\thills[parseInt(line)]++;\n\t\t}\n\n\t\tint count = 0;\n\t\touter:\n\t\tfor (int i = hills.length - 1; ; i--) {\n\t\t\tif (hills[i] > 0) {\n\t\t\t\tfor (int j = 0; j < hills[i]; j++) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tcount++;\n\t\t\t\t\tif (count == 3) break outer;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\n\t\tint[] hills = new int[10001];\n\n\t\twhile ((line = br.readLine()) != null && !line.isEmpty()) {\n\t\t\thills[parseInt(line)]++;\n\t\t}\n\n\t\tint count = 0;\n\t\touter:\n\t\tfor (int i = hills.length - 1; ; i--) {\n\t\t\tif (hills[i] > 0) {\n\t\t\t\tfor (int j = 0; j < hills[i]; j++) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tcount++;\n\t\t\t\t\tif (count == 3) break outer;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import static java.lang.Integer.parseInt;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line;
int[] hills = new int[10001];
while ((line = br.readLine()) != null && !line.isEmpty()) {
hills[parseInt(line)]++;
}
int count = 0;
outer:
for (int i = hills.length - 1; ; i--) {
if (hills[i] > 0) {
for (int j = 0; j < hills[i]; j++) {
System.out.println(i);
count++;
if (count == 3) break outer;
}
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
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
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
72,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
82,
84
],
[
72,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
8,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
95,
96
],
[
95,
97
],
[
90,
98
],
[
98,
99
],
[
99,
100
],
[
90,
101
],
[
102,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
108,
109
],
[
108,
110
],
[
6,
111
],
[
111,
112
]
] | [
"import java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] args){\n\n\t\tint[] hills = new int[10];\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tfor( int i=0; i<10; i++ ){\n\t\t\thills[i] = stdIn.nextInt();\n\t\t}\n\n\t\tfor( int i=0; i<9; i++ ){\n\t\t\tfor( int j=i+1; j<10; j++ ){\n\t\t\t\tif( hills[i] < hills[j] ) {\n\t\t\t\t\tint tmp = hills[i];\n\t\t\t\t\thills[i] = hills[j];\n\t\t\t\t\thills[j] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor( int i=0; i<3; i++ ){\n\t\t\tSystem.out.println(hills[i]);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String[] args){\n\n\t\tint[] hills = new int[10];\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tfor( int i=0; i<10; i++ ){\n\t\t\thills[i] = stdIn.nextInt();\n\t\t}\n\n\t\tfor( int i=0; i<9; i++ ){\n\t\t\tfor( int j=i+1; j<10; j++ ){\n\t\t\t\tif( hills[i] < hills[j] ) {\n\t\t\t\t\tint tmp = hills[i];\n\t\t\t\t\thills[i] = hills[j];\n\t\t\t\t\thills[j] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor( int i=0; i<3; i++ ){\n\t\t\tSystem.out.println(hills[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\n\t\tint[] hills = new int[10];\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tfor( int i=0; i<10; i++ ){\n\t\t\thills[i] = stdIn.nextInt();\n\t\t}\n\n\t\tfor( int i=0; i<9; i++ ){\n\t\t\tfor( int j=i+1; j<10; j++ ){\n\t\t\t\tif( hills[i] < hills[j] ) {\n\t\t\t\t\tint tmp = hills[i];\n\t\t\t\t\thills[i] = hills[j];\n\t\t\t\t\thills[j] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor( int i=0; i<3; i++ ){\n\t\t\tSystem.out.println(hills[i]);\n\t\t}\n\t}",
"main",
"{\n\n\t\tint[] hills = new int[10];\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tfor( int i=0; i<10; i++ ){\n\t\t\thills[i] = stdIn.nextInt();\n\t\t}\n\n\t\tfor( int i=0; i<9; i++ ){\n\t\t\tfor( int j=i+1; j<10; j++ ){\n\t\t\t\tif( hills[i] < hills[j] ) {\n\t\t\t\t\tint tmp = hills[i];\n\t\t\t\t\thills[i] = hills[j];\n\t\t\t\t\thills[j] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor( int i=0; i<3; i++ ){\n\t\t\tSystem.out.println(hills[i]);\n\t\t}\n\t}",
"int[] hills = new int[10];",
"hills",
"new int[10]",
"10",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"for( int i=0; i<10; i++ ){\n\t\t\thills[i] = stdIn.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\thills[i] = stdIn.nextInt();\n\t\t}",
"{\n\t\t\thills[i] = stdIn.nextInt();\n\t\t}",
"hills[i] = stdIn.nextInt()",
"hills[i]",
"hills",
"i",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"for( int i=0; i<9; i++ ){\n\t\t\tfor( int j=i+1; j<10; j++ ){\n\t\t\t\tif( hills[i] < hills[j] ) {\n\t\t\t\t\tint tmp = hills[i];\n\t\t\t\t\thills[i] = hills[j];\n\t\t\t\t\thills[j] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<9",
"i",
"9",
"i++",
"i++",
"i",
"{\n\t\t\tfor( int j=i+1; j<10; j++ ){\n\t\t\t\tif( hills[i] < hills[j] ) {\n\t\t\t\t\tint tmp = hills[i];\n\t\t\t\t\thills[i] = hills[j];\n\t\t\t\t\thills[j] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor( int j=i+1; j<10; j++ ){\n\t\t\t\tif( hills[i] < hills[j] ) {\n\t\t\t\t\tint tmp = hills[i];\n\t\t\t\t\thills[i] = hills[j];\n\t\t\t\t\thills[j] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for( int j=i+1; j<10; j++ ){\n\t\t\t\tif( hills[i] < hills[j] ) {\n\t\t\t\t\tint tmp = hills[i];\n\t\t\t\t\thills[i] = hills[j];\n\t\t\t\t\thills[j] = tmp;\n\t\t\t\t}\n\t\t\t}",
"int j=i+1;",
"int j=i+1;",
"j",
"i+1",
"i",
"1",
"j<10",
"j",
"10",
"j++",
"j++",
"j",
"{\n\t\t\t\tif( hills[i] < hills[j] ) {\n\t\t\t\t\tint tmp = hills[i];\n\t\t\t\t\thills[i] = hills[j];\n\t\t\t\t\thills[j] = tmp;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif( hills[i] < hills[j] ) {\n\t\t\t\t\tint tmp = hills[i];\n\t\t\t\t\thills[i] = hills[j];\n\t\t\t\t\thills[j] = tmp;\n\t\t\t\t}\n\t\t\t}",
"if( hills[i] < hills[j] ) {\n\t\t\t\t\tint tmp = hills[i];\n\t\t\t\t\thills[i] = hills[j];\n\t\t\t\t\thills[j] = tmp;\n\t\t\t\t}",
"hills[i] < hills[j]",
"hills[i]",
"hills",
"i",
"hills[j]",
"hills",
"j",
"{\n\t\t\t\t\tint tmp = hills[i];\n\t\t\t\t\thills[i] = hills[j];\n\t\t\t\t\thills[j] = tmp;\n\t\t\t\t}",
"int tmp = hills[i];",
"tmp",
"hills[i]",
"hills",
"i",
"hills[i] = hills[j]",
"hills[i]",
"hills",
"i",
"hills[j]",
"hills",
"j",
"hills[j] = tmp",
"hills[j]",
"hills",
"j",
"tmp",
"for( int i=0; i<3; i++ ){\n\t\t\tSystem.out.println(hills[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(hills[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(hills[i]);\n\t\t}",
"System.out.println(hills[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"hills[i]",
"hills",
"i",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
int[] hills = new int[10];
Scanner stdIn = new Scanner(System.in);
for( int i=0; i<10; i++ ){
hills[i] = stdIn.nextInt();
}
for( int i=0; i<9; i++ ){
for( int j=i+1; j<10; j++ ){
if( hills[i] < hills[j] ) {
int tmp = hills[i];
hills[i] = hills[j];
hills[j] = tmp;
}
}
}
for( int i=0; i<3; i++ ){
System.out.println(hills[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
18,
13,
13,
14,
2,
13,
18,
13,
13,
30,
0,
13,
13,
0,
13,
18,
13,
13,
14,
2,
13,
18,
13,
13,
30,
0,
13,
18,
13,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
135,
8
],
[
135,
9
],
[
9,
10
],
[
9,
11
],
[
135,
13
],
[
13,
14
],
[
13,
15
],
[
135,
16
],
[
16,
17
],
[
16,
18
],
[
135,
19
],
[
19,
20
],
[
19,
21
],
[
135,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
24,
51
],
[
51,
52
],
[
24,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
24,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
24,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
22,
71
],
[
71,
72
],
[
135,
73
],
[
73,
74
],
[
73,
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
],
[
92,
93
],
[
92,
94
],
[
89,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
99,
100
],
[
99,
101
],
[
95,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
104,
106
],
[
89,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
110,
112
],
[
107,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
119,
121
],
[
107,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
125,
127
],
[
122,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
131,
133
],
[
0,
134
],
[
134,
135
],
[
134,
136
]
] | [
"import java.io.IOException;\nimport java.io.*;\n\npublic class Main {\n\t\n\tpublic static int[] source = new int[10];\t\n\tstatic int b1 = 0;\n\tstatic int b2 = 0;\n\tstatic int b3 = 0;\n\t\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i=0; i<10; i++){\n\t\t\tsource[i] = Integer.parseInt(in.readLine());\n\t\t}\n\t\tsort();\n\t\tSystem.out.println(b1);\n\t\tSystem.out.println(b2);\n\t\tSystem.out.println(b3);\n\t}\n\t\t\n\tpublic static void sort(){\n\t\tfor(int i=0; i<10; i++){\n\t\t\tif(b1 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = b1;\n\t\t\t\tb1 = source[i];\n\t\t\t}else if(b2 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = source[i];\n\t\t\t}else if(b3 < source[i]){\n\t\t\t\tb3 = source[i];\n\t\t\t}\n\t\t}\n\t}\n\t\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\t\n\tpublic static int[] source = new int[10];\t\n\tstatic int b1 = 0;\n\tstatic int b2 = 0;\n\tstatic int b3 = 0;\n\t\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i=0; i<10; i++){\n\t\t\tsource[i] = Integer.parseInt(in.readLine());\n\t\t}\n\t\tsort();\n\t\tSystem.out.println(b1);\n\t\tSystem.out.println(b2);\n\t\tSystem.out.println(b3);\n\t}\n\t\t\n\tpublic static void sort(){\n\t\tfor(int i=0; i<10; i++){\n\t\t\tif(b1 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = b1;\n\t\t\t\tb1 = source[i];\n\t\t\t}else if(b2 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = source[i];\n\t\t\t}else if(b3 < source[i]){\n\t\t\t\tb3 = source[i];\n\t\t\t}\n\t\t}\n\t}\n\t\n}",
"Main",
"public static int[] source = new int[10];",
"source",
"new int[10]",
"10",
"static int b1 = 0;",
"b1",
"0",
"static int b2 = 0;",
"b2",
"0",
"static int b3 = 0;",
"b3",
"0",
"public static void main(String args[]) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i=0; i<10; i++){\n\t\t\tsource[i] = Integer.parseInt(in.readLine());\n\t\t}\n\t\tsort();\n\t\tSystem.out.println(b1);\n\t\tSystem.out.println(b2);\n\t\tSystem.out.println(b3);\n\t}",
"main",
"{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i=0; i<10; i++){\n\t\t\tsource[i] = Integer.parseInt(in.readLine());\n\t\t}\n\t\tsort();\n\t\tSystem.out.println(b1);\n\t\tSystem.out.println(b2);\n\t\tSystem.out.println(b3);\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"for (int i=0; i<10; i++){\n\t\t\tsource[i] = Integer.parseInt(in.readLine());\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tsource[i] = Integer.parseInt(in.readLine());\n\t\t}",
"{\n\t\t\tsource[i] = Integer.parseInt(in.readLine());\n\t\t}",
"source[i] = Integer.parseInt(in.readLine())",
"source[i]",
"source",
"i",
"Integer.parseInt(in.readLine())",
"Integer.parseInt",
"Integer",
"in.readLine()",
"in.readLine",
"in",
"sort()",
"sort",
"System.out.println(b1)",
"System.out.println",
"System.out",
"System",
"System.out",
"b1",
"System.out.println(b2)",
"System.out.println",
"System.out",
"System",
"System.out",
"b2",
"System.out.println(b3)",
"System.out.println",
"System.out",
"System",
"System.out",
"b3",
"String args[]",
"args",
"public static void sort(){\n\t\tfor(int i=0; i<10; i++){\n\t\t\tif(b1 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = b1;\n\t\t\t\tb1 = source[i];\n\t\t\t}else if(b2 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = source[i];\n\t\t\t}else if(b3 < source[i]){\n\t\t\t\tb3 = source[i];\n\t\t\t}\n\t\t}\n\t}",
"sort",
"{\n\t\tfor(int i=0; i<10; i++){\n\t\t\tif(b1 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = b1;\n\t\t\t\tb1 = source[i];\n\t\t\t}else if(b2 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = source[i];\n\t\t\t}else if(b3 < source[i]){\n\t\t\t\tb3 = source[i];\n\t\t\t}\n\t\t}\n\t}",
"for(int i=0; i<10; i++){\n\t\t\tif(b1 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = b1;\n\t\t\t\tb1 = source[i];\n\t\t\t}else if(b2 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = source[i];\n\t\t\t}else if(b3 < source[i]){\n\t\t\t\tb3 = source[i];\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tif(b1 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = b1;\n\t\t\t\tb1 = source[i];\n\t\t\t}else if(b2 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = source[i];\n\t\t\t}else if(b3 < source[i]){\n\t\t\t\tb3 = source[i];\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(b1 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = b1;\n\t\t\t\tb1 = source[i];\n\t\t\t}else if(b2 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = source[i];\n\t\t\t}else if(b3 < source[i]){\n\t\t\t\tb3 = source[i];\n\t\t\t}\n\t\t}",
"if(b1 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = b1;\n\t\t\t\tb1 = source[i];\n\t\t\t}else if(b2 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = source[i];\n\t\t\t}else if(b3 < source[i]){\n\t\t\t\tb3 = source[i];\n\t\t\t}",
"b1 < source[i]",
"b1",
"source[i]",
"source",
"i",
"{\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = b1;\n\t\t\t\tb1 = source[i];\n\t\t\t}",
"b3 = b2",
"b3",
"b2",
"b2 = b1",
"b2",
"b1",
"b1 = source[i]",
"b1",
"source[i]",
"source",
"i",
"if(b2 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = source[i];\n\t\t\t}else if(b3 < source[i]){\n\t\t\t\tb3 = source[i];\n\t\t\t}",
"b2 < source[i]",
"b2",
"source[i]",
"source",
"i",
"{\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = source[i];\n\t\t\t}",
"b3 = b2",
"b3",
"b2",
"b2 = source[i]",
"b2",
"source[i]",
"source",
"i",
"if(b3 < source[i]){\n\t\t\t\tb3 = source[i];\n\t\t\t}",
"b3 < source[i]",
"b3",
"source[i]",
"source",
"i",
"{\n\t\t\t\tb3 = source[i];\n\t\t\t}",
"b3 = source[i]",
"b3",
"source[i]",
"source",
"i",
"public class Main {\n\t\n\tpublic static int[] source = new int[10];\t\n\tstatic int b1 = 0;\n\tstatic int b2 = 0;\n\tstatic int b3 = 0;\n\t\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i=0; i<10; i++){\n\t\t\tsource[i] = Integer.parseInt(in.readLine());\n\t\t}\n\t\tsort();\n\t\tSystem.out.println(b1);\n\t\tSystem.out.println(b2);\n\t\tSystem.out.println(b3);\n\t}\n\t\t\n\tpublic static void sort(){\n\t\tfor(int i=0; i<10; i++){\n\t\t\tif(b1 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = b1;\n\t\t\t\tb1 = source[i];\n\t\t\t}else if(b2 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = source[i];\n\t\t\t}else if(b3 < source[i]){\n\t\t\t\tb3 = source[i];\n\t\t\t}\n\t\t}\n\t}\n\t\n}",
"public class Main {\n\t\n\tpublic static int[] source = new int[10];\t\n\tstatic int b1 = 0;\n\tstatic int b2 = 0;\n\tstatic int b3 = 0;\n\t\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i=0; i<10; i++){\n\t\t\tsource[i] = Integer.parseInt(in.readLine());\n\t\t}\n\t\tsort();\n\t\tSystem.out.println(b1);\n\t\tSystem.out.println(b2);\n\t\tSystem.out.println(b3);\n\t}\n\t\t\n\tpublic static void sort(){\n\t\tfor(int i=0; i<10; i++){\n\t\t\tif(b1 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = b1;\n\t\t\t\tb1 = source[i];\n\t\t\t}else if(b2 < source[i]){\n\t\t\t\tb3 = b2;\n\t\t\t\tb2 = source[i];\n\t\t\t}else if(b3 < source[i]){\n\t\t\t\tb3 = source[i];\n\t\t\t}\n\t\t}\n\t}\n\t\n}",
"Main"
] | import java.io.IOException;
import java.io.*;
public class Main {
public static int[] source = new int[10];
static int b1 = 0;
static int b2 = 0;
static int b3 = 0;
public static void main(String args[]) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
for (int i=0; i<10; i++){
source[i] = Integer.parseInt(in.readLine());
}
sort();
System.out.println(b1);
System.out.println(b2);
System.out.println(b3);
}
public static void sort(){
for(int i=0; i<10; i++){
if(b1 < source[i]){
b3 = b2;
b2 = b1;
b1 = source[i];
}else if(b2 < source[i]){
b3 = b2;
b2 = source[i];
}else if(b3 < source[i]){
b3 = source[i];
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
38,
5,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
18,
13,
17,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
13,
14,
2,
13,
18,
13,
17,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
13,
14,
2,
13,
18,
13,
17,
30,
0,
18,
13,
17,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
139,
11
],
[
139,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
56,
57
],
[
49,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
58,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
64,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
58,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
84,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
95,
97
],
[
90,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
84,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
106,
108
],
[
103,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
14,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
120,
121
],
[
120,
122
],
[
115,
123
],
[
123,
124
],
[
124,
125
],
[
115,
126
],
[
127,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
128,
133
],
[
133,
134
],
[
133,
135
],
[
12,
136
],
[
136,
137
],
[
0,
138
],
[
138,
139
],
[
138,
140
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] top3 = new int[3];\n for(int i=0; i<10; i++){\n try {\n String line = br.readLine();\n if(line != null){\n int tmp = Integer.parseInt(line.trim());\n if(tmp>top3[0]){\n top3[2] = top3[1];\n top3[1] = top3[0];\n top3[0] = tmp;\n } else if(tmp>top3[1]){\n top3[2] = top3[1];\n top3[1] = tmp;\n } else if(tmp>top3[2]){\n top3[2] = tmp;\n }\n }\n } catch (IOException e) {\n }\n\n }\n for(int i=0; i<3; i++) {\n System.out.println(top3[i]);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] top3 = new int[3];\n for(int i=0; i<10; i++){\n try {\n String line = br.readLine();\n if(line != null){\n int tmp = Integer.parseInt(line.trim());\n if(tmp>top3[0]){\n top3[2] = top3[1];\n top3[1] = top3[0];\n top3[0] = tmp;\n } else if(tmp>top3[1]){\n top3[2] = top3[1];\n top3[1] = tmp;\n } else if(tmp>top3[2]){\n top3[2] = tmp;\n }\n }\n } catch (IOException e) {\n }\n\n }\n for(int i=0; i<3; i++) {\n System.out.println(top3[i]);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] top3 = new int[3];\n for(int i=0; i<10; i++){\n try {\n String line = br.readLine();\n if(line != null){\n int tmp = Integer.parseInt(line.trim());\n if(tmp>top3[0]){\n top3[2] = top3[1];\n top3[1] = top3[0];\n top3[0] = tmp;\n } else if(tmp>top3[1]){\n top3[2] = top3[1];\n top3[1] = tmp;\n } else if(tmp>top3[2]){\n top3[2] = tmp;\n }\n }\n } catch (IOException e) {\n }\n\n }\n for(int i=0; i<3; i++) {\n System.out.println(top3[i]);\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] top3 = new int[3];\n for(int i=0; i<10; i++){\n try {\n String line = br.readLine();\n if(line != null){\n int tmp = Integer.parseInt(line.trim());\n if(tmp>top3[0]){\n top3[2] = top3[1];\n top3[1] = top3[0];\n top3[0] = tmp;\n } else if(tmp>top3[1]){\n top3[2] = top3[1];\n top3[1] = tmp;\n } else if(tmp>top3[2]){\n top3[2] = tmp;\n }\n }\n } catch (IOException e) {\n }\n\n }\n for(int i=0; i<3; i++) {\n System.out.println(top3[i]);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] top3 = new int[3];",
"top3",
"new int[3]",
"3",
"for(int i=0; i<10; i++){\n try {\n String line = br.readLine();\n if(line != null){\n int tmp = Integer.parseInt(line.trim());\n if(tmp>top3[0]){\n top3[2] = top3[1];\n top3[1] = top3[0];\n top3[0] = tmp;\n } else if(tmp>top3[1]){\n top3[2] = top3[1];\n top3[1] = tmp;\n } else if(tmp>top3[2]){\n top3[2] = tmp;\n }\n }\n } catch (IOException e) {\n }\n\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n try {\n String line = br.readLine();\n if(line != null){\n int tmp = Integer.parseInt(line.trim());\n if(tmp>top3[0]){\n top3[2] = top3[1];\n top3[1] = top3[0];\n top3[0] = tmp;\n } else if(tmp>top3[1]){\n top3[2] = top3[1];\n top3[1] = tmp;\n } else if(tmp>top3[2]){\n top3[2] = tmp;\n }\n }\n } catch (IOException e) {\n }\n\n }",
"{\n try {\n String line = br.readLine();\n if(line != null){\n int tmp = Integer.parseInt(line.trim());\n if(tmp>top3[0]){\n top3[2] = top3[1];\n top3[1] = top3[0];\n top3[0] = tmp;\n } else if(tmp>top3[1]){\n top3[2] = top3[1];\n top3[1] = tmp;\n } else if(tmp>top3[2]){\n top3[2] = tmp;\n }\n }\n } catch (IOException e) {\n }\n\n }",
"try {\n String line = br.readLine();\n if(line != null){\n int tmp = Integer.parseInt(line.trim());\n if(tmp>top3[0]){\n top3[2] = top3[1];\n top3[1] = top3[0];\n top3[0] = tmp;\n } else if(tmp>top3[1]){\n top3[2] = top3[1];\n top3[1] = tmp;\n } else if(tmp>top3[2]){\n top3[2] = tmp;\n }\n }\n } catch (IOException e) {\n }",
"catch (IOException e) {\n }",
"IOException e",
"{\n }",
"{\n String line = br.readLine();\n if(line != null){\n int tmp = Integer.parseInt(line.trim());\n if(tmp>top3[0]){\n top3[2] = top3[1];\n top3[1] = top3[0];\n top3[0] = tmp;\n } else if(tmp>top3[1]){\n top3[2] = top3[1];\n top3[1] = tmp;\n } else if(tmp>top3[2]){\n top3[2] = tmp;\n }\n }\n }",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"if(line != null){\n int tmp = Integer.parseInt(line.trim());\n if(tmp>top3[0]){\n top3[2] = top3[1];\n top3[1] = top3[0];\n top3[0] = tmp;\n } else if(tmp>top3[1]){\n top3[2] = top3[1];\n top3[1] = tmp;\n } else if(tmp>top3[2]){\n top3[2] = tmp;\n }\n }",
"line != null",
"line",
"null",
"{\n int tmp = Integer.parseInt(line.trim());\n if(tmp>top3[0]){\n top3[2] = top3[1];\n top3[1] = top3[0];\n top3[0] = tmp;\n } else if(tmp>top3[1]){\n top3[2] = top3[1];\n top3[1] = tmp;\n } else if(tmp>top3[2]){\n top3[2] = tmp;\n }\n }",
"int tmp = Integer.parseInt(line.trim());",
"tmp",
"Integer.parseInt(line.trim())",
"Integer.parseInt",
"Integer",
"line.trim()",
"line.trim",
"line",
"if(tmp>top3[0]){\n top3[2] = top3[1];\n top3[1] = top3[0];\n top3[0] = tmp;\n } else if(tmp>top3[1]){\n top3[2] = top3[1];\n top3[1] = tmp;\n } else if(tmp>top3[2]){\n top3[2] = tmp;\n }",
"tmp>top3[0]",
"tmp",
"top3[0]",
"top3",
"0",
"{\n top3[2] = top3[1];\n top3[1] = top3[0];\n top3[0] = tmp;\n }",
"top3[2] = top3[1]",
"top3[2]",
"top3",
"2",
"top3[1]",
"top3",
"1",
"top3[1] = top3[0]",
"top3[1]",
"top3",
"1",
"top3[0]",
"top3",
"0",
"top3[0] = tmp",
"top3[0]",
"top3",
"0",
"tmp",
"if(tmp>top3[1]){\n top3[2] = top3[1];\n top3[1] = tmp;\n } else if(tmp>top3[2]){\n top3[2] = tmp;\n }",
"tmp>top3[1]",
"tmp",
"top3[1]",
"top3",
"1",
"{\n top3[2] = top3[1];\n top3[1] = tmp;\n }",
"top3[2] = top3[1]",
"top3[2]",
"top3",
"2",
"top3[1]",
"top3",
"1",
"top3[1] = tmp",
"top3[1]",
"top3",
"1",
"tmp",
"if(tmp>top3[2]){\n top3[2] = tmp;\n }",
"tmp>top3[2]",
"tmp",
"top3[2]",
"top3",
"2",
"{\n top3[2] = tmp;\n }",
"top3[2] = tmp",
"top3[2]",
"top3",
"2",
"tmp",
"for(int i=0; i<3; i++) {\n System.out.println(top3[i]);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(top3[i]);\n }",
"{\n System.out.println(top3[i]);\n }",
"System.out.println(top3[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"top3[i]",
"top3",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] top3 = new int[3];\n for(int i=0; i<10; i++){\n try {\n String line = br.readLine();\n if(line != null){\n int tmp = Integer.parseInt(line.trim());\n if(tmp>top3[0]){\n top3[2] = top3[1];\n top3[1] = top3[0];\n top3[0] = tmp;\n } else if(tmp>top3[1]){\n top3[2] = top3[1];\n top3[1] = tmp;\n } else if(tmp>top3[2]){\n top3[2] = tmp;\n }\n }\n } catch (IOException e) {\n }\n\n }\n for(int i=0; i<3; i++) {\n System.out.println(top3[i]);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] top3 = new int[3];\n for(int i=0; i<10; i++){\n try {\n String line = br.readLine();\n if(line != null){\n int tmp = Integer.parseInt(line.trim());\n if(tmp>top3[0]){\n top3[2] = top3[1];\n top3[1] = top3[0];\n top3[0] = tmp;\n } else if(tmp>top3[1]){\n top3[2] = top3[1];\n top3[1] = tmp;\n } else if(tmp>top3[2]){\n top3[2] = tmp;\n }\n }\n } catch (IOException e) {\n }\n\n }\n for(int i=0; i<3; i++) {\n System.out.println(top3[i]);\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int[] top3 = new int[3];
for(int i=0; i<10; i++){
try {
String line = br.readLine();
if(line != null){
int tmp = Integer.parseInt(line.trim());
if(tmp>top3[0]){
top3[2] = top3[1];
top3[1] = top3[0];
top3[0] = tmp;
} else if(tmp>top3[1]){
top3[2] = top3[1];
top3[1] = tmp;
} else if(tmp>top3[2]){
top3[2] = tmp;
}
}
} catch (IOException e) {
}
}
for(int i=0; i<3; i++) {
System.out.println(top3[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
41,
13,
39,
17,
17,
17,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
14,
2,
18,
13,
17,
13,
30,
0,
13,
18,
13,
17,
0,
18,
13,
17,
13,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
13,
0,
13,
17,
14,
2,
18,
13,
17,
13,
30,
0,
13,
18,
13,
17,
0,
18,
13,
17,
13,
0,
18,
13,
17,
13,
0,
13,
17,
14,
2,
18,
13,
17,
13,
30,
0,
18,
13,
17,
13,
30,
9,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
117,
5
],
[
117,
6
],
[
6,
7
],
[
117,
8
],
[
8,
9
],
[
117,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
18,
20
],
[
18,
21
],
[
12,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
38,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
38,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
38,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
38,
61
],
[
61,
62
],
[
61,
63
],
[
32,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
64,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
70,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
70,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
70,
86
],
[
86,
87
],
[
86,
88
],
[
64,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
89,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
89,
101
],
[
101,
102
],
[
12,
103
],
[
103,
104
],
[
103,
105
],
[
103,
106
],
[
107,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
10,
114
],
[
114,
115
],
[
0,
116
],
[
116,
117
],
[
116,
118
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n private static int input_num , temp;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n int[] best3_height = {0, 0, 0};\n while (stdIn.hasNextInt()) {\n input_num = stdIn.nextInt();\n if (best3_height[0] < input_num) {\n temp = best3_height[0];\n best3_height[0] = input_num;\n best3_height[2] = best3_height[1];\n best3_height[1] = temp;\n temp = 0;\n } else if (best3_height[1] < input_num) {\n temp = best3_height[1];\n best3_height[1] = input_num;\n best3_height[2] = temp;\n temp = 0;\n } else if (best3_height[2] < input_num) {\n best3_height[2] = input_num;\n } else {\n continue;\n }\n }\n for (int height : best3_height) {\n System.out.println(height);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n private static int input_num , temp;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n int[] best3_height = {0, 0, 0};\n while (stdIn.hasNextInt()) {\n input_num = stdIn.nextInt();\n if (best3_height[0] < input_num) {\n temp = best3_height[0];\n best3_height[0] = input_num;\n best3_height[2] = best3_height[1];\n best3_height[1] = temp;\n temp = 0;\n } else if (best3_height[1] < input_num) {\n temp = best3_height[1];\n best3_height[1] = input_num;\n best3_height[2] = temp;\n temp = 0;\n } else if (best3_height[2] < input_num) {\n best3_height[2] = input_num;\n } else {\n continue;\n }\n }\n for (int height : best3_height) {\n System.out.println(height);\n }\n }\n}",
"Main",
"private static int input_num",
"input_num",
"temp;",
"temp",
"public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n int[] best3_height = {0, 0, 0};\n while (stdIn.hasNextInt()) {\n input_num = stdIn.nextInt();\n if (best3_height[0] < input_num) {\n temp = best3_height[0];\n best3_height[0] = input_num;\n best3_height[2] = best3_height[1];\n best3_height[1] = temp;\n temp = 0;\n } else if (best3_height[1] < input_num) {\n temp = best3_height[1];\n best3_height[1] = input_num;\n best3_height[2] = temp;\n temp = 0;\n } else if (best3_height[2] < input_num) {\n best3_height[2] = input_num;\n } else {\n continue;\n }\n }\n for (int height : best3_height) {\n System.out.println(height);\n }\n }",
"main",
"{\n Scanner stdIn = new Scanner(System.in);\n int[] best3_height = {0, 0, 0};\n while (stdIn.hasNextInt()) {\n input_num = stdIn.nextInt();\n if (best3_height[0] < input_num) {\n temp = best3_height[0];\n best3_height[0] = input_num;\n best3_height[2] = best3_height[1];\n best3_height[1] = temp;\n temp = 0;\n } else if (best3_height[1] < input_num) {\n temp = best3_height[1];\n best3_height[1] = input_num;\n best3_height[2] = temp;\n temp = 0;\n } else if (best3_height[2] < input_num) {\n best3_height[2] = input_num;\n } else {\n continue;\n }\n }\n for (int height : best3_height) {\n System.out.println(height);\n }\n }",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int[] best3_height = {0, 0, 0};",
"best3_height",
"{0, 0, 0}",
"0",
"0",
"0",
"while (stdIn.hasNextInt()) {\n input_num = stdIn.nextInt();\n if (best3_height[0] < input_num) {\n temp = best3_height[0];\n best3_height[0] = input_num;\n best3_height[2] = best3_height[1];\n best3_height[1] = temp;\n temp = 0;\n } else if (best3_height[1] < input_num) {\n temp = best3_height[1];\n best3_height[1] = input_num;\n best3_height[2] = temp;\n temp = 0;\n } else if (best3_height[2] < input_num) {\n best3_height[2] = input_num;\n } else {\n continue;\n }\n }",
"stdIn.hasNextInt()",
"stdIn.hasNextInt",
"stdIn",
"{\n input_num = stdIn.nextInt();\n if (best3_height[0] < input_num) {\n temp = best3_height[0];\n best3_height[0] = input_num;\n best3_height[2] = best3_height[1];\n best3_height[1] = temp;\n temp = 0;\n } else if (best3_height[1] < input_num) {\n temp = best3_height[1];\n best3_height[1] = input_num;\n best3_height[2] = temp;\n temp = 0;\n } else if (best3_height[2] < input_num) {\n best3_height[2] = input_num;\n } else {\n continue;\n }\n }",
"input_num = stdIn.nextInt()",
"input_num",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"if (best3_height[0] < input_num) {\n temp = best3_height[0];\n best3_height[0] = input_num;\n best3_height[2] = best3_height[1];\n best3_height[1] = temp;\n temp = 0;\n } else if (best3_height[1] < input_num) {\n temp = best3_height[1];\n best3_height[1] = input_num;\n best3_height[2] = temp;\n temp = 0;\n } else if (best3_height[2] < input_num) {\n best3_height[2] = input_num;\n } else {\n continue;\n }",
"best3_height[0] < input_num",
"best3_height[0]",
"best3_height",
"0",
"input_num",
"{\n temp = best3_height[0];\n best3_height[0] = input_num;\n best3_height[2] = best3_height[1];\n best3_height[1] = temp;\n temp = 0;\n }",
"temp = best3_height[0]",
"temp",
"best3_height[0]",
"best3_height",
"0",
"best3_height[0] = input_num",
"best3_height[0]",
"best3_height",
"0",
"input_num",
"best3_height[2] = best3_height[1]",
"best3_height[2]",
"best3_height",
"2",
"best3_height[1]",
"best3_height",
"1",
"best3_height[1] = temp",
"best3_height[1]",
"best3_height",
"1",
"temp",
"temp = 0",
"temp",
"0",
"if (best3_height[1] < input_num) {\n temp = best3_height[1];\n best3_height[1] = input_num;\n best3_height[2] = temp;\n temp = 0;\n } else if (best3_height[2] < input_num) {\n best3_height[2] = input_num;\n } else {\n continue;\n }",
"best3_height[1] < input_num",
"best3_height[1]",
"best3_height",
"1",
"input_num",
"{\n temp = best3_height[1];\n best3_height[1] = input_num;\n best3_height[2] = temp;\n temp = 0;\n }",
"temp = best3_height[1]",
"temp",
"best3_height[1]",
"best3_height",
"1",
"best3_height[1] = input_num",
"best3_height[1]",
"best3_height",
"1",
"input_num",
"best3_height[2] = temp",
"best3_height[2]",
"best3_height",
"2",
"temp",
"temp = 0",
"temp",
"0",
"if (best3_height[2] < input_num) {\n best3_height[2] = input_num;\n } else {\n continue;\n }",
"best3_height[2] < input_num",
"best3_height[2]",
"best3_height",
"2",
"input_num",
"{\n best3_height[2] = input_num;\n }",
"best3_height[2] = input_num",
"best3_height[2]",
"best3_height",
"2",
"input_num",
"{\n continue;\n }",
"continue;",
"for (int height : best3_height) {\n System.out.println(height);\n }",
"int height",
"best3_height",
"{\n System.out.println(height);\n }",
"{\n System.out.println(height);\n }",
"System.out.println(height)",
"System.out.println",
"System.out",
"System",
"System.out",
"height",
"String[] args",
"args",
"public class Main {\n private static int input_num , temp;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n int[] best3_height = {0, 0, 0};\n while (stdIn.hasNextInt()) {\n input_num = stdIn.nextInt();\n if (best3_height[0] < input_num) {\n temp = best3_height[0];\n best3_height[0] = input_num;\n best3_height[2] = best3_height[1];\n best3_height[1] = temp;\n temp = 0;\n } else if (best3_height[1] < input_num) {\n temp = best3_height[1];\n best3_height[1] = input_num;\n best3_height[2] = temp;\n temp = 0;\n } else if (best3_height[2] < input_num) {\n best3_height[2] = input_num;\n } else {\n continue;\n }\n }\n for (int height : best3_height) {\n System.out.println(height);\n }\n }\n}",
"public class Main {\n private static int input_num , temp;\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n int[] best3_height = {0, 0, 0};\n while (stdIn.hasNextInt()) {\n input_num = stdIn.nextInt();\n if (best3_height[0] < input_num) {\n temp = best3_height[0];\n best3_height[0] = input_num;\n best3_height[2] = best3_height[1];\n best3_height[1] = temp;\n temp = 0;\n } else if (best3_height[1] < input_num) {\n temp = best3_height[1];\n best3_height[1] = input_num;\n best3_height[2] = temp;\n temp = 0;\n } else if (best3_height[2] < input_num) {\n best3_height[2] = input_num;\n } else {\n continue;\n }\n }\n for (int height : best3_height) {\n System.out.println(height);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
private static int input_num , temp;
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
int[] best3_height = {0, 0, 0};
while (stdIn.hasNextInt()) {
input_num = stdIn.nextInt();
if (best3_height[0] < input_num) {
temp = best3_height[0];
best3_height[0] = input_num;
best3_height[2] = best3_height[1];
best3_height[1] = temp;
temp = 0;
} else if (best3_height[1] < input_num) {
temp = best3_height[1];
best3_height[1] = input_num;
best3_height[2] = temp;
temp = 0;
} else if (best3_height[2] < input_num) {
best3_height[2] = input_num;
} else {
continue;
}
}
for (int height : best3_height) {
System.out.println(height);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
59,
5
],
[
59,
6
],
[
6,
7
],
[
6,
8
],
[
59,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
11,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
11,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
9,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"import java.util.*;\n\npublic class Main {\n public static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n ArrayList<Integer> ali = new ArrayList<>();\n while(scn.hasNextInt()) {\n ali.add(scn.nextInt());\n }\n Collections.sort(ali);\n Collections.reverse(ali);\n for(int i = 0; i < 3; i++) {\n System.out.println(ali.get(i));\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n ArrayList<Integer> ali = new ArrayList<>();\n while(scn.hasNextInt()) {\n ali.add(scn.nextInt());\n }\n Collections.sort(ali);\n Collections.reverse(ali);\n for(int i = 0; i < 3; i++) {\n System.out.println(ali.get(i));\n }\n }\n}",
"Main",
"public static final Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"public static void main(String[] args) {\n ArrayList<Integer> ali = new ArrayList<>();\n while(scn.hasNextInt()) {\n ali.add(scn.nextInt());\n }\n Collections.sort(ali);\n Collections.reverse(ali);\n for(int i = 0; i < 3; i++) {\n System.out.println(ali.get(i));\n }\n }",
"main",
"{\n ArrayList<Integer> ali = new ArrayList<>();\n while(scn.hasNextInt()) {\n ali.add(scn.nextInt());\n }\n Collections.sort(ali);\n Collections.reverse(ali);\n for(int i = 0; i < 3; i++) {\n System.out.println(ali.get(i));\n }\n }",
"ArrayList<Integer> ali = new ArrayList<>();",
"ali",
"new ArrayList<>()",
"while(scn.hasNextInt()) {\n ali.add(scn.nextInt());\n }",
"scn.hasNextInt()",
"scn.hasNextInt",
"scn",
"{\n ali.add(scn.nextInt());\n }",
"ali.add(scn.nextInt())",
"ali.add",
"ali",
"scn.nextInt()",
"scn.nextInt",
"scn",
"Collections.sort(ali)",
"Collections.sort",
"Collections",
"ali",
"Collections.reverse(ali)",
"Collections.reverse",
"Collections",
"ali",
"for(int i = 0; i < 3; i++) {\n System.out.println(ali.get(i));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(ali.get(i));\n }",
"{\n System.out.println(ali.get(i));\n }",
"System.out.println(ali.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"ali.get(i)",
"ali.get",
"ali",
"i",
"String[] args",
"args",
"public class Main {\n public static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n ArrayList<Integer> ali = new ArrayList<>();\n while(scn.hasNextInt()) {\n ali.add(scn.nextInt());\n }\n Collections.sort(ali);\n Collections.reverse(ali);\n for(int i = 0; i < 3; i++) {\n System.out.println(ali.get(i));\n }\n }\n}",
"public class Main {\n public static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n ArrayList<Integer> ali = new ArrayList<>();\n while(scn.hasNextInt()) {\n ali.add(scn.nextInt());\n }\n Collections.sort(ali);\n Collections.reverse(ali);\n for(int i = 0; i < 3; i++) {\n System.out.println(ali.get(i));\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static final Scanner scn = new Scanner(System.in);
public static void main(String[] args) {
ArrayList<Integer> ali = new ArrayList<>();
while(scn.hasNextInt()) {
ali.add(scn.nextInt());
}
Collections.sort(ali);
Collections.reverse(ali);
for(int i = 0; i < 3; i++) {
System.out.println(ali.get(i));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
13,
30,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
2,
13,
17,
0,
18,
13,
13,
13,
3,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
119,
5
],
[
119,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
8,
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
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
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
],
[
52,
56
],
[
51,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
58,
67
],
[
67,
68
],
[
67,
69
],
[
58,
70
],
[
70,
71
],
[
71,
72
],
[
58,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
57,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
57,
89
],
[
8,
90
],
[
90,
91
],
[
91,
92
],
[
8,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
93,
103
],
[
103,
104
],
[
104,
105
],
[
93,
106
],
[
107,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
113,
114
],
[
113,
115
],
[
6,
116
],
[
116,
117
],
[
0,
118
],
[
118,
119
],
[
118,
120
]
] | [
"import java.util.Scanner;\npublic class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan=new Scanner(System.in);\n\t\tint[] tops=new int[3];\n\t\tint height;\n\t\tfor(int h=0;h<10;h++){\n\t\t\theight=scan.nextInt();\n\t\t\tfor(int i=0;i<tops.length;i++){\n\t\t\t\tif(tops[i]<height){\n\t\t\t\t\tfor(int j=tops.length-1;i<j;j--){\n\t\t\t\t\t\ttops[j]=tops[j-1];\n\t\t\t\t\t}\n\t\t\t\t\ttops[i]=height;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t\tfor(int i=0;i<tops.length;i++){\n\t\t\tSystem.out.println(tops[i]);\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{\n\t\tScanner scan=new Scanner(System.in);\n\t\tint[] tops=new int[3];\n\t\tint height;\n\t\tfor(int h=0;h<10;h++){\n\t\t\theight=scan.nextInt();\n\t\t\tfor(int i=0;i<tops.length;i++){\n\t\t\t\tif(tops[i]<height){\n\t\t\t\t\tfor(int j=tops.length-1;i<j;j--){\n\t\t\t\t\t\ttops[j]=tops[j-1];\n\t\t\t\t\t}\n\t\t\t\t\ttops[i]=height;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t\tfor(int i=0;i<tops.length;i++){\n\t\t\tSystem.out.println(tops[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner scan=new Scanner(System.in);\n\t\tint[] tops=new int[3];\n\t\tint height;\n\t\tfor(int h=0;h<10;h++){\n\t\t\theight=scan.nextInt();\n\t\t\tfor(int i=0;i<tops.length;i++){\n\t\t\t\tif(tops[i]<height){\n\t\t\t\t\tfor(int j=tops.length-1;i<j;j--){\n\t\t\t\t\t\ttops[j]=tops[j-1];\n\t\t\t\t\t}\n\t\t\t\t\ttops[i]=height;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t\tfor(int i=0;i<tops.length;i++){\n\t\t\tSystem.out.println(tops[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan=new Scanner(System.in);\n\t\tint[] tops=new int[3];\n\t\tint height;\n\t\tfor(int h=0;h<10;h++){\n\t\t\theight=scan.nextInt();\n\t\t\tfor(int i=0;i<tops.length;i++){\n\t\t\t\tif(tops[i]<height){\n\t\t\t\t\tfor(int j=tops.length-1;i<j;j--){\n\t\t\t\t\t\ttops[j]=tops[j-1];\n\t\t\t\t\t}\n\t\t\t\t\ttops[i]=height;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t\tfor(int i=0;i<tops.length;i++){\n\t\t\tSystem.out.println(tops[i]);\n\t\t}\n\t}",
"Scanner scan=new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] tops=new int[3];",
"tops",
"new int[3]",
"3",
"int height;",
"height",
"for(int h=0;h<10;h++){\n\t\t\theight=scan.nextInt();\n\t\t\tfor(int i=0;i<tops.length;i++){\n\t\t\t\tif(tops[i]<height){\n\t\t\t\t\tfor(int j=tops.length-1;i<j;j--){\n\t\t\t\t\t\ttops[j]=tops[j-1];\n\t\t\t\t\t}\n\t\t\t\t\ttops[i]=height;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int h=0;",
"int h=0;",
"h",
"0",
"h<10",
"h",
"10",
"h++",
"h++",
"h",
"{\n\t\t\theight=scan.nextInt();\n\t\t\tfor(int i=0;i<tops.length;i++){\n\t\t\t\tif(tops[i]<height){\n\t\t\t\t\tfor(int j=tops.length-1;i<j;j--){\n\t\t\t\t\t\ttops[j]=tops[j-1];\n\t\t\t\t\t}\n\t\t\t\t\ttops[i]=height;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\theight=scan.nextInt();\n\t\t\tfor(int i=0;i<tops.length;i++){\n\t\t\t\tif(tops[i]<height){\n\t\t\t\t\tfor(int j=tops.length-1;i<j;j--){\n\t\t\t\t\t\ttops[j]=tops[j-1];\n\t\t\t\t\t}\n\t\t\t\t\ttops[i]=height;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"height=scan.nextInt()",
"height",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(int i=0;i<tops.length;i++){\n\t\t\t\tif(tops[i]<height){\n\t\t\t\t\tfor(int j=tops.length-1;i<j;j--){\n\t\t\t\t\t\ttops[j]=tops[j-1];\n\t\t\t\t\t}\n\t\t\t\t\ttops[i]=height;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<tops.length",
"i",
"tops.length",
"tops",
"tops.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tif(tops[i]<height){\n\t\t\t\t\tfor(int j=tops.length-1;i<j;j--){\n\t\t\t\t\t\ttops[j]=tops[j-1];\n\t\t\t\t\t}\n\t\t\t\t\ttops[i]=height;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(tops[i]<height){\n\t\t\t\t\tfor(int j=tops.length-1;i<j;j--){\n\t\t\t\t\t\ttops[j]=tops[j-1];\n\t\t\t\t\t}\n\t\t\t\t\ttops[i]=height;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"if(tops[i]<height){\n\t\t\t\t\tfor(int j=tops.length-1;i<j;j--){\n\t\t\t\t\t\ttops[j]=tops[j-1];\n\t\t\t\t\t}\n\t\t\t\t\ttops[i]=height;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"tops[i]<height",
"tops[i]",
"tops",
"i",
"height",
"{\n\t\t\t\t\tfor(int j=tops.length-1;i<j;j--){\n\t\t\t\t\t\ttops[j]=tops[j-1];\n\t\t\t\t\t}\n\t\t\t\t\ttops[i]=height;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"for(int j=tops.length-1;i<j;j--){\n\t\t\t\t\t\ttops[j]=tops[j-1];\n\t\t\t\t\t}",
"int j=tops.length-1;",
"int j=tops.length-1;",
"j",
"tops.length-1",
"tops.length",
"tops",
"tops.length",
"1",
"i<j",
"i",
"j",
"j--",
"j--",
"j",
"{\n\t\t\t\t\t\ttops[j]=tops[j-1];\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\ttops[j]=tops[j-1];\n\t\t\t\t\t}",
"tops[j]=tops[j-1]",
"tops[j]",
"tops",
"j",
"tops[j-1]",
"tops",
"j-1",
"j",
"1",
"tops[i]=height",
"tops[i]",
"tops",
"i",
"height",
"break;",
"scan.close()",
"scan.close",
"scan",
"for(int i=0;i<tops.length;i++){\n\t\t\tSystem.out.println(tops[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<tops.length",
"i",
"tops.length",
"tops",
"tops.length",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(tops[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(tops[i]);\n\t\t}",
"System.out.println(tops[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"tops[i]",
"tops",
"i",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan=new Scanner(System.in);\n\t\tint[] tops=new int[3];\n\t\tint height;\n\t\tfor(int h=0;h<10;h++){\n\t\t\theight=scan.nextInt();\n\t\t\tfor(int i=0;i<tops.length;i++){\n\t\t\t\tif(tops[i]<height){\n\t\t\t\t\tfor(int j=tops.length-1;i<j;j--){\n\t\t\t\t\t\ttops[j]=tops[j-1];\n\t\t\t\t\t}\n\t\t\t\t\ttops[i]=height;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t\tfor(int i=0;i<tops.length;i++){\n\t\t\tSystem.out.println(tops[i]);\n\t\t}\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan=new Scanner(System.in);\n\t\tint[] tops=new int[3];\n\t\tint height;\n\t\tfor(int h=0;h<10;h++){\n\t\t\theight=scan.nextInt();\n\t\t\tfor(int i=0;i<tops.length;i++){\n\t\t\t\tif(tops[i]<height){\n\t\t\t\t\tfor(int j=tops.length-1;i<j;j--){\n\t\t\t\t\t\ttops[j]=tops[j-1];\n\t\t\t\t\t}\n\t\t\t\t\ttops[i]=height;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t\tfor(int i=0;i<tops.length;i++){\n\t\t\tSystem.out.println(tops[i]);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner scan=new Scanner(System.in);
int[] tops=new int[3];
int height;
for(int h=0;h<10;h++){
height=scan.nextInt();
for(int i=0;i<tops.length;i++){
if(tops[i]<height){
for(int j=tops.length-1;i<j;j--){
tops[j]=tops[j-1];
}
tops[i]=height;
break;
}
}
}
scan.close();
for(int i=0;i<tops.length;i++){
System.out.println(tops[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
14,
2,
18,
13,
13,
17,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
41,
13,
4,
18,
13,
18,
13,
13,
14,
2,
13,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
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
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
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
],
[
49,
52
],
[
52,
53
],
[
53,
54
],
[
28,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
28,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
59,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
22,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
86,
88
],
[
81,
89
],
[
89,
90
],
[
90,
91
],
[
81,
92
],
[
93,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
99,
100
],
[
99,
101
],
[
94,
102
],
[
102,
103
],
[
103,
104
],
[
94,
105
],
[
106,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
112,
113
],
[
112,
114
],
[
106,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
120,
121
],
[
120,
122
],
[
106,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
130,
132
],
[
127,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
137,
138
],
[
137,
139
],
[
127,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
80,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
145,
150
],
[
150,
151
],
[
150,
152
],
[
145,
153
],
[
153,
154
],
[
154,
155
],
[
145,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
157,
162
],
[
162,
163
],
[
162,
164
],
[
15,
165
],
[
165,
166
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nimport java.io.IOException;\n\nclass Main{\n public static void main(String[] args) throws IOException{\n int arr[] = new int[10];\n\t\tif(args.length == 0) {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t for(int i=0;i<10;i++){\n\t arr[i] = Integer.parseInt(br.readLine());\n\t }\n\t \n\t Arrays.sort(arr);\n\t \n\t for(int i=9;i > 6;i--){\n\t System.out.println(arr[i]);\n\t }\n\t\t}\n\t\telse {\n\t\tfor(int i=0;i<10;i++) {\n\t\t\tfor(int j=0;j<=i;j++) {\n\t\t\t\tint height1 = Integer.parseInt(args[i]);\n\t\t\t\tint height2 = Integer.parseInt(args[j]);\n\t\t\t\tif(height1>height2) {\n\t\t\t\t\tString temp = args[i];\n\t\t\t\t\targs[i] = args[j];\n\t\t\t\t\targs[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tfor(int i=0;i<3;i++)\n\t\t\tSystem.out.println(args[i]);\n\t\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.io.IOException;",
"IOException",
"java.io",
"class Main{\n public static void main(String[] args) throws IOException{\n int arr[] = new int[10];\n\t\tif(args.length == 0) {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t for(int i=0;i<10;i++){\n\t arr[i] = Integer.parseInt(br.readLine());\n\t }\n\t \n\t Arrays.sort(arr);\n\t \n\t for(int i=9;i > 6;i--){\n\t System.out.println(arr[i]);\n\t }\n\t\t}\n\t\telse {\n\t\tfor(int i=0;i<10;i++) {\n\t\t\tfor(int j=0;j<=i;j++) {\n\t\t\t\tint height1 = Integer.parseInt(args[i]);\n\t\t\t\tint height2 = Integer.parseInt(args[j]);\n\t\t\t\tif(height1>height2) {\n\t\t\t\t\tString temp = args[i];\n\t\t\t\t\targs[i] = args[j];\n\t\t\t\t\targs[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tfor(int i=0;i<3;i++)\n\t\t\tSystem.out.println(args[i]);\n\t\t}\n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n int arr[] = new int[10];\n\t\tif(args.length == 0) {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t for(int i=0;i<10;i++){\n\t arr[i] = Integer.parseInt(br.readLine());\n\t }\n\t \n\t Arrays.sort(arr);\n\t \n\t for(int i=9;i > 6;i--){\n\t System.out.println(arr[i]);\n\t }\n\t\t}\n\t\telse {\n\t\tfor(int i=0;i<10;i++) {\n\t\t\tfor(int j=0;j<=i;j++) {\n\t\t\t\tint height1 = Integer.parseInt(args[i]);\n\t\t\t\tint height2 = Integer.parseInt(args[j]);\n\t\t\t\tif(height1>height2) {\n\t\t\t\t\tString temp = args[i];\n\t\t\t\t\targs[i] = args[j];\n\t\t\t\t\targs[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tfor(int i=0;i<3;i++)\n\t\t\tSystem.out.println(args[i]);\n\t\t}\n }",
"main",
"{\n int arr[] = new int[10];\n\t\tif(args.length == 0) {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t for(int i=0;i<10;i++){\n\t arr[i] = Integer.parseInt(br.readLine());\n\t }\n\t \n\t Arrays.sort(arr);\n\t \n\t for(int i=9;i > 6;i--){\n\t System.out.println(arr[i]);\n\t }\n\t\t}\n\t\telse {\n\t\tfor(int i=0;i<10;i++) {\n\t\t\tfor(int j=0;j<=i;j++) {\n\t\t\t\tint height1 = Integer.parseInt(args[i]);\n\t\t\t\tint height2 = Integer.parseInt(args[j]);\n\t\t\t\tif(height1>height2) {\n\t\t\t\t\tString temp = args[i];\n\t\t\t\t\targs[i] = args[j];\n\t\t\t\t\targs[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tfor(int i=0;i<3;i++)\n\t\t\tSystem.out.println(args[i]);\n\t\t}\n }",
"int arr[] = new int[10];",
"arr",
"new int[10]",
"10",
"if(args.length == 0) {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t for(int i=0;i<10;i++){\n\t arr[i] = Integer.parseInt(br.readLine());\n\t }\n\t \n\t Arrays.sort(arr);\n\t \n\t for(int i=9;i > 6;i--){\n\t System.out.println(arr[i]);\n\t }\n\t\t}\n\t\telse {\n\t\tfor(int i=0;i<10;i++) {\n\t\t\tfor(int j=0;j<=i;j++) {\n\t\t\t\tint height1 = Integer.parseInt(args[i]);\n\t\t\t\tint height2 = Integer.parseInt(args[j]);\n\t\t\t\tif(height1>height2) {\n\t\t\t\t\tString temp = args[i];\n\t\t\t\t\targs[i] = args[j];\n\t\t\t\t\targs[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tfor(int i=0;i<3;i++)\n\t\t\tSystem.out.println(args[i]);\n\t\t}",
"args.length == 0",
"args.length",
"args",
"args.length",
"0",
"{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t for(int i=0;i<10;i++){\n\t arr[i] = Integer.parseInt(br.readLine());\n\t }\n\t \n\t Arrays.sort(arr);\n\t \n\t for(int i=9;i > 6;i--){\n\t System.out.println(arr[i]);\n\t }\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"for(int i=0;i<10;i++){\n\t arr[i] = Integer.parseInt(br.readLine());\n\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t arr[i] = Integer.parseInt(br.readLine());\n\t }",
"{\n\t arr[i] = Integer.parseInt(br.readLine());\n\t }",
"arr[i] = Integer.parseInt(br.readLine())",
"arr[i]",
"arr",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(arr)",
"Arrays.sort",
"Arrays",
"arr",
"for(int i=9;i > 6;i--){\n\t System.out.println(arr[i]);\n\t }",
"int i=9;",
"int i=9;",
"i",
"9",
"i > 6",
"i",
"6",
"i--",
"i--",
"i",
"{\n\t System.out.println(arr[i]);\n\t }",
"{\n\t System.out.println(arr[i]);\n\t }",
"System.out.println(arr[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"arr[i]",
"arr",
"i",
"{\n\t\tfor(int i=0;i<10;i++) {\n\t\t\tfor(int j=0;j<=i;j++) {\n\t\t\t\tint height1 = Integer.parseInt(args[i]);\n\t\t\t\tint height2 = Integer.parseInt(args[j]);\n\t\t\t\tif(height1>height2) {\n\t\t\t\t\tString temp = args[i];\n\t\t\t\t\targs[i] = args[j];\n\t\t\t\t\targs[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tfor(int i=0;i<3;i++)\n\t\t\tSystem.out.println(args[i]);\n\t\t}",
"for(int i=0;i<10;i++) {\n\t\t\tfor(int j=0;j<=i;j++) {\n\t\t\t\tint height1 = Integer.parseInt(args[i]);\n\t\t\t\tint height2 = Integer.parseInt(args[j]);\n\t\t\t\tif(height1>height2) {\n\t\t\t\t\tString temp = args[i];\n\t\t\t\t\targs[i] = args[j];\n\t\t\t\t\targs[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j=0;j<=i;j++) {\n\t\t\t\tint height1 = Integer.parseInt(args[i]);\n\t\t\t\tint height2 = Integer.parseInt(args[j]);\n\t\t\t\tif(height1>height2) {\n\t\t\t\t\tString temp = args[i];\n\t\t\t\t\targs[i] = args[j];\n\t\t\t\t\targs[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}",
"{\n\t\t\tfor(int j=0;j<=i;j++) {\n\t\t\t\tint height1 = Integer.parseInt(args[i]);\n\t\t\t\tint height2 = Integer.parseInt(args[j]);\n\t\t\t\tif(height1>height2) {\n\t\t\t\t\tString temp = args[i];\n\t\t\t\t\targs[i] = args[j];\n\t\t\t\t\targs[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}",
"for(int j=0;j<=i;j++) {\n\t\t\t\tint height1 = Integer.parseInt(args[i]);\n\t\t\t\tint height2 = Integer.parseInt(args[j]);\n\t\t\t\tif(height1>height2) {\n\t\t\t\t\tString temp = args[i];\n\t\t\t\t\targs[i] = args[j];\n\t\t\t\t\targs[j] = temp;\n\t\t\t\t}\n\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<=i",
"j",
"i",
"j++",
"j++",
"j",
"{\n\t\t\t\tint height1 = Integer.parseInt(args[i]);\n\t\t\t\tint height2 = Integer.parseInt(args[j]);\n\t\t\t\tif(height1>height2) {\n\t\t\t\t\tString temp = args[i];\n\t\t\t\t\targs[i] = args[j];\n\t\t\t\t\targs[j] = temp;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tint height1 = Integer.parseInt(args[i]);\n\t\t\t\tint height2 = Integer.parseInt(args[j]);\n\t\t\t\tif(height1>height2) {\n\t\t\t\t\tString temp = args[i];\n\t\t\t\t\targs[i] = args[j];\n\t\t\t\t\targs[j] = temp;\n\t\t\t\t}\n\t\t\t}",
"int height1 = Integer.parseInt(args[i]);",
"height1",
"Integer.parseInt(args[i])",
"Integer.parseInt",
"Integer",
"args[i]",
"args",
"i",
"int height2 = Integer.parseInt(args[j]);",
"height2",
"Integer.parseInt(args[j])",
"Integer.parseInt",
"Integer",
"args[j]",
"args",
"j",
"if(height1>height2) {\n\t\t\t\t\tString temp = args[i];\n\t\t\t\t\targs[i] = args[j];\n\t\t\t\t\targs[j] = temp;\n\t\t\t\t}",
"height1>height2",
"height1",
"height2",
"{\n\t\t\t\t\tString temp = args[i];\n\t\t\t\t\targs[i] = args[j];\n\t\t\t\t\targs[j] = temp;\n\t\t\t\t}",
"String temp = args[i];",
"temp",
"args[i]",
"args",
"i",
"args[i] = args[j]",
"args[i]",
"args",
"i",
"args[j]",
"args",
"j",
"args[j] = temp",
"args[j]",
"args",
"j",
"temp",
"for(int i=0;i<3;i++)\n\t\t\tSystem.out.println(args[i]);",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"System.out.println(args[i]);",
"System.out.println(args[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"args[i]",
"args",
"i",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.io.IOException;
class Main{
public static void main(String[] args) throws IOException{
int arr[] = new int[10];
if(args.length == 0) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
for(int i=0;i<10;i++){
arr[i] = Integer.parseInt(br.readLine());
}
Arrays.sort(arr);
for(int i=9;i > 6;i--){
System.out.println(arr[i]);
}
}
else {
for(int i=0;i<10;i++) {
for(int j=0;j<=i;j++) {
int height1 = Integer.parseInt(args[i]);
int height2 = Integer.parseInt(args[j]);
if(height1>height2) {
String temp = args[i];
args[i] = args[j];
args[j] = temp;
}
}
}
for(int i=0;i<3;i++)
System.out.println(args[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
40,
17,
41,
13,
40,
17,
41,
13,
40,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
96,
5
],
[
96,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
36,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
46,
53
],
[
53,
54
],
[
53,
55
],
[
42,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
56,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
8,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
8,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
8,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
6,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
] | [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc= new Scanner(System.in);\n\t\tint h1=-1,h2=-1,h3=-1;\n\t\tfor(int i=0;i<10;i++){\n\t\t\tint h=sc.nextInt();\n\t\t\tif(h>h1){\n\t\t\t\th3=h2;\n\t\t\t\th2=h1;\n\t\t\t\th1=h;\n\t\t\t}else if(h>h2){\n\t\t\t\th3=h2;\n\t\t\t\th2=h;\n\t\t\t}else if(h>h3){\n\t\t\t\th3=h;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(h1);\n\t\tSystem.out.println(h2);\n\t\tSystem.out.println(h3);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc= new Scanner(System.in);\n\t\tint h1=-1,h2=-1,h3=-1;\n\t\tfor(int i=0;i<10;i++){\n\t\t\tint h=sc.nextInt();\n\t\t\tif(h>h1){\n\t\t\t\th3=h2;\n\t\t\t\th2=h1;\n\t\t\t\th1=h;\n\t\t\t}else if(h>h2){\n\t\t\t\th3=h2;\n\t\t\t\th2=h;\n\t\t\t}else if(h>h3){\n\t\t\t\th3=h;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(h1);\n\t\tSystem.out.println(h2);\n\t\tSystem.out.println(h3);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc= new Scanner(System.in);\n\t\tint h1=-1,h2=-1,h3=-1;\n\t\tfor(int i=0;i<10;i++){\n\t\t\tint h=sc.nextInt();\n\t\t\tif(h>h1){\n\t\t\t\th3=h2;\n\t\t\t\th2=h1;\n\t\t\t\th1=h;\n\t\t\t}else if(h>h2){\n\t\t\t\th3=h2;\n\t\t\t\th2=h;\n\t\t\t}else if(h>h3){\n\t\t\t\th3=h;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(h1);\n\t\tSystem.out.println(h2);\n\t\tSystem.out.println(h3);\n\t}",
"main",
"{\n\t\tScanner sc= new Scanner(System.in);\n\t\tint h1=-1,h2=-1,h3=-1;\n\t\tfor(int i=0;i<10;i++){\n\t\t\tint h=sc.nextInt();\n\t\t\tif(h>h1){\n\t\t\t\th3=h2;\n\t\t\t\th2=h1;\n\t\t\t\th1=h;\n\t\t\t}else if(h>h2){\n\t\t\t\th3=h2;\n\t\t\t\th2=h;\n\t\t\t}else if(h>h3){\n\t\t\t\th3=h;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(h1);\n\t\tSystem.out.println(h2);\n\t\tSystem.out.println(h3);\n\t}",
"Scanner sc= new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int h1=-1",
"h1",
"-1",
"1",
"h2=-1",
"h2",
"-1",
"1",
"h3=-1;",
"h3",
"-1",
"1",
"for(int i=0;i<10;i++){\n\t\t\tint h=sc.nextInt();\n\t\t\tif(h>h1){\n\t\t\t\th3=h2;\n\t\t\t\th2=h1;\n\t\t\t\th1=h;\n\t\t\t}else if(h>h2){\n\t\t\t\th3=h2;\n\t\t\t\th2=h;\n\t\t\t}else if(h>h3){\n\t\t\t\th3=h;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tint h=sc.nextInt();\n\t\t\tif(h>h1){\n\t\t\t\th3=h2;\n\t\t\t\th2=h1;\n\t\t\t\th1=h;\n\t\t\t}else if(h>h2){\n\t\t\t\th3=h2;\n\t\t\t\th2=h;\n\t\t\t}else if(h>h3){\n\t\t\t\th3=h;\n\t\t\t}\n\t\t}",
"{\n\t\t\tint h=sc.nextInt();\n\t\t\tif(h>h1){\n\t\t\t\th3=h2;\n\t\t\t\th2=h1;\n\t\t\t\th1=h;\n\t\t\t}else if(h>h2){\n\t\t\t\th3=h2;\n\t\t\t\th2=h;\n\t\t\t}else if(h>h3){\n\t\t\t\th3=h;\n\t\t\t}\n\t\t}",
"int h=sc.nextInt();",
"h",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(h>h1){\n\t\t\t\th3=h2;\n\t\t\t\th2=h1;\n\t\t\t\th1=h;\n\t\t\t}else if(h>h2){\n\t\t\t\th3=h2;\n\t\t\t\th2=h;\n\t\t\t}else if(h>h3){\n\t\t\t\th3=h;\n\t\t\t}",
"h>h1",
"h",
"h1",
"{\n\t\t\t\th3=h2;\n\t\t\t\th2=h1;\n\t\t\t\th1=h;\n\t\t\t}",
"h3=h2",
"h3",
"h2",
"h2=h1",
"h2",
"h1",
"h1=h",
"h1",
"h",
"if(h>h2){\n\t\t\t\th3=h2;\n\t\t\t\th2=h;\n\t\t\t}else if(h>h3){\n\t\t\t\th3=h;\n\t\t\t}",
"h>h2",
"h",
"h2",
"{\n\t\t\t\th3=h2;\n\t\t\t\th2=h;\n\t\t\t}",
"h3=h2",
"h3",
"h2",
"h2=h",
"h2",
"h",
"if(h>h3){\n\t\t\t\th3=h;\n\t\t\t}",
"h>h3",
"h",
"h3",
"{\n\t\t\t\th3=h;\n\t\t\t}",
"h3=h",
"h3",
"h",
"System.out.println(h1)",
"System.out.println",
"System.out",
"System",
"System.out",
"h1",
"System.out.println(h2)",
"System.out.println",
"System.out",
"System",
"System.out",
"h2",
"System.out.println(h3)",
"System.out.println",
"System.out",
"System",
"System.out",
"h3",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc= new Scanner(System.in);\n\t\tint h1=-1,h2=-1,h3=-1;\n\t\tfor(int i=0;i<10;i++){\n\t\t\tint h=sc.nextInt();\n\t\t\tif(h>h1){\n\t\t\t\th3=h2;\n\t\t\t\th2=h1;\n\t\t\t\th1=h;\n\t\t\t}else if(h>h2){\n\t\t\t\th3=h2;\n\t\t\t\th2=h;\n\t\t\t}else if(h>h3){\n\t\t\t\th3=h;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(h1);\n\t\tSystem.out.println(h2);\n\t\tSystem.out.println(h3);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc= new Scanner(System.in);\n\t\tint h1=-1,h2=-1,h3=-1;\n\t\tfor(int i=0;i<10;i++){\n\t\t\tint h=sc.nextInt();\n\t\t\tif(h>h1){\n\t\t\t\th3=h2;\n\t\t\t\th2=h1;\n\t\t\t\th1=h;\n\t\t\t}else if(h>h2){\n\t\t\t\th3=h2;\n\t\t\t\th2=h;\n\t\t\t}else if(h>h3){\n\t\t\t\th3=h;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(h1);\n\t\tSystem.out.println(h2);\n\t\tSystem.out.println(h3);\n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc= new Scanner(System.in);
int h1=-1,h2=-1,h3=-1;
for(int i=0;i<10;i++){
int h=sc.nextInt();
if(h>h1){
h3=h2;
h2=h1;
h1=h;
}else if(h>h2){
h3=h2;
h2=h;
}else if(h>h3){
h3=h;
}
}
System.out.println(h1);
System.out.println(h2);
System.out.println(h3);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
18,
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
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
11,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
11,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
11,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
9,
70
],
[
70,
71
]
] | [
"import java.util.Scanner;\nimport java.util.Arrays;\n\nclass Main{\n public static void main(String args[]){\n int[] h = new int[10];\n Scanner scan = new Scanner(System.in);\n for(int i = 0; i < 10; i++){\n h[i] = Integer.parseInt(scan.next());\n }\n Arrays.sort(h);\n System.out.println(h[9]);\n System.out.println(h[8]);\n System.out.println(h[7]);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main{\n public static void main(String args[]){\n int[] h = new int[10];\n Scanner scan = new Scanner(System.in);\n for(int i = 0; i < 10; i++){\n h[i] = Integer.parseInt(scan.next());\n }\n Arrays.sort(h);\n System.out.println(h[9]);\n System.out.println(h[8]);\n System.out.println(h[7]);\n }\n}",
"Main",
"public static void main(String args[]){\n int[] h = new int[10];\n Scanner scan = new Scanner(System.in);\n for(int i = 0; i < 10; i++){\n h[i] = Integer.parseInt(scan.next());\n }\n Arrays.sort(h);\n System.out.println(h[9]);\n System.out.println(h[8]);\n System.out.println(h[7]);\n }",
"main",
"{\n int[] h = new int[10];\n Scanner scan = new Scanner(System.in);\n for(int i = 0; i < 10; i++){\n h[i] = Integer.parseInt(scan.next());\n }\n Arrays.sort(h);\n System.out.println(h[9]);\n System.out.println(h[8]);\n System.out.println(h[7]);\n }",
"int[] h = new int[10];",
"h",
"new int[10]",
"10",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(int i = 0; i < 10; i++){\n h[i] = Integer.parseInt(scan.next());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n h[i] = Integer.parseInt(scan.next());\n }",
"{\n h[i] = Integer.parseInt(scan.next());\n }",
"h[i] = Integer.parseInt(scan.next())",
"h[i]",
"h",
"i",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"Arrays.sort(h)",
"Arrays.sort",
"Arrays",
"h",
"System.out.println(h[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"h[9]",
"h",
"9",
"System.out.println(h[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"h[8]",
"h",
"8",
"System.out.println(h[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"h[7]",
"h",
"7",
"String args[]",
"args"
] | import java.util.Scanner;
import java.util.Arrays;
class Main{
public static void main(String args[]){
int[] h = new int[10];
Scanner scan = new Scanner(System.in);
for(int i = 0; i < 10; i++){
h[i] = Integer.parseInt(scan.next());
}
Arrays.sort(h);
System.out.println(h[9]);
System.out.println(h[8]);
System.out.println(h[7]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
41,
13,
40,
17,
41,
13,
40,
17,
41,
13,
40,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
17,
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
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
29,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
51,
58
],
[
58,
59
],
[
58,
60
],
[
47,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
61,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
8,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
80,
86
],
[
80,
87
],
[
80,
88
],
[
6,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"import java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfinal int DATA_SIZE = 10;\n\t\tint height;\n\t\tint first=-1,second=-1,third=-1;\n\t\tfor(int i=0; i<DATA_SIZE; i++) {\n\t\t\theight = scanner.nextInt();\n\t\t\tif(height>first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height>second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height>third) {\n\t\t\t\tthird = height;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.printf(\"%d\\n%d\\n%d\\n\",first, second, third);\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfinal int DATA_SIZE = 10;\n\t\tint height;\n\t\tint first=-1,second=-1,third=-1;\n\t\tfor(int i=0; i<DATA_SIZE; i++) {\n\t\t\theight = scanner.nextInt();\n\t\t\tif(height>first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height>second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height>third) {\n\t\t\t\tthird = height;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.printf(\"%d\\n%d\\n%d\\n\",first, second, third);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfinal int DATA_SIZE = 10;\n\t\tint height;\n\t\tint first=-1,second=-1,third=-1;\n\t\tfor(int i=0; i<DATA_SIZE; i++) {\n\t\t\theight = scanner.nextInt();\n\t\t\tif(height>first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height>second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height>third) {\n\t\t\t\tthird = height;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.printf(\"%d\\n%d\\n%d\\n\",first, second, third);\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfinal int DATA_SIZE = 10;\n\t\tint height;\n\t\tint first=-1,second=-1,third=-1;\n\t\tfor(int i=0; i<DATA_SIZE; i++) {\n\t\t\theight = scanner.nextInt();\n\t\t\tif(height>first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height>second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height>third) {\n\t\t\t\tthird = height;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.printf(\"%d\\n%d\\n%d\\n\",first, second, third);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"final int DATA_SIZE = 10;",
"DATA_SIZE",
"10",
"int height;",
"height",
"int first=-1",
"first",
"-1",
"1",
"second=-1",
"second",
"-1",
"1",
"third=-1;",
"third",
"-1",
"1",
"for(int i=0; i<DATA_SIZE; i++) {\n\t\t\theight = scanner.nextInt();\n\t\t\tif(height>first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height>second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height>third) {\n\t\t\t\tthird = height;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<DATA_SIZE",
"i",
"DATA_SIZE",
"i++",
"i++",
"i",
"{\n\t\t\theight = scanner.nextInt();\n\t\t\tif(height>first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height>second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height>third) {\n\t\t\t\tthird = height;\n\t\t\t}\n\t\t}",
"{\n\t\t\theight = scanner.nextInt();\n\t\t\tif(height>first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height>second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height>third) {\n\t\t\t\tthird = height;\n\t\t\t}\n\t\t}",
"height = scanner.nextInt()",
"height",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if(height>first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height>second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height>third) {\n\t\t\t\tthird = height;\n\t\t\t}",
"height>first",
"height",
"first",
"{\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t}",
"third = second",
"third",
"second",
"second = first",
"second",
"first",
"first = height",
"first",
"height",
"if(height>second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height>third) {\n\t\t\t\tthird = height;\n\t\t\t}",
"height>second",
"height",
"second",
"{\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t}",
"third = second",
"third",
"second",
"second = height",
"second",
"height",
"if(height>third) {\n\t\t\t\tthird = height;\n\t\t\t}",
"height>third",
"height",
"third",
"{\n\t\t\t\tthird = height;\n\t\t\t}",
"third = height",
"third",
"height",
"System.out.printf(\"%d\\n%d\\n%d\\n\",first, second, third)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\\n%d\\n%d\\n\"",
"first",
"second",
"third",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfinal int DATA_SIZE = 10;\n\t\tint height;\n\t\tint first=-1,second=-1,third=-1;\n\t\tfor(int i=0; i<DATA_SIZE; i++) {\n\t\t\theight = scanner.nextInt();\n\t\t\tif(height>first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height>second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height>third) {\n\t\t\t\tthird = height;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.printf(\"%d\\n%d\\n%d\\n\",first, second, third);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfinal int DATA_SIZE = 10;\n\t\tint height;\n\t\tint first=-1,second=-1,third=-1;\n\t\tfor(int i=0; i<DATA_SIZE; i++) {\n\t\t\theight = scanner.nextInt();\n\t\t\tif(height>first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height>second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height>third) {\n\t\t\t\tthird = height;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.printf(\"%d\\n%d\\n%d\\n\",first, second, third);\n\t}\n\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
final int DATA_SIZE = 10;
int height;
int first=-1,second=-1,third=-1;
for(int i=0; i<DATA_SIZE; i++) {
height = scanner.nextInt();
if(height>first) {
third = second;
second = first;
first = height;
} else if(height>second) {
third = second;
second = height;
} else if(height>third) {
third = height;
}
}
System.out.printf("%d\n%d\n%d\n",first, second, third);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
39,
17,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
2,
13,
17,
18,
13,
13,
0,
18,
13,
13,
13,
3,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
14,
17
],
[
8,
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
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
45,
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
],
[
65,
73
],
[
73,
74
],
[
74,
75
],
[
65,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
78,
84
],
[
84,
85
],
[
84,
86
],
[
64,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
64,
92
],
[
8,
93
],
[
93,
94
],
[
94,
95
],
[
8,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
101,
102
],
[
101,
103
],
[
96,
104
],
[
104,
105
],
[
105,
106
],
[
96,
107
],
[
108,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
114,
115
],
[
114,
116
],
[
6,
117
],
[
117,
118
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int[] value = {0,0,0};\n for(int i = 0;i < 10;i++){\n int n = sc.nextInt();\n if(n > 0 && n <= 10000){\n for(int j = 0;j < 3;j++){\n if(n > value[j]){\n for(int k = 1;k >= j;k--){\n value[k + 1] = value[k];\n }\n value[j] = n;\n break;\n }\n }\n }\n }\n sc.close();\n for(int i = 0;i < 3;i++){\n System.out.println(value[i]);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int[] value = {0,0,0};\n for(int i = 0;i < 10;i++){\n int n = sc.nextInt();\n if(n > 0 && n <= 10000){\n for(int j = 0;j < 3;j++){\n if(n > value[j]){\n for(int k = 1;k >= j;k--){\n value[k + 1] = value[k];\n }\n value[j] = n;\n break;\n }\n }\n }\n }\n sc.close();\n for(int i = 0;i < 3;i++){\n System.out.println(value[i]);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int[] value = {0,0,0};\n for(int i = 0;i < 10;i++){\n int n = sc.nextInt();\n if(n > 0 && n <= 10000){\n for(int j = 0;j < 3;j++){\n if(n > value[j]){\n for(int k = 1;k >= j;k--){\n value[k + 1] = value[k];\n }\n value[j] = n;\n break;\n }\n }\n }\n }\n sc.close();\n for(int i = 0;i < 3;i++){\n System.out.println(value[i]);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int[] value = {0,0,0};\n for(int i = 0;i < 10;i++){\n int n = sc.nextInt();\n if(n > 0 && n <= 10000){\n for(int j = 0;j < 3;j++){\n if(n > value[j]){\n for(int k = 1;k >= j;k--){\n value[k + 1] = value[k];\n }\n value[j] = n;\n break;\n }\n }\n }\n }\n sc.close();\n for(int i = 0;i < 3;i++){\n System.out.println(value[i]);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] value = {0,0,0};",
"value",
"{0,0,0}",
"0",
"0",
"0",
"for(int i = 0;i < 10;i++){\n int n = sc.nextInt();\n if(n > 0 && n <= 10000){\n for(int j = 0;j < 3;j++){\n if(n > value[j]){\n for(int k = 1;k >= j;k--){\n value[k + 1] = value[k];\n }\n value[j] = n;\n break;\n }\n }\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n int n = sc.nextInt();\n if(n > 0 && n <= 10000){\n for(int j = 0;j < 3;j++){\n if(n > value[j]){\n for(int k = 1;k >= j;k--){\n value[k + 1] = value[k];\n }\n value[j] = n;\n break;\n }\n }\n }\n }",
"{\n int n = sc.nextInt();\n if(n > 0 && n <= 10000){\n for(int j = 0;j < 3;j++){\n if(n > value[j]){\n for(int k = 1;k >= j;k--){\n value[k + 1] = value[k];\n }\n value[j] = n;\n break;\n }\n }\n }\n }",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n > 0 && n <= 10000){\n for(int j = 0;j < 3;j++){\n if(n > value[j]){\n for(int k = 1;k >= j;k--){\n value[k + 1] = value[k];\n }\n value[j] = n;\n break;\n }\n }\n }",
"n > 0 && n <= 10000",
"n > 0",
"n",
"0",
"n <= 10000",
"n",
"10000",
"{\n for(int j = 0;j < 3;j++){\n if(n > value[j]){\n for(int k = 1;k >= j;k--){\n value[k + 1] = value[k];\n }\n value[j] = n;\n break;\n }\n }\n }",
"for(int j = 0;j < 3;j++){\n if(n > value[j]){\n for(int k = 1;k >= j;k--){\n value[k + 1] = value[k];\n }\n value[j] = n;\n break;\n }\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < 3",
"j",
"3",
"j++",
"j++",
"j",
"{\n if(n > value[j]){\n for(int k = 1;k >= j;k--){\n value[k + 1] = value[k];\n }\n value[j] = n;\n break;\n }\n }",
"{\n if(n > value[j]){\n for(int k = 1;k >= j;k--){\n value[k + 1] = value[k];\n }\n value[j] = n;\n break;\n }\n }",
"if(n > value[j]){\n for(int k = 1;k >= j;k--){\n value[k + 1] = value[k];\n }\n value[j] = n;\n break;\n }",
"n > value[j]",
"n",
"value[j]",
"value",
"j",
"{\n for(int k = 1;k >= j;k--){\n value[k + 1] = value[k];\n }\n value[j] = n;\n break;\n }",
"for(int k = 1;k >= j;k--){\n value[k + 1] = value[k];\n }",
"int k = 1;",
"int k = 1;",
"k",
"1",
"k >= j",
"k",
"j",
"k--",
"k--",
"k",
"{\n value[k + 1] = value[k];\n }",
"{\n value[k + 1] = value[k];\n }",
"value[k + 1] = value[k]",
"value[k + 1]",
"value",
"k + 1",
"k",
"1",
"value[k]",
"value",
"k",
"value[j] = n",
"value[j]",
"value",
"j",
"n",
"break;",
"sc.close()",
"sc.close",
"sc",
"for(int i = 0;i < 3;i++){\n System.out.println(value[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(value[i]);\n }",
"{\n System.out.println(value[i]);\n }",
"System.out.println(value[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"value[i]",
"value",
"i",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int[] value = {0,0,0};
for(int i = 0;i < 10;i++){
int n = sc.nextInt();
if(n > 0 && n <= 10000){
for(int j = 0;j < 3;j++){
if(n > value[j]){
for(int k = 1;k >= j;k--){
value[k + 1] = value[k];
}
value[j] = n;
break;
}
}
}
}
sc.close();
for(int i = 0;i < 3;i++){
System.out.println(value[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
2,
13,
17,
0,
18,
13,
13,
13,
3,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
8,
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
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
49,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
65,
66
],
[
56,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
55,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
55,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
84,
92
],
[
92,
93
],
[
93,
94
],
[
84,
95
],
[
96,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
102,
103
],
[
102,
104
],
[
6,
105
],
[
105,
106
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] a){\n Scanner scan = new Scanner(System.in);\n int[] data = new int[3];\n int tmp;\n for(int i=0;i<10;i++){\n tmp=scan.nextInt();\n for(int j=0;j<3;j++){\n if(data[j]<=tmp){\n for(int k=2;k>j;k--){\n data[k]=data[k-1];\n }\n data[j]=tmp;\n break;\n }\n }\n }\n for(int i=0;i<3;i++){\n System.out.println(data[i]);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] a){\n Scanner scan = new Scanner(System.in);\n int[] data = new int[3];\n int tmp;\n for(int i=0;i<10;i++){\n tmp=scan.nextInt();\n for(int j=0;j<3;j++){\n if(data[j]<=tmp){\n for(int k=2;k>j;k--){\n data[k]=data[k-1];\n }\n data[j]=tmp;\n break;\n }\n }\n }\n for(int i=0;i<3;i++){\n System.out.println(data[i]);\n }\n }\n}",
"Main",
"public static void main(String[] a){\n Scanner scan = new Scanner(System.in);\n int[] data = new int[3];\n int tmp;\n for(int i=0;i<10;i++){\n tmp=scan.nextInt();\n for(int j=0;j<3;j++){\n if(data[j]<=tmp){\n for(int k=2;k>j;k--){\n data[k]=data[k-1];\n }\n data[j]=tmp;\n break;\n }\n }\n }\n for(int i=0;i<3;i++){\n System.out.println(data[i]);\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int[] data = new int[3];\n int tmp;\n for(int i=0;i<10;i++){\n tmp=scan.nextInt();\n for(int j=0;j<3;j++){\n if(data[j]<=tmp){\n for(int k=2;k>j;k--){\n data[k]=data[k-1];\n }\n data[j]=tmp;\n break;\n }\n }\n }\n for(int i=0;i<3;i++){\n System.out.println(data[i]);\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] data = new int[3];",
"data",
"new int[3]",
"3",
"int tmp;",
"tmp",
"for(int i=0;i<10;i++){\n tmp=scan.nextInt();\n for(int j=0;j<3;j++){\n if(data[j]<=tmp){\n for(int k=2;k>j;k--){\n data[k]=data[k-1];\n }\n data[j]=tmp;\n break;\n }\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n tmp=scan.nextInt();\n for(int j=0;j<3;j++){\n if(data[j]<=tmp){\n for(int k=2;k>j;k--){\n data[k]=data[k-1];\n }\n data[j]=tmp;\n break;\n }\n }\n }",
"{\n tmp=scan.nextInt();\n for(int j=0;j<3;j++){\n if(data[j]<=tmp){\n for(int k=2;k>j;k--){\n data[k]=data[k-1];\n }\n data[j]=tmp;\n break;\n }\n }\n }",
"tmp=scan.nextInt()",
"tmp",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(int j=0;j<3;j++){\n if(data[j]<=tmp){\n for(int k=2;k>j;k--){\n data[k]=data[k-1];\n }\n data[j]=tmp;\n break;\n }\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<3",
"j",
"3",
"j++",
"j++",
"j",
"{\n if(data[j]<=tmp){\n for(int k=2;k>j;k--){\n data[k]=data[k-1];\n }\n data[j]=tmp;\n break;\n }\n }",
"{\n if(data[j]<=tmp){\n for(int k=2;k>j;k--){\n data[k]=data[k-1];\n }\n data[j]=tmp;\n break;\n }\n }",
"if(data[j]<=tmp){\n for(int k=2;k>j;k--){\n data[k]=data[k-1];\n }\n data[j]=tmp;\n break;\n }",
"data[j]<=tmp",
"data[j]",
"data",
"j",
"tmp",
"{\n for(int k=2;k>j;k--){\n data[k]=data[k-1];\n }\n data[j]=tmp;\n break;\n }",
"for(int k=2;k>j;k--){\n data[k]=data[k-1];\n }",
"int k=2;",
"int k=2;",
"k",
"2",
"k>j",
"k",
"j",
"k--",
"k--",
"k",
"{\n data[k]=data[k-1];\n }",
"{\n data[k]=data[k-1];\n }",
"data[k]=data[k-1]",
"data[k]",
"data",
"k",
"data[k-1]",
"data",
"k-1",
"k",
"1",
"data[j]=tmp",
"data[j]",
"data",
"j",
"tmp",
"break;",
"for(int i=0;i<3;i++){\n System.out.println(data[i]);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(data[i]);\n }",
"{\n System.out.println(data[i]);\n }",
"System.out.println(data[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"data[i]",
"data",
"i",
"String[] a",
"a"
] | import java.util.Scanner;
class Main{
public static void main(String[] a){
Scanner scan = new Scanner(System.in);
int[] data = new int[3];
int tmp;
for(int i=0;i<10;i++){
tmp=scan.nextInt();
for(int j=0;j<3;j++){
if(data[j]<=tmp){
for(int k=2;k>j;k--){
data[k]=data[k-1];
}
data[j]=tmp;
break;
}
}
}
for(int i=0;i<3;i++){
System.out.println(data[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
30,
0,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
13,
17,
0,
18,
13,
2,
13,
17,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
8,
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
],
[
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
],
[
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
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
64,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
74,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
74,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
89,
95
],
[
8,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
101,
102
],
[
101,
103
],
[
96,
104
],
[
104,
105
],
[
105,
106
],
[
96,
107
],
[
108,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
114,
115
],
[
114,
116
],
[
6,
117
],
[
117,
118
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\n public static void main(String[] a){\n\n \tScanner s = new Scanner(System.in);\n\n \tint[] input = new int[10];\n \tint w;\n\n \tfor(int i=0;i<10;i++){\n \t\tinput[i] = s.nextInt();\n \t}\n\n \tfor(int i=0;i<9;i++){\n\n \t\tfor(int j=0;j<9;j++){\n\n \t\t\tif(input[j] < input[j+1]){\n \t\t\t\tw = input[j];\n \t\t\t\tinput[j] = input[j+1];\n \t\t\t\tinput[j+1] = w;\n \t\t\t}\n\n \t\t}\n\n \t}\n\n \tfor(int i=0;i<3;i++){\n \t\tSystem.out.println(input[i]);\n \t}\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n public static void main(String[] a){\n\n \tScanner s = new Scanner(System.in);\n\n \tint[] input = new int[10];\n \tint w;\n\n \tfor(int i=0;i<10;i++){\n \t\tinput[i] = s.nextInt();\n \t}\n\n \tfor(int i=0;i<9;i++){\n\n \t\tfor(int j=0;j<9;j++){\n\n \t\t\tif(input[j] < input[j+1]){\n \t\t\t\tw = input[j];\n \t\t\t\tinput[j] = input[j+1];\n \t\t\t\tinput[j+1] = w;\n \t\t\t}\n\n \t\t}\n\n \t}\n\n \tfor(int i=0;i<3;i++){\n \t\tSystem.out.println(input[i]);\n \t}\n\n }\n}",
"Main",
"public static void main(String[] a){\n\n \tScanner s = new Scanner(System.in);\n\n \tint[] input = new int[10];\n \tint w;\n\n \tfor(int i=0;i<10;i++){\n \t\tinput[i] = s.nextInt();\n \t}\n\n \tfor(int i=0;i<9;i++){\n\n \t\tfor(int j=0;j<9;j++){\n\n \t\t\tif(input[j] < input[j+1]){\n \t\t\t\tw = input[j];\n \t\t\t\tinput[j] = input[j+1];\n \t\t\t\tinput[j+1] = w;\n \t\t\t}\n\n \t\t}\n\n \t}\n\n \tfor(int i=0;i<3;i++){\n \t\tSystem.out.println(input[i]);\n \t}\n\n }",
"main",
"{\n\n \tScanner s = new Scanner(System.in);\n\n \tint[] input = new int[10];\n \tint w;\n\n \tfor(int i=0;i<10;i++){\n \t\tinput[i] = s.nextInt();\n \t}\n\n \tfor(int i=0;i<9;i++){\n\n \t\tfor(int j=0;j<9;j++){\n\n \t\t\tif(input[j] < input[j+1]){\n \t\t\t\tw = input[j];\n \t\t\t\tinput[j] = input[j+1];\n \t\t\t\tinput[j+1] = w;\n \t\t\t}\n\n \t\t}\n\n \t}\n\n \tfor(int i=0;i<3;i++){\n \t\tSystem.out.println(input[i]);\n \t}\n\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int[] input = new int[10];",
"input",
"new int[10]",
"10",
"int w;",
"w",
"for(int i=0;i<10;i++){\n \t\tinput[i] = s.nextInt();\n \t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n \t\tinput[i] = s.nextInt();\n \t}",
"{\n \t\tinput[i] = s.nextInt();\n \t}",
"input[i] = s.nextInt()",
"input[i]",
"input",
"i",
"s.nextInt()",
"s.nextInt",
"s",
"for(int i=0;i<9;i++){\n\n \t\tfor(int j=0;j<9;j++){\n\n \t\t\tif(input[j] < input[j+1]){\n \t\t\t\tw = input[j];\n \t\t\t\tinput[j] = input[j+1];\n \t\t\t\tinput[j+1] = w;\n \t\t\t}\n\n \t\t}\n\n \t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<9",
"i",
"9",
"i++",
"i++",
"i",
"{\n\n \t\tfor(int j=0;j<9;j++){\n\n \t\t\tif(input[j] < input[j+1]){\n \t\t\t\tw = input[j];\n \t\t\t\tinput[j] = input[j+1];\n \t\t\t\tinput[j+1] = w;\n \t\t\t}\n\n \t\t}\n\n \t}",
"{\n\n \t\tfor(int j=0;j<9;j++){\n\n \t\t\tif(input[j] < input[j+1]){\n \t\t\t\tw = input[j];\n \t\t\t\tinput[j] = input[j+1];\n \t\t\t\tinput[j+1] = w;\n \t\t\t}\n\n \t\t}\n\n \t}",
"for(int j=0;j<9;j++){\n\n \t\t\tif(input[j] < input[j+1]){\n \t\t\t\tw = input[j];\n \t\t\t\tinput[j] = input[j+1];\n \t\t\t\tinput[j+1] = w;\n \t\t\t}\n\n \t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<9",
"j",
"9",
"j++",
"j++",
"j",
"{\n\n \t\t\tif(input[j] < input[j+1]){\n \t\t\t\tw = input[j];\n \t\t\t\tinput[j] = input[j+1];\n \t\t\t\tinput[j+1] = w;\n \t\t\t}\n\n \t\t}",
"{\n\n \t\t\tif(input[j] < input[j+1]){\n \t\t\t\tw = input[j];\n \t\t\t\tinput[j] = input[j+1];\n \t\t\t\tinput[j+1] = w;\n \t\t\t}\n\n \t\t}",
"if(input[j] < input[j+1]){\n \t\t\t\tw = input[j];\n \t\t\t\tinput[j] = input[j+1];\n \t\t\t\tinput[j+1] = w;\n \t\t\t}",
"input[j] < input[j+1]",
"input[j]",
"input",
"j",
"input[j+1]",
"input",
"j+1",
"j",
"1",
"{\n \t\t\t\tw = input[j];\n \t\t\t\tinput[j] = input[j+1];\n \t\t\t\tinput[j+1] = w;\n \t\t\t}",
"w = input[j]",
"w",
"input[j]",
"input",
"j",
"input[j] = input[j+1]",
"input[j]",
"input",
"j",
"input[j+1]",
"input",
"j+1",
"j",
"1",
"input[j+1] = w",
"input[j+1]",
"input",
"j+1",
"j",
"1",
"w",
"for(int i=0;i<3;i++){\n \t\tSystem.out.println(input[i]);\n \t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n \t\tSystem.out.println(input[i]);\n \t}",
"{\n \t\tSystem.out.println(input[i]);\n \t}",
"System.out.println(input[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"input[i]",
"input",
"i",
"String[] a",
"a"
] | import java.util.Scanner;
class Main {
public static void main(String[] a){
Scanner s = new Scanner(System.in);
int[] input = new int[10];
int w;
for(int i=0;i<10;i++){
input[i] = s.nextInt();
}
for(int i=0;i<9;i++){
for(int j=0;j<9;j++){
if(input[j] < input[j+1]){
w = input[j];
input[j] = input[j+1];
input[j+1] = w;
}
}
}
for(int i=0;i<3;i++){
System.out.println(input[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
18,
13,
13,
14,
2,
18,
13,
13,
13,
30,
0,
13,
13,
0,
13,
18,
13,
13,
14,
2,
18,
13,
13,
13,
30,
0,
13,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
2,
2,
2,
13,
17,
13,
17,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
51,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
45,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
63,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
63,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
78,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
8,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
99,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
97,
103
],
[
96,
104
],
[
99,
105
],
[
6,
106
],
[
106,
107
]
] | [
"import java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] a){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint first = 0 ,second = 0 , third = 0;\n\t\tint[] hills = new int[10];\n\t\tfor(int i = 0 ; i < 10 ; i ++ ){\n\t\t\thills[i] = scanner.nextInt();\n\t\t\tif(hills[i]>first){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst=hills[i];\n\t\t\t}\n\t\t\telse if(hills[i]>second){\n\t\t\t\tthird = second;\n\t\t\t\tsecond=hills[i];\n\t\t\t\t}\n\t\t\telse if(hills[i]>third){\n\t\t\t\tthird=hills[i];\n\t\t\t\t}\n\t\t}\n\t\tSystem.out.print(first+\"\\n\"+second+\"\\n\"+third+\"\\n\");\n\t\t\n \t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String[] a){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint first = 0 ,second = 0 , third = 0;\n\t\tint[] hills = new int[10];\n\t\tfor(int i = 0 ; i < 10 ; i ++ ){\n\t\t\thills[i] = scanner.nextInt();\n\t\t\tif(hills[i]>first){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst=hills[i];\n\t\t\t}\n\t\t\telse if(hills[i]>second){\n\t\t\t\tthird = second;\n\t\t\t\tsecond=hills[i];\n\t\t\t\t}\n\t\t\telse if(hills[i]>third){\n\t\t\t\tthird=hills[i];\n\t\t\t\t}\n\t\t}\n\t\tSystem.out.print(first+\"\\n\"+second+\"\\n\"+third+\"\\n\");\n\t\t\n \t}\n}",
"Main",
"public static void main(String[] a){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint first = 0 ,second = 0 , third = 0;\n\t\tint[] hills = new int[10];\n\t\tfor(int i = 0 ; i < 10 ; i ++ ){\n\t\t\thills[i] = scanner.nextInt();\n\t\t\tif(hills[i]>first){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst=hills[i];\n\t\t\t}\n\t\t\telse if(hills[i]>second){\n\t\t\t\tthird = second;\n\t\t\t\tsecond=hills[i];\n\t\t\t\t}\n\t\t\telse if(hills[i]>third){\n\t\t\t\tthird=hills[i];\n\t\t\t\t}\n\t\t}\n\t\tSystem.out.print(first+\"\\n\"+second+\"\\n\"+third+\"\\n\");\n\t\t\n \t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint first = 0 ,second = 0 , third = 0;\n\t\tint[] hills = new int[10];\n\t\tfor(int i = 0 ; i < 10 ; i ++ ){\n\t\t\thills[i] = scanner.nextInt();\n\t\t\tif(hills[i]>first){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst=hills[i];\n\t\t\t}\n\t\t\telse if(hills[i]>second){\n\t\t\t\tthird = second;\n\t\t\t\tsecond=hills[i];\n\t\t\t\t}\n\t\t\telse if(hills[i]>third){\n\t\t\t\tthird=hills[i];\n\t\t\t\t}\n\t\t}\n\t\tSystem.out.print(first+\"\\n\"+second+\"\\n\"+third+\"\\n\");\n\t\t\n \t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int first = 0",
"first",
"0",
"second = 0",
"second",
"0",
"third = 0;",
"third",
"0",
"int[] hills = new int[10];",
"hills",
"new int[10]",
"10",
"for(int i = 0 ; i < 10 ; i ++ ){\n\t\t\thills[i] = scanner.nextInt();\n\t\t\tif(hills[i]>first){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst=hills[i];\n\t\t\t}\n\t\t\telse if(hills[i]>second){\n\t\t\t\tthird = second;\n\t\t\t\tsecond=hills[i];\n\t\t\t\t}\n\t\t\telse if(hills[i]>third){\n\t\t\t\tthird=hills[i];\n\t\t\t\t}\n\t\t}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < 10",
"i",
"10",
"i ++",
"i ++",
"i",
"{\n\t\t\thills[i] = scanner.nextInt();\n\t\t\tif(hills[i]>first){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst=hills[i];\n\t\t\t}\n\t\t\telse if(hills[i]>second){\n\t\t\t\tthird = second;\n\t\t\t\tsecond=hills[i];\n\t\t\t\t}\n\t\t\telse if(hills[i]>third){\n\t\t\t\tthird=hills[i];\n\t\t\t\t}\n\t\t}",
"{\n\t\t\thills[i] = scanner.nextInt();\n\t\t\tif(hills[i]>first){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst=hills[i];\n\t\t\t}\n\t\t\telse if(hills[i]>second){\n\t\t\t\tthird = second;\n\t\t\t\tsecond=hills[i];\n\t\t\t\t}\n\t\t\telse if(hills[i]>third){\n\t\t\t\tthird=hills[i];\n\t\t\t\t}\n\t\t}",
"hills[i] = scanner.nextInt()",
"hills[i]",
"hills",
"i",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if(hills[i]>first){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst=hills[i];\n\t\t\t}\n\t\t\telse if(hills[i]>second){\n\t\t\t\tthird = second;\n\t\t\t\tsecond=hills[i];\n\t\t\t\t}\n\t\t\telse if(hills[i]>third){\n\t\t\t\tthird=hills[i];\n\t\t\t\t}",
"hills[i]>first",
"hills[i]",
"hills",
"i",
"first",
"{\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst=hills[i];\n\t\t\t}",
"third = second",
"third",
"second",
"second = first",
"second",
"first",
"first=hills[i]",
"first",
"hills[i]",
"hills",
"i",
"if(hills[i]>second){\n\t\t\t\tthird = second;\n\t\t\t\tsecond=hills[i];\n\t\t\t\t}\n\t\t\telse if(hills[i]>third){\n\t\t\t\tthird=hills[i];\n\t\t\t\t}",
"hills[i]>second",
"hills[i]",
"hills",
"i",
"second",
"{\n\t\t\t\tthird = second;\n\t\t\t\tsecond=hills[i];\n\t\t\t\t}",
"third = second",
"third",
"second",
"second=hills[i]",
"second",
"hills[i]",
"hills",
"i",
"if(hills[i]>third){\n\t\t\t\tthird=hills[i];\n\t\t\t\t}",
"hills[i]>third",
"hills[i]",
"hills",
"i",
"third",
"{\n\t\t\t\tthird=hills[i];\n\t\t\t\t}",
"third=hills[i]",
"third",
"hills[i]",
"hills",
"i",
"System.out.print(first+\"\\n\"+second+\"\\n\"+third+\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"first+\"\\n\"+second+\"\\n\"+third+\"\\n\"",
"third",
"\"\\n\"",
"second",
"first+\"\\n\"+second+\"\\n\"+third+\"\\n\"",
"first",
"\"\\n\"",
"second",
"\"\\n\"",
"third",
"\"\\n\"",
"String[] a",
"a"
] | import java.util.Scanner;
class Main{
public static void main(String[] a){
Scanner scanner = new Scanner(System.in);
int first = 0 ,second = 0 , third = 0;
int[] hills = new int[10];
for(int i = 0 ; i < 10 ; i ++ ){
hills[i] = scanner.nextInt();
if(hills[i]>first){
third = second;
second = first;
first=hills[i];
}
else if(hills[i]>second){
third = second;
second=hills[i];
}
else if(hills[i]>third){
third=hills[i];
}
}
System.out.print(first+"\n"+second+"\n"+third+"\n");
}
} |
[
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,
41,
13,
20,
42,
2,
0,
13,
4,
18,
13,
17,
30,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
2,
4,
18,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
80,
17
],
[
80,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
20,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
20,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
20,
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
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
18,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.io.BufferedReader;\n//import java.io.FileReader;\n//import java.io.FileReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\n//import java.util.TreeSet;\n\n\npublic class Main {\n\n /**\n * @param args\n * @throws IOException \n * @throws NumberFormatException \n */\n public static void main(String[] args) throws NumberFormatException, IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n //BufferedReader reader = new BufferedReader(new FileReader(\"//users/islam/Desktop/InputData.txt\"));\n String line;\n \n ArrayList<Integer> numbers = new ArrayList<Integer>();\n \n while((line = reader.readLine()) != null){\n numbers.add(Integer.parseInt(line));\n }\n Collections.sort(numbers);\n for(int i = 0; i< 3; i++){\n System.out.println(numbers.get(numbers.size()-(i+1)));\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",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"public class Main {\n\n /**\n * @param args\n * @throws IOException \n * @throws NumberFormatException \n */\n public static void main(String[] args) throws NumberFormatException, IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n //BufferedReader reader = new BufferedReader(new FileReader(\"//users/islam/Desktop/InputData.txt\"));\n String line;\n \n ArrayList<Integer> numbers = new ArrayList<Integer>();\n \n while((line = reader.readLine()) != null){\n numbers.add(Integer.parseInt(line));\n }\n Collections.sort(numbers);\n for(int i = 0; i< 3; i++){\n System.out.println(numbers.get(numbers.size()-(i+1)));\n \n }\n }\n\n}",
"Main",
"/**\n * @param args\n * @throws IOException \n * @throws NumberFormatException \n */\n public static void main(String[] args) throws NumberFormatException, IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n //BufferedReader reader = new BufferedReader(new FileReader(\"//users/islam/Desktop/InputData.txt\"));\n String line;\n \n ArrayList<Integer> numbers = new ArrayList<Integer>();\n \n while((line = reader.readLine()) != null){\n numbers.add(Integer.parseInt(line));\n }\n Collections.sort(numbers);\n for(int i = 0; i< 3; i++){\n System.out.println(numbers.get(numbers.size()-(i+1)));\n \n }\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n //BufferedReader reader = new BufferedReader(new FileReader(\"//users/islam/Desktop/InputData.txt\"));\n String line;\n \n ArrayList<Integer> numbers = new ArrayList<Integer>();\n \n while((line = reader.readLine()) != null){\n numbers.add(Integer.parseInt(line));\n }\n Collections.sort(numbers);\n for(int i = 0; i< 3; i++){\n System.out.println(numbers.get(numbers.size()-(i+1)));\n \n }\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"ArrayList<Integer> numbers = new ArrayList<Integer>();",
"numbers",
"new ArrayList<Integer>()",
"while((line = reader.readLine()) != null){\n numbers.add(Integer.parseInt(line));\n }",
"(line = reader.readLine()) != null",
"(line = reader.readLine())",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"null",
"{\n numbers.add(Integer.parseInt(line));\n }",
"numbers.add(Integer.parseInt(line))",
"numbers.add",
"numbers",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"Collections.sort(numbers)",
"Collections.sort",
"Collections",
"numbers",
"for(int i = 0; i< 3; i++){\n System.out.println(numbers.get(numbers.size()-(i+1)));\n \n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i< 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(numbers.get(numbers.size()-(i+1)));\n \n }",
"{\n System.out.println(numbers.get(numbers.size()-(i+1)));\n \n }",
"System.out.println(numbers.get(numbers.size()-(i+1)))",
"System.out.println",
"System.out",
"System",
"System.out",
"numbers.get(numbers.size()-(i+1))",
"numbers.get",
"numbers",
"numbers.size()-(i+1)",
"numbers.size()",
"numbers.size",
"numbers",
"(i+1)",
"i",
"1",
"String[] args",
"args",
"public class Main {\n\n /**\n * @param args\n * @throws IOException \n * @throws NumberFormatException \n */\n public static void main(String[] args) throws NumberFormatException, IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n //BufferedReader reader = new BufferedReader(new FileReader(\"//users/islam/Desktop/InputData.txt\"));\n String line;\n \n ArrayList<Integer> numbers = new ArrayList<Integer>();\n \n while((line = reader.readLine()) != null){\n numbers.add(Integer.parseInt(line));\n }\n Collections.sort(numbers);\n for(int i = 0; i< 3; i++){\n System.out.println(numbers.get(numbers.size()-(i+1)));\n \n }\n }\n\n}",
"public class Main {\n\n /**\n * @param args\n * @throws IOException \n * @throws NumberFormatException \n */\n public static void main(String[] args) throws NumberFormatException, IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n //BufferedReader reader = new BufferedReader(new FileReader(\"//users/islam/Desktop/InputData.txt\"));\n String line;\n \n ArrayList<Integer> numbers = new ArrayList<Integer>();\n \n while((line = reader.readLine()) != null){\n numbers.add(Integer.parseInt(line));\n }\n Collections.sort(numbers);\n for(int i = 0; i< 3; i++){\n System.out.println(numbers.get(numbers.size()-(i+1)));\n \n }\n }\n\n}",
"Main"
] | import java.io.BufferedReader;
//import java.io.FileReader;
//import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
//import java.util.TreeSet;
public class Main {
/**
* @param args
* @throws IOException
* @throws NumberFormatException
*/
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
//BufferedReader reader = new BufferedReader(new FileReader("//users/islam/Desktop/InputData.txt"));
String line;
ArrayList<Integer> numbers = new ArrayList<Integer>();
while((line = reader.readLine()) != null){
numbers.add(Integer.parseInt(line));
}
Collections.sort(numbers);
for(int i = 0; i< 3; i++){
System.out.println(numbers.get(numbers.size()-(i+1)));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
76,
11
],
[
76,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
14,
42
],
[
42,
43
],
[
43,
44
],
[
14,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
14,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
12,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"import java.util.Arrays;\nimport java.util.Collections;\nimport java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger []a = new Integer[10];\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\t\tArrays.sort(a, Collections.reverseOrder());\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}\n}\n",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger []a = new Integer[10];\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\t\tArrays.sort(a, Collections.reverseOrder());\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger []a = new Integer[10];\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\t\tArrays.sort(a, Collections.reverseOrder());\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger []a = new Integer[10];\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\t\tArrays.sort(a, Collections.reverseOrder());\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Integer []a = new Integer[10];",
"a",
"new Integer[10]",
"10",
"for(int i = 0; i < 10; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"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",
"sc.close()",
"sc.close",
"sc",
"Arrays.sort(a, Collections.reverseOrder())",
"Arrays.sort",
"Arrays",
"a",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"for(int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(a[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(a[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(a[i]);\n\t\t}",
"System.out.println(a[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger []a = new Integer[10];\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\t\tArrays.sort(a, Collections.reverseOrder());\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger []a = new Integer[10];\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\t\tArrays.sort(a, Collections.reverseOrder());\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Arrays;
import java.util.Collections;
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
Integer []a = new Integer[10];
for(int i = 0; i < 10; i++) {
a[i] = sc.nextInt();
}
sc.close();
Arrays.sort(a, Collections.reverseOrder());
for(int i = 0; i < 3; i++) {
System.out.println(a[i]);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
0,
18,
13,
13,
13,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
2,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
125,
5
],
[
125,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
28,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
8,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
8,
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
],
[
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
],
[
76,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
83,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
93,
95
],
[
83,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
8,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
101,
109
],
[
109,
110
],
[
110,
111
],
[
101,
112
],
[
113,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
119,
120
],
[
119,
121
],
[
6,
122
],
[
122,
123
],
[
0,
124
],
[
124,
125
],
[
124,
126
]
] | [
"import java.io.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tint[] height = new int[10];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tfor(int i=0;i<10;i++){\n\t\t\tint a = Integer.parseInt(in.readLine());\n\t\t\theight[i] = a;\n\t\t}\n\t\tint length = height.length;\n\t\tfor(int i=0;i<length;i++){\n\t\t\tfor(int j=(i+1);j<length;j++){\n\t\t\t\tif(height[i]<height[j]){\n\t\t\t\t\tint temp = height[j];\n\t\t\t\t\theight[j] = height[i];\n\t\t\t\t\theight[i] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[i]);\n\t\t}\n\n\t}\n\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tint[] height = new int[10];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tfor(int i=0;i<10;i++){\n\t\t\tint a = Integer.parseInt(in.readLine());\n\t\t\theight[i] = a;\n\t\t}\n\t\tint length = height.length;\n\t\tfor(int i=0;i<length;i++){\n\t\t\tfor(int j=(i+1);j<length;j++){\n\t\t\t\tif(height[i]<height[j]){\n\t\t\t\t\tint temp = height[j];\n\t\t\t\t\theight[j] = height[i];\n\t\t\t\t\theight[i] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[i]);\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tint[] height = new int[10];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tfor(int i=0;i<10;i++){\n\t\t\tint a = Integer.parseInt(in.readLine());\n\t\t\theight[i] = a;\n\t\t}\n\t\tint length = height.length;\n\t\tfor(int i=0;i<length;i++){\n\t\t\tfor(int j=(i+1);j<length;j++){\n\t\t\t\tif(height[i]<height[j]){\n\t\t\t\t\tint temp = height[j];\n\t\t\t\t\theight[j] = height[i];\n\t\t\t\t\theight[i] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[i]);\n\t\t}\n\n\t}",
"main",
"{\n\t\tint[] height = new int[10];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tfor(int i=0;i<10;i++){\n\t\t\tint a = Integer.parseInt(in.readLine());\n\t\t\theight[i] = a;\n\t\t}\n\t\tint length = height.length;\n\t\tfor(int i=0;i<length;i++){\n\t\t\tfor(int j=(i+1);j<length;j++){\n\t\t\t\tif(height[i]<height[j]){\n\t\t\t\t\tint temp = height[j];\n\t\t\t\t\theight[j] = height[i];\n\t\t\t\t\theight[i] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[i]);\n\t\t}\n\n\t}",
"int[] height = new int[10];",
"height",
"new int[10]",
"10",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"for(int i=0;i<10;i++){\n\t\t\tint a = Integer.parseInt(in.readLine());\n\t\t\theight[i] = a;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tint a = Integer.parseInt(in.readLine());\n\t\t\theight[i] = a;\n\t\t}",
"{\n\t\t\tint a = Integer.parseInt(in.readLine());\n\t\t\theight[i] = a;\n\t\t}",
"int a = Integer.parseInt(in.readLine());",
"a",
"Integer.parseInt(in.readLine())",
"Integer.parseInt",
"Integer",
"in.readLine()",
"in.readLine",
"in",
"height[i] = a",
"height[i]",
"height",
"i",
"a",
"int length = height.length;",
"length",
"height.length",
"height",
"height.length",
"for(int i=0;i<length;i++){\n\t\t\tfor(int j=(i+1);j<length;j++){\n\t\t\t\tif(height[i]<height[j]){\n\t\t\t\t\tint temp = height[j];\n\t\t\t\t\theight[j] = height[i];\n\t\t\t\t\theight[i] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<length",
"i",
"length",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j=(i+1);j<length;j++){\n\t\t\t\tif(height[i]<height[j]){\n\t\t\t\t\tint temp = height[j];\n\t\t\t\t\theight[j] = height[i];\n\t\t\t\t\theight[i] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int j=(i+1);j<length;j++){\n\t\t\t\tif(height[i]<height[j]){\n\t\t\t\t\tint temp = height[j];\n\t\t\t\t\theight[j] = height[i];\n\t\t\t\t\theight[i] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int j=(i+1);j<length;j++){\n\t\t\t\tif(height[i]<height[j]){\n\t\t\t\t\tint temp = height[j];\n\t\t\t\t\theight[j] = height[i];\n\t\t\t\t\theight[i] = temp;\n\t\t\t\t}\n\t\t\t}",
"int j=(i+1);",
"int j=(i+1);",
"j",
"(i+1)",
"i",
"1",
"j<length",
"j",
"length",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(height[i]<height[j]){\n\t\t\t\t\tint temp = height[j];\n\t\t\t\t\theight[j] = height[i];\n\t\t\t\t\theight[i] = temp;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(height[i]<height[j]){\n\t\t\t\t\tint temp = height[j];\n\t\t\t\t\theight[j] = height[i];\n\t\t\t\t\theight[i] = temp;\n\t\t\t\t}\n\t\t\t}",
"if(height[i]<height[j]){\n\t\t\t\t\tint temp = height[j];\n\t\t\t\t\theight[j] = height[i];\n\t\t\t\t\theight[i] = temp;\n\t\t\t\t}",
"height[i]<height[j]",
"height[i]",
"height",
"i",
"height[j]",
"height",
"j",
"{\n\t\t\t\t\tint temp = height[j];\n\t\t\t\t\theight[j] = height[i];\n\t\t\t\t\theight[i] = temp;\n\t\t\t\t}",
"int temp = height[j];",
"temp",
"height[j]",
"height",
"j",
"height[j] = height[i]",
"height[j]",
"height",
"j",
"height[i]",
"height",
"i",
"height[i] = temp",
"height[i]",
"height",
"i",
"temp",
"for(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(height[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(height[i]);\n\t\t}",
"System.out.println(height[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"height[i]",
"height",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tint[] height = new int[10];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tfor(int i=0;i<10;i++){\n\t\t\tint a = Integer.parseInt(in.readLine());\n\t\t\theight[i] = a;\n\t\t}\n\t\tint length = height.length;\n\t\tfor(int i=0;i<length;i++){\n\t\t\tfor(int j=(i+1);j<length;j++){\n\t\t\t\tif(height[i]<height[j]){\n\t\t\t\t\tint temp = height[j];\n\t\t\t\t\theight[j] = height[i];\n\t\t\t\t\theight[i] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[i]);\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tint[] height = new int[10];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tfor(int i=0;i<10;i++){\n\t\t\tint a = Integer.parseInt(in.readLine());\n\t\t\theight[i] = a;\n\t\t}\n\t\tint length = height.length;\n\t\tfor(int i=0;i<length;i++){\n\t\t\tfor(int j=(i+1);j<length;j++){\n\t\t\t\tif(height[i]<height[j]){\n\t\t\t\t\tint temp = height[j];\n\t\t\t\t\theight[j] = height[i];\n\t\t\t\t\theight[i] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[i]);\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
int[] height = new int[10];
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
for(int i=0;i<10;i++){
int a = Integer.parseInt(in.readLine());
height[i] = a;
}
int length = height.length;
for(int i=0;i<length;i++){
for(int j=(i+1);j<length;j++){
if(height[i]<height[j]){
int temp = height[j];
height[j] = height[i];
height[i] = temp;
}
}
}
for(int i=0;i<3;i++){
System.out.println(height[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
17,
12,
13,
30,
0,
18,
36,
13,
20,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
29,
18,
13,
2,
13,
17,
12,
13,
30,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
2,
13,
17,
12,
13,
30,
0,
18,
13,
13,
13,
40,
13,
23,
13,
12,
13,
30,
29,
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
],
[
11,
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
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
11,
37
],
[
37,
38
],
[
38,
39
],
[
11,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
59,
60
],
[
52,
61
],
[
61,
62
],
[
62,
63
],
[
9,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
66,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
73,
82
],
[
82,
83
],
[
66,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
66,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
99,
100
],
[
93,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
104,
106
],
[
66,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
114,
116
],
[
110,
117
],
[
117,
118
],
[
117,
119
],
[
110,
120
],
[
120,
121
],
[
121,
122
],
[
110,
123
],
[
124,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
131,
133
],
[
66,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
141
],
[
136,
142
],
[
142,
143
],
[
134,
144
],
[
144,
145
],
[
66,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
146,
153
],
[
153,
154
]
] | [
"import java.util.Scanner;\nimport java.util.Arrays;\n\nclass Main {\n public static void main(String[] args){\n Scanner cin = new Scanner(System.in);\n MyArray myArray = new MyArray(10);\n \n for (int i = 0; i < 10; i++){\n myArray.input(cin.nextInt());\n }\n myArray.sort();\n for (int i = 0; i < 3; i++){\n System.out.println(myArray.top());\n myArray.pop();\n }\n }\n}\n\nclass MyArray {\n private int num[];\n private int size = 0;\n \n MyArray(int n){\n this.num = new int[n];\n }\n\n protected void sort(){\n Arrays.sort(num);\n }\n\n protected int top(){\n if (size == 0) {\n// System.out.println(\"empty\");\n return (0);\n }\n return (num[size - 1]);\n }\n\n protected void pop(){\n for (int i = size - 1; i > 1; i--){\n num[i] = num[i - 1];\n }\n }\n\n protected void input(int n){\n num[size] = n;\n size++;\n }\n\n protected int at(int n){\n return (num[n]);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main {\n public static void main(String[] args){\n Scanner cin = new Scanner(System.in);\n MyArray myArray = new MyArray(10);\n \n for (int i = 0; i < 10; i++){\n myArray.input(cin.nextInt());\n }\n myArray.sort();\n for (int i = 0; i < 3; i++){\n System.out.println(myArray.top());\n myArray.pop();\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner cin = new Scanner(System.in);\n MyArray myArray = new MyArray(10);\n \n for (int i = 0; i < 10; i++){\n myArray.input(cin.nextInt());\n }\n myArray.sort();\n for (int i = 0; i < 3; i++){\n System.out.println(myArray.top());\n myArray.pop();\n }\n }",
"main",
"{\n Scanner cin = new Scanner(System.in);\n MyArray myArray = new MyArray(10);\n \n for (int i = 0; i < 10; i++){\n myArray.input(cin.nextInt());\n }\n myArray.sort();\n for (int i = 0; i < 3; i++){\n System.out.println(myArray.top());\n myArray.pop();\n }\n }",
"Scanner cin = new Scanner(System.in);",
"cin",
"new Scanner(System.in)",
"MyArray myArray = new MyArray(10);",
"myArray",
"new MyArray(10)",
"for (int i = 0; i < 10; i++){\n myArray.input(cin.nextInt());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n myArray.input(cin.nextInt());\n }",
"{\n myArray.input(cin.nextInt());\n }",
"myArray.input(cin.nextInt())",
"myArray.input",
"myArray",
"cin.nextInt()",
"cin.nextInt",
"cin",
"myArray.sort()",
"myArray.sort",
"myArray",
"for (int i = 0; i < 3; i++){\n System.out.println(myArray.top());\n myArray.pop();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(myArray.top());\n myArray.pop();\n }",
"{\n System.out.println(myArray.top());\n myArray.pop();\n }",
"System.out.println(myArray.top())",
"System.out.println",
"System.out",
"System",
"System.out",
"myArray.top()",
"myArray.top",
"myArray",
"myArray.pop()",
"myArray.pop",
"myArray",
"String[] args",
"args",
"class MyArray {\n private int num[];\n private int size = 0;\n \n MyArray(int n){\n this.num = new int[n];\n }\n\n protected void sort(){\n Arrays.sort(num);\n }\n\n protected int top(){\n if (size == 0) {\n// System.out.println(\"empty\");\n return (0);\n }\n return (num[size - 1]);\n }\n\n protected void pop(){\n for (int i = size - 1; i > 1; i--){\n num[i] = num[i - 1];\n }\n }\n\n protected void input(int n){\n num[size] = n;\n size++;\n }\n\n protected int at(int n){\n return (num[n]);\n }\n}",
"MyArray",
"private int num[];",
"num",
"private int size = 0;",
"size",
"0",
"MyArray(int n){\n this.num = new int[n];\n }",
"MyArray",
"{\n this.num = new int[n];\n }",
"this.num = new int[n]",
"this.num",
"this",
"this.num",
"new int[n]",
"n",
"int n",
"n",
"protected void sort(){\n Arrays.sort(num);\n }",
"sort",
"{\n Arrays.sort(num);\n }",
"Arrays.sort(num)",
"Arrays.sort",
"Arrays",
"num",
"protected int top(){\n if (size == 0) {\n// System.out.println(\"empty\");\n return (0);\n }\n return (num[size - 1]);\n }",
"top",
"{\n if (size == 0) {\n// System.out.println(\"empty\");\n return (0);\n }\n return (num[size - 1]);\n }",
"if (size == 0) {\n// System.out.println(\"empty\");\n return (0);\n }",
"size == 0",
"size",
"0",
"{\n// System.out.println(\"empty\");\n return (0);\n }",
"return (0);",
"(0)",
"return (num[size - 1]);",
"(num[size - 1])",
"num",
"size - 1",
"size",
"1",
"protected void pop(){\n for (int i = size - 1; i > 1; i--){\n num[i] = num[i - 1];\n }\n }",
"pop",
"{\n for (int i = size - 1; i > 1; i--){\n num[i] = num[i - 1];\n }\n }",
"for (int i = size - 1; i > 1; i--){\n num[i] = num[i - 1];\n }",
"int i = size - 1;",
"int i = size - 1;",
"i",
"size - 1",
"size",
"1",
"i > 1",
"i",
"1",
"i--",
"i--",
"i",
"{\n num[i] = num[i - 1];\n }",
"{\n num[i] = num[i - 1];\n }",
"num[i] = num[i - 1]",
"num[i]",
"num",
"i",
"num[i - 1]",
"num",
"i - 1",
"i",
"1",
"protected void input(int n){\n num[size] = n;\n size++;\n }",
"input",
"{\n num[size] = n;\n size++;\n }",
"num[size] = n",
"num[size]",
"num",
"size",
"n",
"size++",
"size",
"int n",
"n",
"protected int at(int n){\n return (num[n]);\n }",
"at",
"{\n return (num[n]);\n }",
"return (num[n]);",
"(num[n])",
"num",
"n",
"int n",
"n"
] | import java.util.Scanner;
import java.util.Arrays;
class Main {
public static void main(String[] args){
Scanner cin = new Scanner(System.in);
MyArray myArray = new MyArray(10);
for (int i = 0; i < 10; i++){
myArray.input(cin.nextInt());
}
myArray.sort();
for (int i = 0; i < 3; i++){
System.out.println(myArray.top());
myArray.pop();
}
}
}
class MyArray {
private int num[];
private int size = 0;
MyArray(int n){
this.num = new int[n];
}
protected void sort(){
Arrays.sort(num);
}
protected int top(){
if (size == 0) {
// System.out.println("empty");
return (0);
}
return (num[size - 1]);
}
protected void pop(){
for (int i = size - 1; i > 1; i--){
num[i] = num[i - 1];
}
}
protected void input(int n){
num[size] = n;
size++;
}
protected int at(int n){
return (num[n]);
}
} |
[
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,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
87,
17
],
[
87,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
41,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
57,
58
],
[
20,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
20,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
63,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
18,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint[] height = new int[10];\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\t\n\t\t\t\t\t\theight[i] = Integer.parseInt(reader.readLine());\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t}\n\t\t\tArrays.sort(height);\n\t\t\t\n\t\t\tfor(int i=9;i>6;i--){\n\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}\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",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint[] height = new int[10];\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\t\n\t\t\t\t\t\theight[i] = Integer.parseInt(reader.readLine());\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t}\n\t\t\tArrays.sort(height);\n\t\t\t\n\t\t\tfor(int i=9;i>6;i--){\n\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}\n\t\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint[] height = new int[10];\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\t\n\t\t\t\t\t\theight[i] = Integer.parseInt(reader.readLine());\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t}\n\t\t\tArrays.sort(height);\n\t\t\t\n\t\t\tfor(int i=9;i>6;i--){\n\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}\n\t\t}",
"main",
"{\n\t\t BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint[] height = new int[10];\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\t\n\t\t\t\t\t\theight[i] = Integer.parseInt(reader.readLine());\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t}\n\t\t\tArrays.sort(height);\n\t\t\t\n\t\t\tfor(int i=9;i>6;i--){\n\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}\n\t\t}",
"BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] height = new int[10];",
"height",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\t\n\t\t\t\t\t\theight[i] = Integer.parseInt(reader.readLine());\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\t\t\ttry {\n\t\t\t\t\t\t\n\t\t\t\t\t\theight[i] = Integer.parseInt(reader.readLine());\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\t\ttry {\n\t\t\t\t\t\t\n\t\t\t\t\t\theight[i] = Integer.parseInt(reader.readLine());\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t}",
"try {\n\t\t\t\t\t\t\n\t\t\t\t\t\theight[i] = Integer.parseInt(reader.readLine());\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\t\t\t\n\t\t\t\t\t\theight[i] = Integer.parseInt(reader.readLine());\n\t\t\t\t\t}",
"height[i] = Integer.parseInt(reader.readLine())",
"height[i]",
"height",
"i",
"Integer.parseInt(reader.readLine())",
"Integer.parseInt",
"Integer",
"reader.readLine()",
"reader.readLine",
"reader",
"Arrays.sort(height)",
"Arrays.sort",
"Arrays",
"height",
"for(int i=9;i>6;i--){\n\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}",
"int i=9;",
"int i=9;",
"i",
"9",
"i>6",
"i",
"6",
"i--",
"i--",
"i",
"{\n\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}",
"{\n\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}",
"System.out.println(height[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"height[i]",
"height",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint[] height = new int[10];\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\t\n\t\t\t\t\t\theight[i] = Integer.parseInt(reader.readLine());\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t}\n\t\t\tArrays.sort(height);\n\t\t\t\n\t\t\tfor(int i=9;i>6;i--){\n\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}\n\t\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint[] height = new int[10];\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\t\n\t\t\t\t\t\theight[i] = Integer.parseInt(reader.readLine());\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t}\n\t\t\tArrays.sort(height);\n\t\t\t\n\t\t\tfor(int i=9;i>6;i--){\n\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}\n\t\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));
int[] height = new int[10];
for (int i = 0; i < 10; i++) {
try {
height[i] = Integer.parseInt(reader.readLine());
} catch (IOException e) {
// TODO ????????????????????? catch ????????????
e.printStackTrace();
}
}
Arrays.sort(height);
for(int i=9;i>6;i--){
System.out.println(height[i]);
}
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
30,
0,
13,
13,
0,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
30,
0,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
148,
2
],
[
148,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
5,
11
],
[
11,
12
],
[
5,
13
],
[
13,
14
],
[
5,
15
],
[
15,
16
],
[
5,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
5,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
5,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
5,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
5,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
51,
58
],
[
58,
59
],
[
58,
60
],
[
47,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
61,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
5,
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
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
88,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
102,
104
],
[
98,
105
],
[
105,
106
],
[
105,
107
],
[
94,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
112,
116
],
[
116,
117
],
[
116,
118
],
[
108,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
5,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
5,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
133,
138
],
[
5,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
139,
144
],
[
3,
145
],
[
145,
146
],
[
0,
147
],
[
147,
148
],
[
147,
149
]
] | [
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\tint first, second, third, temp;\n\n\t\tfirst = sc.nextInt(); // i=0\n\n\t\ttemp = sc.nextInt(); // i=1\n\t\tif (temp > first) {\n\t\t\tsecond = first;\n\t\t\tfirst = temp;\n\t\t} else {\n\t\t\tsecond = temp;\n\t\t}\n\n\t\ttemp = sc.nextInt(); // i=2\n\t\tif (temp > first) {\n\t\t\tthird = second;\n\t\t\tsecond = first;\n\t\t\tfirst = temp;\n\t\t} else if (temp > second) {\n\t\t\tthird = second;\n\t\t\tsecond = temp;\n\t\t} else {\n\t\t\tthird = temp;\n\t\t}\n\n\t\tfor (int i=3; i < 10; i++) {\n\t\t\ttemp = sc.nextInt();\n\t\t\tif (temp > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = temp;\n\t\t\t} else if (temp > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = temp;\n\t\t\t} else if (temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\tint first, second, third, temp;\n\n\t\tfirst = sc.nextInt(); // i=0\n\n\t\ttemp = sc.nextInt(); // i=1\n\t\tif (temp > first) {\n\t\t\tsecond = first;\n\t\t\tfirst = temp;\n\t\t} else {\n\t\t\tsecond = temp;\n\t\t}\n\n\t\ttemp = sc.nextInt(); // i=2\n\t\tif (temp > first) {\n\t\t\tthird = second;\n\t\t\tsecond = first;\n\t\t\tfirst = temp;\n\t\t} else if (temp > second) {\n\t\t\tthird = second;\n\t\t\tsecond = temp;\n\t\t} else {\n\t\t\tthird = temp;\n\t\t}\n\n\t\tfor (int i=3; i < 10; i++) {\n\t\t\ttemp = sc.nextInt();\n\t\t\tif (temp > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = temp;\n\t\t\t} else if (temp > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = temp;\n\t\t\t} else if (temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\tint first, second, third, temp;\n\n\t\tfirst = sc.nextInt(); // i=0\n\n\t\ttemp = sc.nextInt(); // i=1\n\t\tif (temp > first) {\n\t\t\tsecond = first;\n\t\t\tfirst = temp;\n\t\t} else {\n\t\t\tsecond = temp;\n\t\t}\n\n\t\ttemp = sc.nextInt(); // i=2\n\t\tif (temp > first) {\n\t\t\tthird = second;\n\t\t\tsecond = first;\n\t\t\tfirst = temp;\n\t\t} else if (temp > second) {\n\t\t\tthird = second;\n\t\t\tsecond = temp;\n\t\t} else {\n\t\t\tthird = temp;\n\t\t}\n\n\t\tfor (int i=3; i < 10; i++) {\n\t\t\ttemp = sc.nextInt();\n\t\t\tif (temp > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = temp;\n\t\t\t} else if (temp > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = temp;\n\t\t\t} else if (temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\tint first, second, third, temp;\n\n\t\tfirst = sc.nextInt(); // i=0\n\n\t\ttemp = sc.nextInt(); // i=1\n\t\tif (temp > first) {\n\t\t\tsecond = first;\n\t\t\tfirst = temp;\n\t\t} else {\n\t\t\tsecond = temp;\n\t\t}\n\n\t\ttemp = sc.nextInt(); // i=2\n\t\tif (temp > first) {\n\t\t\tthird = second;\n\t\t\tsecond = first;\n\t\t\tfirst = temp;\n\t\t} else if (temp > second) {\n\t\t\tthird = second;\n\t\t\tsecond = temp;\n\t\t} else {\n\t\t\tthird = temp;\n\t\t}\n\n\t\tfor (int i=3; i < 10; i++) {\n\t\t\ttemp = sc.nextInt();\n\t\t\tif (temp > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = temp;\n\t\t\t} else if (temp > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = temp;\n\t\t\t} else if (temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t}",
"java.util.Scanner sc = new java.util.Scanner(System.in);",
"sc",
"new java.util.Scanner(System.in)",
"int first",
"first",
"second",
"second",
"third",
"third",
"temp;",
"temp",
"first = sc.nextInt()",
"first",
"sc.nextInt()",
"sc.nextInt",
"sc",
"temp = sc.nextInt()",
"temp",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (temp > first) {\n\t\t\tsecond = first;\n\t\t\tfirst = temp;\n\t\t} else {\n\t\t\tsecond = temp;\n\t\t}",
"temp > first",
"temp",
"first",
"{\n\t\t\tsecond = first;\n\t\t\tfirst = temp;\n\t\t}",
"second = first",
"second",
"first",
"first = temp",
"first",
"temp",
"{\n\t\t\tsecond = temp;\n\t\t}",
"second = temp",
"second",
"temp",
"temp = sc.nextInt()",
"temp",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (temp > first) {\n\t\t\tthird = second;\n\t\t\tsecond = first;\n\t\t\tfirst = temp;\n\t\t} else if (temp > second) {\n\t\t\tthird = second;\n\t\t\tsecond = temp;\n\t\t} else {\n\t\t\tthird = temp;\n\t\t}",
"temp > first",
"temp",
"first",
"{\n\t\t\tthird = second;\n\t\t\tsecond = first;\n\t\t\tfirst = temp;\n\t\t}",
"third = second",
"third",
"second",
"second = first",
"second",
"first",
"first = temp",
"first",
"temp",
"if (temp > second) {\n\t\t\tthird = second;\n\t\t\tsecond = temp;\n\t\t} else {\n\t\t\tthird = temp;\n\t\t}",
"temp > second",
"temp",
"second",
"{\n\t\t\tthird = second;\n\t\t\tsecond = temp;\n\t\t}",
"third = second",
"third",
"second",
"second = temp",
"second",
"temp",
"{\n\t\t\tthird = temp;\n\t\t}",
"third = temp",
"third",
"temp",
"for (int i=3; i < 10; i++) {\n\t\t\ttemp = sc.nextInt();\n\t\t\tif (temp > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = temp;\n\t\t\t} else if (temp > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = temp;\n\t\t\t} else if (temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}\n\t\t}",
"int i=3;",
"int i=3;",
"i",
"3",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\ttemp = sc.nextInt();\n\t\t\tif (temp > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = temp;\n\t\t\t} else if (temp > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = temp;\n\t\t\t} else if (temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}\n\t\t}",
"{\n\t\t\ttemp = sc.nextInt();\n\t\t\tif (temp > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = temp;\n\t\t\t} else if (temp > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = temp;\n\t\t\t} else if (temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}\n\t\t}",
"temp = sc.nextInt()",
"temp",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (temp > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = temp;\n\t\t\t} else if (temp > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = temp;\n\t\t\t} else if (temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}",
"temp > first",
"temp",
"first",
"{\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = temp;\n\t\t\t}",
"third = second",
"third",
"second",
"second = first",
"second",
"first",
"first = temp",
"first",
"temp",
"if (temp > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = temp;\n\t\t\t} else if (temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}",
"temp > second",
"temp",
"second",
"{\n\t\t\t\tthird = second;\n\t\t\t\tsecond = temp;\n\t\t\t}",
"third = second",
"third",
"second",
"second = temp",
"second",
"temp",
"if (temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}",
"temp > third",
"temp",
"third",
"{\n\t\t\t\tthird = temp;\n\t\t\t}",
"third = temp",
"third",
"temp",
"System.out.println(first)",
"System.out.println",
"System.out",
"System",
"System.out",
"first",
"System.out.println(second)",
"System.out.println",
"System.out",
"System",
"System.out",
"second",
"System.out.println(third)",
"System.out.println",
"System.out",
"System",
"System.out",
"third",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\tint first, second, third, temp;\n\n\t\tfirst = sc.nextInt(); // i=0\n\n\t\ttemp = sc.nextInt(); // i=1\n\t\tif (temp > first) {\n\t\t\tsecond = first;\n\t\t\tfirst = temp;\n\t\t} else {\n\t\t\tsecond = temp;\n\t\t}\n\n\t\ttemp = sc.nextInt(); // i=2\n\t\tif (temp > first) {\n\t\t\tthird = second;\n\t\t\tsecond = first;\n\t\t\tfirst = temp;\n\t\t} else if (temp > second) {\n\t\t\tthird = second;\n\t\t\tsecond = temp;\n\t\t} else {\n\t\t\tthird = temp;\n\t\t}\n\n\t\tfor (int i=3; i < 10; i++) {\n\t\t\ttemp = sc.nextInt();\n\t\t\tif (temp > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = temp;\n\t\t\t} else if (temp > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = temp;\n\t\t\t} else if (temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\tint first, second, third, temp;\n\n\t\tfirst = sc.nextInt(); // i=0\n\n\t\ttemp = sc.nextInt(); // i=1\n\t\tif (temp > first) {\n\t\t\tsecond = first;\n\t\t\tfirst = temp;\n\t\t} else {\n\t\t\tsecond = temp;\n\t\t}\n\n\t\ttemp = sc.nextInt(); // i=2\n\t\tif (temp > first) {\n\t\t\tthird = second;\n\t\t\tsecond = first;\n\t\t\tfirst = temp;\n\t\t} else if (temp > second) {\n\t\t\tthird = second;\n\t\t\tsecond = temp;\n\t\t} else {\n\t\t\tthird = temp;\n\t\t}\n\n\t\tfor (int i=3; i < 10; i++) {\n\t\t\ttemp = sc.nextInt();\n\t\t\tif (temp > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = temp;\n\t\t\t} else if (temp > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = temp;\n\t\t\t} else if (temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t}\n\n}",
"Main"
] | public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
java.util.Scanner sc = new java.util.Scanner(System.in);
int first, second, third, temp;
first = sc.nextInt(); // i=0
temp = sc.nextInt(); // i=1
if (temp > first) {
second = first;
first = temp;
} else {
second = temp;
}
temp = sc.nextInt(); // i=2
if (temp > first) {
third = second;
second = first;
first = temp;
} else if (temp > second) {
third = second;
second = temp;
} else {
third = temp;
}
for (int i=3; i < 10; i++) {
temp = sc.nextInt();
if (temp > first) {
third = second;
second = first;
first = temp;
} else if (temp > second) {
third = second;
second = temp;
} else if (temp > third) {
third = temp;
}
}
System.out.println(first);
System.out.println(second);
System.out.println(third);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
30,
4,
18,
13,
30,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
82,
14
],
[
82,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
21,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
52,
53
],
[
26,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
26,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
58,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
15,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\n\t\t\tint[] height = new int[10];\n\n\t\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\n\t\t\t}\n\n\t\t\tArrays.sort(height);\n\n\t\t\tfor (int j = 9; j > 6; j--) {\n\t\t\t\tSystem.out.println(height[j]);\n\t\t\t}\n\n\t\t} finally {\n\t\t\tbr.close();\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",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\n\t\t\tint[] height = new int[10];\n\n\t\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\n\t\t\t}\n\n\t\t\tArrays.sort(height);\n\n\t\t\tfor (int j = 9; j > 6; j--) {\n\t\t\t\tSystem.out.println(height[j]);\n\t\t\t}\n\n\t\t} finally {\n\t\t\tbr.close();\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\n\t\t\tint[] height = new int[10];\n\n\t\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\n\t\t\t}\n\n\t\t\tArrays.sort(height);\n\n\t\t\tfor (int j = 9; j > 6; j--) {\n\t\t\t\tSystem.out.println(height[j]);\n\t\t\t}\n\n\t\t} finally {\n\t\t\tbr.close();\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\n\t\t\tint[] height = new int[10];\n\n\t\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\n\t\t\t}\n\n\t\t\tArrays.sort(height);\n\n\t\t\tfor (int j = 9; j > 6; j--) {\n\t\t\t\tSystem.out.println(height[j]);\n\t\t\t}\n\n\t\t} finally {\n\t\t\tbr.close();\n\t\t}\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n\n\t\t\tint[] height = new int[10];\n\n\t\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\n\t\t\t}\n\n\t\t\tArrays.sort(height);\n\n\t\t\tfor (int j = 9; j > 6; j--) {\n\t\t\t\tSystem.out.println(height[j]);\n\t\t\t}\n\n\t\t} finally {\n\t\t\tbr.close();\n\t\t}",
"{\n\t\t\tbr.close();\n\t\t}",
"br.close()",
"br.close",
"br",
"{\n\n\t\t\tint[] height = new int[10];\n\n\t\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\n\t\t\t}\n\n\t\t\tArrays.sort(height);\n\n\t\t\tfor (int j = 9; j > 6; j--) {\n\t\t\t\tSystem.out.println(height[j]);\n\t\t\t}\n\n\t\t}",
"int[] height = new int[10];",
"height",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++) {\n\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\n\t\t\t}",
"{\n\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\n\t\t\t}",
"height[i] = Integer.parseInt(br.readLine())",
"height[i]",
"height",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(height)",
"Arrays.sort",
"Arrays",
"height",
"for (int j = 9; j > 6; j--) {\n\t\t\t\tSystem.out.println(height[j]);\n\t\t\t}",
"int j = 9;",
"int j = 9;",
"j",
"9",
"j > 6",
"j",
"6",
"j--",
"j--",
"j",
"{\n\t\t\t\tSystem.out.println(height[j]);\n\t\t\t}",
"{\n\t\t\t\tSystem.out.println(height[j]);\n\t\t\t}",
"System.out.println(height[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"height[j]",
"height",
"j",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\n\t\t\tint[] height = new int[10];\n\n\t\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\n\t\t\t}\n\n\t\t\tArrays.sort(height);\n\n\t\t\tfor (int j = 9; j > 6; j--) {\n\t\t\t\tSystem.out.println(height[j]);\n\t\t\t}\n\n\t\t} finally {\n\t\t\tbr.close();\n\t\t}\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\n\t\t\tint[] height = new int[10];\n\n\t\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\n\t\t\t}\n\n\t\t\tArrays.sort(height);\n\n\t\t\tfor (int j = 9; j > 6; j--) {\n\t\t\t\tSystem.out.println(height[j]);\n\t\t\t}\n\n\t\t} finally {\n\t\t\tbr.close();\n\t\t}\n\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try {
int[] height = new int[10];
for (int i = 0; i < 10; i++) {
height[i] = Integer.parseInt(br.readLine());
}
Arrays.sort(height);
for (int j = 9; j > 6; j--) {
System.out.println(height[j]);
}
} finally {
br.close();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
67,
5
],
[
67,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
8,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"import java.util.*;\npublic class Main{\n public static void main(String args[]){\n Scanner n=new Scanner(System.in);\n int i[]=new int[10];\n for(int j=0;j<=9;j++){\n i[j]=n.nextInt();\n }\n Arrays.sort(i);\n System.out.println(i[9]);\n System.out.println(i[8]);\n System.out.println(i[7]);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String args[]){\n Scanner n=new Scanner(System.in);\n int i[]=new int[10];\n for(int j=0;j<=9;j++){\n i[j]=n.nextInt();\n }\n Arrays.sort(i);\n System.out.println(i[9]);\n System.out.println(i[8]);\n System.out.println(i[7]);\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner n=new Scanner(System.in);\n int i[]=new int[10];\n for(int j=0;j<=9;j++){\n i[j]=n.nextInt();\n }\n Arrays.sort(i);\n System.out.println(i[9]);\n System.out.println(i[8]);\n System.out.println(i[7]);\n }",
"main",
"{\n Scanner n=new Scanner(System.in);\n int i[]=new int[10];\n for(int j=0;j<=9;j++){\n i[j]=n.nextInt();\n }\n Arrays.sort(i);\n System.out.println(i[9]);\n System.out.println(i[8]);\n System.out.println(i[7]);\n }",
"Scanner n=new Scanner(System.in);",
"n",
"new Scanner(System.in)",
"int i[]=new int[10];",
"i",
"new int[10]",
"10",
"for(int j=0;j<=9;j++){\n i[j]=n.nextInt();\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<=9",
"j",
"9",
"j++",
"j++",
"j",
"{\n i[j]=n.nextInt();\n }",
"{\n i[j]=n.nextInt();\n }",
"i[j]=n.nextInt()",
"i[j]",
"i",
"j",
"n.nextInt()",
"n.nextInt",
"n",
"Arrays.sort(i)",
"Arrays.sort",
"Arrays",
"i",
"System.out.println(i[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"i[9]",
"i",
"9",
"System.out.println(i[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"i[8]",
"i",
"8",
"System.out.println(i[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"i[7]",
"i",
"7",
"String args[]",
"args",
"public class Main{\n public static void main(String args[]){\n Scanner n=new Scanner(System.in);\n int i[]=new int[10];\n for(int j=0;j<=9;j++){\n i[j]=n.nextInt();\n }\n Arrays.sort(i);\n System.out.println(i[9]);\n System.out.println(i[8]);\n System.out.println(i[7]);\n }\n}",
"public class Main{\n public static void main(String args[]){\n Scanner n=new Scanner(System.in);\n int i[]=new int[10];\n for(int j=0;j<=9;j++){\n i[j]=n.nextInt();\n }\n Arrays.sort(i);\n System.out.println(i[9]);\n System.out.println(i[8]);\n System.out.println(i[7]);\n }\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String args[]){
Scanner n=new Scanner(System.in);
int i[]=new int[10];
for(int j=0;j<=9;j++){
i[j]=n.nextInt();
}
Arrays.sort(i);
System.out.println(i[9]);
System.out.println(i[8]);
System.out.println(i[7]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
93,
5
],
[
93,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
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
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
43,
50
],
[
50,
51
],
[
50,
52
],
[
39,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
53,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
6,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] | [
"\timport java.util.Scanner;\npublic class Main {\n\t \tpublic static void main(String[] args) {\n\t \t\tScanner sc = new Scanner(System.in);\n\t \t\tint max1 = 0;\n\t \t\tint max2 = 0;\n\t \t\tint max3 = 0;\n\t \t\tfor (int n=1;n<=10;n++ ){\n\t \t\t\tint t = sc.nextInt();\n\t \t\t\tif (t>=max1){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = max1;\n\t \t\t\t\tmax1 = t;\n\t \t\t\t}else if (t>=max2){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = t;\n\t \t\t\t}else if (t>=max3){\n\t \t\t\t\tmax3 = t;\n\t \t\t\t}\n\t \t\t}\n\t \t\tSystem.out.println(max1);\n\t \t\tSystem.out.println(max2);\n\t \t\tSystem.out.println(max3);\n\t \t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t \tpublic static void main(String[] args) {\n\t \t\tScanner sc = new Scanner(System.in);\n\t \t\tint max1 = 0;\n\t \t\tint max2 = 0;\n\t \t\tint max3 = 0;\n\t \t\tfor (int n=1;n<=10;n++ ){\n\t \t\t\tint t = sc.nextInt();\n\t \t\t\tif (t>=max1){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = max1;\n\t \t\t\t\tmax1 = t;\n\t \t\t\t}else if (t>=max2){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = t;\n\t \t\t\t}else if (t>=max3){\n\t \t\t\t\tmax3 = t;\n\t \t\t\t}\n\t \t\t}\n\t \t\tSystem.out.println(max1);\n\t \t\tSystem.out.println(max2);\n\t \t\tSystem.out.println(max3);\n\t \t}\n}",
"Main",
"public static void main(String[] args) {\n\t \t\tScanner sc = new Scanner(System.in);\n\t \t\tint max1 = 0;\n\t \t\tint max2 = 0;\n\t \t\tint max3 = 0;\n\t \t\tfor (int n=1;n<=10;n++ ){\n\t \t\t\tint t = sc.nextInt();\n\t \t\t\tif (t>=max1){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = max1;\n\t \t\t\t\tmax1 = t;\n\t \t\t\t}else if (t>=max2){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = t;\n\t \t\t\t}else if (t>=max3){\n\t \t\t\t\tmax3 = t;\n\t \t\t\t}\n\t \t\t}\n\t \t\tSystem.out.println(max1);\n\t \t\tSystem.out.println(max2);\n\t \t\tSystem.out.println(max3);\n\t \t}",
"main",
"{\n\t \t\tScanner sc = new Scanner(System.in);\n\t \t\tint max1 = 0;\n\t \t\tint max2 = 0;\n\t \t\tint max3 = 0;\n\t \t\tfor (int n=1;n<=10;n++ ){\n\t \t\t\tint t = sc.nextInt();\n\t \t\t\tif (t>=max1){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = max1;\n\t \t\t\t\tmax1 = t;\n\t \t\t\t}else if (t>=max2){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = t;\n\t \t\t\t}else if (t>=max3){\n\t \t\t\t\tmax3 = t;\n\t \t\t\t}\n\t \t\t}\n\t \t\tSystem.out.println(max1);\n\t \t\tSystem.out.println(max2);\n\t \t\tSystem.out.println(max3);\n\t \t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int max1 = 0;",
"max1",
"0",
"int max2 = 0;",
"max2",
"0",
"int max3 = 0;",
"max3",
"0",
"for (int n=1;n<=10;n++ ){\n\t \t\t\tint t = sc.nextInt();\n\t \t\t\tif (t>=max1){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = max1;\n\t \t\t\t\tmax1 = t;\n\t \t\t\t}else if (t>=max2){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = t;\n\t \t\t\t}else if (t>=max3){\n\t \t\t\t\tmax3 = t;\n\t \t\t\t}\n\t \t\t}",
"int n=1;",
"int n=1;",
"n",
"1",
"n<=10",
"n",
"10",
"n++",
"n++",
"n",
"{\n\t \t\t\tint t = sc.nextInt();\n\t \t\t\tif (t>=max1){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = max1;\n\t \t\t\t\tmax1 = t;\n\t \t\t\t}else if (t>=max2){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = t;\n\t \t\t\t}else if (t>=max3){\n\t \t\t\t\tmax3 = t;\n\t \t\t\t}\n\t \t\t}",
"{\n\t \t\t\tint t = sc.nextInt();\n\t \t\t\tif (t>=max1){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = max1;\n\t \t\t\t\tmax1 = t;\n\t \t\t\t}else if (t>=max2){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = t;\n\t \t\t\t}else if (t>=max3){\n\t \t\t\t\tmax3 = t;\n\t \t\t\t}\n\t \t\t}",
"int t = sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (t>=max1){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = max1;\n\t \t\t\t\tmax1 = t;\n\t \t\t\t}else if (t>=max2){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = t;\n\t \t\t\t}else if (t>=max3){\n\t \t\t\t\tmax3 = t;\n\t \t\t\t}",
"t>=max1",
"t",
"max1",
"{\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = max1;\n\t \t\t\t\tmax1 = t;\n\t \t\t\t}",
"max3 = max2",
"max3",
"max2",
"max2 = max1",
"max2",
"max1",
"max1 = t",
"max1",
"t",
"if (t>=max2){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = t;\n\t \t\t\t}else if (t>=max3){\n\t \t\t\t\tmax3 = t;\n\t \t\t\t}",
"t>=max2",
"t",
"max2",
"{\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = t;\n\t \t\t\t}",
"max3 = max2",
"max3",
"max2",
"max2 = t",
"max2",
"t",
"if (t>=max3){\n\t \t\t\t\tmax3 = t;\n\t \t\t\t}",
"t>=max3",
"t",
"max3",
"{\n\t \t\t\t\tmax3 = t;\n\t \t\t\t}",
"max3 = t",
"max3",
"t",
"System.out.println(max1)",
"System.out.println",
"System.out",
"System",
"System.out",
"max1",
"System.out.println(max2)",
"System.out.println",
"System.out",
"System",
"System.out",
"max2",
"System.out.println(max3)",
"System.out.println",
"System.out",
"System",
"System.out",
"max3",
"String[] args",
"args",
"public class Main {\n\t \tpublic static void main(String[] args) {\n\t \t\tScanner sc = new Scanner(System.in);\n\t \t\tint max1 = 0;\n\t \t\tint max2 = 0;\n\t \t\tint max3 = 0;\n\t \t\tfor (int n=1;n<=10;n++ ){\n\t \t\t\tint t = sc.nextInt();\n\t \t\t\tif (t>=max1){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = max1;\n\t \t\t\t\tmax1 = t;\n\t \t\t\t}else if (t>=max2){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = t;\n\t \t\t\t}else if (t>=max3){\n\t \t\t\t\tmax3 = t;\n\t \t\t\t}\n\t \t\t}\n\t \t\tSystem.out.println(max1);\n\t \t\tSystem.out.println(max2);\n\t \t\tSystem.out.println(max3);\n\t \t}\n}",
"public class Main {\n\t \tpublic static void main(String[] args) {\n\t \t\tScanner sc = new Scanner(System.in);\n\t \t\tint max1 = 0;\n\t \t\tint max2 = 0;\n\t \t\tint max3 = 0;\n\t \t\tfor (int n=1;n<=10;n++ ){\n\t \t\t\tint t = sc.nextInt();\n\t \t\t\tif (t>=max1){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = max1;\n\t \t\t\t\tmax1 = t;\n\t \t\t\t}else if (t>=max2){\n\t \t\t\t\tmax3 = max2;\n\t \t\t\t\tmax2 = t;\n\t \t\t\t}else if (t>=max3){\n\t \t\t\t\tmax3 = t;\n\t \t\t\t}\n\t \t\t}\n\t \t\tSystem.out.println(max1);\n\t \t\tSystem.out.println(max2);\n\t \t\tSystem.out.println(max3);\n\t \t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int max1 = 0;
int max2 = 0;
int max3 = 0;
for (int n=1;n<=10;n++ ){
int t = sc.nextInt();
if (t>=max1){
max3 = max2;
max2 = max1;
max1 = t;
}else if (t>=max2){
max3 = max2;
max2 = t;
}else if (t>=max3){
max3 = t;
}
}
System.out.println(max1);
System.out.println(max2);
System.out.println(max3);
}
} |
[
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,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
0,
18,
13,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
18,
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
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
27,
37
],
[
37,
38
],
[
38,
39
],
[
27,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
41,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
19,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
19,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
19,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
19,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
83,
85
],
[
15,
86
],
[
86,
87
]
] | [
"\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\n/**\n * http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001&lang=jp\n *\n *\n */\nclass Main{\n public static void main(String[] a) throws IOException{\n\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n \tint[] data = new int[10];\n \tfor (int i=0; i<data.length; i++) {\n \t\tString line = br.readLine();\n \t\tint value = Integer.parseInt(line);\n \t\tdata[i] = value;\n \t}\n\n \tArrays.sort(data);\n\n \tSystem.out.println(data[9]);\n \tSystem.out.println(data[8]);\n \tSystem.out.println(data[7]);\n\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",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main{\n public static void main(String[] a) throws IOException{\n\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n \tint[] data = new int[10];\n \tfor (int i=0; i<data.length; i++) {\n \t\tString line = br.readLine();\n \t\tint value = Integer.parseInt(line);\n \t\tdata[i] = value;\n \t}\n\n \tArrays.sort(data);\n\n \tSystem.out.println(data[9]);\n \tSystem.out.println(data[8]);\n \tSystem.out.println(data[7]);\n\n }\n\n }\n\n}",
"Main",
"public static void main(String[] a) throws IOException{\n\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n \tint[] data = new int[10];\n \tfor (int i=0; i<data.length; i++) {\n \t\tString line = br.readLine();\n \t\tint value = Integer.parseInt(line);\n \t\tdata[i] = value;\n \t}\n\n \tArrays.sort(data);\n\n \tSystem.out.println(data[9]);\n \tSystem.out.println(data[8]);\n \tSystem.out.println(data[7]);\n\n }\n\n }",
"main",
"{\n\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n \tint[] data = new int[10];\n \tfor (int i=0; i<data.length; i++) {\n \t\tString line = br.readLine();\n \t\tint value = Integer.parseInt(line);\n \t\tdata[i] = value;\n \t}\n\n \tArrays.sort(data);\n\n \tSystem.out.println(data[9]);\n \tSystem.out.println(data[8]);\n \tSystem.out.println(data[7]);\n\n }\n\n }",
"try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\n \tint[] data = new int[10];\n \tfor (int i=0; i<data.length; i++) {\n \t\tString line = br.readLine();\n \t\tint value = Integer.parseInt(line);\n \t\tdata[i] = value;\n \t}\n\n \tArrays.sort(data);\n\n \tSystem.out.println(data[9]);\n \tSystem.out.println(data[8]);\n \tSystem.out.println(data[7]);\n\n }",
"{\n\n \tint[] data = new int[10];\n \tfor (int i=0; i<data.length; i++) {\n \t\tString line = br.readLine();\n \t\tint value = Integer.parseInt(line);\n \t\tdata[i] = value;\n \t}\n\n \tArrays.sort(data);\n\n \tSystem.out.println(data[9]);\n \tSystem.out.println(data[8]);\n \tSystem.out.println(data[7]);\n\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] data = new int[10];",
"data",
"new int[10]",
"10",
"for (int i=0; i<data.length; i++) {\n \t\tString line = br.readLine();\n \t\tint value = Integer.parseInt(line);\n \t\tdata[i] = value;\n \t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<data.length",
"i",
"data.length",
"data",
"data.length",
"i++",
"i++",
"i",
"{\n \t\tString line = br.readLine();\n \t\tint value = Integer.parseInt(line);\n \t\tdata[i] = value;\n \t}",
"{\n \t\tString line = br.readLine();\n \t\tint value = Integer.parseInt(line);\n \t\tdata[i] = value;\n \t}",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"int value = Integer.parseInt(line);",
"value",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"data[i] = value",
"data[i]",
"data",
"i",
"value",
"Arrays.sort(data)",
"Arrays.sort",
"Arrays",
"data",
"System.out.println(data[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"data[9]",
"data",
"9",
"System.out.println(data[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"data[8]",
"data",
"8",
"System.out.println(data[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"data[7]",
"data",
"7",
"String[] a",
"a"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
/**
* http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0001&lang=jp
*
*
*/
class Main{
public static void main(String[] a) throws IOException{
try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
int[] data = new int[10];
for (int i=0; i<data.length; i++) {
String line = br.readLine();
int value = Integer.parseInt(line);
data[i] = value;
}
Arrays.sort(data);
System.out.println(data[9]);
System.out.println(data[8]);
System.out.println(data[7]);
}
}
} |
[
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,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
20,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
0,
18,
13,
17,
4,
18,
13,
41,
13,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
18,
13,
13,
14,
2,
13,
18,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
18,
13,
13,
40,
17,
0,
13,
18,
13,
17,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
14,
2,
13,
18,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
18,
13,
13,
40,
17,
0,
13,
18,
13,
17,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
14,
2,
13,
18,
13,
13,
30,
0,
13,
13,
0,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
334,
23
],
[
334,
24
],
[
24,
25
],
[
334,
26
],
[
26,
27
],
[
334,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
30,
37
],
[
37,
38
],
[
37,
39
],
[
30,
40
],
[
40,
41
],
[
41,
42
],
[
30,
43
],
[
43,
44
],
[
44,
45
],
[
28,
46
],
[
46,
47
],
[
334,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
57
],
[
57,
58
],
[
52,
59
],
[
59,
60
],
[
52,
61
],
[
61,
62
],
[
52,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
52,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
52,
75
],
[
75,
76
],
[
75,
77
],
[
52,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
83,
85
],
[
78,
86
],
[
86,
87
],
[
87,
88
],
[
78,
89
],
[
90,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
96,
97
],
[
90,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
100,
104
],
[
104,
105
],
[
104,
106
],
[
90,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
110,
112
],
[
107,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
52,
117
],
[
117,
118
],
[
117,
119
],
[
52,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
124,
125
],
[
52,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
128,
130
],
[
52,
131
],
[
131,
132
],
[
131,
133
],
[
52,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
134,
139
],
[
139,
140
],
[
139,
141
],
[
134,
142
],
[
142,
143
],
[
143,
144
],
[
134,
145
],
[
146,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
149,
152
],
[
149,
153
],
[
153,
154
],
[
153,
155
],
[
146,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
159,
161
],
[
156,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
52,
166
],
[
166,
167
],
[
166,
168
],
[
52,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
173
],
[
173,
174
],
[
52,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
177,
179
],
[
52,
180
],
[
180,
181
],
[
180,
182
],
[
52,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
183,
188
],
[
188,
189
],
[
188,
190
],
[
183,
191
],
[
191,
192
],
[
192,
193
],
[
183,
194
],
[
195,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
199,
200
],
[
198,
201
],
[
198,
202
],
[
202,
203
],
[
202,
204
],
[
195,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
208,
210
],
[
205,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
52,
215
],
[
215,
216
],
[
215,
217
],
[
52,
218
],
[
218,
219
],
[
219,
220
],
[
218,
221
],
[
52,
222
],
[
222,
223
],
[
223,
224
],
[
222,
225
],
[
52,
226
],
[
226,
227
],
[
227,
228
],
[
226,
229
],
[
334,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
230,
234
],
[
234,
235
],
[
230,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
236,
242
],
[
242,
243
],
[
230,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
247,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
248,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
247,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
246,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
261,
264
],
[
264,
265
],
[
265,
266
],
[
230,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
271,
275
],
[
275,
276
],
[
276,
277
],
[
277,
278
],
[
270,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
269,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
284,
287
],
[
287,
288
],
[
288,
289
],
[
230,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
294,
298
],
[
298,
299
],
[
299,
300
],
[
300,
301
],
[
293,
302
],
[
302,
303
],
[
303,
304
],
[
303,
305
],
[
292,
306
],
[
306,
307
],
[
307,
308
],
[
308,
309
],
[
230,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
315,
316
],
[
315,
317
],
[
314,
318
],
[
318,
319
],
[
319,
320
],
[
320,
321
],
[
313,
322
],
[
322,
323
],
[
323,
324
],
[
323,
325
],
[
312,
326
],
[
326,
327
],
[
327,
328
],
[
328,
329
],
[
327,
330
],
[
330,
331
],
[
331,
332
],
[
0,
333
],
[
333,
334
],
[
333,
335
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\nimport java.util.StringTokenizer;\n\npublic class Main {\n static InputReader in;\n static PrintWriter out;\n \n static class Solution {\n void solve() throws IOException {\n int[] height = new int[10];\n int first;\n int second;\n int third;\n \n \n height[0] = in.nextInt();\n int max = height[0];\n int memmax = 0;\n \n for (int i = 1; i < 10; i++) {\n height[i] = in.nextInt();\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n first = max;\n \n height[memmax] = -1;\n max = height[0];\n memmax = 0;\n for (int i = 1; i < 10; i++) {\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n second = max;\n \n height[memmax] = -1;\n max = height[0];\n memmax = 0;\n for (int i = 1; i < 10; i++) {\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n third = max;\n \n out.println(first);\n out.println(second);\n out.println(third);\n \n// End solve()\n }\n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n \n static class Solution {\n void solve() throws IOException {\n int[] height = new int[10];\n int first;\n int second;\n int third;\n \n \n height[0] = in.nextInt();\n int max = height[0];\n int memmax = 0;\n \n for (int i = 1; i < 10; i++) {\n height[i] = in.nextInt();\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n first = max;\n \n height[memmax] = -1;\n max = height[0];\n memmax = 0;\n for (int i = 1; i < 10; i++) {\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n second = max;\n \n height[memmax] = -1;\n max = height[0];\n memmax = 0;\n for (int i = 1; i < 10; i++) {\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n third = max;\n \n out.println(first);\n out.println(second);\n out.println(third);\n \n// End solve()\n }\n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}",
"Main",
"static InputReader in;",
"in",
"static PrintWriter out;",
"out",
"public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}",
"main",
"{\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}",
"in = new InputReader(System.in)",
"in",
"new InputReader(System.in)",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"Solution solver = new Solution();",
"solver",
"new Solution()",
"solver.solve()",
"solver.solve",
"solver",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Solution {\n void solve() throws IOException {\n int[] height = new int[10];\n int first;\n int second;\n int third;\n \n \n height[0] = in.nextInt();\n int max = height[0];\n int memmax = 0;\n \n for (int i = 1; i < 10; i++) {\n height[i] = in.nextInt();\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n first = max;\n \n height[memmax] = -1;\n max = height[0];\n memmax = 0;\n for (int i = 1; i < 10; i++) {\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n second = max;\n \n height[memmax] = -1;\n max = height[0];\n memmax = 0;\n for (int i = 1; i < 10; i++) {\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n third = max;\n \n out.println(first);\n out.println(second);\n out.println(third);\n \n// End solve()\n }\n// End Solution\n}",
"Solution",
"void solve() throws IOException {\n int[] height = new int[10];\n int first;\n int second;\n int third;\n \n \n height[0] = in.nextInt();\n int max = height[0];\n int memmax = 0;\n \n for (int i = 1; i < 10; i++) {\n height[i] = in.nextInt();\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n first = max;\n \n height[memmax] = -1;\n max = height[0];\n memmax = 0;\n for (int i = 1; i < 10; i++) {\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n second = max;\n \n height[memmax] = -1;\n max = height[0];\n memmax = 0;\n for (int i = 1; i < 10; i++) {\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n third = max;\n \n out.println(first);\n out.println(second);\n out.println(third);\n \n// End solve()\n }",
"solve",
"{\n int[] height = new int[10];\n int first;\n int second;\n int third;\n \n \n height[0] = in.nextInt();\n int max = height[0];\n int memmax = 0;\n \n for (int i = 1; i < 10; i++) {\n height[i] = in.nextInt();\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n first = max;\n \n height[memmax] = -1;\n max = height[0];\n memmax = 0;\n for (int i = 1; i < 10; i++) {\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n second = max;\n \n height[memmax] = -1;\n max = height[0];\n memmax = 0;\n for (int i = 1; i < 10; i++) {\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n third = max;\n \n out.println(first);\n out.println(second);\n out.println(third);\n \n// End solve()\n }",
"int[] height = new int[10];",
"height",
"new int[10]",
"10",
"int first;",
"first",
"int second;",
"second",
"int third;",
"third",
"height[0] = in.nextInt()",
"height[0]",
"height",
"0",
"in.nextInt()",
"in.nextInt",
"in",
"int max = height[0];",
"max",
"height[0]",
"height",
"0",
"int memmax = 0;",
"memmax",
"0",
"for (int i = 1; i < 10; i++) {\n height[i] = in.nextInt();\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n height[i] = in.nextInt();\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }",
"{\n height[i] = in.nextInt();\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }",
"height[i] = in.nextInt()",
"height[i]",
"height",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"max = Math.max(max, height[i])",
"max",
"Math.max(max, height[i])",
"Math.max",
"Math",
"max",
"height[i]",
"height",
"i",
"if (max == height[i]) {\n memmax = i;\n }",
"max == height[i]",
"max",
"height[i]",
"height",
"i",
"{\n memmax = i;\n }",
"memmax = i",
"memmax",
"i",
"first = max",
"first",
"max",
"height[memmax] = -1",
"height[memmax]",
"height",
"memmax",
"-1",
"1",
"max = height[0]",
"max",
"height[0]",
"height",
"0",
"memmax = 0",
"memmax",
"0",
"for (int i = 1; i < 10; i++) {\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }",
"{\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }",
"max = Math.max(max, height[i])",
"max",
"Math.max(max, height[i])",
"Math.max",
"Math",
"max",
"height[i]",
"height",
"i",
"if (max == height[i]) {\n memmax = i;\n }",
"max == height[i]",
"max",
"height[i]",
"height",
"i",
"{\n memmax = i;\n }",
"memmax = i",
"memmax",
"i",
"second = max",
"second",
"max",
"height[memmax] = -1",
"height[memmax]",
"height",
"memmax",
"-1",
"1",
"max = height[0]",
"max",
"height[0]",
"height",
"0",
"memmax = 0",
"memmax",
"0",
"for (int i = 1; i < 10; i++) {\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }",
"{\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }",
"max = Math.max(max, height[i])",
"max",
"Math.max(max, height[i])",
"Math.max",
"Math",
"max",
"height[i]",
"height",
"i",
"if (max == height[i]) {\n memmax = i;\n }",
"max == height[i]",
"max",
"height[i]",
"height",
"i",
"{\n memmax = i;\n }",
"memmax = i",
"memmax",
"i",
"third = max",
"third",
"max",
"out.println(first)",
"out.println",
"out",
"first",
"out.println(second)",
"out.println",
"out",
"second",
"out.println(third)",
"out.println",
"out",
"third",
"static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }",
"InputReader",
"public BufferedReader br;",
"br",
"public StringTokenizer st;",
"st",
"public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }",
"InputReader",
"{\n br = new BufferedReader(new InputStreamReader(stream));\n }",
"br = new BufferedReader(new InputStreamReader(stream))",
"br",
"new BufferedReader(new InputStreamReader(stream))",
"InputStream stream",
"stream",
"public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }",
"nextInt",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Integer.parseInt(st.nextToken());",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }",
"nextLong",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Long.parseLong(st.nextToken());",
"Long.parseLong(st.nextToken())",
"Long.parseLong",
"Long",
"st.nextToken()",
"st.nextToken",
"st",
"public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }",
"nextDouble",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Double.parseDouble(st.nextToken());",
"Double.parseDouble(st.nextToken())",
"Double.parseDouble",
"Double",
"st.nextToken()",
"st.nextToken",
"st",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n \n static class Solution {\n void solve() throws IOException {\n int[] height = new int[10];\n int first;\n int second;\n int third;\n \n \n height[0] = in.nextInt();\n int max = height[0];\n int memmax = 0;\n \n for (int i = 1; i < 10; i++) {\n height[i] = in.nextInt();\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n first = max;\n \n height[memmax] = -1;\n max = height[0];\n memmax = 0;\n for (int i = 1; i < 10; i++) {\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n second = max;\n \n height[memmax] = -1;\n max = height[0];\n memmax = 0;\n for (int i = 1; i < 10; i++) {\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n third = max;\n \n out.println(first);\n out.println(second);\n out.println(third);\n \n// End solve()\n }\n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n \n static class Solution {\n void solve() throws IOException {\n int[] height = new int[10];\n int first;\n int second;\n int third;\n \n \n height[0] = in.nextInt();\n int max = height[0];\n int memmax = 0;\n \n for (int i = 1; i < 10; i++) {\n height[i] = in.nextInt();\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n first = max;\n \n height[memmax] = -1;\n max = height[0];\n memmax = 0;\n for (int i = 1; i < 10; i++) {\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n second = max;\n \n height[memmax] = -1;\n max = height[0];\n memmax = 0;\n for (int i = 1; i < 10; i++) {\n max = Math.max(max, height[i]);\n if (max == height[i]) {\n memmax = i;\n }\n }\n third = max;\n \n out.println(first);\n out.println(second);\n out.println(third);\n \n// End solve()\n }\n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.Scanner;
import java.util.StringTokenizer;
public class Main {
static InputReader in;
static PrintWriter out;
static class Solution {
void solve() throws IOException {
int[] height = new int[10];
int first;
int second;
int third;
height[0] = in.nextInt();
int max = height[0];
int memmax = 0;
for (int i = 1; i < 10; i++) {
height[i] = in.nextInt();
max = Math.max(max, height[i]);
if (max == height[i]) {
memmax = i;
}
}
first = max;
height[memmax] = -1;
max = height[0];
memmax = 0;
for (int i = 1; i < 10; i++) {
max = Math.max(max, height[i]);
if (max == height[i]) {
memmax = i;
}
}
second = max;
height[memmax] = -1;
max = height[0];
memmax = 0;
for (int i = 1; i < 10; i++) {
max = Math.max(max, height[i]);
if (max == height[i]) {
memmax = i;
}
}
third = max;
out.println(first);
out.println(second);
out.println(third);
// End solve()
}
// End Solution
}
public static void main(String[] args) throws IOException {
in = new InputReader(System.in);
out = new PrintWriter(System.out);
Solution solver = new Solution();
solver.solve();
out.close();
}
static class InputReader {
public BufferedReader br;
public StringTokenizer st;
public InputReader(InputStream stream) {
br = new BufferedReader(new InputStreamReader(stream));
}
public int nextInt() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Integer.parseInt(st.nextToken());
}
public long nextLong() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Long.parseLong(st.nextToken());
}
public String next() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return st.nextToken();
}
public double nextDouble() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Double.parseDouble(st.nextToken());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
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,
13,
11,
1,
41,
13,
17,
2,
17,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
66,
5
],
[
66,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
16,
26
],
[
26,
27
],
[
27,
28
],
[
16,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] | [
"import java.util.*;\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc =new Scanner(System.in);\n int []height = new int[10];\n for(int i =0;i<height.length;i++){\n height[i]=sc.nextInt();\n \n }\n Arrays.sort(height);\n for (int j=9;6<j;j--){\n System.out.println(height[j]);\n }\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc =new Scanner(System.in);\n int []height = new int[10];\n for(int i =0;i<height.length;i++){\n height[i]=sc.nextInt();\n \n }\n Arrays.sort(height);\n for (int j=9;6<j;j--){\n System.out.println(height[j]);\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc =new Scanner(System.in);\n int []height = new int[10];\n for(int i =0;i<height.length;i++){\n height[i]=sc.nextInt();\n \n }\n Arrays.sort(height);\n for (int j=9;6<j;j--){\n System.out.println(height[j]);\n }\n\n }",
"main",
"{\n Scanner sc =new Scanner(System.in);\n int []height = new int[10];\n for(int i =0;i<height.length;i++){\n height[i]=sc.nextInt();\n \n }\n Arrays.sort(height);\n for (int j=9;6<j;j--){\n System.out.println(height[j]);\n }\n\n }",
"Scanner sc =new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int []height = new int[10];",
"height",
"new int[10]",
"10",
"for(int i =0;i<height.length;i++){\n height[i]=sc.nextInt();\n \n }",
"int i =0;",
"int i =0;",
"i",
"0",
"i<height.length",
"i",
"height.length",
"height",
"height.length",
"i++",
"i++",
"i",
"{\n height[i]=sc.nextInt();\n \n }",
"{\n height[i]=sc.nextInt();\n \n }",
"height[i]=sc.nextInt()",
"height[i]",
"height",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(height)",
"Arrays.sort",
"Arrays",
"height",
"for (int j=9;6<j;j--){\n System.out.println(height[j]);\n }",
"int j=9;",
"int j=9;",
"j",
"9",
"6<j",
"6",
"j",
"j--",
"j--",
"j",
"{\n System.out.println(height[j]);\n }",
"{\n System.out.println(height[j]);\n }",
"System.out.println(height[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"height[j]",
"height",
"j",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc =new Scanner(System.in);\n int []height = new int[10];\n for(int i =0;i<height.length;i++){\n height[i]=sc.nextInt();\n \n }\n Arrays.sort(height);\n for (int j=9;6<j;j--){\n System.out.println(height[j]);\n }\n\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc =new Scanner(System.in);\n int []height = new int[10];\n for(int i =0;i<height.length;i++){\n height[i]=sc.nextInt();\n \n }\n Arrays.sort(height);\n for (int j=9;6<j;j--){\n System.out.println(height[j]);\n }\n\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc =new Scanner(System.in);
int []height = new int[10];
for(int i =0;i<height.length;i++){
height[i]=sc.nextInt();
}
Arrays.sort(height);
for (int j=9;6<j;j--){
System.out.println(height[j]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
18,
13,
17,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
13,
14,
2,
18,
13,
13,
18,
13,
17,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
13,
14,
2,
18,
13,
13,
18,
13,
17,
30,
0,
18,
13,
17,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
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
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
48,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
40,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
83,
85
],
[
78,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
90,
92
],
[
70,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
98,
100
],
[
93,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
106,
107
],
[
106,
108
],
[
8,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
114,
115
],
[
114,
116
],
[
109,
117
],
[
117,
118
],
[
118,
119
],
[
109,
120
],
[
121,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
122,
127
],
[
127,
128
],
[
127,
129
],
[
6,
130
],
[
130,
131
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\t public static void main(String[] a){\n\t\t Scanner scan = new Scanner(System.in);\n\n\t\t int[] m = new int[10];\n\t\t int[] max = new int[3];\n\t\t for(int i = 0; i < 10; i++){\n\t\t\t m[i] = scan.nextInt();\n\t\t\t if(m[i] >= max[0]){\n\t\t\t\t max[2] = max[1];\n\t\t\t\t max[1] = max[0];\n\t\t\t\t max[0] = m[i];\n\t\t\t }\n\t\t\t else if(m[i] >= max[1]){\n\t\t\t\t max[2] = max[1];\n\t\t\t\t max[1] = m[i];\n\t\t\t }\n\t\t\t else if(m[i] >= max[2]){\n\t\t\t\t max[2] = m[i];\n\t\t\t }\n\t\t }\n\n\t\t for(int i = 0; i <= 2; i++){\n\t\t\t System.out.println(max[i]);\n\t\t }\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\t public static void main(String[] a){\n\t\t Scanner scan = new Scanner(System.in);\n\n\t\t int[] m = new int[10];\n\t\t int[] max = new int[3];\n\t\t for(int i = 0; i < 10; i++){\n\t\t\t m[i] = scan.nextInt();\n\t\t\t if(m[i] >= max[0]){\n\t\t\t\t max[2] = max[1];\n\t\t\t\t max[1] = max[0];\n\t\t\t\t max[0] = m[i];\n\t\t\t }\n\t\t\t else if(m[i] >= max[1]){\n\t\t\t\t max[2] = max[1];\n\t\t\t\t max[1] = m[i];\n\t\t\t }\n\t\t\t else if(m[i] >= max[2]){\n\t\t\t\t max[2] = m[i];\n\t\t\t }\n\t\t }\n\n\t\t for(int i = 0; i <= 2; i++){\n\t\t\t System.out.println(max[i]);\n\t\t }\n\t}\n}",
"Main",
"public static void main(String[] a){\n\t\t Scanner scan = new Scanner(System.in);\n\n\t\t int[] m = new int[10];\n\t\t int[] max = new int[3];\n\t\t for(int i = 0; i < 10; i++){\n\t\t\t m[i] = scan.nextInt();\n\t\t\t if(m[i] >= max[0]){\n\t\t\t\t max[2] = max[1];\n\t\t\t\t max[1] = max[0];\n\t\t\t\t max[0] = m[i];\n\t\t\t }\n\t\t\t else if(m[i] >= max[1]){\n\t\t\t\t max[2] = max[1];\n\t\t\t\t max[1] = m[i];\n\t\t\t }\n\t\t\t else if(m[i] >= max[2]){\n\t\t\t\t max[2] = m[i];\n\t\t\t }\n\t\t }\n\n\t\t for(int i = 0; i <= 2; i++){\n\t\t\t System.out.println(max[i]);\n\t\t }\n\t}",
"main",
"{\n\t\t Scanner scan = new Scanner(System.in);\n\n\t\t int[] m = new int[10];\n\t\t int[] max = new int[3];\n\t\t for(int i = 0; i < 10; i++){\n\t\t\t m[i] = scan.nextInt();\n\t\t\t if(m[i] >= max[0]){\n\t\t\t\t max[2] = max[1];\n\t\t\t\t max[1] = max[0];\n\t\t\t\t max[0] = m[i];\n\t\t\t }\n\t\t\t else if(m[i] >= max[1]){\n\t\t\t\t max[2] = max[1];\n\t\t\t\t max[1] = m[i];\n\t\t\t }\n\t\t\t else if(m[i] >= max[2]){\n\t\t\t\t max[2] = m[i];\n\t\t\t }\n\t\t }\n\n\t\t for(int i = 0; i <= 2; i++){\n\t\t\t System.out.println(max[i]);\n\t\t }\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] m = new int[10];",
"m",
"new int[10]",
"10",
"int[] max = new int[3];",
"max",
"new int[3]",
"3",
"for(int i = 0; i < 10; i++){\n\t\t\t m[i] = scan.nextInt();\n\t\t\t if(m[i] >= max[0]){\n\t\t\t\t max[2] = max[1];\n\t\t\t\t max[1] = max[0];\n\t\t\t\t max[0] = m[i];\n\t\t\t }\n\t\t\t else if(m[i] >= max[1]){\n\t\t\t\t max[2] = max[1];\n\t\t\t\t max[1] = m[i];\n\t\t\t }\n\t\t\t else if(m[i] >= max[2]){\n\t\t\t\t max[2] = m[i];\n\t\t\t }\n\t\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\t m[i] = scan.nextInt();\n\t\t\t if(m[i] >= max[0]){\n\t\t\t\t max[2] = max[1];\n\t\t\t\t max[1] = max[0];\n\t\t\t\t max[0] = m[i];\n\t\t\t }\n\t\t\t else if(m[i] >= max[1]){\n\t\t\t\t max[2] = max[1];\n\t\t\t\t max[1] = m[i];\n\t\t\t }\n\t\t\t else if(m[i] >= max[2]){\n\t\t\t\t max[2] = m[i];\n\t\t\t }\n\t\t }",
"{\n\t\t\t m[i] = scan.nextInt();\n\t\t\t if(m[i] >= max[0]){\n\t\t\t\t max[2] = max[1];\n\t\t\t\t max[1] = max[0];\n\t\t\t\t max[0] = m[i];\n\t\t\t }\n\t\t\t else if(m[i] >= max[1]){\n\t\t\t\t max[2] = max[1];\n\t\t\t\t max[1] = m[i];\n\t\t\t }\n\t\t\t else if(m[i] >= max[2]){\n\t\t\t\t max[2] = m[i];\n\t\t\t }\n\t\t }",
"m[i] = scan.nextInt()",
"m[i]",
"m",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(m[i] >= max[0]){\n\t\t\t\t max[2] = max[1];\n\t\t\t\t max[1] = max[0];\n\t\t\t\t max[0] = m[i];\n\t\t\t }\n\t\t\t else if(m[i] >= max[1]){\n\t\t\t\t max[2] = max[1];\n\t\t\t\t max[1] = m[i];\n\t\t\t }\n\t\t\t else if(m[i] >= max[2]){\n\t\t\t\t max[2] = m[i];\n\t\t\t }",
"m[i] >= max[0]",
"m[i]",
"m",
"i",
"max[0]",
"max",
"0",
"{\n\t\t\t\t max[2] = max[1];\n\t\t\t\t max[1] = max[0];\n\t\t\t\t max[0] = m[i];\n\t\t\t }",
"max[2] = max[1]",
"max[2]",
"max",
"2",
"max[1]",
"max",
"1",
"max[1] = max[0]",
"max[1]",
"max",
"1",
"max[0]",
"max",
"0",
"max[0] = m[i]",
"max[0]",
"max",
"0",
"m[i]",
"m",
"i",
"if(m[i] >= max[1]){\n\t\t\t\t max[2] = max[1];\n\t\t\t\t max[1] = m[i];\n\t\t\t }\n\t\t\t else if(m[i] >= max[2]){\n\t\t\t\t max[2] = m[i];\n\t\t\t }",
"m[i] >= max[1]",
"m[i]",
"m",
"i",
"max[1]",
"max",
"1",
"{\n\t\t\t\t max[2] = max[1];\n\t\t\t\t max[1] = m[i];\n\t\t\t }",
"max[2] = max[1]",
"max[2]",
"max",
"2",
"max[1]",
"max",
"1",
"max[1] = m[i]",
"max[1]",
"max",
"1",
"m[i]",
"m",
"i",
"if(m[i] >= max[2]){\n\t\t\t\t max[2] = m[i];\n\t\t\t }",
"m[i] >= max[2]",
"m[i]",
"m",
"i",
"max[2]",
"max",
"2",
"{\n\t\t\t\t max[2] = m[i];\n\t\t\t }",
"max[2] = m[i]",
"max[2]",
"max",
"2",
"m[i]",
"m",
"i",
"for(int i = 0; i <= 2; i++){\n\t\t\t System.out.println(max[i]);\n\t\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= 2",
"i",
"2",
"i++",
"i++",
"i",
"{\n\t\t\t System.out.println(max[i]);\n\t\t }",
"{\n\t\t\t System.out.println(max[i]);\n\t\t }",
"System.out.println(max[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"max[i]",
"max",
"i",
"String[] a",
"a"
] | import java.util.Scanner;
class Main {
public static void main(String[] a){
Scanner scan = new Scanner(System.in);
int[] m = new int[10];
int[] max = new int[3];
for(int i = 0; i < 10; i++){
m[i] = scan.nextInt();
if(m[i] >= max[0]){
max[2] = max[1];
max[1] = max[0];
max[0] = m[i];
}
else if(m[i] >= max[1]){
max[2] = max[1];
max[1] = m[i];
}
else if(m[i] >= max[2]){
max[2] = m[i];
}
}
for(int i = 0; i <= 2; i++){
System.out.println(max[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
17,
38,
5,
13,
30,
4,
18,
13,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
122,
20
],
[
122,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
21,
26
],
[
26,
27
],
[
122,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
30,
37
],
[
37,
38
],
[
37,
39
],
[
30,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
41,
48
],
[
48,
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
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
70,
71
],
[
48,
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
],
[
85,
88
],
[
88,
89
],
[
88,
90
],
[
48,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
48,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
48,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
104,
105
],
[
104,
106
],
[
99,
107
],
[
107,
108
],
[
108,
109
],
[
99,
110
],
[
111,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
0,
121
],
[
121,
122
],
[
121,
123
]
] | [
"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) {\n\t\tprint();\n\t}\n\n\tprivate static void print() {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<Integer> list = new ArrayList<>();\n\t\tint[] highs = new int[10];\n\n\t\ttry {\n\t\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\t\thighs[i] = Integer.parseInt(br.readLine());\n\t\t\t}\n\n\t\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\t\tlist.add(highs[i]);\n\t\t\t}\n\n\t\t\tCollections.sort(list);\n\t\t\tCollections.reverse(list);\n\n\t\t\tfor (int i = 0; i <= 2; i++) {\n\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"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) {\n\t\tprint();\n\t}\n\n\tprivate static void print() {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<Integer> list = new ArrayList<>();\n\t\tint[] highs = new int[10];\n\n\t\ttry {\n\t\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\t\thighs[i] = Integer.parseInt(br.readLine());\n\t\t\t}\n\n\t\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\t\tlist.add(highs[i]);\n\t\t\t}\n\n\t\t\tCollections.sort(list);\n\t\t\tCollections.reverse(list);\n\n\t\t\tfor (int i = 0; i <= 2; i++) {\n\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tprint();\n\t}",
"main",
"{\n\t\tprint();\n\t}",
"print()",
"print",
"String[] args",
"args",
"private static void print() {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<Integer> list = new ArrayList<>();\n\t\tint[] highs = new int[10];\n\n\t\ttry {\n\t\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\t\thighs[i] = Integer.parseInt(br.readLine());\n\t\t\t}\n\n\t\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\t\tlist.add(highs[i]);\n\t\t\t}\n\n\t\t\tCollections.sort(list);\n\t\t\tCollections.reverse(list);\n\n\t\t\tfor (int i = 0; i <= 2; i++) {\n\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"print",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<Integer> list = new ArrayList<>();\n\t\tint[] highs = new int[10];\n\n\t\ttry {\n\t\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\t\thighs[i] = Integer.parseInt(br.readLine());\n\t\t\t}\n\n\t\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\t\tlist.add(highs[i]);\n\t\t\t}\n\n\t\t\tCollections.sort(list);\n\t\t\tCollections.reverse(list);\n\n\t\t\tfor (int i = 0; i <= 2; i++) {\n\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"List<Integer> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"int[] highs = new int[10];",
"highs",
"new int[10]",
"10",
"try {\n\t\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\t\thighs[i] = Integer.parseInt(br.readLine());\n\t\t\t}\n\n\t\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\t\tlist.add(highs[i]);\n\t\t\t}\n\n\t\t\tCollections.sort(list);\n\t\t\tCollections.reverse(list);\n\n\t\t\tfor (int i = 0; i <= 2; i++) {\n\t\t\t\tSystem.out.println(list.get(i));\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\tfor (int i = 0; i <= 9; i++) {\n\t\t\t\thighs[i] = Integer.parseInt(br.readLine());\n\t\t\t}\n\n\t\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\t\tlist.add(highs[i]);\n\t\t\t}\n\n\t\t\tCollections.sort(list);\n\t\t\tCollections.reverse(list);\n\n\t\t\tfor (int i = 0; i <= 2; i++) {\n\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t}\n\n\t\t}",
"for (int i = 0; i <= 9; i++) {\n\t\t\t\thighs[i] = Integer.parseInt(br.readLine());\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= 9",
"i",
"9",
"i++",
"i++",
"i",
"{\n\t\t\t\thighs[i] = Integer.parseInt(br.readLine());\n\t\t\t}",
"{\n\t\t\t\thighs[i] = Integer.parseInt(br.readLine());\n\t\t\t}",
"highs[i] = Integer.parseInt(br.readLine())",
"highs[i]",
"highs",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"for (int i = 0; i <= 9; i++) {\n\t\t\t\tlist.add(highs[i]);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= 9",
"i",
"9",
"i++",
"i++",
"i",
"{\n\t\t\t\tlist.add(highs[i]);\n\t\t\t}",
"{\n\t\t\t\tlist.add(highs[i]);\n\t\t\t}",
"list.add(highs[i])",
"list.add",
"list",
"highs[i]",
"highs",
"i",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"for (int i = 0; i <= 2; i++) {\n\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= 2",
"i",
"2",
"i++",
"i++",
"i",
"{\n\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t}",
"{\n\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t}",
"System.out.println(list.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(i)",
"list.get",
"list",
"i",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tprint();\n\t}\n\n\tprivate static void print() {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<Integer> list = new ArrayList<>();\n\t\tint[] highs = new int[10];\n\n\t\ttry {\n\t\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\t\thighs[i] = Integer.parseInt(br.readLine());\n\t\t\t}\n\n\t\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\t\tlist.add(highs[i]);\n\t\t\t}\n\n\t\t\tCollections.sort(list);\n\t\t\tCollections.reverse(list);\n\n\t\t\tfor (int i = 0; i <= 2; i++) {\n\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tprint();\n\t}\n\n\tprivate static void print() {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<Integer> list = new ArrayList<>();\n\t\tint[] highs = new int[10];\n\n\t\ttry {\n\t\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\t\thighs[i] = Integer.parseInt(br.readLine());\n\t\t\t}\n\n\t\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\t\tlist.add(highs[i]);\n\t\t\t}\n\n\t\t\tCollections.sort(list);\n\t\t\tCollections.reverse(list);\n\n\t\t\tfor (int i = 0; i <= 2; i++) {\n\t\t\t\tSystem.out.println(list.get(i));\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class Main {
public static void main(String[] args) {
print();
}
private static void print() {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
List<Integer> list = new ArrayList<>();
int[] highs = new int[10];
try {
for (int i = 0; i <= 9; i++) {
highs[i] = Integer.parseInt(br.readLine());
}
for (int i = 0; i <= 9; i++) {
list.add(highs[i]);
}
Collections.sort(list);
Collections.reverse(list);
for (int i = 0; i <= 2; i++) {
System.out.println(list.get(i));
}
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
117,
5
],
[
117,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
52,
59
],
[
59,
60
],
[
59,
61
],
[
52,
62
],
[
62,
63
],
[
63,
64
],
[
52,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
75,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
85,
87
],
[
75,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
8,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
93,
101
],
[
101,
102
],
[
102,
103
],
[
93,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
111,
112
],
[
111,
113
],
[
6,
114
],
[
114,
115
],
[
0,
116
],
[
116,
117
],
[
116,
118
]
] | [
"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 h[] = new int[10];\n\t\tint n = 0;\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\th[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tfor(int j = i + 1; j < 10; j++){\n\t\t\t\tif(h[i] < h[j]){\n\t\t\t\t\tn = h[j];\n\t\t\t\t\th[j] = h[i];\n\t\t\t\t\th[i] = n;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(h[i]);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint h[] = new int[10];\n\t\tint n = 0;\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\th[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tfor(int j = i + 1; j < 10; j++){\n\t\t\t\tif(h[i] < h[j]){\n\t\t\t\t\tn = h[j];\n\t\t\t\t\th[j] = h[i];\n\t\t\t\t\th[i] = n;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(h[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint h[] = new int[10];\n\t\tint n = 0;\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\th[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tfor(int j = i + 1; j < 10; j++){\n\t\t\t\tif(h[i] < h[j]){\n\t\t\t\t\tn = h[j];\n\t\t\t\t\th[j] = h[i];\n\t\t\t\t\th[i] = n;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(h[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint h[] = new int[10];\n\t\tint n = 0;\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\th[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tfor(int j = i + 1; j < 10; j++){\n\t\t\t\tif(h[i] < h[j]){\n\t\t\t\t\tn = h[j];\n\t\t\t\t\th[j] = h[i];\n\t\t\t\t\th[i] = n;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(h[i]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int h[] = new int[10];",
"h",
"new int[10]",
"10",
"int n = 0;",
"n",
"0",
"for(int i = 0; i < 10; i++){\n\t\t\th[i] = sc.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\th[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\th[i] = sc.nextInt();\n\t\t}",
"h[i] = sc.nextInt()",
"h[i]",
"h",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i = 0; i < 3; i++){\n\t\t\tfor(int j = i + 1; j < 10; j++){\n\t\t\t\tif(h[i] < h[j]){\n\t\t\t\t\tn = h[j];\n\t\t\t\t\th[j] = h[i];\n\t\t\t\t\th[i] = n;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = i + 1; j < 10; j++){\n\t\t\t\tif(h[i] < h[j]){\n\t\t\t\t\tn = h[j];\n\t\t\t\t\th[j] = h[i];\n\t\t\t\t\th[i] = n;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int j = i + 1; j < 10; j++){\n\t\t\t\tif(h[i] < h[j]){\n\t\t\t\t\tn = h[j];\n\t\t\t\t\th[j] = h[i];\n\t\t\t\t\th[i] = n;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int j = i + 1; j < 10; j++){\n\t\t\t\tif(h[i] < h[j]){\n\t\t\t\t\tn = h[j];\n\t\t\t\t\th[j] = h[i];\n\t\t\t\t\th[i] = n;\n\t\t\t\t}\n\t\t\t}",
"int j = i + 1;",
"int j = i + 1;",
"j",
"i + 1",
"i",
"1",
"j < 10",
"j",
"10",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(h[i] < h[j]){\n\t\t\t\t\tn = h[j];\n\t\t\t\t\th[j] = h[i];\n\t\t\t\t\th[i] = n;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(h[i] < h[j]){\n\t\t\t\t\tn = h[j];\n\t\t\t\t\th[j] = h[i];\n\t\t\t\t\th[i] = n;\n\t\t\t\t}\n\t\t\t}",
"if(h[i] < h[j]){\n\t\t\t\t\tn = h[j];\n\t\t\t\t\th[j] = h[i];\n\t\t\t\t\th[i] = n;\n\t\t\t\t}",
"h[i] < h[j]",
"h[i]",
"h",
"i",
"h[j]",
"h",
"j",
"{\n\t\t\t\t\tn = h[j];\n\t\t\t\t\th[j] = h[i];\n\t\t\t\t\th[i] = n;\n\t\t\t\t}",
"n = h[j]",
"n",
"h[j]",
"h",
"j",
"h[j] = h[i]",
"h[j]",
"h",
"j",
"h[i]",
"h",
"i",
"h[i] = n",
"h[i]",
"h",
"i",
"n",
"for(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(h[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(h[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(h[i]);\n\t\t}",
"System.out.println(h[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"h[i]",
"h",
"i",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint h[] = new int[10];\n\t\tint n = 0;\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\th[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tfor(int j = i + 1; j < 10; j++){\n\t\t\t\tif(h[i] < h[j]){\n\t\t\t\t\tn = h[j];\n\t\t\t\t\th[j] = h[i];\n\t\t\t\t\th[i] = n;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(h[i]);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint h[] = new int[10];\n\t\tint n = 0;\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\th[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tfor(int j = i + 1; j < 10; j++){\n\t\t\t\tif(h[i] < h[j]){\n\t\t\t\t\tn = h[j];\n\t\t\t\t\th[j] = h[i];\n\t\t\t\t\th[i] = n;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(h[i]);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int h[] = new int[10];
int n = 0;
for(int i = 0; i < 10; i++){
h[i] = sc.nextInt();
}
for(int i = 0; i < 3; i++){
for(int j = i + 1; j < 10; j++){
if(h[i] < h[j]){
n = h[j];
h[j] = h[i];
h[i] = n;
}
}
}
for(int i = 0; i < 3; i++){
System.out.println(h[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
20,
17,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
0,
13,
2,
13,
17,
42,
2,
2,
13,
17,
2,
13,
18,
13,
13,
30,
0,
18,
13,
2,
13,
17,
18,
13,
13,
40,
13,
0,
18,
13,
2,
13,
17,
13,
40,
13,
11,
1,
0,
13,
2,
13,
17,
2,
2,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
99,
5
],
[
99,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
25,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
36,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
47,
53
],
[
53,
54
],
[
53,
55
],
[
46,
56
],
[
56,
57
],
[
25,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
58,
64
],
[
25,
65
],
[
65,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
67,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
67,
83
],
[
83,
84
],
[
84,
85
],
[
67,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
6,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
] | [
"import java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i;\n\t\tint ar[] = new int[100];\n\t\t\n\t\tint idx = 0;\n\t\t\n\t\twhile ( sc.hasNext() ) {\n\t\t\tint n = sc.nextInt();\n\t\t\ti = idx - 1;\n\t\t\twhile (i >= 0 && n < ar[i]) {\n\t\t\t\tar[i + 1] = ar[i];\n\t\t\t\t--i;\n\t\t\t}\n\t\t\tar[i + 1] = n;\n\t\t\t++idx;\n\t\t}\n\t\tfor ( i = idx - 1 ; i >= 0 && i >= idx - 3 ; --i ) {\n\t\t\tSystem.out.println(ar[i]);\n\t\t}\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i;\n\t\tint ar[] = new int[100];\n\t\t\n\t\tint idx = 0;\n\t\t\n\t\twhile ( sc.hasNext() ) {\n\t\t\tint n = sc.nextInt();\n\t\t\ti = idx - 1;\n\t\t\twhile (i >= 0 && n < ar[i]) {\n\t\t\t\tar[i + 1] = ar[i];\n\t\t\t\t--i;\n\t\t\t}\n\t\t\tar[i + 1] = n;\n\t\t\t++idx;\n\t\t}\n\t\tfor ( i = idx - 1 ; i >= 0 && i >= idx - 3 ; --i ) {\n\t\t\tSystem.out.println(ar[i]);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i;\n\t\tint ar[] = new int[100];\n\t\t\n\t\tint idx = 0;\n\t\t\n\t\twhile ( sc.hasNext() ) {\n\t\t\tint n = sc.nextInt();\n\t\t\ti = idx - 1;\n\t\t\twhile (i >= 0 && n < ar[i]) {\n\t\t\t\tar[i + 1] = ar[i];\n\t\t\t\t--i;\n\t\t\t}\n\t\t\tar[i + 1] = n;\n\t\t\t++idx;\n\t\t}\n\t\tfor ( i = idx - 1 ; i >= 0 && i >= idx - 3 ; --i ) {\n\t\t\tSystem.out.println(ar[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i;\n\t\tint ar[] = new int[100];\n\t\t\n\t\tint idx = 0;\n\t\t\n\t\twhile ( sc.hasNext() ) {\n\t\t\tint n = sc.nextInt();\n\t\t\ti = idx - 1;\n\t\t\twhile (i >= 0 && n < ar[i]) {\n\t\t\t\tar[i + 1] = ar[i];\n\t\t\t\t--i;\n\t\t\t}\n\t\t\tar[i + 1] = n;\n\t\t\t++idx;\n\t\t}\n\t\tfor ( i = idx - 1 ; i >= 0 && i >= idx - 3 ; --i ) {\n\t\t\tSystem.out.println(ar[i]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i;",
"i",
"int ar[] = new int[100];",
"ar",
"new int[100]",
"100",
"int idx = 0;",
"idx",
"0",
"while ( sc.hasNext() ) {\n\t\t\tint n = sc.nextInt();\n\t\t\ti = idx - 1;\n\t\t\twhile (i >= 0 && n < ar[i]) {\n\t\t\t\tar[i + 1] = ar[i];\n\t\t\t\t--i;\n\t\t\t}\n\t\t\tar[i + 1] = n;\n\t\t\t++idx;\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tint n = sc.nextInt();\n\t\t\ti = idx - 1;\n\t\t\twhile (i >= 0 && n < ar[i]) {\n\t\t\t\tar[i + 1] = ar[i];\n\t\t\t\t--i;\n\t\t\t}\n\t\t\tar[i + 1] = n;\n\t\t\t++idx;\n\t\t}",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"i = idx - 1",
"i",
"idx - 1",
"idx",
"1",
"while (i >= 0 && n < ar[i]) {\n\t\t\t\tar[i + 1] = ar[i];\n\t\t\t\t--i;\n\t\t\t}",
"i >= 0 && n < ar[i]",
"i >= 0",
"i",
"0",
"n < ar[i]",
"n",
"ar[i]",
"ar",
"i",
"{\n\t\t\t\tar[i + 1] = ar[i];\n\t\t\t\t--i;\n\t\t\t}",
"ar[i + 1] = ar[i]",
"ar[i + 1]",
"ar",
"i + 1",
"i",
"1",
"ar[i]",
"ar",
"i",
"--i",
"i",
"ar[i + 1] = n",
"ar[i + 1]",
"ar",
"i + 1",
"i",
"1",
"n",
"++idx",
"idx",
"for ( i = idx - 1 ; i >= 0 && i >= idx - 3 ; --i ) {\n\t\t\tSystem.out.println(ar[i]);\n\t\t}",
"i = idx - 1 ;",
"i = idx - 1",
"i",
"idx - 1",
"idx",
"1",
"i >= 0 && i >= idx - 3",
"i >= 0",
"i",
"0",
"i >= idx - 3",
"i",
"idx - 3",
"idx",
"3",
"--i",
"--i",
"i",
"{\n\t\t\tSystem.out.println(ar[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(ar[i]);\n\t\t}",
"System.out.println(ar[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"ar[i]",
"ar",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i;\n\t\tint ar[] = new int[100];\n\t\t\n\t\tint idx = 0;\n\t\t\n\t\twhile ( sc.hasNext() ) {\n\t\t\tint n = sc.nextInt();\n\t\t\ti = idx - 1;\n\t\t\twhile (i >= 0 && n < ar[i]) {\n\t\t\t\tar[i + 1] = ar[i];\n\t\t\t\t--i;\n\t\t\t}\n\t\t\tar[i + 1] = n;\n\t\t\t++idx;\n\t\t}\n\t\tfor ( i = idx - 1 ; i >= 0 && i >= idx - 3 ; --i ) {\n\t\t\tSystem.out.println(ar[i]);\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\n\t\tint i;\n\t\tint ar[] = new int[100];\n\t\t\n\t\tint idx = 0;\n\t\t\n\t\twhile ( sc.hasNext() ) {\n\t\t\tint n = sc.nextInt();\n\t\t\ti = idx - 1;\n\t\t\twhile (i >= 0 && n < ar[i]) {\n\t\t\t\tar[i + 1] = ar[i];\n\t\t\t\t--i;\n\t\t\t}\n\t\t\tar[i + 1] = n;\n\t\t\t++idx;\n\t\t}\n\t\tfor ( i = idx - 1 ; i >= 0 && i >= idx - 3 ; --i ) {\n\t\t\tSystem.out.println(ar[i]);\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int i;
int ar[] = new int[100];
int idx = 0;
while ( sc.hasNext() ) {
int n = sc.nextInt();
i = idx - 1;
while (i >= 0 && n < ar[i]) {
ar[i + 1] = ar[i];
--i;
}
ar[i + 1] = n;
++idx;
}
for ( i = idx - 1 ; i >= 0 && i >= idx - 3 ; --i ) {
System.out.println(ar[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
2,
17,
17,
1,
40,
13,
30,
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
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
11,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
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
],
[
9,
66
],
[
66,
67
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] a) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] mountainHigh = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tmountainHigh[i] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(mountainHigh);\n\t\tfor (int i = 9; i > 9 - 3; i --) {\n\t\t\tSystem.out.println(mountainHigh[i]);\n\t\t}\n\t}\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] a) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] mountainHigh = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tmountainHigh[i] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(mountainHigh);\n\t\tfor (int i = 9; i > 9 - 3; i --) {\n\t\t\tSystem.out.println(mountainHigh[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] a) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] mountainHigh = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tmountainHigh[i] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(mountainHigh);\n\t\tfor (int i = 9; i > 9 - 3; i --) {\n\t\t\tSystem.out.println(mountainHigh[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] mountainHigh = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tmountainHigh[i] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(mountainHigh);\n\t\tfor (int i = 9; i > 9 - 3; i --) {\n\t\t\tSystem.out.println(mountainHigh[i]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] mountainHigh = new int[10];",
"mountainHigh",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++) {\n\t\t\tmountainHigh[i] = sc.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tmountainHigh[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tmountainHigh[i] = sc.nextInt();\n\t\t}",
"mountainHigh[i] = sc.nextInt()",
"mountainHigh[i]",
"mountainHigh",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(mountainHigh)",
"Arrays.sort",
"Arrays",
"mountainHigh",
"for (int i = 9; i > 9 - 3; i --) {\n\t\t\tSystem.out.println(mountainHigh[i]);\n\t\t}",
"int i = 9;",
"int i = 9;",
"i",
"9",
"i > 9 - 3",
"i",
"9 - 3",
"9",
"3",
"i --",
"i --",
"i",
"{\n\t\t\tSystem.out.println(mountainHigh[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(mountainHigh[i]);\n\t\t}",
"System.out.println(mountainHigh[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"mountainHigh[i]",
"mountainHigh",
"i",
"String[] a",
"a"
] | import java.util.Arrays;
import java.util.Scanner;
class Main {
public static void main(String[] a) {
Scanner sc = new Scanner(System.in);
int[] mountainHigh = new int[10];
for (int i = 0; i < 10; i++) {
mountainHigh[i] = sc.nextInt();
}
Arrays.sort(mountainHigh);
for (int i = 9; i > 9 - 3; i --) {
System.out.println(mountainHigh[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
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
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
14,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
14,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
12,
73
],
[
73,
74
]
] | [
"import java.io.*;\nimport java.util.*;\nimport java.util.Collections;\n \nclass Main{\n public static void main(String[] a) throws Exception{\n \tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n \tInteger[] mountains=new Integer[10];\n \tfor(int i=0;i<10;i++){\n \t\tmountains[i]=Integer.valueOf(br.readLine());\n \t}\n \tArrays.sort(mountains, Collections.reverseOrder());\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(mountains[i]);\n\t\t} \t\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.util.Collections;",
"Collections",
"java.util",
"class Main{\n public static void main(String[] a) throws Exception{\n \tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n \tInteger[] mountains=new Integer[10];\n \tfor(int i=0;i<10;i++){\n \t\tmountains[i]=Integer.valueOf(br.readLine());\n \t}\n \tArrays.sort(mountains, Collections.reverseOrder());\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(mountains[i]);\n\t\t} \t\n }\n}",
"Main",
"public static void main(String[] a) throws Exception{\n \tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n \tInteger[] mountains=new Integer[10];\n \tfor(int i=0;i<10;i++){\n \t\tmountains[i]=Integer.valueOf(br.readLine());\n \t}\n \tArrays.sort(mountains, Collections.reverseOrder());\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(mountains[i]);\n\t\t} \t\n }",
"main",
"{\n \tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n \tInteger[] mountains=new Integer[10];\n \tfor(int i=0;i<10;i++){\n \t\tmountains[i]=Integer.valueOf(br.readLine());\n \t}\n \tArrays.sort(mountains, Collections.reverseOrder());\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(mountains[i]);\n\t\t} \t\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"Integer[] mountains=new Integer[10];",
"mountains",
"new Integer[10]",
"10",
"for(int i=0;i<10;i++){\n \t\tmountains[i]=Integer.valueOf(br.readLine());\n \t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n \t\tmountains[i]=Integer.valueOf(br.readLine());\n \t}",
"{\n \t\tmountains[i]=Integer.valueOf(br.readLine());\n \t}",
"mountains[i]=Integer.valueOf(br.readLine())",
"mountains[i]",
"mountains",
"i",
"Integer.valueOf(br.readLine())",
"Integer.valueOf",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(mountains, Collections.reverseOrder())",
"Arrays.sort",
"Arrays",
"mountains",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"for(int i=0;i<3;i++){\n\t\t\tSystem.out.println(mountains[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(mountains[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(mountains[i]);\n\t\t}",
"System.out.println(mountains[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"mountains[i]",
"mountains",
"i",
"String[] a",
"a"
] | import java.io.*;
import java.util.*;
import java.util.Collections;
class Main{
public static void main(String[] a) throws Exception{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
Integer[] mountains=new Integer[10];
for(int i=0;i<10;i++){
mountains[i]=Integer.valueOf(br.readLine());
}
Arrays.sort(mountains, Collections.reverseOrder());
for(int i=0;i<3;i++){
System.out.println(mountains[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
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
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
11,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
9,
67
],
[
67,
68
]
] | [
"import java.util.*;\nimport java.io.*;\n\nclass Main{\n\tpublic static void main(String args[])throws IOException{\n\t BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t int num[]=new int[10];\t \n\tfor(int i=0;i<10;i++){\n\t num[i]=Integer.parseInt(br.readLine());\n\t}\n\tArrays.sort(num);\n\tfor(int j=9;j>6;j--){\n\tSystem.out.println(num[j]);\n\t}\n}}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String args[])throws IOException{\n\t BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t int num[]=new int[10];\t \n\tfor(int i=0;i<10;i++){\n\t num[i]=Integer.parseInt(br.readLine());\n\t}\n\tArrays.sort(num);\n\tfor(int j=9;j>6;j--){\n\tSystem.out.println(num[j]);\n\t}\n}}",
"Main",
"public static void main(String args[])throws IOException{\n\t BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t int num[]=new int[10];\t \n\tfor(int i=0;i<10;i++){\n\t num[i]=Integer.parseInt(br.readLine());\n\t}\n\tArrays.sort(num);\n\tfor(int j=9;j>6;j--){\n\tSystem.out.println(num[j]);\n\t}\n}",
"main",
"{\n\t BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t int num[]=new int[10];\t \n\tfor(int i=0;i<10;i++){\n\t num[i]=Integer.parseInt(br.readLine());\n\t}\n\tArrays.sort(num);\n\tfor(int j=9;j>6;j--){\n\tSystem.out.println(num[j]);\n\t}\n}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int num[]=new int[10];",
"num",
"new int[10]",
"10",
"for(int i=0;i<10;i++){\n\t num[i]=Integer.parseInt(br.readLine());\n\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t num[i]=Integer.parseInt(br.readLine());\n\t}",
"{\n\t num[i]=Integer.parseInt(br.readLine());\n\t}",
"num[i]=Integer.parseInt(br.readLine())",
"num[i]",
"num",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(num)",
"Arrays.sort",
"Arrays",
"num",
"for(int j=9;j>6;j--){\n\tSystem.out.println(num[j]);\n\t}",
"int j=9;",
"int j=9;",
"j",
"9",
"j>6",
"j",
"6",
"j--",
"j--",
"j",
"{\n\tSystem.out.println(num[j]);\n\t}",
"{\n\tSystem.out.println(num[j]);\n\t}",
"System.out.println(num[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"num[j]",
"num",
"j",
"String args[]",
"args"
] | import java.util.*;
import java.io.*;
class Main{
public static void main(String args[])throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int num[]=new int[10];
for(int i=0;i<10;i++){
num[i]=Integer.parseInt(br.readLine());
}
Arrays.sort(num);
for(int j=9;j>6;j--){
System.out.println(num[j]);
}
}} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
128,
5
],
[
128,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
45,
52
],
[
52,
53
],
[
52,
54
],
[
45,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
59,
66
],
[
66,
67
],
[
66,
68
],
[
59,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
41,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
85,
87
],
[
81,
88
],
[
88,
89
],
[
88,
90
],
[
81,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
77,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
8,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
8,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
8,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
6,
125
],
[
125,
126
],
[
0,
127
],
[
127,
128
],
[
127,
129
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tint first = 0;\n\t\tint second = 0;\n\t\tint third = 0;\n\t\tint temp;\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\ttemp = input.nextInt();\n\t\t\tif(temp > first) {\n\t\t\t\tint temp2 = first;\n\t\t\t\tfirst = temp;\n\t\t\t\ttemp = temp2;\n\t\t\t\tif(temp > second) {\n\t\t\t\t\tint temp3 = second;\n\t\t\t\t\tsecond = temp;\n\t\t\t\t\ttemp = temp3;\n\t\t\t\t\tif(temp3 > third) {\n\t\t\t\t\t\tthird = temp3;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > second) {\n\t\t\t\tint temp3 = second;\n\t\t\t\tsecond = temp;\n\t\t\t\ttemp = temp3;\n\t\t\t\tif(temp3 > third) {\n\t\t\t\t\tthird = temp3;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tint first = 0;\n\t\tint second = 0;\n\t\tint third = 0;\n\t\tint temp;\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\ttemp = input.nextInt();\n\t\t\tif(temp > first) {\n\t\t\t\tint temp2 = first;\n\t\t\t\tfirst = temp;\n\t\t\t\ttemp = temp2;\n\t\t\t\tif(temp > second) {\n\t\t\t\t\tint temp3 = second;\n\t\t\t\t\tsecond = temp;\n\t\t\t\t\ttemp = temp3;\n\t\t\t\t\tif(temp3 > third) {\n\t\t\t\t\t\tthird = temp3;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > second) {\n\t\t\t\tint temp3 = second;\n\t\t\t\tsecond = temp;\n\t\t\t\ttemp = temp3;\n\t\t\t\tif(temp3 > third) {\n\t\t\t\t\tthird = temp3;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tint first = 0;\n\t\tint second = 0;\n\t\tint third = 0;\n\t\tint temp;\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\ttemp = input.nextInt();\n\t\t\tif(temp > first) {\n\t\t\t\tint temp2 = first;\n\t\t\t\tfirst = temp;\n\t\t\t\ttemp = temp2;\n\t\t\t\tif(temp > second) {\n\t\t\t\t\tint temp3 = second;\n\t\t\t\t\tsecond = temp;\n\t\t\t\t\ttemp = temp3;\n\t\t\t\t\tif(temp3 > third) {\n\t\t\t\t\t\tthird = temp3;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > second) {\n\t\t\t\tint temp3 = second;\n\t\t\t\tsecond = temp;\n\t\t\t\ttemp = temp3;\n\t\t\t\tif(temp3 > third) {\n\t\t\t\t\tthird = temp3;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t\t\n\t}",
"main",
"{\n\t\tint first = 0;\n\t\tint second = 0;\n\t\tint third = 0;\n\t\tint temp;\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\ttemp = input.nextInt();\n\t\t\tif(temp > first) {\n\t\t\t\tint temp2 = first;\n\t\t\t\tfirst = temp;\n\t\t\t\ttemp = temp2;\n\t\t\t\tif(temp > second) {\n\t\t\t\t\tint temp3 = second;\n\t\t\t\t\tsecond = temp;\n\t\t\t\t\ttemp = temp3;\n\t\t\t\t\tif(temp3 > third) {\n\t\t\t\t\t\tthird = temp3;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > second) {\n\t\t\t\tint temp3 = second;\n\t\t\t\tsecond = temp;\n\t\t\t\ttemp = temp3;\n\t\t\t\tif(temp3 > third) {\n\t\t\t\t\tthird = temp3;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t\t\n\t}",
"int first = 0;",
"first",
"0",
"int second = 0;",
"second",
"0",
"int third = 0;",
"third",
"0",
"int temp;",
"temp",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"for(int i = 0; i < 10; i++) {\n\t\t\ttemp = input.nextInt();\n\t\t\tif(temp > first) {\n\t\t\t\tint temp2 = first;\n\t\t\t\tfirst = temp;\n\t\t\t\ttemp = temp2;\n\t\t\t\tif(temp > second) {\n\t\t\t\t\tint temp3 = second;\n\t\t\t\t\tsecond = temp;\n\t\t\t\t\ttemp = temp3;\n\t\t\t\t\tif(temp3 > third) {\n\t\t\t\t\t\tthird = temp3;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > second) {\n\t\t\t\tint temp3 = second;\n\t\t\t\tsecond = temp;\n\t\t\t\ttemp = temp3;\n\t\t\t\tif(temp3 > third) {\n\t\t\t\t\tthird = temp3;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\ttemp = input.nextInt();\n\t\t\tif(temp > first) {\n\t\t\t\tint temp2 = first;\n\t\t\t\tfirst = temp;\n\t\t\t\ttemp = temp2;\n\t\t\t\tif(temp > second) {\n\t\t\t\t\tint temp3 = second;\n\t\t\t\t\tsecond = temp;\n\t\t\t\t\ttemp = temp3;\n\t\t\t\t\tif(temp3 > third) {\n\t\t\t\t\t\tthird = temp3;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > second) {\n\t\t\t\tint temp3 = second;\n\t\t\t\tsecond = temp;\n\t\t\t\ttemp = temp3;\n\t\t\t\tif(temp3 > third) {\n\t\t\t\t\tthird = temp3;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}\n\t\t}",
"{\n\t\t\ttemp = input.nextInt();\n\t\t\tif(temp > first) {\n\t\t\t\tint temp2 = first;\n\t\t\t\tfirst = temp;\n\t\t\t\ttemp = temp2;\n\t\t\t\tif(temp > second) {\n\t\t\t\t\tint temp3 = second;\n\t\t\t\t\tsecond = temp;\n\t\t\t\t\ttemp = temp3;\n\t\t\t\t\tif(temp3 > third) {\n\t\t\t\t\t\tthird = temp3;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > second) {\n\t\t\t\tint temp3 = second;\n\t\t\t\tsecond = temp;\n\t\t\t\ttemp = temp3;\n\t\t\t\tif(temp3 > third) {\n\t\t\t\t\tthird = temp3;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}\n\t\t}",
"temp = input.nextInt()",
"temp",
"input.nextInt()",
"input.nextInt",
"input",
"if(temp > first) {\n\t\t\t\tint temp2 = first;\n\t\t\t\tfirst = temp;\n\t\t\t\ttemp = temp2;\n\t\t\t\tif(temp > second) {\n\t\t\t\t\tint temp3 = second;\n\t\t\t\t\tsecond = temp;\n\t\t\t\t\ttemp = temp3;\n\t\t\t\t\tif(temp3 > third) {\n\t\t\t\t\t\tthird = temp3;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > second) {\n\t\t\t\tint temp3 = second;\n\t\t\t\tsecond = temp;\n\t\t\t\ttemp = temp3;\n\t\t\t\tif(temp3 > third) {\n\t\t\t\t\tthird = temp3;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}",
"temp > first",
"temp",
"first",
"{\n\t\t\t\tint temp2 = first;\n\t\t\t\tfirst = temp;\n\t\t\t\ttemp = temp2;\n\t\t\t\tif(temp > second) {\n\t\t\t\t\tint temp3 = second;\n\t\t\t\t\tsecond = temp;\n\t\t\t\t\ttemp = temp3;\n\t\t\t\t\tif(temp3 > third) {\n\t\t\t\t\t\tthird = temp3;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"int temp2 = first;",
"temp2",
"first",
"first = temp",
"first",
"temp",
"temp = temp2",
"temp",
"temp2",
"if(temp > second) {\n\t\t\t\t\tint temp3 = second;\n\t\t\t\t\tsecond = temp;\n\t\t\t\t\ttemp = temp3;\n\t\t\t\t\tif(temp3 > third) {\n\t\t\t\t\t\tthird = temp3;\n\t\t\t\t\t}\n\t\t\t\t}",
"temp > second",
"temp",
"second",
"{\n\t\t\t\t\tint temp3 = second;\n\t\t\t\t\tsecond = temp;\n\t\t\t\t\ttemp = temp3;\n\t\t\t\t\tif(temp3 > third) {\n\t\t\t\t\t\tthird = temp3;\n\t\t\t\t\t}\n\t\t\t\t}",
"int temp3 = second;",
"temp3",
"second",
"second = temp",
"second",
"temp",
"temp = temp3",
"temp",
"temp3",
"if(temp3 > third) {\n\t\t\t\t\t\tthird = temp3;\n\t\t\t\t\t}",
"temp3 > third",
"temp3",
"third",
"{\n\t\t\t\t\t\tthird = temp3;\n\t\t\t\t\t}",
"third = temp3",
"third",
"temp3",
"if(temp > second) {\n\t\t\t\tint temp3 = second;\n\t\t\t\tsecond = temp;\n\t\t\t\ttemp = temp3;\n\t\t\t\tif(temp3 > third) {\n\t\t\t\t\tthird = temp3;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}",
"temp > second",
"temp",
"second",
"{\n\t\t\t\tint temp3 = second;\n\t\t\t\tsecond = temp;\n\t\t\t\ttemp = temp3;\n\t\t\t\tif(temp3 > third) {\n\t\t\t\t\tthird = temp3;\n\t\t\t\t}\n\t\t\t}",
"int temp3 = second;",
"temp3",
"second",
"second = temp",
"second",
"temp",
"temp = temp3",
"temp",
"temp3",
"if(temp3 > third) {\n\t\t\t\t\tthird = temp3;\n\t\t\t\t}",
"temp3 > third",
"temp3",
"third",
"{\n\t\t\t\t\tthird = temp3;\n\t\t\t\t}",
"third = temp3",
"third",
"temp3",
"if(temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}",
"temp > third",
"temp",
"third",
"{\n\t\t\t\tthird = temp;\n\t\t\t}",
"third = temp",
"third",
"temp",
"System.out.println(first)",
"System.out.println",
"System.out",
"System",
"System.out",
"first",
"System.out.println(second)",
"System.out.println",
"System.out",
"System",
"System.out",
"second",
"System.out.println(third)",
"System.out.println",
"System.out",
"System",
"System.out",
"third",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tint first = 0;\n\t\tint second = 0;\n\t\tint third = 0;\n\t\tint temp;\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\ttemp = input.nextInt();\n\t\t\tif(temp > first) {\n\t\t\t\tint temp2 = first;\n\t\t\t\tfirst = temp;\n\t\t\t\ttemp = temp2;\n\t\t\t\tif(temp > second) {\n\t\t\t\t\tint temp3 = second;\n\t\t\t\t\tsecond = temp;\n\t\t\t\t\ttemp = temp3;\n\t\t\t\t\tif(temp3 > third) {\n\t\t\t\t\t\tthird = temp3;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > second) {\n\t\t\t\tint temp3 = second;\n\t\t\t\tsecond = temp;\n\t\t\t\ttemp = temp3;\n\t\t\t\tif(temp3 > third) {\n\t\t\t\t\tthird = temp3;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tint first = 0;\n\t\tint second = 0;\n\t\tint third = 0;\n\t\tint temp;\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\ttemp = input.nextInt();\n\t\t\tif(temp > first) {\n\t\t\t\tint temp2 = first;\n\t\t\t\tfirst = temp;\n\t\t\t\ttemp = temp2;\n\t\t\t\tif(temp > second) {\n\t\t\t\t\tint temp3 = second;\n\t\t\t\t\tsecond = temp;\n\t\t\t\t\ttemp = temp3;\n\t\t\t\t\tif(temp3 > third) {\n\t\t\t\t\t\tthird = temp3;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > second) {\n\t\t\t\tint temp3 = second;\n\t\t\t\tsecond = temp;\n\t\t\t\ttemp = temp3;\n\t\t\t\tif(temp3 > third) {\n\t\t\t\t\tthird = temp3;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(temp > third) {\n\t\t\t\tthird = temp;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t\t\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
int first = 0;
int second = 0;
int third = 0;
int temp;
Scanner input = new Scanner(System.in);
for(int i = 0; i < 10; i++) {
temp = input.nextInt();
if(temp > first) {
int temp2 = first;
first = temp;
temp = temp2;
if(temp > second) {
int temp3 = second;
second = temp;
temp = temp3;
if(temp3 > third) {
third = temp3;
}
}
}
else if(temp > second) {
int temp3 = second;
second = temp;
temp = temp3;
if(temp3 > third) {
third = temp3;
}
}
else if(temp > third) {
third = temp;
}
}
System.out.println(first);
System.out.println(second);
System.out.println(third);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
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
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
23,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
23,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
53,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
21,
75
],
[
75,
76
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Comparator;\nimport java.util.List;\nimport java.util.Scanner;\n\nclass Main {\n\tstatic List<Integer> list = new ArrayList<Integer>();\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tCollections.sort(list, Comparator.reverseOrder());\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Comparator;",
"Comparator",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tstatic List<Integer> list = new ArrayList<Integer>();\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tCollections.sort(list, Comparator.reverseOrder());\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}\n}",
"Main",
"static List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tCollections.sort(list, Comparator.reverseOrder());\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tCollections.sort(list, Comparator.reverseOrder());\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for (int i = 0; i < 10; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tlist.add(scan.nextInt());\n\t\t}",
"{\n\t\t\tlist.add(scan.nextInt());\n\t\t}",
"list.add(scan.nextInt())",
"list.add",
"list",
"scan.nextInt()",
"scan.nextInt",
"scan",
"Collections.sort(list, Comparator.reverseOrder())",
"Collections.sort",
"Collections",
"list",
"Comparator.reverseOrder()",
"Comparator.reverseOrder",
"Comparator",
"for(int i=0;i<3;i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(list.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(list.get(i));\n\t\t}",
"System.out.println(list.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(i)",
"list.get",
"list",
"i",
"String[] args",
"args"
] | import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Scanner;
class Main {
static List<Integer> list = new ArrayList<Integer>();
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
for (int i = 0; i < 10; i++) {
list.add(scan.nextInt());
}
Collections.sort(list, Comparator.reverseOrder());
for(int i=0;i<3;i++){
System.out.println(list.get(i));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
20,
17,
41,
13,
20,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
17,
18,
13,
13,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
13,
14,
2,
18,
13,
17,
18,
13,
13,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
13,
14,
2,
18,
13,
17,
18,
13,
13,
0,
18,
13,
17,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
18
],
[
18,
19
],
[
18,
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
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
49,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
41,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
71,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
84,
86
],
[
79,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
91,
93
],
[
71,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
99,
100
],
[
99,
101
],
[
94,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
106,
107
],
[
106,
108
],
[
8,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
114,
115
],
[
114,
116
],
[
109,
117
],
[
117,
118
],
[
118,
119
],
[
109,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
121,
126
],
[
126,
127
],
[
126,
128
],
[
6,
129
],
[
129,
130
]
] | [
"import java.util.Scanner;\n \nclass Main{\n public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n \n int i;\n int[] height = new int[10];\n int[] h = new int[]{0, 0, 0};\n for(i = 0; i < 10; i++){\n height[i] = stdIn.nextInt();\n \n if(h[0] <= height[i]){\n h[2] = h[1];\n h[1] = h[0];\n h[0] = height[i];\n } else if(h[1] <= height[i]) {\n h[2] = h[1];\n h[1] = height[i];\n } else if(h[2] <= height[i])\n h[2] = height[i];\n }\n \n for(int j = 0; j < 3; j++)\n System.out.println(h[j]);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n \n int i;\n int[] height = new int[10];\n int[] h = new int[]{0, 0, 0};\n for(i = 0; i < 10; i++){\n height[i] = stdIn.nextInt();\n \n if(h[0] <= height[i]){\n h[2] = h[1];\n h[1] = h[0];\n h[0] = height[i];\n } else if(h[1] <= height[i]) {\n h[2] = h[1];\n h[1] = height[i];\n } else if(h[2] <= height[i])\n h[2] = height[i];\n }\n \n for(int j = 0; j < 3; j++)\n System.out.println(h[j]);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n \n int i;\n int[] height = new int[10];\n int[] h = new int[]{0, 0, 0};\n for(i = 0; i < 10; i++){\n height[i] = stdIn.nextInt();\n \n if(h[0] <= height[i]){\n h[2] = h[1];\n h[1] = h[0];\n h[0] = height[i];\n } else if(h[1] <= height[i]) {\n h[2] = h[1];\n h[1] = height[i];\n } else if(h[2] <= height[i])\n h[2] = height[i];\n }\n \n for(int j = 0; j < 3; j++)\n System.out.println(h[j]);\n }",
"main",
"{\n Scanner stdIn = new Scanner(System.in);\n \n int i;\n int[] height = new int[10];\n int[] h = new int[]{0, 0, 0};\n for(i = 0; i < 10; i++){\n height[i] = stdIn.nextInt();\n \n if(h[0] <= height[i]){\n h[2] = h[1];\n h[1] = h[0];\n h[0] = height[i];\n } else if(h[1] <= height[i]) {\n h[2] = h[1];\n h[1] = height[i];\n } else if(h[2] <= height[i])\n h[2] = height[i];\n }\n \n for(int j = 0; j < 3; j++)\n System.out.println(h[j]);\n }",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int i;",
"i",
"int[] height = new int[10];",
"height",
"new int[10]",
"10",
"int[] h = new int[]{0, 0, 0};",
"h",
"new int[]{0, 0, 0}",
"for(i = 0; i < 10; i++){\n height[i] = stdIn.nextInt();\n \n if(h[0] <= height[i]){\n h[2] = h[1];\n h[1] = h[0];\n h[0] = height[i];\n } else if(h[1] <= height[i]) {\n h[2] = h[1];\n h[1] = height[i];\n } else if(h[2] <= height[i])\n h[2] = height[i];\n }",
"i = 0;",
"i = 0",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n height[i] = stdIn.nextInt();\n \n if(h[0] <= height[i]){\n h[2] = h[1];\n h[1] = h[0];\n h[0] = height[i];\n } else if(h[1] <= height[i]) {\n h[2] = h[1];\n h[1] = height[i];\n } else if(h[2] <= height[i])\n h[2] = height[i];\n }",
"{\n height[i] = stdIn.nextInt();\n \n if(h[0] <= height[i]){\n h[2] = h[1];\n h[1] = h[0];\n h[0] = height[i];\n } else if(h[1] <= height[i]) {\n h[2] = h[1];\n h[1] = height[i];\n } else if(h[2] <= height[i])\n h[2] = height[i];\n }",
"height[i] = stdIn.nextInt()",
"height[i]",
"height",
"i",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"if(h[0] <= height[i]){\n h[2] = h[1];\n h[1] = h[0];\n h[0] = height[i];\n } else if(h[1] <= height[i]) {\n h[2] = h[1];\n h[1] = height[i];\n } else if(h[2] <= height[i])\n h[2] = height[i];",
"h[0] <= height[i]",
"h[0]",
"h",
"0",
"height[i]",
"height",
"i",
"{\n h[2] = h[1];\n h[1] = h[0];\n h[0] = height[i];\n }",
"h[2] = h[1]",
"h[2]",
"h",
"2",
"h[1]",
"h",
"1",
"h[1] = h[0]",
"h[1]",
"h",
"1",
"h[0]",
"h",
"0",
"h[0] = height[i]",
"h[0]",
"h",
"0",
"height[i]",
"height",
"i",
"if(h[1] <= height[i]) {\n h[2] = h[1];\n h[1] = height[i];\n } else if(h[2] <= height[i])\n h[2] = height[i];",
"h[1] <= height[i]",
"h[1]",
"h",
"1",
"height[i]",
"height",
"i",
"{\n h[2] = h[1];\n h[1] = height[i];\n }",
"h[2] = h[1]",
"h[2]",
"h",
"2",
"h[1]",
"h",
"1",
"h[1] = height[i]",
"h[1]",
"h",
"1",
"height[i]",
"height",
"i",
"if(h[2] <= height[i])\n h[2] = height[i];",
"h[2] <= height[i]",
"h[2]",
"h",
"2",
"height[i]",
"height",
"i",
"h[2] = height[i]",
"h[2]",
"h",
"2",
"height[i]",
"height",
"i",
"for(int j = 0; j < 3; j++)\n System.out.println(h[j]);",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < 3",
"j",
"3",
"j++",
"j++",
"j",
"System.out.println(h[j]);",
"System.out.println(h[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"h[j]",
"h",
"j",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner stdIn = new Scanner(System.in);
int i;
int[] height = new int[10];
int[] h = new int[]{0, 0, 0};
for(i = 0; i < 10; i++){
height[i] = stdIn.nextInt();
if(h[0] <= height[i]){
h[2] = h[1];
h[1] = h[0];
h[0] = height[i];
} else if(h[1] <= height[i]) {
h[2] = h[1];
h[1] = height[i];
} else if(h[2] <= height[i])
h[2] = height[i];
}
for(int j = 0; j < 3; j++)
System.out.println(h[j]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
17,
4,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
14,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
14,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
14,
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
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
12,
78
],
[
78,
79
]
] | [
"import java.io.*;\nimport java.util.ArrayList;\nimport java.util.Collections;\n\nclass Main {\n public static void main(String[] args) throws IOException {\n\t \tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t \t\n\t \tArrayList<Integer> arr = new ArrayList<Integer>();\n\t \tfor(int i=0;i<10;i++) {\n\t \t\tString str = reader.readLine();\n\t \t\tarr.add(Integer.parseInt(str));\n\t \t}\n\t \tCollections.sort(arr);\n\t \tCollections.reverse(arr);\n\t \tfor(int i=0;i<3;i++) {\n\t \t\tSystem.out.println(\"\"+arr.get(i));\n\t \t}\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"class Main {\n public static void main(String[] args) throws IOException {\n\t \tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t \t\n\t \tArrayList<Integer> arr = new ArrayList<Integer>();\n\t \tfor(int i=0;i<10;i++) {\n\t \t\tString str = reader.readLine();\n\t \t\tarr.add(Integer.parseInt(str));\n\t \t}\n\t \tCollections.sort(arr);\n\t \tCollections.reverse(arr);\n\t \tfor(int i=0;i<3;i++) {\n\t \t\tSystem.out.println(\"\"+arr.get(i));\n\t \t}\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t \tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t \t\n\t \tArrayList<Integer> arr = new ArrayList<Integer>();\n\t \tfor(int i=0;i<10;i++) {\n\t \t\tString str = reader.readLine();\n\t \t\tarr.add(Integer.parseInt(str));\n\t \t}\n\t \tCollections.sort(arr);\n\t \tCollections.reverse(arr);\n\t \tfor(int i=0;i<3;i++) {\n\t \t\tSystem.out.println(\"\"+arr.get(i));\n\t \t}\n }",
"main",
"{\n\t \tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t \t\n\t \tArrayList<Integer> arr = new ArrayList<Integer>();\n\t \tfor(int i=0;i<10;i++) {\n\t \t\tString str = reader.readLine();\n\t \t\tarr.add(Integer.parseInt(str));\n\t \t}\n\t \tCollections.sort(arr);\n\t \tCollections.reverse(arr);\n\t \tfor(int i=0;i<3;i++) {\n\t \t\tSystem.out.println(\"\"+arr.get(i));\n\t \t}\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"ArrayList<Integer> arr = new ArrayList<Integer>();",
"arr",
"new ArrayList<Integer>()",
"for(int i=0;i<10;i++) {\n\t \t\tString str = reader.readLine();\n\t \t\tarr.add(Integer.parseInt(str));\n\t \t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t \t\tString str = reader.readLine();\n\t \t\tarr.add(Integer.parseInt(str));\n\t \t}",
"{\n\t \t\tString str = reader.readLine();\n\t \t\tarr.add(Integer.parseInt(str));\n\t \t}",
"String str = reader.readLine();",
"str",
"reader.readLine()",
"reader.readLine",
"reader",
"arr.add(Integer.parseInt(str))",
"arr.add",
"arr",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"Collections.sort(arr)",
"Collections.sort",
"Collections",
"arr",
"Collections.reverse(arr)",
"Collections.reverse",
"Collections",
"arr",
"for(int i=0;i<3;i++) {\n\t \t\tSystem.out.println(\"\"+arr.get(i));\n\t \t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t \t\tSystem.out.println(\"\"+arr.get(i));\n\t \t}",
"{\n\t \t\tSystem.out.println(\"\"+arr.get(i));\n\t \t}",
"System.out.println(\"\"+arr.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"+arr.get(i)",
"\"\"",
"arr.get(i)",
"arr.get",
"arr",
"i",
"String[] args",
"args"
] | import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
ArrayList<Integer> arr = new ArrayList<Integer>();
for(int i=0;i<10;i++) {
String str = reader.readLine();
arr.add(Integer.parseInt(str));
}
Collections.sort(arr);
Collections.reverse(arr);
for(int i=0;i<3;i++) {
System.out.println(""+arr.get(i));
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
13,
11,
1,
41,
13,
17,
2,
13,
2,
17,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
2,
17,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
120,
5
],
[
120,
6
],
[
6,
7
],
[
6,
8
],
[
120,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
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
],
[
58,
59
],
[
58,
60
],
[
54,
61
],
[
61,
62
],
[
61,
63
],
[
54,
64
],
[
64,
65
],
[
65,
66
],
[
54,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
77,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
77,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
11,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
100,
101
],
[
100,
102
],
[
95,
103
],
[
103,
104
],
[
104,
105
],
[
95,
106
],
[
107,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
108,
114
],
[
114,
115
],
[
114,
116
],
[
9,
117
],
[
117,
118
],
[
0,
119
],
[
119,
120
],
[
119,
121
]
] | [
"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\tint[] mt = new int[10];\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tint h = scan.nextInt();\n\t\t\tmt[i] = h;\n\t\t}\n\t\tfor(int i = 0; i < 10 - 1; i++){\n\t\t\tfor(int j = 10 - 1; j > i; j--){\n\t\t\t\tif(mt[i] < mt[j]){\n\t\t\t\t\tint big = mt[j];\n\t\t\t\t\tmt[j] = mt[i];\n\t\t\t\t\tmt[i] = big;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.printf(\"%d\\n\", mt[i]);\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\tint[] mt = new int[10];\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tint h = scan.nextInt();\n\t\t\tmt[i] = h;\n\t\t}\n\t\tfor(int i = 0; i < 10 - 1; i++){\n\t\t\tfor(int j = 10 - 1; j > i; j--){\n\t\t\t\tif(mt[i] < mt[j]){\n\t\t\t\t\tint big = mt[j];\n\t\t\t\t\tmt[j] = mt[i];\n\t\t\t\t\tmt[i] = big;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.printf(\"%d\\n\", mt[i]);\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\tint[] mt = new int[10];\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tint h = scan.nextInt();\n\t\t\tmt[i] = h;\n\t\t}\n\t\tfor(int i = 0; i < 10 - 1; i++){\n\t\t\tfor(int j = 10 - 1; j > i; j--){\n\t\t\t\tif(mt[i] < mt[j]){\n\t\t\t\t\tint big = mt[j];\n\t\t\t\t\tmt[j] = mt[i];\n\t\t\t\t\tmt[i] = big;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.printf(\"%d\\n\", mt[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tint[] mt = new int[10];\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tint h = scan.nextInt();\n\t\t\tmt[i] = h;\n\t\t}\n\t\tfor(int i = 0; i < 10 - 1; i++){\n\t\t\tfor(int j = 10 - 1; j > i; j--){\n\t\t\t\tif(mt[i] < mt[j]){\n\t\t\t\t\tint big = mt[j];\n\t\t\t\t\tmt[j] = mt[i];\n\t\t\t\t\tmt[i] = big;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.printf(\"%d\\n\", mt[i]);\n\t\t}\n\t}",
"int[] mt = new int[10];",
"mt",
"new int[10]",
"10",
"for(int i = 0; i < 10; i++){\n\t\t\tint h = scan.nextInt();\n\t\t\tmt[i] = h;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tint h = scan.nextInt();\n\t\t\tmt[i] = h;\n\t\t}",
"{\n\t\t\tint h = scan.nextInt();\n\t\t\tmt[i] = h;\n\t\t}",
"int h = scan.nextInt();",
"h",
"scan.nextInt()",
"scan.nextInt",
"scan",
"mt[i] = h",
"mt[i]",
"mt",
"i",
"h",
"for(int i = 0; i < 10 - 1; i++){\n\t\t\tfor(int j = 10 - 1; j > i; j--){\n\t\t\t\tif(mt[i] < mt[j]){\n\t\t\t\t\tint big = mt[j];\n\t\t\t\t\tmt[j] = mt[i];\n\t\t\t\t\tmt[i] = big;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10 - 1",
"i",
"10 - 1",
"10",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = 10 - 1; j > i; j--){\n\t\t\t\tif(mt[i] < mt[j]){\n\t\t\t\t\tint big = mt[j];\n\t\t\t\t\tmt[j] = mt[i];\n\t\t\t\t\tmt[i] = big;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int j = 10 - 1; j > i; j--){\n\t\t\t\tif(mt[i] < mt[j]){\n\t\t\t\t\tint big = mt[j];\n\t\t\t\t\tmt[j] = mt[i];\n\t\t\t\t\tmt[i] = big;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int j = 10 - 1; j > i; j--){\n\t\t\t\tif(mt[i] < mt[j]){\n\t\t\t\t\tint big = mt[j];\n\t\t\t\t\tmt[j] = mt[i];\n\t\t\t\t\tmt[i] = big;\n\t\t\t\t}\n\t\t\t}",
"int j = 10 - 1;",
"int j = 10 - 1;",
"j",
"10 - 1",
"10",
"1",
"j > i",
"j",
"i",
"j--",
"j--",
"j",
"{\n\t\t\t\tif(mt[i] < mt[j]){\n\t\t\t\t\tint big = mt[j];\n\t\t\t\t\tmt[j] = mt[i];\n\t\t\t\t\tmt[i] = big;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(mt[i] < mt[j]){\n\t\t\t\t\tint big = mt[j];\n\t\t\t\t\tmt[j] = mt[i];\n\t\t\t\t\tmt[i] = big;\n\t\t\t\t}\n\t\t\t}",
"if(mt[i] < mt[j]){\n\t\t\t\t\tint big = mt[j];\n\t\t\t\t\tmt[j] = mt[i];\n\t\t\t\t\tmt[i] = big;\n\t\t\t\t}",
"mt[i] < mt[j]",
"mt[i]",
"mt",
"i",
"mt[j]",
"mt",
"j",
"{\n\t\t\t\t\tint big = mt[j];\n\t\t\t\t\tmt[j] = mt[i];\n\t\t\t\t\tmt[i] = big;\n\t\t\t\t}",
"int big = mt[j];",
"big",
"mt[j]",
"mt",
"j",
"mt[j] = mt[i]",
"mt[j]",
"mt",
"j",
"mt[i]",
"mt",
"i",
"mt[i] = big",
"mt[i]",
"mt",
"i",
"big",
"for(int i = 0; i < 3; i++){\n\t\t\tSystem.out.printf(\"%d\\n\", mt[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.printf(\"%d\\n\", mt[i]);\n\t\t}",
"{\n\t\t\tSystem.out.printf(\"%d\\n\", mt[i]);\n\t\t}",
"System.out.printf(\"%d\\n\", mt[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\\n\"",
"mt[i]",
"mt",
"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\tint[] mt = new int[10];\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tint h = scan.nextInt();\n\t\t\tmt[i] = h;\n\t\t}\n\t\tfor(int i = 0; i < 10 - 1; i++){\n\t\t\tfor(int j = 10 - 1; j > i; j--){\n\t\t\t\tif(mt[i] < mt[j]){\n\t\t\t\t\tint big = mt[j];\n\t\t\t\t\tmt[j] = mt[i];\n\t\t\t\t\tmt[i] = big;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.printf(\"%d\\n\", mt[i]);\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\tint[] mt = new int[10];\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tint h = scan.nextInt();\n\t\t\tmt[i] = h;\n\t\t}\n\t\tfor(int i = 0; i < 10 - 1; i++){\n\t\t\tfor(int j = 10 - 1; j > i; j--){\n\t\t\t\tif(mt[i] < mt[j]){\n\t\t\t\t\tint big = mt[j];\n\t\t\t\t\tmt[j] = mt[i];\n\t\t\t\t\tmt[i] = big;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.printf(\"%d\\n\", mt[i]);\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){
int[] mt = new int[10];
for(int i = 0; i < 10; i++){
int h = scan.nextInt();
mt[i] = h;
}
for(int i = 0; i < 10 - 1; i++){
for(int j = 10 - 1; j > i; j--){
if(mt[i] < mt[j]){
int big = mt[j];
mt[j] = mt[i];
mt[i] = big;
}
}
}
for(int i = 0; i < 3; i++){
System.out.printf("%d\n", mt[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
39,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
82,
8
],
[
82,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
17,
24
],
[
24,
25
],
[
25,
26
],
[
17,
27
],
[
27,
28
],
[
28,
29
],
[
17,
30
],
[
30,
31
],
[
31,
32
],
[
17,
33
],
[
33,
34
],
[
34,
35
],
[
17,
36
],
[
36,
37
],
[
37,
38
],
[
17,
39
],
[
39,
40
],
[
40,
41
],
[
17,
42
],
[
42,
43
],
[
43,
44
],
[
17,
45
],
[
45,
46
],
[
46,
47
],
[
11,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
11,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
11,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
11,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
9,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] | [
"\n/* Volume0-0001(山の高さ) */\n\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n\n Integer[] foo = { sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt()};\n Arrays.sort(foo, Collections.reverseOrder());\n System.out.println(foo[0]);\n System.out.println(foo[1]);\n System.out.println(foo[2]);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n\n Integer[] foo = { sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt()};\n Arrays.sort(foo, Collections.reverseOrder());\n System.out.println(foo[0]);\n System.out.println(foo[1]);\n System.out.println(foo[2]);\n }\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n\n Integer[] foo = { sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt()};\n Arrays.sort(foo, Collections.reverseOrder());\n System.out.println(foo[0]);\n System.out.println(foo[1]);\n System.out.println(foo[2]);\n }",
"main",
"{\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n\n Integer[] foo = { sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt()};\n Arrays.sort(foo, Collections.reverseOrder());\n System.out.println(foo[0]);\n System.out.println(foo[1]);\n System.out.println(foo[2]);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Integer[] foo = { sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt()};",
"foo",
"{ sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt()}",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(foo, Collections.reverseOrder())",
"Arrays.sort",
"Arrays",
"foo",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"System.out.println(foo[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"foo[0]",
"foo",
"0",
"System.out.println(foo[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"foo[1]",
"foo",
"1",
"System.out.println(foo[2])",
"System.out.println",
"System.out",
"System",
"System.out",
"foo[2]",
"foo",
"2",
"String[] args",
"args",
"public class Main {\n public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n\n Integer[] foo = { sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt()};\n Arrays.sort(foo, Collections.reverseOrder());\n System.out.println(foo[0]);\n System.out.println(foo[1]);\n System.out.println(foo[2]);\n }\n}",
"public class Main {\n public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n\n Integer[] foo = { sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt(),\n sc.nextInt()};\n Arrays.sort(foo, Collections.reverseOrder());\n System.out.println(foo[0]);\n System.out.println(foo[1]);\n System.out.println(foo[2]);\n }\n}",
"Main"
] |
/* Volume0-0001(山の高さ) */
import java.io.*;
import java.util.*;
public class Main {
public static void main (String[] args) throws java.lang.Exception {
// 入力された値をゲット
Scanner sc = new Scanner(System.in);
Integer[] foo = { sc.nextInt(),
sc.nextInt(),
sc.nextInt(),
sc.nextInt(),
sc.nextInt(),
sc.nextInt(),
sc.nextInt(),
sc.nextInt(),
sc.nextInt(),
sc.nextInt()};
Arrays.sort(foo, Collections.reverseOrder());
System.out.println(foo[0]);
System.out.println(foo[1]);
System.out.println(foo[2]);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
17,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
12,
13,
30,
4,
18,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
9
],
[
9,
10
],
[
9,
11
],
[
4,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
15,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
70,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
80,
82
],
[
70,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
15,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
88,
96
],
[
96,
97
],
[
97,
98
],
[
88,
99
],
[
100,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
4,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
109,
115
],
[
115,
116
]
] | [
"import java.util.*;\nclass Main{\n\tScanner sc=new Scanner(System.in);\n\tint[] yama=new int[10];\n\tvoid s(){\n\t\tfor(int i=0; i<10; i++){\n\t\t\tyama[i]=sc.nextInt();\n\t\t}\n\t\tfor(int i=0; i<9; i++){\n\t\t\tfor(int j=i; j<10; j++){\n\t\t\t\tif(yama[i]<=yama[j]){\n\t\t\t\t\tint a =yama[j];\n\t\t\t\t\tyama[j]=yama[i];\n\t \t\t\t \tyama[i]=a;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int j=0; j<3; j++){\n\t\t\tSystem.out.println(yama[j]);\n\t\t}\n\t}\n\tpublic static void main(String[]agrs){\n\t\tnew Main().s();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tScanner sc=new Scanner(System.in);\n\tint[] yama=new int[10];\n\tvoid s(){\n\t\tfor(int i=0; i<10; i++){\n\t\t\tyama[i]=sc.nextInt();\n\t\t}\n\t\tfor(int i=0; i<9; i++){\n\t\t\tfor(int j=i; j<10; j++){\n\t\t\t\tif(yama[i]<=yama[j]){\n\t\t\t\t\tint a =yama[j];\n\t\t\t\t\tyama[j]=yama[i];\n\t \t\t\t \tyama[i]=a;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int j=0; j<3; j++){\n\t\t\tSystem.out.println(yama[j]);\n\t\t}\n\t}\n\tpublic static void main(String[]agrs){\n\t\tnew Main().s();\n\t}\n}",
"Main",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] yama=new int[10];",
"yama",
"new int[10]",
"10",
"void s(){\n\t\tfor(int i=0; i<10; i++){\n\t\t\tyama[i]=sc.nextInt();\n\t\t}\n\t\tfor(int i=0; i<9; i++){\n\t\t\tfor(int j=i; j<10; j++){\n\t\t\t\tif(yama[i]<=yama[j]){\n\t\t\t\t\tint a =yama[j];\n\t\t\t\t\tyama[j]=yama[i];\n\t \t\t\t \tyama[i]=a;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int j=0; j<3; j++){\n\t\t\tSystem.out.println(yama[j]);\n\t\t}\n\t}",
"s",
"{\n\t\tfor(int i=0; i<10; i++){\n\t\t\tyama[i]=sc.nextInt();\n\t\t}\n\t\tfor(int i=0; i<9; i++){\n\t\t\tfor(int j=i; j<10; j++){\n\t\t\t\tif(yama[i]<=yama[j]){\n\t\t\t\t\tint a =yama[j];\n\t\t\t\t\tyama[j]=yama[i];\n\t \t\t\t \tyama[i]=a;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int j=0; j<3; j++){\n\t\t\tSystem.out.println(yama[j]);\n\t\t}\n\t}",
"for(int i=0; i<10; i++){\n\t\t\tyama[i]=sc.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tyama[i]=sc.nextInt();\n\t\t}",
"{\n\t\t\tyama[i]=sc.nextInt();\n\t\t}",
"yama[i]=sc.nextInt()",
"yama[i]",
"yama",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i=0; i<9; i++){\n\t\t\tfor(int j=i; j<10; j++){\n\t\t\t\tif(yama[i]<=yama[j]){\n\t\t\t\t\tint a =yama[j];\n\t\t\t\t\tyama[j]=yama[i];\n\t \t\t\t \tyama[i]=a;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<9",
"i",
"9",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j=i; j<10; j++){\n\t\t\t\tif(yama[i]<=yama[j]){\n\t\t\t\t\tint a =yama[j];\n\t\t\t\t\tyama[j]=yama[i];\n\t \t\t\t \tyama[i]=a;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int j=i; j<10; j++){\n\t\t\t\tif(yama[i]<=yama[j]){\n\t\t\t\t\tint a =yama[j];\n\t\t\t\t\tyama[j]=yama[i];\n\t \t\t\t \tyama[i]=a;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int j=i; j<10; j++){\n\t\t\t\tif(yama[i]<=yama[j]){\n\t\t\t\t\tint a =yama[j];\n\t\t\t\t\tyama[j]=yama[i];\n\t \t\t\t \tyama[i]=a;\n\t\t\t\t}\n\t\t\t}",
"int j=i;",
"int j=i;",
"j",
"i",
"j<10",
"j",
"10",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(yama[i]<=yama[j]){\n\t\t\t\t\tint a =yama[j];\n\t\t\t\t\tyama[j]=yama[i];\n\t \t\t\t \tyama[i]=a;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(yama[i]<=yama[j]){\n\t\t\t\t\tint a =yama[j];\n\t\t\t\t\tyama[j]=yama[i];\n\t \t\t\t \tyama[i]=a;\n\t\t\t\t}\n\t\t\t}",
"if(yama[i]<=yama[j]){\n\t\t\t\t\tint a =yama[j];\n\t\t\t\t\tyama[j]=yama[i];\n\t \t\t\t \tyama[i]=a;\n\t\t\t\t}",
"yama[i]<=yama[j]",
"yama[i]",
"yama",
"i",
"yama[j]",
"yama",
"j",
"{\n\t\t\t\t\tint a =yama[j];\n\t\t\t\t\tyama[j]=yama[i];\n\t \t\t\t \tyama[i]=a;\n\t\t\t\t}",
"int a =yama[j];",
"a",
"yama[j]",
"yama",
"j",
"yama[j]=yama[i]",
"yama[j]",
"yama",
"j",
"yama[i]",
"yama",
"i",
"yama[i]=a",
"yama[i]",
"yama",
"i",
"a",
"for(int j=0; j<3; j++){\n\t\t\tSystem.out.println(yama[j]);\n\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<3",
"j",
"3",
"j++",
"j++",
"j",
"{\n\t\t\tSystem.out.println(yama[j]);\n\t\t}",
"{\n\t\t\tSystem.out.println(yama[j]);\n\t\t}",
"System.out.println(yama[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"yama[j]",
"yama",
"j",
"public static void main(String[]agrs){\n\t\tnew Main().s();\n\t}",
"main",
"{\n\t\tnew Main().s();\n\t}",
"new Main().s()",
"new Main().s",
"new Main()",
"String[]agrs",
"agrs"
] | import java.util.*;
class Main{
Scanner sc=new Scanner(System.in);
int[] yama=new int[10];
void s(){
for(int i=0; i<10; i++){
yama[i]=sc.nextInt();
}
for(int i=0; i<9; i++){
for(int j=i; j<10; j++){
if(yama[i]<=yama[j]){
int a =yama[j];
yama[j]=yama[i];
yama[i]=a;
}
}
}
for(int j=0; j<3; j++){
System.out.println(yama[j]);
}
}
public static void main(String[]agrs){
new Main().s();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
13,
13,
4,
13,
13,
4,
13,
13,
4,
13,
13,
4,
13,
13,
4,
13,
13,
4,
13,
13,
4,
13,
13,
4,
13,
13,
4,
13,
13,
41,
13,
20,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
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
],
[
196,
14
],
[
196,
15
],
[
15,
16
],
[
15,
17
],
[
196,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
20,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
20,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
20,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
20,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
20,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
20,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
20,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
20,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
20,
74
],
[
74,
75
],
[
74,
76
],
[
20,
77
],
[
77,
78
],
[
77,
79
],
[
20,
80
],
[
80,
81
],
[
80,
82
],
[
20,
83
],
[
83,
84
],
[
83,
85
],
[
20,
86
],
[
86,
87
],
[
86,
88
],
[
20,
89
],
[
89,
90
],
[
89,
91
],
[
20,
92
],
[
92,
93
],
[
92,
94
],
[
20,
95
],
[
95,
96
],
[
95,
97
],
[
20,
98
],
[
98,
99
],
[
98,
100
],
[
20,
101
],
[
101,
102
],
[
101,
103
],
[
20,
104
],
[
104,
105
],
[
104,
106
],
[
20,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
20,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
20,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
20,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
20,
123
],
[
123,
124
],
[
124,
125
],
[
123,
126
],
[
20,
127
],
[
127,
128
],
[
128,
129
],
[
127,
130
],
[
20,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
20,
135
],
[
135,
136
],
[
136,
137
],
[
135,
138
],
[
20,
139
],
[
139,
140
],
[
140,
141
],
[
139,
142
],
[
20,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
20,
147
],
[
147,
148
],
[
148,
149
],
[
147,
150
],
[
20,
151
],
[
151,
152
],
[
152,
153
],
[
151,
154
],
[
20,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
155,
160
],
[
160,
161
],
[
160,
162
],
[
155,
163
],
[
163,
164
],
[
164,
165
],
[
155,
166
],
[
167,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
168,
173
],
[
173,
174
],
[
174,
175
],
[
173,
176
],
[
18,
177
],
[
177,
178
],
[
196,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
183,
187
],
[
187,
188
],
[
187,
189
],
[
182,
190
],
[
190,
191
],
[
191,
192
],
[
179,
193
],
[
193,
194
],
[
0,
195
],
[
195,
196
],
[
195,
197
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\tScanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint num1 = sc.nextInt();\n\t\tint num2 = sc.nextInt();\n\t\tint num3 = sc.nextInt();\n\t\tint num4 = sc.nextInt();\n\t\tint num5 = sc.nextInt();\n\t\tint num6 = sc.nextInt();\n\t\tint num7 = sc.nextInt();\n\t\tint num8 = sc.nextInt();\n\t\tint num9 = sc.nextInt();\n\t\tint num10 = sc.nextInt();\n\n\t\tcheckNum(num1);\n\t\tcheckNum(num2);\n\t\tcheckNum(num3);\n\t\tcheckNum(num4);\n\t\tcheckNum(num5);\n\t\tcheckNum(num6);\n\t\tcheckNum(num7);\n\t\tcheckNum(num8);\n\t\tcheckNum(num9);\n\t\tcheckNum(num10);\n\n\t\tList<Integer> list = new ArrayList<Integer>();\n\n\t\tlist.add(num1);\n\t\tlist.add(num2);\n\t\tlist.add(num3);\n\t\tlist.add(num4);\n\t\tlist.add(num5);\n\t\tlist.add(num6);\n\t\tlist.add(num7);\n\t\tlist.add(num8);\n\t\tlist.add(num9);\n\t\tlist.add(num10);\n\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\n\t\tfor(int cnt = 0; cnt < 3; cnt++){\n\n\t\t\tSystem.out.println(list.get(cnt));\n\t\t}\n\n\n\t}\n\n\tpublic static void checkNum(int x){\n\n\t\tif(x < 0 || 10000 < x){\n\n\t\t\tthrow new IllegalArgumentException(\"out of range\");\n\n\t\t}\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint num1 = sc.nextInt();\n\t\tint num2 = sc.nextInt();\n\t\tint num3 = sc.nextInt();\n\t\tint num4 = sc.nextInt();\n\t\tint num5 = sc.nextInt();\n\t\tint num6 = sc.nextInt();\n\t\tint num7 = sc.nextInt();\n\t\tint num8 = sc.nextInt();\n\t\tint num9 = sc.nextInt();\n\t\tint num10 = sc.nextInt();\n\n\t\tcheckNum(num1);\n\t\tcheckNum(num2);\n\t\tcheckNum(num3);\n\t\tcheckNum(num4);\n\t\tcheckNum(num5);\n\t\tcheckNum(num6);\n\t\tcheckNum(num7);\n\t\tcheckNum(num8);\n\t\tcheckNum(num9);\n\t\tcheckNum(num10);\n\n\t\tList<Integer> list = new ArrayList<Integer>();\n\n\t\tlist.add(num1);\n\t\tlist.add(num2);\n\t\tlist.add(num3);\n\t\tlist.add(num4);\n\t\tlist.add(num5);\n\t\tlist.add(num6);\n\t\tlist.add(num7);\n\t\tlist.add(num8);\n\t\tlist.add(num9);\n\t\tlist.add(num10);\n\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\n\t\tfor(int cnt = 0; cnt < 3; cnt++){\n\n\t\t\tSystem.out.println(list.get(cnt));\n\t\t}\n\n\n\t}\n\n\tpublic static void checkNum(int x){\n\n\t\tif(x < 0 || 10000 < x){\n\n\t\t\tthrow new IllegalArgumentException(\"out of range\");\n\n\t\t}\n\t}\n\n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint num1 = sc.nextInt();\n\t\tint num2 = sc.nextInt();\n\t\tint num3 = sc.nextInt();\n\t\tint num4 = sc.nextInt();\n\t\tint num5 = sc.nextInt();\n\t\tint num6 = sc.nextInt();\n\t\tint num7 = sc.nextInt();\n\t\tint num8 = sc.nextInt();\n\t\tint num9 = sc.nextInt();\n\t\tint num10 = sc.nextInt();\n\n\t\tcheckNum(num1);\n\t\tcheckNum(num2);\n\t\tcheckNum(num3);\n\t\tcheckNum(num4);\n\t\tcheckNum(num5);\n\t\tcheckNum(num6);\n\t\tcheckNum(num7);\n\t\tcheckNum(num8);\n\t\tcheckNum(num9);\n\t\tcheckNum(num10);\n\n\t\tList<Integer> list = new ArrayList<Integer>();\n\n\t\tlist.add(num1);\n\t\tlist.add(num2);\n\t\tlist.add(num3);\n\t\tlist.add(num4);\n\t\tlist.add(num5);\n\t\tlist.add(num6);\n\t\tlist.add(num7);\n\t\tlist.add(num8);\n\t\tlist.add(num9);\n\t\tlist.add(num10);\n\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\n\t\tfor(int cnt = 0; cnt < 3; cnt++){\n\n\t\t\tSystem.out.println(list.get(cnt));\n\t\t}\n\n\n\t}",
"main",
"{\n\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint num1 = sc.nextInt();\n\t\tint num2 = sc.nextInt();\n\t\tint num3 = sc.nextInt();\n\t\tint num4 = sc.nextInt();\n\t\tint num5 = sc.nextInt();\n\t\tint num6 = sc.nextInt();\n\t\tint num7 = sc.nextInt();\n\t\tint num8 = sc.nextInt();\n\t\tint num9 = sc.nextInt();\n\t\tint num10 = sc.nextInt();\n\n\t\tcheckNum(num1);\n\t\tcheckNum(num2);\n\t\tcheckNum(num3);\n\t\tcheckNum(num4);\n\t\tcheckNum(num5);\n\t\tcheckNum(num6);\n\t\tcheckNum(num7);\n\t\tcheckNum(num8);\n\t\tcheckNum(num9);\n\t\tcheckNum(num10);\n\n\t\tList<Integer> list = new ArrayList<Integer>();\n\n\t\tlist.add(num1);\n\t\tlist.add(num2);\n\t\tlist.add(num3);\n\t\tlist.add(num4);\n\t\tlist.add(num5);\n\t\tlist.add(num6);\n\t\tlist.add(num7);\n\t\tlist.add(num8);\n\t\tlist.add(num9);\n\t\tlist.add(num10);\n\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\n\t\tfor(int cnt = 0; cnt < 3; cnt++){\n\n\t\t\tSystem.out.println(list.get(cnt));\n\t\t}\n\n\n\t}",
"@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int num1 = sc.nextInt();",
"num1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int num2 = sc.nextInt();",
"num2",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int num3 = sc.nextInt();",
"num3",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int num4 = sc.nextInt();",
"num4",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int num5 = sc.nextInt();",
"num5",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int num6 = sc.nextInt();",
"num6",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int num7 = sc.nextInt();",
"num7",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int num8 = sc.nextInt();",
"num8",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int num9 = sc.nextInt();",
"num9",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int num10 = sc.nextInt();",
"num10",
"sc.nextInt()",
"sc.nextInt",
"sc",
"checkNum(num1)",
"checkNum",
"num1",
"checkNum(num2)",
"checkNum",
"num2",
"checkNum(num3)",
"checkNum",
"num3",
"checkNum(num4)",
"checkNum",
"num4",
"checkNum(num5)",
"checkNum",
"num5",
"checkNum(num6)",
"checkNum",
"num6",
"checkNum(num7)",
"checkNum",
"num7",
"checkNum(num8)",
"checkNum",
"num8",
"checkNum(num9)",
"checkNum",
"num9",
"checkNum(num10)",
"checkNum",
"num10",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"list.add(num1)",
"list.add",
"list",
"num1",
"list.add(num2)",
"list.add",
"list",
"num2",
"list.add(num3)",
"list.add",
"list",
"num3",
"list.add(num4)",
"list.add",
"list",
"num4",
"list.add(num5)",
"list.add",
"list",
"num5",
"list.add(num6)",
"list.add",
"list",
"num6",
"list.add(num7)",
"list.add",
"list",
"num7",
"list.add(num8)",
"list.add",
"list",
"num8",
"list.add(num9)",
"list.add",
"list",
"num9",
"list.add(num10)",
"list.add",
"list",
"num10",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"for(int cnt = 0; cnt < 3; cnt++){\n\n\t\t\tSystem.out.println(list.get(cnt));\n\t\t}",
"int cnt = 0;",
"int cnt = 0;",
"cnt",
"0",
"cnt < 3",
"cnt",
"3",
"cnt++",
"cnt++",
"cnt",
"{\n\n\t\t\tSystem.out.println(list.get(cnt));\n\t\t}",
"{\n\n\t\t\tSystem.out.println(list.get(cnt));\n\t\t}",
"System.out.println(list.get(cnt))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(cnt)",
"list.get",
"list",
"cnt",
"String[] args",
"args",
"public static void checkNum(int x){\n\n\t\tif(x < 0 || 10000 < x){\n\n\t\t\tthrow new IllegalArgumentException(\"out of range\");\n\n\t\t}\n\t}",
"checkNum",
"{\n\n\t\tif(x < 0 || 10000 < x){\n\n\t\t\tthrow new IllegalArgumentException(\"out of range\");\n\n\t\t}\n\t}",
"if(x < 0 || 10000 < x){\n\n\t\t\tthrow new IllegalArgumentException(\"out of range\");\n\n\t\t}",
"x < 0 || 10000 < x",
"x < 0",
"x",
"0",
"10000 < x",
"10000",
"x",
"{\n\n\t\t\tthrow new IllegalArgumentException(\"out of range\");\n\n\t\t}",
"throw new IllegalArgumentException(\"out of range\");",
"new IllegalArgumentException(\"out of range\")",
"int x",
"x",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint num1 = sc.nextInt();\n\t\tint num2 = sc.nextInt();\n\t\tint num3 = sc.nextInt();\n\t\tint num4 = sc.nextInt();\n\t\tint num5 = sc.nextInt();\n\t\tint num6 = sc.nextInt();\n\t\tint num7 = sc.nextInt();\n\t\tint num8 = sc.nextInt();\n\t\tint num9 = sc.nextInt();\n\t\tint num10 = sc.nextInt();\n\n\t\tcheckNum(num1);\n\t\tcheckNum(num2);\n\t\tcheckNum(num3);\n\t\tcheckNum(num4);\n\t\tcheckNum(num5);\n\t\tcheckNum(num6);\n\t\tcheckNum(num7);\n\t\tcheckNum(num8);\n\t\tcheckNum(num9);\n\t\tcheckNum(num10);\n\n\t\tList<Integer> list = new ArrayList<Integer>();\n\n\t\tlist.add(num1);\n\t\tlist.add(num2);\n\t\tlist.add(num3);\n\t\tlist.add(num4);\n\t\tlist.add(num5);\n\t\tlist.add(num6);\n\t\tlist.add(num7);\n\t\tlist.add(num8);\n\t\tlist.add(num9);\n\t\tlist.add(num10);\n\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\n\t\tfor(int cnt = 0; cnt < 3; cnt++){\n\n\t\t\tSystem.out.println(list.get(cnt));\n\t\t}\n\n\n\t}\n\n\tpublic static void checkNum(int x){\n\n\t\tif(x < 0 || 10000 < x){\n\n\t\t\tthrow new IllegalArgumentException(\"out of range\");\n\n\t\t}\n\t}\n\n}",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint num1 = sc.nextInt();\n\t\tint num2 = sc.nextInt();\n\t\tint num3 = sc.nextInt();\n\t\tint num4 = sc.nextInt();\n\t\tint num5 = sc.nextInt();\n\t\tint num6 = sc.nextInt();\n\t\tint num7 = sc.nextInt();\n\t\tint num8 = sc.nextInt();\n\t\tint num9 = sc.nextInt();\n\t\tint num10 = sc.nextInt();\n\n\t\tcheckNum(num1);\n\t\tcheckNum(num2);\n\t\tcheckNum(num3);\n\t\tcheckNum(num4);\n\t\tcheckNum(num5);\n\t\tcheckNum(num6);\n\t\tcheckNum(num7);\n\t\tcheckNum(num8);\n\t\tcheckNum(num9);\n\t\tcheckNum(num10);\n\n\t\tList<Integer> list = new ArrayList<Integer>();\n\n\t\tlist.add(num1);\n\t\tlist.add(num2);\n\t\tlist.add(num3);\n\t\tlist.add(num4);\n\t\tlist.add(num5);\n\t\tlist.add(num6);\n\t\tlist.add(num7);\n\t\tlist.add(num8);\n\t\tlist.add(num9);\n\t\tlist.add(num10);\n\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\n\t\tfor(int cnt = 0; cnt < 3; cnt++){\n\n\t\t\tSystem.out.println(list.get(cnt));\n\t\t}\n\n\n\t}\n\n\tpublic static void checkNum(int x){\n\n\t\tif(x < 0 || 10000 < x){\n\n\t\t\tthrow new IllegalArgumentException(\"out of range\");\n\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
public class Main {
Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
@SuppressWarnings("resource")
Scanner sc = new Scanner(System.in);
int num1 = sc.nextInt();
int num2 = sc.nextInt();
int num3 = sc.nextInt();
int num4 = sc.nextInt();
int num5 = sc.nextInt();
int num6 = sc.nextInt();
int num7 = sc.nextInt();
int num8 = sc.nextInt();
int num9 = sc.nextInt();
int num10 = sc.nextInt();
checkNum(num1);
checkNum(num2);
checkNum(num3);
checkNum(num4);
checkNum(num5);
checkNum(num6);
checkNum(num7);
checkNum(num8);
checkNum(num9);
checkNum(num10);
List<Integer> list = new ArrayList<Integer>();
list.add(num1);
list.add(num2);
list.add(num3);
list.add(num4);
list.add(num5);
list.add(num6);
list.add(num7);
list.add(num8);
list.add(num9);
list.add(num10);
Collections.sort(list);
Collections.reverse(list);
for(int cnt = 0; cnt < 3; cnt++){
System.out.println(list.get(cnt));
}
}
public static void checkNum(int x){
if(x < 0 || 10000 < x){
throw new IllegalArgumentException("out of range");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
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
],
[
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,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
20,
43
],
[
43,
44
],
[
43,
45
],
[
20,
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
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
65,
66
],
[
58,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
84,
86
],
[
79,
87
],
[
87,
88
],
[
88,
89
],
[
79,
90
],
[
91,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
95,
96
],
[
95,
97
],
[
75,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
75,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
75,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
75,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
115,
116
],
[
115,
117
],
[
110,
118
],
[
118,
119
],
[
119,
120
],
[
110,
121
],
[
122,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
128,
129
],
[
127,
130
],
[
20,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
131,
136
],
[
136,
137
],
[
136,
138
],
[
131,
139
],
[
139,
140
],
[
140,
141
],
[
131,
142
],
[
143,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
144,
149
],
[
149,
150
],
[
149,
151
],
[
18,
152
],
[
152,
153
]
] | [
"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 NumberFormatException, IOException {\n\n\t\tInteger top3[] = new Integer[3];\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\ttop3[i] = 0;\n\t\t}\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int x = 1; x <= 10; x++) {\n\t\t\tInteger h = Integer.parseInt(in.readLine());\n\t\t\tif (h >= 0 && h <= 10000) {\n\t\t\t\tArrayList<Integer> tmpTop = new ArrayList<Integer>(4);\n\t\t\t\tfor (int i = 0; i< 3; i++) {\n\t\t\t\t\ttmpTop.add(top3[i]);\n\t\t\t\t}\n\t\t\t\ttmpTop.add(h);\n\n\t\t\t\tCollections.sort(tmpTop);\n\t\t\t\tCollections.reverse(tmpTop);\n\n\t\t\t\tfor (int i = 0; i< 3; i++) {\n\t\t\t\t\ttop3[i] = tmpTop.get(i);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i< 3; i++) {\n\t\t\tSystem.out.println(top3[i]);\n\t\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\n\t\tInteger top3[] = new Integer[3];\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\ttop3[i] = 0;\n\t\t}\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int x = 1; x <= 10; x++) {\n\t\t\tInteger h = Integer.parseInt(in.readLine());\n\t\t\tif (h >= 0 && h <= 10000) {\n\t\t\t\tArrayList<Integer> tmpTop = new ArrayList<Integer>(4);\n\t\t\t\tfor (int i = 0; i< 3; i++) {\n\t\t\t\t\ttmpTop.add(top3[i]);\n\t\t\t\t}\n\t\t\t\ttmpTop.add(h);\n\n\t\t\t\tCollections.sort(tmpTop);\n\t\t\t\tCollections.reverse(tmpTop);\n\n\t\t\t\tfor (int i = 0; i< 3; i++) {\n\t\t\t\t\ttop3[i] = tmpTop.get(i);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i< 3; i++) {\n\t\t\tSystem.out.println(top3[i]);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\n\t\tInteger top3[] = new Integer[3];\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\ttop3[i] = 0;\n\t\t}\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int x = 1; x <= 10; x++) {\n\t\t\tInteger h = Integer.parseInt(in.readLine());\n\t\t\tif (h >= 0 && h <= 10000) {\n\t\t\t\tArrayList<Integer> tmpTop = new ArrayList<Integer>(4);\n\t\t\t\tfor (int i = 0; i< 3; i++) {\n\t\t\t\t\ttmpTop.add(top3[i]);\n\t\t\t\t}\n\t\t\t\ttmpTop.add(h);\n\n\t\t\t\tCollections.sort(tmpTop);\n\t\t\t\tCollections.reverse(tmpTop);\n\n\t\t\t\tfor (int i = 0; i< 3; i++) {\n\t\t\t\t\ttop3[i] = tmpTop.get(i);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i< 3; i++) {\n\t\t\tSystem.out.println(top3[i]);\n\t\t}\n\t}",
"main",
"{\n\n\t\tInteger top3[] = new Integer[3];\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\ttop3[i] = 0;\n\t\t}\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int x = 1; x <= 10; x++) {\n\t\t\tInteger h = Integer.parseInt(in.readLine());\n\t\t\tif (h >= 0 && h <= 10000) {\n\t\t\t\tArrayList<Integer> tmpTop = new ArrayList<Integer>(4);\n\t\t\t\tfor (int i = 0; i< 3; i++) {\n\t\t\t\t\ttmpTop.add(top3[i]);\n\t\t\t\t}\n\t\t\t\ttmpTop.add(h);\n\n\t\t\t\tCollections.sort(tmpTop);\n\t\t\t\tCollections.reverse(tmpTop);\n\n\t\t\t\tfor (int i = 0; i< 3; i++) {\n\t\t\t\t\ttop3[i] = tmpTop.get(i);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i< 3; i++) {\n\t\t\tSystem.out.println(top3[i]);\n\t\t}\n\t}",
"Integer top3[] = new Integer[3];",
"top3",
"new Integer[3]",
"3",
"for (int i = 0; i < 3; i++) {\n\t\t\ttop3[i] = 0;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\ttop3[i] = 0;\n\t\t}",
"{\n\t\t\ttop3[i] = 0;\n\t\t}",
"top3[i] = 0",
"top3[i]",
"top3",
"i",
"0",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"for (int x = 1; x <= 10; x++) {\n\t\t\tInteger h = Integer.parseInt(in.readLine());\n\t\t\tif (h >= 0 && h <= 10000) {\n\t\t\t\tArrayList<Integer> tmpTop = new ArrayList<Integer>(4);\n\t\t\t\tfor (int i = 0; i< 3; i++) {\n\t\t\t\t\ttmpTop.add(top3[i]);\n\t\t\t\t}\n\t\t\t\ttmpTop.add(h);\n\n\t\t\t\tCollections.sort(tmpTop);\n\t\t\t\tCollections.reverse(tmpTop);\n\n\t\t\t\tfor (int i = 0; i< 3; i++) {\n\t\t\t\t\ttop3[i] = tmpTop.get(i);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int x = 1;",
"int x = 1;",
"x",
"1",
"x <= 10",
"x",
"10",
"x++",
"x++",
"x",
"{\n\t\t\tInteger h = Integer.parseInt(in.readLine());\n\t\t\tif (h >= 0 && h <= 10000) {\n\t\t\t\tArrayList<Integer> tmpTop = new ArrayList<Integer>(4);\n\t\t\t\tfor (int i = 0; i< 3; i++) {\n\t\t\t\t\ttmpTop.add(top3[i]);\n\t\t\t\t}\n\t\t\t\ttmpTop.add(h);\n\n\t\t\t\tCollections.sort(tmpTop);\n\t\t\t\tCollections.reverse(tmpTop);\n\n\t\t\t\tfor (int i = 0; i< 3; i++) {\n\t\t\t\t\ttop3[i] = tmpTop.get(i);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tInteger h = Integer.parseInt(in.readLine());\n\t\t\tif (h >= 0 && h <= 10000) {\n\t\t\t\tArrayList<Integer> tmpTop = new ArrayList<Integer>(4);\n\t\t\t\tfor (int i = 0; i< 3; i++) {\n\t\t\t\t\ttmpTop.add(top3[i]);\n\t\t\t\t}\n\t\t\t\ttmpTop.add(h);\n\n\t\t\t\tCollections.sort(tmpTop);\n\t\t\t\tCollections.reverse(tmpTop);\n\n\t\t\t\tfor (int i = 0; i< 3; i++) {\n\t\t\t\t\ttop3[i] = tmpTop.get(i);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"Integer h = Integer.parseInt(in.readLine());",
"h",
"Integer.parseInt(in.readLine())",
"Integer.parseInt",
"Integer",
"in.readLine()",
"in.readLine",
"in",
"if (h >= 0 && h <= 10000) {\n\t\t\t\tArrayList<Integer> tmpTop = new ArrayList<Integer>(4);\n\t\t\t\tfor (int i = 0; i< 3; i++) {\n\t\t\t\t\ttmpTop.add(top3[i]);\n\t\t\t\t}\n\t\t\t\ttmpTop.add(h);\n\n\t\t\t\tCollections.sort(tmpTop);\n\t\t\t\tCollections.reverse(tmpTop);\n\n\t\t\t\tfor (int i = 0; i< 3; i++) {\n\t\t\t\t\ttop3[i] = tmpTop.get(i);\n\t\t\t\t}\n\t\t\t}",
"h >= 0 && h <= 10000",
"h >= 0",
"h",
"0",
"h <= 10000",
"h",
"10000",
"{\n\t\t\t\tArrayList<Integer> tmpTop = new ArrayList<Integer>(4);\n\t\t\t\tfor (int i = 0; i< 3; i++) {\n\t\t\t\t\ttmpTop.add(top3[i]);\n\t\t\t\t}\n\t\t\t\ttmpTop.add(h);\n\n\t\t\t\tCollections.sort(tmpTop);\n\t\t\t\tCollections.reverse(tmpTop);\n\n\t\t\t\tfor (int i = 0; i< 3; i++) {\n\t\t\t\t\ttop3[i] = tmpTop.get(i);\n\t\t\t\t}\n\t\t\t}",
"ArrayList<Integer> tmpTop = new ArrayList<Integer>(4);",
"tmpTop",
"new ArrayList<Integer>(4)",
"for (int i = 0; i< 3; i++) {\n\t\t\t\t\ttmpTop.add(top3[i]);\n\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i< 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\t\t\ttmpTop.add(top3[i]);\n\t\t\t\t}",
"{\n\t\t\t\t\ttmpTop.add(top3[i]);\n\t\t\t\t}",
"tmpTop.add(top3[i])",
"tmpTop.add",
"tmpTop",
"top3[i]",
"top3",
"i",
"tmpTop.add(h)",
"tmpTop.add",
"tmpTop",
"h",
"Collections.sort(tmpTop)",
"Collections.sort",
"Collections",
"tmpTop",
"Collections.reverse(tmpTop)",
"Collections.reverse",
"Collections",
"tmpTop",
"for (int i = 0; i< 3; i++) {\n\t\t\t\t\ttop3[i] = tmpTop.get(i);\n\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i< 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\t\t\ttop3[i] = tmpTop.get(i);\n\t\t\t\t}",
"{\n\t\t\t\t\ttop3[i] = tmpTop.get(i);\n\t\t\t\t}",
"top3[i] = tmpTop.get(i)",
"top3[i]",
"top3",
"i",
"tmpTop.get(i)",
"tmpTop.get",
"tmpTop",
"i",
"for (int i = 0; i< 3; i++) {\n\t\t\tSystem.out.println(top3[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i< 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(top3[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(top3[i]);\n\t\t}",
"System.out.println(top3[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"top3[i]",
"top3",
"i",
"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 NumberFormatException, IOException {
Integer top3[] = new Integer[3];
for (int i = 0; i < 3; i++) {
top3[i] = 0;
}
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
for (int x = 1; x <= 10; x++) {
Integer h = Integer.parseInt(in.readLine());
if (h >= 0 && h <= 10000) {
ArrayList<Integer> tmpTop = new ArrayList<Integer>(4);
for (int i = 0; i< 3; i++) {
tmpTop.add(top3[i]);
}
tmpTop.add(h);
Collections.sort(tmpTop);
Collections.reverse(tmpTop);
for (int i = 0; i< 3; i++) {
top3[i] = tmpTop.get(i);
}
}
}
for (int i = 0; i< 3; i++) {
System.out.println(top3[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
70,
11
],
[
70,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
19
],
[
19,
20
],
[
19,
21
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
14,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
14,
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
],
[
64,
66
],
[
12,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] | [
"\nimport java.util.*;\nimport java.lang.*;\nimport java.util.Scanner;\n\npublic class Main\n{\n\tpublic static void main (String[] arg)\n\t{\n\t\tint[] a=new int[10];\n\t\tScanner in = new Scanner(System.in);\n\t\tfor(int i=0 ; i<10 ;i++)\n\t\t{\n\t\t\ta[i] = in.nextInt();\n\t\t\t\n\t\t}\n\t\tArrays.sort(a);\n\t\tfor(int i=9 ; i>6 ;i--)\n\t\t{\n\t\tSystem.out.println(a[i]);\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n\tpublic static void main (String[] arg)\n\t{\n\t\tint[] a=new int[10];\n\t\tScanner in = new Scanner(System.in);\n\t\tfor(int i=0 ; i<10 ;i++)\n\t\t{\n\t\t\ta[i] = in.nextInt();\n\t\t\t\n\t\t}\n\t\tArrays.sort(a);\n\t\tfor(int i=9 ; i>6 ;i--)\n\t\t{\n\t\tSystem.out.println(a[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main (String[] arg)\n\t{\n\t\tint[] a=new int[10];\n\t\tScanner in = new Scanner(System.in);\n\t\tfor(int i=0 ; i<10 ;i++)\n\t\t{\n\t\t\ta[i] = in.nextInt();\n\t\t\t\n\t\t}\n\t\tArrays.sort(a);\n\t\tfor(int i=9 ; i>6 ;i--)\n\t\t{\n\t\tSystem.out.println(a[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tint[] a=new int[10];\n\t\tScanner in = new Scanner(System.in);\n\t\tfor(int i=0 ; i<10 ;i++)\n\t\t{\n\t\t\ta[i] = in.nextInt();\n\t\t\t\n\t\t}\n\t\tArrays.sort(a);\n\t\tfor(int i=9 ; i>6 ;i--)\n\t\t{\n\t\tSystem.out.println(a[i]);\n\t\t}\n\t}",
"int[] a=new int[10];",
"a",
"new int[10]",
"10",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"for(int i=0 ; i<10 ;i++)\n\t\t{\n\t\t\ta[i] = in.nextInt();\n\t\t\t\n\t\t}",
"int i=0 ;",
"int i=0 ;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = in.nextInt();\n\t\t\t\n\t\t}",
"{\n\t\t\ta[i] = in.nextInt();\n\t\t\t\n\t\t}",
"a[i] = in.nextInt()",
"a[i]",
"a",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"for(int i=9 ; i>6 ;i--)\n\t\t{\n\t\tSystem.out.println(a[i]);\n\t\t}",
"int i=9 ;",
"int i=9 ;",
"i",
"9",
"i>6",
"i",
"6",
"i--",
"i--",
"i",
"{\n\t\tSystem.out.println(a[i]);\n\t\t}",
"{\n\t\tSystem.out.println(a[i]);\n\t\t}",
"System.out.println(a[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"String[] arg",
"arg",
"public class Main\n{\n\tpublic static void main (String[] arg)\n\t{\n\t\tint[] a=new int[10];\n\t\tScanner in = new Scanner(System.in);\n\t\tfor(int i=0 ; i<10 ;i++)\n\t\t{\n\t\t\ta[i] = in.nextInt();\n\t\t\t\n\t\t}\n\t\tArrays.sort(a);\n\t\tfor(int i=9 ; i>6 ;i--)\n\t\t{\n\t\tSystem.out.println(a[i]);\n\t\t}\n\t}\n}",
"public class Main\n{\n\tpublic static void main (String[] arg)\n\t{\n\t\tint[] a=new int[10];\n\t\tScanner in = new Scanner(System.in);\n\t\tfor(int i=0 ; i<10 ;i++)\n\t\t{\n\t\t\ta[i] = in.nextInt();\n\t\t\t\n\t\t}\n\t\tArrays.sort(a);\n\t\tfor(int i=9 ; i>6 ;i--)\n\t\t{\n\t\tSystem.out.println(a[i]);\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.*;
import java.lang.*;
import java.util.Scanner;
public class Main
{
public static void main (String[] arg)
{
int[] a=new int[10];
Scanner in = new Scanner(System.in);
for(int i=0 ; i<10 ;i++)
{
a[i] = in.nextInt();
}
Arrays.sort(a);
for(int i=9 ; i>6 ;i--)
{
System.out.println(a[i]);
}
}
} |
[
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,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
0,
18,
13,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
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
],
[
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
],
[
20,
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
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
40,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
20,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
20,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
58,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
18,
79
],
[
79,
80
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.lang.System;\nimport java.lang.reflect.Array;\nimport java.util.Arrays;\n\nclass Main {\n public static void main(String[] a) throws Exception {\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\n int[] mountains = new int[10];\n for(int i = 0; i < 10; i++) {\n int tmp = Integer.parseInt(r.readLine());\n mountains[i] = tmp;\n }\n\n Arrays.sort(mountains);\n for(int i = 9; i > 6; i--) {\n System.out.println(mountains[i]);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.lang.System;",
"System",
"java.lang",
"import java.lang.reflect.Array;",
"Array",
"java.lang.reflect",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main {\n public static void main(String[] a) throws Exception {\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\n int[] mountains = new int[10];\n for(int i = 0; i < 10; i++) {\n int tmp = Integer.parseInt(r.readLine());\n mountains[i] = tmp;\n }\n\n Arrays.sort(mountains);\n for(int i = 9; i > 6; i--) {\n System.out.println(mountains[i]);\n }\n }\n}",
"Main",
"public static void main(String[] a) throws Exception {\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\n int[] mountains = new int[10];\n for(int i = 0; i < 10; i++) {\n int tmp = Integer.parseInt(r.readLine());\n mountains[i] = tmp;\n }\n\n Arrays.sort(mountains);\n for(int i = 9; i > 6; i--) {\n System.out.println(mountains[i]);\n }\n }",
"main",
"{\n BufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\n int[] mountains = new int[10];\n for(int i = 0; i < 10; i++) {\n int tmp = Integer.parseInt(r.readLine());\n mountains[i] = tmp;\n }\n\n Arrays.sort(mountains);\n for(int i = 9; i > 6; i--) {\n System.out.println(mountains[i]);\n }\n }",
"BufferedReader r = new BufferedReader(new InputStreamReader(System.in));",
"r",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] mountains = new int[10];",
"mountains",
"new int[10]",
"10",
"for(int i = 0; i < 10; i++) {\n int tmp = Integer.parseInt(r.readLine());\n mountains[i] = tmp;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n int tmp = Integer.parseInt(r.readLine());\n mountains[i] = tmp;\n }",
"{\n int tmp = Integer.parseInt(r.readLine());\n mountains[i] = tmp;\n }",
"int tmp = Integer.parseInt(r.readLine());",
"tmp",
"Integer.parseInt(r.readLine())",
"Integer.parseInt",
"Integer",
"r.readLine()",
"r.readLine",
"r",
"mountains[i] = tmp",
"mountains[i]",
"mountains",
"i",
"tmp",
"Arrays.sort(mountains)",
"Arrays.sort",
"Arrays",
"mountains",
"for(int i = 9; i > 6; i--) {\n System.out.println(mountains[i]);\n }",
"int i = 9;",
"int i = 9;",
"i",
"9",
"i > 6",
"i",
"6",
"i--",
"i--",
"i",
"{\n System.out.println(mountains[i]);\n }",
"{\n System.out.println(mountains[i]);\n }",
"System.out.println(mountains[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"mountains[i]",
"mountains",
"i",
"String[] a",
"a"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.System;
import java.lang.reflect.Array;
import java.util.Arrays;
class Main {
public static void main(String[] a) throws Exception {
BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
int[] mountains = new int[10];
for(int i = 0; i < 10; i++) {
int tmp = Integer.parseInt(r.readLine());
mountains[i] = tmp;
}
Arrays.sort(mountains);
for(int i = 9; i > 6; i--) {
System.out.println(mountains[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
38,
5,
13,
30,
4,
18,
13,
5,
13,
30,
4,
18,
13,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
2,
2,
18,
13,
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
],
[
98,
14
],
[
98,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
40,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
62,
63
],
[
17,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
17,
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
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
86,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
89,
94
],
[
15,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint height[] = new int[10];\n\t\tfor(int i=0;i<height.length;i++){\n\t\t\ttry {\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\tArrays.sort(height);\n\t\t\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[height.length-i-1]);\n\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.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint height[] = new int[10];\n\t\tfor(int i=0;i<height.length;i++){\n\t\t\ttry {\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\tArrays.sort(height);\n\t\t\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[height.length-i-1]);\n\t\t}\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint height[] = new int[10];\n\t\tfor(int i=0;i<height.length;i++){\n\t\t\ttry {\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\tArrays.sort(height);\n\t\t\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[height.length-i-1]);\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint height[] = new int[10];\n\t\tfor(int i=0;i<height.length;i++){\n\t\t\ttry {\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\tArrays.sort(height);\n\t\t\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[height.length-i-1]);\n\t\t}\n\t\t\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int height[] = new int[10];",
"height",
"new int[10]",
"10",
"for(int i=0;i<height.length;i++){\n\t\t\ttry {\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<height.length",
"i",
"height.length",
"height",
"height.length",
"i++",
"i++",
"i",
"{\n\t\t\ttry {\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"{\n\t\t\ttry {\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"try {\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"catch (NumberFormatException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"NumberFormatException e",
"{\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"catch (IOException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"IOException e",
"{\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\t\t\t}",
"height[i] = Integer.parseInt(br.readLine())",
"height[i]",
"height",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(height)",
"Arrays.sort",
"Arrays",
"height",
"for(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[height.length-i-1]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(height[height.length-i-1]);\n\t\t}",
"{\n\t\t\tSystem.out.println(height[height.length-i-1]);\n\t\t}",
"System.out.println(height[height.length-i-1])",
"System.out.println",
"System.out",
"System",
"System.out",
"height[height.length-i-1]",
"height",
"height.length-i-1",
"height.length-i-1",
"height.length",
"height",
"height.length",
"i",
"1",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint height[] = new int[10];\n\t\tfor(int i=0;i<height.length;i++){\n\t\t\ttry {\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\tArrays.sort(height);\n\t\t\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[height.length-i-1]);\n\t\t}\n\t\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint height[] = new int[10];\n\t\tfor(int i=0;i<height.length;i++){\n\t\t\ttry {\n\t\t\t\theight[i] = Integer.parseInt(br.readLine());\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\tArrays.sort(height);\n\t\t\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[height.length-i-1]);\n\t\t}\n\t\t\n\t}\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int height[] = new int[10];
for(int i=0;i<height.length;i++){
try {
height[i] = Integer.parseInt(br.readLine());
} catch (NumberFormatException e) {
// TODO ????????????????????? catch ????????????
e.printStackTrace();
} catch (IOException e) {
// TODO ????????????????????? catch ????????????
e.printStackTrace();
}
}
Arrays.sort(height);
for(int i=0;i<3;i++){
System.out.println(height[height.length-i-1]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
2,
2,
18,
13,
17,
17,
18,
13,
17,
17,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
63,
5
],
[
63,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
48,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
47,
53
],
[
53,
54
],
[
53,
55
],
[
46,
56
],
[
48,
57
],
[
57,
58
],
[
57,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] | [
"import java.util.*;\n\n\npublic class Main {\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] a = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(a);\n\t\t\n\t\tSystem.out.println(a[9] +\"\\n\" + a[8] + \"\\n\" + a[7]);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] a = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(a);\n\t\t\n\t\tSystem.out.println(a[9] +\"\\n\" + a[8] + \"\\n\" + a[7]);\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] a = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(a);\n\t\t\n\t\tSystem.out.println(a[9] +\"\\n\" + a[8] + \"\\n\" + a[7]);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] a = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(a);\n\t\t\n\t\tSystem.out.println(a[9] +\"\\n\" + a[8] + \"\\n\" + a[7]);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] a = new int[10];",
"a",
"new int[10]",
"10",
"for(int i=0; i<10; i++){\n\t\t\ta[i] = sc.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"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",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"System.out.println(a[9] +\"\\n\" + a[8] + \"\\n\" + a[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[9] +\"\\n\" + a[8] + \"\\n\" + a[7]",
"\"\\n\"",
"a[8]",
"a[9] +\"\\n\" + a[8] + \"\\n\" + a[7]",
"a[9]",
"a",
"9",
"\"\\n\"",
"a[8]",
"a",
"8",
"\"\\n\"",
"a[7]",
"a",
"7",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] a = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(a);\n\t\t\n\t\tSystem.out.println(a[9] +\"\\n\" + a[8] + \"\\n\" + a[7]);\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] a = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(a);\n\t\t\n\t\tSystem.out.println(a[9] +\"\\n\" + a[8] + \"\\n\" + a[7]);\n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int[] a = new int[10];
for(int i=0; i<10; i++){
a[i] = sc.nextInt();
}
Arrays.sort(a);
System.out.println(a[9] +"\n" + a[8] + "\n" + a[7]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
17,
38,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
13,
0,
18,
13,
13,
4,
18,
13,
13,
40,
13,
41,
13,
20,
17,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
30,
14,
2,
13,
17,
30,
0,
18,
13,
2,
13,
17,
18,
13,
2,
13,
17,
0,
18,
13,
2,
13,
17,
18,
13,
13,
0,
18,
13,
13,
13,
3,
14,
2,
13,
17,
30,
0,
18,
13,
2,
13,
17,
18,
13,
13,
0,
18,
13,
13,
13,
3,
30,
0,
18,
13,
13,
13,
11,
1,
0,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
173,
8
],
[
173,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
34,
46
],
[
46,
47
],
[
11,
48
],
[
48,
49
],
[
48,
50
],
[
11,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
64,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
79,
80
],
[
70,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
83,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
98,
100
],
[
95,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
94,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
109,
111
],
[
106,
112
],
[
112,
113
],
[
112,
114
],
[
94,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
94,
120
],
[
90,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
129,
131
],
[
126,
132
],
[
132,
133
],
[
132,
134
],
[
125,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
125,
140
],
[
121,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
142,
146
],
[
11,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
147,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
154,
156
],
[
147,
157
],
[
157,
158
],
[
158,
159
],
[
147,
160
],
[
161,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
162,
167
],
[
167,
168
],
[
167,
169
],
[
9,
170
],
[
170,
171
],
[
0,
172
],
[
172,
173
],
[
172,
174
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint[] arg =new int[10];\n int i=0;\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null) {\n String tokens = line;\n arg[i] = Integer.parseInt(tokens);\n i++;\n }\n }\n\n\n\n\t\tint[] store=new int[3];\n\t\tfor(i=0;i<10;i++){\n\t\t\tint s=arg[i];\n\t\t\tfor(int j=0;j<3;j++){\n\t\t\t\tif(s>store[j]){\n\t\t\t\t\tif(j==0){\n\t\t\t\t\t\tstore[j+2]=store[j+1];\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else if(j==1){\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(i=0;i<store.length;i++){\n\t\t\tSystem.out.println(store[i]);\n\t\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint[] arg =new int[10];\n int i=0;\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null) {\n String tokens = line;\n arg[i] = Integer.parseInt(tokens);\n i++;\n }\n }\n\n\n\n\t\tint[] store=new int[3];\n\t\tfor(i=0;i<10;i++){\n\t\t\tint s=arg[i];\n\t\t\tfor(int j=0;j<3;j++){\n\t\t\t\tif(s>store[j]){\n\t\t\t\t\tif(j==0){\n\t\t\t\t\t\tstore[j+2]=store[j+1];\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else if(j==1){\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(i=0;i<store.length;i++){\n\t\t\tSystem.out.println(store[i]);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint[] arg =new int[10];\n int i=0;\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null) {\n String tokens = line;\n arg[i] = Integer.parseInt(tokens);\n i++;\n }\n }\n\n\n\n\t\tint[] store=new int[3];\n\t\tfor(i=0;i<10;i++){\n\t\t\tint s=arg[i];\n\t\t\tfor(int j=0;j<3;j++){\n\t\t\t\tif(s>store[j]){\n\t\t\t\t\tif(j==0){\n\t\t\t\t\t\tstore[j+2]=store[j+1];\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else if(j==1){\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(i=0;i<store.length;i++){\n\t\t\tSystem.out.println(store[i]);\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint[] arg =new int[10];\n int i=0;\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null) {\n String tokens = line;\n arg[i] = Integer.parseInt(tokens);\n i++;\n }\n }\n\n\n\n\t\tint[] store=new int[3];\n\t\tfor(i=0;i<10;i++){\n\t\t\tint s=arg[i];\n\t\t\tfor(int j=0;j<3;j++){\n\t\t\t\tif(s>store[j]){\n\t\t\t\t\tif(j==0){\n\t\t\t\t\t\tstore[j+2]=store[j+1];\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else if(j==1){\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(i=0;i<store.length;i++){\n\t\t\tSystem.out.println(store[i]);\n\t\t}\n\t}",
"int[] arg =new int[10];",
"arg",
"new int[10]",
"10",
"int i=0;",
"i",
"0",
"try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null) {\n String tokens = line;\n arg[i] = Integer.parseInt(tokens);\n i++;\n }\n }",
"{\n String line;\n while ((line = br.readLine()) != null) {\n String tokens = line;\n arg[i] = Integer.parseInt(tokens);\n i++;\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"while ((line = br.readLine()) != null) {\n String tokens = line;\n arg[i] = Integer.parseInt(tokens);\n i++;\n }",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n String tokens = line;\n arg[i] = Integer.parseInt(tokens);\n i++;\n }",
"String tokens = line;",
"tokens",
"line",
"arg[i] = Integer.parseInt(tokens)",
"arg[i]",
"arg",
"i",
"Integer.parseInt(tokens)",
"Integer.parseInt",
"Integer",
"tokens",
"i++",
"i",
"int[] store=new int[3];",
"store",
"new int[3]",
"3",
"for(i=0;i<10;i++){\n\t\t\tint s=arg[i];\n\t\t\tfor(int j=0;j<3;j++){\n\t\t\t\tif(s>store[j]){\n\t\t\t\t\tif(j==0){\n\t\t\t\t\t\tstore[j+2]=store[j+1];\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else if(j==1){\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"i=0;",
"i=0",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tint s=arg[i];\n\t\t\tfor(int j=0;j<3;j++){\n\t\t\t\tif(s>store[j]){\n\t\t\t\t\tif(j==0){\n\t\t\t\t\t\tstore[j+2]=store[j+1];\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else if(j==1){\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tint s=arg[i];\n\t\t\tfor(int j=0;j<3;j++){\n\t\t\t\tif(s>store[j]){\n\t\t\t\t\tif(j==0){\n\t\t\t\t\t\tstore[j+2]=store[j+1];\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else if(j==1){\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int s=arg[i];",
"s",
"arg[i]",
"arg",
"i",
"for(int j=0;j<3;j++){\n\t\t\t\tif(s>store[j]){\n\t\t\t\t\tif(j==0){\n\t\t\t\t\t\tstore[j+2]=store[j+1];\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else if(j==1){\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<3",
"j",
"3",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(s>store[j]){\n\t\t\t\t\tif(j==0){\n\t\t\t\t\t\tstore[j+2]=store[j+1];\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else if(j==1){\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(s>store[j]){\n\t\t\t\t\tif(j==0){\n\t\t\t\t\t\tstore[j+2]=store[j+1];\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else if(j==1){\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"if(s>store[j]){\n\t\t\t\t\tif(j==0){\n\t\t\t\t\t\tstore[j+2]=store[j+1];\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else if(j==1){\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t}\n\t\t\t\t}",
"s>store[j]",
"s",
"store[j]",
"store",
"j",
"{\n\t\t\t\t\tif(j==0){\n\t\t\t\t\t\tstore[j+2]=store[j+1];\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else if(j==1){\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t}\n\t\t\t\t}",
"if(j==0){\n\t\t\t\t\t\tstore[j+2]=store[j+1];\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else if(j==1){\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t}",
"j==0",
"j",
"0",
"{\n\t\t\t\t\t\tstore[j+2]=store[j+1];\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"store[j+2]=store[j+1]",
"store[j+2]",
"store",
"j+2",
"j",
"2",
"store[j+1]",
"store",
"j+1",
"j",
"1",
"store[j+1]=store[j]",
"store[j+1]",
"store",
"j+1",
"j",
"1",
"store[j]",
"store",
"j",
"store[j]=s",
"store[j]",
"store",
"j",
"s",
"break;",
"if(j==1){\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t}",
"j==1",
"j",
"1",
"{\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"store[j+1]=store[j]",
"store[j+1]",
"store",
"j+1",
"j",
"1",
"store[j]",
"store",
"j",
"store[j]=s",
"store[j]",
"store",
"j",
"s",
"break;",
"{\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t}",
"store[j]=s",
"store[j]",
"store",
"j",
"s",
"for(i=0;i<store.length;i++){\n\t\t\tSystem.out.println(store[i]);\n\t\t}",
"i=0;",
"i=0",
"i",
"0",
"i<store.length",
"i",
"store.length",
"store",
"store.length",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(store[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(store[i]);\n\t\t}",
"System.out.println(store[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"store[i]",
"store",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint[] arg =new int[10];\n int i=0;\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null) {\n String tokens = line;\n arg[i] = Integer.parseInt(tokens);\n i++;\n }\n }\n\n\n\n\t\tint[] store=new int[3];\n\t\tfor(i=0;i<10;i++){\n\t\t\tint s=arg[i];\n\t\t\tfor(int j=0;j<3;j++){\n\t\t\t\tif(s>store[j]){\n\t\t\t\t\tif(j==0){\n\t\t\t\t\t\tstore[j+2]=store[j+1];\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else if(j==1){\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(i=0;i<store.length;i++){\n\t\t\tSystem.out.println(store[i]);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint[] arg =new int[10];\n int i=0;\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n while ((line = br.readLine()) != null) {\n String tokens = line;\n arg[i] = Integer.parseInt(tokens);\n i++;\n }\n }\n\n\n\n\t\tint[] store=new int[3];\n\t\tfor(i=0;i<10;i++){\n\t\t\tint s=arg[i];\n\t\t\tfor(int j=0;j<3;j++){\n\t\t\t\tif(s>store[j]){\n\t\t\t\t\tif(j==0){\n\t\t\t\t\t\tstore[j+2]=store[j+1];\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else if(j==1){\n\t\t\t\t\t\tstore[j+1]=store[j];\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tstore[j]=s;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(i=0;i<store.length;i++){\n\t\t\tSystem.out.println(store[i]);\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
// TODO ?????????????????????????????????????????????
int[] arg =new int[10];
int i=0;
try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
String line;
while ((line = br.readLine()) != null) {
String tokens = line;
arg[i] = Integer.parseInt(tokens);
i++;
}
}
int[] store=new int[3];
for(i=0;i<10;i++){
int s=arg[i];
for(int j=0;j<3;j++){
if(s>store[j]){
if(j==0){
store[j+2]=store[j+1];
store[j+1]=store[j];
store[j]=s;
break;
}else if(j==1){
store[j+1]=store[j];
store[j]=s;
break;
}else{
store[j]=s;
}
}
}
}
for(i=0;i<store.length;i++){
System.out.println(store[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
38,
5,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
2,
17,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
13,
17,
0,
18,
13,
2,
13,
17,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
38,
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
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
57,
67
],
[
67,
68
],
[
68,
69
],
[
57,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
72,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
82,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
82,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
97,
103
],
[
8,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
109,
110
],
[
109,
111
],
[
104,
112
],
[
112,
113
],
[
113,
114
],
[
104,
115
],
[
116,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
122,
123
],
[
122,
124
],
[
6,
125
],
[
125,
126
]
] | [
"import java.io.*;\n\nclass Main{\n\tpublic static void main(String args[]){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tint num[] = new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\ttry{\n\t\t\t\tnum[i] = Integer.parseInt(reader.readLine());\n\t\t\t}\n\t\t\tcatch(IOException e){\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<10;i++){\n\t\t\tfor(int k=0;k<10-1;k++){\n\t\t\t\tif(num[k]<num[k+1]){\n\t\t\t\t\tint tmp = num[k];\n\t\t\t\t\tnum[k] = num[k+1];\n\t\t\t\t\tnum[k+1] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(num[i]);\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String args[]){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tint num[] = new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\ttry{\n\t\t\t\tnum[i] = Integer.parseInt(reader.readLine());\n\t\t\t}\n\t\t\tcatch(IOException e){\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<10;i++){\n\t\t\tfor(int k=0;k<10-1;k++){\n\t\t\t\tif(num[k]<num[k+1]){\n\t\t\t\t\tint tmp = num[k];\n\t\t\t\t\tnum[k] = num[k+1];\n\t\t\t\t\tnum[k+1] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(num[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tint num[] = new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\ttry{\n\t\t\t\tnum[i] = Integer.parseInt(reader.readLine());\n\t\t\t}\n\t\t\tcatch(IOException e){\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<10;i++){\n\t\t\tfor(int k=0;k<10-1;k++){\n\t\t\t\tif(num[k]<num[k+1]){\n\t\t\t\t\tint tmp = num[k];\n\t\t\t\t\tnum[k] = num[k+1];\n\t\t\t\t\tnum[k+1] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(num[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tint num[] = new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\ttry{\n\t\t\t\tnum[i] = Integer.parseInt(reader.readLine());\n\t\t\t}\n\t\t\tcatch(IOException e){\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<10;i++){\n\t\t\tfor(int k=0;k<10-1;k++){\n\t\t\t\tif(num[k]<num[k+1]){\n\t\t\t\t\tint tmp = num[k];\n\t\t\t\t\tnum[k] = num[k+1];\n\t\t\t\t\tnum[k+1] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(num[i]);\n\t\t}\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"int num[] = new int[10];",
"num",
"new int[10]",
"10",
"for(int i=0;i<10;i++){\n\t\t\ttry{\n\t\t\t\tnum[i] = Integer.parseInt(reader.readLine());\n\t\t\t}\n\t\t\tcatch(IOException e){\n\t\t\t\t\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\ttry{\n\t\t\t\tnum[i] = Integer.parseInt(reader.readLine());\n\t\t\t}\n\t\t\tcatch(IOException e){\n\t\t\t\t\n\t\t\t}\n\t\t}",
"{\n\t\t\ttry{\n\t\t\t\tnum[i] = Integer.parseInt(reader.readLine());\n\t\t\t}\n\t\t\tcatch(IOException e){\n\t\t\t\t\n\t\t\t}\n\t\t}",
"try{\n\t\t\t\tnum[i] = Integer.parseInt(reader.readLine());\n\t\t\t}\n\t\t\tcatch(IOException e){\n\t\t\t\t\n\t\t\t}",
"catch(IOException e){\n\t\t\t\t\n\t\t\t}",
"IOException e",
"{\n\t\t\t\t\n\t\t\t}",
"{\n\t\t\t\tnum[i] = Integer.parseInt(reader.readLine());\n\t\t\t}",
"num[i] = Integer.parseInt(reader.readLine())",
"num[i]",
"num",
"i",
"Integer.parseInt(reader.readLine())",
"Integer.parseInt",
"Integer",
"reader.readLine()",
"reader.readLine",
"reader",
"for(int i=0;i<10;i++){\n\t\t\tfor(int k=0;k<10-1;k++){\n\t\t\t\tif(num[k]<num[k+1]){\n\t\t\t\t\tint tmp = num[k];\n\t\t\t\t\tnum[k] = num[k+1];\n\t\t\t\t\tnum[k+1] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int k=0;k<10-1;k++){\n\t\t\t\tif(num[k]<num[k+1]){\n\t\t\t\t\tint tmp = num[k];\n\t\t\t\t\tnum[k] = num[k+1];\n\t\t\t\t\tnum[k+1] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int k=0;k<10-1;k++){\n\t\t\t\tif(num[k]<num[k+1]){\n\t\t\t\t\tint tmp = num[k];\n\t\t\t\t\tnum[k] = num[k+1];\n\t\t\t\t\tnum[k+1] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int k=0;k<10-1;k++){\n\t\t\t\tif(num[k]<num[k+1]){\n\t\t\t\t\tint tmp = num[k];\n\t\t\t\t\tnum[k] = num[k+1];\n\t\t\t\t\tnum[k+1] = tmp;\n\t\t\t\t}\n\t\t\t}",
"int k=0;",
"int k=0;",
"k",
"0",
"k<10-1",
"k",
"10-1",
"10",
"1",
"k++",
"k++",
"k",
"{\n\t\t\t\tif(num[k]<num[k+1]){\n\t\t\t\t\tint tmp = num[k];\n\t\t\t\t\tnum[k] = num[k+1];\n\t\t\t\t\tnum[k+1] = tmp;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(num[k]<num[k+1]){\n\t\t\t\t\tint tmp = num[k];\n\t\t\t\t\tnum[k] = num[k+1];\n\t\t\t\t\tnum[k+1] = tmp;\n\t\t\t\t}\n\t\t\t}",
"if(num[k]<num[k+1]){\n\t\t\t\t\tint tmp = num[k];\n\t\t\t\t\tnum[k] = num[k+1];\n\t\t\t\t\tnum[k+1] = tmp;\n\t\t\t\t}",
"num[k]<num[k+1]",
"num[k]",
"num",
"k",
"num[k+1]",
"num",
"k+1",
"k",
"1",
"{\n\t\t\t\t\tint tmp = num[k];\n\t\t\t\t\tnum[k] = num[k+1];\n\t\t\t\t\tnum[k+1] = tmp;\n\t\t\t\t}",
"int tmp = num[k];",
"tmp",
"num[k]",
"num",
"k",
"num[k] = num[k+1]",
"num[k]",
"num",
"k",
"num[k+1]",
"num",
"k+1",
"k",
"1",
"num[k+1] = tmp",
"num[k+1]",
"num",
"k+1",
"k",
"1",
"tmp",
"for(int i=0;i<3;i++){\n\t\t\tSystem.out.println(num[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(num[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(num[i]);\n\t\t}",
"System.out.println(num[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"num[i]",
"num",
"i",
"String args[]",
"args"
] | import java.io.*;
class Main{
public static void main(String args[]){
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int num[] = new int[10];
for(int i=0;i<10;i++){
try{
num[i] = Integer.parseInt(reader.readLine());
}
catch(IOException e){
}
}
for(int i=0;i<10;i++){
for(int k=0;k<10-1;k++){
if(num[k]<num[k+1]){
int tmp = num[k];
num[k] = num[k+1];
num[k+1] = tmp;
}
}
}
for(int i=0;i<3;i++){
System.out.println(num[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
18,
13,
13,
13,
40,
13,
30,
9,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
13,
17,
0,
18,
13,
2,
13,
17,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
140,
5
],
[
140,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
23,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
40,
46
],
[
46,
47
],
[
32,
48
],
[
48,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
50,
62
],
[
62,
63
],
[
63,
64
],
[
50,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
67,
76
],
[
76,
77
],
[
76,
78
],
[
67,
79
],
[
79,
80
],
[
80,
81
],
[
67,
82
],
[
83,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
84,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
94,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
106,
108
],
[
94,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
109,
115
],
[
8,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
121,
122
],
[
121,
123
],
[
116,
124
],
[
124,
125
],
[
125,
126
],
[
116,
127
],
[
128,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
134,
135
],
[
134,
136
],
[
6,
137
],
[
137,
138
],
[
0,
139
],
[
139,
140
],
[
139,
141
]
] | [
"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[] hills = new int[10];\n\t\t\n\t\tint cnt = 0;\n\t\twhile(cnt < 10) {\n\t\t\tint hill = Integer.parseInt(scan.next());\n\t\t\tif(hill >= 0 && hill <= 10000) {\n\t\t\t\thills[cnt] = hill;\n\t\t\t\tcnt++;\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < hills.length - 1; i++) {\n\t\t\tfor(int j = hills.length - 1; j > i; j--) {\n\t\t\t\tif(hills[j] > hills[j - 1]) {\n\t\t\t\t\tint tmp = hills[j];\n\t\t\t\t\thills[j] = hills[j - 1];\n\t\t\t\t\thills[j - 1] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(hills[i]);\n\t\t}\n\t\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] hills = new int[10];\n\t\t\n\t\tint cnt = 0;\n\t\twhile(cnt < 10) {\n\t\t\tint hill = Integer.parseInt(scan.next());\n\t\t\tif(hill >= 0 && hill <= 10000) {\n\t\t\t\thills[cnt] = hill;\n\t\t\t\tcnt++;\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < hills.length - 1; i++) {\n\t\t\tfor(int j = hills.length - 1; j > i; j--) {\n\t\t\t\tif(hills[j] > hills[j - 1]) {\n\t\t\t\t\tint tmp = hills[j];\n\t\t\t\t\thills[j] = hills[j - 1];\n\t\t\t\t\thills[j - 1] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(hills[i]);\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\tint[] hills = new int[10];\n\t\t\n\t\tint cnt = 0;\n\t\twhile(cnt < 10) {\n\t\t\tint hill = Integer.parseInt(scan.next());\n\t\t\tif(hill >= 0 && hill <= 10000) {\n\t\t\t\thills[cnt] = hill;\n\t\t\t\tcnt++;\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < hills.length - 1; i++) {\n\t\t\tfor(int j = hills.length - 1; j > i; j--) {\n\t\t\t\tif(hills[j] > hills[j - 1]) {\n\t\t\t\t\tint tmp = hills[j];\n\t\t\t\t\thills[j] = hills[j - 1];\n\t\t\t\t\thills[j - 1] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(hills[i]);\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] hills = new int[10];\n\t\t\n\t\tint cnt = 0;\n\t\twhile(cnt < 10) {\n\t\t\tint hill = Integer.parseInt(scan.next());\n\t\t\tif(hill >= 0 && hill <= 10000) {\n\t\t\t\thills[cnt] = hill;\n\t\t\t\tcnt++;\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < hills.length - 1; i++) {\n\t\t\tfor(int j = hills.length - 1; j > i; j--) {\n\t\t\t\tif(hills[j] > hills[j - 1]) {\n\t\t\t\t\tint tmp = hills[j];\n\t\t\t\t\thills[j] = hills[j - 1];\n\t\t\t\t\thills[j - 1] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(hills[i]);\n\t\t}\n\t\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] hills = new int[10];",
"hills",
"new int[10]",
"10",
"int cnt = 0;",
"cnt",
"0",
"while(cnt < 10) {\n\t\t\tint hill = Integer.parseInt(scan.next());\n\t\t\tif(hill >= 0 && hill <= 10000) {\n\t\t\t\thills[cnt] = hill;\n\t\t\t\tcnt++;\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}",
"cnt < 10",
"cnt",
"10",
"{\n\t\t\tint hill = Integer.parseInt(scan.next());\n\t\t\tif(hill >= 0 && hill <= 10000) {\n\t\t\t\thills[cnt] = hill;\n\t\t\t\tcnt++;\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}",
"int hill = Integer.parseInt(scan.next());",
"hill",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"if(hill >= 0 && hill <= 10000) {\n\t\t\t\thills[cnt] = hill;\n\t\t\t\tcnt++;\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t}",
"hill >= 0 && hill <= 10000",
"hill >= 0",
"hill",
"0",
"hill <= 10000",
"hill",
"10000",
"{\n\t\t\t\thills[cnt] = hill;\n\t\t\t\tcnt++;\n\t\t\t}",
"hills[cnt] = hill",
"hills[cnt]",
"hills",
"cnt",
"hill",
"cnt++",
"cnt",
"{\n\t\t\t\tcontinue;\n\t\t\t}",
"continue;",
"for(int i = 0; i < hills.length - 1; i++) {\n\t\t\tfor(int j = hills.length - 1; j > i; j--) {\n\t\t\t\tif(hills[j] > hills[j - 1]) {\n\t\t\t\t\tint tmp = hills[j];\n\t\t\t\t\thills[j] = hills[j - 1];\n\t\t\t\t\thills[j - 1] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < hills.length - 1",
"i",
"hills.length - 1",
"hills.length",
"hills",
"hills.length",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = hills.length - 1; j > i; j--) {\n\t\t\t\tif(hills[j] > hills[j - 1]) {\n\t\t\t\t\tint tmp = hills[j];\n\t\t\t\t\thills[j] = hills[j - 1];\n\t\t\t\t\thills[j - 1] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int j = hills.length - 1; j > i; j--) {\n\t\t\t\tif(hills[j] > hills[j - 1]) {\n\t\t\t\t\tint tmp = hills[j];\n\t\t\t\t\thills[j] = hills[j - 1];\n\t\t\t\t\thills[j - 1] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int j = hills.length - 1; j > i; j--) {\n\t\t\t\tif(hills[j] > hills[j - 1]) {\n\t\t\t\t\tint tmp = hills[j];\n\t\t\t\t\thills[j] = hills[j - 1];\n\t\t\t\t\thills[j - 1] = tmp;\n\t\t\t\t}\n\t\t\t}",
"int j = hills.length - 1;",
"int j = hills.length - 1;",
"j",
"hills.length - 1",
"hills.length",
"hills",
"hills.length",
"1",
"j > i",
"j",
"i",
"j--",
"j--",
"j",
"{\n\t\t\t\tif(hills[j] > hills[j - 1]) {\n\t\t\t\t\tint tmp = hills[j];\n\t\t\t\t\thills[j] = hills[j - 1];\n\t\t\t\t\thills[j - 1] = tmp;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(hills[j] > hills[j - 1]) {\n\t\t\t\t\tint tmp = hills[j];\n\t\t\t\t\thills[j] = hills[j - 1];\n\t\t\t\t\thills[j - 1] = tmp;\n\t\t\t\t}\n\t\t\t}",
"if(hills[j] > hills[j - 1]) {\n\t\t\t\t\tint tmp = hills[j];\n\t\t\t\t\thills[j] = hills[j - 1];\n\t\t\t\t\thills[j - 1] = tmp;\n\t\t\t\t}",
"hills[j] > hills[j - 1]",
"hills[j]",
"hills",
"j",
"hills[j - 1]",
"hills",
"j - 1",
"j",
"1",
"{\n\t\t\t\t\tint tmp = hills[j];\n\t\t\t\t\thills[j] = hills[j - 1];\n\t\t\t\t\thills[j - 1] = tmp;\n\t\t\t\t}",
"int tmp = hills[j];",
"tmp",
"hills[j]",
"hills",
"j",
"hills[j] = hills[j - 1]",
"hills[j]",
"hills",
"j",
"hills[j - 1]",
"hills",
"j - 1",
"j",
"1",
"hills[j - 1] = tmp",
"hills[j - 1]",
"hills",
"j - 1",
"j",
"1",
"tmp",
"for(int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(hills[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(hills[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(hills[i]);\n\t\t}",
"System.out.println(hills[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"hills[i]",
"hills",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] hills = new int[10];\n\t\t\n\t\tint cnt = 0;\n\t\twhile(cnt < 10) {\n\t\t\tint hill = Integer.parseInt(scan.next());\n\t\t\tif(hill >= 0 && hill <= 10000) {\n\t\t\t\thills[cnt] = hill;\n\t\t\t\tcnt++;\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < hills.length - 1; i++) {\n\t\t\tfor(int j = hills.length - 1; j > i; j--) {\n\t\t\t\tif(hills[j] > hills[j - 1]) {\n\t\t\t\t\tint tmp = hills[j];\n\t\t\t\t\thills[j] = hills[j - 1];\n\t\t\t\t\thills[j - 1] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(hills[i]);\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\tint[] hills = new int[10];\n\t\t\n\t\tint cnt = 0;\n\t\twhile(cnt < 10) {\n\t\t\tint hill = Integer.parseInt(scan.next());\n\t\t\tif(hill >= 0 && hill <= 10000) {\n\t\t\t\thills[cnt] = hill;\n\t\t\t\tcnt++;\n\t\t\t} else {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < hills.length - 1; i++) {\n\t\t\tfor(int j = hills.length - 1; j > i; j--) {\n\t\t\t\tif(hills[j] > hills[j - 1]) {\n\t\t\t\t\tint tmp = hills[j];\n\t\t\t\t\thills[j] = hills[j - 1];\n\t\t\t\t\thills[j - 1] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(hills[i]);\n\t\t}\n\t\t\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int[] hills = new int[10];
int cnt = 0;
while(cnt < 10) {
int hill = Integer.parseInt(scan.next());
if(hill >= 0 && hill <= 10000) {
hills[cnt] = hill;
cnt++;
} else {
continue;
}
}
for(int i = 0; i < hills.length - 1; i++) {
for(int j = hills.length - 1; j > i; j--) {
if(hills[j] > hills[j - 1]) {
int tmp = hills[j];
hills[j] = hills[j - 1];
hills[j - 1] = tmp;
}
}
}
for(int i = 0; i < 3; i++) {
System.out.println(hills[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
13,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
2,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
129,
11
],
[
129,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
22,
24
],
[
14,
25
],
[
25,
26
],
[
25,
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
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
14,
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
],
[
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
],
[
80,
84
],
[
84,
85
],
[
84,
86
],
[
79,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
87,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
97,
98
],
[
97,
99
],
[
87,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
14,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
110,
111
],
[
110,
112
],
[
105,
113
],
[
113,
114
],
[
114,
115
],
[
105,
116
],
[
117,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
118,
123
],
[
123,
124
],
[
123,
125
],
[
12,
126
],
[
126,
127
],
[
0,
128
],
[
128,
129
],
[
128,
130
]
] | [
"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\tfinal int DATAMAX = 10;\n\t\tint a[] = new int[DATAMAX];\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tfor (int i = 0; i < DATAMAX; i++) {\n\t\t\ta[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tfor (int i = 0; i < DATAMAX; i++) {\n\t\t\tfor (int j = i+1; j < DATAMAX; j++) {\n\t\t\t\tif (a[i] < a[j]) {\n\t\t\t\t\tint tmp = a[i];\n\t\t\t\t\ta[i] = a[j];\n\t\t\t\t\ta[j] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tfinal int DATAMAX = 10;\n\t\tint a[] = new int[DATAMAX];\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tfor (int i = 0; i < DATAMAX; i++) {\n\t\t\ta[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tfor (int i = 0; i < DATAMAX; i++) {\n\t\t\tfor (int j = i+1; j < DATAMAX; j++) {\n\t\t\t\tif (a[i] < a[j]) {\n\t\t\t\t\tint tmp = a[i];\n\t\t\t\t\ta[i] = a[j];\n\t\t\t\t\ta[j] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tfinal int DATAMAX = 10;\n\t\tint a[] = new int[DATAMAX];\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tfor (int i = 0; i < DATAMAX; i++) {\n\t\t\ta[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tfor (int i = 0; i < DATAMAX; i++) {\n\t\t\tfor (int j = i+1; j < DATAMAX; j++) {\n\t\t\t\tif (a[i] < a[j]) {\n\t\t\t\t\tint tmp = a[i];\n\t\t\t\t\ta[i] = a[j];\n\t\t\t\t\ta[j] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tfinal int DATAMAX = 10;\n\t\tint a[] = new int[DATAMAX];\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tfor (int i = 0; i < DATAMAX; i++) {\n\t\t\ta[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tfor (int i = 0; i < DATAMAX; i++) {\n\t\t\tfor (int j = i+1; j < DATAMAX; j++) {\n\t\t\t\tif (a[i] < a[j]) {\n\t\t\t\t\tint tmp = a[i];\n\t\t\t\t\ta[i] = a[j];\n\t\t\t\t\ta[j] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}",
"final int DATAMAX = 10;",
"DATAMAX",
"10",
"int a[] = new int[DATAMAX];",
"a",
"new int[DATAMAX]",
"DATAMAX",
"InputStreamReader is = new InputStreamReader(System.in);",
"is",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(is);",
"br",
"new BufferedReader(is)",
"for (int i = 0; i < DATAMAX; i++) {\n\t\t\ta[i] = Integer.parseInt(br.readLine());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < DATAMAX",
"i",
"DATAMAX",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = Integer.parseInt(br.readLine());\n\t\t}",
"{\n\t\t\ta[i] = Integer.parseInt(br.readLine());\n\t\t}",
"a[i] = Integer.parseInt(br.readLine())",
"a[i]",
"a",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"for (int i = 0; i < DATAMAX; i++) {\n\t\t\tfor (int j = i+1; j < DATAMAX; j++) {\n\t\t\t\tif (a[i] < a[j]) {\n\t\t\t\t\tint tmp = a[i];\n\t\t\t\t\ta[i] = a[j];\n\t\t\t\t\ta[j] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < DATAMAX",
"i",
"DATAMAX",
"i++",
"i++",
"i",
"{\n\t\t\tfor (int j = i+1; j < DATAMAX; j++) {\n\t\t\t\tif (a[i] < a[j]) {\n\t\t\t\t\tint tmp = a[i];\n\t\t\t\t\ta[i] = a[j];\n\t\t\t\t\ta[j] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor (int j = i+1; j < DATAMAX; j++) {\n\t\t\t\tif (a[i] < a[j]) {\n\t\t\t\t\tint tmp = a[i];\n\t\t\t\t\ta[i] = a[j];\n\t\t\t\t\ta[j] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for (int j = i+1; j < DATAMAX; j++) {\n\t\t\t\tif (a[i] < a[j]) {\n\t\t\t\t\tint tmp = a[i];\n\t\t\t\t\ta[i] = a[j];\n\t\t\t\t\ta[j] = tmp;\n\t\t\t\t}\n\t\t\t}",
"int j = i+1;",
"int j = i+1;",
"j",
"i+1",
"i",
"1",
"j < DATAMAX",
"j",
"DATAMAX",
"j++",
"j++",
"j",
"{\n\t\t\t\tif (a[i] < a[j]) {\n\t\t\t\t\tint tmp = a[i];\n\t\t\t\t\ta[i] = a[j];\n\t\t\t\t\ta[j] = tmp;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif (a[i] < a[j]) {\n\t\t\t\t\tint tmp = a[i];\n\t\t\t\t\ta[i] = a[j];\n\t\t\t\t\ta[j] = tmp;\n\t\t\t\t}\n\t\t\t}",
"if (a[i] < a[j]) {\n\t\t\t\t\tint tmp = a[i];\n\t\t\t\t\ta[i] = a[j];\n\t\t\t\t\ta[j] = tmp;\n\t\t\t\t}",
"a[i] < a[j]",
"a[i]",
"a",
"i",
"a[j]",
"a",
"j",
"{\n\t\t\t\t\tint tmp = a[i];\n\t\t\t\t\ta[i] = a[j];\n\t\t\t\t\ta[j] = tmp;\n\t\t\t\t}",
"int tmp = a[i];",
"tmp",
"a[i]",
"a",
"i",
"a[i] = a[j]",
"a[i]",
"a",
"i",
"a[j]",
"a",
"j",
"a[j] = tmp",
"a[j]",
"a",
"j",
"tmp",
"for (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(a[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(a[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(a[i]);\n\t\t}",
"System.out.println(a[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tfinal int DATAMAX = 10;\n\t\tint a[] = new int[DATAMAX];\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tfor (int i = 0; i < DATAMAX; i++) {\n\t\t\ta[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tfor (int i = 0; i < DATAMAX; i++) {\n\t\t\tfor (int j = i+1; j < DATAMAX; j++) {\n\t\t\t\tif (a[i] < a[j]) {\n\t\t\t\t\tint tmp = a[i];\n\t\t\t\t\ta[i] = a[j];\n\t\t\t\t\ta[j] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tfinal int DATAMAX = 10;\n\t\tint a[] = new int[DATAMAX];\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tfor (int i = 0; i < DATAMAX; i++) {\n\t\t\ta[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tfor (int i = 0; i < DATAMAX; i++) {\n\t\t\tfor (int j = i+1; j < DATAMAX; j++) {\n\t\t\t\tif (a[i] < a[j]) {\n\t\t\t\t\tint tmp = a[i];\n\t\t\t\t\ta[i] = a[j];\n\t\t\t\t\ta[j] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException{
final int DATAMAX = 10;
int a[] = new int[DATAMAX];
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(is);
for (int i = 0; i < DATAMAX; i++) {
a[i] = Integer.parseInt(br.readLine());
}
for (int i = 0; i < DATAMAX; i++) {
for (int j = i+1; j < DATAMAX; j++) {
if (a[i] < a[j]) {
int tmp = a[i];
a[i] = a[j];
a[j] = tmp;
}
}
}
for (int i = 0; i < 3; i++) {
System.out.println(a[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
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,
16
],
[
16,
17
],
[
16,
18
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
45,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
9,
65
],
[
65,
66
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main{\n public static void main(String[] a){\n Integer[] values = new Integer[10];\n Scanner scan = new Scanner(System.in);\n \n for(int i=0; i<10; i++)\n values[i] = scan.nextInt();\n \n Arrays.sort(values, Collections.reverseOrder());\n\n for(int i=0; i<3; i++)\n System.out.println(values[i]);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] a){\n Integer[] values = new Integer[10];\n Scanner scan = new Scanner(System.in);\n \n for(int i=0; i<10; i++)\n values[i] = scan.nextInt();\n \n Arrays.sort(values, Collections.reverseOrder());\n\n for(int i=0; i<3; i++)\n System.out.println(values[i]);\n }\n}",
"Main",
"public static void main(String[] a){\n Integer[] values = new Integer[10];\n Scanner scan = new Scanner(System.in);\n \n for(int i=0; i<10; i++)\n values[i] = scan.nextInt();\n \n Arrays.sort(values, Collections.reverseOrder());\n\n for(int i=0; i<3; i++)\n System.out.println(values[i]);\n }",
"main",
"{\n Integer[] values = new Integer[10];\n Scanner scan = new Scanner(System.in);\n \n for(int i=0; i<10; i++)\n values[i] = scan.nextInt();\n \n Arrays.sort(values, Collections.reverseOrder());\n\n for(int i=0; i<3; i++)\n System.out.println(values[i]);\n }",
"Integer[] values = new Integer[10];",
"values",
"new Integer[10]",
"10",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(int i=0; i<10; i++)\n values[i] = scan.nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"values[i] = scan.nextInt();",
"values[i] = scan.nextInt()",
"values[i]",
"values",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"Arrays.sort(values, Collections.reverseOrder())",
"Arrays.sort",
"Arrays",
"values",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"for(int i=0; i<3; i++)\n System.out.println(values[i]);",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"System.out.println(values[i]);",
"System.out.println(values[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"values[i]",
"values",
"i",
"String[] a",
"a"
] | import java.io.*;
import java.util.*;
class Main{
public static void main(String[] a){
Integer[] values = new Integer[10];
Scanner scan = new Scanner(System.in);
for(int i=0; i<10; i++)
values[i] = scan.nextInt();
Arrays.sort(values, Collections.reverseOrder());
for(int i=0; i<3; i++)
System.out.println(values[i]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
0,
18,
13,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
2,
2,
18,
13,
17,
17,
18,
13,
17,
17,
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
],
[
83,
20
],
[
83,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
31
],
[
31,
32
],
[
23,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
33,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
23,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
23,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
68,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
67,
73
],
[
73,
74
],
[
73,
75
],
[
66,
76
],
[
68,
77
],
[
77,
78
],
[
77,
79
],
[
21,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.io.PrintStream;\nimport java.util.*;\nimport java.util.Scanner ; \nimport java.math.BigInteger;\nimport java.util.Arrays;\nimport java.text.DecimalFormat;\n\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int [] a = new int[10];\n int n;\n \n for(int i = 0 ; i<10 ; i++){\n n = sc.nextInt();\n a[i]=n;\n }\n Arrays.sort(a);\n System.out.println(a[9]+\"\\n\"+a[8]+\"\\n\"+a[7]);\n }\n}",
"import java.io.PrintStream;",
"PrintStream",
"java.io",
"import java.util.*;",
"util.*",
"java",
"import java.util.Scanner ;",
"Scanner",
"java.util",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.text.DecimalFormat;",
"DecimalFormat",
"java.text",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int [] a = new int[10];\n int n;\n \n for(int i = 0 ; i<10 ; i++){\n n = sc.nextInt();\n a[i]=n;\n }\n Arrays.sort(a);\n System.out.println(a[9]+\"\\n\"+a[8]+\"\\n\"+a[7]);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int [] a = new int[10];\n int n;\n \n for(int i = 0 ; i<10 ; i++){\n n = sc.nextInt();\n a[i]=n;\n }\n Arrays.sort(a);\n System.out.println(a[9]+\"\\n\"+a[8]+\"\\n\"+a[7]);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int [] a = new int[10];\n int n;\n \n for(int i = 0 ; i<10 ; i++){\n n = sc.nextInt();\n a[i]=n;\n }\n Arrays.sort(a);\n System.out.println(a[9]+\"\\n\"+a[8]+\"\\n\"+a[7]);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int [] a = new int[10];",
"a",
"new int[10]",
"10",
"int n;",
"n",
"for(int i = 0 ; i<10 ; i++){\n n = sc.nextInt();\n a[i]=n;\n }",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n n = sc.nextInt();\n a[i]=n;\n }",
"{\n n = sc.nextInt();\n a[i]=n;\n }",
"n = sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"a[i]=n",
"a[i]",
"a",
"i",
"n",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"System.out.println(a[9]+\"\\n\"+a[8]+\"\\n\"+a[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[9]+\"\\n\"+a[8]+\"\\n\"+a[7]",
"\"\\n\"",
"a[8]",
"a[9]+\"\\n\"+a[8]+\"\\n\"+a[7]",
"a[9]",
"a",
"9",
"\"\\n\"",
"a[8]",
"a",
"8",
"\"\\n\"",
"a[7]",
"a",
"7",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int [] a = new int[10];\n int n;\n \n for(int i = 0 ; i<10 ; i++){\n n = sc.nextInt();\n a[i]=n;\n }\n Arrays.sort(a);\n System.out.println(a[9]+\"\\n\"+a[8]+\"\\n\"+a[7]);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int [] a = new int[10];\n int n;\n \n for(int i = 0 ; i<10 ; i++){\n n = sc.nextInt();\n a[i]=n;\n }\n Arrays.sort(a);\n System.out.println(a[9]+\"\\n\"+a[8]+\"\\n\"+a[7]);\n }\n}",
"Main"
] | import java.io.PrintStream;
import java.util.*;
import java.util.Scanner ;
import java.math.BigInteger;
import java.util.Arrays;
import java.text.DecimalFormat;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int [] a = new int[10];
int n;
for(int i = 0 ; i<10 ; i++){
n = sc.nextInt();
a[i]=n;
}
Arrays.sort(a);
System.out.println(a[9]+"\n"+a[8]+"\n"+a[7]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
11,
1,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
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
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
22,
29
],
[
29,
30
],
[
30,
31
],
[
22,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
47,
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
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
9,
72
],
[
72,
73
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main{\n public static void main(String[] a)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] b = new int[10];\n int i = 0;\n for(; i<b.length; i++){\n String s = br.readLine();\n b[i] = Integer.parseInt(s);\n }\n Arrays.sort(b);\n for(int d=9; d>6; d--){\n System.out.println(b[d]);\n }\n \n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] a)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] b = new int[10];\n int i = 0;\n for(; i<b.length; i++){\n String s = br.readLine();\n b[i] = Integer.parseInt(s);\n }\n Arrays.sort(b);\n for(int d=9; d>6; d--){\n System.out.println(b[d]);\n }\n \n }\n}",
"Main",
"public static void main(String[] a)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] b = new int[10];\n int i = 0;\n for(; i<b.length; i++){\n String s = br.readLine();\n b[i] = Integer.parseInt(s);\n }\n Arrays.sort(b);\n for(int d=9; d>6; d--){\n System.out.println(b[d]);\n }\n \n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] b = new int[10];\n int i = 0;\n for(; i<b.length; i++){\n String s = br.readLine();\n b[i] = Integer.parseInt(s);\n }\n Arrays.sort(b);\n for(int d=9; d>6; d--){\n System.out.println(b[d]);\n }\n \n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] b = new int[10];",
"b",
"new int[10]",
"10",
"int i = 0;",
"i",
"0",
"for(; i<b.length; i++){\n String s = br.readLine();\n b[i] = Integer.parseInt(s);\n }",
";",
"i<b.length",
"i",
"b.length",
"b",
"b.length",
"i++",
"i++",
"i",
"{\n String s = br.readLine();\n b[i] = Integer.parseInt(s);\n }",
"{\n String s = br.readLine();\n b[i] = Integer.parseInt(s);\n }",
"String s = br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"b[i] = Integer.parseInt(s)",
"b[i]",
"b",
"i",
"Integer.parseInt(s)",
"Integer.parseInt",
"Integer",
"s",
"Arrays.sort(b)",
"Arrays.sort",
"Arrays",
"b",
"for(int d=9; d>6; d--){\n System.out.println(b[d]);\n }",
"int d=9;",
"int d=9;",
"d",
"9",
"d>6",
"d",
"6",
"d--",
"d--",
"d",
"{\n System.out.println(b[d]);\n }",
"{\n System.out.println(b[d]);\n }",
"System.out.println(b[d])",
"System.out.println",
"System.out",
"System",
"System.out",
"b[d]",
"b",
"d",
"String[] a",
"a"
] | import java.io.*;
import java.util.*;
class Main{
public static void main(String[] a)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int[] b = new int[10];
int i = 0;
for(; i<b.length; i++){
String s = br.readLine();
b[i] = Integer.parseInt(s);
}
Arrays.sort(b);
for(int d=9; d>6; d--){
System.out.println(b[d]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
0,
13,
40,
17,
0,
13,
40,
17,
0,
13,
40,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
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
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
8,
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
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
54,
61
],
[
61,
62
],
[
61,
63
],
[
50,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
64,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
8,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
8,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
6,
101
],
[
101,
102
]
] | [
"import java.util.Scanner;\nclass Main{\n public static void main(String[] a){\n\t\tScanner in = new Scanner(System.in);\n\t\tint top, second, third, input;\n\t\ttop = -1;\n\t\tsecond = -2;\n\t\tthird = -3;\n\t\tfor(int i=0; i<10; i++){\n\t\t\tinput = in.nextInt();\n\t\t\tif(input>top){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = top;\n\t\t\t\ttop = input;\n\t\t\t}else if(input>second){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = input;\n\t\t\t}else if(input>third){\n\t\t\t\tthird = input;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(top);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] a){\n\t\tScanner in = new Scanner(System.in);\n\t\tint top, second, third, input;\n\t\ttop = -1;\n\t\tsecond = -2;\n\t\tthird = -3;\n\t\tfor(int i=0; i<10; i++){\n\t\t\tinput = in.nextInt();\n\t\t\tif(input>top){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = top;\n\t\t\t\ttop = input;\n\t\t\t}else if(input>second){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = input;\n\t\t\t}else if(input>third){\n\t\t\t\tthird = input;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(top);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n }\n}",
"Main",
"public static void main(String[] a){\n\t\tScanner in = new Scanner(System.in);\n\t\tint top, second, third, input;\n\t\ttop = -1;\n\t\tsecond = -2;\n\t\tthird = -3;\n\t\tfor(int i=0; i<10; i++){\n\t\t\tinput = in.nextInt();\n\t\t\tif(input>top){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = top;\n\t\t\t\ttop = input;\n\t\t\t}else if(input>second){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = input;\n\t\t\t}else if(input>third){\n\t\t\t\tthird = input;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(top);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n }",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tint top, second, third, input;\n\t\ttop = -1;\n\t\tsecond = -2;\n\t\tthird = -3;\n\t\tfor(int i=0; i<10; i++){\n\t\t\tinput = in.nextInt();\n\t\t\tif(input>top){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = top;\n\t\t\t\ttop = input;\n\t\t\t}else if(input>second){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = input;\n\t\t\t}else if(input>third){\n\t\t\t\tthird = input;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(top);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int top",
"top",
"second",
"second",
"third",
"third",
"input;",
"input",
"top = -1",
"top",
"-1",
"1",
"second = -2",
"second",
"-2",
"2",
"third = -3",
"third",
"-3",
"3",
"for(int i=0; i<10; i++){\n\t\t\tinput = in.nextInt();\n\t\t\tif(input>top){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = top;\n\t\t\t\ttop = input;\n\t\t\t}else if(input>second){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = input;\n\t\t\t}else if(input>third){\n\t\t\t\tthird = input;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tinput = in.nextInt();\n\t\t\tif(input>top){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = top;\n\t\t\t\ttop = input;\n\t\t\t}else if(input>second){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = input;\n\t\t\t}else if(input>third){\n\t\t\t\tthird = input;\n\t\t\t}\n\t\t}",
"{\n\t\t\tinput = in.nextInt();\n\t\t\tif(input>top){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = top;\n\t\t\t\ttop = input;\n\t\t\t}else if(input>second){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = input;\n\t\t\t}else if(input>third){\n\t\t\t\tthird = input;\n\t\t\t}\n\t\t}",
"input = in.nextInt()",
"input",
"in.nextInt()",
"in.nextInt",
"in",
"if(input>top){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = top;\n\t\t\t\ttop = input;\n\t\t\t}else if(input>second){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = input;\n\t\t\t}else if(input>third){\n\t\t\t\tthird = input;\n\t\t\t}",
"input>top",
"input",
"top",
"{\n\t\t\t\tthird = second;\n\t\t\t\tsecond = top;\n\t\t\t\ttop = input;\n\t\t\t}",
"third = second",
"third",
"second",
"second = top",
"second",
"top",
"top = input",
"top",
"input",
"if(input>second){\n\t\t\t\tthird = second;\n\t\t\t\tsecond = input;\n\t\t\t}else if(input>third){\n\t\t\t\tthird = input;\n\t\t\t}",
"input>second",
"input",
"second",
"{\n\t\t\t\tthird = second;\n\t\t\t\tsecond = input;\n\t\t\t}",
"third = second",
"third",
"second",
"second = input",
"second",
"input",
"if(input>third){\n\t\t\t\tthird = input;\n\t\t\t}",
"input>third",
"input",
"third",
"{\n\t\t\t\tthird = input;\n\t\t\t}",
"third = input",
"third",
"input",
"System.out.println(top)",
"System.out.println",
"System.out",
"System",
"System.out",
"top",
"System.out.println(second)",
"System.out.println",
"System.out",
"System",
"System.out",
"second",
"System.out.println(third)",
"System.out.println",
"System.out",
"System",
"System.out",
"third",
"String[] a",
"a"
] | import java.util.Scanner;
class Main{
public static void main(String[] a){
Scanner in = new Scanner(System.in);
int top, second, third, input;
top = -1;
second = -2;
third = -3;
for(int i=0; i<10; i++){
input = in.nextInt();
if(input>top){
third = second;
second = top;
top = input;
}else if(input>second){
third = second;
second = input;
}else if(input>third){
third = input;
}
}
System.out.println(top);
System.out.println(second);
System.out.println(third);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
39,
17,
17,
17,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
4,
18,
13,
14,
2,
18,
13,
17,
13,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
13,
14,
2,
18,
13,
17,
13,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
13,
14,
2,
18,
13,
17,
13,
30,
0,
18,
13,
17,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
128,
11
],
[
128,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
20,
22
],
[
20,
23
],
[
14,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
45,
46
],
[
38,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
47,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
53,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
47,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
73,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
84,
86
],
[
79,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
73,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
92,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
14,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
109,
110
],
[
109,
111
],
[
104,
112
],
[
112,
113
],
[
113,
114
],
[
104,
115
],
[
116,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
122,
123
],
[
122,
124
],
[
12,
125
],
[
125,
126
],
[
0,
127
],
[
127,
128
],
[
127,
129
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in),1);\n\t\tint[] rank3 = {0,0,0};\n\t\tint mountain;\n\t\tfor(int i=0; i<10; i++){\n\t\t\tmountain = Integer.parseInt(r.readLine());\n\t\t\tif(rank3[0] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = rank3[0];\n\t\t\t\trank3[0] = mountain;\n\t\t\t}else if(rank3[1] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = mountain;\n\t\t\t}else if(rank3[2] < mountain){\n\t\t\t\trank3[2] = mountain;\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(rank3[i]);\n\t\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in),1);\n\t\tint[] rank3 = {0,0,0};\n\t\tint mountain;\n\t\tfor(int i=0; i<10; i++){\n\t\t\tmountain = Integer.parseInt(r.readLine());\n\t\t\tif(rank3[0] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = rank3[0];\n\t\t\t\trank3[0] = mountain;\n\t\t\t}else if(rank3[1] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = mountain;\n\t\t\t}else if(rank3[2] < mountain){\n\t\t\t\trank3[2] = mountain;\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(rank3[i]);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in),1);\n\t\tint[] rank3 = {0,0,0};\n\t\tint mountain;\n\t\tfor(int i=0; i<10; i++){\n\t\t\tmountain = Integer.parseInt(r.readLine());\n\t\t\tif(rank3[0] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = rank3[0];\n\t\t\t\trank3[0] = mountain;\n\t\t\t}else if(rank3[1] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = mountain;\n\t\t\t}else if(rank3[2] < mountain){\n\t\t\t\trank3[2] = mountain;\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(rank3[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in),1);\n\t\tint[] rank3 = {0,0,0};\n\t\tint mountain;\n\t\tfor(int i=0; i<10; i++){\n\t\t\tmountain = Integer.parseInt(r.readLine());\n\t\t\tif(rank3[0] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = rank3[0];\n\t\t\t\trank3[0] = mountain;\n\t\t\t}else if(rank3[1] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = mountain;\n\t\t\t}else if(rank3[2] < mountain){\n\t\t\t\trank3[2] = mountain;\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(rank3[i]);\n\t\t}\n\t}",
"BufferedReader r = new BufferedReader(new InputStreamReader(System.in),1);",
"r",
"new BufferedReader(new InputStreamReader(System.in),1)",
"int[] rank3 = {0,0,0};",
"rank3",
"{0,0,0}",
"0",
"0",
"0",
"int mountain;",
"mountain",
"for(int i=0; i<10; i++){\n\t\t\tmountain = Integer.parseInt(r.readLine());\n\t\t\tif(rank3[0] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = rank3[0];\n\t\t\t\trank3[0] = mountain;\n\t\t\t}else if(rank3[1] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = mountain;\n\t\t\t}else if(rank3[2] < mountain){\n\t\t\t\trank3[2] = mountain;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tmountain = Integer.parseInt(r.readLine());\n\t\t\tif(rank3[0] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = rank3[0];\n\t\t\t\trank3[0] = mountain;\n\t\t\t}else if(rank3[1] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = mountain;\n\t\t\t}else if(rank3[2] < mountain){\n\t\t\t\trank3[2] = mountain;\n\t\t\t}\n\t\t}",
"{\n\t\t\tmountain = Integer.parseInt(r.readLine());\n\t\t\tif(rank3[0] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = rank3[0];\n\t\t\t\trank3[0] = mountain;\n\t\t\t}else if(rank3[1] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = mountain;\n\t\t\t}else if(rank3[2] < mountain){\n\t\t\t\trank3[2] = mountain;\n\t\t\t}\n\t\t}",
"mountain = Integer.parseInt(r.readLine())",
"mountain",
"Integer.parseInt(r.readLine())",
"Integer.parseInt",
"Integer",
"r.readLine()",
"r.readLine",
"r",
"if(rank3[0] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = rank3[0];\n\t\t\t\trank3[0] = mountain;\n\t\t\t}else if(rank3[1] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = mountain;\n\t\t\t}else if(rank3[2] < mountain){\n\t\t\t\trank3[2] = mountain;\n\t\t\t}",
"rank3[0] < mountain",
"rank3[0]",
"rank3",
"0",
"mountain",
"{\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = rank3[0];\n\t\t\t\trank3[0] = mountain;\n\t\t\t}",
"rank3[2] = rank3[1]",
"rank3[2]",
"rank3",
"2",
"rank3[1]",
"rank3",
"1",
"rank3[1] = rank3[0]",
"rank3[1]",
"rank3",
"1",
"rank3[0]",
"rank3",
"0",
"rank3[0] = mountain",
"rank3[0]",
"rank3",
"0",
"mountain",
"if(rank3[1] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = mountain;\n\t\t\t}else if(rank3[2] < mountain){\n\t\t\t\trank3[2] = mountain;\n\t\t\t}",
"rank3[1] < mountain",
"rank3[1]",
"rank3",
"1",
"mountain",
"{\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = mountain;\n\t\t\t}",
"rank3[2] = rank3[1]",
"rank3[2]",
"rank3",
"2",
"rank3[1]",
"rank3",
"1",
"rank3[1] = mountain",
"rank3[1]",
"rank3",
"1",
"mountain",
"if(rank3[2] < mountain){\n\t\t\t\trank3[2] = mountain;\n\t\t\t}",
"rank3[2] < mountain",
"rank3[2]",
"rank3",
"2",
"mountain",
"{\n\t\t\t\trank3[2] = mountain;\n\t\t\t}",
"rank3[2] = mountain",
"rank3[2]",
"rank3",
"2",
"mountain",
"for(int i=0; i<3; i++){\n\t\t\tSystem.out.println(rank3[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(rank3[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(rank3[i]);\n\t\t}",
"System.out.println(rank3[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"rank3[i]",
"rank3",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in),1);\n\t\tint[] rank3 = {0,0,0};\n\t\tint mountain;\n\t\tfor(int i=0; i<10; i++){\n\t\t\tmountain = Integer.parseInt(r.readLine());\n\t\t\tif(rank3[0] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = rank3[0];\n\t\t\t\trank3[0] = mountain;\n\t\t\t}else if(rank3[1] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = mountain;\n\t\t\t}else if(rank3[2] < mountain){\n\t\t\t\trank3[2] = mountain;\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(rank3[i]);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in),1);\n\t\tint[] rank3 = {0,0,0};\n\t\tint mountain;\n\t\tfor(int i=0; i<10; i++){\n\t\t\tmountain = Integer.parseInt(r.readLine());\n\t\t\tif(rank3[0] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = rank3[0];\n\t\t\t\trank3[0] = mountain;\n\t\t\t}else if(rank3[1] < mountain){\n\t\t\t\trank3[2] = rank3[1];\n\t\t\t\trank3[1] = mountain;\n\t\t\t}else if(rank3[2] < mountain){\n\t\t\t\trank3[2] = mountain;\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(rank3[i]);\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader r = new BufferedReader(new InputStreamReader(System.in),1);
int[] rank3 = {0,0,0};
int mountain;
for(int i=0; i<10; i++){
mountain = Integer.parseInt(r.readLine());
if(rank3[0] < mountain){
rank3[2] = rank3[1];
rank3[1] = rank3[0];
rank3[0] = mountain;
}else if(rank3[1] < mountain){
rank3[2] = rank3[1];
rank3[1] = mountain;
}else if(rank3[2] < mountain){
rank3[2] = mountain;
}
}
for(int i=0; i<3; i++){
System.out.println(rank3[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
4,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
41,
13,
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
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
140,
26
],
[
140,
27
],
[
27,
28
],
[
140,
29
],
[
29,
30
],
[
140,
31
],
[
31,
32
],
[
140,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
140,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
41,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
48,
55
],
[
55,
56
],
[
55,
57
],
[
48,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
59,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
48,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
48,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
90,
91
],
[
91,
92
],
[
82,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
100,
101
],
[
100,
102
],
[
140,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
110,
111
],
[
140,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
115,
124
],
[
124,
125
],
[
124,
126
],
[
114,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
140,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
131,
137
],
[
137,
138
],
[
0,
139
],
[
139,
140
],
[
139,
141
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w;\n\t\n\tMain() {\n\t\treadData();\n\t\t\n\n\n\t}\n\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tint[] h = new int[10];\n\t\t\tfor (int i=0;i<10;i++) {\n\t\t\t\th[i] = nextInt();\n\t\t\t}\n\n\t\t\tArrays.sort(h);\n\t\t\t\n\t\t\tfor (int i=9;i>6;i--) {\n\t\t\t\tSystem.out.println(h[i]);\n\t\t\t}\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\tprivate String next() throws IOException {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\treturn st.nextToken();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w;\n\t\n\tMain() {\n\t\treadData();\n\t\t\n\n\n\t}\n\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tint[] h = new int[10];\n\t\t\tfor (int i=0;i<10;i++) {\n\t\t\t\th[i] = nextInt();\n\t\t\t}\n\n\t\t\tArrays.sort(h);\n\t\t\t\n\t\t\tfor (int i=9;i>6;i--) {\n\t\t\t\tSystem.out.println(h[i]);\n\t\t\t}\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\tprivate String next() throws IOException {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\treturn st.nextToken();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}\n\n}",
"Main",
"private StringTokenizer st;",
"st",
"private BufferedReader bf;",
"bf",
"private int w;",
"w",
"Main() {\n\t\treadData();\n\t\t\n\n\n\t}",
"Main",
"{\n\t\treadData();\n\t\t\n\n\n\t}",
"readData()",
"readData",
"private void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tint[] h = new int[10];\n\t\t\tfor (int i=0;i<10;i++) {\n\t\t\t\th[i] = nextInt();\n\t\t\t}\n\n\t\t\tArrays.sort(h);\n\t\t\t\n\t\t\tfor (int i=9;i>6;i--) {\n\t\t\t\tSystem.out.println(h[i]);\n\t\t\t}\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"readData",
"{\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tint[] h = new int[10];\n\t\t\tfor (int i=0;i<10;i++) {\n\t\t\t\th[i] = nextInt();\n\t\t\t}\n\n\t\t\tArrays.sort(h);\n\t\t\t\n\t\t\tfor (int i=9;i>6;i--) {\n\t\t\t\tSystem.out.println(h[i]);\n\t\t\t}\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"try {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tint[] h = new int[10];\n\t\t\tfor (int i=0;i<10;i++) {\n\t\t\t\th[i] = nextInt();\n\t\t\t}\n\n\t\t\tArrays.sort(h);\n\t\t\t\n\t\t\tfor (int i=9;i>6;i--) {\n\t\t\t\tSystem.out.println(h[i]);\n\t\t\t}\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tint[] h = new int[10];\n\t\t\tfor (int i=0;i<10;i++) {\n\t\t\t\th[i] = nextInt();\n\t\t\t}\n\n\t\t\tArrays.sort(h);\n\t\t\t\n\t\t\tfor (int i=9;i>6;i--) {\n\t\t\t\tSystem.out.println(h[i]);\n\t\t\t}\n\n\t\t\t\n\t\t}",
"bf = new BufferedReader(new InputStreamReader(System.in))",
"bf",
"new BufferedReader(new InputStreamReader(System.in))",
"st = new StringTokenizer(bf.readLine())",
"st",
"new StringTokenizer(bf.readLine())",
"int[] h = new int[10];",
"h",
"new int[10]",
"10",
"for (int i=0;i<10;i++) {\n\t\t\t\th[i] = nextInt();\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\t\th[i] = nextInt();\n\t\t\t}",
"{\n\t\t\t\th[i] = nextInt();\n\t\t\t}",
"h[i] = nextInt()",
"h[i]",
"h",
"i",
"nextInt()",
"nextInt",
"Arrays.sort(h)",
"Arrays.sort",
"Arrays",
"h",
"for (int i=9;i>6;i--) {\n\t\t\t\tSystem.out.println(h[i]);\n\t\t\t}",
"int i=9;",
"int i=9;",
"i",
"9",
"i>6",
"i",
"6",
"i--",
"i--",
"i",
"{\n\t\t\t\tSystem.out.println(h[i]);\n\t\t\t}",
"{\n\t\t\t\tSystem.out.println(h[i]);\n\t\t\t}",
"System.out.println(h[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"h[i]",
"h",
"i",
"private int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}",
"nextInt",
"{\n\t\treturn Integer.parseInt(next());\n\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"private String next() throws IOException {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\treturn st.nextToken();\n\t}",
"next",
"{\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\treturn st.nextToken();\n\t}",
"if (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(bf.readLine())",
"st",
"new StringTokenizer(bf.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}",
"Main m = new Main();",
"m",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w;\n\t\n\tMain() {\n\t\treadData();\n\t\t\n\n\n\t}\n\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tint[] h = new int[10];\n\t\t\tfor (int i=0;i<10;i++) {\n\t\t\t\th[i] = nextInt();\n\t\t\t}\n\n\t\t\tArrays.sort(h);\n\t\t\t\n\t\t\tfor (int i=9;i>6;i--) {\n\t\t\t\tSystem.out.println(h[i]);\n\t\t\t}\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\tprivate String next() throws IOException {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\treturn st.nextToken();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}\n\n}",
"public class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w;\n\t\n\tMain() {\n\t\treadData();\n\t\t\n\n\n\t}\n\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tint[] h = new int[10];\n\t\t\tfor (int i=0;i<10;i++) {\n\t\t\t\th[i] = nextInt();\n\t\t\t}\n\n\t\t\tArrays.sort(h);\n\t\t\t\n\t\t\tfor (int i=9;i>6;i--) {\n\t\t\t\tSystem.out.println(h[i]);\n\t\t\t}\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\tprivate String next() throws IOException {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\treturn st.nextToken();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.StringTokenizer;
public class Main {
private StringTokenizer st;
private BufferedReader bf;
private int w;
Main() {
readData();
}
private void readData() {
try {
bf = new BufferedReader(new InputStreamReader(System.in));
st = new StringTokenizer(bf.readLine());
int[] h = new int[10];
for (int i=0;i<10;i++) {
h[i] = nextInt();
}
Arrays.sort(h);
for (int i=9;i>6;i--) {
System.out.println(h[i]);
}
} catch (Exception e) {
e.printStackTrace();
}
}
private int nextInt() throws IOException {
return Integer.parseInt(next());
}
private String next() throws IOException {
if (st == null || !st.hasMoreTokens())
st = new StringTokenizer(bf.readLine());
return st.nextToken();
}
public static void main(String[] args) {
// TODO Auto-generated method stub
Main m = new Main();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
2,
2,
13,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
99,
5
],
[
99,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
6,
17
],
[
17,
18
],
[
99,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
25,
26
],
[
25,
27
],
[
21,
28
],
[
28,
29
],
[
28,
30
],
[
21,
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
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
53,
60
],
[
60,
61
],
[
60,
62
],
[
49,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
63,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
21,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
90,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
88,
94
],
[
90,
95
],
[
19,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n int a = 0, b = 0, c = 0;\n for (int i = 0; i < 10; i++) {\n int h = in.nextInt();\n if (a < h) {\n c = b;\n b = a;\n a = h;\n } else if (b < h) {\n c = b;\n b = h;\n } else if (c < h) {\n c = h;\n }\n }\n System.out.println(a + \"\\n\" + b + \"\\n\" + c);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n int a = 0, b = 0, c = 0;\n for (int i = 0; i < 10; i++) {\n int h = in.nextInt();\n if (a < h) {\n c = b;\n b = a;\n a = h;\n } else if (b < h) {\n c = b;\n b = h;\n } else if (c < h) {\n c = h;\n }\n }\n System.out.println(a + \"\\n\" + b + \"\\n\" + c);\n }\n}",
"Main",
"public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }",
"main",
"{\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }",
"try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }",
"{\n solve(in);\n }",
"Scanner in = new Scanner(System.in)",
"Scanner in = new Scanner(System.in)",
"new Scanner(System.in)",
"solve(in)",
"solve",
"in",
"String[] args",
"args",
"private static void solve(Scanner in) {\n int a = 0, b = 0, c = 0;\n for (int i = 0; i < 10; i++) {\n int h = in.nextInt();\n if (a < h) {\n c = b;\n b = a;\n a = h;\n } else if (b < h) {\n c = b;\n b = h;\n } else if (c < h) {\n c = h;\n }\n }\n System.out.println(a + \"\\n\" + b + \"\\n\" + c);\n }",
"solve",
"{\n int a = 0, b = 0, c = 0;\n for (int i = 0; i < 10; i++) {\n int h = in.nextInt();\n if (a < h) {\n c = b;\n b = a;\n a = h;\n } else if (b < h) {\n c = b;\n b = h;\n } else if (c < h) {\n c = h;\n }\n }\n System.out.println(a + \"\\n\" + b + \"\\n\" + c);\n }",
"int a = 0",
"a",
"0",
"b = 0",
"b",
"0",
"c = 0;",
"c",
"0",
"for (int i = 0; i < 10; i++) {\n int h = in.nextInt();\n if (a < h) {\n c = b;\n b = a;\n a = h;\n } else if (b < h) {\n c = b;\n b = h;\n } else if (c < h) {\n c = h;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n int h = in.nextInt();\n if (a < h) {\n c = b;\n b = a;\n a = h;\n } else if (b < h) {\n c = b;\n b = h;\n } else if (c < h) {\n c = h;\n }\n }",
"{\n int h = in.nextInt();\n if (a < h) {\n c = b;\n b = a;\n a = h;\n } else if (b < h) {\n c = b;\n b = h;\n } else if (c < h) {\n c = h;\n }\n }",
"int h = in.nextInt();",
"h",
"in.nextInt()",
"in.nextInt",
"in",
"if (a < h) {\n c = b;\n b = a;\n a = h;\n } else if (b < h) {\n c = b;\n b = h;\n } else if (c < h) {\n c = h;\n }",
"a < h",
"a",
"h",
"{\n c = b;\n b = a;\n a = h;\n }",
"c = b",
"c",
"b",
"b = a",
"b",
"a",
"a = h",
"a",
"h",
"if (b < h) {\n c = b;\n b = h;\n } else if (c < h) {\n c = h;\n }",
"b < h",
"b",
"h",
"{\n c = b;\n b = h;\n }",
"c = b",
"c",
"b",
"b = h",
"b",
"h",
"if (c < h) {\n c = h;\n }",
"c < h",
"c",
"h",
"{\n c = h;\n }",
"c = h",
"c",
"h",
"System.out.println(a + \"\\n\" + b + \"\\n\" + c)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + \"\\n\" + b + \"\\n\" + c",
"\"\\n\"",
"b",
"a + \"\\n\" + b + \"\\n\" + c",
"a",
"\"\\n\"",
"b",
"\"\\n\"",
"c",
"Scanner in",
"in",
"public class Main {\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n int a = 0, b = 0, c = 0;\n for (int i = 0; i < 10; i++) {\n int h = in.nextInt();\n if (a < h) {\n c = b;\n b = a;\n a = h;\n } else if (b < h) {\n c = b;\n b = h;\n } else if (c < h) {\n c = h;\n }\n }\n System.out.println(a + \"\\n\" + b + \"\\n\" + c);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n int a = 0, b = 0, c = 0;\n for (int i = 0; i < 10; i++) {\n int h = in.nextInt();\n if (a < h) {\n c = b;\n b = a;\n a = h;\n } else if (b < h) {\n c = b;\n b = h;\n } else if (c < h) {\n c = h;\n }\n }\n System.out.println(a + \"\\n\" + b + \"\\n\" + c);\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner in = new Scanner(System.in)) {
solve(in);
}
}
private static void solve(Scanner in) {
int a = 0, b = 0, c = 0;
for (int i = 0; i < 10; i++) {
int h = in.nextInt();
if (a < h) {
c = b;
b = a;
a = h;
} else if (b < h) {
c = b;
b = h;
} else if (c < h) {
c = h;
}
}
System.out.println(a + "\n" + b + "\n" + c);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
4,
18,
13,
40,
17,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
40,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
73,
8
],
[
73,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
36,
40
],
[
40,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
11,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
9,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
] | [
"import java.math.*;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint[] hills = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\thills[i] = in.nextInt() * -1;\n\t\t}\n\t\tArrays.sort(hills);\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(hills[i] * -1);\n\t\t}\n\t}\n}",
"import java.math.*;",
"math.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint[] hills = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\thills[i] = in.nextInt() * -1;\n\t\t}\n\t\tArrays.sort(hills);\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(hills[i] * -1);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint[] hills = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\thills[i] = in.nextInt() * -1;\n\t\t}\n\t\tArrays.sort(hills);\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(hills[i] * -1);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tint[] hills = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\thills[i] = in.nextInt() * -1;\n\t\t}\n\t\tArrays.sort(hills);\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(hills[i] * -1);\n\t\t}\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int[] hills = new int[10];",
"hills",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++) {\n\t\t\thills[i] = in.nextInt() * -1;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\thills[i] = in.nextInt() * -1;\n\t\t}",
"{\n\t\t\thills[i] = in.nextInt() * -1;\n\t\t}",
"hills[i] = in.nextInt() * -1",
"hills[i]",
"hills",
"i",
"in.nextInt() * -1",
"in.nextInt()",
"in.nextInt",
"in",
"-1",
"1",
"Arrays.sort(hills)",
"Arrays.sort",
"Arrays",
"hills",
"for (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(hills[i] * -1);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(hills[i] * -1);\n\t\t}",
"{\n\t\t\tSystem.out.println(hills[i] * -1);\n\t\t}",
"System.out.println(hills[i] * -1)",
"System.out.println",
"System.out",
"System",
"System.out",
"hills[i] * -1",
"hills[i]",
"hills",
"i",
"-1",
"1",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint[] hills = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\thills[i] = in.nextInt() * -1;\n\t\t}\n\t\tArrays.sort(hills);\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(hills[i] * -1);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint[] hills = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\thills[i] = in.nextInt() * -1;\n\t\t}\n\t\tArrays.sort(hills);\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(hills[i] * -1);\n\t\t}\n\t}\n}",
"Main"
] | import java.math.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int[] hills = new int[10];
for (int i = 0; i < 10; i++) {
hills[i] = in.nextInt() * -1;
}
Arrays.sort(hills);
for (int i = 0; i < 3; i++) {
System.out.println(hills[i] * -1);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
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
],
[
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,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
17,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
17,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
55,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
15,
75
],
[
75,
76
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nimport java.util.Collections;\n\nclass Main {\n\tpublic static void main(String[] a) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger[] mountains = new Integer[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tmountains[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tArrays.sort(mountains, Collections.reverseOrder());\n\t\tfor (int i = 0; i < 3; i++)\n\t\t\tSystem.out.println(mountains[i]);\n\t}\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.Collections;",
"Collections",
"java.util",
"class Main {\n\tpublic static void main(String[] a) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger[] mountains = new Integer[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tmountains[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tArrays.sort(mountains, Collections.reverseOrder());\n\t\tfor (int i = 0; i < 3; i++)\n\t\t\tSystem.out.println(mountains[i]);\n\t}\n}",
"Main",
"public static void main(String[] a) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger[] mountains = new Integer[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tmountains[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tArrays.sort(mountains, Collections.reverseOrder());\n\t\tfor (int i = 0; i < 3; i++)\n\t\t\tSystem.out.println(mountains[i]);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger[] mountains = new Integer[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tmountains[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tArrays.sort(mountains, Collections.reverseOrder());\n\t\tfor (int i = 0; i < 3; i++)\n\t\t\tSystem.out.println(mountains[i]);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"Integer[] mountains = new Integer[10];",
"mountains",
"new Integer[10]",
"10",
"for (int i = 0; i < 10; i++) {\n\t\t\tmountains[i] = Integer.parseInt(br.readLine());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tmountains[i] = Integer.parseInt(br.readLine());\n\t\t}",
"{\n\t\t\tmountains[i] = Integer.parseInt(br.readLine());\n\t\t}",
"mountains[i] = Integer.parseInt(br.readLine())",
"mountains[i]",
"mountains",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(mountains, Collections.reverseOrder())",
"Arrays.sort",
"Arrays",
"mountains",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"for (int i = 0; i < 3; i++)\n\t\t\tSystem.out.println(mountains[i]);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"System.out.println(mountains[i]);",
"System.out.println(mountains[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"mountains[i]",
"mountains",
"i",
"String[] a",
"a"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Collections;
class Main {
public static void main(String[] a) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
Integer[] mountains = new Integer[10];
for (int i = 0; i < 10; i++) {
mountains[i] = Integer.parseInt(br.readLine());
}
Arrays.sort(mountains, Collections.reverseOrder());
for (int i = 0; i < 3; i++)
System.out.println(mountains[i]);
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
18,
13,
17,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
13,
14,
2,
13,
18,
13,
17,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
13,
14,
2,
13,
18,
13,
17,
30,
0,
18,
13,
17,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
112,
2
],
[
112,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
9,
11
],
[
5,
12
],
[
12,
13
],
[
5,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
14,
19
],
[
19,
20
],
[
19,
21
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
26,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
38,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
32,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
58,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
58,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
77,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
5,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
94,
95
],
[
94,
96
],
[
89,
97
],
[
97,
98
],
[
98,
99
],
[
89,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
3,
109
],
[
109,
110
],
[
0,
111
],
[
111,
112
],
[
111,
113
]
] | [
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\tint[] mini = new int[]{ -1, -2, -3 }; // -1 > -2 > -3\n\t\tint temp;\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\ttemp = sc.nextInt();\n\t\t\tif (temp > mini[0]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = mini[0];\n\t\t\t\tmini[0] = temp;\n\t\t\t} else if (temp > mini[1]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = temp;\n\t\t\t} else if (temp > mini[2]) {\n\t\t\t\tmini[2] = temp;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 3; i++)\n\t\t\tSystem.out.println(mini[i]);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\tint[] mini = new int[]{ -1, -2, -3 }; // -1 > -2 > -3\n\t\tint temp;\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\ttemp = sc.nextInt();\n\t\t\tif (temp > mini[0]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = mini[0];\n\t\t\t\tmini[0] = temp;\n\t\t\t} else if (temp > mini[1]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = temp;\n\t\t\t} else if (temp > mini[2]) {\n\t\t\t\tmini[2] = temp;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 3; i++)\n\t\t\tSystem.out.println(mini[i]);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\tint[] mini = new int[]{ -1, -2, -3 }; // -1 > -2 > -3\n\t\tint temp;\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\ttemp = sc.nextInt();\n\t\t\tif (temp > mini[0]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = mini[0];\n\t\t\t\tmini[0] = temp;\n\t\t\t} else if (temp > mini[1]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = temp;\n\t\t\t} else if (temp > mini[2]) {\n\t\t\t\tmini[2] = temp;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 3; i++)\n\t\t\tSystem.out.println(mini[i]);\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\tint[] mini = new int[]{ -1, -2, -3 }; // -1 > -2 > -3\n\t\tint temp;\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\ttemp = sc.nextInt();\n\t\t\tif (temp > mini[0]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = mini[0];\n\t\t\t\tmini[0] = temp;\n\t\t\t} else if (temp > mini[1]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = temp;\n\t\t\t} else if (temp > mini[2]) {\n\t\t\t\tmini[2] = temp;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 3; i++)\n\t\t\tSystem.out.println(mini[i]);\n\t}",
"java.util.Scanner sc = new java.util.Scanner(System.in);",
"sc",
"new java.util.Scanner(System.in)",
"int[] mini = new int[]{ -1, -2, -3 };",
"mini",
"new int[]{ -1, -2, -3 }",
"int temp;",
"temp",
"for (int i = 0; i < 10; i++) {\n\t\t\ttemp = sc.nextInt();\n\t\t\tif (temp > mini[0]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = mini[0];\n\t\t\t\tmini[0] = temp;\n\t\t\t} else if (temp > mini[1]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = temp;\n\t\t\t} else if (temp > mini[2]) {\n\t\t\t\tmini[2] = temp;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\ttemp = sc.nextInt();\n\t\t\tif (temp > mini[0]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = mini[0];\n\t\t\t\tmini[0] = temp;\n\t\t\t} else if (temp > mini[1]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = temp;\n\t\t\t} else if (temp > mini[2]) {\n\t\t\t\tmini[2] = temp;\n\t\t\t}\n\t\t}",
"{\n\t\t\ttemp = sc.nextInt();\n\t\t\tif (temp > mini[0]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = mini[0];\n\t\t\t\tmini[0] = temp;\n\t\t\t} else if (temp > mini[1]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = temp;\n\t\t\t} else if (temp > mini[2]) {\n\t\t\t\tmini[2] = temp;\n\t\t\t}\n\t\t}",
"temp = sc.nextInt()",
"temp",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (temp > mini[0]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = mini[0];\n\t\t\t\tmini[0] = temp;\n\t\t\t} else if (temp > mini[1]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = temp;\n\t\t\t} else if (temp > mini[2]) {\n\t\t\t\tmini[2] = temp;\n\t\t\t}",
"temp > mini[0]",
"temp",
"mini[0]",
"mini",
"0",
"{\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = mini[0];\n\t\t\t\tmini[0] = temp;\n\t\t\t}",
"mini[2] = mini[1]",
"mini[2]",
"mini",
"2",
"mini[1]",
"mini",
"1",
"mini[1] = mini[0]",
"mini[1]",
"mini",
"1",
"mini[0]",
"mini",
"0",
"mini[0] = temp",
"mini[0]",
"mini",
"0",
"temp",
"if (temp > mini[1]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = temp;\n\t\t\t} else if (temp > mini[2]) {\n\t\t\t\tmini[2] = temp;\n\t\t\t}",
"temp > mini[1]",
"temp",
"mini[1]",
"mini",
"1",
"{\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = temp;\n\t\t\t}",
"mini[2] = mini[1]",
"mini[2]",
"mini",
"2",
"mini[1]",
"mini",
"1",
"mini[1] = temp",
"mini[1]",
"mini",
"1",
"temp",
"if (temp > mini[2]) {\n\t\t\t\tmini[2] = temp;\n\t\t\t}",
"temp > mini[2]",
"temp",
"mini[2]",
"mini",
"2",
"{\n\t\t\t\tmini[2] = temp;\n\t\t\t}",
"mini[2] = temp",
"mini[2]",
"mini",
"2",
"temp",
"for (int i = 0; i < 3; i++)\n\t\t\tSystem.out.println(mini[i]);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"System.out.println(mini[i]);",
"System.out.println(mini[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"mini[i]",
"mini",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\tint[] mini = new int[]{ -1, -2, -3 }; // -1 > -2 > -3\n\t\tint temp;\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\ttemp = sc.nextInt();\n\t\t\tif (temp > mini[0]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = mini[0];\n\t\t\t\tmini[0] = temp;\n\t\t\t} else if (temp > mini[1]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = temp;\n\t\t\t} else if (temp > mini[2]) {\n\t\t\t\tmini[2] = temp;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 3; i++)\n\t\t\tSystem.out.println(mini[i]);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\tint[] mini = new int[]{ -1, -2, -3 }; // -1 > -2 > -3\n\t\tint temp;\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\ttemp = sc.nextInt();\n\t\t\tif (temp > mini[0]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = mini[0];\n\t\t\t\tmini[0] = temp;\n\t\t\t} else if (temp > mini[1]) {\n\t\t\t\tmini[2] = mini[1];\n\t\t\t\tmini[1] = temp;\n\t\t\t} else if (temp > mini[2]) {\n\t\t\t\tmini[2] = temp;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 3; i++)\n\t\t\tSystem.out.println(mini[i]);\n\t}\n\n}",
"Main"
] | public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
java.util.Scanner sc = new java.util.Scanner(System.in);
int[] mini = new int[]{ -1, -2, -3 }; // -1 > -2 > -3
int temp;
for (int i = 0; i < 10; i++) {
temp = sc.nextInt();
if (temp > mini[0]) {
mini[2] = mini[1];
mini[1] = mini[0];
mini[0] = temp;
} else if (temp > mini[1]) {
mini[2] = mini[1];
mini[1] = temp;
} else if (temp > mini[2]) {
mini[2] = temp;
}
}
for (int i = 0; i < 3; i++)
System.out.println(mini[i]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
38,
5,
13,
30,
3,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
76,
8
],
[
76,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
32,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
11,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
11,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
11,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
9,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] a){\n\t\tint height[] = new int[10];\n\t\tScanner in = new Scanner(System.in);\n\t\tfor(int i = 0;i<10;i++){\n\t\t\ttry{\n\t\t\t\theight[i] = in.nextInt();\n\t\t\t}catch(Exception e){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tArrays.sort(height);\n\t\tSystem.out.println(height[9]);\n\t\tSystem.out.println(height[8]);\n\t\tSystem.out.println(height[7]);\n\t}\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] a){\n\t\tint height[] = new int[10];\n\t\tScanner in = new Scanner(System.in);\n\t\tfor(int i = 0;i<10;i++){\n\t\t\ttry{\n\t\t\t\theight[i] = in.nextInt();\n\t\t\t}catch(Exception e){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tArrays.sort(height);\n\t\tSystem.out.println(height[9]);\n\t\tSystem.out.println(height[8]);\n\t\tSystem.out.println(height[7]);\n\t}\n}",
"Main",
"public static void main(String[] a){\n\t\tint height[] = new int[10];\n\t\tScanner in = new Scanner(System.in);\n\t\tfor(int i = 0;i<10;i++){\n\t\t\ttry{\n\t\t\t\theight[i] = in.nextInt();\n\t\t\t}catch(Exception e){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tArrays.sort(height);\n\t\tSystem.out.println(height[9]);\n\t\tSystem.out.println(height[8]);\n\t\tSystem.out.println(height[7]);\n\t}",
"main",
"{\n\t\tint height[] = new int[10];\n\t\tScanner in = new Scanner(System.in);\n\t\tfor(int i = 0;i<10;i++){\n\t\t\ttry{\n\t\t\t\theight[i] = in.nextInt();\n\t\t\t}catch(Exception e){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tArrays.sort(height);\n\t\tSystem.out.println(height[9]);\n\t\tSystem.out.println(height[8]);\n\t\tSystem.out.println(height[7]);\n\t}",
"int height[] = new int[10];",
"height",
"new int[10]",
"10",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"for(int i = 0;i<10;i++){\n\t\t\ttry{\n\t\t\t\theight[i] = in.nextInt();\n\t\t\t}catch(Exception e){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\ttry{\n\t\t\t\theight[i] = in.nextInt();\n\t\t\t}catch(Exception e){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\ttry{\n\t\t\t\theight[i] = in.nextInt();\n\t\t\t}catch(Exception e){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"try{\n\t\t\t\theight[i] = in.nextInt();\n\t\t\t}catch(Exception e){\n\t\t\t\tbreak;\n\t\t\t}",
"catch(Exception e){\n\t\t\t\tbreak;\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\theight[i] = in.nextInt();\n\t\t\t}",
"height[i] = in.nextInt()",
"height[i]",
"height",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"Arrays.sort(height)",
"Arrays.sort",
"Arrays",
"height",
"System.out.println(height[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"height[9]",
"height",
"9",
"System.out.println(height[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"height[8]",
"height",
"8",
"System.out.println(height[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"height[7]",
"height",
"7",
"String[] a",
"a",
"public class Main {\n\tpublic static void main(String[] a){\n\t\tint height[] = new int[10];\n\t\tScanner in = new Scanner(System.in);\n\t\tfor(int i = 0;i<10;i++){\n\t\t\ttry{\n\t\t\t\theight[i] = in.nextInt();\n\t\t\t}catch(Exception e){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tArrays.sort(height);\n\t\tSystem.out.println(height[9]);\n\t\tSystem.out.println(height[8]);\n\t\tSystem.out.println(height[7]);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] a){\n\t\tint height[] = new int[10];\n\t\tScanner in = new Scanner(System.in);\n\t\tfor(int i = 0;i<10;i++){\n\t\t\ttry{\n\t\t\t\theight[i] = in.nextInt();\n\t\t\t}catch(Exception e){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tArrays.sort(height);\n\t\tSystem.out.println(height[9]);\n\t\tSystem.out.println(height[8]);\n\t\tSystem.out.println(height[7]);\n\t}\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] a){
int height[] = new int[10];
Scanner in = new Scanner(System.in);
for(int i = 0;i<10;i++){
try{
height[i] = in.nextInt();
}catch(Exception e){
break;
}
}
Arrays.sort(height);
System.out.println(height[9]);
System.out.println(height[8]);
System.out.println(height[7]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
2,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
2,
13,
17,
18,
13,
13,
30,
41,
13,
18,
13,
2,
13,
17,
0,
18,
13,
2,
13,
17,
18,
13,
13,
0,
18,
13,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
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
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
11,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
48,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
61,
68
],
[
68,
69
],
[
68,
70
],
[
61,
71
],
[
71,
72
],
[
72,
73
],
[
61,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
77,
83
],
[
83,
84
],
[
83,
85
],
[
76,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
86,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
94,
100
],
[
100,
101
],
[
100,
102
],
[
86,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
11,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
113,
114
],
[
113,
115
],
[
108,
116
],
[
116,
117
],
[
117,
118
],
[
108,
119
],
[
120,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
121,
126
],
[
126,
127
],
[
126,
128
],
[
9,
129
],
[
129,
130
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\nclass 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 data_num = 10;\n\t\tint top = 3;\n\t\tint[] data = new int[data_num];\n\n\t\tfor(int i = 0; i < data_num; i++){\n\t\t\tdata[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tfor(int i = 0; i < data_num; i++){\n\t\t\tfor(int j = data_num - 1; j > i; j--){\n\t\t\t\tif(data[j - 1] < data[j]){\n\t\t\t\t\tint temp = data[j - 1];\n\t\t\t\t\tdata[j - 1] = data[j];\n\t\t\t\t\tdata[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < top; i++){\n\t\t\tSystem.out.println(data[i]);\n\t\t}\n\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main{\n\n\tpublic static void main(String[] args) throws Exception{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint data_num = 10;\n\t\tint top = 3;\n\t\tint[] data = new int[data_num];\n\n\t\tfor(int i = 0; i < data_num; i++){\n\t\t\tdata[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tfor(int i = 0; i < data_num; i++){\n\t\t\tfor(int j = data_num - 1; j > i; j--){\n\t\t\t\tif(data[j - 1] < data[j]){\n\t\t\t\t\tint temp = data[j - 1];\n\t\t\t\t\tdata[j - 1] = data[j];\n\t\t\t\t\tdata[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < top; i++){\n\t\t\tSystem.out.println(data[i]);\n\t\t}\n\n\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 data_num = 10;\n\t\tint top = 3;\n\t\tint[] data = new int[data_num];\n\n\t\tfor(int i = 0; i < data_num; i++){\n\t\t\tdata[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tfor(int i = 0; i < data_num; i++){\n\t\t\tfor(int j = data_num - 1; j > i; j--){\n\t\t\t\tif(data[j - 1] < data[j]){\n\t\t\t\t\tint temp = data[j - 1];\n\t\t\t\t\tdata[j - 1] = data[j];\n\t\t\t\t\tdata[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < top; i++){\n\t\t\tSystem.out.println(data[i]);\n\t\t}\n\n\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint data_num = 10;\n\t\tint top = 3;\n\t\tint[] data = new int[data_num];\n\n\t\tfor(int i = 0; i < data_num; i++){\n\t\t\tdata[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tfor(int i = 0; i < data_num; i++){\n\t\t\tfor(int j = data_num - 1; j > i; j--){\n\t\t\t\tif(data[j - 1] < data[j]){\n\t\t\t\t\tint temp = data[j - 1];\n\t\t\t\t\tdata[j - 1] = data[j];\n\t\t\t\t\tdata[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < top; i++){\n\t\t\tSystem.out.println(data[i]);\n\t\t}\n\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int data_num = 10;",
"data_num",
"10",
"int top = 3;",
"top",
"3",
"int[] data = new int[data_num];",
"data",
"new int[data_num]",
"data_num",
"for(int i = 0; i < data_num; i++){\n\t\t\tdata[i] = Integer.parseInt(br.readLine());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < data_num",
"i",
"data_num",
"i++",
"i++",
"i",
"{\n\t\t\tdata[i] = Integer.parseInt(br.readLine());\n\t\t}",
"{\n\t\t\tdata[i] = Integer.parseInt(br.readLine());\n\t\t}",
"data[i] = Integer.parseInt(br.readLine())",
"data[i]",
"data",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"for(int i = 0; i < data_num; i++){\n\t\t\tfor(int j = data_num - 1; j > i; j--){\n\t\t\t\tif(data[j - 1] < data[j]){\n\t\t\t\t\tint temp = data[j - 1];\n\t\t\t\t\tdata[j - 1] = data[j];\n\t\t\t\t\tdata[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < data_num",
"i",
"data_num",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = data_num - 1; j > i; j--){\n\t\t\t\tif(data[j - 1] < data[j]){\n\t\t\t\t\tint temp = data[j - 1];\n\t\t\t\t\tdata[j - 1] = data[j];\n\t\t\t\t\tdata[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int j = data_num - 1; j > i; j--){\n\t\t\t\tif(data[j - 1] < data[j]){\n\t\t\t\t\tint temp = data[j - 1];\n\t\t\t\t\tdata[j - 1] = data[j];\n\t\t\t\t\tdata[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int j = data_num - 1; j > i; j--){\n\t\t\t\tif(data[j - 1] < data[j]){\n\t\t\t\t\tint temp = data[j - 1];\n\t\t\t\t\tdata[j - 1] = data[j];\n\t\t\t\t\tdata[j] = temp;\n\t\t\t\t}\n\t\t\t}",
"int j = data_num - 1;",
"int j = data_num - 1;",
"j",
"data_num - 1",
"data_num",
"1",
"j > i",
"j",
"i",
"j--",
"j--",
"j",
"{\n\t\t\t\tif(data[j - 1] < data[j]){\n\t\t\t\t\tint temp = data[j - 1];\n\t\t\t\t\tdata[j - 1] = data[j];\n\t\t\t\t\tdata[j] = temp;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(data[j - 1] < data[j]){\n\t\t\t\t\tint temp = data[j - 1];\n\t\t\t\t\tdata[j - 1] = data[j];\n\t\t\t\t\tdata[j] = temp;\n\t\t\t\t}\n\t\t\t}",
"if(data[j - 1] < data[j]){\n\t\t\t\t\tint temp = data[j - 1];\n\t\t\t\t\tdata[j - 1] = data[j];\n\t\t\t\t\tdata[j] = temp;\n\t\t\t\t}",
"data[j - 1] < data[j]",
"data[j - 1]",
"data",
"j - 1",
"j",
"1",
"data[j]",
"data",
"j",
"{\n\t\t\t\t\tint temp = data[j - 1];\n\t\t\t\t\tdata[j - 1] = data[j];\n\t\t\t\t\tdata[j] = temp;\n\t\t\t\t}",
"int temp = data[j - 1];",
"temp",
"data[j - 1]",
"data",
"j - 1",
"j",
"1",
"data[j - 1] = data[j]",
"data[j - 1]",
"data",
"j - 1",
"j",
"1",
"data[j]",
"data",
"j",
"data[j] = temp",
"data[j]",
"data",
"j",
"temp",
"for(int i = 0; i < top; i++){\n\t\t\tSystem.out.println(data[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < top",
"i",
"top",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(data[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(data[i]);\n\t\t}",
"System.out.println(data[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"data[i]",
"data",
"i",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
class Main{
public static void main(String[] args) throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int data_num = 10;
int top = 3;
int[] data = new int[data_num];
for(int i = 0; i < data_num; i++){
data[i] = Integer.parseInt(br.readLine());
}
for(int i = 0; i < data_num; i++){
for(int j = data_num - 1; j > i; j--){
if(data[j - 1] < data[j]){
int temp = data[j - 1];
data[j - 1] = data[j];
data[j] = temp;
}
}
}
for(int i = 0; i < top; i++){
System.out.println(data[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
41,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
2,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
76,
11
],
[
76,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
14,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
14,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
14,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
50,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
12,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"import java.io.IOException;\nimport java.util.Arrays;\nimport java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint [] list = new int[10];\n\t\tint i,j;\n\t\t\n\t\tfor(i=0;i<10;i++){\n\t\t\tlist[i] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(list);\n\t\t\n\t\tfor(j=0;j<3;j++){\n\t\t\tSystem.out.println(list[9-j]);\n\t\t}\n\t}\n\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint [] list = new int[10];\n\t\tint i,j;\n\t\t\n\t\tfor(i=0;i<10;i++){\n\t\t\tlist[i] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(list);\n\t\t\n\t\tfor(j=0;j<3;j++){\n\t\t\tSystem.out.println(list[9-j]);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint [] list = new int[10];\n\t\tint i,j;\n\t\t\n\t\tfor(i=0;i<10;i++){\n\t\t\tlist[i] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(list);\n\t\t\n\t\tfor(j=0;j<3;j++){\n\t\t\tSystem.out.println(list[9-j]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint [] list = new int[10];\n\t\tint i,j;\n\t\t\n\t\tfor(i=0;i<10;i++){\n\t\t\tlist[i] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(list);\n\t\t\n\t\tfor(j=0;j<3;j++){\n\t\t\tSystem.out.println(list[9-j]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int [] list = new int[10];",
"list",
"new int[10]",
"10",
"int i",
"i",
"j;",
"j",
"for(i=0;i<10;i++){\n\t\t\tlist[i] = sc.nextInt();\n\t\t}",
"i=0;",
"i=0",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tlist[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tlist[i] = sc.nextInt();\n\t\t}",
"list[i] = sc.nextInt()",
"list[i]",
"list",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(list)",
"Arrays.sort",
"Arrays",
"list",
"for(j=0;j<3;j++){\n\t\t\tSystem.out.println(list[9-j]);\n\t\t}",
"j=0;",
"j=0",
"j",
"0",
"j<3",
"j",
"3",
"j++",
"j++",
"j",
"{\n\t\t\tSystem.out.println(list[9-j]);\n\t\t}",
"{\n\t\t\tSystem.out.println(list[9-j]);\n\t\t}",
"System.out.println(list[9-j])",
"System.out.println",
"System.out",
"System",
"System.out",
"list[9-j]",
"list",
"9-j",
"9",
"j",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint [] list = new int[10];\n\t\tint i,j;\n\t\t\n\t\tfor(i=0;i<10;i++){\n\t\t\tlist[i] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(list);\n\t\t\n\t\tfor(j=0;j<3;j++){\n\t\t\tSystem.out.println(list[9-j]);\n\t\t}\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint [] list = new int[10];\n\t\tint i,j;\n\t\t\n\t\tfor(i=0;i<10;i++){\n\t\t\tlist[i] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(list);\n\t\t\n\t\tfor(j=0;j<3;j++){\n\t\t\tSystem.out.println(list[9-j]);\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.IOException;
import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException
{
Scanner sc = new Scanner(System.in);
int [] list = new int[10];
int i,j;
for(i=0;i<10;i++){
list[i] = sc.nextInt();
}
Arrays.sort(list);
for(j=0;j<3;j++){
System.out.println(list[9-j]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
17,
30,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
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
],
[
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
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
46,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
29,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
29,
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
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
15,
85
],
[
85,
86
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tint[] n = new int[10];\n\t\t\tfor(int i = 0; i< 10; i++) {\n\t\t\t\tString str = br.readLine();\n\t\t\t\tn[i] = Integer.parseInt(str);\n\t\t\t}\n//\t\t\twhile(str != null) {\n//\t\t\t\tn[i] = Integer.parseInt(str);\n//\t\t\t\ti++;\n//\t\t\t}\n\n\t\t\tArrays.sort(n);\n\n\t\t\tfor(int i = 9; i> 6; i--) {\n\t\t\t\tSystem.out.println(n[i]);\n\t\t\t}\n\n\t\t}catch (Exception e) {\n\t\t\tSystem.exit(0);\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.Arrays;",
"Arrays",
"java.util",
"class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tint[] n = new int[10];\n\t\t\tfor(int i = 0; i< 10; i++) {\n\t\t\t\tString str = br.readLine();\n\t\t\t\tn[i] = Integer.parseInt(str);\n\t\t\t}\n//\t\t\twhile(str != null) {\n//\t\t\t\tn[i] = Integer.parseInt(str);\n//\t\t\t\ti++;\n//\t\t\t}\n\n\t\t\tArrays.sort(n);\n\n\t\t\tfor(int i = 9; i> 6; i--) {\n\t\t\t\tSystem.out.println(n[i]);\n\t\t\t}\n\n\t\t}catch (Exception e) {\n\t\t\tSystem.exit(0);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tint[] n = new int[10];\n\t\t\tfor(int i = 0; i< 10; i++) {\n\t\t\t\tString str = br.readLine();\n\t\t\t\tn[i] = Integer.parseInt(str);\n\t\t\t}\n//\t\t\twhile(str != null) {\n//\t\t\t\tn[i] = Integer.parseInt(str);\n//\t\t\t\ti++;\n//\t\t\t}\n\n\t\t\tArrays.sort(n);\n\n\t\t\tfor(int i = 9; i> 6; i--) {\n\t\t\t\tSystem.out.println(n[i]);\n\t\t\t}\n\n\t\t}catch (Exception e) {\n\t\t\tSystem.exit(0);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tint[] n = new int[10];\n\t\t\tfor(int i = 0; i< 10; i++) {\n\t\t\t\tString str = br.readLine();\n\t\t\t\tn[i] = Integer.parseInt(str);\n\t\t\t}\n//\t\t\twhile(str != null) {\n//\t\t\t\tn[i] = Integer.parseInt(str);\n//\t\t\t\ti++;\n//\t\t\t}\n\n\t\t\tArrays.sort(n);\n\n\t\t\tfor(int i = 9; i> 6; i--) {\n\t\t\t\tSystem.out.println(n[i]);\n\t\t\t}\n\n\t\t}catch (Exception e) {\n\t\t\tSystem.exit(0);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n\t\t\tint[] n = new int[10];\n\t\t\tfor(int i = 0; i< 10; i++) {\n\t\t\t\tString str = br.readLine();\n\t\t\t\tn[i] = Integer.parseInt(str);\n\t\t\t}\n//\t\t\twhile(str != null) {\n//\t\t\t\tn[i] = Integer.parseInt(str);\n//\t\t\t\ti++;\n//\t\t\t}\n\n\t\t\tArrays.sort(n);\n\n\t\t\tfor(int i = 9; i> 6; i--) {\n\t\t\t\tSystem.out.println(n[i]);\n\t\t\t}\n\n\t\t}catch (Exception e) {\n\t\t\tSystem.exit(0);\n\t\t}",
"catch (Exception e) {\n\t\t\tSystem.exit(0);\n\t\t}",
"Exception e",
"{\n\t\t\tSystem.exit(0);\n\t\t}",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n\t\t\tint[] n = new int[10];\n\t\t\tfor(int i = 0; i< 10; i++) {\n\t\t\t\tString str = br.readLine();\n\t\t\t\tn[i] = Integer.parseInt(str);\n\t\t\t}\n//\t\t\twhile(str != null) {\n//\t\t\t\tn[i] = Integer.parseInt(str);\n//\t\t\t\ti++;\n//\t\t\t}\n\n\t\t\tArrays.sort(n);\n\n\t\t\tfor(int i = 9; i> 6; i--) {\n\t\t\t\tSystem.out.println(n[i]);\n\t\t\t}\n\n\t\t}",
"int[] n = new int[10];",
"n",
"new int[10]",
"10",
"for(int i = 0; i< 10; i++) {\n\t\t\t\tString str = br.readLine();\n\t\t\t\tn[i] = Integer.parseInt(str);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i< 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\t\tString str = br.readLine();\n\t\t\t\tn[i] = Integer.parseInt(str);\n\t\t\t}",
"{\n\t\t\t\tString str = br.readLine();\n\t\t\t\tn[i] = Integer.parseInt(str);\n\t\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"n[i] = Integer.parseInt(str)",
"n[i]",
"n",
"i",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"Arrays.sort(n)",
"Arrays.sort",
"Arrays",
"n",
"for(int i = 9; i> 6; i--) {\n\t\t\t\tSystem.out.println(n[i]);\n\t\t\t}",
"int i = 9;",
"int i = 9;",
"i",
"9",
"i> 6",
"i",
"6",
"i--",
"i--",
"i",
"{\n\t\t\t\tSystem.out.println(n[i]);\n\t\t\t}",
"{\n\t\t\t\tSystem.out.println(n[i]);\n\t\t\t}",
"System.out.println(n[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"n[i]",
"n",
"i",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
class Main {
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try {
int[] n = new int[10];
for(int i = 0; i< 10; i++) {
String str = br.readLine();
n[i] = Integer.parseInt(str);
}
// while(str != null) {
// n[i] = Integer.parseInt(str);
// i++;
// }
Arrays.sort(n);
for(int i = 9; i> 6; i--) {
System.out.println(n[i]);
}
}catch (Exception e) {
System.exit(0);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
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
],
[
11,
19
],
[
19,
20
],
[
11,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
11,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
45,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
9,
66
],
[
66,
67
]
] | [
"import java.util.Scanner;\nimport java.util.Arrays;\n\nclass Main {\n\tpublic static void main(String[] args){\n\t\tScanner cin = new Scanner(System.in);\n\t\tint[] x = new int[10];\n\t\t\n\t\tint i;\n\t\tfor(i = 0; i < 10; i++){\n\t\t\tx[i] = cin.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(x);\n\t\t\n\t\tfor (i = 9; i > 6; i--){\n\t\t\tSystem.out.println(x[i]);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main {\n\tpublic static void main(String[] args){\n\t\tScanner cin = new Scanner(System.in);\n\t\tint[] x = new int[10];\n\t\t\n\t\tint i;\n\t\tfor(i = 0; i < 10; i++){\n\t\t\tx[i] = cin.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(x);\n\t\t\n\t\tfor (i = 9; i > 6; i--){\n\t\t\tSystem.out.println(x[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner cin = new Scanner(System.in);\n\t\tint[] x = new int[10];\n\t\t\n\t\tint i;\n\t\tfor(i = 0; i < 10; i++){\n\t\t\tx[i] = cin.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(x);\n\t\t\n\t\tfor (i = 9; i > 6; i--){\n\t\t\tSystem.out.println(x[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner cin = new Scanner(System.in);\n\t\tint[] x = new int[10];\n\t\t\n\t\tint i;\n\t\tfor(i = 0; i < 10; i++){\n\t\t\tx[i] = cin.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(x);\n\t\t\n\t\tfor (i = 9; i > 6; i--){\n\t\t\tSystem.out.println(x[i]);\n\t\t}\n\t}",
"Scanner cin = new Scanner(System.in);",
"cin",
"new Scanner(System.in)",
"int[] x = new int[10];",
"x",
"new int[10]",
"10",
"int i;",
"i",
"for(i = 0; i < 10; i++){\n\t\t\tx[i] = cin.nextInt();\n\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tx[i] = cin.nextInt();\n\t\t}",
"{\n\t\t\tx[i] = cin.nextInt();\n\t\t}",
"x[i] = cin.nextInt()",
"x[i]",
"x",
"i",
"cin.nextInt()",
"cin.nextInt",
"cin",
"Arrays.sort(x)",
"Arrays.sort",
"Arrays",
"x",
"for (i = 9; i > 6; i--){\n\t\t\tSystem.out.println(x[i]);\n\t\t}",
"i = 9;",
"i = 9",
"i",
"9",
"i > 6",
"i",
"6",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.println(x[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(x[i]);\n\t\t}",
"System.out.println(x[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"x[i]",
"x",
"i",
"String[] args",
"args"
] | import java.util.Scanner;
import java.util.Arrays;
class Main {
public static void main(String[] args){
Scanner cin = new Scanner(System.in);
int[] x = new int[10];
int i;
for(i = 0; i < 10; i++){
x[i] = cin.nextInt();
}
Arrays.sort(x);
for (i = 9; i > 6; i--){
System.out.println(x[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
76,
8
],
[
76,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
11,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
11,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
11,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
11,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
9,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] mtns = new int[10];\n\t\tint first, second, third;\n\t\t\n\t\tfor(int i=0; i<10; i++) {\n\t\t\tmtns[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(mtns);\n\t\t\n\t\tSystem.out.println(mtns[9]);\n\t\tSystem.out.println(mtns[8]);\n\t\tSystem.out.println(mtns[7]);\n\t\t\n\t}\n\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] mtns = new int[10];\n\t\tint first, second, third;\n\t\t\n\t\tfor(int i=0; i<10; i++) {\n\t\t\tmtns[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(mtns);\n\t\t\n\t\tSystem.out.println(mtns[9]);\n\t\tSystem.out.println(mtns[8]);\n\t\tSystem.out.println(mtns[7]);\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] mtns = new int[10];\n\t\tint first, second, third;\n\t\t\n\t\tfor(int i=0; i<10; i++) {\n\t\t\tmtns[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(mtns);\n\t\t\n\t\tSystem.out.println(mtns[9]);\n\t\tSystem.out.println(mtns[8]);\n\t\tSystem.out.println(mtns[7]);\n\t\t\n\t}",
"main",
"{\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] mtns = new int[10];\n\t\tint first, second, third;\n\t\t\n\t\tfor(int i=0; i<10; i++) {\n\t\t\tmtns[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(mtns);\n\t\t\n\t\tSystem.out.println(mtns[9]);\n\t\tSystem.out.println(mtns[8]);\n\t\tSystem.out.println(mtns[7]);\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] mtns = new int[10];",
"mtns",
"new int[10]",
"10",
"int first",
"first",
"second",
"second",
"third;",
"third",
"for(int i=0; i<10; i++) {\n\t\t\tmtns[i] = sc.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tmtns[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tmtns[i] = sc.nextInt();\n\t\t}",
"mtns[i] = sc.nextInt()",
"mtns[i]",
"mtns",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(mtns)",
"Arrays.sort",
"Arrays",
"mtns",
"System.out.println(mtns[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"mtns[9]",
"mtns",
"9",
"System.out.println(mtns[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"mtns[8]",
"mtns",
"8",
"System.out.println(mtns[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"mtns[7]",
"mtns",
"7",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] mtns = new int[10];\n\t\tint first, second, third;\n\t\t\n\t\tfor(int i=0; i<10; i++) {\n\t\t\tmtns[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(mtns);\n\t\t\n\t\tSystem.out.println(mtns[9]);\n\t\tSystem.out.println(mtns[8]);\n\t\tSystem.out.println(mtns[7]);\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] mtns = new int[10];\n\t\tint first, second, third;\n\t\t\n\t\tfor(int i=0; i<10; i++) {\n\t\t\tmtns[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(mtns);\n\t\t\n\t\tSystem.out.println(mtns[9]);\n\t\tSystem.out.println(mtns[8]);\n\t\tSystem.out.println(mtns[7]);\n\t\t\n\t}\n\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] mtns = new int[10];
int first, second, third;
for(int i=0; i<10; i++) {
mtns[i] = sc.nextInt();
}
Arrays.sort(mtns);
System.out.println(mtns[9]);
System.out.println(mtns[8]);
System.out.println(mtns[7]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
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,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
16,
26
],
[
26,
27
],
[
27,
28
],
[
16,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
6,
63
],
[
63,
64
]
] | [
"import java.util.*;\n\nclass Main{\n public static void main(String[] a){\n\n int[] h = new int[10]; //10??¶????????±?????\\??????????????????????????£?¨?\n\n Scanner s = new Scanner(System.in);\n for(int i = 0; i < h.length; i++){\n h[i] = s.nextInt();\n }\n\n Arrays.sort(h);\n\n for(int i = 9; i >= 7; i--){\n System.out.println(h[i]);\n }\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] a){\n\n int[] h = new int[10]; //10??¶????????±?????\\??????????????????????????£?¨?\n\n Scanner s = new Scanner(System.in);\n for(int i = 0; i < h.length; i++){\n h[i] = s.nextInt();\n }\n\n Arrays.sort(h);\n\n for(int i = 9; i >= 7; i--){\n System.out.println(h[i]);\n }\n\n }\n}",
"Main",
"public static void main(String[] a){\n\n int[] h = new int[10]; //10??¶????????±?????\\??????????????????????????£?¨?\n\n Scanner s = new Scanner(System.in);\n for(int i = 0; i < h.length; i++){\n h[i] = s.nextInt();\n }\n\n Arrays.sort(h);\n\n for(int i = 9; i >= 7; i--){\n System.out.println(h[i]);\n }\n\n }",
"main",
"{\n\n int[] h = new int[10]; //10??¶????????±?????\\??????????????????????????£?¨?\n\n Scanner s = new Scanner(System.in);\n for(int i = 0; i < h.length; i++){\n h[i] = s.nextInt();\n }\n\n Arrays.sort(h);\n\n for(int i = 9; i >= 7; i--){\n System.out.println(h[i]);\n }\n\n }",
"int[] h = new int[10];",
"h",
"new int[10]",
"10",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"for(int i = 0; i < h.length; i++){\n h[i] = s.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < h.length",
"i",
"h.length",
"h",
"h.length",
"i++",
"i++",
"i",
"{\n h[i] = s.nextInt();\n }",
"{\n h[i] = s.nextInt();\n }",
"h[i] = s.nextInt()",
"h[i]",
"h",
"i",
"s.nextInt()",
"s.nextInt",
"s",
"Arrays.sort(h)",
"Arrays.sort",
"Arrays",
"h",
"for(int i = 9; i >= 7; i--){\n System.out.println(h[i]);\n }",
"int i = 9;",
"int i = 9;",
"i",
"9",
"i >= 7",
"i",
"7",
"i--",
"i--",
"i",
"{\n System.out.println(h[i]);\n }",
"{\n System.out.println(h[i]);\n }",
"System.out.println(h[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"h[i]",
"h",
"i",
"String[] a",
"a"
] | import java.util.*;
class Main{
public static void main(String[] a){
int[] h = new int[10]; //10??¶????????±?????\??????????????????????????£?¨?
Scanner s = new Scanner(System.in);
for(int i = 0; i < h.length; i++){
h[i] = s.nextInt();
}
Arrays.sort(h);
for(int i = 9; i >= 7; i--){
System.out.println(h[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
2,
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
],
[
75,
11
],
[
75,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
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
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
14,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
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
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
66,
70
],
[
66,
71
],
[
12,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n ArrayList<Integer> a = new ArrayList<Integer>();\n for (int i = 0; i < 10; i++) {\n a.add(sn.nextInt());\n }\n Collections.sort(a);\n for (int i = 0; i < 3; i++) {\n System.out.println(a.get(a.size() - i - 1));\n }\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n ArrayList<Integer> a = new ArrayList<Integer>();\n for (int i = 0; i < 10; i++) {\n a.add(sn.nextInt());\n }\n Collections.sort(a);\n for (int i = 0; i < 3; i++) {\n System.out.println(a.get(a.size() - i - 1));\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n ArrayList<Integer> a = new ArrayList<Integer>();\n for (int i = 0; i < 10; i++) {\n a.add(sn.nextInt());\n }\n Collections.sort(a);\n for (int i = 0; i < 3; i++) {\n System.out.println(a.get(a.size() - i - 1));\n }\n }",
"main",
"{\n Scanner sn = new Scanner(System.in);\n ArrayList<Integer> a = new ArrayList<Integer>();\n for (int i = 0; i < 10; i++) {\n a.add(sn.nextInt());\n }\n Collections.sort(a);\n for (int i = 0; i < 3; i++) {\n System.out.println(a.get(a.size() - i - 1));\n }\n }",
"Scanner sn = new Scanner(System.in);",
"sn",
"new Scanner(System.in)",
"ArrayList<Integer> a = new ArrayList<Integer>();",
"a",
"new ArrayList<Integer>()",
"for (int i = 0; i < 10; i++) {\n a.add(sn.nextInt());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n a.add(sn.nextInt());\n }",
"{\n a.add(sn.nextInt());\n }",
"a.add(sn.nextInt())",
"a.add",
"a",
"sn.nextInt()",
"sn.nextInt",
"sn",
"Collections.sort(a)",
"Collections.sort",
"Collections",
"a",
"for (int i = 0; i < 3; i++) {\n System.out.println(a.get(a.size() - i - 1));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(a.get(a.size() - i - 1));\n }",
"{\n System.out.println(a.get(a.size() - i - 1));\n }",
"System.out.println(a.get(a.size() - i - 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"a.get(a.size() - i - 1)",
"a.get",
"a",
"a.size() - i - 1",
"a.size() - i - 1",
"a.size()",
"a.size",
"a",
"i",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n ArrayList<Integer> a = new ArrayList<Integer>();\n for (int i = 0; i < 10; i++) {\n a.add(sn.nextInt());\n }\n Collections.sort(a);\n for (int i = 0; i < 3; i++) {\n System.out.println(a.get(a.size() - i - 1));\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n ArrayList<Integer> a = new ArrayList<Integer>();\n for (int i = 0; i < 10; i++) {\n a.add(sn.nextInt());\n }\n Collections.sort(a);\n for (int i = 0; i < 3; i++) {\n System.out.println(a.get(a.size() - i - 1));\n }\n }\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sn = new Scanner(System.in);
ArrayList<Integer> a = new ArrayList<Integer>();
for (int i = 0; i < 10; i++) {
a.add(sn.nextInt());
}
Collections.sort(a);
for (int i = 0; i < 3; i++) {
System.out.println(a.get(a.size() - i - 1));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
93,
5
],
[
93,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
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
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
43,
50
],
[
50,
51
],
[
50,
52
],
[
39,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
53,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
6,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] | [
"import java.util.*;\npublic class Main {\n public static void main(String[] args) {\n int first = 0;\n int second = 0;\n int third = 0;\n Scanner in = new Scanner(System.in);\n for (int i = 0; i < 10; i++) {\n int h = in.nextInt();\n if (h > first) {\n third = second;\n second = first;\n first = h;\n } else if (h > second) {\n third = second;\n second = h;\n } else if (h > third) {\n third = h;\n }\n }\n System.out.println(first);\n System.out.println(second);\n System.out.println(third);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n int first = 0;\n int second = 0;\n int third = 0;\n Scanner in = new Scanner(System.in);\n for (int i = 0; i < 10; i++) {\n int h = in.nextInt();\n if (h > first) {\n third = second;\n second = first;\n first = h;\n } else if (h > second) {\n third = second;\n second = h;\n } else if (h > third) {\n third = h;\n }\n }\n System.out.println(first);\n System.out.println(second);\n System.out.println(third);\n }\n}",
"Main",
"public static void main(String[] args) {\n int first = 0;\n int second = 0;\n int third = 0;\n Scanner in = new Scanner(System.in);\n for (int i = 0; i < 10; i++) {\n int h = in.nextInt();\n if (h > first) {\n third = second;\n second = first;\n first = h;\n } else if (h > second) {\n third = second;\n second = h;\n } else if (h > third) {\n third = h;\n }\n }\n System.out.println(first);\n System.out.println(second);\n System.out.println(third);\n }",
"main",
"{\n int first = 0;\n int second = 0;\n int third = 0;\n Scanner in = new Scanner(System.in);\n for (int i = 0; i < 10; i++) {\n int h = in.nextInt();\n if (h > first) {\n third = second;\n second = first;\n first = h;\n } else if (h > second) {\n third = second;\n second = h;\n } else if (h > third) {\n third = h;\n }\n }\n System.out.println(first);\n System.out.println(second);\n System.out.println(third);\n }",
"int first = 0;",
"first",
"0",
"int second = 0;",
"second",
"0",
"int third = 0;",
"third",
"0",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"for (int i = 0; i < 10; i++) {\n int h = in.nextInt();\n if (h > first) {\n third = second;\n second = first;\n first = h;\n } else if (h > second) {\n third = second;\n second = h;\n } else if (h > third) {\n third = h;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n int h = in.nextInt();\n if (h > first) {\n third = second;\n second = first;\n first = h;\n } else if (h > second) {\n third = second;\n second = h;\n } else if (h > third) {\n third = h;\n }\n }",
"{\n int h = in.nextInt();\n if (h > first) {\n third = second;\n second = first;\n first = h;\n } else if (h > second) {\n third = second;\n second = h;\n } else if (h > third) {\n third = h;\n }\n }",
"int h = in.nextInt();",
"h",
"in.nextInt()",
"in.nextInt",
"in",
"if (h > first) {\n third = second;\n second = first;\n first = h;\n } else if (h > second) {\n third = second;\n second = h;\n } else if (h > third) {\n third = h;\n }",
"h > first",
"h",
"first",
"{\n third = second;\n second = first;\n first = h;\n }",
"third = second",
"third",
"second",
"second = first",
"second",
"first",
"first = h",
"first",
"h",
"if (h > second) {\n third = second;\n second = h;\n } else if (h > third) {\n third = h;\n }",
"h > second",
"h",
"second",
"{\n third = second;\n second = h;\n }",
"third = second",
"third",
"second",
"second = h",
"second",
"h",
"if (h > third) {\n third = h;\n }",
"h > third",
"h",
"third",
"{\n third = h;\n }",
"third = h",
"third",
"h",
"System.out.println(first)",
"System.out.println",
"System.out",
"System",
"System.out",
"first",
"System.out.println(second)",
"System.out.println",
"System.out",
"System",
"System.out",
"second",
"System.out.println(third)",
"System.out.println",
"System.out",
"System",
"System.out",
"third",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n int first = 0;\n int second = 0;\n int third = 0;\n Scanner in = new Scanner(System.in);\n for (int i = 0; i < 10; i++) {\n int h = in.nextInt();\n if (h > first) {\n third = second;\n second = first;\n first = h;\n } else if (h > second) {\n third = second;\n second = h;\n } else if (h > third) {\n third = h;\n }\n }\n System.out.println(first);\n System.out.println(second);\n System.out.println(third);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n int first = 0;\n int second = 0;\n int third = 0;\n Scanner in = new Scanner(System.in);\n for (int i = 0; i < 10; i++) {\n int h = in.nextInt();\n if (h > first) {\n third = second;\n second = first;\n first = h;\n } else if (h > second) {\n third = second;\n second = h;\n } else if (h > third) {\n third = h;\n }\n }\n System.out.println(first);\n System.out.println(second);\n System.out.println(third);\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
int first = 0;
int second = 0;
int third = 0;
Scanner in = new Scanner(System.in);
for (int i = 0; i < 10; i++) {
int h = in.nextInt();
if (h > first) {
third = second;
second = first;
first = h;
} else if (h > second) {
third = second;
second = h;
} else if (h > third) {
third = h;
}
}
System.out.println(first);
System.out.println(second);
System.out.println(third);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
4,
13,
13,
17,
4,
18,
13,
13,
4,
13,
13,
4,
13,
13,
17,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
2,
13,
13,
17,
0,
18,
13,
2,
2,
13,
13,
17,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
23,
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,
16
],
[
16,
17
],
[
16,
18
],
[
16,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
11,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
9,
31
],
[
31,
32
],
[
7,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
68,
68
],
[
68,
69
],
[
68,
70
],
[
68,
71
],
[
55,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
76,
76
],
[
76,
77
],
[
76,
78
],
[
76,
79
],
[
72,
80
],
[
33,
81
],
[
81,
82
],
[
7,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
86,
94
],
[
94,
95
],
[
95,
96
],
[
86,
97
],
[
98,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
104,
105
],
[
104,
106
],
[
83,
107
],
[
107,
108
],
[
83,
109
],
[
109,
110
],
[
7,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
122,
123
],
[
122,
124
],
[
117,
125
],
[
125,
126
],
[
126,
127
],
[
117,
128
],
[
129,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
134,
135
],
[
135,
136
],
[
111,
137
],
[
137,
138
],
[
111,
139
],
[
139,
140
]
] | [
"import java.util.Scanner;\nimport java.util.Arrays;\n\nclass Main {\n public static void main(String[] args){\n int[] m = new int[10];\n input(m, 10);\n Arrays.sort(m);\n reverse(m);\n output(m, 3);\n }\n\n private static final void reverse(int[] m){\n int n = m.length;\n for (int i = 0; i < n / 2; i++){\n int tmp = m[i];\n m[i] = m[n - i - 1];\n m[n - i - 1] = tmp;\n }\n }\n\n private static final void output(int[] m, int n){\n for (int i = 0; i < n; i++){\n System.out.println(m[i]);\n }\n }\n\n private static final void input(int[] m, int n){\n Scanner cin = new Scanner(System.in);\n for (int i = 0; i < n; i++){\n m[i] = cin.nextInt();\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main {\n public static void main(String[] args){\n int[] m = new int[10];\n input(m, 10);\n Arrays.sort(m);\n reverse(m);\n output(m, 3);\n }\n\n private static final void reverse(int[] m){\n int n = m.length;\n for (int i = 0; i < n / 2; i++){\n int tmp = m[i];\n m[i] = m[n - i - 1];\n m[n - i - 1] = tmp;\n }\n }\n\n private static final void output(int[] m, int n){\n for (int i = 0; i < n; i++){\n System.out.println(m[i]);\n }\n }\n\n private static final void input(int[] m, int n){\n Scanner cin = new Scanner(System.in);\n for (int i = 0; i < n; i++){\n m[i] = cin.nextInt();\n }\n }\n}",
"Main",
"public static void main(String[] args){\n int[] m = new int[10];\n input(m, 10);\n Arrays.sort(m);\n reverse(m);\n output(m, 3);\n }",
"main",
"{\n int[] m = new int[10];\n input(m, 10);\n Arrays.sort(m);\n reverse(m);\n output(m, 3);\n }",
"int[] m = new int[10];",
"m",
"new int[10]",
"10",
"input(m, 10)",
"input",
"m",
"10",
"Arrays.sort(m)",
"Arrays.sort",
"Arrays",
"m",
"reverse(m)",
"reverse",
"m",
"output(m, 3)",
"output",
"m",
"3",
"String[] args",
"args",
"private static final void reverse(int[] m){\n int n = m.length;\n for (int i = 0; i < n / 2; i++){\n int tmp = m[i];\n m[i] = m[n - i - 1];\n m[n - i - 1] = tmp;\n }\n }",
"reverse",
"{\n int n = m.length;\n for (int i = 0; i < n / 2; i++){\n int tmp = m[i];\n m[i] = m[n - i - 1];\n m[n - i - 1] = tmp;\n }\n }",
"int n = m.length;",
"n",
"m.length",
"m",
"m.length",
"for (int i = 0; i < n / 2; i++){\n int tmp = m[i];\n m[i] = m[n - i - 1];\n m[n - i - 1] = tmp;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n / 2",
"i",
"n / 2",
"n",
"2",
"i++",
"i++",
"i",
"{\n int tmp = m[i];\n m[i] = m[n - i - 1];\n m[n - i - 1] = tmp;\n }",
"{\n int tmp = m[i];\n m[i] = m[n - i - 1];\n m[n - i - 1] = tmp;\n }",
"int tmp = m[i];",
"tmp",
"m[i]",
"m",
"i",
"m[i] = m[n - i - 1]",
"m[i]",
"m",
"i",
"m[n - i - 1]",
"m",
"n - i - 1",
"n - i - 1",
"n",
"i",
"1",
"m[n - i - 1] = tmp",
"m[n - i - 1]",
"m",
"n - i - 1",
"n - i - 1",
"n",
"i",
"1",
"tmp",
"int[] m",
"m",
"private static final void output(int[] m, int n){\n for (int i = 0; i < n; i++){\n System.out.println(m[i]);\n }\n }",
"output",
"{\n for (int i = 0; i < n; i++){\n System.out.println(m[i]);\n }\n }",
"for (int i = 0; i < n; i++){\n System.out.println(m[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n System.out.println(m[i]);\n }",
"{\n System.out.println(m[i]);\n }",
"System.out.println(m[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"m[i]",
"m",
"i",
"int[] m",
"m",
"int n",
"n",
"private static final void input(int[] m, int n){\n Scanner cin = new Scanner(System.in);\n for (int i = 0; i < n; i++){\n m[i] = cin.nextInt();\n }\n }",
"input",
"{\n Scanner cin = new Scanner(System.in);\n for (int i = 0; i < n; i++){\n m[i] = cin.nextInt();\n }\n }",
"Scanner cin = new Scanner(System.in);",
"cin",
"new Scanner(System.in)",
"for (int i = 0; i < n; i++){\n m[i] = cin.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n m[i] = cin.nextInt();\n }",
"{\n m[i] = cin.nextInt();\n }",
"m[i] = cin.nextInt()",
"m[i]",
"m",
"i",
"cin.nextInt()",
"cin.nextInt",
"cin",
"int[] m",
"m",
"int n",
"n"
] | import java.util.Scanner;
import java.util.Arrays;
class Main {
public static void main(String[] args){
int[] m = new int[10];
input(m, 10);
Arrays.sort(m);
reverse(m);
output(m, 3);
}
private static final void reverse(int[] m){
int n = m.length;
for (int i = 0; i < n / 2; i++){
int tmp = m[i];
m[i] = m[n - i - 1];
m[n - i - 1] = tmp;
}
}
private static final void output(int[] m, int n){
for (int i = 0; i < n; i++){
System.out.println(m[i]);
}
}
private static final void input(int[] m, int n){
Scanner cin = new Scanner(System.in);
for (int i = 0; i < n; i++){
m[i] = cin.nextInt();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
0,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
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
],
[
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
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
17,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
17,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
17,
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
],
[
15,
78
],
[
78,
79
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\nclass Main{\n public static void main(String[] args) throws IOException {\n \n BufferedReader r = \n new BufferedReader(new InputStreamReader(System.in));\n \n int[] a;\n a = new int[10];\n for (int i = 0; i < 10; i++){\n String s = r.readLine();\n a[i] = Integer.valueOf(s);\n }\n Arrays.sort(a);\n for (int i = 9; i >6; i--){\n System.out.println(a[i]);\n } \n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main{\n public static void main(String[] args) throws IOException {\n \n BufferedReader r = \n new BufferedReader(new InputStreamReader(System.in));\n \n int[] a;\n a = new int[10];\n for (int i = 0; i < 10; i++){\n String s = r.readLine();\n a[i] = Integer.valueOf(s);\n }\n Arrays.sort(a);\n for (int i = 9; i >6; i--){\n System.out.println(a[i]);\n } \n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n \n BufferedReader r = \n new BufferedReader(new InputStreamReader(System.in));\n \n int[] a;\n a = new int[10];\n for (int i = 0; i < 10; i++){\n String s = r.readLine();\n a[i] = Integer.valueOf(s);\n }\n Arrays.sort(a);\n for (int i = 9; i >6; i--){\n System.out.println(a[i]);\n } \n }",
"main",
"{\n \n BufferedReader r = \n new BufferedReader(new InputStreamReader(System.in));\n \n int[] a;\n a = new int[10];\n for (int i = 0; i < 10; i++){\n String s = r.readLine();\n a[i] = Integer.valueOf(s);\n }\n Arrays.sort(a);\n for (int i = 9; i >6; i--){\n System.out.println(a[i]);\n } \n }",
"BufferedReader r = \n new BufferedReader(new InputStreamReader(System.in));",
"r",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] a;",
"a",
"a = new int[10]",
"a",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++){\n String s = r.readLine();\n a[i] = Integer.valueOf(s);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n String s = r.readLine();\n a[i] = Integer.valueOf(s);\n }",
"{\n String s = r.readLine();\n a[i] = Integer.valueOf(s);\n }",
"String s = r.readLine();",
"s",
"r.readLine()",
"r.readLine",
"r",
"a[i] = Integer.valueOf(s)",
"a[i]",
"a",
"i",
"Integer.valueOf(s)",
"Integer.valueOf",
"Integer",
"s",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"for (int i = 9; i >6; i--){\n System.out.println(a[i]);\n }",
"int i = 9;",
"int i = 9;",
"i",
"9",
"i >6",
"i",
"6",
"i--",
"i--",
"i",
"{\n System.out.println(a[i]);\n }",
"{\n System.out.println(a[i]);\n }",
"System.out.println(a[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
class Main{
public static void main(String[] args) throws IOException {
BufferedReader r =
new BufferedReader(new InputStreamReader(System.in));
int[] a;
a = new int[10];
for (int i = 0; i < 10; i++){
String s = r.readLine();
a[i] = Integer.valueOf(s);
}
Arrays.sort(a);
for (int i = 9; i >6; i--){
System.out.println(a[i]);
}
}
} |
[
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,
42,
4,
18,
13,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
80,
14
],
[
80,
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
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
19,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
19,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
52,
53
],
[
48,
54
],
[
19,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
55,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
15,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.util.ArrayList;\nimport java.util.Comparator;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tList<Integer> lines = new ArrayList<>();\n\t\t\twhile(sc.hasNext()) {\n\t\t\t\tlines.add(Integer.parseInt(sc.nextLine()));\n\t\t\t}\n\t\t\tlines.sort(Comparator.reverseOrder());\n\t\t\tint len = Math.min(lines.size(), 3);\n\t\t\tfor (int i = 0; i < len; i++) {\n\t\t\t\tSystem.out.println(lines.get(i));\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Comparator;",
"Comparator",
"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\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tList<Integer> lines = new ArrayList<>();\n\t\t\twhile(sc.hasNext()) {\n\t\t\t\tlines.add(Integer.parseInt(sc.nextLine()));\n\t\t\t}\n\t\t\tlines.sort(Comparator.reverseOrder());\n\t\t\tint len = Math.min(lines.size(), 3);\n\t\t\tfor (int i = 0; i < len; i++) {\n\t\t\t\tSystem.out.println(lines.get(i));\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tList<Integer> lines = new ArrayList<>();\n\t\t\twhile(sc.hasNext()) {\n\t\t\t\tlines.add(Integer.parseInt(sc.nextLine()));\n\t\t\t}\n\t\t\tlines.sort(Comparator.reverseOrder());\n\t\t\tint len = Math.min(lines.size(), 3);\n\t\t\tfor (int i = 0; i < len; i++) {\n\t\t\t\tSystem.out.println(lines.get(i));\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tList<Integer> lines = new ArrayList<>();\n\t\t\twhile(sc.hasNext()) {\n\t\t\t\tlines.add(Integer.parseInt(sc.nextLine()));\n\t\t\t}\n\t\t\tlines.sort(Comparator.reverseOrder());\n\t\t\tint len = Math.min(lines.size(), 3);\n\t\t\tfor (int i = 0; i < len; i++) {\n\t\t\t\tSystem.out.println(lines.get(i));\n\t\t\t}\n\t\t}\n\t}",
"try (Scanner sc = new Scanner(System.in)) {\n\t\t\tList<Integer> lines = new ArrayList<>();\n\t\t\twhile(sc.hasNext()) {\n\t\t\t\tlines.add(Integer.parseInt(sc.nextLine()));\n\t\t\t}\n\t\t\tlines.sort(Comparator.reverseOrder());\n\t\t\tint len = Math.min(lines.size(), 3);\n\t\t\tfor (int i = 0; i < len; i++) {\n\t\t\t\tSystem.out.println(lines.get(i));\n\t\t\t}\n\t\t}",
"{\n\t\t\tList<Integer> lines = new ArrayList<>();\n\t\t\twhile(sc.hasNext()) {\n\t\t\t\tlines.add(Integer.parseInt(sc.nextLine()));\n\t\t\t}\n\t\t\tlines.sort(Comparator.reverseOrder());\n\t\t\tint len = Math.min(lines.size(), 3);\n\t\t\tfor (int i = 0; i < len; i++) {\n\t\t\t\tSystem.out.println(lines.get(i));\n\t\t\t}\n\t\t}",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"List<Integer> lines = new ArrayList<>();",
"lines",
"new ArrayList<>()",
"while(sc.hasNext()) {\n\t\t\t\tlines.add(Integer.parseInt(sc.nextLine()));\n\t\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\t\tlines.add(Integer.parseInt(sc.nextLine()));\n\t\t\t}",
"lines.add(Integer.parseInt(sc.nextLine()))",
"lines.add",
"lines",
"Integer.parseInt(sc.nextLine())",
"Integer.parseInt",
"Integer",
"sc.nextLine()",
"sc.nextLine",
"sc",
"lines.sort(Comparator.reverseOrder())",
"lines.sort",
"lines",
"Comparator.reverseOrder()",
"Comparator.reverseOrder",
"Comparator",
"int len = Math.min(lines.size(), 3);",
"len",
"Math.min(lines.size(), 3)",
"Math.min",
"Math",
"lines.size()",
"lines.size",
"lines",
"3",
"for (int i = 0; i < len; i++) {\n\t\t\t\tSystem.out.println(lines.get(i));\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len",
"i",
"len",
"i++",
"i++",
"i",
"{\n\t\t\t\tSystem.out.println(lines.get(i));\n\t\t\t}",
"{\n\t\t\t\tSystem.out.println(lines.get(i));\n\t\t\t}",
"System.out.println(lines.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"lines.get(i)",
"lines.get",
"lines",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tList<Integer> lines = new ArrayList<>();\n\t\t\twhile(sc.hasNext()) {\n\t\t\t\tlines.add(Integer.parseInt(sc.nextLine()));\n\t\t\t}\n\t\t\tlines.sort(Comparator.reverseOrder());\n\t\t\tint len = Math.min(lines.size(), 3);\n\t\t\tfor (int i = 0; i < len; i++) {\n\t\t\t\tSystem.out.println(lines.get(i));\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tList<Integer> lines = new ArrayList<>();\n\t\t\twhile(sc.hasNext()) {\n\t\t\t\tlines.add(Integer.parseInt(sc.nextLine()));\n\t\t\t}\n\t\t\tlines.sort(Comparator.reverseOrder());\n\t\t\tint len = Math.min(lines.size(), 3);\n\t\t\tfor (int i = 0; i < len; i++) {\n\t\t\t\tSystem.out.println(lines.get(i));\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in)) {
List<Integer> lines = new ArrayList<>();
while(sc.hasNext()) {
lines.add(Integer.parseInt(sc.nextLine()));
}
lines.sort(Comparator.reverseOrder());
int len = Math.min(lines.size(), 3);
for (int i = 0; i < len; i++) {
System.out.println(lines.get(i));
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
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
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
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
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
12,
70
],
[
70,
71
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\nclass Main {\n\t/*\n\t * 10????????´??°??????best3?????????\n\t */\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] heightArray = new int[10];\n\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theightArray[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tArrays.sort(heightArray);\n\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\tSystem.out.println(heightArray[i]);\n\t\t}\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main {\n\t/*\n\t * 10????????´??°??????best3?????????\n\t */\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] heightArray = new int[10];\n\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theightArray[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tArrays.sort(heightArray);\n\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\tSystem.out.println(heightArray[i]);\n\t\t}\n\n\t}\n}",
"Main",
"/*\n\t * 10????????´??°??????best3?????????\n\t */\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] heightArray = new int[10];\n\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theightArray[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tArrays.sort(heightArray);\n\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\tSystem.out.println(heightArray[i]);\n\t\t}\n\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] heightArray = new int[10];\n\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theightArray[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tArrays.sort(heightArray);\n\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\tSystem.out.println(heightArray[i]);\n\t\t}\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] heightArray = new int[10];",
"heightArray",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++) {\n\t\t\theightArray[i] = Integer.parseInt(br.readLine());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\theightArray[i] = Integer.parseInt(br.readLine());\n\t\t}",
"{\n\t\t\theightArray[i] = Integer.parseInt(br.readLine());\n\t\t}",
"heightArray[i] = Integer.parseInt(br.readLine())",
"heightArray[i]",
"heightArray",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(heightArray)",
"Arrays.sort",
"Arrays",
"heightArray",
"for (int i = 9; i >= 7; i--) {\n\t\t\tSystem.out.println(heightArray[i]);\n\t\t}",
"int i = 9;",
"int i = 9;",
"i",
"9",
"i >= 7",
"i",
"7",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.println(heightArray[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(heightArray[i]);\n\t\t}",
"System.out.println(heightArray[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"heightArray[i]",
"heightArray",
"i",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
class Main {
/*
* 10????????´??°??????best3?????????
*/
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int[] heightArray = new int[10];
for (int i = 0; i < 10; i++) {
heightArray[i] = Integer.parseInt(br.readLine());
}
Arrays.sort(heightArray);
for (int i = 9; i >= 7; i--) {
System.out.println(heightArray[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
140,
8
],
[
140,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
11,
42
],
[
42,
43
],
[
42,
44
],
[
11,
45
],
[
45,
46
],
[
11,
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
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
65,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
65,
77
],
[
77,
78
],
[
78,
79
],
[
65,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
61,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
101,
103
],
[
98,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
108,
110
],
[
98,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
11,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
121,
122
],
[
121,
123
],
[
116,
124
],
[
124,
125
],
[
125,
126
],
[
116,
127
],
[
128,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
134,
135
],
[
134,
136
],
[
9,
137
],
[
137,
138
],
[
0,
139
],
[
139,
140
],
[
139,
141
]
] | [
"import java.io.*;\nimport java.util.*;\npublic class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] kazu = new int[10];\n for(int a = 0; a <= 9; a++){\n kazu[a] = Integer.parseInt(br.readLine());\n }\n int n = 10;\n int kari;\n for(int b = 0; b <= n-2; b++){\n int x = b;\n for(int c = b+1; c <= n-1; c++){\n if(kazu[x] < kazu[c]){\n x = c;\n }\n }\n if(x != b){\n kari = kazu[x];\n kazu[x] = kazu[b];\n kazu[b] = kari;\n }\n }\n for(int d = 0; d <= 2; d++){\n System.out.println(kazu[d]);\n }\n }\n}\n ",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] kazu = new int[10];\n for(int a = 0; a <= 9; a++){\n kazu[a] = Integer.parseInt(br.readLine());\n }\n int n = 10;\n int kari;\n for(int b = 0; b <= n-2; b++){\n int x = b;\n for(int c = b+1; c <= n-1; c++){\n if(kazu[x] < kazu[c]){\n x = c;\n }\n }\n if(x != b){\n kari = kazu[x];\n kazu[x] = kazu[b];\n kazu[b] = kari;\n }\n }\n for(int d = 0; d <= 2; d++){\n System.out.println(kazu[d]);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] kazu = new int[10];\n for(int a = 0; a <= 9; a++){\n kazu[a] = Integer.parseInt(br.readLine());\n }\n int n = 10;\n int kari;\n for(int b = 0; b <= n-2; b++){\n int x = b;\n for(int c = b+1; c <= n-1; c++){\n if(kazu[x] < kazu[c]){\n x = c;\n }\n }\n if(x != b){\n kari = kazu[x];\n kazu[x] = kazu[b];\n kazu[b] = kari;\n }\n }\n for(int d = 0; d <= 2; d++){\n System.out.println(kazu[d]);\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] kazu = new int[10];\n for(int a = 0; a <= 9; a++){\n kazu[a] = Integer.parseInt(br.readLine());\n }\n int n = 10;\n int kari;\n for(int b = 0; b <= n-2; b++){\n int x = b;\n for(int c = b+1; c <= n-1; c++){\n if(kazu[x] < kazu[c]){\n x = c;\n }\n }\n if(x != b){\n kari = kazu[x];\n kazu[x] = kazu[b];\n kazu[b] = kari;\n }\n }\n for(int d = 0; d <= 2; d++){\n System.out.println(kazu[d]);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] kazu = new int[10];",
"kazu",
"new int[10]",
"10",
"for(int a = 0; a <= 9; a++){\n kazu[a] = Integer.parseInt(br.readLine());\n }",
"int a = 0;",
"int a = 0;",
"a",
"0",
"a <= 9",
"a",
"9",
"a++",
"a++",
"a",
"{\n kazu[a] = Integer.parseInt(br.readLine());\n }",
"{\n kazu[a] = Integer.parseInt(br.readLine());\n }",
"kazu[a] = Integer.parseInt(br.readLine())",
"kazu[a]",
"kazu",
"a",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"int n = 10;",
"n",
"10",
"int kari;",
"kari",
"for(int b = 0; b <= n-2; b++){\n int x = b;\n for(int c = b+1; c <= n-1; c++){\n if(kazu[x] < kazu[c]){\n x = c;\n }\n }\n if(x != b){\n kari = kazu[x];\n kazu[x] = kazu[b];\n kazu[b] = kari;\n }\n }",
"int b = 0;",
"int b = 0;",
"b",
"0",
"b <= n-2",
"b",
"n-2",
"n",
"2",
"b++",
"b++",
"b",
"{\n int x = b;\n for(int c = b+1; c <= n-1; c++){\n if(kazu[x] < kazu[c]){\n x = c;\n }\n }\n if(x != b){\n kari = kazu[x];\n kazu[x] = kazu[b];\n kazu[b] = kari;\n }\n }",
"{\n int x = b;\n for(int c = b+1; c <= n-1; c++){\n if(kazu[x] < kazu[c]){\n x = c;\n }\n }\n if(x != b){\n kari = kazu[x];\n kazu[x] = kazu[b];\n kazu[b] = kari;\n }\n }",
"int x = b;",
"x",
"b",
"for(int c = b+1; c <= n-1; c++){\n if(kazu[x] < kazu[c]){\n x = c;\n }\n }",
"int c = b+1;",
"int c = b+1;",
"c",
"b+1",
"b",
"1",
"c <= n-1",
"c",
"n-1",
"n",
"1",
"c++",
"c++",
"c",
"{\n if(kazu[x] < kazu[c]){\n x = c;\n }\n }",
"{\n if(kazu[x] < kazu[c]){\n x = c;\n }\n }",
"if(kazu[x] < kazu[c]){\n x = c;\n }",
"kazu[x] < kazu[c]",
"kazu[x]",
"kazu",
"x",
"kazu[c]",
"kazu",
"c",
"{\n x = c;\n }",
"x = c",
"x",
"c",
"if(x != b){\n kari = kazu[x];\n kazu[x] = kazu[b];\n kazu[b] = kari;\n }",
"x != b",
"x",
"b",
"{\n kari = kazu[x];\n kazu[x] = kazu[b];\n kazu[b] = kari;\n }",
"kari = kazu[x]",
"kari",
"kazu[x]",
"kazu",
"x",
"kazu[x] = kazu[b]",
"kazu[x]",
"kazu",
"x",
"kazu[b]",
"kazu",
"b",
"kazu[b] = kari",
"kazu[b]",
"kazu",
"b",
"kari",
"for(int d = 0; d <= 2; d++){\n System.out.println(kazu[d]);\n }",
"int d = 0;",
"int d = 0;",
"d",
"0",
"d <= 2",
"d",
"2",
"d++",
"d++",
"d",
"{\n System.out.println(kazu[d]);\n }",
"{\n System.out.println(kazu[d]);\n }",
"System.out.println(kazu[d])",
"System.out.println",
"System.out",
"System",
"System.out",
"kazu[d]",
"kazu",
"d",
"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[] kazu = new int[10];\n for(int a = 0; a <= 9; a++){\n kazu[a] = Integer.parseInt(br.readLine());\n }\n int n = 10;\n int kari;\n for(int b = 0; b <= n-2; b++){\n int x = b;\n for(int c = b+1; c <= n-1; c++){\n if(kazu[x] < kazu[c]){\n x = c;\n }\n }\n if(x != b){\n kari = kazu[x];\n kazu[x] = kazu[b];\n kazu[b] = kari;\n }\n }\n for(int d = 0; d <= 2; d++){\n System.out.println(kazu[d]);\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[] kazu = new int[10];\n for(int a = 0; a <= 9; a++){\n kazu[a] = Integer.parseInt(br.readLine());\n }\n int n = 10;\n int kari;\n for(int b = 0; b <= n-2; b++){\n int x = b;\n for(int c = b+1; c <= n-1; c++){\n if(kazu[x] < kazu[c]){\n x = c;\n }\n }\n if(x != b){\n kari = kazu[x];\n kazu[x] = kazu[b];\n kazu[b] = kari;\n }\n }\n for(int d = 0; d <= 2; d++){\n System.out.println(kazu[d]);\n }\n }\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int[] kazu = new int[10];
for(int a = 0; a <= 9; a++){
kazu[a] = Integer.parseInt(br.readLine());
}
int n = 10;
int kari;
for(int b = 0; b <= n-2; b++){
int x = b;
for(int c = b+1; c <= n-1; c++){
if(kazu[x] < kazu[c]){
x = c;
}
}
if(x != b){
kari = kazu[x];
kazu[x] = kazu[b];
kazu[b] = kari;
}
}
for(int d = 0; d <= 2; d++){
System.out.println(kazu[d]);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
67,
5
],
[
67,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t// input\n\t\tfor(int i=0; i<10; i++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\t// sort\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\n\t\t// output\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t// input\n\t\tfor(int i=0; i<10; i++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\t// sort\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\n\t\t// output\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t// input\n\t\tfor(int i=0; i<10; i++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\t// sort\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\n\t\t// output\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\n\t}",
"main",
"{\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t// input\n\t\tfor(int i=0; i<10; i++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\t// sort\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\n\t\t// output\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\n\t}",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(int i=0; i<10; i++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tlist.add(scan.nextInt());\n\t\t}",
"{\n\t\t\tlist.add(scan.nextInt());\n\t\t}",
"list.add(scan.nextInt())",
"list.add",
"list",
"scan.nextInt()",
"scan.nextInt",
"scan",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"for(int i=0; i<3; i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(list.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(list.get(i));\n\t\t}",
"System.out.println(list.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(i)",
"list.get",
"list",
"i",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t// input\n\t\tfor(int i=0; i<10; i++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\t// sort\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\n\t\t// output\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t// input\n\t\tfor(int i=0; i<10; i++){\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\t// sort\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\n\t\t// output\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\n\t}\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args){
List<Integer> list = new ArrayList<Integer>();
Scanner scan = new Scanner(System.in);
// input
for(int i=0; i<10; i++){
list.add(scan.nextInt());
}
// sort
Collections.sort(list);
Collections.reverse(list);
// output
for(int i=0; i<3; i++){
System.out.println(list.get(i));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
78,
8
],
[
78,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
19,
29
],
[
29,
30
],
[
30,
31
],
[
19,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
11,
44
],
[
44,
45
],
[
45,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
11,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
11,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
11,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
9,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int[] array = new int[10];\n for (int i = 0; i < array.length; i++) {\n array[i] = Integer.parseInt(sc.nextLine());\n }\n sc.close();\n\n Arrays.sort(array);\n\n System.out.println(array[9]);\n System.out.println(array[8]);\n System.out.println(array[7]);\n }\n\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int[] array = new int[10];\n for (int i = 0; i < array.length; i++) {\n array[i] = Integer.parseInt(sc.nextLine());\n }\n sc.close();\n\n Arrays.sort(array);\n\n System.out.println(array[9]);\n System.out.println(array[8]);\n System.out.println(array[7]);\n }\n\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int[] array = new int[10];\n for (int i = 0; i < array.length; i++) {\n array[i] = Integer.parseInt(sc.nextLine());\n }\n sc.close();\n\n Arrays.sort(array);\n\n System.out.println(array[9]);\n System.out.println(array[8]);\n System.out.println(array[7]);\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n int[] array = new int[10];\n for (int i = 0; i < array.length; i++) {\n array[i] = Integer.parseInt(sc.nextLine());\n }\n sc.close();\n\n Arrays.sort(array);\n\n System.out.println(array[9]);\n System.out.println(array[8]);\n System.out.println(array[7]);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] array = new int[10];",
"array",
"new int[10]",
"10",
"for (int i = 0; i < array.length; i++) {\n array[i] = Integer.parseInt(sc.nextLine());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n array[i] = Integer.parseInt(sc.nextLine());\n }",
"{\n array[i] = Integer.parseInt(sc.nextLine());\n }",
"array[i] = Integer.parseInt(sc.nextLine())",
"array[i]",
"array",
"i",
"Integer.parseInt(sc.nextLine())",
"Integer.parseInt",
"Integer",
"sc.nextLine()",
"sc.nextLine",
"sc",
"sc.close()",
"sc.close",
"sc",
"Arrays.sort(array)",
"Arrays.sort",
"Arrays",
"array",
"System.out.println(array[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"array[9]",
"array",
"9",
"System.out.println(array[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"array[8]",
"array",
"8",
"System.out.println(array[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"array[7]",
"array",
"7",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int[] array = new int[10];\n for (int i = 0; i < array.length; i++) {\n array[i] = Integer.parseInt(sc.nextLine());\n }\n sc.close();\n\n Arrays.sort(array);\n\n System.out.println(array[9]);\n System.out.println(array[8]);\n System.out.println(array[7]);\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int[] array = new int[10];\n for (int i = 0; i < array.length; i++) {\n array[i] = Integer.parseInt(sc.nextLine());\n }\n sc.close();\n\n Arrays.sort(array);\n\n System.out.println(array[9]);\n System.out.println(array[8]);\n System.out.println(array[7]);\n }\n\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] array = new int[10];
for (int i = 0; i < array.length; i++) {
array[i] = Integer.parseInt(sc.nextLine());
}
sc.close();
Arrays.sort(array);
System.out.println(array[9]);
System.out.println(array[8]);
System.out.println(array[7]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
2,
2,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
64,
64
],
[
64,
65
],
[
64,
66
],
[
64,
67
],
[
6,
68
],
[
68,
69
]
] | [
"import java.util.*;\n\nclass Main{\npublic static void main(String[] args){\nScanner sc=new Scanner(System.in);\nint n=10;\nint[] k=new int[n];\nfor(int i=0;i<n;i++){\nk[i]=sc.nextInt();\n}\nArrays.sort(k);\nfor(int i=0;i<3;i++){\nSystem.out.println(k[n-i-1]);\n}\n}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\npublic static void main(String[] args){\nScanner sc=new Scanner(System.in);\nint n=10;\nint[] k=new int[n];\nfor(int i=0;i<n;i++){\nk[i]=sc.nextInt();\n}\nArrays.sort(k);\nfor(int i=0;i<3;i++){\nSystem.out.println(k[n-i-1]);\n}\n}\n}",
"Main",
"public static void main(String[] args){\nScanner sc=new Scanner(System.in);\nint n=10;\nint[] k=new int[n];\nfor(int i=0;i<n;i++){\nk[i]=sc.nextInt();\n}\nArrays.sort(k);\nfor(int i=0;i<3;i++){\nSystem.out.println(k[n-i-1]);\n}\n}",
"main",
"{\nScanner sc=new Scanner(System.in);\nint n=10;\nint[] k=new int[n];\nfor(int i=0;i<n;i++){\nk[i]=sc.nextInt();\n}\nArrays.sort(k);\nfor(int i=0;i<3;i++){\nSystem.out.println(k[n-i-1]);\n}\n}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n=10;",
"n",
"10",
"int[] k=new int[n];",
"k",
"new int[n]",
"n",
"for(int i=0;i<n;i++){\nk[i]=sc.nextInt();\n}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\nk[i]=sc.nextInt();\n}",
"{\nk[i]=sc.nextInt();\n}",
"k[i]=sc.nextInt()",
"k[i]",
"k",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(k)",
"Arrays.sort",
"Arrays",
"k",
"for(int i=0;i<3;i++){\nSystem.out.println(k[n-i-1]);\n}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\nSystem.out.println(k[n-i-1]);\n}",
"{\nSystem.out.println(k[n-i-1]);\n}",
"System.out.println(k[n-i-1])",
"System.out.println",
"System.out",
"System",
"System.out",
"k[n-i-1]",
"k",
"n-i-1",
"n-i-1",
"n",
"i",
"1",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
int n=10;
int[] k=new int[n];
for(int i=0;i<n;i++){
k[i]=sc.nextInt();
}
Arrays.sort(k);
for(int i=0;i<3;i++){
System.out.println(k[n-i-1]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
0,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
13,
17,
0,
18,
13,
2,
13,
17,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
144,
11
],
[
144,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
17,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
14,
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
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
37,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
14,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
58,
67
],
[
67,
68
],
[
67,
69
],
[
58,
70
],
[
70,
71
],
[
71,
72
],
[
58,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
75,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
95,
97
],
[
88,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
101,
103
],
[
98,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
110,
112
],
[
98,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
116,
118
],
[
113,
119
],
[
14,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
120,
125
],
[
125,
126
],
[
125,
127
],
[
120,
128
],
[
128,
129
],
[
129,
130
],
[
120,
131
],
[
132,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
133,
138
],
[
138,
139
],
[
138,
140
],
[
12,
141
],
[
141,
142
],
[
0,
143
],
[
143,
144
],
[
143,
145
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] a) {\n\t\tBufferedReader br;\n\t\tbr=new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] mountains=new int[10];\n for(int i=0;i<10;i++){\n try {\n String str=br.readLine();\n mountains[i]=Integer.parseInt(str);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\t\tfor(int h=mountains.length-1;h>0;h--){\n\t\t\tfor(int i=1;i<=h;i++){\n\t\t\t\tif(mountains[i]>mountains[i-1]){\n\t\t\t\t\tint tmp=mountains[i];\n\t\t\t\t\tmountains[i]= mountains[i-1];\n\t\t\t\t\tmountains[i-1]=tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(mountains[i]);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] a) {\n\t\tBufferedReader br;\n\t\tbr=new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] mountains=new int[10];\n for(int i=0;i<10;i++){\n try {\n String str=br.readLine();\n mountains[i]=Integer.parseInt(str);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\t\tfor(int h=mountains.length-1;h>0;h--){\n\t\t\tfor(int i=1;i<=h;i++){\n\t\t\t\tif(mountains[i]>mountains[i-1]){\n\t\t\t\t\tint tmp=mountains[i];\n\t\t\t\t\tmountains[i]= mountains[i-1];\n\t\t\t\t\tmountains[i-1]=tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(mountains[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] a) {\n\t\tBufferedReader br;\n\t\tbr=new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] mountains=new int[10];\n for(int i=0;i<10;i++){\n try {\n String str=br.readLine();\n mountains[i]=Integer.parseInt(str);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\t\tfor(int h=mountains.length-1;h>0;h--){\n\t\t\tfor(int i=1;i<=h;i++){\n\t\t\t\tif(mountains[i]>mountains[i-1]){\n\t\t\t\t\tint tmp=mountains[i];\n\t\t\t\t\tmountains[i]= mountains[i-1];\n\t\t\t\t\tmountains[i-1]=tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(mountains[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br;\n\t\tbr=new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] mountains=new int[10];\n for(int i=0;i<10;i++){\n try {\n String str=br.readLine();\n mountains[i]=Integer.parseInt(str);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\t\tfor(int h=mountains.length-1;h>0;h--){\n\t\t\tfor(int i=1;i<=h;i++){\n\t\t\t\tif(mountains[i]>mountains[i-1]){\n\t\t\t\t\tint tmp=mountains[i];\n\t\t\t\t\tmountains[i]= mountains[i-1];\n\t\t\t\t\tmountains[i-1]=tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(mountains[i]);\n\t\t}\n\t}",
"BufferedReader br;",
"br",
"br=new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] mountains=new int[10];",
"mountains",
"new int[10]",
"10",
"for(int i=0;i<10;i++){\n try {\n String str=br.readLine();\n mountains[i]=Integer.parseInt(str);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n try {\n String str=br.readLine();\n mountains[i]=Integer.parseInt(str);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"{\n try {\n String str=br.readLine();\n mountains[i]=Integer.parseInt(str);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n String str=br.readLine();\n mountains[i]=Integer.parseInt(str);\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n String str=br.readLine();\n mountains[i]=Integer.parseInt(str);\n }",
"String str=br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"mountains[i]=Integer.parseInt(str)",
"mountains[i]",
"mountains",
"i",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"for(int h=mountains.length-1;h>0;h--){\n\t\t\tfor(int i=1;i<=h;i++){\n\t\t\t\tif(mountains[i]>mountains[i-1]){\n\t\t\t\t\tint tmp=mountains[i];\n\t\t\t\t\tmountains[i]= mountains[i-1];\n\t\t\t\t\tmountains[i-1]=tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int h=mountains.length-1;",
"int h=mountains.length-1;",
"h",
"mountains.length-1",
"mountains.length",
"mountains",
"mountains.length",
"1",
"h>0",
"h",
"0",
"h--",
"h--",
"h",
"{\n\t\t\tfor(int i=1;i<=h;i++){\n\t\t\t\tif(mountains[i]>mountains[i-1]){\n\t\t\t\t\tint tmp=mountains[i];\n\t\t\t\t\tmountains[i]= mountains[i-1];\n\t\t\t\t\tmountains[i-1]=tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int i=1;i<=h;i++){\n\t\t\t\tif(mountains[i]>mountains[i-1]){\n\t\t\t\t\tint tmp=mountains[i];\n\t\t\t\t\tmountains[i]= mountains[i-1];\n\t\t\t\t\tmountains[i-1]=tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int i=1;i<=h;i++){\n\t\t\t\tif(mountains[i]>mountains[i-1]){\n\t\t\t\t\tint tmp=mountains[i];\n\t\t\t\t\tmountains[i]= mountains[i-1];\n\t\t\t\t\tmountains[i-1]=tmp;\n\t\t\t\t}\n\t\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=h",
"i",
"h",
"i++",
"i++",
"i",
"{\n\t\t\t\tif(mountains[i]>mountains[i-1]){\n\t\t\t\t\tint tmp=mountains[i];\n\t\t\t\t\tmountains[i]= mountains[i-1];\n\t\t\t\t\tmountains[i-1]=tmp;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(mountains[i]>mountains[i-1]){\n\t\t\t\t\tint tmp=mountains[i];\n\t\t\t\t\tmountains[i]= mountains[i-1];\n\t\t\t\t\tmountains[i-1]=tmp;\n\t\t\t\t}\n\t\t\t}",
"if(mountains[i]>mountains[i-1]){\n\t\t\t\t\tint tmp=mountains[i];\n\t\t\t\t\tmountains[i]= mountains[i-1];\n\t\t\t\t\tmountains[i-1]=tmp;\n\t\t\t\t}",
"mountains[i]>mountains[i-1]",
"mountains[i]",
"mountains",
"i",
"mountains[i-1]",
"mountains",
"i-1",
"i",
"1",
"{\n\t\t\t\t\tint tmp=mountains[i];\n\t\t\t\t\tmountains[i]= mountains[i-1];\n\t\t\t\t\tmountains[i-1]=tmp;\n\t\t\t\t}",
"int tmp=mountains[i];",
"tmp",
"mountains[i]",
"mountains",
"i",
"mountains[i]= mountains[i-1]",
"mountains[i]",
"mountains",
"i",
"mountains[i-1]",
"mountains",
"i-1",
"i",
"1",
"mountains[i-1]=tmp",
"mountains[i-1]",
"mountains",
"i-1",
"i",
"1",
"tmp",
"for(int i=0;i<3;i++){\n\t\t\tSystem.out.println(mountains[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(mountains[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(mountains[i]);\n\t\t}",
"System.out.println(mountains[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"mountains[i]",
"mountains",
"i",
"String[] a",
"a",
"public class Main {\n\tpublic static void main(String[] a) {\n\t\tBufferedReader br;\n\t\tbr=new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] mountains=new int[10];\n for(int i=0;i<10;i++){\n try {\n String str=br.readLine();\n mountains[i]=Integer.parseInt(str);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\t\tfor(int h=mountains.length-1;h>0;h--){\n\t\t\tfor(int i=1;i<=h;i++){\n\t\t\t\tif(mountains[i]>mountains[i-1]){\n\t\t\t\t\tint tmp=mountains[i];\n\t\t\t\t\tmountains[i]= mountains[i-1];\n\t\t\t\t\tmountains[i-1]=tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(mountains[i]);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] a) {\n\t\tBufferedReader br;\n\t\tbr=new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] mountains=new int[10];\n for(int i=0;i<10;i++){\n try {\n String str=br.readLine();\n mountains[i]=Integer.parseInt(str);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\t\tfor(int h=mountains.length-1;h>0;h--){\n\t\t\tfor(int i=1;i<=h;i++){\n\t\t\t\tif(mountains[i]>mountains[i-1]){\n\t\t\t\t\tint tmp=mountains[i];\n\t\t\t\t\tmountains[i]= mountains[i-1];\n\t\t\t\t\tmountains[i-1]=tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(mountains[i]);\n\t\t}\n\t}\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] a) {
BufferedReader br;
br=new BufferedReader(new InputStreamReader(System.in));
int[] mountains=new int[10];
for(int i=0;i<10;i++){
try {
String str=br.readLine();
mountains[i]=Integer.parseInt(str);
} catch (IOException e) {
e.printStackTrace();
}
}
for(int h=mountains.length-1;h>0;h--){
for(int i=1;i<=h;i++){
if(mountains[i]>mountains[i-1]){
int tmp=mountains[i];
mountains[i]= mountains[i-1];
mountains[i-1]=tmp;
}
}
}
for(int i=0;i<3;i++){
System.out.println(mountains[i]);
}
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
4,
18,
13,
4,
18,
13,
4,
18,
18,
18,
13,
13,
13,
13,
4,
18,
18,
18,
13,
13,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
9,
11
],
[
5,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
5,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
23,
30
],
[
5,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
31,
38
],
[
5,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
3,
61
],
[
61,
62
]
] | [
"\nclass Main\n{\n\tpublic static void main(String[] av)\n\t{\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tjava.util.ArrayList<Integer> vec = new java.util.ArrayList<Integer>();\n\t\twhile( sc.hasNextInt() )\n\t\t{\n\t\t\tvec.add( sc.nextInt() );\t\n\t\t}\n\t\tjava.util.Collections.sort( vec );\n\t\tjava.util.Collections.reverse( vec );\n\t\tfor ( int i = 0; i < 3; ++i )\n\t\t{\n\t\t\tSystem.out.println( vec.get(i) );\n\t\t}\n\t}\n}",
"class Main\n{\n\tpublic static void main(String[] av)\n\t{\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tjava.util.ArrayList<Integer> vec = new java.util.ArrayList<Integer>();\n\t\twhile( sc.hasNextInt() )\n\t\t{\n\t\t\tvec.add( sc.nextInt() );\t\n\t\t}\n\t\tjava.util.Collections.sort( vec );\n\t\tjava.util.Collections.reverse( vec );\n\t\tfor ( int i = 0; i < 3; ++i )\n\t\t{\n\t\t\tSystem.out.println( vec.get(i) );\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] av)\n\t{\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tjava.util.ArrayList<Integer> vec = new java.util.ArrayList<Integer>();\n\t\twhile( sc.hasNextInt() )\n\t\t{\n\t\t\tvec.add( sc.nextInt() );\t\n\t\t}\n\t\tjava.util.Collections.sort( vec );\n\t\tjava.util.Collections.reverse( vec );\n\t\tfor ( int i = 0; i < 3; ++i )\n\t\t{\n\t\t\tSystem.out.println( vec.get(i) );\n\t\t}\n\t}",
"main",
"{\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tjava.util.ArrayList<Integer> vec = new java.util.ArrayList<Integer>();\n\t\twhile( sc.hasNextInt() )\n\t\t{\n\t\t\tvec.add( sc.nextInt() );\t\n\t\t}\n\t\tjava.util.Collections.sort( vec );\n\t\tjava.util.Collections.reverse( vec );\n\t\tfor ( int i = 0; i < 3; ++i )\n\t\t{\n\t\t\tSystem.out.println( vec.get(i) );\n\t\t}\n\t}",
"java.util.Scanner sc = new java.util.Scanner(System.in);",
"sc",
"new java.util.Scanner(System.in)",
"java.util.ArrayList<Integer> vec = new java.util.ArrayList<Integer>();",
"vec",
"new java.util.ArrayList<Integer>()",
"while( sc.hasNextInt() )\n\t\t{\n\t\t\tvec.add( sc.nextInt() );\t\n\t\t}",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n\t\t\tvec.add( sc.nextInt() );\t\n\t\t}",
"vec.add( sc.nextInt() )",
"vec.add",
"vec",
"sc.nextInt()",
"sc.nextInt",
"sc",
"java.util.Collections.sort( vec )",
"java.util.Collections.sort",
"java.util.Collections",
"java.util",
"java",
"java.util",
"java.util.Collections",
"vec",
"java.util.Collections.reverse( vec )",
"java.util.Collections.reverse",
"java.util.Collections",
"java.util",
"java",
"java.util",
"java.util.Collections",
"vec",
"for ( int i = 0; i < 3; ++i )\n\t\t{\n\t\t\tSystem.out.println( vec.get(i) );\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"++i",
"++i",
"i",
"{\n\t\t\tSystem.out.println( vec.get(i) );\n\t\t}",
"{\n\t\t\tSystem.out.println( vec.get(i) );\n\t\t}",
"System.out.println( vec.get(i) )",
"System.out.println",
"System.out",
"System",
"System.out",
"vec.get(i)",
"vec.get",
"vec",
"i",
"String[] av",
"av"
] |
class Main
{
public static void main(String[] av)
{
java.util.Scanner sc = new java.util.Scanner(System.in);
java.util.ArrayList<Integer> vec = new java.util.ArrayList<Integer>();
while( sc.hasNextInt() )
{
vec.add( sc.nextInt() );
}
java.util.Collections.sort( vec );
java.util.Collections.reverse( vec );
for ( int i = 0; i < 3; ++i )
{
System.out.println( vec.get(i) );
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
69,
8
],
[
69,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
11,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
11,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
9,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[]args) {\n\t\tint higth[] = new int[10];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(int i=0; i<10 ; i++)higth[i]=sc.nextInt();//入力を10回繰り返す\n\t\tArrays.sort(higth);\n\t\tSystem.out.println(higth[9]);\n\t\tSystem.out.println(higth[8]);\n\t\tSystem.out.println(higth[7]);\n\n\t}\n\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[]args) {\n\t\tint higth[] = new int[10];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(int i=0; i<10 ; i++)higth[i]=sc.nextInt();//入力を10回繰り返す\n\t\tArrays.sort(higth);\n\t\tSystem.out.println(higth[9]);\n\t\tSystem.out.println(higth[8]);\n\t\tSystem.out.println(higth[7]);\n\n\t}\n\n}",
"Main",
"public static void main(String[]args) {\n\t\tint higth[] = new int[10];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(int i=0; i<10 ; i++)higth[i]=sc.nextInt();//入力を10回繰り返す\n\t\tArrays.sort(higth);\n\t\tSystem.out.println(higth[9]);\n\t\tSystem.out.println(higth[8]);\n\t\tSystem.out.println(higth[7]);\n\n\t}",
"main",
"{\n\t\tint higth[] = new int[10];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(int i=0; i<10 ; i++)higth[i]=sc.nextInt();//入力を10回繰り返す\n\t\tArrays.sort(higth);\n\t\tSystem.out.println(higth[9]);\n\t\tSystem.out.println(higth[8]);\n\t\tSystem.out.println(higth[7]);\n\n\t}",
"int higth[] = new int[10];",
"higth",
"new int[10]",
"10",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i=0; i<10 ; i++)higth[i]=sc.nextInt();//入力を10回繰り返す",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"higth[i]=sc.nextInt();//入力を10回繰り返す",
"higth[i]=sc.nextInt()",
"higth[i]",
"higth",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(higth)",
"Arrays.sort",
"Arrays",
"higth",
"System.out.println(higth[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"higth[9]",
"higth",
"9",
"System.out.println(higth[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"higth[8]",
"higth",
"8",
"System.out.println(higth[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"higth[7]",
"higth",
"7",
"String[]args",
"args",
"public class Main{\n\tpublic static void main(String[]args) {\n\t\tint higth[] = new int[10];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(int i=0; i<10 ; i++)higth[i]=sc.nextInt();//入力を10回繰り返す\n\t\tArrays.sort(higth);\n\t\tSystem.out.println(higth[9]);\n\t\tSystem.out.println(higth[8]);\n\t\tSystem.out.println(higth[7]);\n\n\t}\n\n}",
"public class Main{\n\tpublic static void main(String[]args) {\n\t\tint higth[] = new int[10];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(int i=0; i<10 ; i++)higth[i]=sc.nextInt();//入力を10回繰り返す\n\t\tArrays.sort(higth);\n\t\tSystem.out.println(higth[9]);\n\t\tSystem.out.println(higth[8]);\n\t\tSystem.out.println(higth[7]);\n\n\t}\n\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main{
public static void main(String[]args) {
int higth[] = new int[10];
Scanner sc = new Scanner(System.in);
for(int i=0; i<10 ; i++)higth[i]=sc.nextInt();//入力を10回繰り返す
Arrays.sort(higth);
System.out.println(higth[9]);
System.out.println(higth[8]);
System.out.println(higth[7]);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
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
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
11,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
9,
64
],
[
64,
65
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\nclass Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] str = new int[10];\n\t\t\n\t\tfor(int i=0; i<10; i++){\n\t\t\tstr[i] = scan.nextInt();\n\t\t}\n\t\tArrays.sort(str);\n\t\tfor(int j=9; j>6; j--){\n\t\t\tSystem.out.println(str[j]);\n\t\t}\n\t}\n} ",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] str = new int[10];\n\t\t\n\t\tfor(int i=0; i<10; i++){\n\t\t\tstr[i] = scan.nextInt();\n\t\t}\n\t\tArrays.sort(str);\n\t\tfor(int j=9; j>6; j--){\n\t\t\tSystem.out.println(str[j]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] str = new int[10];\n\t\t\n\t\tfor(int i=0; i<10; i++){\n\t\t\tstr[i] = scan.nextInt();\n\t\t}\n\t\tArrays.sort(str);\n\t\tfor(int j=9; j>6; j--){\n\t\t\tSystem.out.println(str[j]);\n\t\t}\n\t}",
"main",
"{\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] str = new int[10];\n\t\t\n\t\tfor(int i=0; i<10; i++){\n\t\t\tstr[i] = scan.nextInt();\n\t\t}\n\t\tArrays.sort(str);\n\t\tfor(int j=9; j>6; j--){\n\t\t\tSystem.out.println(str[j]);\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] str = new int[10];",
"str",
"new int[10]",
"10",
"for(int i=0; i<10; i++){\n\t\t\tstr[i] = scan.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tstr[i] = scan.nextInt();\n\t\t}",
"{\n\t\t\tstr[i] = scan.nextInt();\n\t\t}",
"str[i] = scan.nextInt()",
"str[i]",
"str",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"Arrays.sort(str)",
"Arrays.sort",
"Arrays",
"str",
"for(int j=9; j>6; j--){\n\t\t\tSystem.out.println(str[j]);\n\t\t}",
"int j=9;",
"int j=9;",
"j",
"9",
"j>6",
"j",
"6",
"j--",
"j--",
"j",
"{\n\t\t\tSystem.out.println(str[j]);\n\t\t}",
"{\n\t\t\tSystem.out.println(str[j]);\n\t\t}",
"System.out.println(str[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"str[j]",
"str",
"j",
"String[] args",
"args"
] | import java.util.Arrays;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int[] str = new int[10];
for(int i=0; i<10; i++){
str[i] = scan.nextInt();
}
Arrays.sort(str);
for(int j=9; j>6; j--){
System.out.println(str[j]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
76,
14
],
[
76,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
17,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
17,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
15,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\npublic class Main{\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint heights[] = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theights[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\t\n\t\tArrays.sort(heights);\n\t\t\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\tSystem.out.println(heights[i]);\n\t\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint heights[] = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theights[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\t\n\t\tArrays.sort(heights);\n\t\t\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\tSystem.out.println(heights[i]);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint heights[] = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theights[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\t\n\t\tArrays.sort(heights);\n\t\t\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\tSystem.out.println(heights[i]);\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint heights[] = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theights[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\t\n\t\tArrays.sort(heights);\n\t\t\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\tSystem.out.println(heights[i]);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int heights[] = new int[10];",
"heights",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++) {\n\t\t\theights[i] = Integer.parseInt(br.readLine());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\theights[i] = Integer.parseInt(br.readLine());\n\t\t}",
"{\n\t\t\theights[i] = Integer.parseInt(br.readLine());\n\t\t}",
"heights[i] = Integer.parseInt(br.readLine())",
"heights[i]",
"heights",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(heights)",
"Arrays.sort",
"Arrays",
"heights",
"for (int i = 9; i >= 7; i--) {\n\t\t\tSystem.out.println(heights[i]);\n\t\t}",
"int i = 9;",
"int i = 9;",
"i",
"9",
"i >= 7",
"i",
"7",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.println(heights[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(heights[i]);\n\t\t}",
"System.out.println(heights[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"heights[i]",
"heights",
"i",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint heights[] = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theights[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\t\n\t\tArrays.sort(heights);\n\t\t\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\tSystem.out.println(heights[i]);\n\t\t}\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint heights[] = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theights[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\t\n\t\tArrays.sort(heights);\n\t\t\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\tSystem.out.println(heights[i]);\n\t\t}\n\t}\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main{
public static void main(String[] args) throws NumberFormatException, IOException {
// TODO Auto-generated method stub
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int heights[] = new int[10];
for (int i = 0; i < 10; i++) {
heights[i] = Integer.parseInt(br.readLine());
}
Arrays.sort(heights);
for (int i = 9; i >= 7; i--) {
System.out.println(heights[i]);
}
}
} |
Subsets and Splits