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,
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,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
2,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
41,
13,
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,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
123,
5
],
[
123,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
38,
50
],
[
50,
51
],
[
51,
52
],
[
38,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
55,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
55,
67
],
[
67,
68
],
[
68,
69
],
[
55,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
80,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
80,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
8,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
105,
106
],
[
105,
107
],
[
100,
108
],
[
108,
109
],
[
109,
110
],
[
100,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
117,
118
],
[
117,
119
],
[
6,
120
],
[
120,
121
],
[
0,
122
],
[
122,
123
],
[
122,
124
]
] | [
"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[] mtn = new int[10];\n\t\tfor(int i = 0; i<mtn.length; i++){\n\t\t\tmtn[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i<mtn.length-1; i++){\n\t\t\tfor(int j = i+1; j<mtn.length; j++){\n\t\t\t\tif(mtn[i] < mtn[j]){\n\t\t\t\t\tint tmp;\n\t\t\t\t\ttmp = mtn[i];\n\t\t\t\t\tmtn[i] = mtn[j];\n\t\t\t\t\tmtn[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(mtn[i]);\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[] mtn = new int[10];\n\t\tfor(int i = 0; i<mtn.length; i++){\n\t\t\tmtn[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i<mtn.length-1; i++){\n\t\t\tfor(int j = i+1; j<mtn.length; j++){\n\t\t\t\tif(mtn[i] < mtn[j]){\n\t\t\t\t\tint tmp;\n\t\t\t\t\ttmp = mtn[i];\n\t\t\t\t\tmtn[i] = mtn[j];\n\t\t\t\t\tmtn[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(mtn[i]);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] mtn = new int[10];\n\t\tfor(int i = 0; i<mtn.length; i++){\n\t\t\tmtn[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i<mtn.length-1; i++){\n\t\t\tfor(int j = i+1; j<mtn.length; j++){\n\t\t\t\tif(mtn[i] < mtn[j]){\n\t\t\t\t\tint tmp;\n\t\t\t\t\ttmp = mtn[i];\n\t\t\t\t\tmtn[i] = mtn[j];\n\t\t\t\t\tmtn[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(mtn[i]);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] mtn = new int[10];\n\t\tfor(int i = 0; i<mtn.length; i++){\n\t\t\tmtn[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i<mtn.length-1; i++){\n\t\t\tfor(int j = i+1; j<mtn.length; j++){\n\t\t\t\tif(mtn[i] < mtn[j]){\n\t\t\t\t\tint tmp;\n\t\t\t\t\ttmp = mtn[i];\n\t\t\t\t\tmtn[i] = mtn[j];\n\t\t\t\t\tmtn[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(mtn[i]);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] mtn = new int[10];",
"mtn",
"new int[10]",
"10",
"for(int i = 0; i<mtn.length; i++){\n\t\t\tmtn[i] = sc.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<mtn.length",
"i",
"mtn.length",
"mtn",
"mtn.length",
"i++",
"i++",
"i",
"{\n\t\t\tmtn[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tmtn[i] = sc.nextInt();\n\t\t}",
"mtn[i] = sc.nextInt()",
"mtn[i]",
"mtn",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i = 0; i<mtn.length-1; i++){\n\t\t\tfor(int j = i+1; j<mtn.length; j++){\n\t\t\t\tif(mtn[i] < mtn[j]){\n\t\t\t\t\tint tmp;\n\t\t\t\t\ttmp = mtn[i];\n\t\t\t\t\tmtn[i] = mtn[j];\n\t\t\t\t\tmtn[j] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<mtn.length-1",
"i",
"mtn.length-1",
"mtn.length",
"mtn",
"mtn.length",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = i+1; j<mtn.length; j++){\n\t\t\t\tif(mtn[i] < mtn[j]){\n\t\t\t\t\tint tmp;\n\t\t\t\t\ttmp = mtn[i];\n\t\t\t\t\tmtn[i] = mtn[j];\n\t\t\t\t\tmtn[j] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int j = i+1; j<mtn.length; j++){\n\t\t\t\tif(mtn[i] < mtn[j]){\n\t\t\t\t\tint tmp;\n\t\t\t\t\ttmp = mtn[i];\n\t\t\t\t\tmtn[i] = mtn[j];\n\t\t\t\t\tmtn[j] = tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int j = i+1; j<mtn.length; j++){\n\t\t\t\tif(mtn[i] < mtn[j]){\n\t\t\t\t\tint tmp;\n\t\t\t\t\ttmp = mtn[i];\n\t\t\t\t\tmtn[i] = mtn[j];\n\t\t\t\t\tmtn[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<mtn.length",
"j",
"mtn.length",
"mtn",
"mtn.length",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(mtn[i] < mtn[j]){\n\t\t\t\t\tint tmp;\n\t\t\t\t\ttmp = mtn[i];\n\t\t\t\t\tmtn[i] = mtn[j];\n\t\t\t\t\tmtn[j] = tmp;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(mtn[i] < mtn[j]){\n\t\t\t\t\tint tmp;\n\t\t\t\t\ttmp = mtn[i];\n\t\t\t\t\tmtn[i] = mtn[j];\n\t\t\t\t\tmtn[j] = tmp;\n\t\t\t\t}\n\t\t\t}",
"if(mtn[i] < mtn[j]){\n\t\t\t\t\tint tmp;\n\t\t\t\t\ttmp = mtn[i];\n\t\t\t\t\tmtn[i] = mtn[j];\n\t\t\t\t\tmtn[j] = tmp;\n\t\t\t\t}",
"mtn[i] < mtn[j]",
"mtn[i]",
"mtn",
"i",
"mtn[j]",
"mtn",
"j",
"{\n\t\t\t\t\tint tmp;\n\t\t\t\t\ttmp = mtn[i];\n\t\t\t\t\tmtn[i] = mtn[j];\n\t\t\t\t\tmtn[j] = tmp;\n\t\t\t\t}",
"int tmp;",
"tmp",
"tmp = mtn[i]",
"tmp",
"mtn[i]",
"mtn",
"i",
"mtn[i] = mtn[j]",
"mtn[i]",
"mtn",
"i",
"mtn[j]",
"mtn",
"j",
"mtn[j] = tmp",
"mtn[j]",
"mtn",
"j",
"tmp",
"for(int i = 0; i<3; i++)\n\t\t\tSystem.out.println(mtn[i]);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"System.out.println(mtn[i]);",
"System.out.println(mtn[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"mtn[i]",
"mtn",
"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[] mtn = new int[10];\n\t\tfor(int i = 0; i<mtn.length; i++){\n\t\t\tmtn[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i<mtn.length-1; i++){\n\t\t\tfor(int j = i+1; j<mtn.length; j++){\n\t\t\t\tif(mtn[i] < mtn[j]){\n\t\t\t\t\tint tmp;\n\t\t\t\t\ttmp = mtn[i];\n\t\t\t\t\tmtn[i] = mtn[j];\n\t\t\t\t\tmtn[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(mtn[i]);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] mtn = new int[10];\n\t\tfor(int i = 0; i<mtn.length; i++){\n\t\t\tmtn[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i<mtn.length-1; i++){\n\t\t\tfor(int j = i+1; j<mtn.length; j++){\n\t\t\t\tif(mtn[i] < mtn[j]){\n\t\t\t\t\tint tmp;\n\t\t\t\t\ttmp = mtn[i];\n\t\t\t\t\tmtn[i] = mtn[j];\n\t\t\t\t\tmtn[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(mtn[i]);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int[] mtn = new int[10];
for(int i = 0; i<mtn.length; i++){
mtn[i] = sc.nextInt();
}
for(int i = 0; i<mtn.length-1; i++){
for(int j = i+1; j<mtn.length; j++){
if(mtn[i] < mtn[j]){
int tmp;
tmp = mtn[i];
mtn[i] = mtn[j];
mtn[j] = tmp;
}
}
}
for(int i = 0; i<3; i++)
System.out.println(mtn[i]);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
20,
23,
13,
12,
13,
30,
4,
18,
20,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
73,
5
],
[
73,
6
],
[
6,
7
],
[
6,
8
],
[
73,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
9,
13
],
[
13,
14
],
[
73,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
73,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
25,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
25,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
47,
51
],
[
43,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
54,
58
],
[
43,
59
],
[
59,
60
],
[
60,
61
],
[
43,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
] | [
"import java.util.*;\n\npublic class Main {\n Scanner in = new Scanner(System.in);\n public static void main(String[] args) {\n new Main();\n }\n\n public Main(){\n \tnew AOJ().doIt();\n }\n \n class AOJ{\n \tvoid doIt(){\n \t\tArrayList<Integer> list = new ArrayList<Integer>();\n \t\twhile(in.hasNext())list.add(in.nextInt());\n \t\tCollections.sort(list);\n \t\tfor(int i=list.size()-1;i>=list.size()-3;i--)System.out.println(list.get(i));\n \t\t\n \t}\n }\n \n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n Scanner in = new Scanner(System.in);\n public static void main(String[] args) {\n new Main();\n }\n\n public Main(){\n \tnew AOJ().doIt();\n }\n \n class AOJ{\n \tvoid doIt(){\n \t\tArrayList<Integer> list = new ArrayList<Integer>();\n \t\twhile(in.hasNext())list.add(in.nextInt());\n \t\tCollections.sort(list);\n \t\tfor(int i=list.size()-1;i>=list.size()-3;i--)System.out.println(list.get(i));\n \t\t\n \t}\n }\n \n}",
"Main",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"public static void main(String[] args) {\n new Main();\n }",
"main",
"{\n new Main();\n }",
"new Main()",
"String[] args",
"args",
"public Main(){\n \tnew AOJ().doIt();\n }",
"Main",
"{\n \tnew AOJ().doIt();\n }",
"new AOJ().doIt()",
"new AOJ().doIt",
"new AOJ()",
"class AOJ{\n \tvoid doIt(){\n \t\tArrayList<Integer> list = new ArrayList<Integer>();\n \t\twhile(in.hasNext())list.add(in.nextInt());\n \t\tCollections.sort(list);\n \t\tfor(int i=list.size()-1;i>=list.size()-3;i--)System.out.println(list.get(i));\n \t\t\n \t}\n }",
"AOJ",
"void doIt(){\n \t\tArrayList<Integer> list = new ArrayList<Integer>();\n \t\twhile(in.hasNext())list.add(in.nextInt());\n \t\tCollections.sort(list);\n \t\tfor(int i=list.size()-1;i>=list.size()-3;i--)System.out.println(list.get(i));\n \t\t\n \t}",
"doIt",
"{\n \t\tArrayList<Integer> list = new ArrayList<Integer>();\n \t\twhile(in.hasNext())list.add(in.nextInt());\n \t\tCollections.sort(list);\n \t\tfor(int i=list.size()-1;i>=list.size()-3;i--)System.out.println(list.get(i));\n \t\t\n \t}",
"ArrayList<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"while(in.hasNext())list.add(in.nextInt());",
"in.hasNext()",
"in.hasNext",
"in",
"list.add(in.nextInt())",
"list.add",
"list",
"in.nextInt()",
"in.nextInt",
"in",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"for(int i=list.size()-1;i>=list.size()-3;i--)System.out.println(list.get(i));",
"int i=list.size()-1;",
"int i=list.size()-1;",
"i",
"list.size()-1",
"list.size()",
"list.size",
"list",
"1",
"i>=list.size()-3",
"i",
"list.size()-3",
"list.size()",
"list.size",
"list",
"3",
"i--",
"i--",
"i",
"System.out.println(list.get(i));",
"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 Scanner in = new Scanner(System.in);\n public static void main(String[] args) {\n new Main();\n }\n\n public Main(){\n \tnew AOJ().doIt();\n }\n \n class AOJ{\n \tvoid doIt(){\n \t\tArrayList<Integer> list = new ArrayList<Integer>();\n \t\twhile(in.hasNext())list.add(in.nextInt());\n \t\tCollections.sort(list);\n \t\tfor(int i=list.size()-1;i>=list.size()-3;i--)System.out.println(list.get(i));\n \t\t\n \t}\n }\n \n}",
"public class Main {\n Scanner in = new Scanner(System.in);\n public static void main(String[] args) {\n new Main();\n }\n\n public Main(){\n \tnew AOJ().doIt();\n }\n \n class AOJ{\n \tvoid doIt(){\n \t\tArrayList<Integer> list = new ArrayList<Integer>();\n \t\twhile(in.hasNext())list.add(in.nextInt());\n \t\tCollections.sort(list);\n \t\tfor(int i=list.size()-1;i>=list.size()-3;i--)System.out.println(list.get(i));\n \t\t\n \t}\n }\n \n}",
"Main"
] | import java.util.*;
public class Main {
Scanner in = new Scanner(System.in);
public static void main(String[] args) {
new Main();
}
public Main(){
new AOJ().doIt();
}
class AOJ{
void doIt(){
ArrayList<Integer> list = new ArrayList<Integer>();
while(in.hasNext())list.add(in.nextInt());
Collections.sort(list);
for(int i=list.size()-1;i>=list.size()-3;i--)System.out.println(list.get(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,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
13,
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,
13,
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
],
[
123,
5
],
[
123,
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
],
[
33,
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
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
55,
62
],
[
62,
63
],
[
62,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
55,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
51,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
51,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
91,
93
],
[
51,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
8,
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
],
[
117,
119
],
[
6,
120
],
[
120,
121
],
[
0,
122
],
[
122,
123
],
[
122,
124
]
] | [
"import java.io.*;\n\npublic class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] data = new int[10];\n\n for(int i=0; i<10; i++){\n data[i] = Integer.parseInt(br.readLine());\n }\n for(int i=0; i<3; i++){\n int maxIndex = i;\n for(int k=i+1; k<10; k++){\n if(data[maxIndex] < data[k]){\n maxIndex = k;\n }\n }\n int tmp = data[maxIndex];\n data[maxIndex] = data[i];\n data[i] = tmp;\n }\n for(int i=0; i<3; i++){\n System.out.println(data[i]);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] data = new int[10];\n\n for(int i=0; i<10; i++){\n data[i] = Integer.parseInt(br.readLine());\n }\n for(int i=0; i<3; i++){\n int maxIndex = i;\n for(int k=i+1; k<10; k++){\n if(data[maxIndex] < data[k]){\n maxIndex = k;\n }\n }\n int tmp = data[maxIndex];\n data[maxIndex] = data[i];\n data[i] = tmp;\n }\n for(int i=0; i<3; i++){\n System.out.println(data[i]);\n }\n }\n}",
"Main",
"public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] data = new int[10];\n\n for(int i=0; i<10; i++){\n data[i] = Integer.parseInt(br.readLine());\n }\n for(int i=0; i<3; i++){\n int maxIndex = i;\n for(int k=i+1; k<10; k++){\n if(data[maxIndex] < data[k]){\n maxIndex = k;\n }\n }\n int tmp = data[maxIndex];\n data[maxIndex] = data[i];\n data[i] = tmp;\n }\n for(int i=0; i<3; i++){\n System.out.println(data[i]);\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int[] data = new int[10];\n\n for(int i=0; i<10; i++){\n data[i] = Integer.parseInt(br.readLine());\n }\n for(int i=0; i<3; i++){\n int maxIndex = i;\n for(int k=i+1; k<10; k++){\n if(data[maxIndex] < data[k]){\n maxIndex = k;\n }\n }\n int tmp = data[maxIndex];\n data[maxIndex] = data[i];\n data[i] = tmp;\n }\n for(int i=0; i<3; i++){\n System.out.println(data[i]);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] data = new int[10];",
"data",
"new int[10]",
"10",
"for(int i=0; i<10; i++){\n data[i] = Integer.parseInt(br.readLine());\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n data[i] = Integer.parseInt(br.readLine());\n }",
"{\n data[i] = Integer.parseInt(br.readLine());\n }",
"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<3; i++){\n int maxIndex = i;\n for(int k=i+1; k<10; k++){\n if(data[maxIndex] < data[k]){\n maxIndex = k;\n }\n }\n int tmp = data[maxIndex];\n data[maxIndex] = data[i];\n data[i] = tmp;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n int maxIndex = i;\n for(int k=i+1; k<10; k++){\n if(data[maxIndex] < data[k]){\n maxIndex = k;\n }\n }\n int tmp = data[maxIndex];\n data[maxIndex] = data[i];\n data[i] = tmp;\n }",
"{\n int maxIndex = i;\n for(int k=i+1; k<10; k++){\n if(data[maxIndex] < data[k]){\n maxIndex = k;\n }\n }\n int tmp = data[maxIndex];\n data[maxIndex] = data[i];\n data[i] = tmp;\n }",
"int maxIndex = i;",
"maxIndex",
"i",
"for(int k=i+1; k<10; k++){\n if(data[maxIndex] < data[k]){\n maxIndex = k;\n }\n }",
"int k=i+1;",
"int k=i+1;",
"k",
"i+1",
"i",
"1",
"k<10",
"k",
"10",
"k++",
"k++",
"k",
"{\n if(data[maxIndex] < data[k]){\n maxIndex = k;\n }\n }",
"{\n if(data[maxIndex] < data[k]){\n maxIndex = k;\n }\n }",
"if(data[maxIndex] < data[k]){\n maxIndex = k;\n }",
"data[maxIndex] < data[k]",
"data[maxIndex]",
"data",
"maxIndex",
"data[k]",
"data",
"k",
"{\n maxIndex = k;\n }",
"maxIndex = k",
"maxIndex",
"k",
"int tmp = data[maxIndex];",
"tmp",
"data[maxIndex]",
"data",
"maxIndex",
"data[maxIndex] = data[i]",
"data[maxIndex]",
"data",
"maxIndex",
"data[i]",
"data",
"i",
"data[i] = tmp",
"data[i]",
"data",
"i",
"tmp",
"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[]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[] data = new int[10];\n\n for(int i=0; i<10; i++){\n data[i] = Integer.parseInt(br.readLine());\n }\n for(int i=0; i<3; i++){\n int maxIndex = i;\n for(int k=i+1; k<10; k++){\n if(data[maxIndex] < data[k]){\n maxIndex = k;\n }\n }\n int tmp = data[maxIndex];\n data[maxIndex] = data[i];\n data[i] = tmp;\n }\n for(int i=0; i<3; i++){\n System.out.println(data[i]);\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[] data = new int[10];\n\n for(int i=0; i<10; i++){\n data[i] = Integer.parseInt(br.readLine());\n }\n for(int i=0; i<3; i++){\n int maxIndex = i;\n for(int k=i+1; k<10; k++){\n if(data[maxIndex] < data[k]){\n maxIndex = k;\n }\n }\n int tmp = data[maxIndex];\n data[maxIndex] = data[i];\n data[i] = tmp;\n }\n for(int i=0; i<3; i++){\n System.out.println(data[i]);\n }\n }\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[]args)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int[] data = new int[10];
for(int i=0; i<10; i++){
data[i] = Integer.parseInt(br.readLine());
}
for(int i=0; i<3; i++){
int maxIndex = i;
for(int k=i+1; k<10; k++){
if(data[maxIndex] < data[k]){
maxIndex = k;
}
}
int tmp = data[maxIndex];
data[maxIndex] = data[i];
data[i] = tmp;
}
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,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
11,
1,
41,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
3,
14,
2,
18,
13,
13,
13,
30,
0,
18,
13,
2,
13,
17,
13,
3,
0,
18,
13,
2,
13,
17,
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
],
[
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,
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
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
57,
64
],
[
64,
65
],
[
65,
66
],
[
57,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
68,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
75,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
82,
88
],
[
81,
89
],
[
68,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
90,
96
],
[
96,
97
],
[
96,
98
],
[
68,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
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
],
[
0,
127
],
[
127,
128
],
[
127,
129
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = 10;\n int[] ary = new int[n];\n for (int i = 0; i < n; i++) {\n ary[i] = sc.nextInt();\n }\n \n for (int i = 1; i < n; i++) {\n int value = ary[i];\n for (int j = i-1;; j--) {\n if (j < 0) {\n break;\n }\n if (ary[j] >= value) {\n ary[j+1] = value;\n break;\n }\n ary[j+1] = ary[j];\n ary[j] = value;\n }\n }\n for (int i = 0; i < 3; i++) {\n System.out.println(ary[i]);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = 10;\n int[] ary = new int[n];\n for (int i = 0; i < n; i++) {\n ary[i] = sc.nextInt();\n }\n \n for (int i = 1; i < n; i++) {\n int value = ary[i];\n for (int j = i-1;; j--) {\n if (j < 0) {\n break;\n }\n if (ary[j] >= value) {\n ary[j+1] = value;\n break;\n }\n ary[j+1] = ary[j];\n ary[j] = value;\n }\n }\n for (int i = 0; i < 3; i++) {\n System.out.println(ary[i]);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = 10;\n int[] ary = new int[n];\n for (int i = 0; i < n; i++) {\n ary[i] = sc.nextInt();\n }\n \n for (int i = 1; i < n; i++) {\n int value = ary[i];\n for (int j = i-1;; j--) {\n if (j < 0) {\n break;\n }\n if (ary[j] >= value) {\n ary[j+1] = value;\n break;\n }\n ary[j+1] = ary[j];\n ary[j] = value;\n }\n }\n for (int i = 0; i < 3; i++) {\n System.out.println(ary[i]);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = 10;\n int[] ary = new int[n];\n for (int i = 0; i < n; i++) {\n ary[i] = sc.nextInt();\n }\n \n for (int i = 1; i < n; i++) {\n int value = ary[i];\n for (int j = i-1;; j--) {\n if (j < 0) {\n break;\n }\n if (ary[j] >= value) {\n ary[j+1] = value;\n break;\n }\n ary[j+1] = ary[j];\n ary[j] = value;\n }\n }\n for (int i = 0; i < 3; i++) {\n System.out.println(ary[i]);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = 10;",
"n",
"10",
"int[] ary = new int[n];",
"ary",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n ary[i] = sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n ary[i] = sc.nextInt();\n }",
"{\n ary[i] = sc.nextInt();\n }",
"ary[i] = sc.nextInt()",
"ary[i]",
"ary",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int i = 1; i < n; i++) {\n int value = ary[i];\n for (int j = i-1;; j--) {\n if (j < 0) {\n break;\n }\n if (ary[j] >= value) {\n ary[j+1] = value;\n break;\n }\n ary[j+1] = ary[j];\n ary[j] = value;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n int value = ary[i];\n for (int j = i-1;; j--) {\n if (j < 0) {\n break;\n }\n if (ary[j] >= value) {\n ary[j+1] = value;\n break;\n }\n ary[j+1] = ary[j];\n ary[j] = value;\n }\n }",
"{\n int value = ary[i];\n for (int j = i-1;; j--) {\n if (j < 0) {\n break;\n }\n if (ary[j] >= value) {\n ary[j+1] = value;\n break;\n }\n ary[j+1] = ary[j];\n ary[j] = value;\n }\n }",
"int value = ary[i];",
"value",
"ary[i]",
"ary",
"i",
"for (int j = i-1;; j--) {\n if (j < 0) {\n break;\n }\n if (ary[j] >= value) {\n ary[j+1] = value;\n break;\n }\n ary[j+1] = ary[j];\n ary[j] = value;\n }",
"int j = i-1;",
"int j = i-1;",
"j",
"i-1",
"i",
"1",
"j--",
"j--",
"j",
"{\n if (j < 0) {\n break;\n }\n if (ary[j] >= value) {\n ary[j+1] = value;\n break;\n }\n ary[j+1] = ary[j];\n ary[j] = value;\n }",
"{\n if (j < 0) {\n break;\n }\n if (ary[j] >= value) {\n ary[j+1] = value;\n break;\n }\n ary[j+1] = ary[j];\n ary[j] = value;\n }",
"if (j < 0) {\n break;\n }",
"j < 0",
"j",
"0",
"{\n break;\n }",
"break;",
"if (ary[j] >= value) {\n ary[j+1] = value;\n break;\n }",
"ary[j] >= value",
"ary[j]",
"ary",
"j",
"value",
"{\n ary[j+1] = value;\n break;\n }",
"ary[j+1] = value",
"ary[j+1]",
"ary",
"j+1",
"j",
"1",
"value",
"break;",
"ary[j+1] = ary[j]",
"ary[j+1]",
"ary",
"j+1",
"j",
"1",
"ary[j]",
"ary",
"j",
"ary[j] = value",
"ary[j]",
"ary",
"j",
"value",
"for (int i = 0; i < 3; i++) {\n System.out.println(ary[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(ary[i]);\n }",
"{\n System.out.println(ary[i]);\n }",
"System.out.println(ary[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"ary[i]",
"ary",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = 10;\n int[] ary = new int[n];\n for (int i = 0; i < n; i++) {\n ary[i] = sc.nextInt();\n }\n \n for (int i = 1; i < n; i++) {\n int value = ary[i];\n for (int j = i-1;; j--) {\n if (j < 0) {\n break;\n }\n if (ary[j] >= value) {\n ary[j+1] = value;\n break;\n }\n ary[j+1] = ary[j];\n ary[j] = value;\n }\n }\n for (int i = 0; i < 3; i++) {\n System.out.println(ary[i]);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = 10;\n int[] ary = new int[n];\n for (int i = 0; i < n; i++) {\n ary[i] = sc.nextInt();\n }\n \n for (int i = 1; i < n; i++) {\n int value = ary[i];\n for (int j = i-1;; j--) {\n if (j < 0) {\n break;\n }\n if (ary[j] >= value) {\n ary[j+1] = value;\n break;\n }\n ary[j+1] = ary[j];\n ary[j] = value;\n }\n }\n for (int i = 0; i < 3; i++) {\n System.out.println(ary[i]);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int n = 10;
int[] ary = new int[n];
for (int i = 0; i < n; i++) {
ary[i] = sc.nextInt();
}
for (int i = 1; i < n; i++) {
int value = ary[i];
for (int j = i-1;; j--) {
if (j < 0) {
break;
}
if (ary[j] >= value) {
ary[j+1] = value;
break;
}
ary[j+1] = ary[j];
ary[j] = value;
}
}
for (int i = 0; i < 3; i++) {
System.out.println(ary[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,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
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,
17,
13,
23,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
37,
20,
30,
41,
13,
4,
18,
13,
0,
13,
20,
29,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
23,
49
],
[
49,
50
],
[
50,
51
],
[
49,
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
],
[
74,
75
],
[
74,
76
],
[
21,
77
],
[
77,
78
],
[
19,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
85,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
91,
97
],
[
97,
98
],
[
97,
99
],
[
81,
100
],
[
100,
101
],
[
79,
102
],
[
102,
103
]
] | [
"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\nclass Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// ストリームを作成する\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\n\t\t// 入力値を受け取り、リストに追加する\n\t\tList<Integer> heightList = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theightList.add(getHeight(reader));\n\t\t}\n\n\t\t// 昇順にソートする\n\t\tCollections.sort(heightList);\n\n\t\t// 下位3件を出力する\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(heightList.get(9 - i));\n\t\t}\n\n\t}\n\n\t/**\n\t * ストリームから1行読み込んで、高さを数値として返す。\n\t *\n\t * @param reader\n\t * 入力ストリーム\n\t * @return 高さ\n\t */\n\tprivate static Integer getHeight(BufferedReader reader) {\n\t\tInteger height = null;\n\t\ttry {\n\t\t\tString line = reader.readLine();\n\t\t\theight = new Integer(line);\n\t\t} catch (IOException e) {\n\t\t\tthrow new RuntimeException();\n\t\t}\n\t\treturn height;\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// ストリームを作成する\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\n\t\t// 入力値を受け取り、リストに追加する\n\t\tList<Integer> heightList = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theightList.add(getHeight(reader));\n\t\t}\n\n\t\t// 昇順にソートする\n\t\tCollections.sort(heightList);\n\n\t\t// 下位3件を出力する\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(heightList.get(9 - i));\n\t\t}\n\n\t}\n\n\t/**\n\t * ストリームから1行読み込んで、高さを数値として返す。\n\t *\n\t * @param reader\n\t * 入力ストリーム\n\t * @return 高さ\n\t */\n\tprivate static Integer getHeight(BufferedReader reader) {\n\t\tInteger height = null;\n\t\ttry {\n\t\t\tString line = reader.readLine();\n\t\t\theight = new Integer(line);\n\t\t} catch (IOException e) {\n\t\t\tthrow new RuntimeException();\n\t\t}\n\t\treturn height;\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\t// ストリームを作成する\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\n\t\t// 入力値を受け取り、リストに追加する\n\t\tList<Integer> heightList = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theightList.add(getHeight(reader));\n\t\t}\n\n\t\t// 昇順にソートする\n\t\tCollections.sort(heightList);\n\n\t\t// 下位3件を出力する\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(heightList.get(9 - i));\n\t\t}\n\n\t}",
"main",
"{\n\n\t\t// ストリームを作成する\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\n\t\t// 入力値を受け取り、リストに追加する\n\t\tList<Integer> heightList = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theightList.add(getHeight(reader));\n\t\t}\n\n\t\t// 昇順にソートする\n\t\tCollections.sort(heightList);\n\n\t\t// 下位3件を出力する\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(heightList.get(9 - i));\n\t\t}\n\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));",
"reader",
"new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))",
"List<Integer> heightList = new ArrayList<Integer>();",
"heightList",
"new ArrayList<Integer>()",
"for (int i = 0; i < 10; i++) {\n\t\t\theightList.add(getHeight(reader));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\theightList.add(getHeight(reader));\n\t\t}",
"{\n\t\t\theightList.add(getHeight(reader));\n\t\t}",
"heightList.add(getHeight(reader))",
"heightList.add",
"heightList",
"getHeight(reader)",
"getHeight",
"reader",
"Collections.sort(heightList)",
"Collections.sort",
"Collections",
"heightList",
"for (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(heightList.get(9 - 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(heightList.get(9 - i));\n\t\t}",
"{\n\t\t\tSystem.out.println(heightList.get(9 - i));\n\t\t}",
"System.out.println(heightList.get(9 - i))",
"System.out.println",
"System.out",
"System",
"System.out",
"heightList.get(9 - i)",
"heightList.get",
"heightList",
"9 - i",
"9",
"i",
"String[] args",
"args",
"/**\n\t * ストリームから1行読み込んで、高さを数値として返す。\n\t *\n\t * @param reader\n\t * 入力ストリーム\n\t * @return 高さ\n\t */\n\tprivate static Integer getHeight(BufferedReader reader) {\n\t\tInteger height = null;\n\t\ttry {\n\t\t\tString line = reader.readLine();\n\t\t\theight = new Integer(line);\n\t\t} catch (IOException e) {\n\t\t\tthrow new RuntimeException();\n\t\t}\n\t\treturn height;\n\t}",
"getHeight",
"{\n\t\tInteger height = null;\n\t\ttry {\n\t\t\tString line = reader.readLine();\n\t\t\theight = new Integer(line);\n\t\t} catch (IOException e) {\n\t\t\tthrow new RuntimeException();\n\t\t}\n\t\treturn height;\n\t}",
"Integer height = null;",
"height",
"null",
"try {\n\t\t\tString line = reader.readLine();\n\t\t\theight = new Integer(line);\n\t\t} catch (IOException e) {\n\t\t\tthrow new RuntimeException();\n\t\t}",
"catch (IOException e) {\n\t\t\tthrow new RuntimeException();\n\t\t}",
"IOException e",
"{\n\t\t\tthrow new RuntimeException();\n\t\t}",
"throw new RuntimeException();",
"new RuntimeException()",
"{\n\t\t\tString line = reader.readLine();\n\t\t\theight = new Integer(line);\n\t\t}",
"String line = reader.readLine();",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"height = new Integer(line)",
"height",
"new Integer(line)",
"return height;",
"height",
"BufferedReader reader",
"reader"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
class Main {
public static void main(String[] args) {
// ストリームを作成する
BufferedReader reader = new BufferedReader(new InputStreamReader(
System.in));
// 入力値を受け取り、リストに追加する
List<Integer> heightList = new ArrayList<Integer>();
for (int i = 0; i < 10; i++) {
heightList.add(getHeight(reader));
}
// 昇順にソートする
Collections.sort(heightList);
// 下位3件を出力する
for (int i = 0; i < 3; i++) {
System.out.println(heightList.get(9 - i));
}
}
/**
* ストリームから1行読み込んで、高さを数値として返す。
*
* @param reader
* 入力ストリーム
* @return 高さ
*/
private static Integer getHeight(BufferedReader reader) {
Integer height = null;
try {
String line = reader.readLine();
height = new Integer(line);
} catch (IOException e) {
throw new RuntimeException();
}
return height;
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
30,
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,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
18,
13,
13,
13,
11,
1,
41,
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
] | [
[
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
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
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
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
33,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
33,
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
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
80,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
90,
92
],
[
80,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
16,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
103,
105
],
[
98,
106
],
[
106,
107
],
[
107,
108
],
[
98,
109
],
[
110,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
116,
118
],
[
6,
119
],
[
119,
120
]
] | [
"import java.io.*;\n\nclass Main{\n public static void main(String[] a){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n int[] mount = new int [10];\n for(int i = 0;i < 10;i++){\n String str = br.readLine();\n int high = Integer.parseInt(str);\n if(high >= 0 && high <= 10000){\n mount[i] = high;\n }\n for(int k = 0;k <= i; k++){\n if(mount[k] < mount[i]){\n int h = mount[i];\n mount[i] = mount[k];\n mount[k] = h;\n }\n }\n }\n for(int j = 0;j < 3; j++){\n System.out.println(mount[j]);\n }\n }\n catch(IOException e){\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] a){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n int[] mount = new int [10];\n for(int i = 0;i < 10;i++){\n String str = br.readLine();\n int high = Integer.parseInt(str);\n if(high >= 0 && high <= 10000){\n mount[i] = high;\n }\n for(int k = 0;k <= i; k++){\n if(mount[k] < mount[i]){\n int h = mount[i];\n mount[i] = mount[k];\n mount[k] = h;\n }\n }\n }\n for(int j = 0;j < 3; j++){\n System.out.println(mount[j]);\n }\n }\n catch(IOException e){\n }\n }\n}",
"Main",
"public static void main(String[] a){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n int[] mount = new int [10];\n for(int i = 0;i < 10;i++){\n String str = br.readLine();\n int high = Integer.parseInt(str);\n if(high >= 0 && high <= 10000){\n mount[i] = high;\n }\n for(int k = 0;k <= i; k++){\n if(mount[k] < mount[i]){\n int h = mount[i];\n mount[i] = mount[k];\n mount[k] = h;\n }\n }\n }\n for(int j = 0;j < 3; j++){\n System.out.println(mount[j]);\n }\n }\n catch(IOException e){\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n int[] mount = new int [10];\n for(int i = 0;i < 10;i++){\n String str = br.readLine();\n int high = Integer.parseInt(str);\n if(high >= 0 && high <= 10000){\n mount[i] = high;\n }\n for(int k = 0;k <= i; k++){\n if(mount[k] < mount[i]){\n int h = mount[i];\n mount[i] = mount[k];\n mount[k] = h;\n }\n }\n }\n for(int j = 0;j < 3; j++){\n System.out.println(mount[j]);\n }\n }\n catch(IOException e){\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"try{\n int[] mount = new int [10];\n for(int i = 0;i < 10;i++){\n String str = br.readLine();\n int high = Integer.parseInt(str);\n if(high >= 0 && high <= 10000){\n mount[i] = high;\n }\n for(int k = 0;k <= i; k++){\n if(mount[k] < mount[i]){\n int h = mount[i];\n mount[i] = mount[k];\n mount[k] = h;\n }\n }\n }\n for(int j = 0;j < 3; j++){\n System.out.println(mount[j]);\n }\n }\n catch(IOException e){\n }",
"catch(IOException e){\n }",
"IOException e",
"{\n }",
"{\n int[] mount = new int [10];\n for(int i = 0;i < 10;i++){\n String str = br.readLine();\n int high = Integer.parseInt(str);\n if(high >= 0 && high <= 10000){\n mount[i] = high;\n }\n for(int k = 0;k <= i; k++){\n if(mount[k] < mount[i]){\n int h = mount[i];\n mount[i] = mount[k];\n mount[k] = h;\n }\n }\n }\n for(int j = 0;j < 3; j++){\n System.out.println(mount[j]);\n }\n }",
"int[] mount = new int [10];",
"mount",
"new int [10]",
"10",
"for(int i = 0;i < 10;i++){\n String str = br.readLine();\n int high = Integer.parseInt(str);\n if(high >= 0 && high <= 10000){\n mount[i] = high;\n }\n for(int k = 0;k <= i; k++){\n if(mount[k] < mount[i]){\n int h = mount[i];\n mount[i] = mount[k];\n mount[k] = h;\n }\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n String str = br.readLine();\n int high = Integer.parseInt(str);\n if(high >= 0 && high <= 10000){\n mount[i] = high;\n }\n for(int k = 0;k <= i; k++){\n if(mount[k] < mount[i]){\n int h = mount[i];\n mount[i] = mount[k];\n mount[k] = h;\n }\n }\n }",
"{\n String str = br.readLine();\n int high = Integer.parseInt(str);\n if(high >= 0 && high <= 10000){\n mount[i] = high;\n }\n for(int k = 0;k <= i; k++){\n if(mount[k] < mount[i]){\n int h = mount[i];\n mount[i] = mount[k];\n mount[k] = h;\n }\n }\n }",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"int high = Integer.parseInt(str);",
"high",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"if(high >= 0 && high <= 10000){\n mount[i] = high;\n }",
"high >= 0 && high <= 10000",
"high >= 0",
"high",
"0",
"high <= 10000",
"high",
"10000",
"{\n mount[i] = high;\n }",
"mount[i] = high",
"mount[i]",
"mount",
"i",
"high",
"for(int k = 0;k <= i; k++){\n if(mount[k] < mount[i]){\n int h = mount[i];\n mount[i] = mount[k];\n mount[k] = h;\n }\n }",
"int k = 0;",
"int k = 0;",
"k",
"0",
"k <= i",
"k",
"i",
"k++",
"k++",
"k",
"{\n if(mount[k] < mount[i]){\n int h = mount[i];\n mount[i] = mount[k];\n mount[k] = h;\n }\n }",
"{\n if(mount[k] < mount[i]){\n int h = mount[i];\n mount[i] = mount[k];\n mount[k] = h;\n }\n }",
"if(mount[k] < mount[i]){\n int h = mount[i];\n mount[i] = mount[k];\n mount[k] = h;\n }",
"mount[k] < mount[i]",
"mount[k]",
"mount",
"k",
"mount[i]",
"mount",
"i",
"{\n int h = mount[i];\n mount[i] = mount[k];\n mount[k] = h;\n }",
"int h = mount[i];",
"h",
"mount[i]",
"mount",
"i",
"mount[i] = mount[k]",
"mount[i]",
"mount",
"i",
"mount[k]",
"mount",
"k",
"mount[k] = h",
"mount[k]",
"mount",
"k",
"h",
"for(int j = 0;j < 3; j++){\n System.out.println(mount[j]);\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < 3",
"j",
"3",
"j++",
"j++",
"j",
"{\n System.out.println(mount[j]);\n }",
"{\n System.out.println(mount[j]);\n }",
"System.out.println(mount[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"mount[j]",
"mount",
"j",
"String[] a",
"a"
] | import java.io.*;
class Main{
public static void main(String[] a){
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try{
int[] mount = new int [10];
for(int i = 0;i < 10;i++){
String str = br.readLine();
int high = Integer.parseInt(str);
if(high >= 0 && high <= 10000){
mount[i] = high;
}
for(int k = 0;k <= i; k++){
if(mount[k] < mount[i]){
int h = mount[i];
mount[i] = mount[k];
mount[k] = h;
}
}
}
for(int j = 0;j < 3; j++){
System.out.println(mount[j]);
}
}
catch(IOException e){
}
}
} |
[
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,
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
],
[
111,
5
],
[
111,
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
],
[
8,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
8,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
6,
108
],
[
108,
109
],
[
0,
110
],
[
110,
111
],
[
110,
112
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a=0,b=0,c =0;\n\t\tint[] n= new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tn[i]=sc.nextInt();\n\t\t\tif(n[i]>a){\n\t\t\t\tc=b;\n\t\t\t\tb=a;\n\t\t\t\ta=n[i];\n\t\t\t}else if(n[i]>b){\n\t\t\t\tc=b;\n\t\t\t\tb=n[i];\n\t\t\t}else if(n[i]>c){\n\t\t\t\tc=n[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(a);\n\t\tSystem.out.println(b);\n\t\tSystem.out.println(c);\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 a=0,b=0,c =0;\n\t\tint[] n= new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tn[i]=sc.nextInt();\n\t\t\tif(n[i]>a){\n\t\t\t\tc=b;\n\t\t\t\tb=a;\n\t\t\t\ta=n[i];\n\t\t\t}else if(n[i]>b){\n\t\t\t\tc=b;\n\t\t\t\tb=n[i];\n\t\t\t}else if(n[i]>c){\n\t\t\t\tc=n[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(a);\n\t\tSystem.out.println(b);\n\t\tSystem.out.println(c);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a=0,b=0,c =0;\n\t\tint[] n= new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tn[i]=sc.nextInt();\n\t\t\tif(n[i]>a){\n\t\t\t\tc=b;\n\t\t\t\tb=a;\n\t\t\t\ta=n[i];\n\t\t\t}else if(n[i]>b){\n\t\t\t\tc=b;\n\t\t\t\tb=n[i];\n\t\t\t}else if(n[i]>c){\n\t\t\t\tc=n[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(a);\n\t\tSystem.out.println(b);\n\t\tSystem.out.println(c);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a=0,b=0,c =0;\n\t\tint[] n= new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tn[i]=sc.nextInt();\n\t\t\tif(n[i]>a){\n\t\t\t\tc=b;\n\t\t\t\tb=a;\n\t\t\t\ta=n[i];\n\t\t\t}else if(n[i]>b){\n\t\t\t\tc=b;\n\t\t\t\tb=n[i];\n\t\t\t}else if(n[i]>c){\n\t\t\t\tc=n[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(a);\n\t\tSystem.out.println(b);\n\t\tSystem.out.println(c);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a=0",
"a",
"0",
"b=0",
"b",
"0",
"c =0;",
"c",
"0",
"int[] n= new int[10];",
"n",
"new int[10]",
"10",
"for(int i=0;i<10;i++){\n\t\t\tn[i]=sc.nextInt();\n\t\t\tif(n[i]>a){\n\t\t\t\tc=b;\n\t\t\t\tb=a;\n\t\t\t\ta=n[i];\n\t\t\t}else if(n[i]>b){\n\t\t\t\tc=b;\n\t\t\t\tb=n[i];\n\t\t\t}else if(n[i]>c){\n\t\t\t\tc=n[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\tn[i]=sc.nextInt();\n\t\t\tif(n[i]>a){\n\t\t\t\tc=b;\n\t\t\t\tb=a;\n\t\t\t\ta=n[i];\n\t\t\t}else if(n[i]>b){\n\t\t\t\tc=b;\n\t\t\t\tb=n[i];\n\t\t\t}else if(n[i]>c){\n\t\t\t\tc=n[i];\n\t\t\t}\n\t\t}",
"{\n\t\t\tn[i]=sc.nextInt();\n\t\t\tif(n[i]>a){\n\t\t\t\tc=b;\n\t\t\t\tb=a;\n\t\t\t\ta=n[i];\n\t\t\t}else if(n[i]>b){\n\t\t\t\tc=b;\n\t\t\t\tb=n[i];\n\t\t\t}else if(n[i]>c){\n\t\t\t\tc=n[i];\n\t\t\t}\n\t\t}",
"n[i]=sc.nextInt()",
"n[i]",
"n",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n[i]>a){\n\t\t\t\tc=b;\n\t\t\t\tb=a;\n\t\t\t\ta=n[i];\n\t\t\t}else if(n[i]>b){\n\t\t\t\tc=b;\n\t\t\t\tb=n[i];\n\t\t\t}else if(n[i]>c){\n\t\t\t\tc=n[i];\n\t\t\t}",
"n[i]>a",
"n[i]",
"n",
"i",
"a",
"{\n\t\t\t\tc=b;\n\t\t\t\tb=a;\n\t\t\t\ta=n[i];\n\t\t\t}",
"c=b",
"c",
"b",
"b=a",
"b",
"a",
"a=n[i]",
"a",
"n[i]",
"n",
"i",
"if(n[i]>b){\n\t\t\t\tc=b;\n\t\t\t\tb=n[i];\n\t\t\t}else if(n[i]>c){\n\t\t\t\tc=n[i];\n\t\t\t}",
"n[i]>b",
"n[i]",
"n",
"i",
"b",
"{\n\t\t\t\tc=b;\n\t\t\t\tb=n[i];\n\t\t\t}",
"c=b",
"c",
"b",
"b=n[i]",
"b",
"n[i]",
"n",
"i",
"if(n[i]>c){\n\t\t\t\tc=n[i];\n\t\t\t}",
"n[i]>c",
"n[i]",
"n",
"i",
"c",
"{\n\t\t\t\tc=n[i];\n\t\t\t}",
"c=n[i]",
"c",
"n[i]",
"n",
"i",
"System.out.println(a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a",
"System.out.println(b)",
"System.out.println",
"System.out",
"System",
"System.out",
"b",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"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=0,b=0,c =0;\n\t\tint[] n= new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tn[i]=sc.nextInt();\n\t\t\tif(n[i]>a){\n\t\t\t\tc=b;\n\t\t\t\tb=a;\n\t\t\t\ta=n[i];\n\t\t\t}else if(n[i]>b){\n\t\t\t\tc=b;\n\t\t\t\tb=n[i];\n\t\t\t}else if(n[i]>c){\n\t\t\t\tc=n[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(a);\n\t\tSystem.out.println(b);\n\t\tSystem.out.println(c);\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=0,b=0,c =0;\n\t\tint[] n= new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tn[i]=sc.nextInt();\n\t\t\tif(n[i]>a){\n\t\t\t\tc=b;\n\t\t\t\tb=a;\n\t\t\t\ta=n[i];\n\t\t\t}else if(n[i]>b){\n\t\t\t\tc=b;\n\t\t\t\tb=n[i];\n\t\t\t}else if(n[i]>c){\n\t\t\t\tc=n[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(a);\n\t\tSystem.out.println(b);\n\t\tSystem.out.println(c);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a=0,b=0,c =0;
int[] n= new int[10];
for(int i=0;i<10;i++){
n[i]=sc.nextInt();
if(n[i]>a){
c=b;
b=a;
a=n[i];
}else if(n[i]>b){
c=b;
b=n[i];
}else if(n[i]>c){
c=n[i];
}
}
System.out.println(a);
System.out.println(b);
System.out.println(c);
}
} |
[
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,
4,
18,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
83,
17
],
[
83,
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
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
20,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
20,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
20,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
18,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tCollections.sort(list,Collections.reverseOrder());\n\t\tSystem.out.println(list.get(0));\n\t\tSystem.out.println(list.get(1));\n\t\tSystem.out.println(list.get(2));\n\t\t\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tCollections.sort(list,Collections.reverseOrder());\n\t\tSystem.out.println(list.get(0));\n\t\tSystem.out.println(list.get(1));\n\t\tSystem.out.println(list.get(2));\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tCollections.sort(list,Collections.reverseOrder());\n\t\tSystem.out.println(list.get(0));\n\t\tSystem.out.println(list.get(1));\n\t\tSystem.out.println(list.get(2));\n\t\t\n\t}",
"main",
"{\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tCollections.sort(list,Collections.reverseOrder());\n\t\tSystem.out.println(list.get(0));\n\t\tSystem.out.println(list.get(1));\n\t\tSystem.out.println(list.get(2));\n\t\t\n\t}",
"Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));",
"scan",
"new Scanner(new BufferedReader(new InputStreamReader(System.in)))",
"ArrayList<Integer> list=new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"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.reverseOrder())",
"Collections.sort",
"Collections",
"list",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"System.out.println(list.get(0))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(0)",
"list.get",
"list",
"0",
"System.out.println(list.get(1))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(1)",
"list.get",
"list",
"1",
"System.out.println(list.get(2))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(2)",
"list.get",
"list",
"2",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tCollections.sort(list,Collections.reverseOrder());\n\t\tSystem.out.println(list.get(0));\n\t\tSystem.out.println(list.get(1));\n\t\tSystem.out.println(list.get(2));\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t}\n\t\tCollections.sort(list,Collections.reverseOrder());\n\t\tSystem.out.println(list.get(0));\n\t\tSystem.out.println(list.get(1));\n\t\tSystem.out.println(list.get(2));\n\t\t\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
ArrayList<Integer> list=new ArrayList<Integer>();
for (int i = 0; i < 10; i++) {
list.add(scan.nextInt());
}
Collections.sort(list,Collections.reverseOrder());
System.out.println(list.get(0));
System.out.println(list.get(1));
System.out.println(list.get(2));
}
} |
[
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,
41,
13,
17,
41,
13,
20,
17,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
18,
13,
40,
13,
4,
18,
13,
13,
14,
2,
13,
17,
3,
4,
13,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
90,
17
],
[
90,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
20,
30
],
[
30,
31
],
[
30,
32
],
[
20,
34
],
[
34,
35
],
[
20,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
45,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
44,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
20,
59
],
[
59,
60
],
[
59,
61
],
[
59,
62
],
[
62,
63
],
[
63,
64
],
[
20,
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
],
[
78,
81
],
[
81,
82
],
[
81,
83
],
[
20,
84
],
[
84,
85
],
[
85,
86
],
[
18,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
] | [
"import java.io.*;\nimport java.util.*;\nimport java.lang.*;\n\nimport static java.util.Arrays.*;\nimport static java.util.Collections.reverseOrder;\n\n/**\n * Created by locona on 2016/06/02.\n */\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n int i = 0;\n Integer [] mountains = new Integer[10];\n String line;\n while((line = br.readLine()) != null) {\n mountains[i++] = Integer.valueOf(line);\n if(i >= 10) break;\n }\n sort(mountains, Comparator.reverseOrder());\n for(i=0; i < 3; i++) {\n out.println(mountains[i]);\n }\n out.flush();\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import static java.util.Arrays.*;",
"import static java.util.Arrays.*;",
"import static java.util.Arrays.*;",
"import static java.util.Collections.reverseOrder;",
"import static java.util.Collections.reverseOrder;",
"import static java.util.Collections.reverseOrder;",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n int i = 0;\n Integer [] mountains = new Integer[10];\n String line;\n while((line = br.readLine()) != null) {\n mountains[i++] = Integer.valueOf(line);\n if(i >= 10) break;\n }\n sort(mountains, Comparator.reverseOrder());\n for(i=0; i < 3; i++) {\n out.println(mountains[i]);\n }\n out.flush();\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n int i = 0;\n Integer [] mountains = new Integer[10];\n String line;\n while((line = br.readLine()) != null) {\n mountains[i++] = Integer.valueOf(line);\n if(i >= 10) break;\n }\n sort(mountains, Comparator.reverseOrder());\n for(i=0; i < 3; i++) {\n out.println(mountains[i]);\n }\n out.flush();\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n int i = 0;\n Integer [] mountains = new Integer[10];\n String line;\n while((line = br.readLine()) != null) {\n mountains[i++] = Integer.valueOf(line);\n if(i >= 10) break;\n }\n sort(mountains, Comparator.reverseOrder());\n for(i=0; i < 3; i++) {\n out.println(mountains[i]);\n }\n out.flush();\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"int i = 0;",
"i",
"0",
"Integer [] mountains = new Integer[10];",
"mountains",
"new Integer[10]",
"10",
"String line;",
"line",
"while((line = br.readLine()) != null) {\n mountains[i++] = Integer.valueOf(line);\n if(i >= 10) break;\n }",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n mountains[i++] = Integer.valueOf(line);\n if(i >= 10) break;\n }",
"mountains[i++] = Integer.valueOf(line)",
"mountains[i++]",
"mountains",
"i++",
"i",
"Integer.valueOf(line)",
"Integer.valueOf",
"Integer",
"line",
"if(i >= 10) break;",
"i >= 10",
"i",
"10",
"break;",
"sort(mountains, Comparator.reverseOrder())",
"sort",
"mountains",
"Comparator.reverseOrder()",
"Comparator.reverseOrder",
"Comparator",
"for(i=0; i < 3; i++) {\n out.println(mountains[i]);\n }",
"i=0;",
"i=0",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n out.println(mountains[i]);\n }",
"{\n out.println(mountains[i]);\n }",
"out.println(mountains[i])",
"out.println",
"out",
"mountains[i]",
"mountains",
"i",
"out.flush()",
"out.flush",
"out",
"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 PrintWriter out = new PrintWriter(System.out);\n int i = 0;\n Integer [] mountains = new Integer[10];\n String line;\n while((line = br.readLine()) != null) {\n mountains[i++] = Integer.valueOf(line);\n if(i >= 10) break;\n }\n sort(mountains, Comparator.reverseOrder());\n for(i=0; i < 3; i++) {\n out.println(mountains[i]);\n }\n out.flush();\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(System.out);\n int i = 0;\n Integer [] mountains = new Integer[10];\n String line;\n while((line = br.readLine()) != null) {\n mountains[i++] = Integer.valueOf(line);\n if(i >= 10) break;\n }\n sort(mountains, Comparator.reverseOrder());\n for(i=0; i < 3; i++) {\n out.println(mountains[i]);\n }\n out.flush();\n }\n}",
"Main"
] | import java.io.*;
import java.util.*;
import java.lang.*;
import static java.util.Arrays.*;
import static java.util.Collections.reverseOrder;
/**
* Created by locona on 2016/06/02.
*/
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
PrintWriter out = new PrintWriter(System.out);
int i = 0;
Integer [] mountains = new Integer[10];
String line;
while((line = br.readLine()) != null) {
mountains[i++] = Integer.valueOf(line);
if(i >= 10) break;
}
sort(mountains, Comparator.reverseOrder());
for(i=0; i < 3; i++) {
out.println(mountains[i]);
}
out.flush();
}
} |
[
7,
15,
13,
17,
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,
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
],
[
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,
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
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
11,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
70,
70
],
[
70,
71
],
[
70,
72
],
[
70,
73
],
[
9,
74
],
[
74,
75
]
] | [
"import java.io.*;\nimport java.util.*;\n \nclass Main{\npublic static void main(String[] args) throws IOException{\nBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\nint n=10;\nint[] k=new int[n];\nfor(int i=0;i<n;i++){\nk[i]=Integer.parseInt(br.readLine());\n}\nArrays.sort(k);\nfor(int i=0;i<3;i++){\nSystem.out.println(k[n-i-1]);\n}\n}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\npublic static void main(String[] args) throws IOException{\nBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\nint n=10;\nint[] k=new int[n];\nfor(int i=0;i<n;i++){\nk[i]=Integer.parseInt(br.readLine());\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) throws IOException{\nBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\nint n=10;\nint[] k=new int[n];\nfor(int i=0;i<n;i++){\nk[i]=Integer.parseInt(br.readLine());\n}\nArrays.sort(k);\nfor(int i=0;i<3;i++){\nSystem.out.println(k[n-i-1]);\n}\n}",
"main",
"{\nBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\nint n=10;\nint[] k=new int[n];\nfor(int i=0;i<n;i++){\nk[i]=Integer.parseInt(br.readLine());\n}\nArrays.sort(k);\nfor(int i=0;i<3;i++){\nSystem.out.println(k[n-i-1]);\n}\n}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(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]=Integer.parseInt(br.readLine());\n}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\nk[i]=Integer.parseInt(br.readLine());\n}",
"{\nk[i]=Integer.parseInt(br.readLine());\n}",
"k[i]=Integer.parseInt(br.readLine())",
"k[i]",
"k",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"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.io.*;
import java.util.*;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int n=10;
int[] k=new int[n];
for(int i=0;i<n;i++){
k[i]=Integer.parseInt(br.readLine());
}
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,
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,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
85,
17
],
[
85,
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
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
20,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
79,
80
],
[
79,
81
],
[
18,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nimport java.util.Collections;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader sb = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tInteger[] hList = new Integer[10];\n\t\tfor (int num = 0; num < 10; num++) {\n\t\t\tint h = Integer.parseInt(sb.readLine());\n\t\t\thList[num] = h;\n\t\t}\n\n\t\tArrays.sort(hList, Collections.reverseOrder());\n\n\t\tfor (int rank = 0; rank < 3; rank++) {\n\t\t\tSystem.out.println(hList[rank]);\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",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader sb = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tInteger[] hList = new Integer[10];\n\t\tfor (int num = 0; num < 10; num++) {\n\t\t\tint h = Integer.parseInt(sb.readLine());\n\t\t\thList[num] = h;\n\t\t}\n\n\t\tArrays.sort(hList, Collections.reverseOrder());\n\n\t\tfor (int rank = 0; rank < 3; rank++) {\n\t\t\tSystem.out.println(hList[rank]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader sb = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tInteger[] hList = new Integer[10];\n\t\tfor (int num = 0; num < 10; num++) {\n\t\t\tint h = Integer.parseInt(sb.readLine());\n\t\t\thList[num] = h;\n\t\t}\n\n\t\tArrays.sort(hList, Collections.reverseOrder());\n\n\t\tfor (int rank = 0; rank < 3; rank++) {\n\t\t\tSystem.out.println(hList[rank]);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader sb = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tInteger[] hList = new Integer[10];\n\t\tfor (int num = 0; num < 10; num++) {\n\t\t\tint h = Integer.parseInt(sb.readLine());\n\t\t\thList[num] = h;\n\t\t}\n\n\t\tArrays.sort(hList, Collections.reverseOrder());\n\n\t\tfor (int rank = 0; rank < 3; rank++) {\n\t\t\tSystem.out.println(hList[rank]);\n\t\t}\n\t}",
"BufferedReader sb = new BufferedReader(new InputStreamReader(System.in));",
"sb",
"new BufferedReader(new InputStreamReader(System.in))",
"Integer[] hList = new Integer[10];",
"hList",
"new Integer[10]",
"10",
"for (int num = 0; num < 10; num++) {\n\t\t\tint h = Integer.parseInt(sb.readLine());\n\t\t\thList[num] = h;\n\t\t}",
"int num = 0;",
"int num = 0;",
"num",
"0",
"num < 10",
"num",
"10",
"num++",
"num++",
"num",
"{\n\t\t\tint h = Integer.parseInt(sb.readLine());\n\t\t\thList[num] = h;\n\t\t}",
"{\n\t\t\tint h = Integer.parseInt(sb.readLine());\n\t\t\thList[num] = h;\n\t\t}",
"int h = Integer.parseInt(sb.readLine());",
"h",
"Integer.parseInt(sb.readLine())",
"Integer.parseInt",
"Integer",
"sb.readLine()",
"sb.readLine",
"sb",
"hList[num] = h",
"hList[num]",
"hList",
"num",
"h",
"Arrays.sort(hList, Collections.reverseOrder())",
"Arrays.sort",
"Arrays",
"hList",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"for (int rank = 0; rank < 3; rank++) {\n\t\t\tSystem.out.println(hList[rank]);\n\t\t}",
"int rank = 0;",
"int rank = 0;",
"rank",
"0",
"rank < 3",
"rank",
"3",
"rank++",
"rank++",
"rank",
"{\n\t\t\tSystem.out.println(hList[rank]);\n\t\t}",
"{\n\t\t\tSystem.out.println(hList[rank]);\n\t\t}",
"System.out.println(hList[rank])",
"System.out.println",
"System.out",
"System",
"System.out",
"hList[rank]",
"hList",
"rank",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader sb = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tInteger[] hList = new Integer[10];\n\t\tfor (int num = 0; num < 10; num++) {\n\t\t\tint h = Integer.parseInt(sb.readLine());\n\t\t\thList[num] = h;\n\t\t}\n\n\t\tArrays.sort(hList, Collections.reverseOrder());\n\n\t\tfor (int rank = 0; rank < 3; rank++) {\n\t\t\tSystem.out.println(hList[rank]);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader sb = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tInteger[] hList = new Integer[10];\n\t\tfor (int num = 0; num < 10; num++) {\n\t\t\tint h = Integer.parseInt(sb.readLine());\n\t\t\thList[num] = h;\n\t\t}\n\n\t\tArrays.sort(hList, Collections.reverseOrder());\n\n\t\tfor (int rank = 0; rank < 3; rank++) {\n\t\t\tSystem.out.println(hList[rank]);\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Collections;
public class Main {
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader sb = new BufferedReader(new InputStreamReader(System.in));
Integer[] hList = new Integer[10];
for (int num = 0; num < 10; num++) {
int h = Integer.parseInt(sb.readLine());
hList[num] = h;
}
Arrays.sort(hList, Collections.reverseOrder());
for (int rank = 0; rank < 3; rank++) {
System.out.println(hList[rank]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
41,
13,
17,
38,
5,
13,
30,
30,
42,
2,
2,
2,
13,
13,
2,
0,
13,
4,
18,
13,
17,
2,
4,
18,
13,
17,
30,
38,
5,
13,
30,
30,
41,
13,
4,
18,
13,
13,
14,
2,
2,
13,
13,
2,
13,
13,
30,
30,
0,
18,
13,
13,
13,
40,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
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,
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
],
[
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
],
[
28,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
14,
37
],
[
37,
38
],
[
37,
39
],
[
14,
40
],
[
40,
41
],
[
14,
42
],
[
42,
43
],
[
42,
44
],
[
14,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
56,
62
],
[
52,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
63,
67
],
[
50,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
73,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
85,
87
],
[
80,
88
],
[
80,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
89,
95
],
[
95,
96
],
[
49,
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
],
[
111,
115
],
[
110,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
120,
122
],
[
116,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
125,
127
],
[
110,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
128,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
134,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
140,
142
],
[
128,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
144,
148
],
[
143,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
152,
154
],
[
49,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
155,
160
],
[
163,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
162,
166
],
[
161,
167
],
[
163,
168
],
[
12,
169
],
[
169,
170
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\tpublic static void main (String [] a){\n\n\t\tint numMountain = 10;\n\t\tint minConst = 0;\n\t\tint maxConst = 10000;\n\t\tint[] mountainList = new int[numMountain];\n\t\tint topOne = 0;\n\t\tint topTwo = 0;\n\t\tint topThree = 0;\n\t\t\n\t\tBufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\tint i = 0;\n\t\t\n\t\ttry {\n\t\t\twhile (i < numMountain && (line = stdin.readLine()) != null && \n\t\t\t\t\tline.length()!= 0 ) {\n\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tint tempHeight = Integer.parseInt(line);\n\t\t\t\t\t\tif (tempHeight < minConst || tempHeight > maxConst) {\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tmountainList[i] = tempHeight;\n\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (NumberFormatException e){\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t//e.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tfor (int j=0; j<numMountain; j++){\n\t\t\t\tif (mountainList[j] >= topOne){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = topOne;\n\t\t\t\t\ttopOne = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topTwo){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topThree){\n\t\t\t\t\ttopThree = mountainList[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(topOne +\"\\n\"+ topTwo +\"\\n\"+ topThree);\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\t//e.printStackTrace();\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\n\tpublic static void main (String [] a){\n\n\t\tint numMountain = 10;\n\t\tint minConst = 0;\n\t\tint maxConst = 10000;\n\t\tint[] mountainList = new int[numMountain];\n\t\tint topOne = 0;\n\t\tint topTwo = 0;\n\t\tint topThree = 0;\n\t\t\n\t\tBufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\tint i = 0;\n\t\t\n\t\ttry {\n\t\t\twhile (i < numMountain && (line = stdin.readLine()) != null && \n\t\t\t\t\tline.length()!= 0 ) {\n\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tint tempHeight = Integer.parseInt(line);\n\t\t\t\t\t\tif (tempHeight < minConst || tempHeight > maxConst) {\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tmountainList[i] = tempHeight;\n\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (NumberFormatException e){\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t//e.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tfor (int j=0; j<numMountain; j++){\n\t\t\t\tif (mountainList[j] >= topOne){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = topOne;\n\t\t\t\t\ttopOne = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topTwo){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topThree){\n\t\t\t\t\ttopThree = mountainList[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(topOne +\"\\n\"+ topTwo +\"\\n\"+ topThree);\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\t//e.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main (String [] a){\n\n\t\tint numMountain = 10;\n\t\tint minConst = 0;\n\t\tint maxConst = 10000;\n\t\tint[] mountainList = new int[numMountain];\n\t\tint topOne = 0;\n\t\tint topTwo = 0;\n\t\tint topThree = 0;\n\t\t\n\t\tBufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\tint i = 0;\n\t\t\n\t\ttry {\n\t\t\twhile (i < numMountain && (line = stdin.readLine()) != null && \n\t\t\t\t\tline.length()!= 0 ) {\n\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tint tempHeight = Integer.parseInt(line);\n\t\t\t\t\t\tif (tempHeight < minConst || tempHeight > maxConst) {\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tmountainList[i] = tempHeight;\n\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (NumberFormatException e){\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t//e.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tfor (int j=0; j<numMountain; j++){\n\t\t\t\tif (mountainList[j] >= topOne){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = topOne;\n\t\t\t\t\ttopOne = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topTwo){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topThree){\n\t\t\t\t\ttopThree = mountainList[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(topOne +\"\\n\"+ topTwo +\"\\n\"+ topThree);\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\t//e.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\n\t\tint numMountain = 10;\n\t\tint minConst = 0;\n\t\tint maxConst = 10000;\n\t\tint[] mountainList = new int[numMountain];\n\t\tint topOne = 0;\n\t\tint topTwo = 0;\n\t\tint topThree = 0;\n\t\t\n\t\tBufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\tint i = 0;\n\t\t\n\t\ttry {\n\t\t\twhile (i < numMountain && (line = stdin.readLine()) != null && \n\t\t\t\t\tline.length()!= 0 ) {\n\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tint tempHeight = Integer.parseInt(line);\n\t\t\t\t\t\tif (tempHeight < minConst || tempHeight > maxConst) {\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tmountainList[i] = tempHeight;\n\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (NumberFormatException e){\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t//e.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tfor (int j=0; j<numMountain; j++){\n\t\t\t\tif (mountainList[j] >= topOne){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = topOne;\n\t\t\t\t\ttopOne = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topTwo){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topThree){\n\t\t\t\t\ttopThree = mountainList[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(topOne +\"\\n\"+ topTwo +\"\\n\"+ topThree);\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\t//e.printStackTrace();\n\t\t}\n\t}",
"int numMountain = 10;",
"numMountain",
"10",
"int minConst = 0;",
"minConst",
"0",
"int maxConst = 10000;",
"maxConst",
"10000",
"int[] mountainList = new int[numMountain];",
"mountainList",
"new int[numMountain]",
"numMountain",
"int topOne = 0;",
"topOne",
"0",
"int topTwo = 0;",
"topTwo",
"0",
"int topThree = 0;",
"topThree",
"0",
"BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));",
"stdin",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"int i = 0;",
"i",
"0",
"try {\n\t\t\twhile (i < numMountain && (line = stdin.readLine()) != null && \n\t\t\t\t\tline.length()!= 0 ) {\n\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tint tempHeight = Integer.parseInt(line);\n\t\t\t\t\t\tif (tempHeight < minConst || tempHeight > maxConst) {\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tmountainList[i] = tempHeight;\n\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (NumberFormatException e){\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t//e.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tfor (int j=0; j<numMountain; j++){\n\t\t\t\tif (mountainList[j] >= topOne){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = topOne;\n\t\t\t\t\ttopOne = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topTwo){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topThree){\n\t\t\t\t\ttopThree = mountainList[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(topOne +\"\\n\"+ topTwo +\"\\n\"+ topThree);\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\t//e.printStackTrace();\n\t\t}",
"catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\t//e.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\t// TODO Auto-generated catch block\n\t\t\t//e.printStackTrace();\n\t\t}",
"{\n\t\t\twhile (i < numMountain && (line = stdin.readLine()) != null && \n\t\t\t\t\tline.length()!= 0 ) {\n\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tint tempHeight = Integer.parseInt(line);\n\t\t\t\t\t\tif (tempHeight < minConst || tempHeight > maxConst) {\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tmountainList[i] = tempHeight;\n\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (NumberFormatException e){\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t//e.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tfor (int j=0; j<numMountain; j++){\n\t\t\t\tif (mountainList[j] >= topOne){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = topOne;\n\t\t\t\t\ttopOne = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topTwo){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topThree){\n\t\t\t\t\ttopThree = mountainList[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(topOne +\"\\n\"+ topTwo +\"\\n\"+ topThree);\n\t\t}",
"while (i < numMountain && (line = stdin.readLine()) != null && \n\t\t\t\t\tline.length()!= 0 ) {\n\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tint tempHeight = Integer.parseInt(line);\n\t\t\t\t\t\tif (tempHeight < minConst || tempHeight > maxConst) {\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tmountainList[i] = tempHeight;\n\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (NumberFormatException e){\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t//e.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t}",
"i < numMountain && (line = stdin.readLine()) != null && \n\t\t\t\t\tline.length()!= 0",
"i < numMountain && (line = stdin.readLine()) != null && \n\t\t\t\t\tline.length()!= 0",
"i < numMountain",
"i",
"numMountain",
"(line = stdin.readLine()) != null",
"(line = stdin.readLine())",
"line",
"stdin.readLine()",
"stdin.readLine",
"stdin",
"null",
"line.length()!= 0",
"line.length()",
"line.length",
"line",
"0",
"{\n\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tint tempHeight = Integer.parseInt(line);\n\t\t\t\t\t\tif (tempHeight < minConst || tempHeight > maxConst) {\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tmountainList[i] = tempHeight;\n\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (NumberFormatException e){\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t//e.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t}",
"try {\n\t\t\t\t\t\tint tempHeight = Integer.parseInt(line);\n\t\t\t\t\t\tif (tempHeight < minConst || tempHeight > maxConst) {\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tmountainList[i] = tempHeight;\n\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (NumberFormatException e){\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t//e.printStackTrace();\n\t\t\t\t\t}",
"catch (NumberFormatException e){\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t//e.printStackTrace();\n\t\t\t\t\t}",
"NumberFormatException e",
"{\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t//e.printStackTrace();\n\t\t\t\t\t}",
"{\n\t\t\t\t\t\tint tempHeight = Integer.parseInt(line);\n\t\t\t\t\t\tif (tempHeight < minConst || tempHeight > maxConst) {\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tmountainList[i] = tempHeight;\n\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}",
"int tempHeight = Integer.parseInt(line);",
"tempHeight",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"if (tempHeight < minConst || tempHeight > maxConst) {\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tmountainList[i] = tempHeight;\n\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t}",
"tempHeight < minConst || tempHeight > maxConst",
"tempHeight < minConst",
"tempHeight",
"minConst",
"tempHeight > maxConst",
"tempHeight",
"maxConst",
"{\n\t\t\t\t\t\t}",
"{\n\t\t\t\t\t\t\tmountainList[i] = tempHeight;\n\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t}",
"mountainList[i] = tempHeight",
"mountainList[i]",
"mountainList",
"i",
"tempHeight",
"i++",
"i",
"for (int j=0; j<numMountain; j++){\n\t\t\t\tif (mountainList[j] >= topOne){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = topOne;\n\t\t\t\t\ttopOne = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topTwo){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topThree){\n\t\t\t\t\ttopThree = mountainList[j];\n\t\t\t\t}\n\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<numMountain",
"j",
"numMountain",
"j++",
"j++",
"j",
"{\n\t\t\t\tif (mountainList[j] >= topOne){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = topOne;\n\t\t\t\t\ttopOne = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topTwo){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topThree){\n\t\t\t\t\ttopThree = mountainList[j];\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif (mountainList[j] >= topOne){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = topOne;\n\t\t\t\t\ttopOne = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topTwo){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topThree){\n\t\t\t\t\ttopThree = mountainList[j];\n\t\t\t\t}\n\t\t\t}",
"if (mountainList[j] >= topOne){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = topOne;\n\t\t\t\t\ttopOne = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topTwo){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topThree){\n\t\t\t\t\ttopThree = mountainList[j];\n\t\t\t\t}",
"mountainList[j] >= topOne",
"mountainList[j]",
"mountainList",
"j",
"topOne",
"{\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = topOne;\n\t\t\t\t\ttopOne = mountainList[j];\n\t\t\t\t}",
"topThree = topTwo",
"topThree",
"topTwo",
"topTwo = topOne",
"topTwo",
"topOne",
"topOne = mountainList[j]",
"topOne",
"mountainList[j]",
"mountainList",
"j",
"if (mountainList[j] >= topTwo){\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = mountainList[j];\n\t\t\t\t} else if (mountainList[j] >= topThree){\n\t\t\t\t\ttopThree = mountainList[j];\n\t\t\t\t}",
"mountainList[j] >= topTwo",
"mountainList[j]",
"mountainList",
"j",
"topTwo",
"{\n\t\t\t\t\ttopThree = topTwo;\n\t\t\t\t\ttopTwo = mountainList[j];\n\t\t\t\t}",
"topThree = topTwo",
"topThree",
"topTwo",
"topTwo = mountainList[j]",
"topTwo",
"mountainList[j]",
"mountainList",
"j",
"if (mountainList[j] >= topThree){\n\t\t\t\t\ttopThree = mountainList[j];\n\t\t\t\t}",
"mountainList[j] >= topThree",
"mountainList[j]",
"mountainList",
"j",
"topThree",
"{\n\t\t\t\t\ttopThree = mountainList[j];\n\t\t\t\t}",
"topThree = mountainList[j]",
"topThree",
"mountainList[j]",
"mountainList",
"j",
"System.out.println(topOne +\"\\n\"+ topTwo +\"\\n\"+ topThree)",
"System.out.println",
"System.out",
"System",
"System.out",
"topOne +\"\\n\"+ topTwo +\"\\n\"+ topThree",
"\"\\n\"",
"topTwo",
"topOne +\"\\n\"+ topTwo +\"\\n\"+ topThree",
"topOne",
"\"\\n\"",
"topTwo",
"\"\\n\"",
"topThree",
"String [] a",
"a"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main (String [] a){
int numMountain = 10;
int minConst = 0;
int maxConst = 10000;
int[] mountainList = new int[numMountain];
int topOne = 0;
int topTwo = 0;
int topThree = 0;
BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
String line;
int i = 0;
try {
while (i < numMountain && (line = stdin.readLine()) != null &&
line.length()!= 0 ) {
try {
int tempHeight = Integer.parseInt(line);
if (tempHeight < minConst || tempHeight > maxConst) {
} else {
mountainList[i] = tempHeight;
i++;
}
} catch (NumberFormatException e){
// TODO Auto-generated catch block
//e.printStackTrace();
}
}
for (int j=0; j<numMountain; j++){
if (mountainList[j] >= topOne){
topThree = topTwo;
topTwo = topOne;
topOne = mountainList[j];
} else if (mountainList[j] >= topTwo){
topThree = topTwo;
topTwo = mountainList[j];
} else if (mountainList[j] >= topThree){
topThree = mountainList[j];
}
}
System.out.println(topOne +"\n"+ topTwo +"\n"+ topThree);
} catch (IOException e) {
// TODO Auto-generated catch block
//e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
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,
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
],
[
78,
17
],
[
78,
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
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
20,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
20,
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
],
[
18,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
] | [
"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\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tlist.add(Integer.parseInt(br.readLine()));\n\t\t}\n\t\t\n\t\tCollections.sort(list);\n\t\tfor (int i = 9; i > 6; i--) {\n\t\t\tSystem.out.println(list.get(i));\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",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tlist.add(Integer.parseInt(br.readLine()));\n\t\t}\n\t\t\n\t\tCollections.sort(list);\n\t\tfor (int i = 9; i > 6; i--) {\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tlist.add(Integer.parseInt(br.readLine()));\n\t\t}\n\t\t\n\t\tCollections.sort(list);\n\t\tfor (int i = 9; i > 6; i--) {\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\n\t}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tlist.add(Integer.parseInt(br.readLine()));\n\t\t}\n\t\t\n\t\tCollections.sort(list);\n\t\tfor (int i = 9; i > 6; i--) {\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"ArrayList<Integer> list=new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"for (int i = 0; i < 10; i++) {\n\t\t\tlist.add(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\tlist.add(Integer.parseInt(br.readLine()));\n\t\t}",
"{\n\t\t\tlist.add(Integer.parseInt(br.readLine()));\n\t\t}",
"list.add(Integer.parseInt(br.readLine()))",
"list.add",
"list",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"for (int i = 9; i > 6; i--) {\n\t\t\tSystem.out.println(list.get(i));\n\t\t}",
"int i = 9;",
"int i = 9;",
"i",
"9",
"i > 6",
"i",
"6",
"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\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tlist.add(Integer.parseInt(br.readLine()));\n\t\t}\n\t\t\n\t\tCollections.sort(list);\n\t\tfor (int i = 9; i > 6; i--) {\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tlist.add(Integer.parseInt(br.readLine()));\n\t\t}\n\t\t\n\t\tCollections.sort(list);\n\t\tfor (int i = 9; i > 6; i--) {\n\t\t\tSystem.out.println(list.get(i));\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;
public class Main {
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
ArrayList<Integer> list=new ArrayList<Integer>();
for (int i = 0; i < 10; i++) {
list.add(Integer.parseInt(br.readLine()));
}
Collections.sort(list);
for (int i = 9; i > 6; i--) {
System.out.println(list.get(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,
41,
13,
2,
18,
13,
13,
17,
42,
2,
13,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
13,
40,
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
],
[
75,
11
],
[
75,
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
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
14,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
61,
70
],
[
70,
71
],
[
12,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"\nimport java.util.Arrays;\nimport java.util.Comparator;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tint[] input = new int[10];\n\t\tScanner s = new Scanner(System.in);\n\t\tfor(int i=0; i<10; i++){\n\t\t\t//System.out.println(\"Please input the \"+ (i+1) +\"th number(integer)\");\n\t\t\tinput[i]=s.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(input);\n\t\tint i=input.length-1;\n\t\twhile(i>input.length-4){\n\t\t\tSystem.out.println(input[i]);\n\t\t\ti--;\n\t\t}\t\t\t\n\t}\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\tpublic static void main(String[] args){\n\t\tint[] input = new int[10];\n\t\tScanner s = new Scanner(System.in);\n\t\tfor(int i=0; i<10; i++){\n\t\t\t//System.out.println(\"Please input the \"+ (i+1) +\"th number(integer)\");\n\t\t\tinput[i]=s.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(input);\n\t\tint i=input.length-1;\n\t\twhile(i>input.length-4){\n\t\t\tSystem.out.println(input[i]);\n\t\t\ti--;\n\t\t}\t\t\t\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tint[] input = new int[10];\n\t\tScanner s = new Scanner(System.in);\n\t\tfor(int i=0; i<10; i++){\n\t\t\t//System.out.println(\"Please input the \"+ (i+1) +\"th number(integer)\");\n\t\t\tinput[i]=s.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(input);\n\t\tint i=input.length-1;\n\t\twhile(i>input.length-4){\n\t\t\tSystem.out.println(input[i]);\n\t\t\ti--;\n\t\t}\t\t\t\n\t}",
"main",
"{\n\t\tint[] input = new int[10];\n\t\tScanner s = new Scanner(System.in);\n\t\tfor(int i=0; i<10; i++){\n\t\t\t//System.out.println(\"Please input the \"+ (i+1) +\"th number(integer)\");\n\t\t\tinput[i]=s.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(input);\n\t\tint i=input.length-1;\n\t\twhile(i>input.length-4){\n\t\t\tSystem.out.println(input[i]);\n\t\t\ti--;\n\t\t}\t\t\t\n\t}",
"int[] input = new int[10];",
"input",
"new int[10]",
"10",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"for(int i=0; i<10; i++){\n\t\t\t//System.out.println(\"Please input the \"+ (i+1) +\"th number(integer)\");\n\t\t\tinput[i]=s.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\t//System.out.println(\"Please input the \"+ (i+1) +\"th number(integer)\");\n\t\t\tinput[i]=s.nextInt();\n\t\t}",
"{\n\t\t\t//System.out.println(\"Please input the \"+ (i+1) +\"th number(integer)\");\n\t\t\tinput[i]=s.nextInt();\n\t\t}",
"input[i]=s.nextInt()",
"input[i]",
"input",
"i",
"s.nextInt()",
"s.nextInt",
"s",
"Arrays.sort(input)",
"Arrays.sort",
"Arrays",
"input",
"int i=input.length-1;",
"i",
"input.length-1",
"input.length",
"input",
"input.length",
"1",
"while(i>input.length-4){\n\t\t\tSystem.out.println(input[i]);\n\t\t\ti--;\n\t\t}",
"i>input.length-4",
"i",
"input.length-4",
"input.length",
"input",
"input.length",
"4",
"{\n\t\t\tSystem.out.println(input[i]);\n\t\t\ti--;\n\t\t}",
"System.out.println(input[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"input[i]",
"input",
"i",
"i--",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tint[] input = new int[10];\n\t\tScanner s = new Scanner(System.in);\n\t\tfor(int i=0; i<10; i++){\n\t\t\t//System.out.println(\"Please input the \"+ (i+1) +\"th number(integer)\");\n\t\t\tinput[i]=s.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(input);\n\t\tint i=input.length-1;\n\t\twhile(i>input.length-4){\n\t\t\tSystem.out.println(input[i]);\n\t\t\ti--;\n\t\t}\t\t\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tint[] input = new int[10];\n\t\tScanner s = new Scanner(System.in);\n\t\tfor(int i=0; i<10; i++){\n\t\t\t//System.out.println(\"Please input the \"+ (i+1) +\"th number(integer)\");\n\t\t\tinput[i]=s.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(input);\n\t\tint i=input.length-1;\n\t\twhile(i>input.length-4){\n\t\t\tSystem.out.println(input[i]);\n\t\t\ti--;\n\t\t}\t\t\t\n\t}\n}",
"Main"
] |
import java.util.Arrays;
import java.util.Comparator;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
int[] input = new int[10];
Scanner s = new Scanner(System.in);
for(int i=0; i<10; i++){
//System.out.println("Please input the "+ (i+1) +"th number(integer)");
input[i]=s.nextInt();
}
Arrays.sort(input);
int i=input.length-1;
while(i>input.length-4){
System.out.println(input[i]);
i--;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
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,
0,
13,
4,
18,
13,
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,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
14,
2,
2,
13,
18,
13,
17,
2,
13,
18,
13,
17,
30,
0,
18,
13,
17,
13,
14,
2,
2,
13,
18,
13,
17,
2,
13,
18,
13,
17,
30,
0,
18,
13,
17,
13,
0,
18,
13,
17,
18,
13,
17,
14,
2,
13,
18,
13,
17,
30,
0,
18,
13,
17,
13,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
17,
29,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
160,
5
],
[
160,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
17,
19
],
[
17,
20
],
[
8,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
43,
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
],
[
8,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
6,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
78,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
85,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
84,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
84,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
106,
108
],
[
103,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
111,
113
],
[
102,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
114,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
124,
125
],
[
124,
126
],
[
102,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
130,
132
],
[
127,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
134,
138
],
[
133,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
143,
144
],
[
143,
145
],
[
133,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
150,
151
],
[
150,
152
],
[
78,
153
],
[
153,
154
],
[
76,
155
],
[
155,
156
],
[
76,
157
],
[
157,
158
],
[
0,
159
],
[
159,
160
],
[
159,
161
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tCalc calc = new Calc();\n\t\tint[] height = {0,0,0};\n\t\tint newh;\n\t\t;\n\t\tfor(int cnt = 0;cnt<10;cnt++){\n\t\t\tnewh = sc.nextInt();\n\t\t\theight = Calc.calc(newh, height);\n\t\t};\n\t\tSystem.out.println(height[0]);\n\t\tSystem.out.println(height[1]);\n\t\tSystem.out.println(height[2]);\n\t}\n}\n\nclass Calc{\n\t//private static final int imax = 110;\n\tpublic static int[] calc(int h, int[] Pastheight){\n\t\tint Newheight[] = (int[])Pastheight.clone();\n\t\tif( (h > Pastheight[2]) && (h <= Pastheight[1])){\n\t\t\tNewheight[2] = h;\n\t\t}else if((h > Pastheight[1]) && (h <= Pastheight[0])){\n\t\t\tNewheight[1] = h;\n\t\t\tNewheight[2] = Pastheight[1];\n\t\t}else if(h > Pastheight[0]){\n\t\t\tNewheight[0] = h;\n\t\t\tNewheight[1] = Pastheight[0];\n\t\t\tNewheight[2] = Pastheight[1];\n\t\t}\n\treturn Newheight;\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\tCalc calc = new Calc();\n\t\tint[] height = {0,0,0};\n\t\tint newh;\n\t\t;\n\t\tfor(int cnt = 0;cnt<10;cnt++){\n\t\t\tnewh = sc.nextInt();\n\t\t\theight = Calc.calc(newh, height);\n\t\t};\n\t\tSystem.out.println(height[0]);\n\t\tSystem.out.println(height[1]);\n\t\tSystem.out.println(height[2]);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tCalc calc = new Calc();\n\t\tint[] height = {0,0,0};\n\t\tint newh;\n\t\t;\n\t\tfor(int cnt = 0;cnt<10;cnt++){\n\t\t\tnewh = sc.nextInt();\n\t\t\theight = Calc.calc(newh, height);\n\t\t};\n\t\tSystem.out.println(height[0]);\n\t\tSystem.out.println(height[1]);\n\t\tSystem.out.println(height[2]);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tCalc calc = new Calc();\n\t\tint[] height = {0,0,0};\n\t\tint newh;\n\t\t;\n\t\tfor(int cnt = 0;cnt<10;cnt++){\n\t\t\tnewh = sc.nextInt();\n\t\t\theight = Calc.calc(newh, height);\n\t\t};\n\t\tSystem.out.println(height[0]);\n\t\tSystem.out.println(height[1]);\n\t\tSystem.out.println(height[2]);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Calc calc = new Calc();",
"calc",
"new Calc()",
"int[] height = {0,0,0};",
"height",
"{0,0,0}",
"0",
"0",
"0",
"int newh;",
"newh",
"for(int cnt = 0;cnt<10;cnt++){\n\t\t\tnewh = sc.nextInt();\n\t\t\theight = Calc.calc(newh, height);\n\t\t}",
"int cnt = 0;",
"int cnt = 0;",
"cnt",
"0",
"cnt<10",
"cnt",
"10",
"cnt++",
"cnt++",
"cnt",
"{\n\t\t\tnewh = sc.nextInt();\n\t\t\theight = Calc.calc(newh, height);\n\t\t}",
"{\n\t\t\tnewh = sc.nextInt();\n\t\t\theight = Calc.calc(newh, height);\n\t\t}",
"newh = sc.nextInt()",
"newh",
"sc.nextInt()",
"sc.nextInt",
"sc",
"height = Calc.calc(newh, height)",
"height",
"Calc.calc(newh, height)",
"Calc.calc",
"Calc",
"newh",
"height",
"System.out.println(height[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"height[0]",
"height",
"0",
"System.out.println(height[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"height[1]",
"height",
"1",
"System.out.println(height[2])",
"System.out.println",
"System.out",
"System",
"System.out",
"height[2]",
"height",
"2",
"String[] args",
"args",
"class Calc{\n\t//private static final int imax = 110;\n\tpublic static int[] calc(int h, int[] Pastheight){\n\t\tint Newheight[] = (int[])Pastheight.clone();\n\t\tif( (h > Pastheight[2]) && (h <= Pastheight[1])){\n\t\t\tNewheight[2] = h;\n\t\t}else if((h > Pastheight[1]) && (h <= Pastheight[0])){\n\t\t\tNewheight[1] = h;\n\t\t\tNewheight[2] = Pastheight[1];\n\t\t}else if(h > Pastheight[0]){\n\t\t\tNewheight[0] = h;\n\t\t\tNewheight[1] = Pastheight[0];\n\t\t\tNewheight[2] = Pastheight[1];\n\t\t}\n\treturn Newheight;\n\t}\n}",
"Calc",
"//private static final int imax = 110;\n\tpublic static int[] calc(int h, int[] Pastheight){\n\t\tint Newheight[] = (int[])Pastheight.clone();\n\t\tif( (h > Pastheight[2]) && (h <= Pastheight[1])){\n\t\t\tNewheight[2] = h;\n\t\t}else if((h > Pastheight[1]) && (h <= Pastheight[0])){\n\t\t\tNewheight[1] = h;\n\t\t\tNewheight[2] = Pastheight[1];\n\t\t}else if(h > Pastheight[0]){\n\t\t\tNewheight[0] = h;\n\t\t\tNewheight[1] = Pastheight[0];\n\t\t\tNewheight[2] = Pastheight[1];\n\t\t}\n\treturn Newheight;\n\t}",
"calc",
"{\n\t\tint Newheight[] = (int[])Pastheight.clone();\n\t\tif( (h > Pastheight[2]) && (h <= Pastheight[1])){\n\t\t\tNewheight[2] = h;\n\t\t}else if((h > Pastheight[1]) && (h <= Pastheight[0])){\n\t\t\tNewheight[1] = h;\n\t\t\tNewheight[2] = Pastheight[1];\n\t\t}else if(h > Pastheight[0]){\n\t\t\tNewheight[0] = h;\n\t\t\tNewheight[1] = Pastheight[0];\n\t\t\tNewheight[2] = Pastheight[1];\n\t\t}\n\treturn Newheight;\n\t}",
"int Newheight[] = (int[])Pastheight.clone();",
"Newheight",
"(int[])Pastheight.clone()",
"Pastheight.clone",
"Pastheight",
"if( (h > Pastheight[2]) && (h <= Pastheight[1])){\n\t\t\tNewheight[2] = h;\n\t\t}else if((h > Pastheight[1]) && (h <= Pastheight[0])){\n\t\t\tNewheight[1] = h;\n\t\t\tNewheight[2] = Pastheight[1];\n\t\t}else if(h > Pastheight[0]){\n\t\t\tNewheight[0] = h;\n\t\t\tNewheight[1] = Pastheight[0];\n\t\t\tNewheight[2] = Pastheight[1];\n\t\t}",
"(h > Pastheight[2]) && (h <= Pastheight[1])",
"(h > Pastheight[2])",
"h",
"Pastheight[2]",
"Pastheight",
"2",
"(h <= Pastheight[1])",
"h",
"Pastheight[1]",
"Pastheight",
"1",
"{\n\t\t\tNewheight[2] = h;\n\t\t}",
"Newheight[2] = h",
"Newheight[2]",
"Newheight",
"2",
"h",
"if((h > Pastheight[1]) && (h <= Pastheight[0])){\n\t\t\tNewheight[1] = h;\n\t\t\tNewheight[2] = Pastheight[1];\n\t\t}else if(h > Pastheight[0]){\n\t\t\tNewheight[0] = h;\n\t\t\tNewheight[1] = Pastheight[0];\n\t\t\tNewheight[2] = Pastheight[1];\n\t\t}",
"(h > Pastheight[1]) && (h <= Pastheight[0])",
"(h > Pastheight[1])",
"h",
"Pastheight[1]",
"Pastheight",
"1",
"(h <= Pastheight[0])",
"h",
"Pastheight[0]",
"Pastheight",
"0",
"{\n\t\t\tNewheight[1] = h;\n\t\t\tNewheight[2] = Pastheight[1];\n\t\t}",
"Newheight[1] = h",
"Newheight[1]",
"Newheight",
"1",
"h",
"Newheight[2] = Pastheight[1]",
"Newheight[2]",
"Newheight",
"2",
"Pastheight[1]",
"Pastheight",
"1",
"if(h > Pastheight[0]){\n\t\t\tNewheight[0] = h;\n\t\t\tNewheight[1] = Pastheight[0];\n\t\t\tNewheight[2] = Pastheight[1];\n\t\t}",
"h > Pastheight[0]",
"h",
"Pastheight[0]",
"Pastheight",
"0",
"{\n\t\t\tNewheight[0] = h;\n\t\t\tNewheight[1] = Pastheight[0];\n\t\t\tNewheight[2] = Pastheight[1];\n\t\t}",
"Newheight[0] = h",
"Newheight[0]",
"Newheight",
"0",
"h",
"Newheight[1] = Pastheight[0]",
"Newheight[1]",
"Newheight",
"1",
"Pastheight[0]",
"Pastheight",
"0",
"Newheight[2] = Pastheight[1]",
"Newheight[2]",
"Newheight",
"2",
"Pastheight[1]",
"Pastheight",
"1",
"return Newheight;",
"Newheight",
"int h",
"h",
"int[] Pastheight",
"Pastheight",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tCalc calc = new Calc();\n\t\tint[] height = {0,0,0};\n\t\tint newh;\n\t\t;\n\t\tfor(int cnt = 0;cnt<10;cnt++){\n\t\t\tnewh = sc.nextInt();\n\t\t\theight = Calc.calc(newh, height);\n\t\t};\n\t\tSystem.out.println(height[0]);\n\t\tSystem.out.println(height[1]);\n\t\tSystem.out.println(height[2]);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tCalc calc = new Calc();\n\t\tint[] height = {0,0,0};\n\t\tint newh;\n\t\t;\n\t\tfor(int cnt = 0;cnt<10;cnt++){\n\t\t\tnewh = sc.nextInt();\n\t\t\theight = Calc.calc(newh, height);\n\t\t};\n\t\tSystem.out.println(height[0]);\n\t\tSystem.out.println(height[1]);\n\t\tSystem.out.println(height[2]);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
Calc calc = new Calc();
int[] height = {0,0,0};
int newh;
;
for(int cnt = 0;cnt<10;cnt++){
newh = sc.nextInt();
height = Calc.calc(newh, height);
};
System.out.println(height[0]);
System.out.println(height[1]);
System.out.println(height[2]);
}
}
class Calc{
//private static final int imax = 110;
public static int[] calc(int h, int[] Pastheight){
int Newheight[] = (int[])Pastheight.clone();
if( (h > Pastheight[2]) && (h <= Pastheight[1])){
Newheight[2] = h;
}else if((h > Pastheight[1]) && (h <= Pastheight[0])){
Newheight[1] = h;
Newheight[2] = Pastheight[1];
}else if(h > Pastheight[0]){
Newheight[0] = h;
Newheight[1] = Pastheight[0];
Newheight[2] = Pastheight[1];
}
return Newheight;
}
} |
[
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,
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,
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
],
[
80,
14
],
[
80,
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
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
45,
46
],
[
17,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
17,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
71,
76
],
[
15,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n int[] hillHeights = new int[10];\n //Input.\n for (int i = 0; i < 10; i++)\n hillHeights[i] = Integer.parseInt(reader.readLine());\n \n //Sort.\n Arrays.sort(hillHeights);\n\n //Output.\n for (int i = 0; i < 3; i++)\n System.out.println(hillHeights[hillHeights.length - i - 1]);\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",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n int[] hillHeights = new int[10];\n //Input.\n for (int i = 0; i < 10; i++)\n hillHeights[i] = Integer.parseInt(reader.readLine());\n \n //Sort.\n Arrays.sort(hillHeights);\n\n //Output.\n for (int i = 0; i < 3; i++)\n System.out.println(hillHeights[hillHeights.length - i - 1]);\n\n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n int[] hillHeights = new int[10];\n //Input.\n for (int i = 0; i < 10; i++)\n hillHeights[i] = Integer.parseInt(reader.readLine());\n \n //Sort.\n Arrays.sort(hillHeights);\n\n //Output.\n for (int i = 0; i < 3; i++)\n System.out.println(hillHeights[hillHeights.length - i - 1]);\n\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n int[] hillHeights = new int[10];\n //Input.\n for (int i = 0; i < 10; i++)\n hillHeights[i] = Integer.parseInt(reader.readLine());\n \n //Sort.\n Arrays.sort(hillHeights);\n\n //Output.\n for (int i = 0; i < 3; i++)\n System.out.println(hillHeights[hillHeights.length - i - 1]);\n\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] hillHeights = new int[10];",
"hillHeights",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++)\n hillHeights[i] = Integer.parseInt(reader.readLine());",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"hillHeights[i] = Integer.parseInt(reader.readLine());",
"hillHeights[i] = Integer.parseInt(reader.readLine())",
"hillHeights[i]",
"hillHeights",
"i",
"Integer.parseInt(reader.readLine())",
"Integer.parseInt",
"Integer",
"reader.readLine()",
"reader.readLine",
"reader",
"Arrays.sort(hillHeights)",
"Arrays.sort",
"Arrays",
"hillHeights",
"for (int i = 0; i < 3; i++)\n System.out.println(hillHeights[hillHeights.length - i - 1]);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"System.out.println(hillHeights[hillHeights.length - i - 1]);",
"System.out.println(hillHeights[hillHeights.length - i - 1])",
"System.out.println",
"System.out",
"System",
"System.out",
"hillHeights[hillHeights.length - i - 1]",
"hillHeights",
"hillHeights.length - i - 1",
"hillHeights.length - i - 1",
"hillHeights.length",
"hillHeights",
"hillHeights.length",
"i",
"1",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n int[] hillHeights = new int[10];\n //Input.\n for (int i = 0; i < 10; i++)\n hillHeights[i] = Integer.parseInt(reader.readLine());\n \n //Sort.\n Arrays.sort(hillHeights);\n\n //Output.\n for (int i = 0; i < 3; i++)\n System.out.println(hillHeights[hillHeights.length - i - 1]);\n\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n int[] hillHeights = new int[10];\n //Input.\n for (int i = 0; i < 10; i++)\n hillHeights[i] = Integer.parseInt(reader.readLine());\n \n //Sort.\n Arrays.sort(hillHeights);\n\n //Output.\n for (int i = 0; i < 3; i++)\n System.out.println(hillHeights[hillHeights.length - i - 1]);\n\n }\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 IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int[] hillHeights = new int[10];
//Input.
for (int i = 0; i < 10; i++)
hillHeights[i] = Integer.parseInt(reader.readLine());
//Sort.
Arrays.sort(hillHeights);
//Output.
for (int i = 0; i < 3; i++)
System.out.println(hillHeights[hillHeights.length - i - 1]);
}
} |
[
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,
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
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
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
],
[
23,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
23,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
79,
80
],
[
79,
81
],
[
21,
82
],
[
82,
83
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.text.ParseException;\nimport java.util.Arrays;\nimport java.util.Collections;\n\nclass Main{\n\tpublic static void main(String[] a)throws ParseException , IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in ));\n\t\tInteger[] mountainHeight = new Integer[10];\n\tfor (int i = 0 ; i <= 9 ; i++) {\nmountainHeight[i] = Integer.valueOf(br.readLine());\n\t}\n\tArrays.sort(mountainHeight , Collections.reverseOrder());\n\t\n\tfor(int i = 0; i < 3 ; i++){\n\t\tSystem.out.println(mountainHeight[i]);\n\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.text.ParseException;",
"ParseException",
"java.text",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"class Main{\n\tpublic static void main(String[] a)throws ParseException , IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in ));\n\t\tInteger[] mountainHeight = new Integer[10];\n\tfor (int i = 0 ; i <= 9 ; i++) {\nmountainHeight[i] = Integer.valueOf(br.readLine());\n\t}\n\tArrays.sort(mountainHeight , Collections.reverseOrder());\n\t\n\tfor(int i = 0; i < 3 ; i++){\n\t\tSystem.out.println(mountainHeight[i]);\n\t}\n\t}\n}",
"Main",
"public static void main(String[] a)throws ParseException , IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in ));\n\t\tInteger[] mountainHeight = new Integer[10];\n\tfor (int i = 0 ; i <= 9 ; i++) {\nmountainHeight[i] = Integer.valueOf(br.readLine());\n\t}\n\tArrays.sort(mountainHeight , Collections.reverseOrder());\n\t\n\tfor(int i = 0; i < 3 ; i++){\n\t\tSystem.out.println(mountainHeight[i]);\n\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in ));\n\t\tInteger[] mountainHeight = new Integer[10];\n\tfor (int i = 0 ; i <= 9 ; i++) {\nmountainHeight[i] = Integer.valueOf(br.readLine());\n\t}\n\tArrays.sort(mountainHeight , Collections.reverseOrder());\n\t\n\tfor(int i = 0; i < 3 ; i++){\n\t\tSystem.out.println(mountainHeight[i]);\n\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in ));",
"br",
"new BufferedReader(new InputStreamReader(System.in ))",
"Integer[] mountainHeight = new Integer[10];",
"mountainHeight",
"new Integer[10]",
"10",
"for (int i = 0 ; i <= 9 ; i++) {\nmountainHeight[i] = Integer.valueOf(br.readLine());\n\t}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i <= 9",
"i",
"9",
"i++",
"i++",
"i",
"{\nmountainHeight[i] = Integer.valueOf(br.readLine());\n\t}",
"{\nmountainHeight[i] = Integer.valueOf(br.readLine());\n\t}",
"mountainHeight[i] = Integer.valueOf(br.readLine())",
"mountainHeight[i]",
"mountainHeight",
"i",
"Integer.valueOf(br.readLine())",
"Integer.valueOf",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(mountainHeight , Collections.reverseOrder())",
"Arrays.sort",
"Arrays",
"mountainHeight",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"for(int i = 0; i < 3 ; i++){\n\t\tSystem.out.println(mountainHeight[i]);\n\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\tSystem.out.println(mountainHeight[i]);\n\t}",
"{\n\t\tSystem.out.println(mountainHeight[i]);\n\t}",
"System.out.println(mountainHeight[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"mountainHeight[i]",
"mountainHeight",
"i",
"String[] a",
"a"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.ParseException;
import java.util.Arrays;
import java.util.Collections;
class Main{
public static void main(String[] a)throws ParseException , IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in ));
Integer[] mountainHeight = new Integer[10];
for (int i = 0 ; i <= 9 ; i++) {
mountainHeight[i] = Integer.valueOf(br.readLine());
}
Arrays.sort(mountainHeight , Collections.reverseOrder());
for(int i = 0; i < 3 ; i++){
System.out.println(mountainHeight[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,
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,
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
],
[
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
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
39,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
20,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
20,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
20,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
69,
70
],
[
60,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
18,
82
],
[
82,
83
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\n\nclass Main {\n public static void main(String[] args) throws IOException {\n ArrayList<Integer> array = new ArrayList<Integer>();\n BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n for(int i = 0; i < 10; i++) {\n int x = Integer.valueOf(buf.readLine());\n array.add(x);\n }\n Collections.sort(array);\n Collections.reverse(array);\n for(int i = 0; i < 3; i++) {\n System.out.println(array.get(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.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"class Main {\n public static void main(String[] args) throws IOException {\n ArrayList<Integer> array = new ArrayList<Integer>();\n BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n for(int i = 0; i < 10; i++) {\n int x = Integer.valueOf(buf.readLine());\n array.add(x);\n }\n Collections.sort(array);\n Collections.reverse(array);\n for(int i = 0; i < 3; i++) {\n System.out.println(array.get(i));\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n ArrayList<Integer> array = new ArrayList<Integer>();\n BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n for(int i = 0; i < 10; i++) {\n int x = Integer.valueOf(buf.readLine());\n array.add(x);\n }\n Collections.sort(array);\n Collections.reverse(array);\n for(int i = 0; i < 3; i++) {\n System.out.println(array.get(i));\n }\n }",
"main",
"{\n ArrayList<Integer> array = new ArrayList<Integer>();\n BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n for(int i = 0; i < 10; i++) {\n int x = Integer.valueOf(buf.readLine());\n array.add(x);\n }\n Collections.sort(array);\n Collections.reverse(array);\n for(int i = 0; i < 3; i++) {\n System.out.println(array.get(i));\n }\n }",
"ArrayList<Integer> array = new ArrayList<Integer>();",
"array",
"new ArrayList<Integer>()",
"BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));",
"buf",
"new BufferedReader(new InputStreamReader(System.in))",
"for(int i = 0; i < 10; i++) {\n int x = Integer.valueOf(buf.readLine());\n array.add(x);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n int x = Integer.valueOf(buf.readLine());\n array.add(x);\n }",
"{\n int x = Integer.valueOf(buf.readLine());\n array.add(x);\n }",
"int x = Integer.valueOf(buf.readLine());",
"x",
"Integer.valueOf(buf.readLine())",
"Integer.valueOf",
"Integer",
"buf.readLine()",
"buf.readLine",
"buf",
"array.add(x)",
"array.add",
"array",
"x",
"Collections.sort(array)",
"Collections.sort",
"Collections",
"array",
"Collections.reverse(array)",
"Collections.reverse",
"Collections",
"array",
"for(int i = 0; i < 3; i++) {\n System.out.println(array.get(i));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(array.get(i));\n }",
"{\n System.out.println(array.get(i));\n }",
"System.out.println(array.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"array.get(i)",
"array.get",
"array",
"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 IOException {
ArrayList<Integer> array = new ArrayList<Integer>();
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
for(int i = 0; i < 10; i++) {
int x = Integer.valueOf(buf.readLine());
array.add(x);
}
Collections.sort(array);
Collections.reverse(array);
for(int i = 0; i < 3; i++) {
System.out.println(array.get(i));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
13,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
20,
17,
41,
13,
17,
38,
30,
4,
18,
13,
4,
18,
13,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
18,
13,
13,
4,
18,
13,
13,
40,
13,
29,
13,
12,
13,
30,
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,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
111,
14
],
[
111,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
17,
22
],
[
22,
23
],
[
22,
24
],
[
15,
25
],
[
25,
26
],
[
111,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
29,
36
],
[
36,
37
],
[
36,
38
],
[
29,
39
],
[
39,
40
],
[
39,
41
],
[
29,
43
],
[
43,
44
],
[
43,
45
],
[
29,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
56,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
63,
72
],
[
72,
73
],
[
29,
74
],
[
74,
75
],
[
111,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
78,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
83,
91
],
[
91,
92
],
[
92,
93
],
[
83,
94
],
[
95,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
76,
108
],
[
108,
109
],
[
0,
110
],
[
110,
111
],
[
110,
112
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\n/**\n * 0001:List of Top 3 Hills\n * \n * @author Lyu\n * @version 2015/06/21\n */\npublic class Main {\n\n /**\n * 10個のデータを読み込み、高い順に3つ出力する。\n * \n * @param args\n * @throws IOException \n * @throws NumberFormatException \n */\n public static void main(String[] args) throws NumberFormatException, IOException {\n\n // 標準入力読取り\n int[] heightOfHills = getHeightOfHills();\n \n // 高い順に3つを表示\n printTop3(heightOfHills);\n }\n\n \n /**\n * 標準入力を読み取り、山の高さを表すデータを要素数10の配列で返す。\n * \n * @return 山の高さを表す配列\n * @throws NumberFormatException\n * @throws IOException\n */\n private static int[] getHeightOfHills() throws NumberFormatException, IOException {\n // 入力読取り\n InputStreamReader streamReader = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(streamReader);\n\n String line = null;\n int[] heightOfHills = new int[10];\n int count = 0;\n\n try {\n while ((line = bufferedReader.readLine()) != null) {\n heightOfHills[count] = Integer.parseInt(line);\n ++count;\n }\n } finally {\n bufferedReader.close();\n streamReader.close();\n }\n return heightOfHills;\n }\n\n /**\n * 受け取ったint型配列要素を、数値の大きい順に3つ出力する。\n * \n * @param array int型の配列\n */\n private static void printTop3(int[] array) {\n // ソート\n Arrays.sort(array);\n \n // 高い順に3つを出力\n for (int i = 1; i <= 3; ++i) {\n System.out.println(array[array.length - 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",
"public class Main {\n\n /**\n * 10個のデータを読み込み、高い順に3つ出力する。\n * \n * @param args\n * @throws IOException \n * @throws NumberFormatException \n */\n public static void main(String[] args) throws NumberFormatException, IOException {\n\n // 標準入力読取り\n int[] heightOfHills = getHeightOfHills();\n \n // 高い順に3つを表示\n printTop3(heightOfHills);\n }\n\n \n /**\n * 標準入力を読み取り、山の高さを表すデータを要素数10の配列で返す。\n * \n * @return 山の高さを表す配列\n * @throws NumberFormatException\n * @throws IOException\n */\n private static int[] getHeightOfHills() throws NumberFormatException, IOException {\n // 入力読取り\n InputStreamReader streamReader = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(streamReader);\n\n String line = null;\n int[] heightOfHills = new int[10];\n int count = 0;\n\n try {\n while ((line = bufferedReader.readLine()) != null) {\n heightOfHills[count] = Integer.parseInt(line);\n ++count;\n }\n } finally {\n bufferedReader.close();\n streamReader.close();\n }\n return heightOfHills;\n }\n\n /**\n * 受け取ったint型配列要素を、数値の大きい順に3つ出力する。\n * \n * @param array int型の配列\n */\n private static void printTop3(int[] array) {\n // ソート\n Arrays.sort(array);\n \n // 高い順に3つを出力\n for (int i = 1; i <= 3; ++i) {\n System.out.println(array[array.length - i]);\n }\n }\n}",
"Main",
"/**\n * 10個のデータを読み込み、高い順に3つ出力する。\n * \n * @param args\n * @throws IOException \n * @throws NumberFormatException \n */\n public static void main(String[] args) throws NumberFormatException, IOException {\n\n // 標準入力読取り\n int[] heightOfHills = getHeightOfHills();\n \n // 高い順に3つを表示\n printTop3(heightOfHills);\n }",
"main",
"{\n\n // 標準入力読取り\n int[] heightOfHills = getHeightOfHills();\n \n // 高い順に3つを表示\n printTop3(heightOfHills);\n }",
"int[] heightOfHills = getHeightOfHills();",
"heightOfHills",
"getHeightOfHills()",
"getHeightOfHills",
"printTop3(heightOfHills)",
"printTop3",
"heightOfHills",
"String[] args",
"args",
"/**\n * 標準入力を読み取り、山の高さを表すデータを要素数10の配列で返す。\n * \n * @return 山の高さを表す配列\n * @throws NumberFormatException\n * @throws IOException\n */\n private static int[] getHeightOfHills() throws NumberFormatException, IOException {\n // 入力読取り\n InputStreamReader streamReader = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(streamReader);\n\n String line = null;\n int[] heightOfHills = new int[10];\n int count = 0;\n\n try {\n while ((line = bufferedReader.readLine()) != null) {\n heightOfHills[count] = Integer.parseInt(line);\n ++count;\n }\n } finally {\n bufferedReader.close();\n streamReader.close();\n }\n return heightOfHills;\n }",
"getHeightOfHills",
"{\n // 入力読取り\n InputStreamReader streamReader = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(streamReader);\n\n String line = null;\n int[] heightOfHills = new int[10];\n int count = 0;\n\n try {\n while ((line = bufferedReader.readLine()) != null) {\n heightOfHills[count] = Integer.parseInt(line);\n ++count;\n }\n } finally {\n bufferedReader.close();\n streamReader.close();\n }\n return heightOfHills;\n }",
"InputStreamReader streamReader = new InputStreamReader(System.in);",
"streamReader",
"new InputStreamReader(System.in)",
"BufferedReader bufferedReader = new BufferedReader(streamReader);",
"bufferedReader",
"new BufferedReader(streamReader)",
"String line = null;",
"line",
"null",
"int[] heightOfHills = new int[10];",
"heightOfHills",
"new int[10]",
"10",
"int count = 0;",
"count",
"0",
"try {\n while ((line = bufferedReader.readLine()) != null) {\n heightOfHills[count] = Integer.parseInt(line);\n ++count;\n }\n } finally {\n bufferedReader.close();\n streamReader.close();\n }",
"{\n bufferedReader.close();\n streamReader.close();\n }",
"bufferedReader.close()",
"bufferedReader.close",
"bufferedReader",
"streamReader.close()",
"streamReader.close",
"streamReader",
"{\n while ((line = bufferedReader.readLine()) != null) {\n heightOfHills[count] = Integer.parseInt(line);\n ++count;\n }\n }",
"while ((line = bufferedReader.readLine()) != null) {\n heightOfHills[count] = Integer.parseInt(line);\n ++count;\n }",
"(line = bufferedReader.readLine()) != null",
"(line = bufferedReader.readLine())",
"line",
"bufferedReader.readLine()",
"bufferedReader.readLine",
"bufferedReader",
"null",
"{\n heightOfHills[count] = Integer.parseInt(line);\n ++count;\n }",
"heightOfHills[count] = Integer.parseInt(line)",
"heightOfHills[count]",
"heightOfHills",
"count",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"++count",
"count",
"return heightOfHills;",
"heightOfHills",
"/**\n * 受け取ったint型配列要素を、数値の大きい順に3つ出力する。\n * \n * @param array int型の配列\n */\n private static void printTop3(int[] array) {\n // ソート\n Arrays.sort(array);\n \n // 高い順に3つを出力\n for (int i = 1; i <= 3; ++i) {\n System.out.println(array[array.length - i]);\n }\n }",
"printTop3",
"{\n // ソート\n Arrays.sort(array);\n \n // 高い順に3つを出力\n for (int i = 1; i <= 3; ++i) {\n System.out.println(array[array.length - i]);\n }\n }",
"Arrays.sort(array)",
"Arrays.sort",
"Arrays",
"array",
"for (int i = 1; i <= 3; ++i) {\n System.out.println(array[array.length - i]);\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 3",
"i",
"3",
"++i",
"++i",
"i",
"{\n System.out.println(array[array.length - i]);\n }",
"{\n System.out.println(array[array.length - i]);\n }",
"System.out.println(array[array.length - i])",
"System.out.println",
"System.out",
"System",
"System.out",
"array[array.length - i]",
"array",
"array.length - i",
"array.length",
"array",
"array.length",
"i",
"int[] array",
"array",
"public class Main {\n\n /**\n * 10個のデータを読み込み、高い順に3つ出力する。\n * \n * @param args\n * @throws IOException \n * @throws NumberFormatException \n */\n public static void main(String[] args) throws NumberFormatException, IOException {\n\n // 標準入力読取り\n int[] heightOfHills = getHeightOfHills();\n \n // 高い順に3つを表示\n printTop3(heightOfHills);\n }\n\n \n /**\n * 標準入力を読み取り、山の高さを表すデータを要素数10の配列で返す。\n * \n * @return 山の高さを表す配列\n * @throws NumberFormatException\n * @throws IOException\n */\n private static int[] getHeightOfHills() throws NumberFormatException, IOException {\n // 入力読取り\n InputStreamReader streamReader = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(streamReader);\n\n String line = null;\n int[] heightOfHills = new int[10];\n int count = 0;\n\n try {\n while ((line = bufferedReader.readLine()) != null) {\n heightOfHills[count] = Integer.parseInt(line);\n ++count;\n }\n } finally {\n bufferedReader.close();\n streamReader.close();\n }\n return heightOfHills;\n }\n\n /**\n * 受け取ったint型配列要素を、数値の大きい順に3つ出力する。\n * \n * @param array int型の配列\n */\n private static void printTop3(int[] array) {\n // ソート\n Arrays.sort(array);\n \n // 高い順に3つを出力\n for (int i = 1; i <= 3; ++i) {\n System.out.println(array[array.length - i]);\n }\n }\n}",
"public class Main {\n\n /**\n * 10個のデータを読み込み、高い順に3つ出力する。\n * \n * @param args\n * @throws IOException \n * @throws NumberFormatException \n */\n public static void main(String[] args) throws NumberFormatException, IOException {\n\n // 標準入力読取り\n int[] heightOfHills = getHeightOfHills();\n \n // 高い順に3つを表示\n printTop3(heightOfHills);\n }\n\n \n /**\n * 標準入力を読み取り、山の高さを表すデータを要素数10の配列で返す。\n * \n * @return 山の高さを表す配列\n * @throws NumberFormatException\n * @throws IOException\n */\n private static int[] getHeightOfHills() throws NumberFormatException, IOException {\n // 入力読取り\n InputStreamReader streamReader = new InputStreamReader(System.in);\n BufferedReader bufferedReader = new BufferedReader(streamReader);\n\n String line = null;\n int[] heightOfHills = new int[10];\n int count = 0;\n\n try {\n while ((line = bufferedReader.readLine()) != null) {\n heightOfHills[count] = Integer.parseInt(line);\n ++count;\n }\n } finally {\n bufferedReader.close();\n streamReader.close();\n }\n return heightOfHills;\n }\n\n /**\n * 受け取ったint型配列要素を、数値の大きい順に3つ出力する。\n * \n * @param array int型の配列\n */\n private static void printTop3(int[] array) {\n // ソート\n Arrays.sort(array);\n \n // 高い順に3つを出力\n for (int i = 1; i <= 3; ++i) {\n System.out.println(array[array.length - i]);\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
/**
* 0001:List of Top 3 Hills
*
* @author Lyu
* @version 2015/06/21
*/
public class Main {
/**
* 10個のデータを読み込み、高い順に3つ出力する。
*
* @param args
* @throws IOException
* @throws NumberFormatException
*/
public static void main(String[] args) throws NumberFormatException, IOException {
// 標準入力読取り
int[] heightOfHills = getHeightOfHills();
// 高い順に3つを表示
printTop3(heightOfHills);
}
/**
* 標準入力を読み取り、山の高さを表すデータを要素数10の配列で返す。
*
* @return 山の高さを表す配列
* @throws NumberFormatException
* @throws IOException
*/
private static int[] getHeightOfHills() throws NumberFormatException, IOException {
// 入力読取り
InputStreamReader streamReader = new InputStreamReader(System.in);
BufferedReader bufferedReader = new BufferedReader(streamReader);
String line = null;
int[] heightOfHills = new int[10];
int count = 0;
try {
while ((line = bufferedReader.readLine()) != null) {
heightOfHills[count] = Integer.parseInt(line);
++count;
}
} finally {
bufferedReader.close();
streamReader.close();
}
return heightOfHills;
}
/**
* 受け取ったint型配列要素を、数値の大きい順に3つ出力する。
*
* @param array int型の配列
*/
private static void printTop3(int[] array) {
// ソート
Arrays.sort(array);
// 高い順に3つを出力
for (int i = 1; i <= 3; ++i) {
System.out.println(array[array.length - i]);
}
}
} |
[
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,
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,
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
],
[
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
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
36,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
51,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
45,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
71,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
82,
84
],
[
77,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
71,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
90,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
14,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
107,
108
],
[
107,
109
],
[
14,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
115,
116
],
[
115,
117
],
[
14,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
118,
123
],
[
123,
124
],
[
123,
125
],
[
12,
126
],
[
126,
127
]
] | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc =new Scanner(System.in);\n\t\tint[] highests={0,0,0};\n\t\tfor(int i=0;i<10;i++){\n\t\t\tint height=Integer.parseInt(sc.nextLine());\n\n\t\t\tif(highests[0]<=height){\n\t\t\t\thighests[2]=highests[1];\n\t\t\t\thighests[1]=highests[0];\n\t\t\t\thighests[0]=height;\n\n\t\t\t}else if(highests[1]<=height){\n\t\t\t\thighests[2]=highests[1];\n\t\t\t\thighests[1]=height;\n\t\t\t}else if(highests[2]<=height){\n\t\t\t\thighests[2]=height;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(highests[0]);\n\t\tSystem.out.println(highests[1]);\n\t\tSystem.out.println(highests[2]);\n\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc =new Scanner(System.in);\n\t\tint[] highests={0,0,0};\n\t\tfor(int i=0;i<10;i++){\n\t\t\tint height=Integer.parseInt(sc.nextLine());\n\n\t\t\tif(highests[0]<=height){\n\t\t\t\thighests[2]=highests[1];\n\t\t\t\thighests[1]=highests[0];\n\t\t\t\thighests[0]=height;\n\n\t\t\t}else if(highests[1]<=height){\n\t\t\t\thighests[2]=highests[1];\n\t\t\t\thighests[1]=height;\n\t\t\t}else if(highests[2]<=height){\n\t\t\t\thighests[2]=height;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(highests[0]);\n\t\tSystem.out.println(highests[1]);\n\t\tSystem.out.println(highests[2]);\n\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc =new Scanner(System.in);\n\t\tint[] highests={0,0,0};\n\t\tfor(int i=0;i<10;i++){\n\t\t\tint height=Integer.parseInt(sc.nextLine());\n\n\t\t\tif(highests[0]<=height){\n\t\t\t\thighests[2]=highests[1];\n\t\t\t\thighests[1]=highests[0];\n\t\t\t\thighests[0]=height;\n\n\t\t\t}else if(highests[1]<=height){\n\t\t\t\thighests[2]=highests[1];\n\t\t\t\thighests[1]=height;\n\t\t\t}else if(highests[2]<=height){\n\t\t\t\thighests[2]=height;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(highests[0]);\n\t\tSystem.out.println(highests[1]);\n\t\tSystem.out.println(highests[2]);\n\n\t}",
"main",
"{\n\t\tScanner sc =new Scanner(System.in);\n\t\tint[] highests={0,0,0};\n\t\tfor(int i=0;i<10;i++){\n\t\t\tint height=Integer.parseInt(sc.nextLine());\n\n\t\t\tif(highests[0]<=height){\n\t\t\t\thighests[2]=highests[1];\n\t\t\t\thighests[1]=highests[0];\n\t\t\t\thighests[0]=height;\n\n\t\t\t}else if(highests[1]<=height){\n\t\t\t\thighests[2]=highests[1];\n\t\t\t\thighests[1]=height;\n\t\t\t}else if(highests[2]<=height){\n\t\t\t\thighests[2]=height;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(highests[0]);\n\t\tSystem.out.println(highests[1]);\n\t\tSystem.out.println(highests[2]);\n\n\t}",
"Scanner sc =new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] highests={0,0,0};",
"highests",
"{0,0,0}",
"0",
"0",
"0",
"for(int i=0;i<10;i++){\n\t\t\tint height=Integer.parseInt(sc.nextLine());\n\n\t\t\tif(highests[0]<=height){\n\t\t\t\thighests[2]=highests[1];\n\t\t\t\thighests[1]=highests[0];\n\t\t\t\thighests[0]=height;\n\n\t\t\t}else if(highests[1]<=height){\n\t\t\t\thighests[2]=highests[1];\n\t\t\t\thighests[1]=height;\n\t\t\t}else if(highests[2]<=height){\n\t\t\t\thighests[2]=height;\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 height=Integer.parseInt(sc.nextLine());\n\n\t\t\tif(highests[0]<=height){\n\t\t\t\thighests[2]=highests[1];\n\t\t\t\thighests[1]=highests[0];\n\t\t\t\thighests[0]=height;\n\n\t\t\t}else if(highests[1]<=height){\n\t\t\t\thighests[2]=highests[1];\n\t\t\t\thighests[1]=height;\n\t\t\t}else if(highests[2]<=height){\n\t\t\t\thighests[2]=height;\n\t\t\t}\n\t\t}",
"{\n\t\t\tint height=Integer.parseInt(sc.nextLine());\n\n\t\t\tif(highests[0]<=height){\n\t\t\t\thighests[2]=highests[1];\n\t\t\t\thighests[1]=highests[0];\n\t\t\t\thighests[0]=height;\n\n\t\t\t}else if(highests[1]<=height){\n\t\t\t\thighests[2]=highests[1];\n\t\t\t\thighests[1]=height;\n\t\t\t}else if(highests[2]<=height){\n\t\t\t\thighests[2]=height;\n\t\t\t}\n\t\t}",
"int height=Integer.parseInt(sc.nextLine());",
"height",
"Integer.parseInt(sc.nextLine())",
"Integer.parseInt",
"Integer",
"sc.nextLine()",
"sc.nextLine",
"sc",
"if(highests[0]<=height){\n\t\t\t\thighests[2]=highests[1];\n\t\t\t\thighests[1]=highests[0];\n\t\t\t\thighests[0]=height;\n\n\t\t\t}else if(highests[1]<=height){\n\t\t\t\thighests[2]=highests[1];\n\t\t\t\thighests[1]=height;\n\t\t\t}else if(highests[2]<=height){\n\t\t\t\thighests[2]=height;\n\t\t\t}",
"highests[0]<=height",
"highests[0]",
"highests",
"0",
"height",
"{\n\t\t\t\thighests[2]=highests[1];\n\t\t\t\thighests[1]=highests[0];\n\t\t\t\thighests[0]=height;\n\n\t\t\t}",
"highests[2]=highests[1]",
"highests[2]",
"highests",
"2",
"highests[1]",
"highests",
"1",
"highests[1]=highests[0]",
"highests[1]",
"highests",
"1",
"highests[0]",
"highests",
"0",
"highests[0]=height",
"highests[0]",
"highests",
"0",
"height",
"if(highests[1]<=height){\n\t\t\t\thighests[2]=highests[1];\n\t\t\t\thighests[1]=height;\n\t\t\t}else if(highests[2]<=height){\n\t\t\t\thighests[2]=height;\n\t\t\t}",
"highests[1]<=height",
"highests[1]",
"highests",
"1",
"height",
"{\n\t\t\t\thighests[2]=highests[1];\n\t\t\t\thighests[1]=height;\n\t\t\t}",
"highests[2]=highests[1]",
"highests[2]",
"highests",
"2",
"highests[1]",
"highests",
"1",
"highests[1]=height",
"highests[1]",
"highests",
"1",
"height",
"if(highests[2]<=height){\n\t\t\t\thighests[2]=height;\n\t\t\t}",
"highests[2]<=height",
"highests[2]",
"highests",
"2",
"height",
"{\n\t\t\t\thighests[2]=height;\n\t\t\t}",
"highests[2]=height",
"highests[2]",
"highests",
"2",
"height",
"System.out.println(highests[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"highests[0]",
"highests",
"0",
"System.out.println(highests[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"highests[1]",
"highests",
"1",
"System.out.println(highests[2])",
"System.out.println",
"System.out",
"System",
"System.out",
"highests[2]",
"highests",
"2",
"String[] args",
"args"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner sc =new Scanner(System.in);
int[] highests={0,0,0};
for(int i=0;i<10;i++){
int height=Integer.parseInt(sc.nextLine());
if(highests[0]<=height){
highests[2]=highests[1];
highests[1]=highests[0];
highests[0]=height;
}else if(highests[1]<=height){
highests[2]=highests[1];
highests[1]=height;
}else if(highests[2]<=height){
highests[2]=height;
}
}
System.out.println(highests[0]);
System.out.println(highests[1]);
System.out.println(highests[2]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
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,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
0,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
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,
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
],
[
122,
8
],
[
122,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
11,
14
],
[
14,
15
],
[
14,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
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
],
[
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
],
[
62,
63
],
[
62,
64
],
[
58,
65
],
[
65,
66
],
[
65,
67
],
[
58,
68
],
[
68,
69
],
[
69,
70
],
[
58,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
80,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
90,
92
],
[
80,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
11,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
103,
105
],
[
98,
106
],
[
106,
107
],
[
107,
108
],
[
98,
109
],
[
110,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
116,
118
],
[
9,
119
],
[
119,
120
],
[
0,
121
],
[
121,
122
],
[
121,
123
]
] | [
"\nimport java.io.*;\nimport java.util.Scanner;\npublic class Main {\npublic static void main(String args[])\n{\n\tint j;\n\t//Scanner a = new Scanner(System.in);\n\tScanner in = new Scanner(System.in);\n\t//System.out.println(\"ENter the list\");\n\tint height[]=new int[10];\n\tint i;\n\t//int j;\n\tint x;\n\tfor(i=0;i<10;i++)\n\t{\n\t\theight[i]=in.nextInt();\n\t\t\n\t}\n\t/*for(i=0;i<10;i++)\n\t{\n\t\tSystem.out.print(height[i]+ \" \");\n\t}\n\t*/\nfor(i=0;i<10;i++)\n{\n\tfor(j=i+1;j<10;j++)\n\t\tif(height[i]>height[j])\n\t\t{\n\t\t\tint temp=height[i];\n\t\t\theight[i]=height[j];\n\t\t\theight[j]=temp;\n\t\t}\n}\n//System.out.println(\"Sorted\");\nfor(i=9;i>6;i--)\n{\n\tSystem.out.println(height[i]);\n}\n\t\n\n}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\npublic static void main(String args[])\n{\n\tint j;\n\t//Scanner a = new Scanner(System.in);\n\tScanner in = new Scanner(System.in);\n\t//System.out.println(\"ENter the list\");\n\tint height[]=new int[10];\n\tint i;\n\t//int j;\n\tint x;\n\tfor(i=0;i<10;i++)\n\t{\n\t\theight[i]=in.nextInt();\n\t\t\n\t}\n\t/*for(i=0;i<10;i++)\n\t{\n\t\tSystem.out.print(height[i]+ \" \");\n\t}\n\t*/\nfor(i=0;i<10;i++)\n{\n\tfor(j=i+1;j<10;j++)\n\t\tif(height[i]>height[j])\n\t\t{\n\t\t\tint temp=height[i];\n\t\t\theight[i]=height[j];\n\t\t\theight[j]=temp;\n\t\t}\n}\n//System.out.println(\"Sorted\");\nfor(i=9;i>6;i--)\n{\n\tSystem.out.println(height[i]);\n}\n\t\n\n}\n}",
"Main",
"public static void main(String args[])\n{\n\tint j;\n\t//Scanner a = new Scanner(System.in);\n\tScanner in = new Scanner(System.in);\n\t//System.out.println(\"ENter the list\");\n\tint height[]=new int[10];\n\tint i;\n\t//int j;\n\tint x;\n\tfor(i=0;i<10;i++)\n\t{\n\t\theight[i]=in.nextInt();\n\t\t\n\t}\n\t/*for(i=0;i<10;i++)\n\t{\n\t\tSystem.out.print(height[i]+ \" \");\n\t}\n\t*/\nfor(i=0;i<10;i++)\n{\n\tfor(j=i+1;j<10;j++)\n\t\tif(height[i]>height[j])\n\t\t{\n\t\t\tint temp=height[i];\n\t\t\theight[i]=height[j];\n\t\t\theight[j]=temp;\n\t\t}\n}\n//System.out.println(\"Sorted\");\nfor(i=9;i>6;i--)\n{\n\tSystem.out.println(height[i]);\n}\n\t\n\n}",
"main",
"{\n\tint j;\n\t//Scanner a = new Scanner(System.in);\n\tScanner in = new Scanner(System.in);\n\t//System.out.println(\"ENter the list\");\n\tint height[]=new int[10];\n\tint i;\n\t//int j;\n\tint x;\n\tfor(i=0;i<10;i++)\n\t{\n\t\theight[i]=in.nextInt();\n\t\t\n\t}\n\t/*for(i=0;i<10;i++)\n\t{\n\t\tSystem.out.print(height[i]+ \" \");\n\t}\n\t*/\nfor(i=0;i<10;i++)\n{\n\tfor(j=i+1;j<10;j++)\n\t\tif(height[i]>height[j])\n\t\t{\n\t\t\tint temp=height[i];\n\t\t\theight[i]=height[j];\n\t\t\theight[j]=temp;\n\t\t}\n}\n//System.out.println(\"Sorted\");\nfor(i=9;i>6;i--)\n{\n\tSystem.out.println(height[i]);\n}\n\t\n\n}",
"int j;",
"j",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int height[]=new int[10];",
"height",
"new int[10]",
"10",
"int i;",
"i",
"int x;",
"x",
"for(i=0;i<10;i++)\n\t{\n\t\theight[i]=in.nextInt();\n\t\t\n\t}",
"i=0;",
"i=0",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\theight[i]=in.nextInt();\n\t\t\n\t}",
"{\n\t\theight[i]=in.nextInt();\n\t\t\n\t}",
"height[i]=in.nextInt()",
"height[i]",
"height",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"for(i=0;i<10;i++)\n{\n\tfor(j=i+1;j<10;j++)\n\t\tif(height[i]>height[j])\n\t\t{\n\t\t\tint temp=height[i];\n\t\t\theight[i]=height[j];\n\t\t\theight[j]=temp;\n\t\t}\n}",
"i=0;",
"i=0",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\tfor(j=i+1;j<10;j++)\n\t\tif(height[i]>height[j])\n\t\t{\n\t\t\tint temp=height[i];\n\t\t\theight[i]=height[j];\n\t\t\theight[j]=temp;\n\t\t}\n}",
"{\n\tfor(j=i+1;j<10;j++)\n\t\tif(height[i]>height[j])\n\t\t{\n\t\t\tint temp=height[i];\n\t\t\theight[i]=height[j];\n\t\t\theight[j]=temp;\n\t\t}\n}",
"for(j=i+1;j<10;j++)\n\t\tif(height[i]>height[j])\n\t\t{\n\t\t\tint temp=height[i];\n\t\t\theight[i]=height[j];\n\t\t\theight[j]=temp;\n\t\t}",
"j=i+1;",
"j=i+1",
"j",
"i+1",
"i",
"1",
"j<10",
"j",
"10",
"j++",
"j++",
"j",
"if(height[i]>height[j])\n\t\t{\n\t\t\tint temp=height[i];\n\t\t\theight[i]=height[j];\n\t\t\theight[j]=temp;\n\t\t}",
"if(height[i]>height[j])\n\t\t{\n\t\t\tint temp=height[i];\n\t\t\theight[i]=height[j];\n\t\t\theight[j]=temp;\n\t\t}",
"height[i]>height[j]",
"height[i]",
"height",
"i",
"height[j]",
"height",
"j",
"{\n\t\t\tint temp=height[i];\n\t\t\theight[i]=height[j];\n\t\t\theight[j]=temp;\n\t\t}",
"int temp=height[i];",
"temp",
"height[i]",
"height",
"i",
"height[i]=height[j]",
"height[i]",
"height",
"i",
"height[j]",
"height",
"j",
"height[j]=temp",
"height[j]",
"height",
"j",
"temp",
"for(i=9;i>6;i--)\n{\n\tSystem.out.println(height[i]);\n}",
"i=9;",
"i=9",
"i",
"9",
"i>6",
"i",
"6",
"i--",
"i--",
"i",
"{\n\tSystem.out.println(height[i]);\n}",
"{\n\tSystem.out.println(height[i]);\n}",
"System.out.println(height[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"height[i]",
"height",
"i",
"String args[]",
"args",
"public class Main {\npublic static void main(String args[])\n{\n\tint j;\n\t//Scanner a = new Scanner(System.in);\n\tScanner in = new Scanner(System.in);\n\t//System.out.println(\"ENter the list\");\n\tint height[]=new int[10];\n\tint i;\n\t//int j;\n\tint x;\n\tfor(i=0;i<10;i++)\n\t{\n\t\theight[i]=in.nextInt();\n\t\t\n\t}\n\t/*for(i=0;i<10;i++)\n\t{\n\t\tSystem.out.print(height[i]+ \" \");\n\t}\n\t*/\nfor(i=0;i<10;i++)\n{\n\tfor(j=i+1;j<10;j++)\n\t\tif(height[i]>height[j])\n\t\t{\n\t\t\tint temp=height[i];\n\t\t\theight[i]=height[j];\n\t\t\theight[j]=temp;\n\t\t}\n}\n//System.out.println(\"Sorted\");\nfor(i=9;i>6;i--)\n{\n\tSystem.out.println(height[i]);\n}\n\t\n\n}\n}",
"public class Main {\npublic static void main(String args[])\n{\n\tint j;\n\t//Scanner a = new Scanner(System.in);\n\tScanner in = new Scanner(System.in);\n\t//System.out.println(\"ENter the list\");\n\tint height[]=new int[10];\n\tint i;\n\t//int j;\n\tint x;\n\tfor(i=0;i<10;i++)\n\t{\n\t\theight[i]=in.nextInt();\n\t\t\n\t}\n\t/*for(i=0;i<10;i++)\n\t{\n\t\tSystem.out.print(height[i]+ \" \");\n\t}\n\t*/\nfor(i=0;i<10;i++)\n{\n\tfor(j=i+1;j<10;j++)\n\t\tif(height[i]>height[j])\n\t\t{\n\t\t\tint temp=height[i];\n\t\t\theight[i]=height[j];\n\t\t\theight[j]=temp;\n\t\t}\n}\n//System.out.println(\"Sorted\");\nfor(i=9;i>6;i--)\n{\n\tSystem.out.println(height[i]);\n}\n\t\n\n}\n}",
"Main"
] |
import java.io.*;
import java.util.Scanner;
public class Main {
public static void main(String args[])
{
int j;
//Scanner a = new Scanner(System.in);
Scanner in = new Scanner(System.in);
//System.out.println("ENter the list");
int height[]=new int[10];
int i;
//int j;
int x;
for(i=0;i<10;i++)
{
height[i]=in.nextInt();
}
/*for(i=0;i<10;i++)
{
System.out.print(height[i]+ " ");
}
*/
for(i=0;i<10;i++)
{
for(j=i+1;j<10;j++)
if(height[i]>height[j])
{
int temp=height[i];
height[i]=height[j];
height[j]=temp;
}
}
//System.out.println("Sorted");
for(i=9;i>6;i--)
{
System.out.println(height[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
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,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
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
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
10,
15
],
[
15,
16
],
[
15,
17
],
[
10,
18
],
[
18,
19
],
[
18,
20
],
[
0,
21
],
[
181,
22
],
[
181,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
25,
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
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
48,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
25,
69
],
[
69,
70
],
[
69,
71
],
[
25,
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
],
[
86,
90
],
[
90,
91
],
[
90,
92
],
[
85,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
98,
100
],
[
93,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
105,
106
],
[
105,
107
],
[
93,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
112,
114
],
[
85,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
120,
122
],
[
115,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
128,
130
],
[
123,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
135,
136
],
[
135,
137
],
[
115,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
143,
144
],
[
143,
145
],
[
138,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
151,
152
],
[
151,
153
],
[
25,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
154,
159
],
[
159,
160
],
[
159,
161
],
[
25,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
162,
167
],
[
167,
168
],
[
167,
169
],
[
25,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
170,
175
],
[
175,
176
],
[
175,
177
],
[
23,
178
],
[
178,
179
],
[
0,
180
],
[
180,
181
],
[
180,
182
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Top3{\n\tint fst=0;\n\tint snd=0;\n\tint thd=0;\n}\n\npublic class Main{\n\tpublic static void main(String args[]){\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint mnt[]=new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tString s;\n\t\t\ttry {\n\t\t\t\ts = br.readLine();\n\t\t\t\tmnt[i]=Integer.parseInt(s);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\tTop3 m = new Top3();\n\t\t\n\t\tfor(int i=0;i<10;i++){\n\t\t\tif(mnt[i]>m.fst){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = m.fst;\n\t\t\t\tm.fst = mnt[i];\n\t\t\t}else if(mnt[i]>m.snd){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = mnt[i];\n\t\t\t}else if(mnt[i]>m.thd){\n\t\t\t\tm.thd = mnt[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(m.fst);\n\t\tSystem.out.println(m.snd);\n\t\tSystem.out.println(m.thd);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Top3{\n\tint fst=0;\n\tint snd=0;\n\tint thd=0;\n}",
"Top3",
"int fst=0;",
"fst",
"0",
"int snd=0;",
"snd",
"0",
"int thd=0;",
"thd",
"0",
"public class Main{\n\tpublic static void main(String args[]){\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint mnt[]=new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tString s;\n\t\t\ttry {\n\t\t\t\ts = br.readLine();\n\t\t\t\tmnt[i]=Integer.parseInt(s);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\tTop3 m = new Top3();\n\t\t\n\t\tfor(int i=0;i<10;i++){\n\t\t\tif(mnt[i]>m.fst){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = m.fst;\n\t\t\t\tm.fst = mnt[i];\n\t\t\t}else if(mnt[i]>m.snd){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = mnt[i];\n\t\t\t}else if(mnt[i]>m.thd){\n\t\t\t\tm.thd = mnt[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(m.fst);\n\t\tSystem.out.println(m.snd);\n\t\tSystem.out.println(m.thd);\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint mnt[]=new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tString s;\n\t\t\ttry {\n\t\t\t\ts = br.readLine();\n\t\t\t\tmnt[i]=Integer.parseInt(s);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\tTop3 m = new Top3();\n\t\t\n\t\tfor(int i=0;i<10;i++){\n\t\t\tif(mnt[i]>m.fst){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = m.fst;\n\t\t\t\tm.fst = mnt[i];\n\t\t\t}else if(mnt[i]>m.snd){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = mnt[i];\n\t\t\t}else if(mnt[i]>m.thd){\n\t\t\t\tm.thd = mnt[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(m.fst);\n\t\tSystem.out.println(m.snd);\n\t\tSystem.out.println(m.thd);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint mnt[]=new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tString s;\n\t\t\ttry {\n\t\t\t\ts = br.readLine();\n\t\t\t\tmnt[i]=Integer.parseInt(s);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\tTop3 m = new Top3();\n\t\t\n\t\tfor(int i=0;i<10;i++){\n\t\t\tif(mnt[i]>m.fst){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = m.fst;\n\t\t\t\tm.fst = mnt[i];\n\t\t\t}else if(mnt[i]>m.snd){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = mnt[i];\n\t\t\t}else if(mnt[i]>m.thd){\n\t\t\t\tm.thd = mnt[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(m.fst);\n\t\tSystem.out.println(m.snd);\n\t\tSystem.out.println(m.thd);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int mnt[]=new int[10];",
"mnt",
"new int[10]",
"10",
"for(int i=0;i<10;i++){\n\t\t\tString s;\n\t\t\ttry {\n\t\t\t\ts = br.readLine();\n\t\t\t\tmnt[i]=Integer.parseInt(s);\n\t\t\t} catch (IOException e) {\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\tString s;\n\t\t\ttry {\n\t\t\t\ts = br.readLine();\n\t\t\t\tmnt[i]=Integer.parseInt(s);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"{\n\t\t\tString s;\n\t\t\ttry {\n\t\t\t\ts = br.readLine();\n\t\t\t\tmnt[i]=Integer.parseInt(s);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"String s;",
"s",
"try {\n\t\t\t\ts = br.readLine();\n\t\t\t\tmnt[i]=Integer.parseInt(s);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"IOException e",
"{\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\ts = br.readLine();\n\t\t\t\tmnt[i]=Integer.parseInt(s);\n\t\t\t}",
"s = br.readLine()",
"s",
"br.readLine()",
"br.readLine",
"br",
"mnt[i]=Integer.parseInt(s)",
"mnt[i]",
"mnt",
"i",
"Integer.parseInt(s)",
"Integer.parseInt",
"Integer",
"s",
"Top3 m = new Top3();",
"m",
"new Top3()",
"for(int i=0;i<10;i++){\n\t\t\tif(mnt[i]>m.fst){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = m.fst;\n\t\t\t\tm.fst = mnt[i];\n\t\t\t}else if(mnt[i]>m.snd){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = mnt[i];\n\t\t\t}else if(mnt[i]>m.thd){\n\t\t\t\tm.thd = mnt[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(mnt[i]>m.fst){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = m.fst;\n\t\t\t\tm.fst = mnt[i];\n\t\t\t}else if(mnt[i]>m.snd){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = mnt[i];\n\t\t\t}else if(mnt[i]>m.thd){\n\t\t\t\tm.thd = mnt[i];\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(mnt[i]>m.fst){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = m.fst;\n\t\t\t\tm.fst = mnt[i];\n\t\t\t}else if(mnt[i]>m.snd){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = mnt[i];\n\t\t\t}else if(mnt[i]>m.thd){\n\t\t\t\tm.thd = mnt[i];\n\t\t\t}\n\t\t}",
"if(mnt[i]>m.fst){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = m.fst;\n\t\t\t\tm.fst = mnt[i];\n\t\t\t}else if(mnt[i]>m.snd){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = mnt[i];\n\t\t\t}else if(mnt[i]>m.thd){\n\t\t\t\tm.thd = mnt[i];\n\t\t\t}",
"mnt[i]>m.fst",
"mnt[i]",
"mnt",
"i",
"m.fst",
"m",
"m.fst",
"{\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = m.fst;\n\t\t\t\tm.fst = mnt[i];\n\t\t\t}",
"m.thd = m.snd",
"m.thd",
"m",
"m.thd",
"m.snd",
"m",
"m.snd",
"m.snd = m.fst",
"m.snd",
"m",
"m.snd",
"m.fst",
"m",
"m.fst",
"m.fst = mnt[i]",
"m.fst",
"m",
"m.fst",
"mnt[i]",
"mnt",
"i",
"if(mnt[i]>m.snd){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = mnt[i];\n\t\t\t}else if(mnt[i]>m.thd){\n\t\t\t\tm.thd = mnt[i];\n\t\t\t}",
"mnt[i]>m.snd",
"mnt[i]",
"mnt",
"i",
"m.snd",
"m",
"m.snd",
"{\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = mnt[i];\n\t\t\t}",
"m.thd = m.snd",
"m.thd",
"m",
"m.thd",
"m.snd",
"m",
"m.snd",
"m.snd = mnt[i]",
"m.snd",
"m",
"m.snd",
"mnt[i]",
"mnt",
"i",
"if(mnt[i]>m.thd){\n\t\t\t\tm.thd = mnt[i];\n\t\t\t}",
"mnt[i]>m.thd",
"mnt[i]",
"mnt",
"i",
"m.thd",
"m",
"m.thd",
"{\n\t\t\t\tm.thd = mnt[i];\n\t\t\t}",
"m.thd = mnt[i]",
"m.thd",
"m",
"m.thd",
"mnt[i]",
"mnt",
"i",
"System.out.println(m.fst)",
"System.out.println",
"System.out",
"System",
"System.out",
"m.fst",
"m",
"m.fst",
"System.out.println(m.snd)",
"System.out.println",
"System.out",
"System",
"System.out",
"m.snd",
"m",
"m.snd",
"System.out.println(m.thd)",
"System.out.println",
"System.out",
"System",
"System.out",
"m.thd",
"m",
"m.thd",
"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\t\n\t\tint mnt[]=new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tString s;\n\t\t\ttry {\n\t\t\t\ts = br.readLine();\n\t\t\t\tmnt[i]=Integer.parseInt(s);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\tTop3 m = new Top3();\n\t\t\n\t\tfor(int i=0;i<10;i++){\n\t\t\tif(mnt[i]>m.fst){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = m.fst;\n\t\t\t\tm.fst = mnt[i];\n\t\t\t}else if(mnt[i]>m.snd){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = mnt[i];\n\t\t\t}else if(mnt[i]>m.thd){\n\t\t\t\tm.thd = mnt[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(m.fst);\n\t\tSystem.out.println(m.snd);\n\t\tSystem.out.println(m.thd);\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\t\n\t\tint mnt[]=new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tString s;\n\t\t\ttry {\n\t\t\t\ts = br.readLine();\n\t\t\t\tmnt[i]=Integer.parseInt(s);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\tTop3 m = new Top3();\n\t\t\n\t\tfor(int i=0;i<10;i++){\n\t\t\tif(mnt[i]>m.fst){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = m.fst;\n\t\t\t\tm.fst = mnt[i];\n\t\t\t}else if(mnt[i]>m.snd){\n\t\t\t\tm.thd = m.snd;\n\t\t\t\tm.snd = mnt[i];\n\t\t\t}else if(mnt[i]>m.thd){\n\t\t\t\tm.thd = mnt[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(m.fst);\n\t\tSystem.out.println(m.snd);\n\t\tSystem.out.println(m.thd);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Top3{
int fst=0;
int snd=0;
int thd=0;
}
public class Main{
public static void main(String args[]){
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int mnt[]=new int[10];
for(int i=0;i<10;i++){
String s;
try {
s = br.readLine();
mnt[i]=Integer.parseInt(s);
} catch (IOException e) {
e.printStackTrace();
}
}
Top3 m = new Top3();
for(int i=0;i<10;i++){
if(mnt[i]>m.fst){
m.thd = m.snd;
m.snd = m.fst;
m.fst = mnt[i];
}else if(mnt[i]>m.snd){
m.thd = m.snd;
m.snd = mnt[i];
}else if(mnt[i]>m.thd){
m.thd = mnt[i];
}
}
System.out.println(m.fst);
System.out.println(m.snd);
System.out.println(m.thd);
}
} |
[
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,
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
],
[
67,
5
],
[
67,
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
],
[
36,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"import java.util.*;\n\npublic class Main {\n public static void main(String args[] ) throws Exception {\n Integer arrays[] = new Integer[10];\n\n Scanner sc = new Scanner(System.in);\n for (int i = 0; i < 10; i++){\n arrays[i] = sc.nextInt();\n }\n Arrays.sort(arrays, Comparator.reverseOrder());\n for (int i = 0; i < 3; i++) {\n System.out.println(arrays[i]);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String args[] ) throws Exception {\n Integer arrays[] = new Integer[10];\n\n Scanner sc = new Scanner(System.in);\n for (int i = 0; i < 10; i++){\n arrays[i] = sc.nextInt();\n }\n Arrays.sort(arrays, Comparator.reverseOrder());\n for (int i = 0; i < 3; i++) {\n System.out.println(arrays[i]);\n }\n }\n}",
"Main",
"public static void main(String args[] ) throws Exception {\n Integer arrays[] = new Integer[10];\n\n Scanner sc = new Scanner(System.in);\n for (int i = 0; i < 10; i++){\n arrays[i] = sc.nextInt();\n }\n Arrays.sort(arrays, Comparator.reverseOrder());\n for (int i = 0; i < 3; i++) {\n System.out.println(arrays[i]);\n }\n }",
"main",
"{\n Integer arrays[] = new Integer[10];\n\n Scanner sc = new Scanner(System.in);\n for (int i = 0; i < 10; i++){\n arrays[i] = sc.nextInt();\n }\n Arrays.sort(arrays, Comparator.reverseOrder());\n for (int i = 0; i < 3; i++) {\n System.out.println(arrays[i]);\n }\n }",
"Integer arrays[] = new Integer[10];",
"arrays",
"new Integer[10]",
"10",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for (int i = 0; i < 10; i++){\n arrays[i] = sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n arrays[i] = sc.nextInt();\n }",
"{\n arrays[i] = sc.nextInt();\n }",
"arrays[i] = sc.nextInt()",
"arrays[i]",
"arrays",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(arrays, Comparator.reverseOrder())",
"Arrays.sort",
"Arrays",
"arrays",
"Comparator.reverseOrder()",
"Comparator.reverseOrder",
"Comparator",
"for (int i = 0; i < 3; i++) {\n System.out.println(arrays[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(arrays[i]);\n }",
"{\n System.out.println(arrays[i]);\n }",
"System.out.println(arrays[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"arrays[i]",
"arrays",
"i",
"String args[]",
"args",
"public class Main {\n public static void main(String args[] ) throws Exception {\n Integer arrays[] = new Integer[10];\n\n Scanner sc = new Scanner(System.in);\n for (int i = 0; i < 10; i++){\n arrays[i] = sc.nextInt();\n }\n Arrays.sort(arrays, Comparator.reverseOrder());\n for (int i = 0; i < 3; i++) {\n System.out.println(arrays[i]);\n }\n }\n}",
"public class Main {\n public static void main(String args[] ) throws Exception {\n Integer arrays[] = new Integer[10];\n\n Scanner sc = new Scanner(System.in);\n for (int i = 0; i < 10; i++){\n arrays[i] = sc.nextInt();\n }\n Arrays.sort(arrays, Comparator.reverseOrder());\n for (int i = 0; i < 3; i++) {\n System.out.println(arrays[i]);\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String args[] ) throws Exception {
Integer arrays[] = new Integer[10];
Scanner sc = new Scanner(System.in);
for (int i = 0; i < 10; i++){
arrays[i] = sc.nextInt();
}
Arrays.sort(arrays, Comparator.reverseOrder());
for (int i = 0; i < 3; i++) {
System.out.println(arrays[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
0,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
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
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
38,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
44,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
38,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
64,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
64,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
83,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
8,
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
],
[
113,
114
],
[
113,
115
],
[
6,
116
],
[
116,
117
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] a){\n\t\tScanner scan = new Scanner(System.in);\n\t\n\t\tint m;\n\t\tint[] tall;\n\t\ttall = new int[3];\n\t\t\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tm = scan.nextInt();\n\t\t\tif(tall[0] < m){\n\t\t\t\ttall[2] = tall[1];\n\t\t\t\ttall[1] = tall[0];\n\t\t\t\ttall[0] = m;\n\t\t\t}else if(tall[1] < m){\n\t\t\t\ttall[2] = tall[1];\n\t\t\t\ttall[1] = m;\n\t\t\t}else if(tall[2] < m){\n\t\t\t\ttall[2] = m;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(tall[i]);\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 scan = new Scanner(System.in);\n\t\n\t\tint m;\n\t\tint[] tall;\n\t\ttall = new int[3];\n\t\t\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tm = scan.nextInt();\n\t\t\tif(tall[0] < m){\n\t\t\t\ttall[2] = tall[1];\n\t\t\t\ttall[1] = tall[0];\n\t\t\t\ttall[0] = m;\n\t\t\t}else if(tall[1] < m){\n\t\t\t\ttall[2] = tall[1];\n\t\t\t\ttall[1] = m;\n\t\t\t}else if(tall[2] < m){\n\t\t\t\ttall[2] = m;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(tall[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] a){\n\t\tScanner scan = new Scanner(System.in);\n\t\n\t\tint m;\n\t\tint[] tall;\n\t\ttall = new int[3];\n\t\t\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tm = scan.nextInt();\n\t\t\tif(tall[0] < m){\n\t\t\t\ttall[2] = tall[1];\n\t\t\t\ttall[1] = tall[0];\n\t\t\t\ttall[0] = m;\n\t\t\t}else if(tall[1] < m){\n\t\t\t\ttall[2] = tall[1];\n\t\t\t\ttall[1] = m;\n\t\t\t}else if(tall[2] < m){\n\t\t\t\ttall[2] = m;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(tall[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\n\t\tint m;\n\t\tint[] tall;\n\t\ttall = new int[3];\n\t\t\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tm = scan.nextInt();\n\t\t\tif(tall[0] < m){\n\t\t\t\ttall[2] = tall[1];\n\t\t\t\ttall[1] = tall[0];\n\t\t\t\ttall[0] = m;\n\t\t\t}else if(tall[1] < m){\n\t\t\t\ttall[2] = tall[1];\n\t\t\t\ttall[1] = m;\n\t\t\t}else if(tall[2] < m){\n\t\t\t\ttall[2] = m;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(tall[i]);\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int m;",
"m",
"int[] tall;",
"tall",
"tall = new int[3]",
"tall",
"new int[3]",
"3",
"for(int i = 0; i < 10; i++){\n\t\t\tm = scan.nextInt();\n\t\t\tif(tall[0] < m){\n\t\t\t\ttall[2] = tall[1];\n\t\t\t\ttall[1] = tall[0];\n\t\t\t\ttall[0] = m;\n\t\t\t}else if(tall[1] < m){\n\t\t\t\ttall[2] = tall[1];\n\t\t\t\ttall[1] = m;\n\t\t\t}else if(tall[2] < m){\n\t\t\t\ttall[2] = m;\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\tm = scan.nextInt();\n\t\t\tif(tall[0] < m){\n\t\t\t\ttall[2] = tall[1];\n\t\t\t\ttall[1] = tall[0];\n\t\t\t\ttall[0] = m;\n\t\t\t}else if(tall[1] < m){\n\t\t\t\ttall[2] = tall[1];\n\t\t\t\ttall[1] = m;\n\t\t\t}else if(tall[2] < m){\n\t\t\t\ttall[2] = m;\n\t\t\t}\n\t\t}",
"{\n\t\t\tm = scan.nextInt();\n\t\t\tif(tall[0] < m){\n\t\t\t\ttall[2] = tall[1];\n\t\t\t\ttall[1] = tall[0];\n\t\t\t\ttall[0] = m;\n\t\t\t}else if(tall[1] < m){\n\t\t\t\ttall[2] = tall[1];\n\t\t\t\ttall[1] = m;\n\t\t\t}else if(tall[2] < m){\n\t\t\t\ttall[2] = m;\n\t\t\t}\n\t\t}",
"m = scan.nextInt()",
"m",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(tall[0] < m){\n\t\t\t\ttall[2] = tall[1];\n\t\t\t\ttall[1] = tall[0];\n\t\t\t\ttall[0] = m;\n\t\t\t}else if(tall[1] < m){\n\t\t\t\ttall[2] = tall[1];\n\t\t\t\ttall[1] = m;\n\t\t\t}else if(tall[2] < m){\n\t\t\t\ttall[2] = m;\n\t\t\t}",
"tall[0] < m",
"tall[0]",
"tall",
"0",
"m",
"{\n\t\t\t\ttall[2] = tall[1];\n\t\t\t\ttall[1] = tall[0];\n\t\t\t\ttall[0] = m;\n\t\t\t}",
"tall[2] = tall[1]",
"tall[2]",
"tall",
"2",
"tall[1]",
"tall",
"1",
"tall[1] = tall[0]",
"tall[1]",
"tall",
"1",
"tall[0]",
"tall",
"0",
"tall[0] = m",
"tall[0]",
"tall",
"0",
"m",
"if(tall[1] < m){\n\t\t\t\ttall[2] = tall[1];\n\t\t\t\ttall[1] = m;\n\t\t\t}else if(tall[2] < m){\n\t\t\t\ttall[2] = m;\n\t\t\t}",
"tall[1] < m",
"tall[1]",
"tall",
"1",
"m",
"{\n\t\t\t\ttall[2] = tall[1];\n\t\t\t\ttall[1] = m;\n\t\t\t}",
"tall[2] = tall[1]",
"tall[2]",
"tall",
"2",
"tall[1]",
"tall",
"1",
"tall[1] = m",
"tall[1]",
"tall",
"1",
"m",
"if(tall[2] < m){\n\t\t\t\ttall[2] = m;\n\t\t\t}",
"tall[2] < m",
"tall[2]",
"tall",
"2",
"m",
"{\n\t\t\t\ttall[2] = m;\n\t\t\t}",
"tall[2] = m",
"tall[2]",
"tall",
"2",
"m",
"for(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(tall[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(tall[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(tall[i]);\n\t\t}",
"System.out.println(tall[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"tall[i]",
"tall",
"i",
"String[] a",
"a"
] | import java.util.Scanner;
class Main {
public static void main(String[] a){
Scanner scan = new Scanner(System.in);
int m;
int[] tall;
tall = new int[3];
for(int i = 0; i < 10; i++){
m = scan.nextInt();
if(tall[0] < m){
tall[2] = tall[1];
tall[1] = tall[0];
tall[0] = m;
}else if(tall[1] < m){
tall[2] = tall[1];
tall[1] = m;
}else if(tall[2] < m){
tall[2] = m;
}
}
for(int i = 0; i < 3; i++){
System.out.println(tall[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
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,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
81,
11
],
[
81,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
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
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
19,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
19,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
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
],
[
12,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\ttry{\n\t\t\tBufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint[] num = new int[10];\n\t\t\tfor(int i=0;i<10;i++){\n\t\t\t\tnum[i] = Integer.parseInt(stdReader.readLine());\n\t\t\t}\n\t\t\tArrays.sort(num);\n\t\t\tSystem.out.println(num[9]);\n\t\t\tSystem.out.println(num[8]);\n\t\t\tSystem.out.println(num[7]);\n\t\t}catch(Exception e){\n\t\t\t}\n\t\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"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\ttry{\n\t\t\tBufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint[] num = new int[10];\n\t\t\tfor(int i=0;i<10;i++){\n\t\t\t\tnum[i] = Integer.parseInt(stdReader.readLine());\n\t\t\t}\n\t\t\tArrays.sort(num);\n\t\t\tSystem.out.println(num[9]);\n\t\t\tSystem.out.println(num[8]);\n\t\t\tSystem.out.println(num[7]);\n\t\t}catch(Exception e){\n\t\t\t}\n\t\t}\n}",
"Main",
"public static void main(String[] args){\n\t\ttry{\n\t\t\tBufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint[] num = new int[10];\n\t\t\tfor(int i=0;i<10;i++){\n\t\t\t\tnum[i] = Integer.parseInt(stdReader.readLine());\n\t\t\t}\n\t\t\tArrays.sort(num);\n\t\t\tSystem.out.println(num[9]);\n\t\t\tSystem.out.println(num[8]);\n\t\t\tSystem.out.println(num[7]);\n\t\t}catch(Exception e){\n\t\t\t}\n\t\t}",
"main",
"{\n\t\ttry{\n\t\t\tBufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint[] num = new int[10];\n\t\t\tfor(int i=0;i<10;i++){\n\t\t\t\tnum[i] = Integer.parseInt(stdReader.readLine());\n\t\t\t}\n\t\t\tArrays.sort(num);\n\t\t\tSystem.out.println(num[9]);\n\t\t\tSystem.out.println(num[8]);\n\t\t\tSystem.out.println(num[7]);\n\t\t}catch(Exception e){\n\t\t\t}\n\t\t}",
"try{\n\t\t\tBufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint[] num = new int[10];\n\t\t\tfor(int i=0;i<10;i++){\n\t\t\t\tnum[i] = Integer.parseInt(stdReader.readLine());\n\t\t\t}\n\t\t\tArrays.sort(num);\n\t\t\tSystem.out.println(num[9]);\n\t\t\tSystem.out.println(num[8]);\n\t\t\tSystem.out.println(num[7]);\n\t\t}catch(Exception e){\n\t\t\t}",
"catch(Exception e){\n\t\t\t}",
"Exception e",
"{\n\t\t\t}",
"{\n\t\t\tBufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint[] num = new int[10];\n\t\t\tfor(int i=0;i<10;i++){\n\t\t\t\tnum[i] = Integer.parseInt(stdReader.readLine());\n\t\t\t}\n\t\t\tArrays.sort(num);\n\t\t\tSystem.out.println(num[9]);\n\t\t\tSystem.out.println(num[8]);\n\t\t\tSystem.out.println(num[7]);\n\t\t}",
"BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));",
"stdReader",
"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\t\tnum[i] = Integer.parseInt(stdReader.readLine());\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\t\tnum[i] = Integer.parseInt(stdReader.readLine());\n\t\t\t}",
"{\n\t\t\t\tnum[i] = Integer.parseInt(stdReader.readLine());\n\t\t\t}",
"num[i] = Integer.parseInt(stdReader.readLine())",
"num[i]",
"num",
"i",
"Integer.parseInt(stdReader.readLine())",
"Integer.parseInt",
"Integer",
"stdReader.readLine()",
"stdReader.readLine",
"stdReader",
"Arrays.sort(num)",
"Arrays.sort",
"Arrays",
"num",
"System.out.println(num[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"num[9]",
"num",
"9",
"System.out.println(num[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"num[8]",
"num",
"8",
"System.out.println(num[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"num[7]",
"num",
"7",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\ttry{\n\t\t\tBufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint[] num = new int[10];\n\t\t\tfor(int i=0;i<10;i++){\n\t\t\t\tnum[i] = Integer.parseInt(stdReader.readLine());\n\t\t\t}\n\t\t\tArrays.sort(num);\n\t\t\tSystem.out.println(num[9]);\n\t\t\tSystem.out.println(num[8]);\n\t\t\tSystem.out.println(num[7]);\n\t\t}catch(Exception e){\n\t\t\t}\n\t\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\ttry{\n\t\t\tBufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint[] num = new int[10];\n\t\t\tfor(int i=0;i<10;i++){\n\t\t\t\tnum[i] = Integer.parseInt(stdReader.readLine());\n\t\t\t}\n\t\t\tArrays.sort(num);\n\t\t\tSystem.out.println(num[9]);\n\t\t\tSystem.out.println(num[8]);\n\t\t\tSystem.out.println(num[7]);\n\t\t}catch(Exception e){\n\t\t\t}\n\t\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
public static void main(String[] args){
try{
BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
int[] num = new int[10];
for(int i=0;i<10;i++){
num[i] = Integer.parseInt(stdReader.readLine());
}
Arrays.sort(num);
System.out.println(num[9]);
System.out.println(num[8]);
System.out.println(num[7]);
}catch(Exception e){
}
}
} |
[
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,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
2,
4,
18,
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
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
23,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
23,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
60,
64
],
[
56,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
67,
71
],
[
56,
72
],
[
72,
73
],
[
73,
74
],
[
56,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
21,
86
],
[
86,
87
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nclass Main{\n public static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<Integer> iList = new ArrayList<Integer>();\n\n\t\t// ????????????\n\t\tfor (int i = 0 ; i < 10; i++) {\n\t\t\tiList.add(Integer.valueOf(br.readLine()));\n\t\t}\n\n\t\t// ????????????????????????\n\t\tCollections.sort(iList);\n\t\tfor (int i = iList.size() - 1; i > iList.size() - 4; i--) {\n\t\t\tSystem.out.println(iList.get(i));\n\t\t}\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"class Main{\n public static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<Integer> iList = new ArrayList<Integer>();\n\n\t\t// ????????????\n\t\tfor (int i = 0 ; i < 10; i++) {\n\t\t\tiList.add(Integer.valueOf(br.readLine()));\n\t\t}\n\n\t\t// ????????????????????????\n\t\tCollections.sort(iList);\n\t\tfor (int i = iList.size() - 1; i > iList.size() - 4; i--) {\n\t\t\tSystem.out.println(iList.get(i));\n\t\t}\n }\n}",
"Main",
"public static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<Integer> iList = new ArrayList<Integer>();\n\n\t\t// ????????????\n\t\tfor (int i = 0 ; i < 10; i++) {\n\t\t\tiList.add(Integer.valueOf(br.readLine()));\n\t\t}\n\n\t\t// ????????????????????????\n\t\tCollections.sort(iList);\n\t\tfor (int i = iList.size() - 1; i > iList.size() - 4; i--) {\n\t\t\tSystem.out.println(iList.get(i));\n\t\t}\n }",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<Integer> iList = new ArrayList<Integer>();\n\n\t\t// ????????????\n\t\tfor (int i = 0 ; i < 10; i++) {\n\t\t\tiList.add(Integer.valueOf(br.readLine()));\n\t\t}\n\n\t\t// ????????????????????????\n\t\tCollections.sort(iList);\n\t\tfor (int i = iList.size() - 1; i > iList.size() - 4; i--) {\n\t\t\tSystem.out.println(iList.get(i));\n\t\t}\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"List<Integer> iList = new ArrayList<Integer>();",
"iList",
"new ArrayList<Integer>()",
"for (int i = 0 ; i < 10; i++) {\n\t\t\tiList.add(Integer.valueOf(br.readLine()));\n\t\t}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tiList.add(Integer.valueOf(br.readLine()));\n\t\t}",
"{\n\t\t\tiList.add(Integer.valueOf(br.readLine()));\n\t\t}",
"iList.add(Integer.valueOf(br.readLine()))",
"iList.add",
"iList",
"Integer.valueOf(br.readLine())",
"Integer.valueOf",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Collections.sort(iList)",
"Collections.sort",
"Collections",
"iList",
"for (int i = iList.size() - 1; i > iList.size() - 4; i--) {\n\t\t\tSystem.out.println(iList.get(i));\n\t\t}",
"int i = iList.size() - 1;",
"int i = iList.size() - 1;",
"i",
"iList.size() - 1",
"iList.size()",
"iList.size",
"iList",
"1",
"i > iList.size() - 4",
"i",
"iList.size() - 4",
"iList.size()",
"iList.size",
"iList",
"4",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.println(iList.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(iList.get(i));\n\t\t}",
"System.out.println(iList.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"iList.get(i)",
"iList.get",
"iList",
"i",
"String[] a",
"a"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
class Main{
public static void main(String[] a) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
List<Integer> iList = new ArrayList<Integer>();
// ????????????
for (int i = 0 ; i < 10; i++) {
iList.add(Integer.valueOf(br.readLine()));
}
// ????????????????????????
Collections.sort(iList);
for (int i = iList.size() - 1; i > iList.size() - 4; i--) {
System.out.println(iList.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,
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,
2,
17,
13,
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,
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
],
[
63,
64
],
[
63,
65
],
[
9,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\n/**\n * Created by hwzheng on 2016/12/13.\n */\npublic class Main {\n public static void main(String[] a) {\n Scanner scanner = new Scanner(System.in);\n int[] heights = new int[10];\n for (int i = 0; i < 10; i++){\n heights[i] = scanner.nextInt();\n }\n Arrays.sort(heights);\n for (int i = 0;i <3; i++){\n System.out.println(heights[9-i]);\n }\n }\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] a) {\n Scanner scanner = new Scanner(System.in);\n int[] heights = new int[10];\n for (int i = 0; i < 10; i++){\n heights[i] = scanner.nextInt();\n }\n Arrays.sort(heights);\n for (int i = 0;i <3; i++){\n System.out.println(heights[9-i]);\n }\n }\n}",
"Main",
"public static void main(String[] a) {\n Scanner scanner = new Scanner(System.in);\n int[] heights = new int[10];\n for (int i = 0; i < 10; i++){\n heights[i] = scanner.nextInt();\n }\n Arrays.sort(heights);\n for (int i = 0;i <3; i++){\n System.out.println(heights[9-i]);\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int[] heights = new int[10];\n for (int i = 0; i < 10; i++){\n heights[i] = scanner.nextInt();\n }\n Arrays.sort(heights);\n for (int i = 0;i <3; i++){\n System.out.println(heights[9-i]);\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int[] heights = new int[10];",
"heights",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++){\n heights[i] = scanner.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n heights[i] = scanner.nextInt();\n }",
"{\n heights[i] = scanner.nextInt();\n }",
"heights[i] = scanner.nextInt()",
"heights[i]",
"heights",
"i",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"Arrays.sort(heights)",
"Arrays.sort",
"Arrays",
"heights",
"for (int i = 0;i <3; i++){\n System.out.println(heights[9-i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(heights[9-i]);\n }",
"{\n System.out.println(heights[9-i]);\n }",
"System.out.println(heights[9-i])",
"System.out.println",
"System.out",
"System",
"System.out",
"heights[9-i]",
"heights",
"9-i",
"9",
"i",
"String[] a",
"a",
"public class Main {\n public static void main(String[] a) {\n Scanner scanner = new Scanner(System.in);\n int[] heights = new int[10];\n for (int i = 0; i < 10; i++){\n heights[i] = scanner.nextInt();\n }\n Arrays.sort(heights);\n for (int i = 0;i <3; i++){\n System.out.println(heights[9-i]);\n }\n }\n}",
"public class Main {\n public static void main(String[] a) {\n Scanner scanner = new Scanner(System.in);\n int[] heights = new int[10];\n for (int i = 0; i < 10; i++){\n heights[i] = scanner.nextInt();\n }\n Arrays.sort(heights);\n for (int i = 0;i <3; i++){\n System.out.println(heights[9-i]);\n }\n }\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
/**
* Created by hwzheng on 2016/12/13.
*/
public class Main {
public static void main(String[] a) {
Scanner scanner = new Scanner(System.in);
int[] heights = new int[10];
for (int i = 0; i < 10; i++){
heights[i] = scanner.nextInt();
}
Arrays.sort(heights);
for (int i = 0;i <3; i++){
System.out.println(heights[9-i]);
}
}
} |
[
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,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
30,
0,
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,
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,
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
],
[
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
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
65,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
83,
89
],
[
89,
90
],
[
89,
91
],
[
75,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
8,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
102,
103
],
[
102,
104
],
[
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.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[11];\n\t\tint hz = 0;\n\t\tfor(int i=1; i<=10; i++){\n\t\t\th[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i=9; i>=1; i--){\n\t\t\tfor(int j=1; j<=i; j++){\n\t\t\t\tif(h[j] <= h[j+1]){\n\t\t\t\t\thz = h[j+1];\n\t\t\t\t\th[j+1] = h[j];\n\t\t\t\t\th[j] =hz;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=1; 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[11];\n\t\tint hz = 0;\n\t\tfor(int i=1; i<=10; i++){\n\t\t\th[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i=9; i>=1; i--){\n\t\t\tfor(int j=1; j<=i; j++){\n\t\t\t\tif(h[j] <= h[j+1]){\n\t\t\t\t\thz = h[j+1];\n\t\t\t\t\th[j+1] = h[j];\n\t\t\t\t\th[j] =hz;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=1; 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[11];\n\t\tint hz = 0;\n\t\tfor(int i=1; i<=10; i++){\n\t\t\th[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i=9; i>=1; i--){\n\t\t\tfor(int j=1; j<=i; j++){\n\t\t\t\tif(h[j] <= h[j+1]){\n\t\t\t\t\thz = h[j+1];\n\t\t\t\t\th[j+1] = h[j];\n\t\t\t\t\th[j] =hz;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=1; 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[11];\n\t\tint hz = 0;\n\t\tfor(int i=1; i<=10; i++){\n\t\t\th[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i=9; i>=1; i--){\n\t\t\tfor(int j=1; j<=i; j++){\n\t\t\t\tif(h[j] <= h[j+1]){\n\t\t\t\t\thz = h[j+1];\n\t\t\t\t\th[j+1] = h[j];\n\t\t\t\t\th[j] =hz;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=1; 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[11];",
"h",
"new int[11]",
"11",
"int hz = 0;",
"hz",
"0",
"for(int i=1; i<=10; i++){\n\t\t\th[i] = sc.nextInt();\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"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=9; i>=1; i--){\n\t\t\tfor(int j=1; j<=i; j++){\n\t\t\t\tif(h[j] <= h[j+1]){\n\t\t\t\t\thz = h[j+1];\n\t\t\t\t\th[j+1] = h[j];\n\t\t\t\t\th[j] =hz;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i=9;",
"int i=9;",
"i",
"9",
"i>=1",
"i",
"1",
"i--",
"i--",
"i",
"{\n\t\t\tfor(int j=1; j<=i; j++){\n\t\t\t\tif(h[j] <= h[j+1]){\n\t\t\t\t\thz = h[j+1];\n\t\t\t\t\th[j+1] = h[j];\n\t\t\t\t\th[j] =hz;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int j=1; j<=i; j++){\n\t\t\t\tif(h[j] <= h[j+1]){\n\t\t\t\t\thz = h[j+1];\n\t\t\t\t\th[j+1] = h[j];\n\t\t\t\t\th[j] =hz;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int j=1; j<=i; j++){\n\t\t\t\tif(h[j] <= h[j+1]){\n\t\t\t\t\thz = h[j+1];\n\t\t\t\t\th[j+1] = h[j];\n\t\t\t\t\th[j] =hz;\n\t\t\t\t}\n\t\t\t}",
"int j=1;",
"int j=1;",
"j",
"1",
"j<=i",
"j",
"i",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(h[j] <= h[j+1]){\n\t\t\t\t\thz = h[j+1];\n\t\t\t\t\th[j+1] = h[j];\n\t\t\t\t\th[j] =hz;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(h[j] <= h[j+1]){\n\t\t\t\t\thz = h[j+1];\n\t\t\t\t\th[j+1] = h[j];\n\t\t\t\t\th[j] =hz;\n\t\t\t\t}\n\t\t\t}",
"if(h[j] <= h[j+1]){\n\t\t\t\t\thz = h[j+1];\n\t\t\t\t\th[j+1] = h[j];\n\t\t\t\t\th[j] =hz;\n\t\t\t\t}",
"h[j] <= h[j+1]",
"h[j]",
"h",
"j",
"h[j+1]",
"h",
"j+1",
"j",
"1",
"{\n\t\t\t\t\thz = h[j+1];\n\t\t\t\t\th[j+1] = h[j];\n\t\t\t\t\th[j] =hz;\n\t\t\t\t}",
"hz = h[j+1]",
"hz",
"h[j+1]",
"h",
"j+1",
"j",
"1",
"h[j+1] = h[j]",
"h[j+1]",
"h",
"j+1",
"j",
"1",
"h[j]",
"h",
"j",
"h[j] =hz",
"h[j]",
"h",
"j",
"hz",
"for(int i=1; i<=3; i++){\n\t\t\tSystem.out.println(h[i]);\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"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[11];\n\t\tint hz = 0;\n\t\tfor(int i=1; i<=10; i++){\n\t\t\th[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i=9; i>=1; i--){\n\t\t\tfor(int j=1; j<=i; j++){\n\t\t\t\tif(h[j] <= h[j+1]){\n\t\t\t\t\thz = h[j+1];\n\t\t\t\t\th[j+1] = h[j];\n\t\t\t\t\th[j] =hz;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=1; 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[11];\n\t\tint hz = 0;\n\t\tfor(int i=1; i<=10; i++){\n\t\t\th[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i=9; i>=1; i--){\n\t\t\tfor(int j=1; j<=i; j++){\n\t\t\t\tif(h[j] <= h[j+1]){\n\t\t\t\t\thz = h[j+1];\n\t\t\t\t\th[j+1] = h[j];\n\t\t\t\t\th[j] =hz;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=1; 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[11];
int hz = 0;
for(int i=1; i<=10; i++){
h[i] = sc.nextInt();
}
for(int i=9; i>=1; i--){
for(int j=1; j<=i; j++){
if(h[j] <= h[j+1]){
hz = h[j+1];
h[j+1] = h[j];
h[j] =hz;
}
}
}
for(int i=1; i<=3; i++){
System.out.println(h[i]);
}
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
42,
2,
4,
18,
13,
2,
13,
17,
30,
0,
18,
13,
40,
13,
4,
18,
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,
18,
13,
2,
17,
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,
13
],
[
13,
14
],
[
13,
15
],
[
5,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
25,
30
],
[
30,
31
],
[
31,
32
],
[
5,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
33,
40
],
[
5,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
41,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
3,
64
],
[
64,
65
]
] | [
"\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\tint [] vec = new int[10];\n\t\tint j = 0;\n\t\twhile( sc.hasNextInt() && j < 10 )\n\t\t{\n\t\t\tvec[j++] = ( sc.nextInt() );\t\n\t\t}\n\t\tjava.util.Arrays.sort( vec );\n\t\tfor ( int i = 0; i < 3; ++i )\n\t\t{\n\t\t\tSystem.out.println( vec[9-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\tint [] vec = new int[10];\n\t\tint j = 0;\n\t\twhile( sc.hasNextInt() && j < 10 )\n\t\t{\n\t\t\tvec[j++] = ( sc.nextInt() );\t\n\t\t}\n\t\tjava.util.Arrays.sort( vec );\n\t\tfor ( int i = 0; i < 3; ++i )\n\t\t{\n\t\t\tSystem.out.println( vec[9-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\tint [] vec = new int[10];\n\t\tint j = 0;\n\t\twhile( sc.hasNextInt() && j < 10 )\n\t\t{\n\t\t\tvec[j++] = ( sc.nextInt() );\t\n\t\t}\n\t\tjava.util.Arrays.sort( vec );\n\t\tfor ( int i = 0; i < 3; ++i )\n\t\t{\n\t\t\tSystem.out.println( vec[9-i] );\n\t\t}\n\t}",
"main",
"{\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tint [] vec = new int[10];\n\t\tint j = 0;\n\t\twhile( sc.hasNextInt() && j < 10 )\n\t\t{\n\t\t\tvec[j++] = ( sc.nextInt() );\t\n\t\t}\n\t\tjava.util.Arrays.sort( vec );\n\t\tfor ( int i = 0; i < 3; ++i )\n\t\t{\n\t\t\tSystem.out.println( vec[9-i] );\n\t\t}\n\t}",
"java.util.Scanner sc = new java.util.Scanner(System.in);",
"sc",
"new java.util.Scanner(System.in)",
"int [] vec = new int[10];",
"vec",
"new int[10]",
"10",
"int j = 0;",
"j",
"0",
"while( sc.hasNextInt() && j < 10 )\n\t\t{\n\t\t\tvec[j++] = ( sc.nextInt() );\t\n\t\t}",
"sc.hasNextInt() && j < 10",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"j < 10",
"j",
"10",
"{\n\t\t\tvec[j++] = ( sc.nextInt() );\t\n\t\t}",
"vec[j++] = ( sc.nextInt() )",
"vec[j++]",
"vec",
"j++",
"j",
"( sc.nextInt() )",
"sc.nextInt",
"sc",
"java.util.Arrays.sort( vec )",
"java.util.Arrays.sort",
"java.util.Arrays",
"java.util",
"java",
"java.util",
"java.util.Arrays",
"vec",
"for ( int i = 0; i < 3; ++i )\n\t\t{\n\t\t\tSystem.out.println( vec[9-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[9-i] );\n\t\t}",
"{\n\t\t\tSystem.out.println( vec[9-i] );\n\t\t}",
"System.out.println( vec[9-i] )",
"System.out.println",
"System.out",
"System",
"System.out",
"vec[9-i]",
"vec",
"9-i",
"9",
"i",
"String[] av",
"av"
] |
class Main
{
public static void main(String[] av)
{
java.util.Scanner sc = new java.util.Scanner(System.in);
int [] vec = new int[10];
int j = 0;
while( sc.hasNextInt() && j < 10 )
{
vec[j++] = ( sc.nextInt() );
}
java.util.Arrays.sort( vec );
for ( int i = 0; i < 3; ++i )
{
System.out.println( vec[9-i] );
}
}
} |
[
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,
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
],
[
69,
5
],
[
69,
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
],
[
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
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
8,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t Scanner sc= new Scanner (System.in);\n\tint a[];\n\t a = new int[10];\n\t \tfor(int b=0;b<10;b++){\n\t \t\ta[b]=sc.nextInt();\n\t \t}\n\n\t \n\t Arrays.sort (a);\n\tSystem.out.println(a[9]);\n\tSystem.out.println(a[8]);\n\tSystem.out.println(a[7]);\n\t\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t Scanner sc= new Scanner (System.in);\n\tint a[];\n\t a = new int[10];\n\t \tfor(int b=0;b<10;b++){\n\t \t\ta[b]=sc.nextInt();\n\t \t}\n\n\t \n\t Arrays.sort (a);\n\tSystem.out.println(a[9]);\n\tSystem.out.println(a[8]);\n\tSystem.out.println(a[7]);\n\t\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\t Scanner sc= new Scanner (System.in);\n\tint a[];\n\t a = new int[10];\n\t \tfor(int b=0;b<10;b++){\n\t \t\ta[b]=sc.nextInt();\n\t \t}\n\n\t \n\t Arrays.sort (a);\n\tSystem.out.println(a[9]);\n\tSystem.out.println(a[8]);\n\tSystem.out.println(a[7]);\n\t\n\t}",
"main",
"{\n\t Scanner sc= new Scanner (System.in);\n\tint a[];\n\t a = new int[10];\n\t \tfor(int b=0;b<10;b++){\n\t \t\ta[b]=sc.nextInt();\n\t \t}\n\n\t \n\t Arrays.sort (a);\n\tSystem.out.println(a[9]);\n\tSystem.out.println(a[8]);\n\tSystem.out.println(a[7]);\n\t\n\t}",
"Scanner sc= new Scanner (System.in);",
"sc",
"new Scanner (System.in)",
"int a[];",
"a",
"a = new int[10]",
"a",
"new int[10]",
"10",
"for(int b=0;b<10;b++){\n\t \t\ta[b]=sc.nextInt();\n\t \t}",
"int b=0;",
"int b=0;",
"b",
"0",
"b<10",
"b",
"10",
"b++",
"b++",
"b",
"{\n\t \t\ta[b]=sc.nextInt();\n\t \t}",
"{\n\t \t\ta[b]=sc.nextInt();\n\t \t}",
"a[b]=sc.nextInt()",
"a[b]",
"a",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort (a)",
"Arrays.sort",
"Arrays",
"a",
"System.out.println(a[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[9]",
"a",
"9",
"System.out.println(a[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[8]",
"a",
"8",
"System.out.println(a[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[7]",
"a",
"7",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t Scanner sc= new Scanner (System.in);\n\tint a[];\n\t a = new int[10];\n\t \tfor(int b=0;b<10;b++){\n\t \t\ta[b]=sc.nextInt();\n\t \t}\n\n\t \n\t Arrays.sort (a);\n\tSystem.out.println(a[9]);\n\tSystem.out.println(a[8]);\n\tSystem.out.println(a[7]);\n\t\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t Scanner sc= new Scanner (System.in);\n\tint a[];\n\t a = new int[10];\n\t \tfor(int b=0;b<10;b++){\n\t \t\ta[b]=sc.nextInt();\n\t \t}\n\n\t \n\t Arrays.sort (a);\n\tSystem.out.println(a[9]);\n\tSystem.out.println(a[8]);\n\tSystem.out.println(a[7]);\n\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 a[];
a = new int[10];
for(int b=0;b<10;b++){
a[b]=sc.nextInt();
}
Arrays.sort (a);
System.out.println(a[9]);
System.out.println(a[8]);
System.out.println(a[7]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
17,
38,
5,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
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,
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,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
27,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
29,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
8,
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
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
74,
76
],
[
8,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
77,
85
],
[
85,
86
],
[
86,
87
],
[
77,
88
],
[
88,
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
],
[
102,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
108,
110
],
[
101,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
114,
116
],
[
111,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
123,
125
],
[
111,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
129,
131
],
[
126,
132
],
[
8,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
133,
138
],
[
138,
139
],
[
138,
140
],
[
133,
141
],
[
141,
142
],
[
142,
143
],
[
133,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
145,
150
],
[
150,
151
],
[
150,
152
],
[
6,
153
],
[
153,
154
]
] | [
"import java.io.*;\nclass Main{\npublic static void main(String[] args){\n\tString[] x = new String[10];\n\tint[] mountain=new int[10];\n\ttry{\n\tInputStreamReader is =new InputStreamReader(System.in);\n\tBufferedReader br = new BufferedReader(is);\n \tfor(int i=0;i<10;i++)\n\t x[i]=br.readLine();\n\t}catch(IOException e){\n\t System.out.println(e.getMessage());\n\n\t}\n\tfor(int i=0;i<10;i++)\n\t mountain[i]=Integer.parseInt(x[i]);\n\tfor(int i=0;i<10;i++)\n\t for(int j=1;j<10;j++)\n\t\tif(mountain[j]<mountain[j-1]){\n\t\t int t=mountain[j];\n\t\t mountain[j]=mountain[j-1];\n\t\t mountain[j-1]=t;\n\t\t}\n\n\tfor(int i=9;i>6;i--)\n\t System.out.println(mountain[i]);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\npublic static void main(String[] args){\n\tString[] x = new String[10];\n\tint[] mountain=new int[10];\n\ttry{\n\tInputStreamReader is =new InputStreamReader(System.in);\n\tBufferedReader br = new BufferedReader(is);\n \tfor(int i=0;i<10;i++)\n\t x[i]=br.readLine();\n\t}catch(IOException e){\n\t System.out.println(e.getMessage());\n\n\t}\n\tfor(int i=0;i<10;i++)\n\t mountain[i]=Integer.parseInt(x[i]);\n\tfor(int i=0;i<10;i++)\n\t for(int j=1;j<10;j++)\n\t\tif(mountain[j]<mountain[j-1]){\n\t\t int t=mountain[j];\n\t\t mountain[j]=mountain[j-1];\n\t\t mountain[j-1]=t;\n\t\t}\n\n\tfor(int i=9;i>6;i--)\n\t System.out.println(mountain[i]);\n }\n}",
"Main",
"public static void main(String[] args){\n\tString[] x = new String[10];\n\tint[] mountain=new int[10];\n\ttry{\n\tInputStreamReader is =new InputStreamReader(System.in);\n\tBufferedReader br = new BufferedReader(is);\n \tfor(int i=0;i<10;i++)\n\t x[i]=br.readLine();\n\t}catch(IOException e){\n\t System.out.println(e.getMessage());\n\n\t}\n\tfor(int i=0;i<10;i++)\n\t mountain[i]=Integer.parseInt(x[i]);\n\tfor(int i=0;i<10;i++)\n\t for(int j=1;j<10;j++)\n\t\tif(mountain[j]<mountain[j-1]){\n\t\t int t=mountain[j];\n\t\t mountain[j]=mountain[j-1];\n\t\t mountain[j-1]=t;\n\t\t}\n\n\tfor(int i=9;i>6;i--)\n\t System.out.println(mountain[i]);\n }",
"main",
"{\n\tString[] x = new String[10];\n\tint[] mountain=new int[10];\n\ttry{\n\tInputStreamReader is =new InputStreamReader(System.in);\n\tBufferedReader br = new BufferedReader(is);\n \tfor(int i=0;i<10;i++)\n\t x[i]=br.readLine();\n\t}catch(IOException e){\n\t System.out.println(e.getMessage());\n\n\t}\n\tfor(int i=0;i<10;i++)\n\t mountain[i]=Integer.parseInt(x[i]);\n\tfor(int i=0;i<10;i++)\n\t for(int j=1;j<10;j++)\n\t\tif(mountain[j]<mountain[j-1]){\n\t\t int t=mountain[j];\n\t\t mountain[j]=mountain[j-1];\n\t\t mountain[j-1]=t;\n\t\t}\n\n\tfor(int i=9;i>6;i--)\n\t System.out.println(mountain[i]);\n }",
"String[] x = new String[10];",
"x",
"new String[10]",
"10",
"int[] mountain=new int[10];",
"mountain",
"new int[10]",
"10",
"try{\n\tInputStreamReader is =new InputStreamReader(System.in);\n\tBufferedReader br = new BufferedReader(is);\n \tfor(int i=0;i<10;i++)\n\t x[i]=br.readLine();\n\t}catch(IOException e){\n\t System.out.println(e.getMessage());\n\n\t}",
"catch(IOException e){\n\t System.out.println(e.getMessage());\n\n\t}",
"IOException e",
"{\n\t System.out.println(e.getMessage());\n\n\t}",
"System.out.println(e.getMessage())",
"System.out.println",
"System.out",
"System",
"System.out",
"e.getMessage()",
"e.getMessage",
"e",
"{\n\tInputStreamReader is =new InputStreamReader(System.in);\n\tBufferedReader br = new BufferedReader(is);\n \tfor(int i=0;i<10;i++)\n\t x[i]=br.readLine();\n\t}",
"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<10;i++)\n\t x[i]=br.readLine();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"x[i]=br.readLine();",
"x[i]=br.readLine()",
"x[i]",
"x",
"i",
"br.readLine()",
"br.readLine",
"br",
"for(int i=0;i<10;i++)\n\t mountain[i]=Integer.parseInt(x[i]);",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"mountain[i]=Integer.parseInt(x[i]);",
"mountain[i]=Integer.parseInt(x[i])",
"mountain[i]",
"mountain",
"i",
"Integer.parseInt(x[i])",
"Integer.parseInt",
"Integer",
"x[i]",
"x",
"i",
"for(int i=0;i<10;i++)\n\t for(int j=1;j<10;j++)\n\t\tif(mountain[j]<mountain[j-1]){\n\t\t int t=mountain[j];\n\t\t mountain[j]=mountain[j-1];\n\t\t mountain[j-1]=t;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"for(int j=1;j<10;j++)\n\t\tif(mountain[j]<mountain[j-1]){\n\t\t int t=mountain[j];\n\t\t mountain[j]=mountain[j-1];\n\t\t mountain[j-1]=t;\n\t\t}",
"for(int j=1;j<10;j++)\n\t\tif(mountain[j]<mountain[j-1]){\n\t\t int t=mountain[j];\n\t\t mountain[j]=mountain[j-1];\n\t\t mountain[j-1]=t;\n\t\t}",
"int j=1;",
"int j=1;",
"j",
"1",
"j<10",
"j",
"10",
"j++",
"j++",
"j",
"if(mountain[j]<mountain[j-1]){\n\t\t int t=mountain[j];\n\t\t mountain[j]=mountain[j-1];\n\t\t mountain[j-1]=t;\n\t\t}",
"if(mountain[j]<mountain[j-1]){\n\t\t int t=mountain[j];\n\t\t mountain[j]=mountain[j-1];\n\t\t mountain[j-1]=t;\n\t\t}",
"mountain[j]<mountain[j-1]",
"mountain[j]",
"mountain",
"j",
"mountain[j-1]",
"mountain",
"j-1",
"j",
"1",
"{\n\t\t int t=mountain[j];\n\t\t mountain[j]=mountain[j-1];\n\t\t mountain[j-1]=t;\n\t\t}",
"int t=mountain[j];",
"t",
"mountain[j]",
"mountain",
"j",
"mountain[j]=mountain[j-1]",
"mountain[j]",
"mountain",
"j",
"mountain[j-1]",
"mountain",
"j-1",
"j",
"1",
"mountain[j-1]=t",
"mountain[j-1]",
"mountain",
"j-1",
"j",
"1",
"t",
"for(int i=9;i>6;i--)\n\t System.out.println(mountain[i]);",
"int i=9;",
"int i=9;",
"i",
"9",
"i>6",
"i",
"6",
"i--",
"i--",
"i",
"System.out.println(mountain[i]);",
"System.out.println(mountain[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"mountain[i]",
"mountain",
"i",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args){
String[] x = new String[10];
int[] mountain=new int[10];
try{
InputStreamReader is =new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(is);
for(int i=0;i<10;i++)
x[i]=br.readLine();
}catch(IOException e){
System.out.println(e.getMessage());
}
for(int i=0;i<10;i++)
mountain[i]=Integer.parseInt(x[i]);
for(int i=0;i<10;i++)
for(int j=1;j<10;j++)
if(mountain[j]<mountain[j-1]){
int t=mountain[j];
mountain[j]=mountain[j-1];
mountain[j-1]=t;
}
for(int i=9;i>6;i--)
System.out.println(mountain[i]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
0,
13,
20,
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,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
2,
13,
17,
2,
13,
18,
13,
13,
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
],
[
122,
5
],
[
122,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
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
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
55,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
55,
67
],
[
67,
68
],
[
68,
69
],
[
55,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
80,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
90,
92
],
[
80,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
8,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
103,
105
],
[
98,
106
],
[
106,
107
],
[
107,
108
],
[
98,
109
],
[
110,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
116,
118
],
[
6,
119
],
[
119,
120
],
[
0,
121
],
[
121,
122
],
[
121,
123
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t//??????????????°\n\t\tint[] mountain;\n\t\tint taihi;\n\n\t\t//??????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tmountain = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\tmountain[i] = sc.nextInt();\n\t\t}\n\n\n\t\tfor(int i=0; i<mountain.length; i++){\n\t\t\tfor(int y = i+1; y<mountain.length; y++){\n\t\t\t\tif(mountain[i]<mountain[y]){\n\t\t\t\t\ttaihi = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[y];\n\t\t\t\t\tmountain[y] = taihi;\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(mountain[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\t//??????????????°\n\t\tint[] mountain;\n\t\tint taihi;\n\n\t\t//??????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tmountain = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\tmountain[i] = sc.nextInt();\n\t\t}\n\n\n\t\tfor(int i=0; i<mountain.length; i++){\n\t\t\tfor(int y = i+1; y<mountain.length; y++){\n\t\t\t\tif(mountain[i]<mountain[y]){\n\t\t\t\t\ttaihi = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[y];\n\t\t\t\t\tmountain[y] = taihi;\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(mountain[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t//??????????????°\n\t\tint[] mountain;\n\t\tint taihi;\n\n\t\t//??????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tmountain = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\tmountain[i] = sc.nextInt();\n\t\t}\n\n\n\t\tfor(int i=0; i<mountain.length; i++){\n\t\t\tfor(int y = i+1; y<mountain.length; y++){\n\t\t\t\tif(mountain[i]<mountain[y]){\n\t\t\t\t\ttaihi = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[y];\n\t\t\t\t\tmountain[y] = taihi;\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(mountain[i]);\n\t\t}\n\t}",
"main",
"{\n\t\t//??????????????°\n\t\tint[] mountain;\n\t\tint taihi;\n\n\t\t//??????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tmountain = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\tmountain[i] = sc.nextInt();\n\t\t}\n\n\n\t\tfor(int i=0; i<mountain.length; i++){\n\t\t\tfor(int y = i+1; y<mountain.length; y++){\n\t\t\t\tif(mountain[i]<mountain[y]){\n\t\t\t\t\ttaihi = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[y];\n\t\t\t\t\tmountain[y] = taihi;\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(mountain[i]);\n\t\t}\n\t}",
"int[] mountain;",
"mountain",
"int taihi;",
"taihi",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"mountain = new int[10]",
"mountain",
"new int[10]",
"10",
"for(int i=0; i<10; i++){\n\t\t\tmountain[i] = sc.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tmountain[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tmountain[i] = sc.nextInt();\n\t\t}",
"mountain[i] = sc.nextInt()",
"mountain[i]",
"mountain",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i=0; i<mountain.length; i++){\n\t\t\tfor(int y = i+1; y<mountain.length; y++){\n\t\t\t\tif(mountain[i]<mountain[y]){\n\t\t\t\t\ttaihi = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[y];\n\t\t\t\t\tmountain[y] = taihi;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<mountain.length",
"i",
"mountain.length",
"mountain",
"mountain.length",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int y = i+1; y<mountain.length; y++){\n\t\t\t\tif(mountain[i]<mountain[y]){\n\t\t\t\t\ttaihi = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[y];\n\t\t\t\t\tmountain[y] = taihi;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int y = i+1; y<mountain.length; y++){\n\t\t\t\tif(mountain[i]<mountain[y]){\n\t\t\t\t\ttaihi = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[y];\n\t\t\t\t\tmountain[y] = taihi;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int y = i+1; y<mountain.length; y++){\n\t\t\t\tif(mountain[i]<mountain[y]){\n\t\t\t\t\ttaihi = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[y];\n\t\t\t\t\tmountain[y] = taihi;\n\t\t\t\t}\n\t\t\t}",
"int y = i+1;",
"int y = i+1;",
"y",
"i+1",
"i",
"1",
"y<mountain.length",
"y",
"mountain.length",
"mountain",
"mountain.length",
"y++",
"y++",
"y",
"{\n\t\t\t\tif(mountain[i]<mountain[y]){\n\t\t\t\t\ttaihi = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[y];\n\t\t\t\t\tmountain[y] = taihi;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(mountain[i]<mountain[y]){\n\t\t\t\t\ttaihi = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[y];\n\t\t\t\t\tmountain[y] = taihi;\n\t\t\t\t}\n\t\t\t}",
"if(mountain[i]<mountain[y]){\n\t\t\t\t\ttaihi = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[y];\n\t\t\t\t\tmountain[y] = taihi;\n\t\t\t\t}",
"mountain[i]<mountain[y]",
"mountain[i]",
"mountain",
"i",
"mountain[y]",
"mountain",
"y",
"{\n\t\t\t\t\ttaihi = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[y];\n\t\t\t\t\tmountain[y] = taihi;\n\t\t\t\t}",
"taihi = mountain[i]",
"taihi",
"mountain[i]",
"mountain",
"i",
"mountain[i] = mountain[y]",
"mountain[i]",
"mountain",
"i",
"mountain[y]",
"mountain",
"y",
"mountain[y] = taihi",
"mountain[y]",
"mountain",
"y",
"taihi",
"for(int i=0; i<3; i++){\n\t\t\tSystem.out.println(mountain[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(mountain[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(mountain[i]);\n\t\t}",
"System.out.println(mountain[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"mountain[i]",
"mountain",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t//??????????????°\n\t\tint[] mountain;\n\t\tint taihi;\n\n\t\t//??????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tmountain = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\tmountain[i] = sc.nextInt();\n\t\t}\n\n\n\t\tfor(int i=0; i<mountain.length; i++){\n\t\t\tfor(int y = i+1; y<mountain.length; y++){\n\t\t\t\tif(mountain[i]<mountain[y]){\n\t\t\t\t\ttaihi = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[y];\n\t\t\t\t\tmountain[y] = taihi;\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(mountain[i]);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t//??????????????°\n\t\tint[] mountain;\n\t\tint taihi;\n\n\t\t//??????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tmountain = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\tmountain[i] = sc.nextInt();\n\t\t}\n\n\n\t\tfor(int i=0; i<mountain.length; i++){\n\t\t\tfor(int y = i+1; y<mountain.length; y++){\n\t\t\t\tif(mountain[i]<mountain[y]){\n\t\t\t\t\ttaihi = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[y];\n\t\t\t\t\tmountain[y] = taihi;\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(mountain[i]);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
//??????????????°
int[] mountain;
int taihi;
//??????
Scanner sc = new Scanner(System.in);
mountain = new int[10];
for(int i=0; i<10; i++){
mountain[i] = sc.nextInt();
}
for(int i=0; i<mountain.length; i++){
for(int y = i+1; y<mountain.length; y++){
if(mountain[i]<mountain[y]){
taihi = mountain[i];
mountain[i] = mountain[y];
mountain[y] = taihi;
}
}
}
for(int i=0; i<3; i++){
System.out.println(mountain[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,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
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,
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
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
23,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
23,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
58,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
21,
79
],
[
79,
80
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nimport java.util.ArrayList;\nimport java.util.Collections;\n\nclass Main {\n public static void main(String[] args) throws NumberFormatException, IOException {\n ArrayList<Integer> input = new ArrayList<Integer>();\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n for(int i=0; i<10; i++) input.add(Integer.parseInt(br.readLine()));\n Collections.sort(input, Collections.reverseOrder());\n for(int i=0; i<3; i++) System.out.println(input.get(i));\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",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"class Main {\n public static void main(String[] args) throws NumberFormatException, IOException {\n ArrayList<Integer> input = new ArrayList<Integer>();\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n for(int i=0; i<10; i++) input.add(Integer.parseInt(br.readLine()));\n Collections.sort(input, Collections.reverseOrder());\n for(int i=0; i<3; i++) System.out.println(input.get(i));\n }\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n ArrayList<Integer> input = new ArrayList<Integer>();\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n for(int i=0; i<10; i++) input.add(Integer.parseInt(br.readLine()));\n Collections.sort(input, Collections.reverseOrder());\n for(int i=0; i<3; i++) System.out.println(input.get(i));\n }",
"main",
"{\n ArrayList<Integer> input = new ArrayList<Integer>();\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n for(int i=0; i<10; i++) input.add(Integer.parseInt(br.readLine()));\n Collections.sort(input, Collections.reverseOrder());\n for(int i=0; i<3; i++) System.out.println(input.get(i));\n }",
"ArrayList<Integer> input = new ArrayList<Integer>();",
"input",
"new ArrayList<Integer>()",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"for(int i=0; i<10; i++) input.add(Integer.parseInt(br.readLine()));",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"input.add(Integer.parseInt(br.readLine()));",
"input.add(Integer.parseInt(br.readLine()))",
"input.add",
"input",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Collections.sort(input, Collections.reverseOrder())",
"Collections.sort",
"Collections",
"input",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"for(int i=0; i<3; i++) System.out.println(input.get(i));",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"System.out.println(input.get(i));",
"System.out.println(input.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"input.get(i)",
"input.get",
"input",
"i",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.Collections;
class Main {
public static void main(String[] args) throws NumberFormatException, IOException {
ArrayList<Integer> input = new ArrayList<Integer>();
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
for(int i=0; i<10; i++) input.add(Integer.parseInt(br.readLine()));
Collections.sort(input, Collections.reverseOrder());
for(int i=0; i<3; i++) System.out.println(input.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,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
13,
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,
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
],
[
134,
8
],
[
134,
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
],
[
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
],
[
58,
60
],
[
57,
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
],
[
77,
81
],
[
81,
82
],
[
81,
83
],
[
76,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
57,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
95,
97
],
[
92,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
102,
104
],
[
92,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
11,
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
],
[
125,
126
],
[
125,
127
],
[
123,
128
],
[
128,
129
],
[
128,
130
],
[
9,
131
],
[
131,
132
],
[
0,
133
],
[
133,
134
],
[
133,
135
]
] | [
"import java.io.*;\nimport java.util.*;\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[] yama = new int[10];\n\t\tfor(int i = 0;i <= 9;i++){\n\t\t\tyama[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tint dami = 0;\n\t\tfor(int i = 0;i <= 8; i++){\n\t\t\tint x = i;\n\t\t\tfor(int j = i + 1;j <= 9;j++){\n\t\t\t\tif(yama[x] < yama[j]){\n\t\t\t\t\tx = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(x != i){\n\t\t\t\tdami = yama[x];\n\t\t\t\tyama[x] = yama[i];\n\t\t\t\tyama[i] = dami;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i <= 2;i++){\n\t\t\tSystem.out.println(yama[i]);\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] yama = new int[10];\n\t\tfor(int i = 0;i <= 9;i++){\n\t\t\tyama[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tint dami = 0;\n\t\tfor(int i = 0;i <= 8; i++){\n\t\t\tint x = i;\n\t\t\tfor(int j = i + 1;j <= 9;j++){\n\t\t\t\tif(yama[x] < yama[j]){\n\t\t\t\t\tx = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(x != i){\n\t\t\t\tdami = yama[x];\n\t\t\t\tyama[x] = yama[i];\n\t\t\t\tyama[i] = dami;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i <= 2;i++){\n\t\t\tSystem.out.println(yama[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] yama = new int[10];\n\t\tfor(int i = 0;i <= 9;i++){\n\t\t\tyama[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tint dami = 0;\n\t\tfor(int i = 0;i <= 8; i++){\n\t\t\tint x = i;\n\t\t\tfor(int j = i + 1;j <= 9;j++){\n\t\t\t\tif(yama[x] < yama[j]){\n\t\t\t\t\tx = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(x != i){\n\t\t\t\tdami = yama[x];\n\t\t\t\tyama[x] = yama[i];\n\t\t\t\tyama[i] = dami;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i <= 2;i++){\n\t\t\tSystem.out.println(yama[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] yama = new int[10];\n\t\tfor(int i = 0;i <= 9;i++){\n\t\t\tyama[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tint dami = 0;\n\t\tfor(int i = 0;i <= 8; i++){\n\t\t\tint x = i;\n\t\t\tfor(int j = i + 1;j <= 9;j++){\n\t\t\t\tif(yama[x] < yama[j]){\n\t\t\t\t\tx = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(x != i){\n\t\t\t\tdami = yama[x];\n\t\t\t\tyama[x] = yama[i];\n\t\t\t\tyama[i] = dami;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i <= 2;i++){\n\t\t\tSystem.out.println(yama[i]);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] yama = new int[10];",
"yama",
"new int[10]",
"10",
"for(int i = 0;i <= 9;i++){\n\t\t\tyama[i] = Integer.parseInt(br.readLine());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= 9",
"i",
"9",
"i++",
"i++",
"i",
"{\n\t\t\tyama[i] = Integer.parseInt(br.readLine());\n\t\t}",
"{\n\t\t\tyama[i] = Integer.parseInt(br.readLine());\n\t\t}",
"yama[i] = Integer.parseInt(br.readLine())",
"yama[i]",
"yama",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"int dami = 0;",
"dami",
"0",
"for(int i = 0;i <= 8; i++){\n\t\t\tint x = i;\n\t\t\tfor(int j = i + 1;j <= 9;j++){\n\t\t\t\tif(yama[x] < yama[j]){\n\t\t\t\t\tx = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(x != i){\n\t\t\t\tdami = yama[x];\n\t\t\t\tyama[x] = yama[i];\n\t\t\t\tyama[i] = dami;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= 8",
"i",
"8",
"i++",
"i++",
"i",
"{\n\t\t\tint x = i;\n\t\t\tfor(int j = i + 1;j <= 9;j++){\n\t\t\t\tif(yama[x] < yama[j]){\n\t\t\t\t\tx = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(x != i){\n\t\t\t\tdami = yama[x];\n\t\t\t\tyama[x] = yama[i];\n\t\t\t\tyama[i] = dami;\n\t\t\t}\n\t\t}",
"{\n\t\t\tint x = i;\n\t\t\tfor(int j = i + 1;j <= 9;j++){\n\t\t\t\tif(yama[x] < yama[j]){\n\t\t\t\t\tx = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(x != i){\n\t\t\t\tdami = yama[x];\n\t\t\t\tyama[x] = yama[i];\n\t\t\t\tyama[i] = dami;\n\t\t\t}\n\t\t}",
"int x = i;",
"x",
"i",
"for(int j = i + 1;j <= 9;j++){\n\t\t\t\tif(yama[x] < yama[j]){\n\t\t\t\t\tx = j;\n\t\t\t\t}\n\t\t\t}",
"int j = i + 1;",
"int j = i + 1;",
"j",
"i + 1",
"i",
"1",
"j <= 9",
"j",
"9",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(yama[x] < yama[j]){\n\t\t\t\t\tx = j;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(yama[x] < yama[j]){\n\t\t\t\t\tx = j;\n\t\t\t\t}\n\t\t\t}",
"if(yama[x] < yama[j]){\n\t\t\t\t\tx = j;\n\t\t\t\t}",
"yama[x] < yama[j]",
"yama[x]",
"yama",
"x",
"yama[j]",
"yama",
"j",
"{\n\t\t\t\t\tx = j;\n\t\t\t\t}",
"x = j",
"x",
"j",
"if(x != i){\n\t\t\t\tdami = yama[x];\n\t\t\t\tyama[x] = yama[i];\n\t\t\t\tyama[i] = dami;\n\t\t\t}",
"x != i",
"x",
"i",
"{\n\t\t\t\tdami = yama[x];\n\t\t\t\tyama[x] = yama[i];\n\t\t\t\tyama[i] = dami;\n\t\t\t}",
"dami = yama[x]",
"dami",
"yama[x]",
"yama",
"x",
"yama[x] = yama[i]",
"yama[x]",
"yama",
"x",
"yama[i]",
"yama",
"i",
"yama[i] = dami",
"yama[i]",
"yama",
"i",
"dami",
"for(int i = 0;i <= 2;i++){\n\t\t\tSystem.out.println(yama[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= 2",
"i",
"2",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(yama[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(yama[i]);\n\t\t}",
"System.out.println(yama[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"yama[i]",
"yama",
"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[] yama = new int[10];\n\t\tfor(int i = 0;i <= 9;i++){\n\t\t\tyama[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tint dami = 0;\n\t\tfor(int i = 0;i <= 8; i++){\n\t\t\tint x = i;\n\t\t\tfor(int j = i + 1;j <= 9;j++){\n\t\t\t\tif(yama[x] < yama[j]){\n\t\t\t\t\tx = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(x != i){\n\t\t\t\tdami = yama[x];\n\t\t\t\tyama[x] = yama[i];\n\t\t\t\tyama[i] = dami;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i <= 2;i++){\n\t\t\tSystem.out.println(yama[i]);\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] yama = new int[10];\n\t\tfor(int i = 0;i <= 9;i++){\n\t\t\tyama[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tint dami = 0;\n\t\tfor(int i = 0;i <= 8; i++){\n\t\t\tint x = i;\n\t\t\tfor(int j = i + 1;j <= 9;j++){\n\t\t\t\tif(yama[x] < yama[j]){\n\t\t\t\t\tx = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(x != i){\n\t\t\t\tdami = yama[x];\n\t\t\t\tyama[x] = yama[i];\n\t\t\t\tyama[i] = dami;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i <= 2;i++){\n\t\t\tSystem.out.println(yama[i]);\n\t\t}\n\t}\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[] yama = new int[10];
for(int i = 0;i <= 9;i++){
yama[i] = Integer.parseInt(br.readLine());
}
int dami = 0;
for(int i = 0;i <= 8; i++){
int x = i;
for(int j = i + 1;j <= 9;j++){
if(yama[x] < yama[j]){
x = j;
}
}
if(x != i){
dami = yama[x];
yama[x] = yama[i];
yama[i] = dami;
}
}
for(int i = 0;i <= 2;i++){
System.out.println(yama[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,
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,
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
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
30,
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
],
[
48,
51
],
[
51,
52
],
[
52,
53
],
[
45,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
23,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
23,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
23,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
74,
75
],
[
75,
76
],
[
66,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
21,
88
],
[
88,
89
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tArrayList<Integer> heights = new ArrayList<Integer>();\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint h = Integer.parseInt(br.readLine());\n\t\t\t\n\t\t\theights.add(h);\n\t\t}\n\t\t\n\t\tCollections.sort(heights);\n\t\tCollections.reverse(heights);\n\t\t\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(heights.get(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.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tArrayList<Integer> heights = new ArrayList<Integer>();\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint h = Integer.parseInt(br.readLine());\n\t\t\t\n\t\t\theights.add(h);\n\t\t}\n\t\t\n\t\tCollections.sort(heights);\n\t\tCollections.reverse(heights);\n\t\t\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(heights.get(i));\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tArrayList<Integer> heights = new ArrayList<Integer>();\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint h = Integer.parseInt(br.readLine());\n\t\t\t\n\t\t\theights.add(h);\n\t\t}\n\t\t\n\t\tCollections.sort(heights);\n\t\tCollections.reverse(heights);\n\t\t\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(heights.get(i));\n\t\t}\n\t}",
"main",
"{\n\t\tArrayList<Integer> heights = new ArrayList<Integer>();\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint h = Integer.parseInt(br.readLine());\n\t\t\t\n\t\t\theights.add(h);\n\t\t}\n\t\t\n\t\tCollections.sort(heights);\n\t\tCollections.reverse(heights);\n\t\t\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(heights.get(i));\n\t\t}\n\t}",
"ArrayList<Integer> heights = new ArrayList<Integer>();",
"heights",
"new ArrayList<Integer>()",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"for (int i = 0; i < 10; i++) {\n\t\t\tint h = Integer.parseInt(br.readLine());\n\t\t\t\n\t\t\theights.add(h);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tint h = Integer.parseInt(br.readLine());\n\t\t\t\n\t\t\theights.add(h);\n\t\t}",
"{\n\t\t\tint h = Integer.parseInt(br.readLine());\n\t\t\t\n\t\t\theights.add(h);\n\t\t}",
"int h = Integer.parseInt(br.readLine());",
"h",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"heights.add(h)",
"heights.add",
"heights",
"h",
"Collections.sort(heights)",
"Collections.sort",
"Collections",
"heights",
"Collections.reverse(heights)",
"Collections.reverse",
"Collections",
"heights",
"for (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(heights.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(heights.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(heights.get(i));\n\t\t}",
"System.out.println(heights.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"heights.get(i)",
"heights.get",
"heights",
"i",
"String[] args",
"args"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
class Main {
public static void main(String[] args) throws IOException {
ArrayList<Integer> heights = new ArrayList<Integer>();
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
for (int i = 0; i < 10; i++) {
int h = Integer.parseInt(br.readLine());
heights.add(h);
}
Collections.sort(heights);
Collections.reverse(heights);
for (int i = 0; i < 3; i++) {
System.out.println(heights.get(i));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
0,
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,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
11,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
24,
34
],
[
34,
35
],
[
35,
36
],
[
24,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
38,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
11,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
11,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
65,
66
],
[
56,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
9,
81
],
[
81,
82
]
] | [
"import java.io.*;\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),1);\n\t\tint[] arrays = new int[10];\n\t\tString str = br.readLine();\n\t\tfor (int i = 0; i < arrays.length; i++) {\n\t\t\tarrays[i] = Integer.parseInt(str);\n\t\t\tstr = br.readLine();\n\t\t}\n\t\tArrays.sort(arrays);\n\t\tfor (int i = 1; i <= 3; i++) {\n\t\t\tSystem.out.println(arrays[arrays.length - i]);\n\t\t}\n\t}\n\t\t\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in),1);\n\t\tint[] arrays = new int[10];\n\t\tString str = br.readLine();\n\t\tfor (int i = 0; i < arrays.length; i++) {\n\t\t\tarrays[i] = Integer.parseInt(str);\n\t\t\tstr = br.readLine();\n\t\t}\n\t\tArrays.sort(arrays);\n\t\tfor (int i = 1; i <= 3; i++) {\n\t\t\tSystem.out.println(arrays[arrays.length - i]);\n\t\t}\n\t}\n\t\t\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in),1);\n\t\tint[] arrays = new int[10];\n\t\tString str = br.readLine();\n\t\tfor (int i = 0; i < arrays.length; i++) {\n\t\t\tarrays[i] = Integer.parseInt(str);\n\t\t\tstr = br.readLine();\n\t\t}\n\t\tArrays.sort(arrays);\n\t\tfor (int i = 1; i <= 3; i++) {\n\t\t\tSystem.out.println(arrays[arrays.length - i]);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in),1);\n\t\tint[] arrays = new int[10];\n\t\tString str = br.readLine();\n\t\tfor (int i = 0; i < arrays.length; i++) {\n\t\t\tarrays[i] = Integer.parseInt(str);\n\t\t\tstr = br.readLine();\n\t\t}\n\t\tArrays.sort(arrays);\n\t\tfor (int i = 1; i <= 3; i++) {\n\t\t\tSystem.out.println(arrays[arrays.length - i]);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in),1);",
"br",
"new BufferedReader(new InputStreamReader(System.in),1)",
"int[] arrays = new int[10];",
"arrays",
"new int[10]",
"10",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"for (int i = 0; i < arrays.length; i++) {\n\t\t\tarrays[i] = Integer.parseInt(str);\n\t\t\tstr = br.readLine();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arrays.length",
"i",
"arrays.length",
"arrays",
"arrays.length",
"i++",
"i++",
"i",
"{\n\t\t\tarrays[i] = Integer.parseInt(str);\n\t\t\tstr = br.readLine();\n\t\t}",
"{\n\t\t\tarrays[i] = Integer.parseInt(str);\n\t\t\tstr = br.readLine();\n\t\t}",
"arrays[i] = Integer.parseInt(str)",
"arrays[i]",
"arrays",
"i",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(arrays)",
"Arrays.sort",
"Arrays",
"arrays",
"for (int i = 1; i <= 3; i++) {\n\t\t\tSystem.out.println(arrays[arrays.length - i]);\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(arrays[arrays.length - i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(arrays[arrays.length - i]);\n\t\t}",
"System.out.println(arrays[arrays.length - i])",
"System.out.println",
"System.out",
"System",
"System.out",
"arrays[arrays.length - i]",
"arrays",
"arrays.length - i",
"arrays.length",
"arrays",
"arrays.length",
"i",
"String[] args",
"args"
] | import java.io.*;
import java.util.Arrays;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in),1);
int[] arrays = new int[10];
String str = br.readLine();
for (int i = 0; i < arrays.length; i++) {
arrays[i] = Integer.parseInt(str);
str = br.readLine();
}
Arrays.sort(arrays);
for (int i = 1; i <= 3; i++) {
System.out.println(arrays[arrays.length - 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,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
20,
41,
13,
20,
12,
13,
30,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
13,
18,
13,
2,
17,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
14,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
20,
12,
13,
30,
4,
13,
13,
17,
23,
13,
12,
13,
30,
14,
4,
13,
13,
30,
0,
13,
4,
13,
13,
30,
4,
18,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
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
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
45,
47
],
[
37,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
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
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
50,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
50,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
77,
85
],
[
85,
86
],
[
86,
87
],
[
77,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
48,
96
],
[
96,
97
],
[
37,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
37,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
37,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
112,
124
],
[
124,
125
],
[
37,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
126,
138
],
[
138,
139
],
[
37,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
143,
148
],
[
148,
149
],
[
149,
150
],
[
148,
151
],
[
140,
152
],
[
152,
153
],
[
37,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
157,
162
],
[
162,
163
],
[
163,
164
],
[
162,
165
],
[
154,
166
],
[
166,
167
],
[
37,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
171,
176
],
[
176,
177
],
[
177,
178
],
[
168,
179
],
[
179,
180
],
[
37,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
186,
191
],
[
191,
192
],
[
192,
193
],
[
181,
194
],
[
194,
195
],
[
37,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
202,
203
],
[
202,
204
],
[
198,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
205,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
212,
214
],
[
205,
215
],
[
215,
216
],
[
216,
217
],
[
205,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
219,
223
],
[
223,
224
],
[
224,
225
],
[
223,
226
],
[
226,
227
],
[
226,
228
],
[
198,
229
],
[
229,
230
],
[
196,
231
],
[
231,
232
],
[
37,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
236,
237
],
[
237,
238
],
[
238,
239
],
[
237,
240
],
[
240,
241
],
[
241,
242
],
[
233,
243
],
[
243,
244
],
[
0,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
247,
249
],
[
245,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
253,
256
],
[
250,
257
],
[
257,
258
],
[
245,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
262,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
269,
271
],
[
262,
272
],
[
272,
273
],
[
273,
274
],
[
274,
275
],
[
273,
276
],
[
261,
277
],
[
277,
278
],
[
277,
279
],
[
277,
280
],
[
259,
281
],
[
281,
282
],
[
259,
283
],
[
283,
284
],
[
245,
285
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.ArrayDeque;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.HashMap;\nimport java.util.Stack;\nimport java.util.Scanner;\nimport java.util.Queue;\n\n/**\n * @author yoshikyoto\n */\n\n\n\nclass Main{\n\tstatic final boolean DEBUG = false;\n\tstatic Scanner sc = new Scanner(new InputStreamReader(System.in));\n\tstatic BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\tpublic static void main(String args[]) throws Exception{\n\t\tint[] m = new int[10];\n\t\tfor(int i = 0; i < 10; i++) m[i] = readInt();\n\t\tArrays.sort(m);\n\t\tfor(int i = 0; i < 3; i++) p(m[9-i]);\n\t}\n\n\tpublic static String readLine() throws IOException{return br.readLine();}\n\tpublic static int readInt(){return sc.nextInt();}\n\tpublic static void pa(Object[] arr){System.out.println(Arrays.toString(arr));}\n\tpublic static void pa(int[] arr){System.out.println(Arrays.toString(arr));}\n\tpublic static void pa(double[] arr){System.out.println(Arrays.toString(arr));}\n\tpublic static void pa(boolean[] arr){System.out.println(Arrays.toString(arr));}\n\tpublic static void p(Object o){System.out.println(o.toString());}\n\tpublic static void d(Object o){if(DEBUG)System.out.println(o.toString());}\n\tpublic static int[] parseInt(String[] arr){\n\t\tint[] res = new int[arr.length];\n\t\tfor(int i = 0; i < arr.length; i++)res[i] = Integer.parseInt(arr[i]);\n\t\treturn res;\n\t}\n\tpublic static int parseInt(Object o){return Integer.parseInt(o.toString());};\n}\n\nclass MyHashMap<E> extends HashMap<E, Integer>{\n\tArrayList<E> keyArray = new ArrayList<E>();\n\tpublic void add(E key){add(key, 1);}\n\tpublic void add(E key, Integer value){\n\t\tif(containsKey(key)){\n\t\t\tvalue += get(key);\n\t\t}else{\n\t\t\tkeyArray.add(key);\n\t\t}\n\t\tput(key, value);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayDeque;",
"ArrayDeque",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.Stack;",
"Stack",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Queue;",
"Queue",
"java.util",
"class Main{\n\tstatic final boolean DEBUG = false;\n\tstatic Scanner sc = new Scanner(new InputStreamReader(System.in));\n\tstatic BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\tpublic static void main(String args[]) throws Exception{\n\t\tint[] m = new int[10];\n\t\tfor(int i = 0; i < 10; i++) m[i] = readInt();\n\t\tArrays.sort(m);\n\t\tfor(int i = 0; i < 3; i++) p(m[9-i]);\n\t}\n\n\tpublic static String readLine() throws IOException{return br.readLine();}\n\tpublic static int readInt(){return sc.nextInt();}\n\tpublic static void pa(Object[] arr){System.out.println(Arrays.toString(arr));}\n\tpublic static void pa(int[] arr){System.out.println(Arrays.toString(arr));}\n\tpublic static void pa(double[] arr){System.out.println(Arrays.toString(arr));}\n\tpublic static void pa(boolean[] arr){System.out.println(Arrays.toString(arr));}\n\tpublic static void p(Object o){System.out.println(o.toString());}\n\tpublic static void d(Object o){if(DEBUG)System.out.println(o.toString());}\n\tpublic static int[] parseInt(String[] arr){\n\t\tint[] res = new int[arr.length];\n\t\tfor(int i = 0; i < arr.length; i++)res[i] = Integer.parseInt(arr[i]);\n\t\treturn res;\n\t}\n\tpublic static int parseInt(Object o){return Integer.parseInt(o.toString());};\n}",
"Main",
"static final boolean DEBUG = false;",
"DEBUG",
"false",
"static Scanner sc = new Scanner(new InputStreamReader(System.in));",
"sc",
"new Scanner(new InputStreamReader(System.in))",
"static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"public static void main(String args[]) throws Exception{\n\t\tint[] m = new int[10];\n\t\tfor(int i = 0; i < 10; i++) m[i] = readInt();\n\t\tArrays.sort(m);\n\t\tfor(int i = 0; i < 3; i++) p(m[9-i]);\n\t}",
"main",
"{\n\t\tint[] m = new int[10];\n\t\tfor(int i = 0; i < 10; i++) m[i] = readInt();\n\t\tArrays.sort(m);\n\t\tfor(int i = 0; i < 3; i++) p(m[9-i]);\n\t}",
"int[] m = new int[10];",
"m",
"new int[10]",
"10",
"for(int i = 0; i < 10; i++) m[i] = readInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"m[i] = readInt();",
"m[i] = readInt()",
"m[i]",
"m",
"i",
"readInt()",
"readInt",
"Arrays.sort(m)",
"Arrays.sort",
"Arrays",
"m",
"for(int i = 0; i < 3; i++) p(m[9-i]);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"p(m[9-i]);",
"p(m[9-i])",
"p",
"m[9-i]",
"m",
"9-i",
"9",
"i",
"String args[]",
"args",
"public static String readLine() throws IOException{return br.readLine();}",
"readLine",
"{return br.readLine();}",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public static int readInt(){return sc.nextInt();}",
"readInt",
"{return sc.nextInt();}",
"return sc.nextInt();",
"sc.nextInt()",
"sc.nextInt",
"sc",
"public static void pa(Object[] arr){System.out.println(Arrays.toString(arr));}",
"pa",
"{System.out.println(Arrays.toString(arr));}",
"System.out.println(Arrays.toString(arr))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.toString(arr)",
"Arrays.toString",
"Arrays",
"arr",
"Object[] arr",
"arr",
"public static void pa(int[] arr){System.out.println(Arrays.toString(arr));}",
"pa",
"{System.out.println(Arrays.toString(arr));}",
"System.out.println(Arrays.toString(arr))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.toString(arr)",
"Arrays.toString",
"Arrays",
"arr",
"int[] arr",
"arr",
"public static void pa(double[] arr){System.out.println(Arrays.toString(arr));}",
"pa",
"{System.out.println(Arrays.toString(arr));}",
"System.out.println(Arrays.toString(arr))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.toString(arr)",
"Arrays.toString",
"Arrays",
"arr",
"double[] arr",
"arr",
"public static void pa(boolean[] arr){System.out.println(Arrays.toString(arr));}",
"pa",
"{System.out.println(Arrays.toString(arr));}",
"System.out.println(Arrays.toString(arr))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.toString(arr)",
"Arrays.toString",
"Arrays",
"arr",
"boolean[] arr",
"arr",
"public static void p(Object o){System.out.println(o.toString());}",
"p",
"{System.out.println(o.toString());}",
"System.out.println(o.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"o.toString()",
"o.toString",
"o",
"Object o",
"o",
"public static void d(Object o){if(DEBUG)System.out.println(o.toString());}",
"d",
"{if(DEBUG)System.out.println(o.toString());}",
"if(DEBUG)System.out.println(o.toString());",
"DEBUG",
"System.out.println(o.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"o.toString()",
"o.toString",
"o",
"Object o",
"o",
"public static int[] parseInt(String[] arr){\n\t\tint[] res = new int[arr.length];\n\t\tfor(int i = 0; i < arr.length; i++)res[i] = Integer.parseInt(arr[i]);\n\t\treturn res;\n\t}",
"parseInt",
"{\n\t\tint[] res = new int[arr.length];\n\t\tfor(int i = 0; i < arr.length; i++)res[i] = Integer.parseInt(arr[i]);\n\t\treturn res;\n\t}",
"int[] res = new int[arr.length];",
"res",
"new int[arr.length]",
"arr.length",
"arr",
"arr.length",
"for(int i = 0; i < arr.length; i++)res[i] = Integer.parseInt(arr[i]);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"res[i] = Integer.parseInt(arr[i]);",
"res[i] = Integer.parseInt(arr[i])",
"res[i]",
"res",
"i",
"Integer.parseInt(arr[i])",
"Integer.parseInt",
"Integer",
"arr[i]",
"arr",
"i",
"return res;",
"res",
"String[] arr",
"arr",
"public static int parseInt(Object o){return Integer.parseInt(o.toString());}",
"parseInt",
"{return Integer.parseInt(o.toString());}",
"return Integer.parseInt(o.toString());",
"Integer.parseInt(o.toString())",
"Integer.parseInt",
"Integer",
"o.toString()",
"o.toString",
"o",
"Object o",
"o",
"class MyHashMap<E> extends HashMap<E, Integer>{\n\tArrayList<E> keyArray = new ArrayList<E>();\n\tpublic void add(E key){add(key, 1);}\n\tpublic void add(E key, Integer value){\n\t\tif(containsKey(key)){\n\t\t\tvalue += get(key);\n\t\t}else{\n\t\t\tkeyArray.add(key);\n\t\t}\n\t\tput(key, value);\n\t}\n}",
"MyHashMap",
"ArrayList<E> keyArray = new ArrayList<E>();",
"keyArray",
"new ArrayList<E>()",
"public void add(E key){add(key, 1);}",
"add",
"{add(key, 1);}",
"add(key, 1)",
"add",
"key",
"1",
"E key",
"key",
"public void add(E key, Integer value){\n\t\tif(containsKey(key)){\n\t\t\tvalue += get(key);\n\t\t}else{\n\t\t\tkeyArray.add(key);\n\t\t}\n\t\tput(key, value);\n\t}",
"add",
"{\n\t\tif(containsKey(key)){\n\t\t\tvalue += get(key);\n\t\t}else{\n\t\t\tkeyArray.add(key);\n\t\t}\n\t\tput(key, value);\n\t}",
"if(containsKey(key)){\n\t\t\tvalue += get(key);\n\t\t}else{\n\t\t\tkeyArray.add(key);\n\t\t}",
"containsKey(key)",
"containsKey",
"key",
"{\n\t\t\tvalue += get(key);\n\t\t}",
"value += get(key)",
"value",
"get(key)",
"get",
"key",
"{\n\t\t\tkeyArray.add(key);\n\t\t}",
"keyArray.add(key)",
"keyArray.add",
"keyArray",
"key",
"put(key, value)",
"put",
"key",
"value",
"E key",
"key",
"Integer value",
"value",
"HashMap"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.Stack;
import java.util.Scanner;
import java.util.Queue;
/**
* @author yoshikyoto
*/
class Main{
static final boolean DEBUG = false;
static Scanner sc = new Scanner(new InputStreamReader(System.in));
static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
public static void main(String args[]) throws Exception{
int[] m = new int[10];
for(int i = 0; i < 10; i++) m[i] = readInt();
Arrays.sort(m);
for(int i = 0; i < 3; i++) p(m[9-i]);
}
public static String readLine() throws IOException{return br.readLine();}
public static int readInt(){return sc.nextInt();}
public static void pa(Object[] arr){System.out.println(Arrays.toString(arr));}
public static void pa(int[] arr){System.out.println(Arrays.toString(arr));}
public static void pa(double[] arr){System.out.println(Arrays.toString(arr));}
public static void pa(boolean[] arr){System.out.println(Arrays.toString(arr));}
public static void p(Object o){System.out.println(o.toString());}
public static void d(Object o){if(DEBUG)System.out.println(o.toString());}
public static int[] parseInt(String[] arr){
int[] res = new int[arr.length];
for(int i = 0; i < arr.length; i++)res[i] = Integer.parseInt(arr[i]);
return res;
}
public static int parseInt(Object o){return Integer.parseInt(o.toString());};
}
class MyHashMap<E> extends HashMap<E, Integer>{
ArrayList<E> keyArray = new ArrayList<E>();
public void add(E key){add(key, 1);}
public void add(E key, Integer value){
if(containsKey(key)){
value += get(key);
}else{
keyArray.add(key);
}
put(key, value);
}
} |
[
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,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
2,
17,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
30,
41,
13,
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
],
[
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
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
49,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
64,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
74,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
74,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
91,
97
],
[
8,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
103,
105
],
[
98,
106
],
[
106,
107
],
[
107,
108
],
[
98,
109
],
[
110,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
116,
118
],
[
6,
119
],
[
119,
120
]
] | [
"import java.util.Scanner;\n\tclass Main{\n\n\t\tpublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\tint MOUNTAIN[]=new int[10];\n\tfor(int i=0;i<10;i++){\n\t\tMOUNTAIN[i]=sc.nextInt();\n\t}\n\tfor(int i=1;i<10;i++){\n\t\tfor(int j=0;j<10-i;j++){\n\t\t\tif(MOUNTAIN[j]>MOUNTAIN[j+1]){\n\t\t\t\tint taihi;\n\t\t\t\ttaihi = MOUNTAIN[j];\n\t\t\t\tMOUNTAIN[j]=MOUNTAIN[j+1];\n\t\t\t\tMOUNTAIN[j+1]=taihi;\n\t\t\t}\n\t\t\t\n\t\t}\n\t}\n\tfor(int i=9;i!=6;i--){\n\t\tSystem.out.println(MOUNTAIN[i]);\n\t}\n\t\t}\n\t}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\n\t\tpublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\tint MOUNTAIN[]=new int[10];\n\tfor(int i=0;i<10;i++){\n\t\tMOUNTAIN[i]=sc.nextInt();\n\t}\n\tfor(int i=1;i<10;i++){\n\t\tfor(int j=0;j<10-i;j++){\n\t\t\tif(MOUNTAIN[j]>MOUNTAIN[j+1]){\n\t\t\t\tint taihi;\n\t\t\t\ttaihi = MOUNTAIN[j];\n\t\t\t\tMOUNTAIN[j]=MOUNTAIN[j+1];\n\t\t\t\tMOUNTAIN[j+1]=taihi;\n\t\t\t}\n\t\t\t\n\t\t}\n\t}\n\tfor(int i=9;i!=6;i--){\n\t\tSystem.out.println(MOUNTAIN[i]);\n\t}\n\t\t}\n\t}",
"Main",
"public static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\tint MOUNTAIN[]=new int[10];\n\tfor(int i=0;i<10;i++){\n\t\tMOUNTAIN[i]=sc.nextInt();\n\t}\n\tfor(int i=1;i<10;i++){\n\t\tfor(int j=0;j<10-i;j++){\n\t\t\tif(MOUNTAIN[j]>MOUNTAIN[j+1]){\n\t\t\t\tint taihi;\n\t\t\t\ttaihi = MOUNTAIN[j];\n\t\t\t\tMOUNTAIN[j]=MOUNTAIN[j+1];\n\t\t\t\tMOUNTAIN[j+1]=taihi;\n\t\t\t}\n\t\t\t\n\t\t}\n\t}\n\tfor(int i=9;i!=6;i--){\n\t\tSystem.out.println(MOUNTAIN[i]);\n\t}\n\t\t}",
"main",
"{\n\tScanner sc=new Scanner(System.in);\n\tint MOUNTAIN[]=new int[10];\n\tfor(int i=0;i<10;i++){\n\t\tMOUNTAIN[i]=sc.nextInt();\n\t}\n\tfor(int i=1;i<10;i++){\n\t\tfor(int j=0;j<10-i;j++){\n\t\t\tif(MOUNTAIN[j]>MOUNTAIN[j+1]){\n\t\t\t\tint taihi;\n\t\t\t\ttaihi = MOUNTAIN[j];\n\t\t\t\tMOUNTAIN[j]=MOUNTAIN[j+1];\n\t\t\t\tMOUNTAIN[j+1]=taihi;\n\t\t\t}\n\t\t\t\n\t\t}\n\t}\n\tfor(int i=9;i!=6;i--){\n\t\tSystem.out.println(MOUNTAIN[i]);\n\t}\n\t\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int MOUNTAIN[]=new int[10];",
"MOUNTAIN",
"new int[10]",
"10",
"for(int i=0;i<10;i++){\n\t\tMOUNTAIN[i]=sc.nextInt();\n\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\tMOUNTAIN[i]=sc.nextInt();\n\t}",
"{\n\t\tMOUNTAIN[i]=sc.nextInt();\n\t}",
"MOUNTAIN[i]=sc.nextInt()",
"MOUNTAIN[i]",
"MOUNTAIN",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i=1;i<10;i++){\n\t\tfor(int j=0;j<10-i;j++){\n\t\t\tif(MOUNTAIN[j]>MOUNTAIN[j+1]){\n\t\t\t\tint taihi;\n\t\t\t\ttaihi = MOUNTAIN[j];\n\t\t\t\tMOUNTAIN[j]=MOUNTAIN[j+1];\n\t\t\t\tMOUNTAIN[j+1]=taihi;\n\t\t\t}\n\t\t\t\n\t\t}\n\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\tfor(int j=0;j<10-i;j++){\n\t\t\tif(MOUNTAIN[j]>MOUNTAIN[j+1]){\n\t\t\t\tint taihi;\n\t\t\t\ttaihi = MOUNTAIN[j];\n\t\t\t\tMOUNTAIN[j]=MOUNTAIN[j+1];\n\t\t\t\tMOUNTAIN[j+1]=taihi;\n\t\t\t}\n\t\t\t\n\t\t}\n\t}",
"{\n\t\tfor(int j=0;j<10-i;j++){\n\t\t\tif(MOUNTAIN[j]>MOUNTAIN[j+1]){\n\t\t\t\tint taihi;\n\t\t\t\ttaihi = MOUNTAIN[j];\n\t\t\t\tMOUNTAIN[j]=MOUNTAIN[j+1];\n\t\t\t\tMOUNTAIN[j+1]=taihi;\n\t\t\t}\n\t\t\t\n\t\t}\n\t}",
"for(int j=0;j<10-i;j++){\n\t\t\tif(MOUNTAIN[j]>MOUNTAIN[j+1]){\n\t\t\t\tint taihi;\n\t\t\t\ttaihi = MOUNTAIN[j];\n\t\t\t\tMOUNTAIN[j]=MOUNTAIN[j+1];\n\t\t\t\tMOUNTAIN[j+1]=taihi;\n\t\t\t}\n\t\t\t\n\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<10-i",
"j",
"10-i",
"10",
"i",
"j++",
"j++",
"j",
"{\n\t\t\tif(MOUNTAIN[j]>MOUNTAIN[j+1]){\n\t\t\t\tint taihi;\n\t\t\t\ttaihi = MOUNTAIN[j];\n\t\t\t\tMOUNTAIN[j]=MOUNTAIN[j+1];\n\t\t\t\tMOUNTAIN[j+1]=taihi;\n\t\t\t}\n\t\t\t\n\t\t}",
"{\n\t\t\tif(MOUNTAIN[j]>MOUNTAIN[j+1]){\n\t\t\t\tint taihi;\n\t\t\t\ttaihi = MOUNTAIN[j];\n\t\t\t\tMOUNTAIN[j]=MOUNTAIN[j+1];\n\t\t\t\tMOUNTAIN[j+1]=taihi;\n\t\t\t}\n\t\t\t\n\t\t}",
"if(MOUNTAIN[j]>MOUNTAIN[j+1]){\n\t\t\t\tint taihi;\n\t\t\t\ttaihi = MOUNTAIN[j];\n\t\t\t\tMOUNTAIN[j]=MOUNTAIN[j+1];\n\t\t\t\tMOUNTAIN[j+1]=taihi;\n\t\t\t}",
"MOUNTAIN[j]>MOUNTAIN[j+1]",
"MOUNTAIN[j]",
"MOUNTAIN",
"j",
"MOUNTAIN[j+1]",
"MOUNTAIN",
"j+1",
"j",
"1",
"{\n\t\t\t\tint taihi;\n\t\t\t\ttaihi = MOUNTAIN[j];\n\t\t\t\tMOUNTAIN[j]=MOUNTAIN[j+1];\n\t\t\t\tMOUNTAIN[j+1]=taihi;\n\t\t\t}",
"int taihi;",
"taihi",
"taihi = MOUNTAIN[j]",
"taihi",
"MOUNTAIN[j]",
"MOUNTAIN",
"j",
"MOUNTAIN[j]=MOUNTAIN[j+1]",
"MOUNTAIN[j]",
"MOUNTAIN",
"j",
"MOUNTAIN[j+1]",
"MOUNTAIN",
"j+1",
"j",
"1",
"MOUNTAIN[j+1]=taihi",
"MOUNTAIN[j+1]",
"MOUNTAIN",
"j+1",
"j",
"1",
"taihi",
"for(int i=9;i!=6;i--){\n\t\tSystem.out.println(MOUNTAIN[i]);\n\t}",
"int i=9;",
"int i=9;",
"i",
"9",
"i!=6",
"i",
"6",
"i--",
"i--",
"i",
"{\n\t\tSystem.out.println(MOUNTAIN[i]);\n\t}",
"{\n\t\tSystem.out.println(MOUNTAIN[i]);\n\t}",
"System.out.println(MOUNTAIN[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"MOUNTAIN[i]",
"MOUNTAIN",
"i",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
int MOUNTAIN[]=new int[10];
for(int i=0;i<10;i++){
MOUNTAIN[i]=sc.nextInt();
}
for(int i=1;i<10;i++){
for(int j=0;j<10-i;j++){
if(MOUNTAIN[j]>MOUNTAIN[j+1]){
int taihi;
taihi = MOUNTAIN[j];
MOUNTAIN[j]=MOUNTAIN[j+1];
MOUNTAIN[j+1]=taihi;
}
}
}
for(int i=9;i!=6;i--){
System.out.println(MOUNTAIN[i]);
}
}
} |
[
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,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
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
],
[
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
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
35,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
48,
55
],
[
55,
56
],
[
55,
57
],
[
48,
58
],
[
58,
59
],
[
58,
60
],
[
44,
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
],
[
8,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
8,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
6,
98
],
[
98,
99
]
] | [
"import java.io.*;\n\nclass Main {\n public static void main(String[] args) throws java.io.IOException{\n int fst = 0,snd = 0,thi = 0;\n int temp;\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n for (int i=0; i<10; i++) {\n int j = Integer.parseInt(in.readLine());\n if (j > fst) {\n temp = snd;\n snd = fst;\n thi = temp;\n fst = j;\n } else if (j > snd) {\n thi = snd;\n snd = j;\n } else if (j > thi) {\n thi = j;\n }\n }\n System.out.println(fst);\n System.out.println(snd);\n System.out.println(thi);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n public static void main(String[] args) throws java.io.IOException{\n int fst = 0,snd = 0,thi = 0;\n int temp;\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n for (int i=0; i<10; i++) {\n int j = Integer.parseInt(in.readLine());\n if (j > fst) {\n temp = snd;\n snd = fst;\n thi = temp;\n fst = j;\n } else if (j > snd) {\n thi = snd;\n snd = j;\n } else if (j > thi) {\n thi = j;\n }\n }\n System.out.println(fst);\n System.out.println(snd);\n System.out.println(thi);\n }\n}",
"Main",
"public static void main(String[] args) throws java.io.IOException{\n int fst = 0,snd = 0,thi = 0;\n int temp;\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n for (int i=0; i<10; i++) {\n int j = Integer.parseInt(in.readLine());\n if (j > fst) {\n temp = snd;\n snd = fst;\n thi = temp;\n fst = j;\n } else if (j > snd) {\n thi = snd;\n snd = j;\n } else if (j > thi) {\n thi = j;\n }\n }\n System.out.println(fst);\n System.out.println(snd);\n System.out.println(thi);\n }",
"main",
"{\n int fst = 0,snd = 0,thi = 0;\n int temp;\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n for (int i=0; i<10; i++) {\n int j = Integer.parseInt(in.readLine());\n if (j > fst) {\n temp = snd;\n snd = fst;\n thi = temp;\n fst = j;\n } else if (j > snd) {\n thi = snd;\n snd = j;\n } else if (j > thi) {\n thi = j;\n }\n }\n System.out.println(fst);\n System.out.println(snd);\n System.out.println(thi);\n }",
"int fst = 0",
"fst",
"0",
"snd = 0",
"snd",
"0",
"thi = 0;",
"thi",
"0",
"int temp;",
"temp",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"for (int i=0; i<10; i++) {\n int j = Integer.parseInt(in.readLine());\n if (j > fst) {\n temp = snd;\n snd = fst;\n thi = temp;\n fst = j;\n } else if (j > snd) {\n thi = snd;\n snd = j;\n } else if (j > thi) {\n thi = j;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n int j = Integer.parseInt(in.readLine());\n if (j > fst) {\n temp = snd;\n snd = fst;\n thi = temp;\n fst = j;\n } else if (j > snd) {\n thi = snd;\n snd = j;\n } else if (j > thi) {\n thi = j;\n }\n }",
"{\n int j = Integer.parseInt(in.readLine());\n if (j > fst) {\n temp = snd;\n snd = fst;\n thi = temp;\n fst = j;\n } else if (j > snd) {\n thi = snd;\n snd = j;\n } else if (j > thi) {\n thi = j;\n }\n }",
"int j = Integer.parseInt(in.readLine());",
"j",
"Integer.parseInt(in.readLine())",
"Integer.parseInt",
"Integer",
"in.readLine()",
"in.readLine",
"in",
"if (j > fst) {\n temp = snd;\n snd = fst;\n thi = temp;\n fst = j;\n } else if (j > snd) {\n thi = snd;\n snd = j;\n } else if (j > thi) {\n thi = j;\n }",
"j > fst",
"j",
"fst",
"{\n temp = snd;\n snd = fst;\n thi = temp;\n fst = j;\n }",
"temp = snd",
"temp",
"snd",
"snd = fst",
"snd",
"fst",
"thi = temp",
"thi",
"temp",
"fst = j",
"fst",
"j",
"if (j > snd) {\n thi = snd;\n snd = j;\n } else if (j > thi) {\n thi = j;\n }",
"j > snd",
"j",
"snd",
"{\n thi = snd;\n snd = j;\n }",
"thi = snd",
"thi",
"snd",
"snd = j",
"snd",
"j",
"if (j > thi) {\n thi = j;\n }",
"j > thi",
"j",
"thi",
"{\n thi = j;\n }",
"thi = j",
"thi",
"j",
"System.out.println(fst)",
"System.out.println",
"System.out",
"System",
"System.out",
"fst",
"System.out.println(snd)",
"System.out.println",
"System.out",
"System",
"System.out",
"snd",
"System.out.println(thi)",
"System.out.println",
"System.out",
"System",
"System.out",
"thi",
"String[] args",
"args"
] | import java.io.*;
class Main {
public static void main(String[] args) throws java.io.IOException{
int fst = 0,snd = 0,thi = 0;
int temp;
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
for (int i=0; i<10; i++) {
int j = Integer.parseInt(in.readLine());
if (j > fst) {
temp = snd;
snd = fst;
thi = temp;
fst = j;
} else if (j > snd) {
thi = snd;
snd = j;
} else if (j > thi) {
thi = j;
}
}
System.out.println(fst);
System.out.println(snd);
System.out.println(thi);
}
} |
[
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,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
2,
13,
17,
2,
13,
18,
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
],
[
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
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
45,
57
],
[
57,
58
],
[
58,
59
],
[
45,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
62,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
62,
74
],
[
74,
75
],
[
75,
76
],
[
62,
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\n\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t BufferedReader br= new BufferedReader(new InputStreamReader(System.in));\n\t int [] mountainsheight= new int[10];\n for (int i = 0; i < 10; i++) {\n \tmountainsheight[i]=Integer.parseInt(br.readLine());\n }\n \n for (int i = 0; i < mountainsheight.length-1; i++) {\n \tfor (int j = i + 1; j < mountainsheight.length; j++) {\n \t\tif (mountainsheight[i] < mountainsheight[j]) {\n \t\t\tint temporary = mountainsheight[i];\n \t\t\tmountainsheight[i] = mountainsheight[j];\n \t\t\tmountainsheight[j] = temporary;\n \t\t}\n \t}\n }\n \n for (int i = 0; i < 3; i++) {\n \tSystem.out.println(mountainsheight[i]);\n }\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t BufferedReader br= new BufferedReader(new InputStreamReader(System.in));\n\t int [] mountainsheight= new int[10];\n for (int i = 0; i < 10; i++) {\n \tmountainsheight[i]=Integer.parseInt(br.readLine());\n }\n \n for (int i = 0; i < mountainsheight.length-1; i++) {\n \tfor (int j = i + 1; j < mountainsheight.length; j++) {\n \t\tif (mountainsheight[i] < mountainsheight[j]) {\n \t\t\tint temporary = mountainsheight[i];\n \t\t\tmountainsheight[i] = mountainsheight[j];\n \t\t\tmountainsheight[j] = temporary;\n \t\t}\n \t}\n }\n \n for (int i = 0; i < 3; i++) {\n \tSystem.out.println(mountainsheight[i]);\n }\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 [] mountainsheight= new int[10];\n for (int i = 0; i < 10; i++) {\n \tmountainsheight[i]=Integer.parseInt(br.readLine());\n }\n \n for (int i = 0; i < mountainsheight.length-1; i++) {\n \tfor (int j = i + 1; j < mountainsheight.length; j++) {\n \t\tif (mountainsheight[i] < mountainsheight[j]) {\n \t\t\tint temporary = mountainsheight[i];\n \t\t\tmountainsheight[i] = mountainsheight[j];\n \t\t\tmountainsheight[j] = temporary;\n \t\t}\n \t}\n }\n \n for (int i = 0; i < 3; i++) {\n \tSystem.out.println(mountainsheight[i]);\n }\n\t}",
"main",
"{\n\t BufferedReader br= new BufferedReader(new InputStreamReader(System.in));\n\t int [] mountainsheight= new int[10];\n for (int i = 0; i < 10; i++) {\n \tmountainsheight[i]=Integer.parseInt(br.readLine());\n }\n \n for (int i = 0; i < mountainsheight.length-1; i++) {\n \tfor (int j = i + 1; j < mountainsheight.length; j++) {\n \t\tif (mountainsheight[i] < mountainsheight[j]) {\n \t\t\tint temporary = mountainsheight[i];\n \t\t\tmountainsheight[i] = mountainsheight[j];\n \t\t\tmountainsheight[j] = temporary;\n \t\t}\n \t}\n }\n \n for (int i = 0; i < 3; i++) {\n \tSystem.out.println(mountainsheight[i]);\n }\n\t}",
"BufferedReader br= new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int [] mountainsheight= new int[10];",
"mountainsheight",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++) {\n \tmountainsheight[i]=Integer.parseInt(br.readLine());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n \tmountainsheight[i]=Integer.parseInt(br.readLine());\n }",
"{\n \tmountainsheight[i]=Integer.parseInt(br.readLine());\n }",
"mountainsheight[i]=Integer.parseInt(br.readLine())",
"mountainsheight[i]",
"mountainsheight",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"for (int i = 0; i < mountainsheight.length-1; i++) {\n \tfor (int j = i + 1; j < mountainsheight.length; j++) {\n \t\tif (mountainsheight[i] < mountainsheight[j]) {\n \t\t\tint temporary = mountainsheight[i];\n \t\t\tmountainsheight[i] = mountainsheight[j];\n \t\t\tmountainsheight[j] = temporary;\n \t\t}\n \t}\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < mountainsheight.length-1",
"i",
"mountainsheight.length-1",
"mountainsheight.length",
"mountainsheight",
"mountainsheight.length",
"1",
"i++",
"i++",
"i",
"{\n \tfor (int j = i + 1; j < mountainsheight.length; j++) {\n \t\tif (mountainsheight[i] < mountainsheight[j]) {\n \t\t\tint temporary = mountainsheight[i];\n \t\t\tmountainsheight[i] = mountainsheight[j];\n \t\t\tmountainsheight[j] = temporary;\n \t\t}\n \t}\n }",
"{\n \tfor (int j = i + 1; j < mountainsheight.length; j++) {\n \t\tif (mountainsheight[i] < mountainsheight[j]) {\n \t\t\tint temporary = mountainsheight[i];\n \t\t\tmountainsheight[i] = mountainsheight[j];\n \t\t\tmountainsheight[j] = temporary;\n \t\t}\n \t}\n }",
"for (int j = i + 1; j < mountainsheight.length; j++) {\n \t\tif (mountainsheight[i] < mountainsheight[j]) {\n \t\t\tint temporary = mountainsheight[i];\n \t\t\tmountainsheight[i] = mountainsheight[j];\n \t\t\tmountainsheight[j] = temporary;\n \t\t}\n \t}",
"int j = i + 1;",
"int j = i + 1;",
"j",
"i + 1",
"i",
"1",
"j < mountainsheight.length",
"j",
"mountainsheight.length",
"mountainsheight",
"mountainsheight.length",
"j++",
"j++",
"j",
"{\n \t\tif (mountainsheight[i] < mountainsheight[j]) {\n \t\t\tint temporary = mountainsheight[i];\n \t\t\tmountainsheight[i] = mountainsheight[j];\n \t\t\tmountainsheight[j] = temporary;\n \t\t}\n \t}",
"{\n \t\tif (mountainsheight[i] < mountainsheight[j]) {\n \t\t\tint temporary = mountainsheight[i];\n \t\t\tmountainsheight[i] = mountainsheight[j];\n \t\t\tmountainsheight[j] = temporary;\n \t\t}\n \t}",
"if (mountainsheight[i] < mountainsheight[j]) {\n \t\t\tint temporary = mountainsheight[i];\n \t\t\tmountainsheight[i] = mountainsheight[j];\n \t\t\tmountainsheight[j] = temporary;\n \t\t}",
"mountainsheight[i] < mountainsheight[j]",
"mountainsheight[i]",
"mountainsheight",
"i",
"mountainsheight[j]",
"mountainsheight",
"j",
"{\n \t\t\tint temporary = mountainsheight[i];\n \t\t\tmountainsheight[i] = mountainsheight[j];\n \t\t\tmountainsheight[j] = temporary;\n \t\t}",
"int temporary = mountainsheight[i];",
"temporary",
"mountainsheight[i]",
"mountainsheight",
"i",
"mountainsheight[i] = mountainsheight[j]",
"mountainsheight[i]",
"mountainsheight",
"i",
"mountainsheight[j]",
"mountainsheight",
"j",
"mountainsheight[j] = temporary",
"mountainsheight[j]",
"mountainsheight",
"j",
"temporary",
"for (int i = 0; i < 3; i++) {\n \tSystem.out.println(mountainsheight[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n \tSystem.out.println(mountainsheight[i]);\n }",
"{\n \tSystem.out.println(mountainsheight[i]);\n }",
"System.out.println(mountainsheight[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"mountainsheight[i]",
"mountainsheight",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t BufferedReader br= new BufferedReader(new InputStreamReader(System.in));\n\t int [] mountainsheight= new int[10];\n for (int i = 0; i < 10; i++) {\n \tmountainsheight[i]=Integer.parseInt(br.readLine());\n }\n \n for (int i = 0; i < mountainsheight.length-1; i++) {\n \tfor (int j = i + 1; j < mountainsheight.length; j++) {\n \t\tif (mountainsheight[i] < mountainsheight[j]) {\n \t\t\tint temporary = mountainsheight[i];\n \t\t\tmountainsheight[i] = mountainsheight[j];\n \t\t\tmountainsheight[j] = temporary;\n \t\t}\n \t}\n }\n \n for (int i = 0; i < 3; i++) {\n \tSystem.out.println(mountainsheight[i]);\n }\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t BufferedReader br= new BufferedReader(new InputStreamReader(System.in));\n\t int [] mountainsheight= new int[10];\n for (int i = 0; i < 10; i++) {\n \tmountainsheight[i]=Integer.parseInt(br.readLine());\n }\n \n for (int i = 0; i < mountainsheight.length-1; i++) {\n \tfor (int j = i + 1; j < mountainsheight.length; j++) {\n \t\tif (mountainsheight[i] < mountainsheight[j]) {\n \t\t\tint temporary = mountainsheight[i];\n \t\t\tmountainsheight[i] = mountainsheight[j];\n \t\t\tmountainsheight[j] = temporary;\n \t\t}\n \t}\n }\n \n for (int i = 0; i < 3; i++) {\n \tSystem.out.println(mountainsheight[i]);\n }\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader br= new BufferedReader(new InputStreamReader(System.in));
int [] mountainsheight= new int[10];
for (int i = 0; i < 10; i++) {
mountainsheight[i]=Integer.parseInt(br.readLine());
}
for (int i = 0; i < mountainsheight.length-1; i++) {
for (int j = i + 1; j < mountainsheight.length; j++) {
if (mountainsheight[i] < mountainsheight[j]) {
int temporary = mountainsheight[i];
mountainsheight[i] = mountainsheight[j];
mountainsheight[j] = temporary;
}
}
}
for (int i = 0; i < 3; i++) {
System.out.println(mountainsheight[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
12,
13,
30,
4,
13,
4,
13,
23,
13,
12,
13,
30,
0,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
12,
13,
30,
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
79,
5
],
[
79,
6
],
[
6,
7
],
[
6,
8
],
[
79,
9
],
[
9,
10
],
[
79,
11
],
[
11,
12
],
[
11,
13
],
[
13,
14
],
[
14,
15
],
[
13,
16
],
[
16,
17
],
[
11,
18
],
[
18,
19
],
[
79,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
79,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
49,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
49,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
49,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"import java.util.*;\n\npublic class Main {\n static Scanner sc = new Scanner(System.in);\n static int[] array;\n public static void main(String[] args) {\n read();\n solve();\n }\n\n static void read(){\n array = new int[10];\n for(int i = 0; i < 10; i++){\n array[i] = sc.nextInt();\n }\n }\n\n static void solve(){\n Arrays.sort(array);\n System.out.println(array[9]);\n System.out.println(array[8]);\n System.out.println(array[7]);\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n static Scanner sc = new Scanner(System.in);\n static int[] array;\n public static void main(String[] args) {\n read();\n solve();\n }\n\n static void read(){\n array = new int[10];\n for(int i = 0; i < 10; i++){\n array[i] = sc.nextInt();\n }\n }\n\n static void solve(){\n Arrays.sort(array);\n System.out.println(array[9]);\n System.out.println(array[8]);\n System.out.println(array[7]);\n }\n\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"static int[] array;",
"array",
"public static void main(String[] args) {\n read();\n solve();\n }",
"main",
"{\n read();\n solve();\n }",
"read()",
"read",
"solve()",
"solve",
"String[] args",
"args",
"static void read(){\n array = new int[10];\n for(int i = 0; i < 10; i++){\n array[i] = sc.nextInt();\n }\n }",
"read",
"{\n array = new int[10];\n for(int i = 0; i < 10; i++){\n array[i] = sc.nextInt();\n }\n }",
"array = new int[10]",
"array",
"new int[10]",
"10",
"for(int i = 0; i < 10; i++){\n array[i] = sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n array[i] = sc.nextInt();\n }",
"{\n array[i] = sc.nextInt();\n }",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"static void solve(){\n Arrays.sort(array);\n System.out.println(array[9]);\n System.out.println(array[8]);\n System.out.println(array[7]);\n }",
"solve",
"{\n Arrays.sort(array);\n System.out.println(array[9]);\n System.out.println(array[8]);\n System.out.println(array[7]);\n }",
"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",
"public class Main {\n static Scanner sc = new Scanner(System.in);\n static int[] array;\n public static void main(String[] args) {\n read();\n solve();\n }\n\n static void read(){\n array = new int[10];\n for(int i = 0; i < 10; i++){\n array[i] = sc.nextInt();\n }\n }\n\n static void solve(){\n Arrays.sort(array);\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 static Scanner sc = new Scanner(System.in);\n static int[] array;\n public static void main(String[] args) {\n read();\n solve();\n }\n\n static void read(){\n array = new int[10];\n for(int i = 0; i < 10; i++){\n array[i] = sc.nextInt();\n }\n }\n\n static void solve(){\n Arrays.sort(array);\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.*;
public class Main {
static Scanner sc = new Scanner(System.in);
static int[] array;
public static void main(String[] args) {
read();
solve();
}
static void read(){
array = new int[10];
for(int i = 0; i < 10; i++){
array[i] = sc.nextInt();
}
}
static void solve(){
Arrays.sort(array);
System.out.println(array[9]);
System.out.println(array[8]);
System.out.println(array[7]);
}
} |
[
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,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
30,
40,
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
],
[
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
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
28,
38
],
[
38,
39
],
[
39,
40
],
[
28,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
54,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
53,
65
],
[
65,
66
],
[
66,
67
],
[
20,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
20,
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
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
18,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nimport java.util.Collections;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tInteger[] a =new Integer[10]; //?????????????????????\n\n\t\tfor(int i = 0; i < a.length; i++){\n\t\t\ta[i] = Integer.parseInt(br.readLine());\n\t\t\tif(a[i] < 0 || a[i] >10000){\n\t\t\t\ti--;\n\t\t\t}\n\t\t}\n\n\t\tArrays.sort(a,Collections.reverseOrder());\n\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(a[i]);\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",
"import java.util.Collections;",
"Collections",
"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\n\t\tInteger[] a =new Integer[10]; //?????????????????????\n\n\t\tfor(int i = 0; i < a.length; i++){\n\t\t\ta[i] = Integer.parseInt(br.readLine());\n\t\t\tif(a[i] < 0 || a[i] >10000){\n\t\t\t\ti--;\n\t\t\t}\n\t\t}\n\n\t\tArrays.sort(a,Collections.reverseOrder());\n\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tInteger[] a =new Integer[10]; //?????????????????????\n\n\t\tfor(int i = 0; i < a.length; i++){\n\t\t\ta[i] = Integer.parseInt(br.readLine());\n\t\t\tif(a[i] < 0 || a[i] >10000){\n\t\t\t\ti--;\n\t\t\t}\n\t\t}\n\n\t\tArrays.sort(a,Collections.reverseOrder());\n\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tInteger[] a =new Integer[10]; //?????????????????????\n\n\t\tfor(int i = 0; i < a.length; i++){\n\t\t\ta[i] = Integer.parseInt(br.readLine());\n\t\t\tif(a[i] < 0 || a[i] >10000){\n\t\t\t\ti--;\n\t\t\t}\n\t\t}\n\n\t\tArrays.sort(a,Collections.reverseOrder());\n\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"Integer[] a =new Integer[10];",
"a",
"new Integer[10]",
"10",
"for(int i = 0; i < a.length; i++){\n\t\t\ta[i] = Integer.parseInt(br.readLine());\n\t\t\tif(a[i] < 0 || a[i] >10000){\n\t\t\t\ti--;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = Integer.parseInt(br.readLine());\n\t\t\tif(a[i] < 0 || a[i] >10000){\n\t\t\t\ti--;\n\t\t\t}\n\t\t}",
"{\n\t\t\ta[i] = Integer.parseInt(br.readLine());\n\t\t\tif(a[i] < 0 || a[i] >10000){\n\t\t\t\ti--;\n\t\t\t}\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",
"if(a[i] < 0 || a[i] >10000){\n\t\t\t\ti--;\n\t\t\t}",
"a[i] < 0 || a[i] >10000",
"a[i] < 0",
"a[i]",
"a",
"i",
"0",
"a[i] >10000",
"a[i]",
"a",
"i",
"10000",
"{\n\t\t\t\ti--;\n\t\t\t}",
"i--",
"i",
"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) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tInteger[] a =new Integer[10]; //?????????????????????\n\n\t\tfor(int i = 0; i < a.length; i++){\n\t\t\ta[i] = Integer.parseInt(br.readLine());\n\t\t\tif(a[i] < 0 || a[i] >10000){\n\t\t\t\ti--;\n\t\t\t}\n\t\t}\n\n\t\tArrays.sort(a,Collections.reverseOrder());\n\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\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\n\t\tInteger[] a =new Integer[10]; //?????????????????????\n\n\t\tfor(int i = 0; i < a.length; i++){\n\t\t\ta[i] = Integer.parseInt(br.readLine());\n\t\t\tif(a[i] < 0 || a[i] >10000){\n\t\t\t\ti--;\n\t\t\t}\n\t\t}\n\n\t\tArrays.sort(a,Collections.reverseOrder());\n\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Collections;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
Integer[] a =new Integer[10]; //?????????????????????
for(int i = 0; i < a.length; i++){
a[i] = Integer.parseInt(br.readLine());
if(a[i] < 0 || a[i] >10000){
i--;
}
}
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,
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
],
[
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
],
[
36,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
6,
63
],
[
63,
64
]
] | [
"import java.util.*;\n class Main {\n\tpublic static void main(String[] args){\n\t\tint a[]=new int[10];\n\t\tScanner x=new Scanner(System.in);\n\t\tfor(int i=0;i<10;i++){\n\t\t\ta[i]=x.nextInt();\n\t\t}\n\t\tArrays.sort(a);\n\t\tx.close();\n\t\tfor(int j=9;j>=7;j--)\n\t\t\tSystem.out.println(a[j]);\n\t}\n\t\n\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\tpublic static void main(String[] args){\n\t\tint a[]=new int[10];\n\t\tScanner x=new Scanner(System.in);\n\t\tfor(int i=0;i<10;i++){\n\t\t\ta[i]=x.nextInt();\n\t\t}\n\t\tArrays.sort(a);\n\t\tx.close();\n\t\tfor(int j=9;j>=7;j--)\n\t\t\tSystem.out.println(a[j]);\n\t}\n\t\n\n}",
"Main",
"public static void main(String[] args){\n\t\tint a[]=new int[10];\n\t\tScanner x=new Scanner(System.in);\n\t\tfor(int i=0;i<10;i++){\n\t\t\ta[i]=x.nextInt();\n\t\t}\n\t\tArrays.sort(a);\n\t\tx.close();\n\t\tfor(int j=9;j>=7;j--)\n\t\t\tSystem.out.println(a[j]);\n\t}",
"main",
"{\n\t\tint a[]=new int[10];\n\t\tScanner x=new Scanner(System.in);\n\t\tfor(int i=0;i<10;i++){\n\t\t\ta[i]=x.nextInt();\n\t\t}\n\t\tArrays.sort(a);\n\t\tx.close();\n\t\tfor(int j=9;j>=7;j--)\n\t\t\tSystem.out.println(a[j]);\n\t}",
"int a[]=new int[10];",
"a",
"new int[10]",
"10",
"Scanner x=new Scanner(System.in);",
"x",
"new Scanner(System.in)",
"for(int i=0;i<10;i++){\n\t\t\ta[i]=x.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\ta[i]=x.nextInt();\n\t\t}",
"{\n\t\t\ta[i]=x.nextInt();\n\t\t}",
"a[i]=x.nextInt()",
"a[i]",
"a",
"i",
"x.nextInt()",
"x.nextInt",
"x",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"x.close()",
"x.close",
"x",
"for(int j=9;j>=7;j--)\n\t\t\tSystem.out.println(a[j]);",
"int j=9;",
"int j=9;",
"j",
"9",
"j>=7",
"j",
"7",
"j--",
"j--",
"j",
"System.out.println(a[j]);",
"System.out.println(a[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[j]",
"a",
"j",
"String[] args",
"args"
] | import java.util.*;
class Main {
public static void main(String[] args){
int a[]=new int[10];
Scanner x=new Scanner(System.in);
for(int i=0;i<10;i++){
a[i]=x.nextInt();
}
Arrays.sort(a);
x.close();
for(int j=9;j>=7;j--)
System.out.println(a[j]);
}
} |
[
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,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
13,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
41,
13,
18,
13,
2,
2,
13,
2,
13,
17,
17,
41,
13,
13,
41,
13,
2,
2,
13,
13,
17,
42,
2,
13,
13,
30,
42,
2,
18,
13,
13,
13,
40,
13,
42,
2,
18,
13,
13,
13,
40,
13,
14,
2,
13,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
40,
13,
40,
13,
4,
13,
13,
13,
2,
2,
13,
13,
17,
4,
13,
13,
13,
2,
2,
13,
13,
13,
23,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
166,
5
],
[
166,
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
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
38,
40
],
[
38,
41
],
[
38,
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
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
6,
63
],
[
63,
64
],
[
166,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
67,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
77,
83
],
[
67,
84
],
[
84,
85
],
[
84,
86
],
[
67,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
67,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
99,
105
],
[
105,
106
],
[
98,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
107,
113
],
[
113,
114
],
[
98,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
122,
124
],
[
119,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
129,
131
],
[
119,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
132,
136
],
[
119,
137
],
[
137,
138
],
[
119,
139
],
[
139,
140
],
[
67,
141
],
[
141,
142
],
[
141,
143
],
[
141,
144
],
[
141,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
145,
149
],
[
67,
150
],
[
150,
151
],
[
150,
152
],
[
150,
153
],
[
150,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
158
],
[
65,
159
],
[
159,
160
],
[
65,
161
],
[
161,
162
],
[
65,
163
],
[
163,
164
],
[
0,
165
],
[
165,
166
],
[
165,
167
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] list = new int[10];\n\t\tfor(int i = 0; i < 10; ++i)\n\t\t\tlist[i] = Integer.parseInt(sc.nextLine());\n\t\tQuickSort(list, 0, 10);\n\t\tfor(int i = 9; i > 6; --i)\n\t\t\tSystem.out.println(list[i]);\n\t}\n\t\n\tpublic static void QuickSort(int[] array, int first, int n)\n\t{\n\t\tif(n<=1)\n\t\t\treturn;\t\t\n\t\tint Pivot = array[first + n/2 - 1];\n\t\tint Left = first;\n\t\tint Right = first + n - 1;\n\t\twhile(Left <= Right)\n\t\t{\n\t\t\twhile(array[Left] < Pivot)\n\t\t\t\tLeft++;\n\t\t\t\n\t\t\twhile(array[Right] > Pivot)\n\t\t\t\tRight--;\n\t\t\tif(Left <= Right)\n\t\t\t{\n\t\t\t\tint tmp = array[Left];\n\t\t\t\tarray[Left] = array[Right];\n\t\t\t\tarray[Right] = tmp;\n\t\t\t\tLeft++;\n\t\t \tRight--;\n\t\t\t}\n\t\t}\n\t\tQuickSort(array, first, Right - first + 1);\n\t\tQuickSort(array, Left, first + n - Left );\n\t}\n\n} ",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] list = new int[10];\n\t\tfor(int i = 0; i < 10; ++i)\n\t\t\tlist[i] = Integer.parseInt(sc.nextLine());\n\t\tQuickSort(list, 0, 10);\n\t\tfor(int i = 9; i > 6; --i)\n\t\t\tSystem.out.println(list[i]);\n\t}\n\t\n\tpublic static void QuickSort(int[] array, int first, int n)\n\t{\n\t\tif(n<=1)\n\t\t\treturn;\t\t\n\t\tint Pivot = array[first + n/2 - 1];\n\t\tint Left = first;\n\t\tint Right = first + n - 1;\n\t\twhile(Left <= Right)\n\t\t{\n\t\t\twhile(array[Left] < Pivot)\n\t\t\t\tLeft++;\n\t\t\t\n\t\t\twhile(array[Right] > Pivot)\n\t\t\t\tRight--;\n\t\t\tif(Left <= Right)\n\t\t\t{\n\t\t\t\tint tmp = array[Left];\n\t\t\t\tarray[Left] = array[Right];\n\t\t\t\tarray[Right] = tmp;\n\t\t\t\tLeft++;\n\t\t \tRight--;\n\t\t\t}\n\t\t}\n\t\tQuickSort(array, first, Right - first + 1);\n\t\tQuickSort(array, Left, first + n - Left );\n\t}\n\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] list = new int[10];\n\t\tfor(int i = 0; i < 10; ++i)\n\t\t\tlist[i] = Integer.parseInt(sc.nextLine());\n\t\tQuickSort(list, 0, 10);\n\t\tfor(int i = 9; i > 6; --i)\n\t\t\tSystem.out.println(list[i]);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] list = new int[10];\n\t\tfor(int i = 0; i < 10; ++i)\n\t\t\tlist[i] = Integer.parseInt(sc.nextLine());\n\t\tQuickSort(list, 0, 10);\n\t\tfor(int i = 9; i > 6; --i)\n\t\t\tSystem.out.println(list[i]);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] list = new int[10];",
"list",
"new int[10]",
"10",
"for(int i = 0; i < 10; ++i)\n\t\t\tlist[i] = Integer.parseInt(sc.nextLine());",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"++i",
"++i",
"i",
"list[i] = Integer.parseInt(sc.nextLine());",
"list[i] = Integer.parseInt(sc.nextLine())",
"list[i]",
"list",
"i",
"Integer.parseInt(sc.nextLine())",
"Integer.parseInt",
"Integer",
"sc.nextLine()",
"sc.nextLine",
"sc",
"QuickSort(list, 0, 10)",
"QuickSort",
"list",
"0",
"10",
"for(int i = 9; i > 6; --i)\n\t\t\tSystem.out.println(list[i]);",
"int i = 9;",
"int i = 9;",
"i",
"9",
"i > 6",
"i",
"6",
"--i",
"--i",
"i",
"System.out.println(list[i]);",
"System.out.println(list[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"list[i]",
"list",
"i",
"String[] args",
"args",
"public static void QuickSort(int[] array, int first, int n)\n\t{\n\t\tif(n<=1)\n\t\t\treturn;\t\t\n\t\tint Pivot = array[first + n/2 - 1];\n\t\tint Left = first;\n\t\tint Right = first + n - 1;\n\t\twhile(Left <= Right)\n\t\t{\n\t\t\twhile(array[Left] < Pivot)\n\t\t\t\tLeft++;\n\t\t\t\n\t\t\twhile(array[Right] > Pivot)\n\t\t\t\tRight--;\n\t\t\tif(Left <= Right)\n\t\t\t{\n\t\t\t\tint tmp = array[Left];\n\t\t\t\tarray[Left] = array[Right];\n\t\t\t\tarray[Right] = tmp;\n\t\t\t\tLeft++;\n\t\t \tRight--;\n\t\t\t}\n\t\t}\n\t\tQuickSort(array, first, Right - first + 1);\n\t\tQuickSort(array, Left, first + n - Left );\n\t}",
"QuickSort",
"{\n\t\tif(n<=1)\n\t\t\treturn;\t\t\n\t\tint Pivot = array[first + n/2 - 1];\n\t\tint Left = first;\n\t\tint Right = first + n - 1;\n\t\twhile(Left <= Right)\n\t\t{\n\t\t\twhile(array[Left] < Pivot)\n\t\t\t\tLeft++;\n\t\t\t\n\t\t\twhile(array[Right] > Pivot)\n\t\t\t\tRight--;\n\t\t\tif(Left <= Right)\n\t\t\t{\n\t\t\t\tint tmp = array[Left];\n\t\t\t\tarray[Left] = array[Right];\n\t\t\t\tarray[Right] = tmp;\n\t\t\t\tLeft++;\n\t\t \tRight--;\n\t\t\t}\n\t\t}\n\t\tQuickSort(array, first, Right - first + 1);\n\t\tQuickSort(array, Left, first + n - Left );\n\t}",
"if(n<=1)\n\t\t\treturn;",
"n<=1",
"n",
"1",
"return;",
"int Pivot = array[first + n/2 - 1];",
"Pivot",
"array[first + n/2 - 1]",
"array",
"first + n/2 - 1",
"first + n/2",
"first",
"n/2",
"n",
"2",
"1",
"int Left = first;",
"Left",
"first",
"int Right = first + n - 1;",
"Right",
"first + n - 1",
"first + n",
"first",
"n",
"1",
"while(Left <= Right)\n\t\t{\n\t\t\twhile(array[Left] < Pivot)\n\t\t\t\tLeft++;\n\t\t\t\n\t\t\twhile(array[Right] > Pivot)\n\t\t\t\tRight--;\n\t\t\tif(Left <= Right)\n\t\t\t{\n\t\t\t\tint tmp = array[Left];\n\t\t\t\tarray[Left] = array[Right];\n\t\t\t\tarray[Right] = tmp;\n\t\t\t\tLeft++;\n\t\t \tRight--;\n\t\t\t}\n\t\t}",
"Left <= Right",
"Left",
"Right",
"{\n\t\t\twhile(array[Left] < Pivot)\n\t\t\t\tLeft++;\n\t\t\t\n\t\t\twhile(array[Right] > Pivot)\n\t\t\t\tRight--;\n\t\t\tif(Left <= Right)\n\t\t\t{\n\t\t\t\tint tmp = array[Left];\n\t\t\t\tarray[Left] = array[Right];\n\t\t\t\tarray[Right] = tmp;\n\t\t\t\tLeft++;\n\t\t \tRight--;\n\t\t\t}\n\t\t}",
"while(array[Left] < Pivot)\n\t\t\t\tLeft++;",
"array[Left] < Pivot",
"array[Left]",
"array",
"Left",
"Pivot",
"Left++",
"Left",
"while(array[Right] > Pivot)\n\t\t\t\tRight--;",
"array[Right] > Pivot",
"array[Right]",
"array",
"Right",
"Pivot",
"Right--",
"Right",
"if(Left <= Right)\n\t\t\t{\n\t\t\t\tint tmp = array[Left];\n\t\t\t\tarray[Left] = array[Right];\n\t\t\t\tarray[Right] = tmp;\n\t\t\t\tLeft++;\n\t\t \tRight--;\n\t\t\t}",
"Left <= Right",
"Left",
"Right",
"{\n\t\t\t\tint tmp = array[Left];\n\t\t\t\tarray[Left] = array[Right];\n\t\t\t\tarray[Right] = tmp;\n\t\t\t\tLeft++;\n\t\t \tRight--;\n\t\t\t}",
"int tmp = array[Left];",
"tmp",
"array[Left]",
"array",
"Left",
"array[Left] = array[Right]",
"array[Left]",
"array",
"Left",
"array[Right]",
"array",
"Right",
"array[Right] = tmp",
"array[Right]",
"array",
"Right",
"tmp",
"Left++",
"Left",
"Right--",
"Right",
"QuickSort(array, first, Right - first + 1)",
"QuickSort",
"array",
"first",
"Right - first + 1",
"Right - first",
"Right",
"first",
"1",
"QuickSort(array, Left, first + n - Left )",
"QuickSort",
"array",
"Left",
"first + n - Left",
"first + n",
"first",
"n",
"Left",
"int[] array",
"array",
"int first",
"first",
"int n",
"n",
"public class Main {\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] list = new int[10];\n\t\tfor(int i = 0; i < 10; ++i)\n\t\t\tlist[i] = Integer.parseInt(sc.nextLine());\n\t\tQuickSort(list, 0, 10);\n\t\tfor(int i = 9; i > 6; --i)\n\t\t\tSystem.out.println(list[i]);\n\t}\n\t\n\tpublic static void QuickSort(int[] array, int first, int n)\n\t{\n\t\tif(n<=1)\n\t\t\treturn;\t\t\n\t\tint Pivot = array[first + n/2 - 1];\n\t\tint Left = first;\n\t\tint Right = first + n - 1;\n\t\twhile(Left <= Right)\n\t\t{\n\t\t\twhile(array[Left] < Pivot)\n\t\t\t\tLeft++;\n\t\t\t\n\t\t\twhile(array[Right] > Pivot)\n\t\t\t\tRight--;\n\t\t\tif(Left <= Right)\n\t\t\t{\n\t\t\t\tint tmp = array[Left];\n\t\t\t\tarray[Left] = array[Right];\n\t\t\t\tarray[Right] = tmp;\n\t\t\t\tLeft++;\n\t\t \tRight--;\n\t\t\t}\n\t\t}\n\t\tQuickSort(array, first, Right - first + 1);\n\t\tQuickSort(array, Left, first + n - Left );\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] list = new int[10];\n\t\tfor(int i = 0; i < 10; ++i)\n\t\t\tlist[i] = Integer.parseInt(sc.nextLine());\n\t\tQuickSort(list, 0, 10);\n\t\tfor(int i = 9; i > 6; --i)\n\t\t\tSystem.out.println(list[i]);\n\t}\n\t\n\tpublic static void QuickSort(int[] array, int first, int n)\n\t{\n\t\tif(n<=1)\n\t\t\treturn;\t\t\n\t\tint Pivot = array[first + n/2 - 1];\n\t\tint Left = first;\n\t\tint Right = first + n - 1;\n\t\twhile(Left <= Right)\n\t\t{\n\t\t\twhile(array[Left] < Pivot)\n\t\t\t\tLeft++;\n\t\t\t\n\t\t\twhile(array[Right] > Pivot)\n\t\t\t\tRight--;\n\t\t\tif(Left <= Right)\n\t\t\t{\n\t\t\t\tint tmp = array[Left];\n\t\t\t\tarray[Left] = array[Right];\n\t\t\t\tarray[Right] = tmp;\n\t\t\t\tLeft++;\n\t\t \tRight--;\n\t\t\t}\n\t\t}\n\t\tQuickSort(array, first, Right - first + 1);\n\t\tQuickSort(array, Left, first + n - Left );\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[] list = new int[10];
for(int i = 0; i < 10; ++i)
list[i] = Integer.parseInt(sc.nextLine());
QuickSort(list, 0, 10);
for(int i = 9; i > 6; --i)
System.out.println(list[i]);
}
public static void QuickSort(int[] array, int first, int n)
{
if(n<=1)
return;
int Pivot = array[first + n/2 - 1];
int Left = first;
int Right = first + n - 1;
while(Left <= Right)
{
while(array[Left] < Pivot)
Left++;
while(array[Right] > Pivot)
Right--;
if(Left <= Right)
{
int tmp = array[Left];
array[Left] = array[Right];
array[Right] = tmp;
Left++;
Right--;
}
}
QuickSort(array, first, Right - first + 1);
QuickSort(array, Left, first + n - Left );
}
} |
[
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,
2,
18,
13,
13,
17,
2,
13,
2,
18,
13,
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
],
[
75,
8
],
[
75,
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
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
43,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
43,
59
],
[
59,
60
],
[
60,
61
],
[
43,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
9,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"\nimport java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint[] data = new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tdata[i] = stdIn.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(data);\n\t\t\n\t\tfor(int i=data.length-1;i>=data.length-3;i--){\n\t\t\tSystem.out.println(data[i]);\n\t\t}\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[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint[] data = new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tdata[i] = stdIn.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(data);\n\t\t\n\t\tfor(int i=data.length-1;i>=data.length-3;i--){\n\t\t\tSystem.out.println(data[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint[] data = new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tdata[i] = stdIn.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(data);\n\t\t\n\t\tfor(int i=data.length-1;i>=data.length-3;i--){\n\t\t\tSystem.out.println(data[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint[] data = new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tdata[i] = stdIn.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(data);\n\t\t\n\t\tfor(int i=data.length-1;i>=data.length-3;i--){\n\t\t\tSystem.out.println(data[i]);\n\t\t}\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int[] data = new int[10];",
"data",
"new int[10]",
"10",
"for(int i=0;i<10;i++){\n\t\t\tdata[i] = stdIn.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tdata[i] = stdIn.nextInt();\n\t\t}",
"{\n\t\t\tdata[i] = stdIn.nextInt();\n\t\t}",
"data[i] = stdIn.nextInt()",
"data[i]",
"data",
"i",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"Arrays.sort(data)",
"Arrays.sort",
"Arrays",
"data",
"for(int i=data.length-1;i>=data.length-3;i--){\n\t\t\tSystem.out.println(data[i]);\n\t\t}",
"int i=data.length-1;",
"int i=data.length-1;",
"i",
"data.length-1",
"data.length",
"data",
"data.length",
"1",
"i>=data.length-3",
"i",
"data.length-3",
"data.length",
"data",
"data.length",
"3",
"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",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint[] data = new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tdata[i] = stdIn.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(data);\n\t\t\n\t\tfor(int i=data.length-1;i>=data.length-3;i--){\n\t\t\tSystem.out.println(data[i]);\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint[] data = new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tdata[i] = stdIn.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(data);\n\t\t\n\t\tfor(int i=data.length-1;i>=data.length-3;i--){\n\t\t\tSystem.out.println(data[i]);\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Arrays;
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner stdIn = new Scanner(System.in);
int[] data = new int[10];
for(int i=0;i<10;i++){
data[i] = stdIn.nextInt();
}
Arrays.sort(data);
for(int i=data.length-1;i>=data.length-3;i--){
System.out.println(data[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,
0,
18,
13,
13,
4,
18,
13,
41,
13,
18,
13,
17,
41,
13,
18,
13,
17,
41,
13,
18,
13,
17,
14,
2,
13,
13,
30,
0,
13,
18,
13,
17,
0,
13,
18,
13,
17,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
18,
13,
17,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
18,
13,
17,
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,
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
],
[
170,
5
],
[
170,
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
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
8,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
55,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
8,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
70,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
66,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
8,
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
],
[
109,
111
],
[
111,
112
],
[
111,
113
],
[
108,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
118,
120
],
[
114,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
123,
125
],
[
108,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
129,
131
],
[
126,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
132,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
138,
140
],
[
126,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
144,
146
],
[
141,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
150,
152
],
[
8,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
153,
158
],
[
161,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
160,
164
],
[
159,
165
],
[
161,
166
],
[
6,
167
],
[
167,
168
],
[
0,
169
],
[
169,
170
],
[
169,
171
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint M[] = new int[10];\n\t\tfor(int a = 0;a<10;a++){\n\t\t\tM[a] = scan.nextInt();\n\t\t}\n\t\tint No1 = M[0];\n\t\tint No2 = M[1];\n\t\tint No3 = M[2];\n\t\tif(No1 < No2){\n\t\t\tNo1 = M[1];\n\t\t\tNo2 = M[0];\n\t\t}\n\t\tif(No1 < No3){\n\t\t\tNo3 = No2;\n\t\t\tNo2 = No1;\n\t\t\tNo1 = M[2];\n\t\t}else if(No2 < No3){\n\t\t\tNo3 = No2;\n\t\t\tNo2 = M[2];\n\t\t}\n\t\tfor(int b = 3;b<10;b++){\n\t\t\tif(No1 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = No1;\n\t\t\t\tNo1 = M[b];\n\t\t\t}else if(No2 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = M[b];\n\t\t\t}else if(No3 < M[b]){\n\t\t\t\tNo3 = M[b];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(No1 + \"\\n\" + No2 + \"\\n\" + No3);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint M[] = new int[10];\n\t\tfor(int a = 0;a<10;a++){\n\t\t\tM[a] = scan.nextInt();\n\t\t}\n\t\tint No1 = M[0];\n\t\tint No2 = M[1];\n\t\tint No3 = M[2];\n\t\tif(No1 < No2){\n\t\t\tNo1 = M[1];\n\t\t\tNo2 = M[0];\n\t\t}\n\t\tif(No1 < No3){\n\t\t\tNo3 = No2;\n\t\t\tNo2 = No1;\n\t\t\tNo1 = M[2];\n\t\t}else if(No2 < No3){\n\t\t\tNo3 = No2;\n\t\t\tNo2 = M[2];\n\t\t}\n\t\tfor(int b = 3;b<10;b++){\n\t\t\tif(No1 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = No1;\n\t\t\t\tNo1 = M[b];\n\t\t\t}else if(No2 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = M[b];\n\t\t\t}else if(No3 < M[b]){\n\t\t\t\tNo3 = M[b];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(No1 + \"\\n\" + No2 + \"\\n\" + No3);\n\t}\n}",
"Main",
"public static void main(String[] args) throws java.io.IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint M[] = new int[10];\n\t\tfor(int a = 0;a<10;a++){\n\t\t\tM[a] = scan.nextInt();\n\t\t}\n\t\tint No1 = M[0];\n\t\tint No2 = M[1];\n\t\tint No3 = M[2];\n\t\tif(No1 < No2){\n\t\t\tNo1 = M[1];\n\t\t\tNo2 = M[0];\n\t\t}\n\t\tif(No1 < No3){\n\t\t\tNo3 = No2;\n\t\t\tNo2 = No1;\n\t\t\tNo1 = M[2];\n\t\t}else if(No2 < No3){\n\t\t\tNo3 = No2;\n\t\t\tNo2 = M[2];\n\t\t}\n\t\tfor(int b = 3;b<10;b++){\n\t\t\tif(No1 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = No1;\n\t\t\t\tNo1 = M[b];\n\t\t\t}else if(No2 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = M[b];\n\t\t\t}else if(No3 < M[b]){\n\t\t\t\tNo3 = M[b];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(No1 + \"\\n\" + No2 + \"\\n\" + No3);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint M[] = new int[10];\n\t\tfor(int a = 0;a<10;a++){\n\t\t\tM[a] = scan.nextInt();\n\t\t}\n\t\tint No1 = M[0];\n\t\tint No2 = M[1];\n\t\tint No3 = M[2];\n\t\tif(No1 < No2){\n\t\t\tNo1 = M[1];\n\t\t\tNo2 = M[0];\n\t\t}\n\t\tif(No1 < No3){\n\t\t\tNo3 = No2;\n\t\t\tNo2 = No1;\n\t\t\tNo1 = M[2];\n\t\t}else if(No2 < No3){\n\t\t\tNo3 = No2;\n\t\t\tNo2 = M[2];\n\t\t}\n\t\tfor(int b = 3;b<10;b++){\n\t\t\tif(No1 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = No1;\n\t\t\t\tNo1 = M[b];\n\t\t\t}else if(No2 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = M[b];\n\t\t\t}else if(No3 < M[b]){\n\t\t\t\tNo3 = M[b];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(No1 + \"\\n\" + No2 + \"\\n\" + No3);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int M[] = new int[10];",
"M",
"new int[10]",
"10",
"for(int a = 0;a<10;a++){\n\t\t\tM[a] = scan.nextInt();\n\t\t}",
"int a = 0;",
"int a = 0;",
"a",
"0",
"a<10",
"a",
"10",
"a++",
"a++",
"a",
"{\n\t\t\tM[a] = scan.nextInt();\n\t\t}",
"{\n\t\t\tM[a] = scan.nextInt();\n\t\t}",
"M[a] = scan.nextInt()",
"M[a]",
"M",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int No1 = M[0];",
"No1",
"M[0]",
"M",
"0",
"int No2 = M[1];",
"No2",
"M[1]",
"M",
"1",
"int No3 = M[2];",
"No3",
"M[2]",
"M",
"2",
"if(No1 < No2){\n\t\t\tNo1 = M[1];\n\t\t\tNo2 = M[0];\n\t\t}",
"No1 < No2",
"No1",
"No2",
"{\n\t\t\tNo1 = M[1];\n\t\t\tNo2 = M[0];\n\t\t}",
"No1 = M[1]",
"No1",
"M[1]",
"M",
"1",
"No2 = M[0]",
"No2",
"M[0]",
"M",
"0",
"if(No1 < No3){\n\t\t\tNo3 = No2;\n\t\t\tNo2 = No1;\n\t\t\tNo1 = M[2];\n\t\t}else if(No2 < No3){\n\t\t\tNo3 = No2;\n\t\t\tNo2 = M[2];\n\t\t}",
"No1 < No3",
"No1",
"No3",
"{\n\t\t\tNo3 = No2;\n\t\t\tNo2 = No1;\n\t\t\tNo1 = M[2];\n\t\t}",
"No3 = No2",
"No3",
"No2",
"No2 = No1",
"No2",
"No1",
"No1 = M[2]",
"No1",
"M[2]",
"M",
"2",
"if(No2 < No3){\n\t\t\tNo3 = No2;\n\t\t\tNo2 = M[2];\n\t\t}",
"No2 < No3",
"No2",
"No3",
"{\n\t\t\tNo3 = No2;\n\t\t\tNo2 = M[2];\n\t\t}",
"No3 = No2",
"No3",
"No2",
"No2 = M[2]",
"No2",
"M[2]",
"M",
"2",
"for(int b = 3;b<10;b++){\n\t\t\tif(No1 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = No1;\n\t\t\t\tNo1 = M[b];\n\t\t\t}else if(No2 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = M[b];\n\t\t\t}else if(No3 < M[b]){\n\t\t\t\tNo3 = M[b];\n\t\t\t}\n\t\t}",
"int b = 3;",
"int b = 3;",
"b",
"3",
"b<10",
"b",
"10",
"b++",
"b++",
"b",
"{\n\t\t\tif(No1 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = No1;\n\t\t\t\tNo1 = M[b];\n\t\t\t}else if(No2 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = M[b];\n\t\t\t}else if(No3 < M[b]){\n\t\t\t\tNo3 = M[b];\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(No1 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = No1;\n\t\t\t\tNo1 = M[b];\n\t\t\t}else if(No2 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = M[b];\n\t\t\t}else if(No3 < M[b]){\n\t\t\t\tNo3 = M[b];\n\t\t\t}\n\t\t}",
"if(No1 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = No1;\n\t\t\t\tNo1 = M[b];\n\t\t\t}else if(No2 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = M[b];\n\t\t\t}else if(No3 < M[b]){\n\t\t\t\tNo3 = M[b];\n\t\t\t}",
"No1 < M[b]",
"No1",
"M[b]",
"M",
"b",
"{\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = No1;\n\t\t\t\tNo1 = M[b];\n\t\t\t}",
"No3 = No2",
"No3",
"No2",
"No2 = No1",
"No2",
"No1",
"No1 = M[b]",
"No1",
"M[b]",
"M",
"b",
"if(No2 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = M[b];\n\t\t\t}else if(No3 < M[b]){\n\t\t\t\tNo3 = M[b];\n\t\t\t}",
"No2 < M[b]",
"No2",
"M[b]",
"M",
"b",
"{\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = M[b];\n\t\t\t}",
"No3 = No2",
"No3",
"No2",
"No2 = M[b]",
"No2",
"M[b]",
"M",
"b",
"if(No3 < M[b]){\n\t\t\t\tNo3 = M[b];\n\t\t\t}",
"No3 < M[b]",
"No3",
"M[b]",
"M",
"b",
"{\n\t\t\t\tNo3 = M[b];\n\t\t\t}",
"No3 = M[b]",
"No3",
"M[b]",
"M",
"b",
"System.out.println(No1 + \"\\n\" + No2 + \"\\n\" + No3)",
"System.out.println",
"System.out",
"System",
"System.out",
"No1 + \"\\n\" + No2 + \"\\n\" + No3",
"\"\\n\"",
"No2",
"No1 + \"\\n\" + No2 + \"\\n\" + No3",
"No1",
"\"\\n\"",
"No2",
"\"\\n\"",
"No3",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint M[] = new int[10];\n\t\tfor(int a = 0;a<10;a++){\n\t\t\tM[a] = scan.nextInt();\n\t\t}\n\t\tint No1 = M[0];\n\t\tint No2 = M[1];\n\t\tint No3 = M[2];\n\t\tif(No1 < No2){\n\t\t\tNo1 = M[1];\n\t\t\tNo2 = M[0];\n\t\t}\n\t\tif(No1 < No3){\n\t\t\tNo3 = No2;\n\t\t\tNo2 = No1;\n\t\t\tNo1 = M[2];\n\t\t}else if(No2 < No3){\n\t\t\tNo3 = No2;\n\t\t\tNo2 = M[2];\n\t\t}\n\t\tfor(int b = 3;b<10;b++){\n\t\t\tif(No1 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = No1;\n\t\t\t\tNo1 = M[b];\n\t\t\t}else if(No2 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = M[b];\n\t\t\t}else if(No3 < M[b]){\n\t\t\t\tNo3 = M[b];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(No1 + \"\\n\" + No2 + \"\\n\" + No3);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint M[] = new int[10];\n\t\tfor(int a = 0;a<10;a++){\n\t\t\tM[a] = scan.nextInt();\n\t\t}\n\t\tint No1 = M[0];\n\t\tint No2 = M[1];\n\t\tint No3 = M[2];\n\t\tif(No1 < No2){\n\t\t\tNo1 = M[1];\n\t\t\tNo2 = M[0];\n\t\t}\n\t\tif(No1 < No3){\n\t\t\tNo3 = No2;\n\t\t\tNo2 = No1;\n\t\t\tNo1 = M[2];\n\t\t}else if(No2 < No3){\n\t\t\tNo3 = No2;\n\t\t\tNo2 = M[2];\n\t\t}\n\t\tfor(int b = 3;b<10;b++){\n\t\t\tif(No1 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = No1;\n\t\t\t\tNo1 = M[b];\n\t\t\t}else if(No2 < M[b]){\n\t\t\t\tNo3 = No2;\n\t\t\t\tNo2 = M[b];\n\t\t\t}else if(No3 < M[b]){\n\t\t\t\tNo3 = M[b];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(No1 + \"\\n\" + No2 + \"\\n\" + No3);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) throws java.io.IOException {
Scanner scan = new Scanner(System.in);
int M[] = new int[10];
for(int a = 0;a<10;a++){
M[a] = scan.nextInt();
}
int No1 = M[0];
int No2 = M[1];
int No3 = M[2];
if(No1 < No2){
No1 = M[1];
No2 = M[0];
}
if(No1 < No3){
No3 = No2;
No2 = No1;
No1 = M[2];
}else if(No2 < No3){
No3 = No2;
No2 = M[2];
}
for(int b = 3;b<10;b++){
if(No1 < M[b]){
No3 = No2;
No2 = No1;
No1 = M[b];
}else if(No2 < M[b]){
No3 = No2;
No2 = M[b];
}else if(No3 < M[b]){
No3 = M[b];
}
}
System.out.println(No1 + "\n" + No2 + "\n" + No3);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
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
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
26,
34
],
[
34,
35
],
[
34,
36
],
[
26,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
45,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
39,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
26,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
26,
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
],
[
24,
84
],
[
84,
85
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.lang.Exception;\nimport java.lang.Integer;\nimport java.lang.String;\nimport java.lang.System;\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 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 }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.lang.Exception;",
"Exception",
"java.lang",
"import java.lang.Integer;",
"Integer",
"java.lang",
"import java.lang.String;",
"String",
"java.lang",
"import java.lang.System;",
"System",
"java.lang",
"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 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 }\n}",
"Main",
"public static void main(String[] a) throws Exception {\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 }",
"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 }",
"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[] a",
"a"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.Exception;
import java.lang.Integer;
import java.lang.String;
import java.lang.System;
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];
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,
6,
13,
12,
13,
30,
29,
13,
23,
13,
23,
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,
17,
4,
18,
13,
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,
18,
13,
2,
13,
17,
4,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
6,
11
],
[
11,
12
],
[
6,
13
],
[
13,
14
],
[
4,
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
],
[
37,
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
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
58,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
69,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
17,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
94,
95
],
[
94,
96
],
[
89,
97
],
[
97,
98
],
[
98,
99
],
[
89,
100
],
[
101,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
107,
108
],
[
107,
109
],
[
17,
110
],
[
110,
111
],
[
111,
112
],
[
15,
113
],
[
113,
114
]
] | [
"import java.util.*;\n\nclass Main\n{\n public static int swap(int a, int b)\n {\n return a;\n }\n public static void main(String[] args)\n {\n Scanner input = new Scanner(System.in);\n int a[] = new int[4];\n for (int t = 0; t < 10; t++)\n {\n a[3] = input.nextInt();\n for (int i = 2; i >= 0; i--)\n {\n if (a[i] < a[i+1])\n {\n a[i+1] = swap(a[i], a[i]=a[i+1]);\n }\n }\n }\n for (int i = 0; i < 3; i++)\n {\n System.out.println(a[i]);\n }\n input.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main\n{\n public static int swap(int a, int b)\n {\n return a;\n }\n public static void main(String[] args)\n {\n Scanner input = new Scanner(System.in);\n int a[] = new int[4];\n for (int t = 0; t < 10; t++)\n {\n a[3] = input.nextInt();\n for (int i = 2; i >= 0; i--)\n {\n if (a[i] < a[i+1])\n {\n a[i+1] = swap(a[i], a[i]=a[i+1]);\n }\n }\n }\n for (int i = 0; i < 3; i++)\n {\n System.out.println(a[i]);\n }\n input.close();\n }\n}",
"Main",
"public static int swap(int a, int b)\n {\n return a;\n }",
"swap",
"{\n return a;\n }",
"return a;",
"a",
"int a",
"a",
"int b",
"b",
"public static void main(String[] args)\n {\n Scanner input = new Scanner(System.in);\n int a[] = new int[4];\n for (int t = 0; t < 10; t++)\n {\n a[3] = input.nextInt();\n for (int i = 2; i >= 0; i--)\n {\n if (a[i] < a[i+1])\n {\n a[i+1] = swap(a[i], a[i]=a[i+1]);\n }\n }\n }\n for (int i = 0; i < 3; i++)\n {\n System.out.println(a[i]);\n }\n input.close();\n }",
"main",
"{\n Scanner input = new Scanner(System.in);\n int a[] = new int[4];\n for (int t = 0; t < 10; t++)\n {\n a[3] = input.nextInt();\n for (int i = 2; i >= 0; i--)\n {\n if (a[i] < a[i+1])\n {\n a[i+1] = swap(a[i], a[i]=a[i+1]);\n }\n }\n }\n for (int i = 0; i < 3; i++)\n {\n System.out.println(a[i]);\n }\n input.close();\n }",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"int a[] = new int[4];",
"a",
"new int[4]",
"4",
"for (int t = 0; t < 10; t++)\n {\n a[3] = input.nextInt();\n for (int i = 2; i >= 0; i--)\n {\n if (a[i] < a[i+1])\n {\n a[i+1] = swap(a[i], a[i]=a[i+1]);\n }\n }\n }",
"int t = 0;",
"int t = 0;",
"t",
"0",
"t < 10",
"t",
"10",
"t++",
"t++",
"t",
"{\n a[3] = input.nextInt();\n for (int i = 2; i >= 0; i--)\n {\n if (a[i] < a[i+1])\n {\n a[i+1] = swap(a[i], a[i]=a[i+1]);\n }\n }\n }",
"{\n a[3] = input.nextInt();\n for (int i = 2; i >= 0; i--)\n {\n if (a[i] < a[i+1])\n {\n a[i+1] = swap(a[i], a[i]=a[i+1]);\n }\n }\n }",
"a[3] = input.nextInt()",
"a[3]",
"a",
"3",
"input.nextInt()",
"input.nextInt",
"input",
"for (int i = 2; i >= 0; i--)\n {\n if (a[i] < a[i+1])\n {\n a[i+1] = swap(a[i], a[i]=a[i+1]);\n }\n }",
"int i = 2;",
"int i = 2;",
"i",
"2",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n if (a[i] < a[i+1])\n {\n a[i+1] = swap(a[i], a[i]=a[i+1]);\n }\n }",
"{\n if (a[i] < a[i+1])\n {\n a[i+1] = swap(a[i], a[i]=a[i+1]);\n }\n }",
"if (a[i] < a[i+1])\n {\n a[i+1] = swap(a[i], a[i]=a[i+1]);\n }",
"a[i] < a[i+1]",
"a[i]",
"a",
"i",
"a[i+1]",
"a",
"i+1",
"i",
"1",
"{\n a[i+1] = swap(a[i], a[i]=a[i+1]);\n }",
"a[i+1] = swap(a[i], a[i]=a[i+1])",
"a[i+1]",
"a",
"i+1",
"i",
"1",
"swap(a[i], a[i]=a[i+1])",
"swap",
"a[i]",
"a",
"i",
"a[i]=a[i+1]",
"a[i]",
"a",
"i",
"a[i+1]",
"a",
"i+1",
"i",
"1",
"for (int i = 0; i < 3; i++)\n {\n System.out.println(a[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"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",
"input.close()",
"input.close",
"input",
"String[] args",
"args"
] | import java.util.*;
class Main
{
public static int swap(int a, int b)
{
return a;
}
public static void main(String[] args)
{
Scanner input = new Scanner(System.in);
int a[] = new int[4];
for (int t = 0; t < 10; t++)
{
a[3] = input.nextInt();
for (int i = 2; i >= 0; i--)
{
if (a[i] < a[i+1])
{
a[i+1] = swap(a[i], a[i]=a[i+1]);
}
}
}
for (int i = 0; i < 3; i++)
{
System.out.println(a[i]);
}
input.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,
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,
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
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
9,
63
],
[
63,
64
]
] | [
"import java.util.*;\nimport java.io.*;\n\nclass Main{\n\tpublic static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n \tint high[]=new int[10];\n for(int i=0; i<10; i++){\n \t high[i]=sc.nextInt();\t\n \t}\n\tArrays.sort(high);\n\tfor(int i=9; i>6; i-- ) System.out.println(high[i]);\n\t}\n\t}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n \tint high[]=new int[10];\n for(int i=0; i<10; i++){\n \t high[i]=sc.nextInt();\t\n \t}\n\tArrays.sort(high);\n\tfor(int i=9; i>6; i-- ) System.out.println(high[i]);\n\t}\n\t}",
"Main",
"public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n \tint high[]=new int[10];\n for(int i=0; i<10; i++){\n \t high[i]=sc.nextInt();\t\n \t}\n\tArrays.sort(high);\n\tfor(int i=9; i>6; i-- ) System.out.println(high[i]);\n\t}",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \tint high[]=new int[10];\n for(int i=0; i<10; i++){\n \t high[i]=sc.nextInt();\t\n \t}\n\tArrays.sort(high);\n\tfor(int i=9; i>6; i-- ) System.out.println(high[i]);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int high[]=new int[10];",
"high",
"new int[10]",
"10",
"for(int i=0; i<10; i++){\n \t high[i]=sc.nextInt();\t\n \t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n \t high[i]=sc.nextInt();\t\n \t}",
"{\n \t high[i]=sc.nextInt();\t\n \t}",
"high[i]=sc.nextInt()",
"high[i]",
"high",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(high)",
"Arrays.sort",
"Arrays",
"high",
"for(int i=9; i>6; i-- ) System.out.println(high[i]);",
"int i=9;",
"int i=9;",
"i",
"9",
"i>6",
"i",
"6",
"i--",
"i--",
"i",
"System.out.println(high[i]);",
"System.out.println(high[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"high[i]",
"high",
"i",
"String[]args",
"args"
] | import java.util.*;
import java.io.*;
class Main{
public static void main(String[]args){
Scanner sc = new Scanner(System.in);
int high[]=new int[10];
for(int i=0; i<10; i++){
high[i]=sc.nextInt();
}
Arrays.sort(high);
for(int i=9; i>6; i-- ) System.out.println(high[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,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
55,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
55,
67
],
[
67,
68
],
[
68,
69
],
[
55,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
51,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
51,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
6,
97
],
[
97,
98
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] a) {\n\t\t// 入力\n\t\tScanner sc = new Scanner(System.in);\n\t\tint result[] = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\n\t\t// 出力\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tint maxIndex = i;\n\t\t\tfor (int j = i + 1; j < result.length; j++) {\n\t\t\t\tif (result[maxIndex] < result[j]) {\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(result[maxIndex]);\n\t\t\tresult[maxIndex] = 0;/*\n\t\t\tif (i < 2) {\n\t\t\t\tSystem.out.println();\n\t\t\t}*/\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\tpublic static void main(String[] a) {\n\t\t// 入力\n\t\tScanner sc = new Scanner(System.in);\n\t\tint result[] = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\n\t\t// 出力\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tint maxIndex = i;\n\t\t\tfor (int j = i + 1; j < result.length; j++) {\n\t\t\t\tif (result[maxIndex] < result[j]) {\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(result[maxIndex]);\n\t\t\tresult[maxIndex] = 0;/*\n\t\t\tif (i < 2) {\n\t\t\t\tSystem.out.println();\n\t\t\t}*/\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] a) {\n\t\t// 入力\n\t\tScanner sc = new Scanner(System.in);\n\t\tint result[] = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\n\t\t// 出力\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tint maxIndex = i;\n\t\t\tfor (int j = i + 1; j < result.length; j++) {\n\t\t\t\tif (result[maxIndex] < result[j]) {\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(result[maxIndex]);\n\t\t\tresult[maxIndex] = 0;/*\n\t\t\tif (i < 2) {\n\t\t\t\tSystem.out.println();\n\t\t\t}*/\n\t\t}\n\t}",
"main",
"{\n\t\t// 入力\n\t\tScanner sc = new Scanner(System.in);\n\t\tint result[] = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\n\t\t// 出力\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tint maxIndex = i;\n\t\t\tfor (int j = i + 1; j < result.length; j++) {\n\t\t\t\tif (result[maxIndex] < result[j]) {\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(result[maxIndex]);\n\t\t\tresult[maxIndex] = 0;/*\n\t\t\tif (i < 2) {\n\t\t\t\tSystem.out.println();\n\t\t\t}*/\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int result[] = new int[10];",
"result",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tresult[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tresult[i] = sc.nextInt();\n\t\t}",
"result[i] = sc.nextInt()",
"result[i]",
"result",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.close()",
"sc.close",
"sc",
"for (int i = 0; i < 3; i++) {\n\t\t\tint maxIndex = i;\n\t\t\tfor (int j = i + 1; j < result.length; j++) {\n\t\t\t\tif (result[maxIndex] < result[j]) {\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(result[maxIndex]);\n\t\t\tresult[maxIndex] = 0;/*\n\t\t\tif (i < 2) {\n\t\t\t\tSystem.out.println();\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\tint maxIndex = i;\n\t\t\tfor (int j = i + 1; j < result.length; j++) {\n\t\t\t\tif (result[maxIndex] < result[j]) {\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(result[maxIndex]);\n\t\t\tresult[maxIndex] = 0;/*\n\t\t\tif (i < 2) {\n\t\t\t\tSystem.out.println();\n\t\t\t}*/\n\t\t}",
"{\n\t\t\tint maxIndex = i;\n\t\t\tfor (int j = i + 1; j < result.length; j++) {\n\t\t\t\tif (result[maxIndex] < result[j]) {\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(result[maxIndex]);\n\t\t\tresult[maxIndex] = 0;/*\n\t\t\tif (i < 2) {\n\t\t\t\tSystem.out.println();\n\t\t\t}*/\n\t\t}",
"int maxIndex = i;",
"maxIndex",
"i",
"for (int j = i + 1; j < result.length; j++) {\n\t\t\t\tif (result[maxIndex] < result[j]) {\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}",
"int j = i + 1;",
"int j = i + 1;",
"j",
"i + 1",
"i",
"1",
"j < result.length",
"j",
"result.length",
"result",
"result.length",
"j++",
"j++",
"j",
"{\n\t\t\t\tif (result[maxIndex] < result[j]) {\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif (result[maxIndex] < result[j]) {\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}",
"if (result[maxIndex] < result[j]) {\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}",
"result[maxIndex] < result[j]",
"result[maxIndex]",
"result",
"maxIndex",
"result[j]",
"result",
"j",
"{\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}",
"maxIndex = j",
"maxIndex",
"j",
"System.out.println(result[maxIndex])",
"System.out.println",
"System.out",
"System",
"System.out",
"result[maxIndex]",
"result",
"maxIndex",
"result[maxIndex] = 0",
"result[maxIndex]",
"result",
"maxIndex",
"0",
"String[] a",
"a"
] | import java.util.Scanner;
class Main {
public static void main(String[] a) {
// 入力
Scanner sc = new Scanner(System.in);
int result[] = new int[10];
for (int i = 0; i < 10; i++) {
result[i] = sc.nextInt();
}
sc.close();
// 出力
for (int i = 0; i < 3; i++) {
int maxIndex = i;
for (int j = i + 1; j < result.length; j++) {
if (result[maxIndex] < result[j]) {
maxIndex = j;
}
}
System.out.println(result[maxIndex]);
result[maxIndex] = 0;/*
if (i < 2) {
System.out.println();
}*/
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
41,
13,
20,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
13,
14,
2,
18,
13,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
18,
13,
13,
9,
14,
2,
18,
13,
13,
13,
30,
0,
13,
13,
0,
13,
18,
13,
13,
9,
14,
2,
18,
13,
13,
13,
30,
0,
13,
18,
13,
13,
9,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
131,
11
],
[
131,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
19
],
[
19,
20
],
[
19,
21
],
[
14,
22
],
[
22,
23
],
[
22,
24
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
14,
31
],
[
31,
32
],
[
14,
33
],
[
33,
34
],
[
33,
35
],
[
14,
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
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
48,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
48,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
62,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
68,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
68,
80
],
[
62,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
81,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
87,
96
],
[
81,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
97,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
106,
108
],
[
103,
109
],
[
14,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
14,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
14,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
122,
127
],
[
12,
128
],
[
128,
129
],
[
0,
130
],
[
130,
131
],
[
130,
132
]
] | [
"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//?????°?¨????\n int[] Mountain = new int[10];\n int i = 0;\n int first = 0, second = 0, third = 0;\n\t\tString line;\n\n\t\t//???????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tfor (i = 0; i < 10; i++) {\n\t\t\t\tline = br.readLine();\n\t\t\t\tMountain[i] = Integer.parseInt(line);\n\t\t\t\t//????????????\n\t\t\t\tif (Mountain[i] > first) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = first;\n\t\t\t\t\tfirst = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > second) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > third) {\n\t\t\t\t\tthird = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n System.out.println(first);\n System.out.println(second);\n System.out.println(third);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//?????°?¨????\n int[] Mountain = new int[10];\n int i = 0;\n int first = 0, second = 0, third = 0;\n\t\tString line;\n\n\t\t//???????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tfor (i = 0; i < 10; i++) {\n\t\t\t\tline = br.readLine();\n\t\t\t\tMountain[i] = Integer.parseInt(line);\n\t\t\t\t//????????????\n\t\t\t\tif (Mountain[i] > first) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = first;\n\t\t\t\t\tfirst = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > second) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > third) {\n\t\t\t\t\tthird = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n System.out.println(first);\n System.out.println(second);\n System.out.println(third);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t//?????°?¨????\n int[] Mountain = new int[10];\n int i = 0;\n int first = 0, second = 0, third = 0;\n\t\tString line;\n\n\t\t//???????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tfor (i = 0; i < 10; i++) {\n\t\t\t\tline = br.readLine();\n\t\t\t\tMountain[i] = Integer.parseInt(line);\n\t\t\t\t//????????????\n\t\t\t\tif (Mountain[i] > first) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = first;\n\t\t\t\t\tfirst = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > second) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > third) {\n\t\t\t\t\tthird = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n System.out.println(first);\n System.out.println(second);\n System.out.println(third);\n\t}",
"main",
"{\n\t\t//?????°?¨????\n int[] Mountain = new int[10];\n int i = 0;\n int first = 0, second = 0, third = 0;\n\t\tString line;\n\n\t\t//???????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tfor (i = 0; i < 10; i++) {\n\t\t\t\tline = br.readLine();\n\t\t\t\tMountain[i] = Integer.parseInt(line);\n\t\t\t\t//????????????\n\t\t\t\tif (Mountain[i] > first) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = first;\n\t\t\t\t\tfirst = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > second) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > third) {\n\t\t\t\t\tthird = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n System.out.println(first);\n System.out.println(second);\n System.out.println(third);\n\t}",
"int[] Mountain = new int[10];",
"Mountain",
"new int[10]",
"10",
"int i = 0;",
"i",
"0",
"int first = 0",
"first",
"0",
"second = 0",
"second",
"0",
"third = 0;",
"third",
"0",
"String line;",
"line",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"for (i = 0; i < 10; i++) {\n\t\t\t\tline = br.readLine();\n\t\t\t\tMountain[i] = Integer.parseInt(line);\n\t\t\t\t//????????????\n\t\t\t\tif (Mountain[i] > first) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = first;\n\t\t\t\t\tfirst = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > second) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > third) {\n\t\t\t\t\tthird = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\t\tline = br.readLine();\n\t\t\t\tMountain[i] = Integer.parseInt(line);\n\t\t\t\t//????????????\n\t\t\t\tif (Mountain[i] > first) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = first;\n\t\t\t\t\tfirst = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > second) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > third) {\n\t\t\t\t\tthird = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tline = br.readLine();\n\t\t\t\tMountain[i] = Integer.parseInt(line);\n\t\t\t\t//????????????\n\t\t\t\tif (Mountain[i] > first) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = first;\n\t\t\t\t\tfirst = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > second) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > third) {\n\t\t\t\t\tthird = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"Mountain[i] = Integer.parseInt(line)",
"Mountain[i]",
"Mountain",
"i",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"if (Mountain[i] > first) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = first;\n\t\t\t\t\tfirst = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > second) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > third) {\n\t\t\t\t\tthird = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t}",
"Mountain[i] > first",
"Mountain[i]",
"Mountain",
"i",
"first",
"{\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = first;\n\t\t\t\t\tfirst = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t}",
"third = second",
"third",
"second",
"second = first",
"second",
"first",
"first = Mountain[i]",
"first",
"Mountain[i]",
"Mountain",
"i",
"continue;",
"if (Mountain[i] > second) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > third) {\n\t\t\t\t\tthird = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t}",
"Mountain[i] > second",
"Mountain[i]",
"Mountain",
"i",
"second",
"{\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t}",
"third = second",
"third",
"second",
"second = Mountain[i]",
"second",
"Mountain[i]",
"Mountain",
"i",
"continue;",
"if (Mountain[i] > third) {\n\t\t\t\t\tthird = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t}",
"Mountain[i] > third",
"Mountain[i]",
"Mountain",
"i",
"third",
"{\n\t\t\t\t\tthird = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t}",
"third = Mountain[i]",
"third",
"Mountain[i]",
"Mountain",
"i",
"continue;",
"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 IOException {\n\t\t//?????°?¨????\n int[] Mountain = new int[10];\n int i = 0;\n int first = 0, second = 0, third = 0;\n\t\tString line;\n\n\t\t//???????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tfor (i = 0; i < 10; i++) {\n\t\t\t\tline = br.readLine();\n\t\t\t\tMountain[i] = Integer.parseInt(line);\n\t\t\t\t//????????????\n\t\t\t\tif (Mountain[i] > first) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = first;\n\t\t\t\t\tfirst = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > second) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > third) {\n\t\t\t\t\tthird = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n System.out.println(first);\n System.out.println(second);\n System.out.println(third);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//?????°?¨????\n int[] Mountain = new int[10];\n int i = 0;\n int first = 0, second = 0, third = 0;\n\t\tString line;\n\n\t\t//???????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tfor (i = 0; i < 10; i++) {\n\t\t\t\tline = br.readLine();\n\t\t\t\tMountain[i] = Integer.parseInt(line);\n\t\t\t\t//????????????\n\t\t\t\tif (Mountain[i] > first) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = first;\n\t\t\t\t\tfirst = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > second) {\n\t\t\t\t\tthird = second;\n\t\t\t\t\tsecond = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (Mountain[i] > third) {\n\t\t\t\t\tthird = Mountain[i];\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n System.out.println(first);\n System.out.println(second);\n System.out.println(third);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
//?????°?¨????
int[] Mountain = new int[10];
int i = 0;
int first = 0, second = 0, third = 0;
String line;
//???????????????????????????
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
for (i = 0; i < 10; i++) {
line = br.readLine();
Mountain[i] = Integer.parseInt(line);
//????????????
if (Mountain[i] > first) {
third = second;
second = first;
first = Mountain[i];
continue;
} else if (Mountain[i] > second) {
third = second;
second = Mountain[i];
continue;
} else if (Mountain[i] > third) {
third = Mountain[i];
continue;
}
}
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,
41,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
4,
13,
4,
18,
13,
14,
2,
2,
17,
13,
2,
13,
17,
30,
4,
18,
13,
13,
40,
13,
4,
18,
13,
13,
4,
18,
13,
42,
2,
13,
17,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
80,
11
],
[
80,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
14,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
31,
52
],
[
52,
53
],
[
14,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
14,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
65,
75
],
[
75,
76
],
[
12,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.util.*;\nimport java.io.*;\nimport static java.lang.Integer.parseInt;\n\npublic class Main {\n \n public static void main(String[] arg) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n ArrayList<Integer> al = new ArrayList<>();\n int i = 0,j=0;\n while(i<10){\n int x = parseInt(br.readLine());\n if(0<=x&&x<=10000){\n al.add(x);\n }\n i++;\n }\n Collections.sort(al,Comparator.reverseOrder());\n while(j<3){\n System.out.println(al.get(j));\n j++;\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import static java.lang.Integer.parseInt;",
"import static java.lang.Integer.parseInt;",
"import static java.lang.Integer.parseInt;",
"public class Main {\n \n public static void main(String[] arg) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n ArrayList<Integer> al = new ArrayList<>();\n int i = 0,j=0;\n while(i<10){\n int x = parseInt(br.readLine());\n if(0<=x&&x<=10000){\n al.add(x);\n }\n i++;\n }\n Collections.sort(al,Comparator.reverseOrder());\n while(j<3){\n System.out.println(al.get(j));\n j++;\n }\n }\n}",
"Main",
"public static void main(String[] arg) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n ArrayList<Integer> al = new ArrayList<>();\n int i = 0,j=0;\n while(i<10){\n int x = parseInt(br.readLine());\n if(0<=x&&x<=10000){\n al.add(x);\n }\n i++;\n }\n Collections.sort(al,Comparator.reverseOrder());\n while(j<3){\n System.out.println(al.get(j));\n j++;\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n ArrayList<Integer> al = new ArrayList<>();\n int i = 0,j=0;\n while(i<10){\n int x = parseInt(br.readLine());\n if(0<=x&&x<=10000){\n al.add(x);\n }\n i++;\n }\n Collections.sort(al,Comparator.reverseOrder());\n while(j<3){\n System.out.println(al.get(j));\n j++;\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"ArrayList<Integer> al = new ArrayList<>();",
"al",
"new ArrayList<>()",
"int i = 0",
"i",
"0",
"j=0;",
"j",
"0",
"while(i<10){\n int x = parseInt(br.readLine());\n if(0<=x&&x<=10000){\n al.add(x);\n }\n i++;\n }",
"i<10",
"i",
"10",
"{\n int x = parseInt(br.readLine());\n if(0<=x&&x<=10000){\n al.add(x);\n }\n i++;\n }",
"int x = parseInt(br.readLine());",
"x",
"parseInt(br.readLine())",
"parseInt",
"br.readLine()",
"br.readLine",
"br",
"if(0<=x&&x<=10000){\n al.add(x);\n }",
"0<=x&&x<=10000",
"0<=x",
"0",
"x",
"x<=10000",
"x",
"10000",
"{\n al.add(x);\n }",
"al.add(x)",
"al.add",
"al",
"x",
"i++",
"i",
"Collections.sort(al,Comparator.reverseOrder())",
"Collections.sort",
"Collections",
"al",
"Comparator.reverseOrder()",
"Comparator.reverseOrder",
"Comparator",
"while(j<3){\n System.out.println(al.get(j));\n j++;\n }",
"j<3",
"j",
"3",
"{\n System.out.println(al.get(j));\n j++;\n }",
"System.out.println(al.get(j))",
"System.out.println",
"System.out",
"System",
"System.out",
"al.get(j)",
"al.get",
"al",
"j",
"j++",
"j",
"String[] arg",
"arg",
"public class Main {\n \n public static void main(String[] arg) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n ArrayList<Integer> al = new ArrayList<>();\n int i = 0,j=0;\n while(i<10){\n int x = parseInt(br.readLine());\n if(0<=x&&x<=10000){\n al.add(x);\n }\n i++;\n }\n Collections.sort(al,Comparator.reverseOrder());\n while(j<3){\n System.out.println(al.get(j));\n j++;\n }\n }\n}",
"public class Main {\n \n public static void main(String[] arg) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n ArrayList<Integer> al = new ArrayList<>();\n int i = 0,j=0;\n while(i<10){\n int x = parseInt(br.readLine());\n if(0<=x&&x<=10000){\n al.add(x);\n }\n i++;\n }\n Collections.sort(al,Comparator.reverseOrder());\n while(j<3){\n System.out.println(al.get(j));\n j++;\n }\n }\n}",
"Main"
] | import java.util.*;
import java.io.*;
import static java.lang.Integer.parseInt;
public class Main {
public static void main(String[] arg) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
ArrayList<Integer> al = new ArrayList<>();
int i = 0,j=0;
while(i<10){
int x = parseInt(br.readLine());
if(0<=x&&x<=10000){
al.add(x);
}
i++;
}
Collections.sort(al,Comparator.reverseOrder());
while(j<3){
System.out.println(al.get(j));
j++;
}
}
} |
[
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,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
2,
13,
17,
18,
13,
13,
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,
2,
18,
13,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
140,
5
],
[
140,
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
],
[
35,
38
],
[
38,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
56,
68
],
[
68,
69
],
[
69,
70
],
[
56,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
74,
80
],
[
80,
81
],
[
80,
82
],
[
73,
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
],
[
95,
96
],
[
95,
97
],
[
83,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
101,
103
],
[
98,
104
],
[
8,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
105,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
105,
121
],
[
121,
122
],
[
122,
123
],
[
105,
124
],
[
125,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
126,
131
],
[
131,
132
],
[
131,
133
],
[
8,
134
],
[
134,
135
],
[
135,
136
],
[
6,
137
],
[
137,
138
],
[
0,
139
],
[
139,
140
],
[
139,
141
]
] | [
"import java.util.Scanner;\n\npublic class Main \n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] heights = new int[10];\n\t\tint temp;\n\t\t\n\t\tfor(int i = 0; i < 10; i++)\n\t\t{\n\t\t\theights[i] = Integer.parseInt(scan.nextLine());\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < heights.length; i++)\n\t\t{\n\t\t\tfor(int k = 1; k < heights.length - i; k++)\n\t\t\t{\n\t\t\t\tif( heights[k-1] > heights[k])\n\t\t\t\t{\n\t\t\t\t\ttemp = heights[k];\n\t\t\t\t\theights[k] = heights[k-1];\n\t\t\t\t\theights[k-1] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = heights.length - 1; i > heights.length - 4; i--)\n\t\t{\n\t\t\tSystem.out.println(heights[i]);\n\t\t}\n\t\tscan.close();\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[] heights = new int[10];\n\t\tint temp;\n\t\t\n\t\tfor(int i = 0; i < 10; i++)\n\t\t{\n\t\t\theights[i] = Integer.parseInt(scan.nextLine());\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < heights.length; i++)\n\t\t{\n\t\t\tfor(int k = 1; k < heights.length - i; k++)\n\t\t\t{\n\t\t\t\tif( heights[k-1] > heights[k])\n\t\t\t\t{\n\t\t\t\t\ttemp = heights[k];\n\t\t\t\t\theights[k] = heights[k-1];\n\t\t\t\t\theights[k-1] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = heights.length - 1; i > heights.length - 4; i--)\n\t\t{\n\t\t\tSystem.out.println(heights[i]);\n\t\t}\n\t\tscan.close();\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] heights = new int[10];\n\t\tint temp;\n\t\t\n\t\tfor(int i = 0; i < 10; i++)\n\t\t{\n\t\t\theights[i] = Integer.parseInt(scan.nextLine());\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < heights.length; i++)\n\t\t{\n\t\t\tfor(int k = 1; k < heights.length - i; k++)\n\t\t\t{\n\t\t\t\tif( heights[k-1] > heights[k])\n\t\t\t\t{\n\t\t\t\t\ttemp = heights[k];\n\t\t\t\t\theights[k] = heights[k-1];\n\t\t\t\t\theights[k-1] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = heights.length - 1; i > heights.length - 4; i--)\n\t\t{\n\t\t\tSystem.out.println(heights[i]);\n\t\t}\n\t\tscan.close();\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] heights = new int[10];\n\t\tint temp;\n\t\t\n\t\tfor(int i = 0; i < 10; i++)\n\t\t{\n\t\t\theights[i] = Integer.parseInt(scan.nextLine());\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < heights.length; i++)\n\t\t{\n\t\t\tfor(int k = 1; k < heights.length - i; k++)\n\t\t\t{\n\t\t\t\tif( heights[k-1] > heights[k])\n\t\t\t\t{\n\t\t\t\t\ttemp = heights[k];\n\t\t\t\t\theights[k] = heights[k-1];\n\t\t\t\t\theights[k-1] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = heights.length - 1; i > heights.length - 4; i--)\n\t\t{\n\t\t\tSystem.out.println(heights[i]);\n\t\t}\n\t\tscan.close();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] heights = new int[10];",
"heights",
"new int[10]",
"10",
"int temp;",
"temp",
"for(int i = 0; i < 10; i++)\n\t\t{\n\t\t\theights[i] = Integer.parseInt(scan.nextLine());\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(scan.nextLine());\n\t\t}",
"{\n\t\t\theights[i] = Integer.parseInt(scan.nextLine());\n\t\t}",
"heights[i] = Integer.parseInt(scan.nextLine())",
"heights[i]",
"heights",
"i",
"Integer.parseInt(scan.nextLine())",
"Integer.parseInt",
"Integer",
"scan.nextLine()",
"scan.nextLine",
"scan",
"for(int i = 0; i < heights.length; i++)\n\t\t{\n\t\t\tfor(int k = 1; k < heights.length - i; k++)\n\t\t\t{\n\t\t\t\tif( heights[k-1] > heights[k])\n\t\t\t\t{\n\t\t\t\t\ttemp = heights[k];\n\t\t\t\t\theights[k] = heights[k-1];\n\t\t\t\t\theights[k-1] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < heights.length",
"i",
"heights.length",
"heights",
"heights.length",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int k = 1; k < heights.length - i; k++)\n\t\t\t{\n\t\t\t\tif( heights[k-1] > heights[k])\n\t\t\t\t{\n\t\t\t\t\ttemp = heights[k];\n\t\t\t\t\theights[k] = heights[k-1];\n\t\t\t\t\theights[k-1] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int k = 1; k < heights.length - i; k++)\n\t\t\t{\n\t\t\t\tif( heights[k-1] > heights[k])\n\t\t\t\t{\n\t\t\t\t\ttemp = heights[k];\n\t\t\t\t\theights[k] = heights[k-1];\n\t\t\t\t\theights[k-1] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int k = 1; k < heights.length - i; k++)\n\t\t\t{\n\t\t\t\tif( heights[k-1] > heights[k])\n\t\t\t\t{\n\t\t\t\t\ttemp = heights[k];\n\t\t\t\t\theights[k] = heights[k-1];\n\t\t\t\t\theights[k-1] = temp;\n\t\t\t\t}\n\t\t\t}",
"int k = 1;",
"int k = 1;",
"k",
"1",
"k < heights.length - i",
"k",
"heights.length - i",
"heights.length",
"heights",
"heights.length",
"i",
"k++",
"k++",
"k",
"{\n\t\t\t\tif( heights[k-1] > heights[k])\n\t\t\t\t{\n\t\t\t\t\ttemp = heights[k];\n\t\t\t\t\theights[k] = heights[k-1];\n\t\t\t\t\theights[k-1] = temp;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif( heights[k-1] > heights[k])\n\t\t\t\t{\n\t\t\t\t\ttemp = heights[k];\n\t\t\t\t\theights[k] = heights[k-1];\n\t\t\t\t\theights[k-1] = temp;\n\t\t\t\t}\n\t\t\t}",
"if( heights[k-1] > heights[k])\n\t\t\t\t{\n\t\t\t\t\ttemp = heights[k];\n\t\t\t\t\theights[k] = heights[k-1];\n\t\t\t\t\theights[k-1] = temp;\n\t\t\t\t}",
"heights[k-1] > heights[k]",
"heights[k-1]",
"heights",
"k-1",
"k",
"1",
"heights[k]",
"heights",
"k",
"{\n\t\t\t\t\ttemp = heights[k];\n\t\t\t\t\theights[k] = heights[k-1];\n\t\t\t\t\theights[k-1] = temp;\n\t\t\t\t}",
"temp = heights[k]",
"temp",
"heights[k]",
"heights",
"k",
"heights[k] = heights[k-1]",
"heights[k]",
"heights",
"k",
"heights[k-1]",
"heights",
"k-1",
"k",
"1",
"heights[k-1] = temp",
"heights[k-1]",
"heights",
"k-1",
"k",
"1",
"temp",
"for(int i = heights.length - 1; i > heights.length - 4; i--)\n\t\t{\n\t\t\tSystem.out.println(heights[i]);\n\t\t}",
"int i = heights.length - 1;",
"int i = heights.length - 1;",
"i",
"heights.length - 1",
"heights.length",
"heights",
"heights.length",
"1",
"i > heights.length - 4",
"i",
"heights.length - 4",
"heights.length",
"heights",
"heights.length",
"4",
"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",
"scan.close()",
"scan.close",
"scan",
"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[] heights = new int[10];\n\t\tint temp;\n\t\t\n\t\tfor(int i = 0; i < 10; i++)\n\t\t{\n\t\t\theights[i] = Integer.parseInt(scan.nextLine());\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < heights.length; i++)\n\t\t{\n\t\t\tfor(int k = 1; k < heights.length - i; k++)\n\t\t\t{\n\t\t\t\tif( heights[k-1] > heights[k])\n\t\t\t\t{\n\t\t\t\t\ttemp = heights[k];\n\t\t\t\t\theights[k] = heights[k-1];\n\t\t\t\t\theights[k-1] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = heights.length - 1; i > heights.length - 4; i--)\n\t\t{\n\t\t\tSystem.out.println(heights[i]);\n\t\t}\n\t\tscan.close();\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[] heights = new int[10];\n\t\tint temp;\n\t\t\n\t\tfor(int i = 0; i < 10; i++)\n\t\t{\n\t\t\theights[i] = Integer.parseInt(scan.nextLine());\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < heights.length; i++)\n\t\t{\n\t\t\tfor(int k = 1; k < heights.length - i; k++)\n\t\t\t{\n\t\t\t\tif( heights[k-1] > heights[k])\n\t\t\t\t{\n\t\t\t\t\ttemp = heights[k];\n\t\t\t\t\theights[k] = heights[k-1];\n\t\t\t\t\theights[k-1] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = heights.length - 1; i > heights.length - 4; i--)\n\t\t{\n\t\t\tSystem.out.println(heights[i]);\n\t\t}\n\t\tscan.close();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
int[] heights = new int[10];
int temp;
for(int i = 0; i < 10; i++)
{
heights[i] = Integer.parseInt(scan.nextLine());
}
for(int i = 0; i < heights.length; i++)
{
for(int k = 1; k < heights.length - i; k++)
{
if( heights[k-1] > heights[k])
{
temp = heights[k];
heights[k] = heights[k-1];
heights[k-1] = temp;
}
}
}
for(int i = heights.length - 1; i > heights.length - 4; i--)
{
System.out.println(heights[i]);
}
scan.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
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,
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
],
[
71,
8
],
[
71,
9
],
[
9,
10
],
[
71,
11
],
[
11,
12
],
[
11,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
13,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
21,
31
],
[
31,
32
],
[
32,
33
],
[
21,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
13,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
13,
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
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
11,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.util.*;\nimport java.util.Arrays;\npublic class Main {\n\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t\tsc = new Scanner(System.in);\n\t\tint []a=new int [10];\n\t\tfor(int i=0;i<a.length;i++){\n\t\t\ta[i]=sc.nextInt();\n\t\t}\n\t\tArrays.sort(a);\n\t\tfor(int i=9;i>6;i--){\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t\t\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t\tsc = new Scanner(System.in);\n\t\tint []a=new int [10];\n\t\tfor(int i=0;i<a.length;i++){\n\t\t\ta[i]=sc.nextInt();\n\t\t}\n\t\tArrays.sort(a);\n\t\tfor(int i=9;i>6;i--){\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t\t\n\n }\n}",
"Main",
"private static Scanner sc;",
"sc",
"public static void main(String[] args) {\n\t\tsc = new Scanner(System.in);\n\t\tint []a=new int [10];\n\t\tfor(int i=0;i<a.length;i++){\n\t\t\ta[i]=sc.nextInt();\n\t\t}\n\t\tArrays.sort(a);\n\t\tfor(int i=9;i>6;i--){\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t\t\n\n }",
"main",
"{\n\t\tsc = new Scanner(System.in);\n\t\tint []a=new int [10];\n\t\tfor(int i=0;i<a.length;i++){\n\t\t\ta[i]=sc.nextInt();\n\t\t}\n\t\tArrays.sort(a);\n\t\tfor(int i=9;i>6;i--){\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t\t\n\n }",
"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<a.length;i++){\n\t\t\ta[i]=sc.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n\t\t\ta[i]=sc.nextInt();\n\t\t}",
"{\n\t\t\ta[i]=sc.nextInt();\n\t\t}",
"a[i]=sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"for(int i=9;i>6;i--){\n\t\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\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\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t\tsc = new Scanner(System.in);\n\t\tint []a=new int [10];\n\t\tfor(int i=0;i<a.length;i++){\n\t\t\ta[i]=sc.nextInt();\n\t\t}\n\t\tArrays.sort(a);\n\t\tfor(int i=9;i>6;i--){\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t\t\n\n }\n}",
"public class Main {\n\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t\tsc = new Scanner(System.in);\n\t\tint []a=new int [10];\n\t\tfor(int i=0;i<a.length;i++){\n\t\t\ta[i]=sc.nextInt();\n\t\t}\n\t\tArrays.sort(a);\n\t\tfor(int i=9;i>6;i--){\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t\t\n\n }\n}",
"Main"
] | import java.util.*;
import java.util.Arrays;
public class Main {
private static Scanner sc;
public static void main(String[] args) {
sc = new Scanner(System.in);
int []a=new int [10];
for(int i=0;i<a.length;i++){
a[i]=sc.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,
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,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
80,
14
],
[
80,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
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
],
[
42,
45
],
[
17,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
17,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
17,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
17,
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.Collections;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<>();\n\t\tfor(int i=0 ; i<10 ;i++){\n\t\t\tint a = sc.nextInt();\n\t\t\tlist.add(a);\n\t\t}\n\t\t\n\t\tCollections.sort(list);\n\t\t\n\t\tSystem.out.println(list.get(9));\n\t\tSystem.out.println(list.get(8));\n\t\tSystem.out.println(list.get(7));\n\t\t\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\tpublic static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<>();\n\t\tfor(int i=0 ; i<10 ;i++){\n\t\t\tint a = sc.nextInt();\n\t\t\tlist.add(a);\n\t\t}\n\t\t\n\t\tCollections.sort(list);\n\t\t\n\t\tSystem.out.println(list.get(9));\n\t\tSystem.out.println(list.get(8));\n\t\tSystem.out.println(list.get(7));\n\t\t\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\tArrayList<Integer> list = new ArrayList<>();\n\t\tfor(int i=0 ; i<10 ;i++){\n\t\t\tint a = sc.nextInt();\n\t\t\tlist.add(a);\n\t\t}\n\t\t\n\t\tCollections.sort(list);\n\t\t\n\t\tSystem.out.println(list.get(9));\n\t\tSystem.out.println(list.get(8));\n\t\tSystem.out.println(list.get(7));\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<>();\n\t\tfor(int i=0 ; i<10 ;i++){\n\t\t\tint a = sc.nextInt();\n\t\t\tlist.add(a);\n\t\t}\n\t\t\n\t\tCollections.sort(list);\n\t\t\n\t\tSystem.out.println(list.get(9));\n\t\tSystem.out.println(list.get(8));\n\t\tSystem.out.println(list.get(7));\n\t\t\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"for(int i=0 ; i<10 ;i++){\n\t\t\tint a = sc.nextInt();\n\t\t\tlist.add(a);\n\t\t}",
"int i=0 ;",
"int i=0 ;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tint a = sc.nextInt();\n\t\t\tlist.add(a);\n\t\t}",
"{\n\t\t\tint a = sc.nextInt();\n\t\t\tlist.add(a);\n\t\t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"list.add(a)",
"list.add",
"list",
"a",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"System.out.println(list.get(9))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(9)",
"list.get",
"list",
"9",
"System.out.println(list.get(8))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(8)",
"list.get",
"list",
"8",
"System.out.println(list.get(7))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(7)",
"list.get",
"list",
"7",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<>();\n\t\tfor(int i=0 ; i<10 ;i++){\n\t\t\tint a = sc.nextInt();\n\t\t\tlist.add(a);\n\t\t}\n\t\t\n\t\tCollections.sort(list);\n\t\t\n\t\tSystem.out.println(list.get(9));\n\t\tSystem.out.println(list.get(8));\n\t\tSystem.out.println(list.get(7));\n\t\t\n\t\t\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<>();\n\t\tfor(int i=0 ; i<10 ;i++){\n\t\t\tint a = sc.nextInt();\n\t\t\tlist.add(a);\n\t\t}\n\t\t\n\t\tCollections.sort(list);\n\t\t\n\t\tSystem.out.println(list.get(9));\n\t\tSystem.out.println(list.get(8));\n\t\tSystem.out.println(list.get(7));\n\t\t\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 {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
ArrayList<Integer> list = new ArrayList<>();
for(int i=0 ; i<10 ;i++){
int a = sc.nextInt();
list.add(a);
}
Collections.sort(list);
System.out.println(list.get(9));
System.out.println(list.get(8));
System.out.println(list.get(7));
}
} |
[
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,
0,
18,
13,
13,
4,
18,
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
],
[
62,
5
],
[
62,
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
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
35,
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
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] | [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n Scanner scan = new Scanner(System.in);\n \n int[] m = new int[10];\n for (int i =0 ; i<10 ;i++)\n m[i] = scan.nextInt();\n \n Arrays.sort(m);\n for( int i=9;i>=7;i--)\n System.out.println(m[i]);\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n Scanner scan = new Scanner(System.in);\n \n int[] m = new int[10];\n for (int i =0 ; i<10 ;i++)\n m[i] = scan.nextInt();\n \n Arrays.sort(m);\n for( int i=9;i>=7;i--)\n System.out.println(m[i]);\n \n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Here your code !\n Scanner scan = new Scanner(System.in);\n \n int[] m = new int[10];\n for (int i =0 ; i<10 ;i++)\n m[i] = scan.nextInt();\n \n Arrays.sort(m);\n for( int i=9;i>=7;i--)\n System.out.println(m[i]);\n \n }",
"main",
"{\n // Here your code !\n Scanner scan = new Scanner(System.in);\n \n int[] m = new int[10];\n for (int i =0 ; i<10 ;i++)\n m[i] = scan.nextInt();\n \n Arrays.sort(m);\n for( int i=9;i>=7;i--)\n System.out.println(m[i]);\n \n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] m = new int[10];",
"m",
"new int[10]",
"10",
"for (int i =0 ; i<10 ;i++)\n m[i] = scan.nextInt();",
"int i =0 ;",
"int i =0 ;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"m[i] = scan.nextInt();",
"m[i] = scan.nextInt()",
"m[i]",
"m",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"Arrays.sort(m)",
"Arrays.sort",
"Arrays",
"m",
"for( int i=9;i>=7;i--)\n System.out.println(m[i]);",
"int i=9;",
"int i=9;",
"i",
"9",
"i>=7",
"i",
"7",
"i--",
"i--",
"i",
"System.out.println(m[i]);",
"System.out.println(m[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"m[i]",
"m",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n Scanner scan = new Scanner(System.in);\n \n int[] m = new int[10];\n for (int i =0 ; i<10 ;i++)\n m[i] = scan.nextInt();\n \n Arrays.sort(m);\n for( int i=9;i>=7;i--)\n System.out.println(m[i]);\n \n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n Scanner scan = new Scanner(System.in);\n \n int[] m = new int[10];\n for (int i =0 ; i<10 ;i++)\n m[i] = scan.nextInt();\n \n Arrays.sort(m);\n for( int i=9;i>=7;i--)\n System.out.println(m[i]);\n \n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Here your code !
Scanner scan = new Scanner(System.in);
int[] m = new int[10];
for (int i =0 ; i<10 ;i++)
m[i] = scan.nextInt();
Arrays.sort(m);
for( int i=9;i>=7;i--)
System.out.println(m[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,
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
],
[
69,
11
],
[
69,
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
],
[
12,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tArrayList<Integer> height = new ArrayList<Integer>();\n\t\tScanner sc = new java.util.Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theight.add(sc.nextInt());\n\t\t}\n\n\t\tCollections.sort(height);\n\n\t\tfor (int i = 9; i > 6; i--) {\n\t\t\tSystem.out.println(height.get(i));\n\t\t}\n\n\t}\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\n\tpublic static void main(String[] args) {\n\t\tArrayList<Integer> height = new ArrayList<Integer>();\n\t\tScanner sc = new java.util.Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theight.add(sc.nextInt());\n\t\t}\n\n\t\tCollections.sort(height);\n\n\t\tfor (int i = 9; i > 6; i--) {\n\t\t\tSystem.out.println(height.get(i));\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tArrayList<Integer> height = new ArrayList<Integer>();\n\t\tScanner sc = new java.util.Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theight.add(sc.nextInt());\n\t\t}\n\n\t\tCollections.sort(height);\n\n\t\tfor (int i = 9; i > 6; i--) {\n\t\t\tSystem.out.println(height.get(i));\n\t\t}\n\n\t}",
"main",
"{\n\t\tArrayList<Integer> height = new ArrayList<Integer>();\n\t\tScanner sc = new java.util.Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theight.add(sc.nextInt());\n\t\t}\n\n\t\tCollections.sort(height);\n\n\t\tfor (int i = 9; i > 6; i--) {\n\t\t\tSystem.out.println(height.get(i));\n\t\t}\n\n\t}",
"ArrayList<Integer> height = new ArrayList<Integer>();",
"height",
"new ArrayList<Integer>()",
"Scanner sc = new java.util.Scanner(System.in);",
"sc",
"new java.util.Scanner(System.in)",
"for (int i = 0; i < 10; i++) {\n\t\t\theight.add(sc.nextInt());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\theight.add(sc.nextInt());\n\t\t}",
"{\n\t\t\theight.add(sc.nextInt());\n\t\t}",
"height.add(sc.nextInt())",
"height.add",
"height",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Collections.sort(height)",
"Collections.sort",
"Collections",
"height",
"for (int i = 9; i > 6; i--) {\n\t\t\tSystem.out.println(height.get(i));\n\t\t}",
"int i = 9;",
"int i = 9;",
"i",
"9",
"i > 6",
"i",
"6",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.println(height.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(height.get(i));\n\t\t}",
"System.out.println(height.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"height.get(i)",
"height.get",
"height",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tArrayList<Integer> height = new ArrayList<Integer>();\n\t\tScanner sc = new java.util.Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theight.add(sc.nextInt());\n\t\t}\n\n\t\tCollections.sort(height);\n\n\t\tfor (int i = 9; i > 6; i--) {\n\t\t\tSystem.out.println(height.get(i));\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tArrayList<Integer> height = new ArrayList<Integer>();\n\t\tScanner sc = new java.util.Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theight.add(sc.nextInt());\n\t\t}\n\n\t\tCollections.sort(height);\n\n\t\tfor (int i = 9; i > 6; i--) {\n\t\t\tSystem.out.println(height.get(i));\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
ArrayList<Integer> height = new ArrayList<Integer>();
Scanner sc = new java.util.Scanner(System.in);
for (int i = 0; i < 10; i++) {
height.add(sc.nextInt());
}
Collections.sort(height);
for (int i = 9; i > 6; i--) {
System.out.println(height.get(i));
}
}
} |
[
7,
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,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
4,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
30,
4,
18,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
93,
11
],
[
93,
12
],
[
12,
13
],
[
12,
14
],
[
93,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
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
],
[
17,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
17,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
17,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
17,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
17,
70
],
[
70,
71
],
[
15,
72
],
[
72,
73
],
[
93,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
93,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tArrayList<Integer> hight = new ArrayList<Integer>();\n\n\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\thight.add(input());\n\n\t\t}\n\n\t\tCollections.sort(hight);\n\n\t\tSystem.out.println(hight.get(9));\n\t\tSystem.out.println(hight.get(8));\n\t\tSystem.out.println(hight.get(7));\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tArrayList<Integer> hight = new ArrayList<Integer>();\n\n\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\thight.add(input());\n\n\t\t}\n\n\t\tCollections.sort(hight);\n\n\t\tSystem.out.println(hight.get(9));\n\t\tSystem.out.println(hight.get(8));\n\t\tSystem.out.println(hight.get(7));\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"Main",
"public static Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\n\t\tArrayList<Integer> hight = new ArrayList<Integer>();\n\n\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\thight.add(input());\n\n\t\t}\n\n\t\tCollections.sort(hight);\n\n\t\tSystem.out.println(hight.get(9));\n\t\tSystem.out.println(hight.get(8));\n\t\tSystem.out.println(hight.get(7));\n\n\t\tclose();\n\n\t}",
"main",
"{\n\n\t\tArrayList<Integer> hight = new ArrayList<Integer>();\n\n\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\thight.add(input());\n\n\t\t}\n\n\t\tCollections.sort(hight);\n\n\t\tSystem.out.println(hight.get(9));\n\t\tSystem.out.println(hight.get(8));\n\t\tSystem.out.println(hight.get(7));\n\n\t\tclose();\n\n\t}",
"ArrayList<Integer> hight = new ArrayList<Integer>();",
"hight",
"new ArrayList<Integer>()",
"for (int i = 0; i < 10; i++) {\n\n\t\t\thight.add(input());\n\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\n\t\t\thight.add(input());\n\n\t\t}",
"{\n\n\t\t\thight.add(input());\n\n\t\t}",
"hight.add(input())",
"hight.add",
"hight",
"input()",
"input",
"Collections.sort(hight)",
"Collections.sort",
"Collections",
"hight",
"System.out.println(hight.get(9))",
"System.out.println",
"System.out",
"System",
"System.out",
"hight.get(9)",
"hight.get",
"hight",
"9",
"System.out.println(hight.get(8))",
"System.out.println",
"System.out",
"System",
"System.out",
"hight.get(8)",
"hight.get",
"hight",
"8",
"System.out.println(hight.get(7))",
"System.out.println",
"System.out",
"System",
"System.out",
"hight.get(7)",
"hight.get",
"hight",
"7",
"close()",
"close",
"String[] args",
"args",
"public static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}",
"input",
"{\n\n\t\treturn scanner.nextInt();\n\n\t}",
"return scanner.nextInt();",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"public static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}",
"close",
"{\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}",
"if (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}",
"scanner != null",
"scanner",
"null",
"{\n\n\t\t\tscanner.close();\n\n\t\t}",
"scanner.close()",
"scanner.close",
"scanner",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tArrayList<Integer> hight = new ArrayList<Integer>();\n\n\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\thight.add(input());\n\n\t\t}\n\n\t\tCollections.sort(hight);\n\n\t\tSystem.out.println(hight.get(9));\n\t\tSystem.out.println(hight.get(8));\n\t\tSystem.out.println(hight.get(7));\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tArrayList<Integer> hight = new ArrayList<Integer>();\n\n\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\thight.add(input());\n\n\t\t}\n\n\t\tCollections.sort(hight);\n\n\t\tSystem.out.println(hight.get(9));\n\t\tSystem.out.println(hight.get(8));\n\t\tSystem.out.println(hight.get(7));\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
public class Main {
public static Scanner scanner = new Scanner(System.in);
public static void main(String[] args) {
ArrayList<Integer> hight = new ArrayList<Integer>();
for (int i = 0; i < 10; i++) {
hight.add(input());
}
Collections.sort(hight);
System.out.println(hight.get(9));
System.out.println(hight.get(8));
System.out.println(hight.get(7));
close();
}
public static int input() {
return scanner.nextInt();
}
public static void close() {
if (scanner != null) {
scanner.close();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
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,
30,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
107,
8
],
[
107,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
11,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
26,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
38,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
45,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
56,
63
],
[
63,
64
],
[
63,
65
],
[
52,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
66,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
77,
85
],
[
11,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
11,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
11,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
9,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\t\n\tpublic static void main(String input[]){\n\t\tint a = 0, b = 0, c=0;\n\t\tBufferedReader buffRead = new BufferedReader(new InputStreamReader(System.in));\n\t\tString fileline;\n\t\ttry{\n\t\t\twhile ((fileline = buffRead.readLine()) != null){\n\t\t\t\tint height = Integer.parseInt(fileline);\n\t\t\t\tif (height > a){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = a;\n\t\t\t\t\ta = height;\t\t\n\t\t\t\t}else if (height > b){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = height;\n\t\t\t\t}else if (height > c){\n\t\t\t\t\tc = height;\n\t\t\t\t}else{\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception e){\n\t\t\tSystem.out.println(\"Failure\");\n\t\t}\n\t\tSystem.out.println(a);\n\t\tSystem.out.println(b);\n\t\tSystem.out.println(c);\n\t}\t\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\t\n\tpublic static void main(String input[]){\n\t\tint a = 0, b = 0, c=0;\n\t\tBufferedReader buffRead = new BufferedReader(new InputStreamReader(System.in));\n\t\tString fileline;\n\t\ttry{\n\t\t\twhile ((fileline = buffRead.readLine()) != null){\n\t\t\t\tint height = Integer.parseInt(fileline);\n\t\t\t\tif (height > a){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = a;\n\t\t\t\t\ta = height;\t\t\n\t\t\t\t}else if (height > b){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = height;\n\t\t\t\t}else if (height > c){\n\t\t\t\t\tc = height;\n\t\t\t\t}else{\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception e){\n\t\t\tSystem.out.println(\"Failure\");\n\t\t}\n\t\tSystem.out.println(a);\n\t\tSystem.out.println(b);\n\t\tSystem.out.println(c);\n\t}\t\n}",
"Main",
"public static void main(String input[]){\n\t\tint a = 0, b = 0, c=0;\n\t\tBufferedReader buffRead = new BufferedReader(new InputStreamReader(System.in));\n\t\tString fileline;\n\t\ttry{\n\t\t\twhile ((fileline = buffRead.readLine()) != null){\n\t\t\t\tint height = Integer.parseInt(fileline);\n\t\t\t\tif (height > a){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = a;\n\t\t\t\t\ta = height;\t\t\n\t\t\t\t}else if (height > b){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = height;\n\t\t\t\t}else if (height > c){\n\t\t\t\t\tc = height;\n\t\t\t\t}else{\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception e){\n\t\t\tSystem.out.println(\"Failure\");\n\t\t}\n\t\tSystem.out.println(a);\n\t\tSystem.out.println(b);\n\t\tSystem.out.println(c);\n\t}",
"main",
"{\n\t\tint a = 0, b = 0, c=0;\n\t\tBufferedReader buffRead = new BufferedReader(new InputStreamReader(System.in));\n\t\tString fileline;\n\t\ttry{\n\t\t\twhile ((fileline = buffRead.readLine()) != null){\n\t\t\t\tint height = Integer.parseInt(fileline);\n\t\t\t\tif (height > a){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = a;\n\t\t\t\t\ta = height;\t\t\n\t\t\t\t}else if (height > b){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = height;\n\t\t\t\t}else if (height > c){\n\t\t\t\t\tc = height;\n\t\t\t\t}else{\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception e){\n\t\t\tSystem.out.println(\"Failure\");\n\t\t}\n\t\tSystem.out.println(a);\n\t\tSystem.out.println(b);\n\t\tSystem.out.println(c);\n\t}",
"int a = 0",
"a",
"0",
"b = 0",
"b",
"0",
"c=0;",
"c",
"0",
"BufferedReader buffRead = new BufferedReader(new InputStreamReader(System.in));",
"buffRead",
"new BufferedReader(new InputStreamReader(System.in))",
"String fileline;",
"fileline",
"try{\n\t\t\twhile ((fileline = buffRead.readLine()) != null){\n\t\t\t\tint height = Integer.parseInt(fileline);\n\t\t\t\tif (height > a){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = a;\n\t\t\t\t\ta = height;\t\t\n\t\t\t\t}else if (height > b){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = height;\n\t\t\t\t}else if (height > c){\n\t\t\t\t\tc = height;\n\t\t\t\t}else{\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception e){\n\t\t\tSystem.out.println(\"Failure\");\n\t\t}",
"catch (Exception e){\n\t\t\tSystem.out.println(\"Failure\");\n\t\t}",
"Exception e",
"{\n\t\t\tSystem.out.println(\"Failure\");\n\t\t}",
"System.out.println(\"Failure\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Failure\"",
"{\n\t\t\twhile ((fileline = buffRead.readLine()) != null){\n\t\t\t\tint height = Integer.parseInt(fileline);\n\t\t\t\tif (height > a){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = a;\n\t\t\t\t\ta = height;\t\t\n\t\t\t\t}else if (height > b){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = height;\n\t\t\t\t}else if (height > c){\n\t\t\t\t\tc = height;\n\t\t\t\t}else{\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"while ((fileline = buffRead.readLine()) != null){\n\t\t\t\tint height = Integer.parseInt(fileline);\n\t\t\t\tif (height > a){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = a;\n\t\t\t\t\ta = height;\t\t\n\t\t\t\t}else if (height > b){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = height;\n\t\t\t\t}else if (height > c){\n\t\t\t\t\tc = height;\n\t\t\t\t}else{\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}",
"(fileline = buffRead.readLine()) != null",
"(fileline = buffRead.readLine())",
"fileline",
"buffRead.readLine()",
"buffRead.readLine",
"buffRead",
"null",
"{\n\t\t\t\tint height = Integer.parseInt(fileline);\n\t\t\t\tif (height > a){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = a;\n\t\t\t\t\ta = height;\t\t\n\t\t\t\t}else if (height > b){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = height;\n\t\t\t\t}else if (height > c){\n\t\t\t\t\tc = height;\n\t\t\t\t}else{\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}",
"int height = Integer.parseInt(fileline);",
"height",
"Integer.parseInt(fileline)",
"Integer.parseInt",
"Integer",
"fileline",
"if (height > a){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = a;\n\t\t\t\t\ta = height;\t\t\n\t\t\t\t}else if (height > b){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = height;\n\t\t\t\t}else if (height > c){\n\t\t\t\t\tc = height;\n\t\t\t\t}else{\n\t\t\t\t\t\n\t\t\t\t}",
"height > a",
"height",
"a",
"{\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = a;\n\t\t\t\t\ta = height;\t\t\n\t\t\t\t}",
"c = b",
"c",
"b",
"b = a",
"b",
"a",
"a = height",
"a",
"height",
"if (height > b){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = height;\n\t\t\t\t}else if (height > c){\n\t\t\t\t\tc = height;\n\t\t\t\t}else{\n\t\t\t\t\t\n\t\t\t\t}",
"height > b",
"height",
"b",
"{\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = height;\n\t\t\t\t}",
"c = b",
"c",
"b",
"b = height",
"b",
"height",
"if (height > c){\n\t\t\t\t\tc = height;\n\t\t\t\t}else{\n\t\t\t\t\t\n\t\t\t\t}",
"height > c",
"height",
"c",
"{\n\t\t\t\t\tc = height;\n\t\t\t\t}",
"c = height",
"c",
"height",
"{\n\t\t\t\t\t\n\t\t\t\t}",
"System.out.println(a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a",
"System.out.println(b)",
"System.out.println",
"System.out",
"System",
"System.out",
"b",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String input[]",
"input",
"public class Main {\n\t\n\tpublic static void main(String input[]){\n\t\tint a = 0, b = 0, c=0;\n\t\tBufferedReader buffRead = new BufferedReader(new InputStreamReader(System.in));\n\t\tString fileline;\n\t\ttry{\n\t\t\twhile ((fileline = buffRead.readLine()) != null){\n\t\t\t\tint height = Integer.parseInt(fileline);\n\t\t\t\tif (height > a){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = a;\n\t\t\t\t\ta = height;\t\t\n\t\t\t\t}else if (height > b){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = height;\n\t\t\t\t}else if (height > c){\n\t\t\t\t\tc = height;\n\t\t\t\t}else{\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception e){\n\t\t\tSystem.out.println(\"Failure\");\n\t\t}\n\t\tSystem.out.println(a);\n\t\tSystem.out.println(b);\n\t\tSystem.out.println(c);\n\t}\t\n}",
"public class Main {\n\t\n\tpublic static void main(String input[]){\n\t\tint a = 0, b = 0, c=0;\n\t\tBufferedReader buffRead = new BufferedReader(new InputStreamReader(System.in));\n\t\tString fileline;\n\t\ttry{\n\t\t\twhile ((fileline = buffRead.readLine()) != null){\n\t\t\t\tint height = Integer.parseInt(fileline);\n\t\t\t\tif (height > a){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = a;\n\t\t\t\t\ta = height;\t\t\n\t\t\t\t}else if (height > b){\n\t\t\t\t\tc = b;\n\t\t\t\t\tb = height;\n\t\t\t\t}else if (height > c){\n\t\t\t\t\tc = height;\n\t\t\t\t}else{\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception e){\n\t\t\tSystem.out.println(\"Failure\");\n\t\t}\n\t\tSystem.out.println(a);\n\t\tSystem.out.println(b);\n\t\tSystem.out.println(c);\n\t}\t\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String input[]){
int a = 0, b = 0, c=0;
BufferedReader buffRead = new BufferedReader(new InputStreamReader(System.in));
String fileline;
try{
while ((fileline = buffRead.readLine()) != null){
int height = Integer.parseInt(fileline);
if (height > a){
c = b;
b = a;
a = height;
}else if (height > b){
c = b;
b = height;
}else if (height > c){
c = height;
}else{
}
}
} catch (Exception e){
System.out.println("Failure");
}
System.out.println(a);
System.out.println(b);
System.out.println(c);
}
} |
[
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,
40,
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,
17,
18,
13,
13,
30,
0,
18,
13,
17,
18,
13,
13,
41,
13,
17,
11,
1,
41,
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,
0,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
146,
5
],
[
146,
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
],
[
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
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
75,
77
],
[
67,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
83,
85
],
[
78,
86
],
[
86,
87
],
[
87,
88
],
[
78,
89
],
[
90,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
96,
98
],
[
91,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
102,
104
],
[
99,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
109,
111
],
[
99,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
112,
116
],
[
99,
117
],
[
117,
118
],
[
117,
119
],
[
8,
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
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
6,
143
],
[
143,
144
],
[
0,
145
],
[
145,
146
],
[
145,
147
]
] | [
"import java.util.Scanner;\n\npublic class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint[] m = new int[10];\n\t\tint[] h = new int[3];\n\t\t\n\t\t\n\t\tfor(int i=0; i<3; i++)\n\t\t{\n\t\t\th[i] = -1;\n\t\t}\n\t\t\n\t\tfor(int i=0; i<10; i++)\n\t\t{\n\t\t\tm[i] = scanner.nextInt();\n\t\t\tif(h[0] < m[i])\n\t\t\t{\t\t\n\t\t\t\th[0] = m[i];\n\t\t\t\tint r = 0;\n\t\t\t\tfor(int j=1; j<3; j++)\n\t\t\t\t{\n\t\t\t\t\tif(h[j] < h[r])\n\t\t\t\t\t{\n\t\t\t\t\t\tint buf = h[r];\n\t\t\t\t\t\th[r] = h[j];\n\t\t\t\t\t\th[j] = buf;\n\t\t\t\t\t\tr = j;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=2; i>=0; i--)\n\t\t{\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{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint[] m = new int[10];\n\t\tint[] h = new int[3];\n\t\t\n\t\t\n\t\tfor(int i=0; i<3; i++)\n\t\t{\n\t\t\th[i] = -1;\n\t\t}\n\t\t\n\t\tfor(int i=0; i<10; i++)\n\t\t{\n\t\t\tm[i] = scanner.nextInt();\n\t\t\tif(h[0] < m[i])\n\t\t\t{\t\t\n\t\t\t\th[0] = m[i];\n\t\t\t\tint r = 0;\n\t\t\t\tfor(int j=1; j<3; j++)\n\t\t\t\t{\n\t\t\t\t\tif(h[j] < h[r])\n\t\t\t\t\t{\n\t\t\t\t\t\tint buf = h[r];\n\t\t\t\t\t\th[r] = h[j];\n\t\t\t\t\t\th[j] = buf;\n\t\t\t\t\t\tr = j;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=2; i>=0; i--)\n\t\t{\n\t\t\tSystem.out.println(h[i]+\"\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint[] m = new int[10];\n\t\tint[] h = new int[3];\n\t\t\n\t\t\n\t\tfor(int i=0; i<3; i++)\n\t\t{\n\t\t\th[i] = -1;\n\t\t}\n\t\t\n\t\tfor(int i=0; i<10; i++)\n\t\t{\n\t\t\tm[i] = scanner.nextInt();\n\t\t\tif(h[0] < m[i])\n\t\t\t{\t\t\n\t\t\t\th[0] = m[i];\n\t\t\t\tint r = 0;\n\t\t\t\tfor(int j=1; j<3; j++)\n\t\t\t\t{\n\t\t\t\t\tif(h[j] < h[r])\n\t\t\t\t\t{\n\t\t\t\t\t\tint buf = h[r];\n\t\t\t\t\t\th[r] = h[j];\n\t\t\t\t\t\th[j] = buf;\n\t\t\t\t\t\tr = j;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=2; i>=0; i--)\n\t\t{\n\t\t\tSystem.out.println(h[i]+\"\");\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint[] m = new int[10];\n\t\tint[] h = new int[3];\n\t\t\n\t\t\n\t\tfor(int i=0; i<3; i++)\n\t\t{\n\t\t\th[i] = -1;\n\t\t}\n\t\t\n\t\tfor(int i=0; i<10; i++)\n\t\t{\n\t\t\tm[i] = scanner.nextInt();\n\t\t\tif(h[0] < m[i])\n\t\t\t{\t\t\n\t\t\t\th[0] = m[i];\n\t\t\t\tint r = 0;\n\t\t\t\tfor(int j=1; j<3; j++)\n\t\t\t\t{\n\t\t\t\t\tif(h[j] < h[r])\n\t\t\t\t\t{\n\t\t\t\t\t\tint buf = h[r];\n\t\t\t\t\t\th[r] = h[j];\n\t\t\t\t\t\th[j] = buf;\n\t\t\t\t\t\tr = j;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=2; i>=0; i--)\n\t\t{\n\t\t\tSystem.out.println(h[i]+\"\");\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int[] m = new int[10];",
"m",
"new int[10]",
"10",
"int[] h = new int[3];",
"h",
"new int[3]",
"3",
"for(int i=0; i<3; i++)\n\t\t{\n\t\t\th[i] = -1;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\th[i] = -1;\n\t\t}",
"{\n\t\t\th[i] = -1;\n\t\t}",
"h[i] = -1",
"h[i]",
"h",
"i",
"-1",
"1",
"for(int i=0; i<10; i++)\n\t\t{\n\t\t\tm[i] = scanner.nextInt();\n\t\t\tif(h[0] < m[i])\n\t\t\t{\t\t\n\t\t\t\th[0] = m[i];\n\t\t\t\tint r = 0;\n\t\t\t\tfor(int j=1; j<3; j++)\n\t\t\t\t{\n\t\t\t\t\tif(h[j] < h[r])\n\t\t\t\t\t{\n\t\t\t\t\t\tint buf = h[r];\n\t\t\t\t\t\th[r] = h[j];\n\t\t\t\t\t\th[j] = buf;\n\t\t\t\t\t\tr = j;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tm[i] = scanner.nextInt();\n\t\t\tif(h[0] < m[i])\n\t\t\t{\t\t\n\t\t\t\th[0] = m[i];\n\t\t\t\tint r = 0;\n\t\t\t\tfor(int j=1; j<3; j++)\n\t\t\t\t{\n\t\t\t\t\tif(h[j] < h[r])\n\t\t\t\t\t{\n\t\t\t\t\t\tint buf = h[r];\n\t\t\t\t\t\th[r] = h[j];\n\t\t\t\t\t\th[j] = buf;\n\t\t\t\t\t\tr = j;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tm[i] = scanner.nextInt();\n\t\t\tif(h[0] < m[i])\n\t\t\t{\t\t\n\t\t\t\th[0] = m[i];\n\t\t\t\tint r = 0;\n\t\t\t\tfor(int j=1; j<3; j++)\n\t\t\t\t{\n\t\t\t\t\tif(h[j] < h[r])\n\t\t\t\t\t{\n\t\t\t\t\t\tint buf = h[r];\n\t\t\t\t\t\th[r] = h[j];\n\t\t\t\t\t\th[j] = buf;\n\t\t\t\t\t\tr = j;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"m[i] = scanner.nextInt()",
"m[i]",
"m",
"i",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if(h[0] < m[i])\n\t\t\t{\t\t\n\t\t\t\th[0] = m[i];\n\t\t\t\tint r = 0;\n\t\t\t\tfor(int j=1; j<3; j++)\n\t\t\t\t{\n\t\t\t\t\tif(h[j] < h[r])\n\t\t\t\t\t{\n\t\t\t\t\t\tint buf = h[r];\n\t\t\t\t\t\th[r] = h[j];\n\t\t\t\t\t\th[j] = buf;\n\t\t\t\t\t\tr = j;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"h[0] < m[i]",
"h[0]",
"h",
"0",
"m[i]",
"m",
"i",
"{\t\t\n\t\t\t\th[0] = m[i];\n\t\t\t\tint r = 0;\n\t\t\t\tfor(int j=1; j<3; j++)\n\t\t\t\t{\n\t\t\t\t\tif(h[j] < h[r])\n\t\t\t\t\t{\n\t\t\t\t\t\tint buf = h[r];\n\t\t\t\t\t\th[r] = h[j];\n\t\t\t\t\t\th[j] = buf;\n\t\t\t\t\t\tr = j;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"h[0] = m[i]",
"h[0]",
"h",
"0",
"m[i]",
"m",
"i",
"int r = 0;",
"r",
"0",
"for(int j=1; j<3; j++)\n\t\t\t\t{\n\t\t\t\t\tif(h[j] < h[r])\n\t\t\t\t\t{\n\t\t\t\t\t\tint buf = h[r];\n\t\t\t\t\t\th[r] = h[j];\n\t\t\t\t\t\th[j] = buf;\n\t\t\t\t\t\tr = j;\n\t\t\t\t\t}\n\t\t\t\t}",
"int j=1;",
"int j=1;",
"j",
"1",
"j<3",
"j",
"3",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tif(h[j] < h[r])\n\t\t\t\t\t{\n\t\t\t\t\t\tint buf = h[r];\n\t\t\t\t\t\th[r] = h[j];\n\t\t\t\t\t\th[j] = buf;\n\t\t\t\t\t\tr = j;\n\t\t\t\t\t}\n\t\t\t\t}",
"{\n\t\t\t\t\tif(h[j] < h[r])\n\t\t\t\t\t{\n\t\t\t\t\t\tint buf = h[r];\n\t\t\t\t\t\th[r] = h[j];\n\t\t\t\t\t\th[j] = buf;\n\t\t\t\t\t\tr = j;\n\t\t\t\t\t}\n\t\t\t\t}",
"if(h[j] < h[r])\n\t\t\t\t\t{\n\t\t\t\t\t\tint buf = h[r];\n\t\t\t\t\t\th[r] = h[j];\n\t\t\t\t\t\th[j] = buf;\n\t\t\t\t\t\tr = j;\n\t\t\t\t\t}",
"h[j] < h[r]",
"h[j]",
"h",
"j",
"h[r]",
"h",
"r",
"{\n\t\t\t\t\t\tint buf = h[r];\n\t\t\t\t\t\th[r] = h[j];\n\t\t\t\t\t\th[j] = buf;\n\t\t\t\t\t\tr = j;\n\t\t\t\t\t}",
"int buf = h[r];",
"buf",
"h[r]",
"h",
"r",
"h[r] = h[j]",
"h[r]",
"h",
"r",
"h[j]",
"h",
"j",
"h[j] = buf",
"h[j]",
"h",
"j",
"buf",
"r = j",
"r",
"j",
"for(int i=2; i>=0; i--)\n\t\t{\n\t\t\tSystem.out.println(h[i]+\"\");\n\t\t}",
"int i=2;",
"int i=2;",
"i",
"2",
"i>=0",
"i",
"0",
"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]",
"h",
"i",
"\"\"",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint[] m = new int[10];\n\t\tint[] h = new int[3];\n\t\t\n\t\t\n\t\tfor(int i=0; i<3; i++)\n\t\t{\n\t\t\th[i] = -1;\n\t\t}\n\t\t\n\t\tfor(int i=0; i<10; i++)\n\t\t{\n\t\t\tm[i] = scanner.nextInt();\n\t\t\tif(h[0] < m[i])\n\t\t\t{\t\t\n\t\t\t\th[0] = m[i];\n\t\t\t\tint r = 0;\n\t\t\t\tfor(int j=1; j<3; j++)\n\t\t\t\t{\n\t\t\t\t\tif(h[j] < h[r])\n\t\t\t\t\t{\n\t\t\t\t\t\tint buf = h[r];\n\t\t\t\t\t\th[r] = h[j];\n\t\t\t\t\t\th[j] = buf;\n\t\t\t\t\t\tr = j;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=2; i>=0; i--)\n\t\t{\n\t\t\tSystem.out.println(h[i]+\"\");\n\t\t}\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint[] m = new int[10];\n\t\tint[] h = new int[3];\n\t\t\n\t\t\n\t\tfor(int i=0; i<3; i++)\n\t\t{\n\t\t\th[i] = -1;\n\t\t}\n\t\t\n\t\tfor(int i=0; i<10; i++)\n\t\t{\n\t\t\tm[i] = scanner.nextInt();\n\t\t\tif(h[0] < m[i])\n\t\t\t{\t\t\n\t\t\t\th[0] = m[i];\n\t\t\t\tint r = 0;\n\t\t\t\tfor(int j=1; j<3; j++)\n\t\t\t\t{\n\t\t\t\t\tif(h[j] < h[r])\n\t\t\t\t\t{\n\t\t\t\t\t\tint buf = h[r];\n\t\t\t\t\t\th[r] = h[j];\n\t\t\t\t\t\th[j] = buf;\n\t\t\t\t\t\tr = j;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=2; i>=0; i--)\n\t\t{\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 scanner = new Scanner(System.in);
int[] m = new int[10];
int[] h = new int[3];
for(int i=0; i<3; i++)
{
h[i] = -1;
}
for(int i=0; i<10; i++)
{
m[i] = scanner.nextInt();
if(h[0] < m[i])
{
h[0] = m[i];
int r = 0;
for(int j=1; j<3; j++)
{
if(h[j] < h[r])
{
int buf = h[r];
h[r] = h[j];
h[j] = buf;
r = j;
}
}
}
}
for(int i=2; i>=0; 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,
17,
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
],
[
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
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
14,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
14,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
48,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
12,
68
],
[
68,
69
]
] | [
"import java.util.Arrays;\nimport java.util.Collections;\nimport java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n\tfinal Scanner sc = new Scanner(System.in);\n\tInteger[] ar=new Integer[10];\n\tfor(int i=0;i<10;i++) ar[i]=sc.nextInt();\n\tArrays.sort(ar,Collections.reverseOrder());\n\tfor(int i=0;i<3;i++) System.out.println(ar[i]);\n }\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n\tfinal Scanner sc = new Scanner(System.in);\n\tInteger[] ar=new Integer[10];\n\tfor(int i=0;i<10;i++) ar[i]=sc.nextInt();\n\tArrays.sort(ar,Collections.reverseOrder());\n\tfor(int i=0;i<3;i++) System.out.println(ar[i]);\n }\n}",
"Main",
"public static void main(String[] args){\n\tfinal Scanner sc = new Scanner(System.in);\n\tInteger[] ar=new Integer[10];\n\tfor(int i=0;i<10;i++) ar[i]=sc.nextInt();\n\tArrays.sort(ar,Collections.reverseOrder());\n\tfor(int i=0;i<3;i++) System.out.println(ar[i]);\n }",
"main",
"{\n\tfinal Scanner sc = new Scanner(System.in);\n\tInteger[] ar=new Integer[10];\n\tfor(int i=0;i<10;i++) ar[i]=sc.nextInt();\n\tArrays.sort(ar,Collections.reverseOrder());\n\tfor(int i=0;i<3;i++) System.out.println(ar[i]);\n }",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Integer[] ar=new Integer[10];",
"ar",
"new Integer[10]",
"10",
"for(int i=0;i<10;i++) ar[i]=sc.nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"ar[i]=sc.nextInt();",
"ar[i]=sc.nextInt()",
"ar[i]",
"ar",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(ar,Collections.reverseOrder())",
"Arrays.sort",
"Arrays",
"ar",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"for(int i=0;i<3;i++) System.out.println(ar[i]);",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"System.out.println(ar[i]);",
"System.out.println(ar[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"ar[i]",
"ar",
"i",
"String[] args",
"args"
] | import java.util.Arrays;
import java.util.Collections;
import java.util.Scanner;
class Main{
public static void main(String[] args){
final Scanner sc = new Scanner(System.in);
Integer[] ar=new Integer[10];
for(int i=0;i<10;i++) ar[i]=sc.nextInt();
Arrays.sort(ar,Collections.reverseOrder());
for(int i=0;i<3;i++) System.out.println(ar[i]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
4,
18,
13,
17,
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,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
28,
13,
13,
30,
30,
41,
13,
17,
41,
13,
17,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
2,
2,
13,
13,
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
],
[
130,
11
],
[
130,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
14,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
37,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
58,
59
],
[
14,
60
],
[
60,
61
],
[
60,
62
],
[
60,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
64,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
79,
81
],
[
75,
82
],
[
82,
83
],
[
82,
84
],
[
75,
85
],
[
85,
86
],
[
85,
87
],
[
75,
88
],
[
88,
89
],
[
88,
90
],
[
71,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
99,
100
],
[
99,
101
],
[
95,
102
],
[
102,
103
],
[
102,
104
],
[
91,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
14,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
121,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
119,
125
],
[
121,
126
],
[
12,
127
],
[
127,
128
],
[
0,
129
],
[
129,
130
],
[
129,
131
]
] | [
"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\tint[] data = new int[10];\n\t\tfinal String BR = System.getProperty(\"line.separator\");\n\t\tint first = 0, second = 0, third = 0;\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tdata[i] = Integer.parseInt(in.readLine());\n\t\t}\n\t\tfor (int datum : data) {\n\t\t\tint temp1 = 0, temp2 = 0;\n\t\t\tif (first < datum) {\n\t\t\t\ttemp1 = first;\n\t\t\t\ttemp2 = second;\n\t\t\t\tfirst = datum;\n\t\t\t\tsecond = temp1;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (second < datum) {\n\t\t\t\ttemp2 = second;\n\t\t\t\tsecond = datum;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (third < datum) {\n\t\t\t\tthird = datum;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(first + BR + second + BR + third);\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\tint[] data = new int[10];\n\t\tfinal String BR = System.getProperty(\"line.separator\");\n\t\tint first = 0, second = 0, third = 0;\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tdata[i] = Integer.parseInt(in.readLine());\n\t\t}\n\t\tfor (int datum : data) {\n\t\t\tint temp1 = 0, temp2 = 0;\n\t\t\tif (first < datum) {\n\t\t\t\ttemp1 = first;\n\t\t\t\ttemp2 = second;\n\t\t\t\tfirst = datum;\n\t\t\t\tsecond = temp1;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (second < datum) {\n\t\t\t\ttemp2 = second;\n\t\t\t\tsecond = datum;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (third < datum) {\n\t\t\t\tthird = datum;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(first + BR + second + BR + third);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tint[] data = new int[10];\n\t\tfinal String BR = System.getProperty(\"line.separator\");\n\t\tint first = 0, second = 0, third = 0;\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tdata[i] = Integer.parseInt(in.readLine());\n\t\t}\n\t\tfor (int datum : data) {\n\t\t\tint temp1 = 0, temp2 = 0;\n\t\t\tif (first < datum) {\n\t\t\t\ttemp1 = first;\n\t\t\t\ttemp2 = second;\n\t\t\t\tfirst = datum;\n\t\t\t\tsecond = temp1;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (second < datum) {\n\t\t\t\ttemp2 = second;\n\t\t\t\tsecond = datum;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (third < datum) {\n\t\t\t\tthird = datum;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(first + BR + second + BR + third);\n\t}",
"main",
"{\n\t\tint[] data = new int[10];\n\t\tfinal String BR = System.getProperty(\"line.separator\");\n\t\tint first = 0, second = 0, third = 0;\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tdata[i] = Integer.parseInt(in.readLine());\n\t\t}\n\t\tfor (int datum : data) {\n\t\t\tint temp1 = 0, temp2 = 0;\n\t\t\tif (first < datum) {\n\t\t\t\ttemp1 = first;\n\t\t\t\ttemp2 = second;\n\t\t\t\tfirst = datum;\n\t\t\t\tsecond = temp1;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (second < datum) {\n\t\t\t\ttemp2 = second;\n\t\t\t\tsecond = datum;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (third < datum) {\n\t\t\t\tthird = datum;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(first + BR + second + BR + third);\n\t}",
"int[] data = new int[10];",
"data",
"new int[10]",
"10",
"final String BR = System.getProperty(\"line.separator\");",
"BR",
"System.getProperty(\"line.separator\")",
"System.getProperty",
"System",
"\"line.separator\"",
"int first = 0",
"first",
"0",
"second = 0",
"second",
"0",
"third = 0;",
"third",
"0",
"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\tdata[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\tdata[i] = Integer.parseInt(in.readLine());\n\t\t}",
"{\n\t\t\tdata[i] = Integer.parseInt(in.readLine());\n\t\t}",
"data[i] = Integer.parseInt(in.readLine())",
"data[i]",
"data",
"i",
"Integer.parseInt(in.readLine())",
"Integer.parseInt",
"Integer",
"in.readLine()",
"in.readLine",
"in",
"for (int datum : data) {\n\t\t\tint temp1 = 0, temp2 = 0;\n\t\t\tif (first < datum) {\n\t\t\t\ttemp1 = first;\n\t\t\t\ttemp2 = second;\n\t\t\t\tfirst = datum;\n\t\t\t\tsecond = temp1;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (second < datum) {\n\t\t\t\ttemp2 = second;\n\t\t\t\tsecond = datum;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (third < datum) {\n\t\t\t\tthird = datum;\n\t\t\t}\n\t\t}",
"int datum",
"data",
"{\n\t\t\tint temp1 = 0, temp2 = 0;\n\t\t\tif (first < datum) {\n\t\t\t\ttemp1 = first;\n\t\t\t\ttemp2 = second;\n\t\t\t\tfirst = datum;\n\t\t\t\tsecond = temp1;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (second < datum) {\n\t\t\t\ttemp2 = second;\n\t\t\t\tsecond = datum;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (third < datum) {\n\t\t\t\tthird = datum;\n\t\t\t}\n\t\t}",
"{\n\t\t\tint temp1 = 0, temp2 = 0;\n\t\t\tif (first < datum) {\n\t\t\t\ttemp1 = first;\n\t\t\t\ttemp2 = second;\n\t\t\t\tfirst = datum;\n\t\t\t\tsecond = temp1;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (second < datum) {\n\t\t\t\ttemp2 = second;\n\t\t\t\tsecond = datum;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (third < datum) {\n\t\t\t\tthird = datum;\n\t\t\t}\n\t\t}",
"int temp1 = 0",
"temp1",
"0",
"temp2 = 0;",
"temp2",
"0",
"if (first < datum) {\n\t\t\t\ttemp1 = first;\n\t\t\t\ttemp2 = second;\n\t\t\t\tfirst = datum;\n\t\t\t\tsecond = temp1;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (second < datum) {\n\t\t\t\ttemp2 = second;\n\t\t\t\tsecond = datum;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (third < datum) {\n\t\t\t\tthird = datum;\n\t\t\t}",
"first < datum",
"first",
"datum",
"{\n\t\t\t\ttemp1 = first;\n\t\t\t\ttemp2 = second;\n\t\t\t\tfirst = datum;\n\t\t\t\tsecond = temp1;\n\t\t\t\tthird = temp2;\n\t\t\t}",
"temp1 = first",
"temp1",
"first",
"temp2 = second",
"temp2",
"second",
"first = datum",
"first",
"datum",
"second = temp1",
"second",
"temp1",
"third = temp2",
"third",
"temp2",
"if (second < datum) {\n\t\t\t\ttemp2 = second;\n\t\t\t\tsecond = datum;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (third < datum) {\n\t\t\t\tthird = datum;\n\t\t\t}",
"second < datum",
"second",
"datum",
"{\n\t\t\t\ttemp2 = second;\n\t\t\t\tsecond = datum;\n\t\t\t\tthird = temp2;\n\t\t\t}",
"temp2 = second",
"temp2",
"second",
"second = datum",
"second",
"datum",
"third = temp2",
"third",
"temp2",
"if (third < datum) {\n\t\t\t\tthird = datum;\n\t\t\t}",
"third < datum",
"third",
"datum",
"{\n\t\t\t\tthird = datum;\n\t\t\t}",
"third = datum",
"third",
"datum",
"System.out.println(first + BR + second + BR + third)",
"System.out.println",
"System.out",
"System",
"System.out",
"first + BR + second + BR + third",
"BR",
"second",
"first + BR + second + BR + third",
"first",
"BR",
"second",
"BR",
"third",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tint[] data = new int[10];\n\t\tfinal String BR = System.getProperty(\"line.separator\");\n\t\tint first = 0, second = 0, third = 0;\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tdata[i] = Integer.parseInt(in.readLine());\n\t\t}\n\t\tfor (int datum : data) {\n\t\t\tint temp1 = 0, temp2 = 0;\n\t\t\tif (first < datum) {\n\t\t\t\ttemp1 = first;\n\t\t\t\ttemp2 = second;\n\t\t\t\tfirst = datum;\n\t\t\t\tsecond = temp1;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (second < datum) {\n\t\t\t\ttemp2 = second;\n\t\t\t\tsecond = datum;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (third < datum) {\n\t\t\t\tthird = datum;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(first + BR + second + BR + third);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tint[] data = new int[10];\n\t\tfinal String BR = System.getProperty(\"line.separator\");\n\t\tint first = 0, second = 0, third = 0;\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tdata[i] = Integer.parseInt(in.readLine());\n\t\t}\n\t\tfor (int datum : data) {\n\t\t\tint temp1 = 0, temp2 = 0;\n\t\t\tif (first < datum) {\n\t\t\t\ttemp1 = first;\n\t\t\t\ttemp2 = second;\n\t\t\t\tfirst = datum;\n\t\t\t\tsecond = temp1;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (second < datum) {\n\t\t\t\ttemp2 = second;\n\t\t\t\tsecond = datum;\n\t\t\t\tthird = temp2;\n\t\t\t} else if (third < datum) {\n\t\t\t\tthird = datum;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(first + BR + second + BR + third);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
int[] data = new int[10];
final String BR = System.getProperty("line.separator");
int first = 0, second = 0, third = 0;
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
for (int i = 0; i < 10; i++) {
data[i] = Integer.parseInt(in.readLine());
}
for (int datum : data) {
int temp1 = 0, temp2 = 0;
if (first < datum) {
temp1 = first;
temp2 = second;
first = datum;
second = temp1;
third = temp2;
} else if (second < datum) {
temp2 = second;
second = datum;
third = temp2;
} else if (third < datum) {
third = datum;
}
}
System.out.println(first + BR + second + BR + third);
}
} |
[
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,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
79,
11
],
[
79,
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
],
[
14,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
14,
47
],
[
47,
48
],
[
48,
49
],
[
47,
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
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
63,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
12,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\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\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tint tmp = sc.nextInt();\n\t\t\tlist.add(tmp);\n\t\t}\n\t\t\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\t\t\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tint tmp = list.get(i);\n\t\t\tSystem.out.println(tmp);\n\t\t}\n\t}\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\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tint tmp = sc.nextInt();\n\t\t\tlist.add(tmp);\n\t\t}\n\t\t\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\t\t\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tint tmp = list.get(i);\n\t\t\tSystem.out.println(tmp);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tint tmp = sc.nextInt();\n\t\t\tlist.add(tmp);\n\t\t}\n\t\t\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\t\t\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tint tmp = list.get(i);\n\t\t\tSystem.out.println(tmp);\n\t\t}\n\t}",
"main",
"{\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tint tmp = sc.nextInt();\n\t\t\tlist.add(tmp);\n\t\t}\n\t\t\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\t\t\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tint tmp = list.get(i);\n\t\t\tSystem.out.println(tmp);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"for(int i = 0; i < 10; i++){\n\t\t\tint tmp = sc.nextInt();\n\t\t\tlist.add(tmp);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tint tmp = sc.nextInt();\n\t\t\tlist.add(tmp);\n\t\t}",
"{\n\t\t\tint tmp = sc.nextInt();\n\t\t\tlist.add(tmp);\n\t\t}",
"int tmp = sc.nextInt();",
"tmp",
"sc.nextInt()",
"sc.nextInt",
"sc",
"list.add(tmp)",
"list.add",
"list",
"tmp",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"for(int i = 0; i < 3; i++){\n\t\t\tint tmp = list.get(i);\n\t\t\tSystem.out.println(tmp);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tint tmp = list.get(i);\n\t\t\tSystem.out.println(tmp);\n\t\t}",
"{\n\t\t\tint tmp = list.get(i);\n\t\t\tSystem.out.println(tmp);\n\t\t}",
"int tmp = list.get(i);",
"tmp",
"list.get(i)",
"list.get",
"list",
"i",
"System.out.println(tmp)",
"System.out.println",
"System.out",
"System",
"System.out",
"tmp",
"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\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tint tmp = sc.nextInt();\n\t\t\tlist.add(tmp);\n\t\t}\n\t\t\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\t\t\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tint tmp = list.get(i);\n\t\t\tSystem.out.println(tmp);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tint tmp = sc.nextInt();\n\t\t\tlist.add(tmp);\n\t\t}\n\t\t\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\t\t\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tint tmp = list.get(i);\n\t\t\tSystem.out.println(tmp);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<Integer> list = new ArrayList<Integer>();
for(int i = 0; i < 10; i++){
int tmp = sc.nextInt();
list.add(tmp);
}
Collections.sort(list);
Collections.reverse(list);
for(int i = 0; i < 3; i++){
int tmp = list.get(i);
System.out.println(tmp);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
4,
18,
13,
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
],
[
71,
14
],
[
71,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
36,
37
],
[
17,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
17,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
17,
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
],
[
64,
67
],
[
15,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n List<Integer> list = new ArrayList<Integer>();\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n list.add(Integer.parseInt(scanner.next()));\n }\n Collections.sort(list);\n Collections.reverse(list);\n for (int i = 0; i < 3; i++) {\n System.out.println(list.get(i));\n }\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n List<Integer> list = new ArrayList<Integer>();\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n list.add(Integer.parseInt(scanner.next()));\n }\n Collections.sort(list);\n Collections.reverse(list);\n for (int i = 0; i < 3; i++) {\n System.out.println(list.get(i));\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n List<Integer> list = new ArrayList<Integer>();\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n list.add(Integer.parseInt(scanner.next()));\n }\n Collections.sort(list);\n Collections.reverse(list);\n for (int i = 0; i < 3; i++) {\n System.out.println(list.get(i));\n }\n }",
"main",
"{\n List<Integer> list = new ArrayList<Integer>();\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n list.add(Integer.parseInt(scanner.next()));\n }\n Collections.sort(list);\n Collections.reverse(list);\n for (int i = 0; i < 3; i++) {\n System.out.println(list.get(i));\n }\n }",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while (scanner.hasNext()) {\n list.add(Integer.parseInt(scanner.next()));\n }",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n list.add(Integer.parseInt(scanner.next()));\n }",
"list.add(Integer.parseInt(scanner.next()))",
"list.add",
"list",
"Integer.parseInt(scanner.next())",
"Integer.parseInt",
"Integer",
"scanner.next()",
"scanner.next",
"scanner",
"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 public static void main(String[] args) {\n List<Integer> list = new ArrayList<Integer>();\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n list.add(Integer.parseInt(scanner.next()));\n }\n Collections.sort(list);\n Collections.reverse(list);\n for (int i = 0; i < 3; i++) {\n System.out.println(list.get(i));\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n List<Integer> list = new ArrayList<Integer>();\n Scanner scanner = new Scanner(System.in);\n while (scanner.hasNext()) {\n list.add(Integer.parseInt(scanner.next()));\n }\n Collections.sort(list);\n Collections.reverse(list);\n for (int i = 0; i < 3; i++) {\n System.out.println(list.get(i));\n }\n }\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
List<Integer> list = new ArrayList<Integer>();
Scanner scanner = new Scanner(System.in);
while (scanner.hasNext()) {
list.add(Integer.parseInt(scanner.next()));
}
Collections.sort(list);
Collections.reverse(list);
for (int i = 0; i < 3; i++) {
System.out.println(list.get(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,
4,
18,
18,
13,
13,
4,
18,
13,
2,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
2,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
2,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
86,
11
],
[
86,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
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
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
52,
56
],
[
14,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
65,
69
],
[
14,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
78,
82
],
[
12,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n ArrayList<Integer> out = new ArrayList<Integer>();\n for (int i = 0; i < 10; i++) {\n out.add(input.nextInt());\n }\n Collections.sort(out);\n System.out.println(out.get(out.size()-1));\n System.out.println(out.get(out.size()-2));\n System.out.println(out.get(out.size()-3));\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 input = new Scanner(System.in);\n ArrayList<Integer> out = new ArrayList<Integer>();\n for (int i = 0; i < 10; i++) {\n out.add(input.nextInt());\n }\n Collections.sort(out);\n System.out.println(out.get(out.size()-1));\n System.out.println(out.get(out.size()-2));\n System.out.println(out.get(out.size()-3));\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n ArrayList<Integer> out = new ArrayList<Integer>();\n for (int i = 0; i < 10; i++) {\n out.add(input.nextInt());\n }\n Collections.sort(out);\n System.out.println(out.get(out.size()-1));\n System.out.println(out.get(out.size()-2));\n System.out.println(out.get(out.size()-3));\n }",
"main",
"{\n Scanner input = new Scanner(System.in);\n ArrayList<Integer> out = new ArrayList<Integer>();\n for (int i = 0; i < 10; i++) {\n out.add(input.nextInt());\n }\n Collections.sort(out);\n System.out.println(out.get(out.size()-1));\n System.out.println(out.get(out.size()-2));\n System.out.println(out.get(out.size()-3));\n }",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"ArrayList<Integer> out = new ArrayList<Integer>();",
"out",
"new ArrayList<Integer>()",
"for (int i = 0; i < 10; i++) {\n out.add(input.nextInt());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n out.add(input.nextInt());\n }",
"{\n out.add(input.nextInt());\n }",
"out.add(input.nextInt())",
"out.add",
"out",
"input.nextInt()",
"input.nextInt",
"input",
"Collections.sort(out)",
"Collections.sort",
"Collections",
"out",
"System.out.println(out.get(out.size()-1))",
"System.out.println",
"System.out",
"System",
"System.out",
"out.get(out.size()-1)",
"out.get",
"out",
"out.size()-1",
"out.size()",
"out.size",
"out",
"1",
"System.out.println(out.get(out.size()-2))",
"System.out.println",
"System.out",
"System",
"System.out",
"out.get(out.size()-2)",
"out.get",
"out",
"out.size()-2",
"out.size()",
"out.size",
"out",
"2",
"System.out.println(out.get(out.size()-3))",
"System.out.println",
"System.out",
"System",
"System.out",
"out.get(out.size()-3)",
"out.get",
"out",
"out.size()-3",
"out.size()",
"out.size",
"out",
"3",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n ArrayList<Integer> out = new ArrayList<Integer>();\n for (int i = 0; i < 10; i++) {\n out.add(input.nextInt());\n }\n Collections.sort(out);\n System.out.println(out.get(out.size()-1));\n System.out.println(out.get(out.size()-2));\n System.out.println(out.get(out.size()-3));\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n ArrayList<Integer> out = new ArrayList<Integer>();\n for (int i = 0; i < 10; i++) {\n out.add(input.nextInt());\n }\n Collections.sort(out);\n System.out.println(out.get(out.size()-1));\n System.out.println(out.get(out.size()-2));\n System.out.println(out.get(out.size()-3));\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 input = new Scanner(System.in);
ArrayList<Integer> out = new ArrayList<Integer>();
for (int i = 0; i < 10; i++) {
out.add(input.nextInt());
}
Collections.sort(out);
System.out.println(out.get(out.size()-1));
System.out.println(out.get(out.size()-2));
System.out.println(out.get(out.size()-3));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
14,
2,
13,
17,
30,
38,
5,
13,
30,
30,
4,
18,
13,
30,
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,
18,
13,
4,
18,
13,
13,
41,
13,
2,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
104,
8
],
[
104,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
15,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
15,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
39,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
39,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
39,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
83,
85
],
[
78,
86
],
[
86,
87
],
[
87,
88
],
[
78,
89
],
[
90,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
96,
97
],
[
96,
98
],
[
90,
99
],
[
99,
100
],
[
9,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = null;\n\n\t\ttry {\n\t\t\tsc = new Scanner(System.in);\n\t\t\tint[] hillList = new int[10];\n\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\thillList[i] = sc.nextInt();\n\t\t\t}\n\t\t\tArrays.sort(hillList);\n\t\t\tint n = hillList.length - 1;\n\t\t\tfor (int j = 0; j < 3; j++) {\n\n\t\t\t\tSystem.out.println(hillList[n]);\n\t\t\t\tn--;\n\t\t\t}\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}\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\tScanner sc = null;\n\n\t\ttry {\n\t\t\tsc = new Scanner(System.in);\n\t\t\tint[] hillList = new int[10];\n\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\thillList[i] = sc.nextInt();\n\t\t\t}\n\t\t\tArrays.sort(hillList);\n\t\t\tint n = hillList.length - 1;\n\t\t\tfor (int j = 0; j < 3; j++) {\n\n\t\t\t\tSystem.out.println(hillList[n]);\n\t\t\t\tn--;\n\t\t\t}\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = null;\n\n\t\ttry {\n\t\t\tsc = new Scanner(System.in);\n\t\t\tint[] hillList = new int[10];\n\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\thillList[i] = sc.nextInt();\n\t\t\t}\n\t\t\tArrays.sort(hillList);\n\t\t\tint n = hillList.length - 1;\n\t\t\tfor (int j = 0; j < 3; j++) {\n\n\t\t\t\tSystem.out.println(hillList[n]);\n\t\t\t\tn--;\n\t\t\t}\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = null;\n\n\t\ttry {\n\t\t\tsc = new Scanner(System.in);\n\t\t\tint[] hillList = new int[10];\n\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\thillList[i] = sc.nextInt();\n\t\t\t}\n\t\t\tArrays.sort(hillList);\n\t\t\tint n = hillList.length - 1;\n\t\t\tfor (int j = 0; j < 3; j++) {\n\n\t\t\t\tSystem.out.println(hillList[n]);\n\t\t\t\tn--;\n\t\t\t}\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = null;",
"sc",
"null",
"try {\n\t\t\tsc = new Scanner(System.in);\n\t\t\tint[] hillList = new int[10];\n\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\thillList[i] = sc.nextInt();\n\t\t\t}\n\t\t\tArrays.sort(hillList);\n\t\t\tint n = hillList.length - 1;\n\t\t\tfor (int j = 0; j < 3; j++) {\n\n\t\t\t\tSystem.out.println(hillList[n]);\n\t\t\t\tn--;\n\t\t\t}\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t}",
"Exception e",
"{\n\t\t\tSystem.out.println(e);\n\t\t}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n\t\t\tif (sc != null) {\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"if (sc != null) {\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}",
"sc != null",
"sc",
"null",
"{\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}",
"try {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}",
"catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}",
"Exception e",
"{\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}",
"{\n\t\t\t\t\tsc.close();\n\t\t\t\t}",
"sc.close()",
"sc.close",
"sc",
"{\n\t\t\tsc = new Scanner(System.in);\n\t\t\tint[] hillList = new int[10];\n\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\thillList[i] = sc.nextInt();\n\t\t\t}\n\t\t\tArrays.sort(hillList);\n\t\t\tint n = hillList.length - 1;\n\t\t\tfor (int j = 0; j < 3; j++) {\n\n\t\t\t\tSystem.out.println(hillList[n]);\n\t\t\t\tn--;\n\t\t\t}\n\t\t}",
"sc = new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"int[] hillList = new int[10];",
"hillList",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++) {\n\t\t\t\thillList[i] = sc.nextInt();\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\t\thillList[i] = sc.nextInt();\n\t\t\t}",
"{\n\t\t\t\thillList[i] = sc.nextInt();\n\t\t\t}",
"hillList[i] = sc.nextInt()",
"hillList[i]",
"hillList",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(hillList)",
"Arrays.sort",
"Arrays",
"hillList",
"int n = hillList.length - 1;",
"n",
"hillList.length - 1",
"hillList.length",
"hillList",
"hillList.length",
"1",
"for (int j = 0; j < 3; j++) {\n\n\t\t\t\tSystem.out.println(hillList[n]);\n\t\t\t\tn--;\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < 3",
"j",
"3",
"j++",
"j++",
"j",
"{\n\n\t\t\t\tSystem.out.println(hillList[n]);\n\t\t\t\tn--;\n\t\t\t}",
"{\n\n\t\t\t\tSystem.out.println(hillList[n]);\n\t\t\t\tn--;\n\t\t\t}",
"System.out.println(hillList[n])",
"System.out.println",
"System.out",
"System",
"System.out",
"hillList[n]",
"hillList",
"n",
"n--",
"n",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = null;\n\n\t\ttry {\n\t\t\tsc = new Scanner(System.in);\n\t\t\tint[] hillList = new int[10];\n\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\thillList[i] = sc.nextInt();\n\t\t\t}\n\t\t\tArrays.sort(hillList);\n\t\t\tint n = hillList.length - 1;\n\t\t\tfor (int j = 0; j < 3; j++) {\n\n\t\t\t\tSystem.out.println(hillList[n]);\n\t\t\t\tn--;\n\t\t\t}\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = null;\n\n\t\ttry {\n\t\t\tsc = new Scanner(System.in);\n\t\t\tint[] hillList = new int[10];\n\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\thillList[i] = sc.nextInt();\n\t\t\t}\n\t\t\tArrays.sort(hillList);\n\t\t\tint n = hillList.length - 1;\n\t\t\tfor (int j = 0; j < 3; j++) {\n\n\t\t\t\tSystem.out.println(hillList[n]);\n\t\t\t\tn--;\n\t\t\t}\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t} finally {\n\t\t\tif (sc != null) {\n\t\t\t\ttry {\n\t\t\t\t\tsc.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t// TODO: handle exception\n\t\t\t\t}\n\t\t\t}\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 = null;
try {
sc = new Scanner(System.in);
int[] hillList = new int[10];
for (int i = 0; i < 10; i++) {
hillList[i] = sc.nextInt();
}
Arrays.sort(hillList);
int n = hillList.length - 1;
for (int j = 0; j < 3; j++) {
System.out.println(hillList[n]);
n--;
}
}catch (Exception e) {
System.out.println(e);
} finally {
if (sc != null) {
try {
sc.close();
} catch (Exception e) {
// TODO: handle exception
}
}
}
}
} |
[
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,
18,
13,
13,
4,
18,
13,
2,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
2,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
2,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
80,
5
],
[
80,
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
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
46,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
59,
63
],
[
8,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
72,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.util.*;\npublic class Main{\n public static void main(String[] args){\n\tScanner scan = new Scanner(System.in);\n\tList<Integer> list = new ArrayList<Integer>();\n\tfor(int i = 0; i < 10; i++){\n\t list.add(scan.nextInt());\n\t}\n\n\tCollections.sort(list);\n\tSystem.out.println(list.get(list.size()-1));\n\tSystem.out.println(list.get(list.size()-2));\n\tSystem.out.println(list.get(list.size()-3));\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n\tScanner scan = new Scanner(System.in);\n\tList<Integer> list = new ArrayList<Integer>();\n\tfor(int i = 0; i < 10; i++){\n\t list.add(scan.nextInt());\n\t}\n\n\tCollections.sort(list);\n\tSystem.out.println(list.get(list.size()-1));\n\tSystem.out.println(list.get(list.size()-2));\n\tSystem.out.println(list.get(list.size()-3));\n }\n}",
"Main",
"public static void main(String[] args){\n\tScanner scan = new Scanner(System.in);\n\tList<Integer> list = new ArrayList<Integer>();\n\tfor(int i = 0; i < 10; i++){\n\t list.add(scan.nextInt());\n\t}\n\n\tCollections.sort(list);\n\tSystem.out.println(list.get(list.size()-1));\n\tSystem.out.println(list.get(list.size()-2));\n\tSystem.out.println(list.get(list.size()-3));\n }",
"main",
"{\n\tScanner scan = new Scanner(System.in);\n\tList<Integer> list = new ArrayList<Integer>();\n\tfor(int i = 0; i < 10; i++){\n\t list.add(scan.nextInt());\n\t}\n\n\tCollections.sort(list);\n\tSystem.out.println(list.get(list.size()-1));\n\tSystem.out.println(list.get(list.size()-2));\n\tSystem.out.println(list.get(list.size()-3));\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\t list.add(scan.nextInt());\n\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t list.add(scan.nextInt());\n\t}",
"{\n\t list.add(scan.nextInt());\n\t}",
"list.add(scan.nextInt())",
"list.add",
"list",
"scan.nextInt()",
"scan.nextInt",
"scan",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"System.out.println(list.get(list.size()-1))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(list.size()-1)",
"list.get",
"list",
"list.size()-1",
"list.size()",
"list.size",
"list",
"1",
"System.out.println(list.get(list.size()-2))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(list.size()-2)",
"list.get",
"list",
"list.size()-2",
"list.size()",
"list.size",
"list",
"2",
"System.out.println(list.get(list.size()-3))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(list.size()-3)",
"list.get",
"list",
"list.size()-3",
"list.size()",
"list.size",
"list",
"3",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n\tScanner scan = new Scanner(System.in);\n\tList<Integer> list = new ArrayList<Integer>();\n\tfor(int i = 0; i < 10; i++){\n\t list.add(scan.nextInt());\n\t}\n\n\tCollections.sort(list);\n\tSystem.out.println(list.get(list.size()-1));\n\tSystem.out.println(list.get(list.size()-2));\n\tSystem.out.println(list.get(list.size()-3));\n }\n}",
"public class Main{\n public static void main(String[] args){\n\tScanner scan = new Scanner(System.in);\n\tList<Integer> list = new ArrayList<Integer>();\n\tfor(int i = 0; i < 10; i++){\n\t list.add(scan.nextInt());\n\t}\n\n\tCollections.sort(list);\n\tSystem.out.println(list.get(list.size()-1));\n\tSystem.out.println(list.get(list.size()-2));\n\tSystem.out.println(list.get(list.size()-3));\n }\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args){
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);
System.out.println(list.get(list.size()-1));
System.out.println(list.get(list.size()-2));
System.out.println(list.get(list.size()-3));
}
} |
[
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,
17,
18,
13,
17,
18,
13,
17,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
61,
8
],
[
61,
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
],
[
43,
49
],
[
49,
50
],
[
49,
51
],
[
43,
52
],
[
52,
53
],
[
52,
54
],
[
43,
55
],
[
55,
56
],
[
55,
57
],
[
9,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] | [
"import java.io.*;\nimport java.util.*;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] h = new int[10];\n for(int i = 0; i < 10; i++){\n h[i] = sc.nextInt();\n }\n Arrays.sort(h);\n System.out.printf(\"%d\\n%d\\n%d\\n\", h[9], h[8], h[7]);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] h = new int[10];\n for(int i = 0; i < 10; i++){\n h[i] = sc.nextInt();\n }\n Arrays.sort(h);\n System.out.printf(\"%d\\n%d\\n%d\\n\", h[9], h[8], h[7]);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] h = new int[10];\n for(int i = 0; i < 10; i++){\n h[i] = sc.nextInt();\n }\n Arrays.sort(h);\n System.out.printf(\"%d\\n%d\\n%d\\n\", h[9], h[8], h[7]);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int[] h = new int[10];\n for(int i = 0; i < 10; i++){\n h[i] = sc.nextInt();\n }\n Arrays.sort(h);\n System.out.printf(\"%d\\n%d\\n%d\\n\", h[9], h[8], h[7]);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] h = new int[10];",
"h",
"new int[10]",
"10",
"for(int i = 0; i < 10; i++){\n h[i] = sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n h[i] = sc.nextInt();\n }",
"{\n h[i] = sc.nextInt();\n }",
"h[i] = sc.nextInt()",
"h[i]",
"h",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(h)",
"Arrays.sort",
"Arrays",
"h",
"System.out.printf(\"%d\\n%d\\n%d\\n\", h[9], h[8], h[7])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\\n%d\\n%d\\n\"",
"h[9]",
"h",
"9",
"h[8]",
"h",
"8",
"h[7]",
"h",
"7",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] h = new int[10];\n for(int i = 0; i < 10; i++){\n h[i] = sc.nextInt();\n }\n Arrays.sort(h);\n System.out.printf(\"%d\\n%d\\n%d\\n\", h[9], h[8], h[7]);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] h = new int[10];\n for(int i = 0; i < 10; i++){\n h[i] = sc.nextInt();\n }\n Arrays.sort(h);\n System.out.printf(\"%d\\n%d\\n%d\\n\", h[9], h[8], h[7]);\n }\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] h = new int[10];
for(int i = 0; i < 10; i++){
h[i] = sc.nextInt();
}
Arrays.sort(h);
System.out.printf("%d\n%d\n%d\n", h[9], h[8], h[7]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
20,
17,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
0,
18,
13,
13,
13,
0,
18,
13,
13,
4,
18,
13,
18,
13,
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,
41,
13,
2,
18,
13,
13,
18,
13,
13,
14,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
145,
11
],
[
145,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
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
],
[
40,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
14,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
74,
81
],
[
81,
82
],
[
81,
83
],
[
74,
84
],
[
84,
85
],
[
85,
86
],
[
74,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
95,
97
],
[
88,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
100,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
110,
112
],
[
100,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
14,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
118,
123
],
[
123,
124
],
[
123,
125
],
[
14,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
126,
131
],
[
131,
132
],
[
131,
133
],
[
14,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
134,
139
],
[
139,
140
],
[
139,
141
],
[
12,
142
],
[
142,
143
],
[
0,
144
],
[
144,
145
],
[
144,
146
]
] | [
"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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tString[] heightstr = new String[10];\n\t\tint[] heightint = new int[10];\n\n\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\tstr = br.readLine();\n\t\t\theightstr[i] = str;\n\t\t\theightint[i] = Integer.parseInt(heightstr[i]);\n\t\t}\n\t\tfor (int j = 0; j <= 8; j++) {\n\t\t\tfor (int k = j + 1; k <= 9; k++) {\n\t\t\t\tBoolean isBig = heightint[j] < heightint[k];\n\t\t\t\tif (isBig) {\n\t\t\t\t\tint temporary = heightint[j];\n\t\t\t\t\theightint[j] = heightint[k];\n\t\t\t\t\theightint[k] = temporary;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(heightint[0]);\n\t\tSystem.out.println(heightint[1]);\n\t\tSystem.out.println(heightint[2]);\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tString[] heightstr = new String[10];\n\t\tint[] heightint = new int[10];\n\n\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\tstr = br.readLine();\n\t\t\theightstr[i] = str;\n\t\t\theightint[i] = Integer.parseInt(heightstr[i]);\n\t\t}\n\t\tfor (int j = 0; j <= 8; j++) {\n\t\t\tfor (int k = j + 1; k <= 9; k++) {\n\t\t\t\tBoolean isBig = heightint[j] < heightint[k];\n\t\t\t\tif (isBig) {\n\t\t\t\t\tint temporary = heightint[j];\n\t\t\t\t\theightint[j] = heightint[k];\n\t\t\t\t\theightint[k] = temporary;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(heightint[0]);\n\t\tSystem.out.println(heightint[1]);\n\t\tSystem.out.println(heightint[2]);\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tString[] heightstr = new String[10];\n\t\tint[] heightint = new int[10];\n\n\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\tstr = br.readLine();\n\t\t\theightstr[i] = str;\n\t\t\theightint[i] = Integer.parseInt(heightstr[i]);\n\t\t}\n\t\tfor (int j = 0; j <= 8; j++) {\n\t\t\tfor (int k = j + 1; k <= 9; k++) {\n\t\t\t\tBoolean isBig = heightint[j] < heightint[k];\n\t\t\t\tif (isBig) {\n\t\t\t\t\tint temporary = heightint[j];\n\t\t\t\t\theightint[j] = heightint[k];\n\t\t\t\t\theightint[k] = temporary;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(heightint[0]);\n\t\tSystem.out.println(heightint[1]);\n\t\tSystem.out.println(heightint[2]);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tString[] heightstr = new String[10];\n\t\tint[] heightint = new int[10];\n\n\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\tstr = br.readLine();\n\t\t\theightstr[i] = str;\n\t\t\theightint[i] = Integer.parseInt(heightstr[i]);\n\t\t}\n\t\tfor (int j = 0; j <= 8; j++) {\n\t\t\tfor (int k = j + 1; k <= 9; k++) {\n\t\t\t\tBoolean isBig = heightint[j] < heightint[k];\n\t\t\t\tif (isBig) {\n\t\t\t\t\tint temporary = heightint[j];\n\t\t\t\t\theightint[j] = heightint[k];\n\t\t\t\t\theightint[k] = temporary;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(heightint[0]);\n\t\tSystem.out.println(heightint[1]);\n\t\tSystem.out.println(heightint[2]);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"String[] heightstr = new String[10];",
"heightstr",
"new String[10]",
"10",
"int[] heightint = new int[10];",
"heightint",
"new int[10]",
"10",
"for (int i = 0; i <= 9; i++) {\n\t\t\tstr = br.readLine();\n\t\t\theightstr[i] = str;\n\t\t\theightint[i] = Integer.parseInt(heightstr[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= 9",
"i",
"9",
"i++",
"i++",
"i",
"{\n\t\t\tstr = br.readLine();\n\t\t\theightstr[i] = str;\n\t\t\theightint[i] = Integer.parseInt(heightstr[i]);\n\t\t}",
"{\n\t\t\tstr = br.readLine();\n\t\t\theightstr[i] = str;\n\t\t\theightint[i] = Integer.parseInt(heightstr[i]);\n\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"heightstr[i] = str",
"heightstr[i]",
"heightstr",
"i",
"str",
"heightint[i] = Integer.parseInt(heightstr[i])",
"heightint[i]",
"heightint",
"i",
"Integer.parseInt(heightstr[i])",
"Integer.parseInt",
"Integer",
"heightstr[i]",
"heightstr",
"i",
"for (int j = 0; j <= 8; j++) {\n\t\t\tfor (int k = j + 1; k <= 9; k++) {\n\t\t\t\tBoolean isBig = heightint[j] < heightint[k];\n\t\t\t\tif (isBig) {\n\t\t\t\t\tint temporary = heightint[j];\n\t\t\t\t\theightint[j] = heightint[k];\n\t\t\t\t\theightint[k] = temporary;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j <= 8",
"j",
"8",
"j++",
"j++",
"j",
"{\n\t\t\tfor (int k = j + 1; k <= 9; k++) {\n\t\t\t\tBoolean isBig = heightint[j] < heightint[k];\n\t\t\t\tif (isBig) {\n\t\t\t\t\tint temporary = heightint[j];\n\t\t\t\t\theightint[j] = heightint[k];\n\t\t\t\t\theightint[k] = temporary;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor (int k = j + 1; k <= 9; k++) {\n\t\t\t\tBoolean isBig = heightint[j] < heightint[k];\n\t\t\t\tif (isBig) {\n\t\t\t\t\tint temporary = heightint[j];\n\t\t\t\t\theightint[j] = heightint[k];\n\t\t\t\t\theightint[k] = temporary;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for (int k = j + 1; k <= 9; k++) {\n\t\t\t\tBoolean isBig = heightint[j] < heightint[k];\n\t\t\t\tif (isBig) {\n\t\t\t\t\tint temporary = heightint[j];\n\t\t\t\t\theightint[j] = heightint[k];\n\t\t\t\t\theightint[k] = temporary;\n\t\t\t\t}\n\t\t\t}",
"int k = j + 1;",
"int k = j + 1;",
"k",
"j + 1",
"j",
"1",
"k <= 9",
"k",
"9",
"k++",
"k++",
"k",
"{\n\t\t\t\tBoolean isBig = heightint[j] < heightint[k];\n\t\t\t\tif (isBig) {\n\t\t\t\t\tint temporary = heightint[j];\n\t\t\t\t\theightint[j] = heightint[k];\n\t\t\t\t\theightint[k] = temporary;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tBoolean isBig = heightint[j] < heightint[k];\n\t\t\t\tif (isBig) {\n\t\t\t\t\tint temporary = heightint[j];\n\t\t\t\t\theightint[j] = heightint[k];\n\t\t\t\t\theightint[k] = temporary;\n\t\t\t\t}\n\t\t\t}",
"Boolean isBig = heightint[j] < heightint[k];",
"isBig",
"heightint[j] < heightint[k]",
"heightint[j]",
"heightint",
"j",
"heightint[k]",
"heightint",
"k",
"if (isBig) {\n\t\t\t\t\tint temporary = heightint[j];\n\t\t\t\t\theightint[j] = heightint[k];\n\t\t\t\t\theightint[k] = temporary;\n\t\t\t\t}",
"isBig",
"{\n\t\t\t\t\tint temporary = heightint[j];\n\t\t\t\t\theightint[j] = heightint[k];\n\t\t\t\t\theightint[k] = temporary;\n\t\t\t\t}",
"int temporary = heightint[j];",
"temporary",
"heightint[j]",
"heightint",
"j",
"heightint[j] = heightint[k]",
"heightint[j]",
"heightint",
"j",
"heightint[k]",
"heightint",
"k",
"heightint[k] = temporary",
"heightint[k]",
"heightint",
"k",
"temporary",
"System.out.println(heightint[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"heightint[0]",
"heightint",
"0",
"System.out.println(heightint[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"heightint[1]",
"heightint",
"1",
"System.out.println(heightint[2])",
"System.out.println",
"System.out",
"System",
"System.out",
"heightint[2]",
"heightint",
"2",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tString[] heightstr = new String[10];\n\t\tint[] heightint = new int[10];\n\n\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\tstr = br.readLine();\n\t\t\theightstr[i] = str;\n\t\t\theightint[i] = Integer.parseInt(heightstr[i]);\n\t\t}\n\t\tfor (int j = 0; j <= 8; j++) {\n\t\t\tfor (int k = j + 1; k <= 9; k++) {\n\t\t\t\tBoolean isBig = heightint[j] < heightint[k];\n\t\t\t\tif (isBig) {\n\t\t\t\t\tint temporary = heightint[j];\n\t\t\t\t\theightint[j] = heightint[k];\n\t\t\t\t\theightint[k] = temporary;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(heightint[0]);\n\t\tSystem.out.println(heightint[1]);\n\t\tSystem.out.println(heightint[2]);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tString[] heightstr = new String[10];\n\t\tint[] heightint = new int[10];\n\n\t\tfor (int i = 0; i <= 9; i++) {\n\t\t\tstr = br.readLine();\n\t\t\theightstr[i] = str;\n\t\t\theightint[i] = Integer.parseInt(heightstr[i]);\n\t\t}\n\t\tfor (int j = 0; j <= 8; j++) {\n\t\t\tfor (int k = j + 1; k <= 9; k++) {\n\t\t\t\tBoolean isBig = heightint[j] < heightint[k];\n\t\t\t\tif (isBig) {\n\t\t\t\t\tint temporary = heightint[j];\n\t\t\t\t\theightint[j] = heightint[k];\n\t\t\t\t\theightint[k] = temporary;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(heightint[0]);\n\t\tSystem.out.println(heightint[1]);\n\t\tSystem.out.println(heightint[2]);\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
String[] heightstr = new String[10];
int[] heightint = new int[10];
for (int i = 0; i <= 9; i++) {
str = br.readLine();
heightstr[i] = str;
heightint[i] = Integer.parseInt(heightstr[i]);
}
for (int j = 0; j <= 8; j++) {
for (int k = j + 1; k <= 9; k++) {
Boolean isBig = heightint[j] < heightint[k];
if (isBig) {
int temporary = heightint[j];
heightint[j] = heightint[k];
heightint[k] = temporary;
}
}
}
System.out.println(heightint[0]);
System.out.println(heightint[1]);
System.out.println(heightint[2]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
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,
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
],
[
82,
11
],
[
82,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
20,
22
],
[
20,
23
],
[
20,
24
],
[
20,
25
],
[
20,
26
],
[
20,
27
],
[
20,
28
],
[
20,
29
],
[
20,
30
],
[
14,
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
],
[
14,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
14,
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
],
[
12,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] | [
"import java.util.Arrays;\nimport java.util.Comparator;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[] ) throws Exception {\n Scanner sc = new Scanner(System.in);\n Integer array[] = {1, 1, 1, 1, 1,1, 1, 1, 1, 1}; \n for(int i = 0; i < 10; ++i){\n \tarray[i] = sc.nextInt();\n }\n Arrays.sort(array, Comparator.reverseOrder());\n for(int i = 0; i < 3; ++i){\n System.out.println(array[i]);\n }\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\tpublic static void main(String args[] ) throws Exception {\n Scanner sc = new Scanner(System.in);\n Integer array[] = {1, 1, 1, 1, 1,1, 1, 1, 1, 1}; \n for(int i = 0; i < 10; ++i){\n \tarray[i] = sc.nextInt();\n }\n Arrays.sort(array, Comparator.reverseOrder());\n for(int i = 0; i < 3; ++i){\n System.out.println(array[i]);\n }\n }\n}",
"Main",
"public static void main(String args[] ) throws Exception {\n Scanner sc = new Scanner(System.in);\n Integer array[] = {1, 1, 1, 1, 1,1, 1, 1, 1, 1}; \n for(int i = 0; i < 10; ++i){\n \tarray[i] = sc.nextInt();\n }\n Arrays.sort(array, Comparator.reverseOrder());\n for(int i = 0; i < 3; ++i){\n System.out.println(array[i]);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n Integer array[] = {1, 1, 1, 1, 1,1, 1, 1, 1, 1}; \n for(int i = 0; i < 10; ++i){\n \tarray[i] = sc.nextInt();\n }\n Arrays.sort(array, Comparator.reverseOrder());\n for(int i = 0; i < 3; ++i){\n System.out.println(array[i]);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Integer array[] = {1, 1, 1, 1, 1,1, 1, 1, 1, 1};",
"array",
"{1, 1, 1, 1, 1,1, 1, 1, 1, 1}",
"1",
"1",
"1",
"1",
"1",
"1",
"1",
"1",
"1",
"1",
"for(int i = 0; i < 10; ++i){\n \tarray[i] = sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"++i",
"++i",
"i",
"{\n \tarray[i] = sc.nextInt();\n }",
"{\n \tarray[i] = sc.nextInt();\n }",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(array, Comparator.reverseOrder())",
"Arrays.sort",
"Arrays",
"array",
"Comparator.reverseOrder()",
"Comparator.reverseOrder",
"Comparator",
"for(int i = 0; i < 3; ++i){\n System.out.println(array[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"++i",
"++i",
"i",
"{\n System.out.println(array[i]);\n }",
"{\n System.out.println(array[i]);\n }",
"System.out.println(array[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"array[i]",
"array",
"i",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[] ) throws Exception {\n Scanner sc = new Scanner(System.in);\n Integer array[] = {1, 1, 1, 1, 1,1, 1, 1, 1, 1}; \n for(int i = 0; i < 10; ++i){\n \tarray[i] = sc.nextInt();\n }\n Arrays.sort(array, Comparator.reverseOrder());\n for(int i = 0; i < 3; ++i){\n System.out.println(array[i]);\n }\n }\n}",
"public class Main {\n\tpublic static void main(String args[] ) throws Exception {\n Scanner sc = new Scanner(System.in);\n Integer array[] = {1, 1, 1, 1, 1,1, 1, 1, 1, 1}; \n for(int i = 0; i < 10; ++i){\n \tarray[i] = sc.nextInt();\n }\n Arrays.sort(array, Comparator.reverseOrder());\n for(int i = 0; i < 3; ++i){\n System.out.println(array[i]);\n }\n }\n}",
"Main"
] | import java.util.Arrays;
import java.util.Comparator;
import java.util.Scanner;
public class Main {
public static void main(String args[] ) throws Exception {
Scanner sc = new Scanner(System.in);
Integer array[] = {1, 1, 1, 1, 1,1, 1, 1, 1, 1};
for(int i = 0; i < 10; ++i){
array[i] = sc.nextInt();
}
Arrays.sort(array, Comparator.reverseOrder());
for(int i = 0; i < 3; ++i){
System.out.println(array[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
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
],
[
62,
8
],
[
62,
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
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
11,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
53,
57
],
[
53,
58
],
[
9,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] | [
"import java.util.*;\nimport java.lang.*;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n while (sc.hasNext()) list.add(sc.nextInt());\n Collections.sort(list);\n for (int i = 0; i < 3; i++) System.out.println(list.get(list.size() - i - 1));\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n while (sc.hasNext()) list.add(sc.nextInt());\n Collections.sort(list);\n for (int i = 0; i < 3; i++) System.out.println(list.get(list.size() - i - 1));\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n while (sc.hasNext()) list.add(sc.nextInt());\n Collections.sort(list);\n for (int i = 0; i < 3; i++) System.out.println(list.get(list.size() - i - 1));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n while (sc.hasNext()) list.add(sc.nextInt());\n Collections.sort(list);\n for (int i = 0; i < 3; i++) System.out.println(list.get(list.size() - i - 1));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"while (sc.hasNext()) list.add(sc.nextInt());",
"sc.hasNext()",
"sc.hasNext",
"sc",
"list.add(sc.nextInt())",
"list.add",
"list",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"for (int i = 0; i < 3; i++) System.out.println(list.get(list.size() - i - 1));",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"System.out.println(list.get(list.size() - i - 1));",
"System.out.println(list.get(list.size() - i - 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(list.size() - i - 1)",
"list.get",
"list",
"list.size() - i - 1",
"list.size() - i - 1",
"list.size()",
"list.size",
"list",
"i",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n while (sc.hasNext()) list.add(sc.nextInt());\n Collections.sort(list);\n for (int i = 0; i < 3; i++) System.out.println(list.get(list.size() - i - 1));\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n while (sc.hasNext()) list.add(sc.nextInt());\n Collections.sort(list);\n for (int i = 0; i < 3; i++) System.out.println(list.get(list.size() - i - 1));\n }\n}",
"Main"
] | import java.util.*;
import java.lang.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
List<Integer> list = new ArrayList<Integer>();
while (sc.hasNext()) list.add(sc.nextInt());
Collections.sort(list);
for (int i = 0; i < 3; i++) System.out.println(list.get(list.size() - 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,
41,
13,
42,
2,
2,
0,
13,
4,
18,
13,
17,
2,
4,
18,
13,
17,
30,
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,
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
],
[
75,
17
],
[
75,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
38,
42
],
[
29,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
20,
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
],
[
70,
71
],
[
18,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Collections;\nimport java.util.PriorityQueue;\n\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tPriorityQueue<Integer> pq = new PriorityQueue<Integer>(3, Collections.reverseOrder());\n\t BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t String s;\n\t while ((s = in.readLine()) != null && s.length() != 0) {\n\t \tpq.add(Integer.parseInt(s));\n//\t \tSystem.out.println(s);\n\t // An empty line or Ctrl-Z terminates the program\t \n\t }\n\t for (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(pq.poll());\n\t\t}\n\t \n\t}\n\t\n\t\n\t\n\t\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.PriorityQueue;",
"PriorityQueue",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tPriorityQueue<Integer> pq = new PriorityQueue<Integer>(3, Collections.reverseOrder());\n\t BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t String s;\n\t while ((s = in.readLine()) != null && s.length() != 0) {\n\t \tpq.add(Integer.parseInt(s));\n//\t \tSystem.out.println(s);\n\t // An empty line or Ctrl-Z terminates the program\t \n\t }\n\t for (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(pq.poll());\n\t\t}\n\t \n\t}\n\t\n\t\n\t\n\t\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tPriorityQueue<Integer> pq = new PriorityQueue<Integer>(3, Collections.reverseOrder());\n\t BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t String s;\n\t while ((s = in.readLine()) != null && s.length() != 0) {\n\t \tpq.add(Integer.parseInt(s));\n//\t \tSystem.out.println(s);\n\t // An empty line or Ctrl-Z terminates the program\t \n\t }\n\t for (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(pq.poll());\n\t\t}\n\t \n\t}",
"main",
"{\n\t\tPriorityQueue<Integer> pq = new PriorityQueue<Integer>(3, Collections.reverseOrder());\n\t BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t String s;\n\t while ((s = in.readLine()) != null && s.length() != 0) {\n\t \tpq.add(Integer.parseInt(s));\n//\t \tSystem.out.println(s);\n\t // An empty line or Ctrl-Z terminates the program\t \n\t }\n\t for (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(pq.poll());\n\t\t}\n\t \n\t}",
"PriorityQueue<Integer> pq = new PriorityQueue<Integer>(3, Collections.reverseOrder());",
"pq",
"new PriorityQueue<Integer>(3, Collections.reverseOrder())",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"String s;",
"s",
"while ((s = in.readLine()) != null && s.length() != 0) {\n\t \tpq.add(Integer.parseInt(s));\n//\t \tSystem.out.println(s);\n\t // An empty line or Ctrl-Z terminates the program\t \n\t }",
"(s = in.readLine()) != null && s.length() != 0",
"(s = in.readLine()) != null",
"(s = in.readLine())",
"s",
"in.readLine()",
"in.readLine",
"in",
"null",
"s.length() != 0",
"s.length()",
"s.length",
"s",
"0",
"{\n\t \tpq.add(Integer.parseInt(s));\n//\t \tSystem.out.println(s);\n\t // An empty line or Ctrl-Z terminates the program\t \n\t }",
"pq.add(Integer.parseInt(s))",
"pq.add",
"pq",
"Integer.parseInt(s)",
"Integer.parseInt",
"Integer",
"s",
"for (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(pq.poll());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(pq.poll());\n\t\t}",
"{\n\t\t\tSystem.out.println(pq.poll());\n\t\t}",
"System.out.println(pq.poll())",
"System.out.println",
"System.out",
"System",
"System.out",
"pq.poll()",
"pq.poll",
"pq",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tPriorityQueue<Integer> pq = new PriorityQueue<Integer>(3, Collections.reverseOrder());\n\t BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t String s;\n\t while ((s = in.readLine()) != null && s.length() != 0) {\n\t \tpq.add(Integer.parseInt(s));\n//\t \tSystem.out.println(s);\n\t // An empty line or Ctrl-Z terminates the program\t \n\t }\n\t for (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(pq.poll());\n\t\t}\n\t \n\t}\n\t\n\t\n\t\n\t\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tPriorityQueue<Integer> pq = new PriorityQueue<Integer>(3, Collections.reverseOrder());\n\t BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t String s;\n\t while ((s = in.readLine()) != null && s.length() != 0) {\n\t \tpq.add(Integer.parseInt(s));\n//\t \tSystem.out.println(s);\n\t // An empty line or Ctrl-Z terminates the program\t \n\t }\n\t for (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(pq.poll());\n\t\t}\n\t \n\t}\n\t\n\t\n\t\n\t\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Collections;
import java.util.PriorityQueue;
public class Main {
public static void main(String[] args) throws IOException {
PriorityQueue<Integer> pq = new PriorityQueue<Integer>(3, Collections.reverseOrder());
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String s;
while ((s = in.readLine()) != null && s.length() != 0) {
pq.add(Integer.parseInt(s));
// System.out.println(s);
// An empty line or Ctrl-Z terminates the program
}
for (int i = 0; i < 3; i++) {
System.out.println(pq.poll());
}
}
} |
[
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,
41,
13,
4,
18,
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,
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
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
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
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int[] arr = new int[10];\n for (int i =0; i< 10; i++){\n int a = scan.nextInt();\n arr[i] = a;\n }\n Arrays.sort(arr);\n System.out.println(arr[9]);\n System.out.println(arr[8]);\n System.out.println(arr[7]);\n\n }\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int[] arr = new int[10];\n for (int i =0; i< 10; i++){\n int a = scan.nextInt();\n arr[i] = a;\n }\n Arrays.sort(arr);\n System.out.println(arr[9]);\n System.out.println(arr[8]);\n System.out.println(arr[7]);\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int[] arr = new int[10];\n for (int i =0; i< 10; i++){\n int a = scan.nextInt();\n arr[i] = a;\n }\n Arrays.sort(arr);\n System.out.println(arr[9]);\n System.out.println(arr[8]);\n System.out.println(arr[7]);\n\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int[] arr = new int[10];\n for (int i =0; i< 10; i++){\n int a = scan.nextInt();\n arr[i] = a;\n }\n Arrays.sort(arr);\n System.out.println(arr[9]);\n System.out.println(arr[8]);\n System.out.println(arr[7]);\n\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] arr = new int[10];",
"arr",
"new int[10]",
"10",
"for (int i =0; i< 10; i++){\n int a = scan.nextInt();\n arr[i] = a;\n }",
"int i =0;",
"int i =0;",
"i",
"0",
"i< 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n int a = scan.nextInt();\n arr[i] = a;\n }",
"{\n int a = scan.nextInt();\n arr[i] = a;\n }",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"arr[i] = a",
"arr[i]",
"arr",
"i",
"a",
"Arrays.sort(arr)",
"Arrays.sort",
"Arrays",
"arr",
"System.out.println(arr[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"arr[9]",
"arr",
"9",
"System.out.println(arr[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"arr[8]",
"arr",
"8",
"System.out.println(arr[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"arr[7]",
"arr",
"7",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int[] arr = new int[10];\n for (int i =0; i< 10; i++){\n int a = scan.nextInt();\n arr[i] = a;\n }\n Arrays.sort(arr);\n System.out.println(arr[9]);\n System.out.println(arr[8]);\n System.out.println(arr[7]);\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int[] arr = new int[10];\n for (int i =0; i< 10; i++){\n int a = scan.nextInt();\n arr[i] = a;\n }\n Arrays.sort(arr);\n System.out.println(arr[9]);\n System.out.println(arr[8]);\n System.out.println(arr[7]);\n\n }\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int[] arr = new int[10];
for (int i =0; i< 10; i++){
int a = scan.nextInt();
arr[i] = a;
}
Arrays.sort(arr);
System.out.println(arr[9]);
System.out.println(arr[8]);
System.out.println(arr[7]);
}
} |
[
7,
15,
13,
17,
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,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
95,
8
],
[
95,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
11,
24
],
[
24,
25
],
[
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
],
[
71,
73
],
[
11,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
11,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
11,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
9,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
] | [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n Scanner sc=new Scanner(System.in);\n int max1=0,max2=0,max3=0;\n for (int i=1;i<=10;i++){\n int h=sc.nextInt();\n if (h>max1){\n max3=max2;\n max2=max1;\n max1=h;\n }\n else if (h>max2){\n max3=max2;\n max2=h;\n }\n else if (h>max3)\n max3=h;\n }\n System.out.println(max1);\n System.out.println(max2);\n System.out.println(max3);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws IOException {\n Scanner sc=new Scanner(System.in);\n int max1=0,max2=0,max3=0;\n for (int i=1;i<=10;i++){\n int h=sc.nextInt();\n if (h>max1){\n max3=max2;\n max2=max1;\n max1=h;\n }\n else if (h>max2){\n max3=max2;\n max2=h;\n }\n else if (h>max3)\n max3=h;\n }\n System.out.println(max1);\n System.out.println(max2);\n System.out.println(max3);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n Scanner sc=new Scanner(System.in);\n int max1=0,max2=0,max3=0;\n for (int i=1;i<=10;i++){\n int h=sc.nextInt();\n if (h>max1){\n max3=max2;\n max2=max1;\n max1=h;\n }\n else if (h>max2){\n max3=max2;\n max2=h;\n }\n else if (h>max3)\n max3=h;\n }\n System.out.println(max1);\n System.out.println(max2);\n System.out.println(max3);\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n int max1=0,max2=0,max3=0;\n for (int i=1;i<=10;i++){\n int h=sc.nextInt();\n if (h>max1){\n max3=max2;\n max2=max1;\n max1=h;\n }\n else if (h>max2){\n max3=max2;\n max2=h;\n }\n else if (h>max3)\n max3=h;\n }\n System.out.println(max1);\n System.out.println(max2);\n System.out.println(max3);\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int max1=0",
"max1",
"0",
"max2=0",
"max2",
"0",
"max3=0;",
"max3",
"0",
"for (int i=1;i<=10;i++){\n int h=sc.nextInt();\n if (h>max1){\n max3=max2;\n max2=max1;\n max1=h;\n }\n else if (h>max2){\n max3=max2;\n max2=h;\n }\n else if (h>max3)\n max3=h;\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=10",
"i",
"10",
"i++",
"i++",
"i",
"{\n int h=sc.nextInt();\n if (h>max1){\n max3=max2;\n max2=max1;\n max1=h;\n }\n else if (h>max2){\n max3=max2;\n max2=h;\n }\n else if (h>max3)\n max3=h;\n }",
"{\n int h=sc.nextInt();\n if (h>max1){\n max3=max2;\n max2=max1;\n max1=h;\n }\n else if (h>max2){\n max3=max2;\n max2=h;\n }\n else if (h>max3)\n max3=h;\n }",
"int h=sc.nextInt();",
"h",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (h>max1){\n max3=max2;\n max2=max1;\n max1=h;\n }\n else if (h>max2){\n max3=max2;\n max2=h;\n }\n else if (h>max3)\n max3=h;",
"h>max1",
"h",
"max1",
"{\n max3=max2;\n max2=max1;\n max1=h;\n }",
"max3=max2",
"max3",
"max2",
"max2=max1",
"max2",
"max1",
"max1=h",
"max1",
"h",
"if (h>max2){\n max3=max2;\n max2=h;\n }\n else if (h>max3)\n max3=h;",
"h>max2",
"h",
"max2",
"{\n max3=max2;\n max2=h;\n }",
"max3=max2",
"max3",
"max2",
"max2=h",
"max2",
"h",
"if (h>max3)\n max3=h;",
"h>max3",
"h",
"max3",
"max3=h",
"max3",
"h",
"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 public static void main(String[] args) throws IOException {\n Scanner sc=new Scanner(System.in);\n int max1=0,max2=0,max3=0;\n for (int i=1;i<=10;i++){\n int h=sc.nextInt();\n if (h>max1){\n max3=max2;\n max2=max1;\n max1=h;\n }\n else if (h>max2){\n max3=max2;\n max2=h;\n }\n else if (h>max3)\n max3=h;\n }\n System.out.println(max1);\n System.out.println(max2);\n System.out.println(max3);\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n Scanner sc=new Scanner(System.in);\n int max1=0,max2=0,max3=0;\n for (int i=1;i<=10;i++){\n int h=sc.nextInt();\n if (h>max1){\n max3=max2;\n max2=max1;\n max1=h;\n }\n else if (h>max2){\n max3=max2;\n max2=h;\n }\n else if (h>max3)\n max3=h;\n }\n System.out.println(max1);\n System.out.println(max2);\n System.out.println(max3);\n }\n}",
"Main"
] | import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
Scanner sc=new Scanner(System.in);
int max1=0,max2=0,max3=0;
for (int i=1;i<=10;i++){
int h=sc.nextInt();
if (h>max1){
max3=max2;
max2=max1;
max1=h;
}
else if (h>max2){
max3=max2;
max2=h;
}
else if (h>max3)
max3=h;
}
System.out.println(max1);
System.out.println(max2);
System.out.println(max3);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
41,
13,
20,
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,
16
],
[
16,
17
],
[
11,
18
],
[
18,
19
],
[
18,
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{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tint a[] = new int[10];\n\t\tint i;\n \n\t\tScanner cin = new Scanner(System.in);\n\t\tfor (i = 0; i < 10; i++){\n\t\t\ta[i] = cin.nextInt();\n\t\t}\n \n\t\tArrays.sort(a);\n \n\t\tfor (i = 9; i > 6; i--){\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tint a[] = new int[10];\n\t\tint i;\n \n\t\tScanner cin = new Scanner(System.in);\n\t\tfor (i = 0; i < 10; i++){\n\t\t\ta[i] = cin.nextInt();\n\t\t}\n \n\t\tArrays.sort(a);\n \n\t\tfor (i = 9; i > 6; i--){\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tint a[] = new int[10];\n\t\tint i;\n \n\t\tScanner cin = new Scanner(System.in);\n\t\tfor (i = 0; i < 10; i++){\n\t\t\ta[i] = cin.nextInt();\n\t\t}\n \n\t\tArrays.sort(a);\n \n\t\tfor (i = 9; i > 6; i--){\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tint a[] = new int[10];\n\t\tint i;\n \n\t\tScanner cin = new Scanner(System.in);\n\t\tfor (i = 0; i < 10; i++){\n\t\t\ta[i] = cin.nextInt();\n\t\t}\n \n\t\tArrays.sort(a);\n \n\t\tfor (i = 9; i > 6; i--){\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}",
"int a[] = new int[10];",
"a",
"new int[10]",
"10",
"int i;",
"i",
"Scanner cin = new Scanner(System.in);",
"cin",
"new Scanner(System.in)",
"for (i = 0; i < 10; i++){\n\t\t\ta[i] = cin.nextInt();\n\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = cin.nextInt();\n\t\t}",
"{\n\t\t\ta[i] = cin.nextInt();\n\t\t}",
"a[i] = cin.nextInt()",
"a[i]",
"a",
"i",
"cin.nextInt()",
"cin.nextInt",
"cin",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"for (i = 9; i > 6; i--){\n\t\t\tSystem.out.println(a[i]);\n\t\t}",
"i = 9;",
"i = 9",
"i",
"9",
"i > 6",
"i",
"6",
"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"
] | import java.util.Scanner;
import java.util.Arrays;
class Main
{
public static void main (String[] args) throws java.lang.Exception
{
int a[] = new int[10];
int i;
Scanner cin = new Scanner(System.in);
for (i = 0; i < 10; i++){
a[i] = cin.nextInt();
}
Arrays.sort(a);
for (i = 9; i > 6; 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,
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,
4,
18,
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
],
[
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
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
64,
66
],
[
9,
67
],
[
67,
68
]
] | [
"/* Name of the class has to be \"Main\" only if the class is public. */\nimport java.util.Scanner;\nimport java.util.Arrays;\n\nclass Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tint [] x = new int[10];\n\t\t\n\t\tScanner cin = new Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n \t\tx[i] = cin.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(x);\n\t\t\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\t System.out.println(String.valueOf(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{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tint [] x = new int[10];\n\t\t\n\t\tScanner cin = new Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n \t\tx[i] = cin.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(x);\n\t\t\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\t System.out.println(String.valueOf(x[i]));\n\t\t}\n\t}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tint [] x = new int[10];\n\t\t\n\t\tScanner cin = new Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n \t\tx[i] = cin.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(x);\n\t\t\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\t System.out.println(String.valueOf(x[i]));\n\t\t}\n\t}",
"main",
"{\n\t\tint [] x = new int[10];\n\t\t\n\t\tScanner cin = new Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n \t\tx[i] = cin.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(x);\n\t\t\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\t System.out.println(String.valueOf(x[i]));\n\t\t}\n\t}",
"int [] x = new int[10];",
"x",
"new int[10]",
"10",
"Scanner cin = new Scanner(System.in);",
"cin",
"new Scanner(System.in)",
"for (int i = 0; i < 10; i++) {\n \t\tx[i] = cin.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n \t\tx[i] = cin.nextInt();\n\t\t}",
"{\n \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 (int i = 9; i >= 7; i--) {\n\t\t\t System.out.println(String.valueOf(x[i]));\n\t\t}",
"int i = 9;",
"int i = 9;",
"i",
"9",
"i >= 7",
"i",
"7",
"i--",
"i--",
"i",
"{\n\t\t\t System.out.println(String.valueOf(x[i]));\n\t\t}",
"{\n\t\t\t System.out.println(String.valueOf(x[i]));\n\t\t}",
"System.out.println(String.valueOf(x[i]))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(x[i])",
"String.valueOf",
"String",
"x[i]",
"x",
"i",
"String[] args",
"args"
] | /* Name of the class has to be "Main" only if the class is public. */
import java.util.Scanner;
import java.util.Arrays;
class Main
{
public static void main (String[] args) throws java.lang.Exception
{
int [] x = new int[10];
Scanner cin = new Scanner(System.in);
for (int i = 0; i < 10; i++) {
x[i] = cin.nextInt();
}
Arrays.sort(x);
for (int i = 9; i >= 7; i--) {
System.out.println(String.valueOf(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,
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,
4,
18,
18,
13,
13,
18,
13,
2,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
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
],
[
35,
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
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
9,
67
],
[
67,
68
]
] | [
"import java.io.*;import java.util.*;class Main{public static void main(String[] args) throws IOException{BufferedReader br=new BufferedReader(new InputStreamReader(System.in));int[] k=new int[10];for(int i=0;i<10;i++)k[i]=Integer.parseInt(br.readLine());Arrays.sort(k);for(int i=0;i<3;i++)System.out.println(k[9-i]);}}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{public static void main(String[] args) throws IOException{BufferedReader br=new BufferedReader(new InputStreamReader(System.in));int[] k=new int[10];for(int i=0;i<10;i++)k[i]=Integer.parseInt(br.readLine());Arrays.sort(k);for(int i=0;i<3;i++)System.out.println(k[9-i]);}}",
"Main",
"public static void main(String[] args) throws IOException{BufferedReader br=new BufferedReader(new InputStreamReader(System.in));int[] k=new int[10];for(int i=0;i<10;i++)k[i]=Integer.parseInt(br.readLine());Arrays.sort(k);for(int i=0;i<3;i++)System.out.println(k[9-i]);}",
"main",
"{BufferedReader br=new BufferedReader(new InputStreamReader(System.in));int[] k=new int[10];for(int i=0;i<10;i++)k[i]=Integer.parseInt(br.readLine());Arrays.sort(k);for(int i=0;i<3;i++)System.out.println(k[9-i]);}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] k=new int[10];",
"k",
"new int[10]",
"10",
"for(int i=0;i<10;i++)k[i]=Integer.parseInt(br.readLine());",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"k[i]=Integer.parseInt(br.readLine());",
"k[i]=Integer.parseInt(br.readLine())",
"k[i]",
"k",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(k)",
"Arrays.sort",
"Arrays",
"k",
"for(int i=0;i<3;i++)System.out.println(k[9-i]);",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"System.out.println(k[9-i]);",
"System.out.println(k[9-i])",
"System.out.println",
"System.out",
"System",
"System.out",
"k[9-i]",
"k",
"9-i",
"9",
"i",
"String[] args",
"args"
] | import java.io.*;import java.util.*;class Main{public static void main(String[] args) throws IOException{BufferedReader br=new BufferedReader(new InputStreamReader(System.in));int[] k=new int[10];for(int i=0;i<10;i++)k[i]=Integer.parseInt(br.readLine());Arrays.sort(k);for(int i=0;i<3;i++)System.out.println(k[9-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,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
41,
13,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
13,
30,
0,
13,
18,
13,
13,
0,
13,
13,
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
],
[
128,
5
],
[
128,
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
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
48,
54
],
[
54,
55
],
[
54,
56
],
[
48,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
57,
64
],
[
64,
65
],
[
64,
66
],
[
57,
67
],
[
67,
68
],
[
68,
69
],
[
57,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
72,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
78,
84
],
[
84,
85
],
[
84,
86
],
[
48,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
48,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
96,
98
],
[
48,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
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
],
[
0,
127
],
[
127,
128
],
[
127,
129
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] data = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tdata[i] = scan.nextInt();\n\t\t}\n\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint a = data[i];\n\t\t\tint indexMin = i;\n\t\t\tfor (int k = i + 1; k < 10; k++) {\n\t\t\t\tif (data[k] < a) {\n\t\t\t\t\ta = data[k];\n\t\t\t\t\tindexMin = k;\n\t\t\t\t}\n\t\t\t}\n\t\t\tint temp = data[i];\n\t\t\tdata[i] = data[indexMin];\n\t\t\tdata[indexMin] = temp;\n\t\t}\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\tSystem.out.println(data[i]);\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] data = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tdata[i] = scan.nextInt();\n\t\t}\n\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint a = data[i];\n\t\t\tint indexMin = i;\n\t\t\tfor (int k = i + 1; k < 10; k++) {\n\t\t\t\tif (data[k] < a) {\n\t\t\t\t\ta = data[k];\n\t\t\t\t\tindexMin = k;\n\t\t\t\t}\n\t\t\t}\n\t\t\tint temp = data[i];\n\t\t\tdata[i] = data[indexMin];\n\t\t\tdata[indexMin] = temp;\n\t\t}\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\tSystem.out.println(data[i]);\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] data = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tdata[i] = scan.nextInt();\n\t\t}\n\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint a = data[i];\n\t\t\tint indexMin = i;\n\t\t\tfor (int k = i + 1; k < 10; k++) {\n\t\t\t\tif (data[k] < a) {\n\t\t\t\t\ta = data[k];\n\t\t\t\t\tindexMin = k;\n\t\t\t\t}\n\t\t\t}\n\t\t\tint temp = data[i];\n\t\t\tdata[i] = data[indexMin];\n\t\t\tdata[indexMin] = temp;\n\t\t}\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\tSystem.out.println(data[i]);\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] data = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tdata[i] = scan.nextInt();\n\t\t}\n\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint a = data[i];\n\t\t\tint indexMin = i;\n\t\t\tfor (int k = i + 1; k < 10; k++) {\n\t\t\t\tif (data[k] < a) {\n\t\t\t\t\ta = data[k];\n\t\t\t\t\tindexMin = k;\n\t\t\t\t}\n\t\t\t}\n\t\t\tint temp = data[i];\n\t\t\tdata[i] = data[indexMin];\n\t\t\tdata[indexMin] = temp;\n\t\t}\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\tSystem.out.println(data[i]);\n\t\t}\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] data = new int[10];",
"data",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++) {\n\t\t\tdata[i] = scan.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tdata[i] = scan.nextInt();\n\t\t}",
"{\n\t\t\tdata[i] = scan.nextInt();\n\t\t}",
"data[i] = scan.nextInt()",
"data[i]",
"data",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for (int i = 0; i < 10; i++) {\n\t\t\tint a = data[i];\n\t\t\tint indexMin = i;\n\t\t\tfor (int k = i + 1; k < 10; k++) {\n\t\t\t\tif (data[k] < a) {\n\t\t\t\t\ta = data[k];\n\t\t\t\t\tindexMin = k;\n\t\t\t\t}\n\t\t\t}\n\t\t\tint temp = data[i];\n\t\t\tdata[i] = data[indexMin];\n\t\t\tdata[indexMin] = temp;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tint a = data[i];\n\t\t\tint indexMin = i;\n\t\t\tfor (int k = i + 1; k < 10; k++) {\n\t\t\t\tif (data[k] < a) {\n\t\t\t\t\ta = data[k];\n\t\t\t\t\tindexMin = k;\n\t\t\t\t}\n\t\t\t}\n\t\t\tint temp = data[i];\n\t\t\tdata[i] = data[indexMin];\n\t\t\tdata[indexMin] = temp;\n\t\t}",
"{\n\t\t\tint a = data[i];\n\t\t\tint indexMin = i;\n\t\t\tfor (int k = i + 1; k < 10; k++) {\n\t\t\t\tif (data[k] < a) {\n\t\t\t\t\ta = data[k];\n\t\t\t\t\tindexMin = k;\n\t\t\t\t}\n\t\t\t}\n\t\t\tint temp = data[i];\n\t\t\tdata[i] = data[indexMin];\n\t\t\tdata[indexMin] = temp;\n\t\t}",
"int a = data[i];",
"a",
"data[i]",
"data",
"i",
"int indexMin = i;",
"indexMin",
"i",
"for (int k = i + 1; k < 10; k++) {\n\t\t\t\tif (data[k] < a) {\n\t\t\t\t\ta = data[k];\n\t\t\t\t\tindexMin = k;\n\t\t\t\t}\n\t\t\t}",
"int k = i + 1;",
"int k = i + 1;",
"k",
"i + 1",
"i",
"1",
"k < 10",
"k",
"10",
"k++",
"k++",
"k",
"{\n\t\t\t\tif (data[k] < a) {\n\t\t\t\t\ta = data[k];\n\t\t\t\t\tindexMin = k;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif (data[k] < a) {\n\t\t\t\t\ta = data[k];\n\t\t\t\t\tindexMin = k;\n\t\t\t\t}\n\t\t\t}",
"if (data[k] < a) {\n\t\t\t\t\ta = data[k];\n\t\t\t\t\tindexMin = k;\n\t\t\t\t}",
"data[k] < a",
"data[k]",
"data",
"k",
"a",
"{\n\t\t\t\t\ta = data[k];\n\t\t\t\t\tindexMin = k;\n\t\t\t\t}",
"a = data[k]",
"a",
"data[k]",
"data",
"k",
"indexMin = k",
"indexMin",
"k",
"int temp = data[i];",
"temp",
"data[i]",
"data",
"i",
"data[i] = data[indexMin]",
"data[i]",
"data",
"i",
"data[indexMin]",
"data",
"indexMin",
"data[indexMin] = temp",
"data[indexMin]",
"data",
"indexMin",
"temp",
"for (int i = 9; i >= 7; i--) {\n\t\t\tSystem.out.println(data[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(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",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] data = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tdata[i] = scan.nextInt();\n\t\t}\n\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint a = data[i];\n\t\t\tint indexMin = i;\n\t\t\tfor (int k = i + 1; k < 10; k++) {\n\t\t\t\tif (data[k] < a) {\n\t\t\t\t\ta = data[k];\n\t\t\t\t\tindexMin = k;\n\t\t\t\t}\n\t\t\t}\n\t\t\tint temp = data[i];\n\t\t\tdata[i] = data[indexMin];\n\t\t\tdata[indexMin] = temp;\n\t\t}\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\tSystem.out.println(data[i]);\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] data = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tdata[i] = scan.nextInt();\n\t\t}\n\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint a = data[i];\n\t\t\tint indexMin = i;\n\t\t\tfor (int k = i + 1; k < 10; k++) {\n\t\t\t\tif (data[k] < a) {\n\t\t\t\t\ta = data[k];\n\t\t\t\t\tindexMin = k;\n\t\t\t\t}\n\t\t\t}\n\t\t\tint temp = data[i];\n\t\t\tdata[i] = data[indexMin];\n\t\t\tdata[indexMin] = temp;\n\t\t}\n\t\tfor (int i = 9; i >= 7; i--) {\n\t\t\tSystem.out.println(data[i]);\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int[] data = new int[10];
for (int i = 0; i < 10; i++) {
data[i] = scan.nextInt();
}
for (int i = 0; i < 10; i++) {
int a = data[i];
int indexMin = i;
for (int k = i + 1; k < 10; k++) {
if (data[k] < a) {
a = data[k];
indexMin = k;
}
}
int temp = data[i];
data[i] = data[indexMin];
data[indexMin] = temp;
}
for (int i = 9; i >= 7; i--) {
System.out.println(data[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,
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
],
[
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
]
] | [
"import java.util.*;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint[] height = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theight[i] = scanner.nextInt();\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.*;",
"util.*",
"java",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint[] height = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theight[i] = scanner.nextInt();\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[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint[] height = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theight[i] = scanner.nextInt();\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\tScanner scanner = new Scanner(System.in);\n\t\tint[] height = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\theight[i] = scanner.nextInt();\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}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int[] height = new int[10];",
"height",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++) {\n\t\t\theight[i] = scanner.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\theight[i] = scanner.nextInt();\n\t\t}",
"{\n\t\t\theight[i] = scanner.nextInt();\n\t\t}",
"height[i] = scanner.nextInt()",
"height[i]",
"height",
"i",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"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[] args",
"args"
] | import java.util.*;
class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int[] height = new int[10];
for (int i = 0; i < 10; i++) {
height[i] = scanner.nextInt();
}
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,
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,
2,
18,
13,
13,
17,
2,
13,
2,
18,
13,
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
],
[
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
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
52,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
52,
68
],
[
68,
69
],
[
69,
70
],
[
52,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
15,
81
],
[
81,
82
]
] | [
"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[] a) throws IOException{\n \tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \tint mountains[] = new int[10];\n \n for(int i=0;i<10;i++){\n mountains[i] = Integer.parseInt(in.readLine());\n }\n \n Arrays.sort(mountains);\n \n for(int i = mountains.length-1;i > mountains.length-4;i--){\n System.out.println(mountains[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[] a) throws IOException{\n \tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \tint mountains[] = new int[10];\n \n for(int i=0;i<10;i++){\n mountains[i] = Integer.parseInt(in.readLine());\n }\n \n Arrays.sort(mountains);\n \n for(int i = mountains.length-1;i > mountains.length-4;i--){\n System.out.println(mountains[i]);\n }\n }\n}",
"Main",
"public static void main(String[] a) throws IOException{\n \tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \tint mountains[] = new int[10];\n \n for(int i=0;i<10;i++){\n mountains[i] = Integer.parseInt(in.readLine());\n }\n \n Arrays.sort(mountains);\n \n for(int i = mountains.length-1;i > mountains.length-4;i--){\n System.out.println(mountains[i]);\n }\n }",
"main",
"{\n \tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \tint mountains[] = new int[10];\n \n for(int i=0;i<10;i++){\n mountains[i] = Integer.parseInt(in.readLine());\n }\n \n Arrays.sort(mountains);\n \n for(int i = mountains.length-1;i > mountains.length-4;i--){\n System.out.println(mountains[i]);\n }\n }",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"int mountains[] = new int[10];",
"mountains",
"new int[10]",
"10",
"for(int i=0;i<10;i++){\n mountains[i] = Integer.parseInt(in.readLine());\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n mountains[i] = Integer.parseInt(in.readLine());\n }",
"{\n mountains[i] = Integer.parseInt(in.readLine());\n }",
"mountains[i] = Integer.parseInt(in.readLine())",
"mountains[i]",
"mountains",
"i",
"Integer.parseInt(in.readLine())",
"Integer.parseInt",
"Integer",
"in.readLine()",
"in.readLine",
"in",
"Arrays.sort(mountains)",
"Arrays.sort",
"Arrays",
"mountains",
"for(int i = mountains.length-1;i > mountains.length-4;i--){\n System.out.println(mountains[i]);\n }",
"int i = mountains.length-1;",
"int i = mountains.length-1;",
"i",
"mountains.length-1",
"mountains.length",
"mountains",
"mountains.length",
"1",
"i > mountains.length-4",
"i",
"mountains.length-4",
"mountains.length",
"mountains",
"mountains.length",
"4",
"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.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
class Main{
public static void main(String[] a) throws IOException{
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
int mountains[] = new int[10];
for(int i=0;i<10;i++){
mountains[i] = Integer.parseInt(in.readLine());
}
Arrays.sort(mountains);
for(int i = mountains.length-1;i > mountains.length-4;i--){
System.out.println(mountains[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,
41,
13,
4,
18,
13,
42,
40,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
4,
18,
13,
0,
18,
13,
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
],
[
94,
11
],
[
94,
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
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
40,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
34,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
14,
60
],
[
60,
61
],
[
61,
62
],
[
14,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
14,
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
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
12,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
] | [
"import java.util.Arrays;\nimport java.util.Comparator;\nimport java.util.Scanner;\n\npublic class Main{\n public static void main(String[] a){\n \tScanner scanner = new Scanner(System.in);\n \tInteger[] data = new Integer[10];\n \tfor (int i = 0; i < 10; i++) {\n \t\tint number = scanner.nextInt();\n \t\twhile (!(0 <= number && number <= 10000)) {\n \t\t\tnumber = scanner.nextInt();\n \t\t}\n \t\tdata[i] = number;\n \t}\n \tscanner.close();\n \tArrays.sort(data, Comparator.reverseOrder());\n \tfor (int i = 0; i < 3; i++) {\n \t\tSystem.out.println(data[i]);\n \t}\n\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 public static void main(String[] a){\n \tScanner scanner = new Scanner(System.in);\n \tInteger[] data = new Integer[10];\n \tfor (int i = 0; i < 10; i++) {\n \t\tint number = scanner.nextInt();\n \t\twhile (!(0 <= number && number <= 10000)) {\n \t\t\tnumber = scanner.nextInt();\n \t\t}\n \t\tdata[i] = number;\n \t}\n \tscanner.close();\n \tArrays.sort(data, Comparator.reverseOrder());\n \tfor (int i = 0; i < 3; i++) {\n \t\tSystem.out.println(data[i]);\n \t}\n\n }\n}",
"Main",
"public static void main(String[] a){\n \tScanner scanner = new Scanner(System.in);\n \tInteger[] data = new Integer[10];\n \tfor (int i = 0; i < 10; i++) {\n \t\tint number = scanner.nextInt();\n \t\twhile (!(0 <= number && number <= 10000)) {\n \t\t\tnumber = scanner.nextInt();\n \t\t}\n \t\tdata[i] = number;\n \t}\n \tscanner.close();\n \tArrays.sort(data, Comparator.reverseOrder());\n \tfor (int i = 0; i < 3; i++) {\n \t\tSystem.out.println(data[i]);\n \t}\n\n }",
"main",
"{\n \tScanner scanner = new Scanner(System.in);\n \tInteger[] data = new Integer[10];\n \tfor (int i = 0; i < 10; i++) {\n \t\tint number = scanner.nextInt();\n \t\twhile (!(0 <= number && number <= 10000)) {\n \t\t\tnumber = scanner.nextInt();\n \t\t}\n \t\tdata[i] = number;\n \t}\n \tscanner.close();\n \tArrays.sort(data, Comparator.reverseOrder());\n \tfor (int i = 0; i < 3; i++) {\n \t\tSystem.out.println(data[i]);\n \t}\n\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"Integer[] data = new Integer[10];",
"data",
"new Integer[10]",
"10",
"for (int i = 0; i < 10; i++) {\n \t\tint number = scanner.nextInt();\n \t\twhile (!(0 <= number && number <= 10000)) {\n \t\t\tnumber = scanner.nextInt();\n \t\t}\n \t\tdata[i] = number;\n \t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n \t\tint number = scanner.nextInt();\n \t\twhile (!(0 <= number && number <= 10000)) {\n \t\t\tnumber = scanner.nextInt();\n \t\t}\n \t\tdata[i] = number;\n \t}",
"{\n \t\tint number = scanner.nextInt();\n \t\twhile (!(0 <= number && number <= 10000)) {\n \t\t\tnumber = scanner.nextInt();\n \t\t}\n \t\tdata[i] = number;\n \t}",
"int number = scanner.nextInt();",
"number",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"while (!(0 <= number && number <= 10000)) {\n \t\t\tnumber = scanner.nextInt();\n \t\t}",
"!(0 <= number && number <= 10000)",
"(0 <= number && number <= 10000)",
"0 <= number",
"0",
"number",
"number <= 10000",
"number",
"10000",
"{\n \t\t\tnumber = scanner.nextInt();\n \t\t}",
"number = scanner.nextInt()",
"number",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"data[i] = number",
"data[i]",
"data",
"i",
"number",
"scanner.close()",
"scanner.close",
"scanner",
"Arrays.sort(data, Comparator.reverseOrder())",
"Arrays.sort",
"Arrays",
"data",
"Comparator.reverseOrder()",
"Comparator.reverseOrder",
"Comparator",
"for (int i = 0; i < 3; i++) {\n \t\tSystem.out.println(data[i]);\n \t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n \t\tSystem.out.println(data[i]);\n \t}",
"{\n \t\tSystem.out.println(data[i]);\n \t}",
"System.out.println(data[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"data[i]",
"data",
"i",
"String[] a",
"a",
"public class Main{\n public static void main(String[] a){\n \tScanner scanner = new Scanner(System.in);\n \tInteger[] data = new Integer[10];\n \tfor (int i = 0; i < 10; i++) {\n \t\tint number = scanner.nextInt();\n \t\twhile (!(0 <= number && number <= 10000)) {\n \t\t\tnumber = scanner.nextInt();\n \t\t}\n \t\tdata[i] = number;\n \t}\n \tscanner.close();\n \tArrays.sort(data, Comparator.reverseOrder());\n \tfor (int i = 0; i < 3; i++) {\n \t\tSystem.out.println(data[i]);\n \t}\n\n }\n}",
"public class Main{\n public static void main(String[] a){\n \tScanner scanner = new Scanner(System.in);\n \tInteger[] data = new Integer[10];\n \tfor (int i = 0; i < 10; i++) {\n \t\tint number = scanner.nextInt();\n \t\twhile (!(0 <= number && number <= 10000)) {\n \t\t\tnumber = scanner.nextInt();\n \t\t}\n \t\tdata[i] = number;\n \t}\n \tscanner.close();\n \tArrays.sort(data, Comparator.reverseOrder());\n \tfor (int i = 0; i < 3; i++) {\n \t\tSystem.out.println(data[i]);\n \t}\n\n }\n}",
"Main"
] | import java.util.Arrays;
import java.util.Comparator;
import java.util.Scanner;
public class Main{
public static void main(String[] a){
Scanner scanner = new Scanner(System.in);
Integer[] data = new Integer[10];
for (int i = 0; i < 10; i++) {
int number = scanner.nextInt();
while (!(0 <= number && number <= 10000)) {
number = scanner.nextInt();
}
data[i] = number;
}
scanner.close();
Arrays.sort(data, Comparator.reverseOrder());
for (int i = 0; i < 3; i++) {
System.out.println(data[i]);
}
}
} |
[
7,
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,
41,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
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
],
[
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,
22
],
[
22,
23
],
[
22,
24
],
[
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
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
17,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
17,
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
]
] | [
"// Created by bisuk on 2014/09/18.\n//\n\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Collections;\nimport java.util.Arrays;\n\npublic class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\t//int[] ls = new int[10];\n\t\tInteger[] ls = new Integer[10];\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tString s = in.readLine();\n\t\t\tls[i] = Integer.valueOf(s);\n\t\t}\n\n\t\t//System.out.println(\"ls: \" + Arrays.toString(ls));\n\t\t//Arrays.sort(ls);\n\t\tArrays.sort(ls, Collections.reverseOrder());\n\n\t\t//System.out.println(\"ls: \" + Arrays.toString(ls));\n\n\t\t//for(int h : ls){\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(ls[i]);\n\t\t}\n\t}\n}\n\n/*\n\t> javac xxx.java\n\t> java xxx\n*/",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\t//int[] ls = new int[10];\n\t\tInteger[] ls = new Integer[10];\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tString s = in.readLine();\n\t\t\tls[i] = Integer.valueOf(s);\n\t\t}\n\n\t\t//System.out.println(\"ls: \" + Arrays.toString(ls));\n\t\t//Arrays.sort(ls);\n\t\tArrays.sort(ls, Collections.reverseOrder());\n\n\t\t//System.out.println(\"ls: \" + Arrays.toString(ls));\n\n\t\t//for(int h : ls){\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(ls[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws java.io.IOException {\n\t\t//int[] ls = new int[10];\n\t\tInteger[] ls = new Integer[10];\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tString s = in.readLine();\n\t\t\tls[i] = Integer.valueOf(s);\n\t\t}\n\n\t\t//System.out.println(\"ls: \" + Arrays.toString(ls));\n\t\t//Arrays.sort(ls);\n\t\tArrays.sort(ls, Collections.reverseOrder());\n\n\t\t//System.out.println(\"ls: \" + Arrays.toString(ls));\n\n\t\t//for(int h : ls){\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(ls[i]);\n\t\t}\n\t}",
"main",
"{\n\t\t//int[] ls = new int[10];\n\t\tInteger[] ls = new Integer[10];\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tString s = in.readLine();\n\t\t\tls[i] = Integer.valueOf(s);\n\t\t}\n\n\t\t//System.out.println(\"ls: \" + Arrays.toString(ls));\n\t\t//Arrays.sort(ls);\n\t\tArrays.sort(ls, Collections.reverseOrder());\n\n\t\t//System.out.println(\"ls: \" + Arrays.toString(ls));\n\n\t\t//for(int h : ls){\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(ls[i]);\n\t\t}\n\t}",
"Integer[] ls = new Integer[10];",
"ls",
"new Integer[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\tString s = in.readLine();\n\t\t\tls[i] = Integer.valueOf(s);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tString s = in.readLine();\n\t\t\tls[i] = Integer.valueOf(s);\n\t\t}",
"{\n\t\t\tString s = in.readLine();\n\t\t\tls[i] = Integer.valueOf(s);\n\t\t}",
"String s = in.readLine();",
"s",
"in.readLine()",
"in.readLine",
"in",
"ls[i] = Integer.valueOf(s)",
"ls[i]",
"ls",
"i",
"Integer.valueOf(s)",
"Integer.valueOf",
"Integer",
"s",
"Arrays.sort(ls, Collections.reverseOrder())",
"Arrays.sort",
"Arrays",
"ls",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"for (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(ls[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(ls[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(ls[i]);\n\t\t}",
"System.out.println(ls[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"ls[i]",
"ls",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\t//int[] ls = new int[10];\n\t\tInteger[] ls = new Integer[10];\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tString s = in.readLine();\n\t\t\tls[i] = Integer.valueOf(s);\n\t\t}\n\n\t\t//System.out.println(\"ls: \" + Arrays.toString(ls));\n\t\t//Arrays.sort(ls);\n\t\tArrays.sort(ls, Collections.reverseOrder());\n\n\t\t//System.out.println(\"ls: \" + Arrays.toString(ls));\n\n\t\t//for(int h : ls){\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(ls[i]);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws java.io.IOException {\n\t\t//int[] ls = new int[10];\n\t\tInteger[] ls = new Integer[10];\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tString s = in.readLine();\n\t\t\tls[i] = Integer.valueOf(s);\n\t\t}\n\n\t\t//System.out.println(\"ls: \" + Arrays.toString(ls));\n\t\t//Arrays.sort(ls);\n\t\tArrays.sort(ls, Collections.reverseOrder());\n\n\t\t//System.out.println(\"ls: \" + Arrays.toString(ls));\n\n\t\t//for(int h : ls){\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(ls[i]);\n\t\t}\n\t}\n}",
"Main"
] | // Created by bisuk on 2014/09/18.
//
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Collections;
import java.util.Arrays;
public class Main {
public static void main(String[] args) throws java.io.IOException {
//int[] ls = new int[10];
Integer[] ls = new Integer[10];
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
for (int i = 0; i < 10; i++) {
String s = in.readLine();
ls[i] = Integer.valueOf(s);
}
//System.out.println("ls: " + Arrays.toString(ls));
//Arrays.sort(ls);
Arrays.sort(ls, Collections.reverseOrder());
//System.out.println("ls: " + Arrays.toString(ls));
//for(int h : ls){
for (int i = 0; i < 3; i++) {
System.out.println(ls[i]);
}
}
}
/*
> javac xxx.java
> java xxx
*/ |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
20,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
89,
14
],
[
89,
15
],
[
15,
16
],
[
89,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
19,
26
],
[
26,
27
],
[
19,
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
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
19,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
19,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
19,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
19,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
17,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n int value;\n for (int i = 0; i < 10; i++) {\n value = scan.nextInt();\n if (value <= 10000) {\n list.add(value);\n }\n }\n Collections.sort(list);\n System.out.println(list.get(9));\n System.out.println(list.get(8));\n System.out.println(list.get(7));\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n int value;\n for (int i = 0; i < 10; i++) {\n value = scan.nextInt();\n if (value <= 10000) {\n list.add(value);\n }\n }\n Collections.sort(list);\n System.out.println(list.get(9));\n System.out.println(list.get(8));\n System.out.println(list.get(7));\n }\n}",
"Main",
"private static Scanner scan;",
"scan",
"public static void main(String[] args) {\n scan = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n int value;\n for (int i = 0; i < 10; i++) {\n value = scan.nextInt();\n if (value <= 10000) {\n list.add(value);\n }\n }\n Collections.sort(list);\n System.out.println(list.get(9));\n System.out.println(list.get(8));\n System.out.println(list.get(7));\n }",
"main",
"{\n scan = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n int value;\n for (int i = 0; i < 10; i++) {\n value = scan.nextInt();\n if (value <= 10000) {\n list.add(value);\n }\n }\n Collections.sort(list);\n System.out.println(list.get(9));\n System.out.println(list.get(8));\n System.out.println(list.get(7));\n }",
"scan = new Scanner(System.in)",
"scan",
"new Scanner(System.in)",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"int value;",
"value",
"for (int i = 0; i < 10; i++) {\n value = scan.nextInt();\n if (value <= 10000) {\n list.add(value);\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n value = scan.nextInt();\n if (value <= 10000) {\n list.add(value);\n }\n }",
"{\n value = scan.nextInt();\n if (value <= 10000) {\n list.add(value);\n }\n }",
"value = scan.nextInt()",
"value",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (value <= 10000) {\n list.add(value);\n }",
"value <= 10000",
"value",
"10000",
"{\n list.add(value);\n }",
"list.add(value)",
"list.add",
"list",
"value",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"System.out.println(list.get(9))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(9)",
"list.get",
"list",
"9",
"System.out.println(list.get(8))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(8)",
"list.get",
"list",
"8",
"System.out.println(list.get(7))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(7)",
"list.get",
"list",
"7",
"String[] args",
"args",
"public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n int value;\n for (int i = 0; i < 10; i++) {\n value = scan.nextInt();\n if (value <= 10000) {\n list.add(value);\n }\n }\n Collections.sort(list);\n System.out.println(list.get(9));\n System.out.println(list.get(8));\n System.out.println(list.get(7));\n }\n}",
"public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n int value;\n for (int i = 0; i < 10; i++) {\n value = scan.nextInt();\n if (value <= 10000) {\n list.add(value);\n }\n }\n Collections.sort(list);\n System.out.println(list.get(9));\n System.out.println(list.get(8));\n System.out.println(list.get(7));\n }\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
public class Main {
private static Scanner scan;
public static void main(String[] args) {
scan = new Scanner(System.in);
List<Integer> list = new ArrayList<Integer>();
int value;
for (int i = 0; i < 10; i++) {
value = scan.nextInt();
if (value <= 10000) {
list.add(value);
}
}
Collections.sort(list);
System.out.println(list.get(9));
System.out.println(list.get(8));
System.out.println(list.get(7));
}
} |
[
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,
38,
5,
13,
30,
30,
42,
4,
18,
13,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
89,
20
],
[
89,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
23,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
49,
53
],
[
53,
54
],
[
23,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
23,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
23,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
23,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
21,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] | [
"import static java.util.Comparator.reverseOrder;\n\nimport java.io.BufferedReader;\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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tList<Integer> hillsHightList = new ArrayList<>();\n\t\ttry {\n\t\t\twhile (br.ready()) {\n\t\t\t\thillsHightList.add(Integer.valueOf(br.readLine()));\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t\tCollections.sort(hillsHightList, reverseOrder());\n\n\t\tSystem.out.println(hillsHightList.get(0));\n\t\tSystem.out.println(hillsHightList.get(1));\n\t\tSystem.out.println(hillsHightList.get(2));\n\n\t\tSystem.exit(0);\n\t}\n}",
"import static java.util.Comparator.reverseOrder;",
"import static java.util.Comparator.reverseOrder;",
"import static java.util.Comparator.reverseOrder;",
"import java.io.BufferedReader;",
"BufferedReader",
"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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tList<Integer> hillsHightList = new ArrayList<>();\n\t\ttry {\n\t\t\twhile (br.ready()) {\n\t\t\t\thillsHightList.add(Integer.valueOf(br.readLine()));\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t\tCollections.sort(hillsHightList, reverseOrder());\n\n\t\tSystem.out.println(hillsHightList.get(0));\n\t\tSystem.out.println(hillsHightList.get(1));\n\t\tSystem.out.println(hillsHightList.get(2));\n\n\t\tSystem.exit(0);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tList<Integer> hillsHightList = new ArrayList<>();\n\t\ttry {\n\t\t\twhile (br.ready()) {\n\t\t\t\thillsHightList.add(Integer.valueOf(br.readLine()));\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t\tCollections.sort(hillsHightList, reverseOrder());\n\n\t\tSystem.out.println(hillsHightList.get(0));\n\t\tSystem.out.println(hillsHightList.get(1));\n\t\tSystem.out.println(hillsHightList.get(2));\n\n\t\tSystem.exit(0);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tList<Integer> hillsHightList = new ArrayList<>();\n\t\ttry {\n\t\t\twhile (br.ready()) {\n\t\t\t\thillsHightList.add(Integer.valueOf(br.readLine()));\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t\tCollections.sort(hillsHightList, reverseOrder());\n\n\t\tSystem.out.println(hillsHightList.get(0));\n\t\tSystem.out.println(hillsHightList.get(1));\n\t\tSystem.out.println(hillsHightList.get(2));\n\n\t\tSystem.exit(0);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"List<Integer> hillsHightList = new ArrayList<>();",
"hillsHightList",
"new ArrayList<>()",
"try {\n\t\t\twhile (br.ready()) {\n\t\t\t\thillsHightList.add(Integer.valueOf(br.readLine()));\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}",
"catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}",
"Exception e",
"{\n\t\t\t// TODO: handle exception\n\t\t}",
"{\n\t\t\twhile (br.ready()) {\n\t\t\t\thillsHightList.add(Integer.valueOf(br.readLine()));\n\t\t\t}\n\t\t}",
"while (br.ready()) {\n\t\t\t\thillsHightList.add(Integer.valueOf(br.readLine()));\n\t\t\t}",
"br.ready()",
"br.ready",
"br",
"{\n\t\t\t\thillsHightList.add(Integer.valueOf(br.readLine()));\n\t\t\t}",
"hillsHightList.add(Integer.valueOf(br.readLine()))",
"hillsHightList.add",
"hillsHightList",
"Integer.valueOf(br.readLine())",
"Integer.valueOf",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Collections.sort(hillsHightList, reverseOrder())",
"Collections.sort",
"Collections",
"hillsHightList",
"reverseOrder()",
"reverseOrder",
"System.out.println(hillsHightList.get(0))",
"System.out.println",
"System.out",
"System",
"System.out",
"hillsHightList.get(0)",
"hillsHightList.get",
"hillsHightList",
"0",
"System.out.println(hillsHightList.get(1))",
"System.out.println",
"System.out",
"System",
"System.out",
"hillsHightList.get(1)",
"hillsHightList.get",
"hillsHightList",
"1",
"System.out.println(hillsHightList.get(2))",
"System.out.println",
"System.out",
"System",
"System.out",
"hillsHightList.get(2)",
"hillsHightList.get",
"hillsHightList",
"2",
"System.exit(0)",
"System.exit",
"System",
"0",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tList<Integer> hillsHightList = new ArrayList<>();\n\t\ttry {\n\t\t\twhile (br.ready()) {\n\t\t\t\thillsHightList.add(Integer.valueOf(br.readLine()));\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t\tCollections.sort(hillsHightList, reverseOrder());\n\n\t\tSystem.out.println(hillsHightList.get(0));\n\t\tSystem.out.println(hillsHightList.get(1));\n\t\tSystem.out.println(hillsHightList.get(2));\n\n\t\tSystem.exit(0);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tList<Integer> hillsHightList = new ArrayList<>();\n\t\ttry {\n\t\t\twhile (br.ready()) {\n\t\t\t\thillsHightList.add(Integer.valueOf(br.readLine()));\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t\tCollections.sort(hillsHightList, reverseOrder());\n\n\t\tSystem.out.println(hillsHightList.get(0));\n\t\tSystem.out.println(hillsHightList.get(1));\n\t\tSystem.out.println(hillsHightList.get(2));\n\n\t\tSystem.exit(0);\n\t}\n}",
"Main"
] | import static java.util.Comparator.reverseOrder;
import java.io.BufferedReader;
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) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
List<Integer> hillsHightList = new ArrayList<>();
try {
while (br.ready()) {
hillsHightList.add(Integer.valueOf(br.readLine()));
}
} catch (Exception e) {
// TODO: handle exception
}
Collections.sort(hillsHightList, reverseOrder());
System.out.println(hillsHightList.get(0));
System.out.println(hillsHightList.get(1));
System.out.println(hillsHightList.get(2));
System.exit(0);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
38,
5,
13,
30,
4,
18,
13,
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,
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,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
92,
14
],
[
92,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
25,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
38,
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
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
60,
61
],
[
38,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
38,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
74,
75
],
[
75,
76
],
[
66,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
15,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"import 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 in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint[] data = new int[10];\n\t\ttry {\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\tdata[i] = Integer.parseInt(in.readLine());\n\t\t\t}\n\t\t\tArrays.sort(data);\n\t\t\t\n\t\t\tfor (int i = 0; i < 3; i++) {\n\t\t\t\tSystem.out.println(data[9 - i]);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint[] data = new int[10];\n\t\ttry {\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\tdata[i] = Integer.parseInt(in.readLine());\n\t\t\t}\n\t\t\tArrays.sort(data);\n\t\t\t\n\t\t\tfor (int i = 0; i < 3; i++) {\n\t\t\t\tSystem.out.println(data[9 - i]);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint[] data = new int[10];\n\t\ttry {\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\tdata[i] = Integer.parseInt(in.readLine());\n\t\t\t}\n\t\t\tArrays.sort(data);\n\t\t\t\n\t\t\tfor (int i = 0; i < 3; i++) {\n\t\t\t\tSystem.out.println(data[9 - i]);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint[] data = new int[10];\n\t\ttry {\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\tdata[i] = Integer.parseInt(in.readLine());\n\t\t\t}\n\t\t\tArrays.sort(data);\n\t\t\t\n\t\t\tfor (int i = 0; i < 3; i++) {\n\t\t\t\tSystem.out.println(data[9 - i]);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] data = new int[10];",
"data",
"new int[10]",
"10",
"try {\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\tdata[i] = Integer.parseInt(in.readLine());\n\t\t\t}\n\t\t\tArrays.sort(data);\n\t\t\t\n\t\t\tfor (int i = 0; i < 3; i++) {\n\t\t\t\tSystem.out.println(data[9 - i]);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"NumberFormatException e",
"{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\tdata[i] = Integer.parseInt(in.readLine());\n\t\t\t}\n\t\t\tArrays.sort(data);\n\t\t\t\n\t\t\tfor (int i = 0; i < 3; i++) {\n\t\t\t\tSystem.out.println(data[9 - i]);\n\t\t\t}\n\t\t}",
"for (int i = 0; i < 10; i++) {\n\t\t\t\tdata[i] = Integer.parseInt(in.readLine());\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\t\tdata[i] = Integer.parseInt(in.readLine());\n\t\t\t}",
"{\n\t\t\t\tdata[i] = Integer.parseInt(in.readLine());\n\t\t\t}",
"data[i] = Integer.parseInt(in.readLine())",
"data[i]",
"data",
"i",
"Integer.parseInt(in.readLine())",
"Integer.parseInt",
"Integer",
"in.readLine()",
"in.readLine",
"in",
"Arrays.sort(data)",
"Arrays.sort",
"Arrays",
"data",
"for (int i = 0; i < 3; i++) {\n\t\t\t\tSystem.out.println(data[9 - i]);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\t\tSystem.out.println(data[9 - i]);\n\t\t\t}",
"{\n\t\t\t\tSystem.out.println(data[9 - i]);\n\t\t\t}",
"System.out.println(data[9 - i])",
"System.out.println",
"System.out",
"System",
"System.out",
"data[9 - i]",
"data",
"9 - i",
"9",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint[] data = new int[10];\n\t\ttry {\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\tdata[i] = Integer.parseInt(in.readLine());\n\t\t\t}\n\t\t\tArrays.sort(data);\n\t\t\t\n\t\t\tfor (int i = 0; i < 3; i++) {\n\t\t\t\tSystem.out.println(data[9 - i]);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint[] data = new int[10];\n\t\ttry {\n\t\t\tfor (int i = 0; i < 10; i++) {\n\t\t\t\tdata[i] = Integer.parseInt(in.readLine());\n\t\t\t}\n\t\t\tArrays.sort(data);\n\t\t\t\n\t\t\tfor (int i = 0; i < 3; i++) {\n\t\t\t\tSystem.out.println(data[9 - i]);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
public static void main(String[] args) {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
int[] data = new int[10];
try {
for (int i = 0; i < 10; i++) {
data[i] = Integer.parseInt(in.readLine());
}
Arrays.sort(data);
for (int i = 0; i < 3; i++) {
System.out.println(data[9 - i]);
}
} catch (NumberFormatException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
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
],
[
70,
8
],
[
70,
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
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tint array[] = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\tarray[i] = Integer.parseInt(std.next());\n\t\t}\n\t\tArrays.sort(array);\n\t\tfor(int i=9; i>6; i--){\n\t\t\tSystem.out.println(array[i]);\n\t\t}\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[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tint array[] = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\tarray[i] = Integer.parseInt(std.next());\n\t\t}\n\t\tArrays.sort(array);\n\t\tfor(int i=9; i>6; i--){\n\t\t\tSystem.out.println(array[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tint array[] = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\tarray[i] = Integer.parseInt(std.next());\n\t\t}\n\t\tArrays.sort(array);\n\t\tfor(int i=9; i>6; i--){\n\t\t\tSystem.out.println(array[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner std = new Scanner(System.in);\n\t\tint array[] = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\tarray[i] = Integer.parseInt(std.next());\n\t\t}\n\t\tArrays.sort(array);\n\t\tfor(int i=9; i>6; i--){\n\t\t\tSystem.out.println(array[i]);\n\t\t}\n\t}",
"Scanner std = new Scanner(System.in);",
"std",
"new Scanner(System.in)",
"int array[] = new int[10];",
"array",
"new int[10]",
"10",
"for(int i=0; i<10; i++){\n\t\t\tarray[i] = Integer.parseInt(std.next());\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tarray[i] = Integer.parseInt(std.next());\n\t\t}",
"{\n\t\t\tarray[i] = Integer.parseInt(std.next());\n\t\t}",
"array[i] = Integer.parseInt(std.next())",
"array[i]",
"array",
"i",
"Integer.parseInt(std.next())",
"Integer.parseInt",
"Integer",
"std.next()",
"std.next",
"std",
"Arrays.sort(array)",
"Arrays.sort",
"Arrays",
"array",
"for(int i=9; i>6; i--){\n\t\t\tSystem.out.println(array[i]);\n\t\t}",
"int i=9;",
"int i=9;",
"i",
"9",
"i>6",
"i",
"6",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.println(array[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(array[i]);\n\t\t}",
"System.out.println(array[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"array[i]",
"array",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tint array[] = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\tarray[i] = Integer.parseInt(std.next());\n\t\t}\n\t\tArrays.sort(array);\n\t\tfor(int i=9; i>6; i--){\n\t\t\tSystem.out.println(array[i]);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tint array[] = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\tarray[i] = Integer.parseInt(std.next());\n\t\t}\n\t\tArrays.sort(array);\n\t\tfor(int i=9; i>6; i--){\n\t\t\tSystem.out.println(array[i]);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner std = new Scanner(System.in);
int array[] = new int[10];
for(int i=0; i<10; i++){
array[i] = Integer.parseInt(std.next());
}
Arrays.sort(array);
for(int i=9; i>6; i--){
System.out.println(array[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
38,
5,
13,
30,
30,
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,
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
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
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
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
14,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
14,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
14,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
14,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
12,
80
],
[
80,
81
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\nclass Main {\n\tpublic static void main(String[] a) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint[] mt = new int[10];\n\t\ttry {\n\t\t\tfor (int i = 0; i < mt.length; i++) {\n\t\t\t\tmt[i] = Integer.parseInt(br.readLine());\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t}\n\n\t\tArrays.sort(mt);\n\n\t\tSystem.out.println(mt[9]);\n\t\tSystem.out.println(mt[8]);\n\t\tSystem.out.println(mt[7]);\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\tpublic static void main(String[] a) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint[] mt = new int[10];\n\t\ttry {\n\t\t\tfor (int i = 0; i < mt.length; i++) {\n\t\t\t\tmt[i] = Integer.parseInt(br.readLine());\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t}\n\n\t\tArrays.sort(mt);\n\n\t\tSystem.out.println(mt[9]);\n\t\tSystem.out.println(mt[8]);\n\t\tSystem.out.println(mt[7]);\n\t}\n}",
"Main",
"public static void main(String[] a) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint[] mt = new int[10];\n\t\ttry {\n\t\t\tfor (int i = 0; i < mt.length; i++) {\n\t\t\t\tmt[i] = Integer.parseInt(br.readLine());\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t}\n\n\t\tArrays.sort(mt);\n\n\t\tSystem.out.println(mt[9]);\n\t\tSystem.out.println(mt[8]);\n\t\tSystem.out.println(mt[7]);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint[] mt = new int[10];\n\t\ttry {\n\t\t\tfor (int i = 0; i < mt.length; i++) {\n\t\t\t\tmt[i] = Integer.parseInt(br.readLine());\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t}\n\n\t\tArrays.sort(mt);\n\n\t\tSystem.out.println(mt[9]);\n\t\tSystem.out.println(mt[8]);\n\t\tSystem.out.println(mt[7]);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] mt = new int[10];",
"mt",
"new int[10]",
"10",
"try {\n\t\t\tfor (int i = 0; i < mt.length; i++) {\n\t\t\t\tmt[i] = Integer.parseInt(br.readLine());\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t}",
"catch (Exception e) {\n\t\t}",
"Exception e",
"{\n\t\t}",
"{\n\t\t\tfor (int i = 0; i < mt.length; i++) {\n\t\t\t\tmt[i] = Integer.parseInt(br.readLine());\n\t\t\t}\n\t\t}",
"for (int i = 0; i < mt.length; i++) {\n\t\t\t\tmt[i] = Integer.parseInt(br.readLine());\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < mt.length",
"i",
"mt.length",
"mt",
"mt.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tmt[i] = Integer.parseInt(br.readLine());\n\t\t\t}",
"{\n\t\t\t\tmt[i] = Integer.parseInt(br.readLine());\n\t\t\t}",
"mt[i] = Integer.parseInt(br.readLine())",
"mt[i]",
"mt",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(mt)",
"Arrays.sort",
"Arrays",
"mt",
"System.out.println(mt[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"mt[9]",
"mt",
"9",
"System.out.println(mt[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"mt[8]",
"mt",
"8",
"System.out.println(mt[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"mt[7]",
"mt",
"7",
"String[] a",
"a"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
class Main {
public static void main(String[] a) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int[] mt = new int[10];
try {
for (int i = 0; i < mt.length; i++) {
mt[i] = Integer.parseInt(br.readLine());
}
} catch (Exception e) {
}
Arrays.sort(mt);
System.out.println(mt[9]);
System.out.println(mt[8]);
System.out.println(mt[7]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
20,
17,
41,
13,
39,
17,
17,
17,
41,
13,
41,
13,
20,
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,
14,
2,
18,
13,
17,
18,
13,
13,
30,
0,
13,
18,
13,
17,
0,
18,
13,
17,
18,
13,
13,
0,
18,
13,
13,
13,
14,
2,
18,
13,
17,
18,
13,
13,
30,
0,
13,
18,
13,
17,
0,
18,
13,
17,
18,
13,
13,
0,
18,
13,
13,
13,
14,
2,
18,
13,
17,
18,
13,
13,
30,
0,
13,
18,
13,
17,
0,
18,
13,
17,
18,
13,
13,
0,
18,
13,
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
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
15,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
25,
36
],
[
36,
37
],
[
25,
38
],
[
38,
39
],
[
38,
40
],
[
25,
41
],
[
41,
42
],
[
41,
43
],
[
25,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
44,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
65,
66
],
[
56,
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
],
[
56,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
98,
100
],
[
93,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
104,
106
],
[
101,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
111,
113
],
[
101,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
56,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
124,
125
],
[
124,
126
],
[
119,
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
],
[
25,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
145,
150
],
[
150,
151
],
[
150,
152
],
[
25,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
153,
158
],
[
158,
159
],
[
158,
160
],
[
25,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
161,
166
],
[
166,
167
],
[
166,
168
],
[
12,
169
],
[
169,
170
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nclass Main{\n public static void main(String args[]){\n\ttry{\n\t int x[] = new int[10];\n\t int a[] = {0,0,0};\n\t int temp;\n\t InputStreamReader is = new InputStreamReader(System.in);\n\t BufferedReader br = new BufferedReader(is);\n\t for(int i=0;i<10;i++){\n\t\tx[i] = Integer.parseInt(br.readLine());\n\t\tif(a[0] < x[i]){\n\t\t temp = a[0];\n\t\t a[0] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t\tif(a[1] < x[i]){\n\t\t temp = a[1];\n\t\t a[1] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t\tif(a[2] < x[i]){\n\t\t temp = a[2];\n\t\t a[2] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t }\n\t System.out.println(a[0]);\n\t System.out.println(a[1]);\n\t System.out.println(a[2]);\n\t}\n\tcatch(Exception e){\n\t System.out.printf(\"error\");\n\t}\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main{\n public static void main(String args[]){\n\ttry{\n\t int x[] = new int[10];\n\t int a[] = {0,0,0};\n\t int temp;\n\t InputStreamReader is = new InputStreamReader(System.in);\n\t BufferedReader br = new BufferedReader(is);\n\t for(int i=0;i<10;i++){\n\t\tx[i] = Integer.parseInt(br.readLine());\n\t\tif(a[0] < x[i]){\n\t\t temp = a[0];\n\t\t a[0] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t\tif(a[1] < x[i]){\n\t\t temp = a[1];\n\t\t a[1] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t\tif(a[2] < x[i]){\n\t\t temp = a[2];\n\t\t a[2] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t }\n\t System.out.println(a[0]);\n\t System.out.println(a[1]);\n\t System.out.println(a[2]);\n\t}\n\tcatch(Exception e){\n\t System.out.printf(\"error\");\n\t}\n }\n}",
"Main",
"public static void main(String args[]){\n\ttry{\n\t int x[] = new int[10];\n\t int a[] = {0,0,0};\n\t int temp;\n\t InputStreamReader is = new InputStreamReader(System.in);\n\t BufferedReader br = new BufferedReader(is);\n\t for(int i=0;i<10;i++){\n\t\tx[i] = Integer.parseInt(br.readLine());\n\t\tif(a[0] < x[i]){\n\t\t temp = a[0];\n\t\t a[0] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t\tif(a[1] < x[i]){\n\t\t temp = a[1];\n\t\t a[1] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t\tif(a[2] < x[i]){\n\t\t temp = a[2];\n\t\t a[2] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t }\n\t System.out.println(a[0]);\n\t System.out.println(a[1]);\n\t System.out.println(a[2]);\n\t}\n\tcatch(Exception e){\n\t System.out.printf(\"error\");\n\t}\n }",
"main",
"{\n\ttry{\n\t int x[] = new int[10];\n\t int a[] = {0,0,0};\n\t int temp;\n\t InputStreamReader is = new InputStreamReader(System.in);\n\t BufferedReader br = new BufferedReader(is);\n\t for(int i=0;i<10;i++){\n\t\tx[i] = Integer.parseInt(br.readLine());\n\t\tif(a[0] < x[i]){\n\t\t temp = a[0];\n\t\t a[0] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t\tif(a[1] < x[i]){\n\t\t temp = a[1];\n\t\t a[1] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t\tif(a[2] < x[i]){\n\t\t temp = a[2];\n\t\t a[2] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t }\n\t System.out.println(a[0]);\n\t System.out.println(a[1]);\n\t System.out.println(a[2]);\n\t}\n\tcatch(Exception e){\n\t System.out.printf(\"error\");\n\t}\n }",
"try{\n\t int x[] = new int[10];\n\t int a[] = {0,0,0};\n\t int temp;\n\t InputStreamReader is = new InputStreamReader(System.in);\n\t BufferedReader br = new BufferedReader(is);\n\t for(int i=0;i<10;i++){\n\t\tx[i] = Integer.parseInt(br.readLine());\n\t\tif(a[0] < x[i]){\n\t\t temp = a[0];\n\t\t a[0] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t\tif(a[1] < x[i]){\n\t\t temp = a[1];\n\t\t a[1] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t\tif(a[2] < x[i]){\n\t\t temp = a[2];\n\t\t a[2] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t }\n\t System.out.println(a[0]);\n\t System.out.println(a[1]);\n\t System.out.println(a[2]);\n\t}\n\tcatch(Exception e){\n\t System.out.printf(\"error\");\n\t}",
"catch(Exception e){\n\t System.out.printf(\"error\");\n\t}",
"Exception e",
"{\n\t System.out.printf(\"error\");\n\t}",
"System.out.printf(\"error\")",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"error\"",
"{\n\t int x[] = new int[10];\n\t int a[] = {0,0,0};\n\t int temp;\n\t InputStreamReader is = new InputStreamReader(System.in);\n\t BufferedReader br = new BufferedReader(is);\n\t for(int i=0;i<10;i++){\n\t\tx[i] = Integer.parseInt(br.readLine());\n\t\tif(a[0] < x[i]){\n\t\t temp = a[0];\n\t\t a[0] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t\tif(a[1] < x[i]){\n\t\t temp = a[1];\n\t\t a[1] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t\tif(a[2] < x[i]){\n\t\t temp = a[2];\n\t\t a[2] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t }\n\t System.out.println(a[0]);\n\t System.out.println(a[1]);\n\t System.out.println(a[2]);\n\t}",
"int x[] = new int[10];",
"x",
"new int[10]",
"10",
"int a[] = {0,0,0};",
"a",
"{0,0,0}",
"0",
"0",
"0",
"int temp;",
"temp",
"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<10;i++){\n\t\tx[i] = Integer.parseInt(br.readLine());\n\t\tif(a[0] < x[i]){\n\t\t temp = a[0];\n\t\t a[0] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t\tif(a[1] < x[i]){\n\t\t temp = a[1];\n\t\t a[1] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t\tif(a[2] < x[i]){\n\t\t temp = a[2];\n\t\t a[2] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\tx[i] = Integer.parseInt(br.readLine());\n\t\tif(a[0] < x[i]){\n\t\t temp = a[0];\n\t\t a[0] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t\tif(a[1] < x[i]){\n\t\t temp = a[1];\n\t\t a[1] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t\tif(a[2] < x[i]){\n\t\t temp = a[2];\n\t\t a[2] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t }",
"{\n\t\tx[i] = Integer.parseInt(br.readLine());\n\t\tif(a[0] < x[i]){\n\t\t temp = a[0];\n\t\t a[0] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t\tif(a[1] < x[i]){\n\t\t temp = a[1];\n\t\t a[1] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t\tif(a[2] < x[i]){\n\t\t temp = a[2];\n\t\t a[2] = x[i];\n\t\t x[i] = temp;\n\t\t}\n\t }",
"x[i] = Integer.parseInt(br.readLine())",
"x[i]",
"x",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if(a[0] < x[i]){\n\t\t temp = a[0];\n\t\t a[0] = x[i];\n\t\t x[i] = temp;\n\t\t}",
"a[0] < x[i]",
"a[0]",
"a",
"0",
"x[i]",
"x",
"i",
"{\n\t\t temp = a[0];\n\t\t a[0] = x[i];\n\t\t x[i] = temp;\n\t\t}",
"temp = a[0]",
"temp",
"a[0]",
"a",
"0",
"a[0] = x[i]",
"a[0]",
"a",
"0",
"x[i]",
"x",
"i",
"x[i] = temp",
"x[i]",
"x",
"i",
"temp",
"if(a[1] < x[i]){\n\t\t temp = a[1];\n\t\t a[1] = x[i];\n\t\t x[i] = temp;\n\t\t}",
"a[1] < x[i]",
"a[1]",
"a",
"1",
"x[i]",
"x",
"i",
"{\n\t\t temp = a[1];\n\t\t a[1] = x[i];\n\t\t x[i] = temp;\n\t\t}",
"temp = a[1]",
"temp",
"a[1]",
"a",
"1",
"a[1] = x[i]",
"a[1]",
"a",
"1",
"x[i]",
"x",
"i",
"x[i] = temp",
"x[i]",
"x",
"i",
"temp",
"if(a[2] < x[i]){\n\t\t temp = a[2];\n\t\t a[2] = x[i];\n\t\t x[i] = temp;\n\t\t}",
"a[2] < x[i]",
"a[2]",
"a",
"2",
"x[i]",
"x",
"i",
"{\n\t\t temp = a[2];\n\t\t a[2] = x[i];\n\t\t x[i] = temp;\n\t\t}",
"temp = a[2]",
"temp",
"a[2]",
"a",
"2",
"a[2] = x[i]",
"a[2]",
"a",
"2",
"x[i]",
"x",
"i",
"x[i] = temp",
"x[i]",
"x",
"i",
"temp",
"System.out.println(a[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[0]",
"a",
"0",
"System.out.println(a[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[1]",
"a",
"1",
"System.out.println(a[2])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[2]",
"a",
"2",
"String args[]",
"args"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
class Main{
public static void main(String args[]){
try{
int x[] = new int[10];
int a[] = {0,0,0};
int temp;
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(is);
for(int i=0;i<10;i++){
x[i] = Integer.parseInt(br.readLine());
if(a[0] < x[i]){
temp = a[0];
a[0] = x[i];
x[i] = temp;
}
if(a[1] < x[i]){
temp = a[1];
a[1] = x[i];
x[i] = temp;
}
if(a[2] < x[i]){
temp = a[2];
a[2] = x[i];
x[i] = temp;
}
}
System.out.println(a[0]);
System.out.println(a[1]);
System.out.println(a[2]);
}
catch(Exception e){
System.out.printf("error");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
0,
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,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
30,
0,
18,
13,
17,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
13,
17,
0,
18,
13,
2,
13,
17,
18,
13,
17,
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
],
[
127,
5
],
[
127,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
15
],
[
15,
16
],
[
15,
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
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
79,
81
],
[
74,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
74,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
91,
97
],
[
97,
98
],
[
97,
99
],
[
8,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
105,
106
],
[
105,
107
],
[
8,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
113,
114
],
[
113,
115
],
[
8,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
121,
122
],
[
121,
123
],
[
6,
124
],
[
124,
125
],
[
0,
126
],
[
126,
127
],
[
126,
128
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint[] Num;\n\t\tNum = new int[11];\n\t\tScanner n=new Scanner(System.in);\n\t\t\tfor (int i = 0; i < 10;i++){\n\t\t\t\tNum[i]=n.nextInt();\n\t\t}\n\t\t\n\t\t\tfor (int a = 9; a >= 0; a--){\n\t\t\t\tfor (int b = 0; b < a; b++){\n\t\t\t\t\t\tif (Num[b] < Num[b+1]){\n\t\t\t\t\t\tNum[10]=Num[b];\n\t\t\t\t\t\tNum[b]=Num[b+1];\n\t\t\t\t\t\tNum[b+1]=Num[10];\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t}\n\t\t\n\t\tSystem.out.println(Num[0]);\n\t\tSystem.out.println(Num[1]);\n\t\tSystem.out.println(Num[2]);\n\t}\t\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint[] Num;\n\t\tNum = new int[11];\n\t\tScanner n=new Scanner(System.in);\n\t\t\tfor (int i = 0; i < 10;i++){\n\t\t\t\tNum[i]=n.nextInt();\n\t\t}\n\t\t\n\t\t\tfor (int a = 9; a >= 0; a--){\n\t\t\t\tfor (int b = 0; b < a; b++){\n\t\t\t\t\t\tif (Num[b] < Num[b+1]){\n\t\t\t\t\t\tNum[10]=Num[b];\n\t\t\t\t\t\tNum[b]=Num[b+1];\n\t\t\t\t\t\tNum[b+1]=Num[10];\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t}\n\t\t\n\t\tSystem.out.println(Num[0]);\n\t\tSystem.out.println(Num[1]);\n\t\tSystem.out.println(Num[2]);\n\t}\t\n}",
"Main",
"public static void main(String[] args) {\n\t\tint[] Num;\n\t\tNum = new int[11];\n\t\tScanner n=new Scanner(System.in);\n\t\t\tfor (int i = 0; i < 10;i++){\n\t\t\t\tNum[i]=n.nextInt();\n\t\t}\n\t\t\n\t\t\tfor (int a = 9; a >= 0; a--){\n\t\t\t\tfor (int b = 0; b < a; b++){\n\t\t\t\t\t\tif (Num[b] < Num[b+1]){\n\t\t\t\t\t\tNum[10]=Num[b];\n\t\t\t\t\t\tNum[b]=Num[b+1];\n\t\t\t\t\t\tNum[b+1]=Num[10];\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t}\n\t\t\n\t\tSystem.out.println(Num[0]);\n\t\tSystem.out.println(Num[1]);\n\t\tSystem.out.println(Num[2]);\n\t}",
"main",
"{\n\t\tint[] Num;\n\t\tNum = new int[11];\n\t\tScanner n=new Scanner(System.in);\n\t\t\tfor (int i = 0; i < 10;i++){\n\t\t\t\tNum[i]=n.nextInt();\n\t\t}\n\t\t\n\t\t\tfor (int a = 9; a >= 0; a--){\n\t\t\t\tfor (int b = 0; b < a; b++){\n\t\t\t\t\t\tif (Num[b] < Num[b+1]){\n\t\t\t\t\t\tNum[10]=Num[b];\n\t\t\t\t\t\tNum[b]=Num[b+1];\n\t\t\t\t\t\tNum[b+1]=Num[10];\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t}\n\t\t\n\t\tSystem.out.println(Num[0]);\n\t\tSystem.out.println(Num[1]);\n\t\tSystem.out.println(Num[2]);\n\t}",
"int[] Num;",
"Num",
"Num = new int[11]",
"Num",
"new int[11]",
"11",
"Scanner n=new Scanner(System.in);",
"n",
"new Scanner(System.in)",
"for (int i = 0; i < 10;i++){\n\t\t\t\tNum[i]=n.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\t\tNum[i]=n.nextInt();\n\t\t}",
"{\n\t\t\t\tNum[i]=n.nextInt();\n\t\t}",
"Num[i]=n.nextInt()",
"Num[i]",
"Num",
"i",
"n.nextInt()",
"n.nextInt",
"n",
"for (int a = 9; a >= 0; a--){\n\t\t\t\tfor (int b = 0; b < a; b++){\n\t\t\t\t\t\tif (Num[b] < Num[b+1]){\n\t\t\t\t\t\tNum[10]=Num[b];\n\t\t\t\t\t\tNum[b]=Num[b+1];\n\t\t\t\t\t\tNum[b+1]=Num[10];\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t}",
"int a = 9;",
"int a = 9;",
"a",
"9",
"a >= 0",
"a",
"0",
"a--",
"a--",
"a",
"{\n\t\t\t\tfor (int b = 0; b < a; b++){\n\t\t\t\t\t\tif (Num[b] < Num[b+1]){\n\t\t\t\t\t\tNum[10]=Num[b];\n\t\t\t\t\t\tNum[b]=Num[b+1];\n\t\t\t\t\t\tNum[b+1]=Num[10];\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t}",
"{\n\t\t\t\tfor (int b = 0; b < a; b++){\n\t\t\t\t\t\tif (Num[b] < Num[b+1]){\n\t\t\t\t\t\tNum[10]=Num[b];\n\t\t\t\t\t\tNum[b]=Num[b+1];\n\t\t\t\t\t\tNum[b+1]=Num[10];\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t}",
"for (int b = 0; b < a; b++){\n\t\t\t\t\t\tif (Num[b] < Num[b+1]){\n\t\t\t\t\t\tNum[10]=Num[b];\n\t\t\t\t\t\tNum[b]=Num[b+1];\n\t\t\t\t\t\tNum[b+1]=Num[10];\n\t\t\t\t\t\t}\n\t\t\t\t}",
"int b = 0;",
"int b = 0;",
"b",
"0",
"b < a",
"b",
"a",
"b++",
"b++",
"b",
"{\n\t\t\t\t\t\tif (Num[b] < Num[b+1]){\n\t\t\t\t\t\tNum[10]=Num[b];\n\t\t\t\t\t\tNum[b]=Num[b+1];\n\t\t\t\t\t\tNum[b+1]=Num[10];\n\t\t\t\t\t\t}\n\t\t\t\t}",
"{\n\t\t\t\t\t\tif (Num[b] < Num[b+1]){\n\t\t\t\t\t\tNum[10]=Num[b];\n\t\t\t\t\t\tNum[b]=Num[b+1];\n\t\t\t\t\t\tNum[b+1]=Num[10];\n\t\t\t\t\t\t}\n\t\t\t\t}",
"if (Num[b] < Num[b+1]){\n\t\t\t\t\t\tNum[10]=Num[b];\n\t\t\t\t\t\tNum[b]=Num[b+1];\n\t\t\t\t\t\tNum[b+1]=Num[10];\n\t\t\t\t\t\t}",
"Num[b] < Num[b+1]",
"Num[b]",
"Num",
"b",
"Num[b+1]",
"Num",
"b+1",
"b",
"1",
"{\n\t\t\t\t\t\tNum[10]=Num[b];\n\t\t\t\t\t\tNum[b]=Num[b+1];\n\t\t\t\t\t\tNum[b+1]=Num[10];\n\t\t\t\t\t\t}",
"Num[10]=Num[b]",
"Num[10]",
"Num",
"10",
"Num[b]",
"Num",
"b",
"Num[b]=Num[b+1]",
"Num[b]",
"Num",
"b",
"Num[b+1]",
"Num",
"b+1",
"b",
"1",
"Num[b+1]=Num[10]",
"Num[b+1]",
"Num",
"b+1",
"b",
"1",
"Num[10]",
"Num",
"10",
"System.out.println(Num[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"Num[0]",
"Num",
"0",
"System.out.println(Num[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"Num[1]",
"Num",
"1",
"System.out.println(Num[2])",
"System.out.println",
"System.out",
"System",
"System.out",
"Num[2]",
"Num",
"2",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint[] Num;\n\t\tNum = new int[11];\n\t\tScanner n=new Scanner(System.in);\n\t\t\tfor (int i = 0; i < 10;i++){\n\t\t\t\tNum[i]=n.nextInt();\n\t\t}\n\t\t\n\t\t\tfor (int a = 9; a >= 0; a--){\n\t\t\t\tfor (int b = 0; b < a; b++){\n\t\t\t\t\t\tif (Num[b] < Num[b+1]){\n\t\t\t\t\t\tNum[10]=Num[b];\n\t\t\t\t\t\tNum[b]=Num[b+1];\n\t\t\t\t\t\tNum[b+1]=Num[10];\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t}\n\t\t\n\t\tSystem.out.println(Num[0]);\n\t\tSystem.out.println(Num[1]);\n\t\tSystem.out.println(Num[2]);\n\t}\t\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint[] Num;\n\t\tNum = new int[11];\n\t\tScanner n=new Scanner(System.in);\n\t\t\tfor (int i = 0; i < 10;i++){\n\t\t\t\tNum[i]=n.nextInt();\n\t\t}\n\t\t\n\t\t\tfor (int a = 9; a >= 0; a--){\n\t\t\t\tfor (int b = 0; b < a; b++){\n\t\t\t\t\t\tif (Num[b] < Num[b+1]){\n\t\t\t\t\t\tNum[10]=Num[b];\n\t\t\t\t\t\tNum[b]=Num[b+1];\n\t\t\t\t\t\tNum[b+1]=Num[10];\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t}\n\t\t\n\t\tSystem.out.println(Num[0]);\n\t\tSystem.out.println(Num[1]);\n\t\tSystem.out.println(Num[2]);\n\t}\t\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int[] Num;
Num = new int[11];
Scanner n=new Scanner(System.in);
for (int i = 0; i < 10;i++){
Num[i]=n.nextInt();
}
for (int a = 9; a >= 0; a--){
for (int b = 0; b < a; b++){
if (Num[b] < Num[b+1]){
Num[10]=Num[b];
Num[b]=Num[b+1];
Num[b+1]=Num[10];
}
}
}
System.out.println(Num[0]);
System.out.println(Num[1]);
System.out.println(Num[2]);
}
} |
[
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,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
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
],
[
85,
8
],
[
85,
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
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
40,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
39,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
11,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
11,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
70,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
69,
75
],
[
75,
76
],
[
75,
77
],
[
68,
78
],
[
70,
79
],
[
79,
80
],
[
79,
81
],
[
9,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] mountHill = new int[10];\n\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tmountHill[i] = sc.nextInt();\n\n\t\t\tif (mountHill[i] > 10000 || mountHill[i] < 0) {\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}\n\t\t}\n\t\tArrays.sort(mountHill);\n\n\t\tSystem.out.println(mountHill[9] + \"\\n\" + mountHill[8] + \"\\n\"\n\t\t\t\t+ mountHill[7]);\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@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] mountHill = new int[10];\n\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tmountHill[i] = sc.nextInt();\n\n\t\t\tif (mountHill[i] > 10000 || mountHill[i] < 0) {\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}\n\t\t}\n\t\tArrays.sort(mountHill);\n\n\t\tSystem.out.println(mountHill[9] + \"\\n\" + mountHill[8] + \"\\n\"\n\t\t\t\t+ mountHill[7]);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] mountHill = new int[10];\n\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tmountHill[i] = sc.nextInt();\n\n\t\t\tif (mountHill[i] > 10000 || mountHill[i] < 0) {\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}\n\t\t}\n\t\tArrays.sort(mountHill);\n\n\t\tSystem.out.println(mountHill[9] + \"\\n\" + mountHill[8] + \"\\n\"\n\t\t\t\t+ mountHill[7]);\n\t}",
"main",
"{\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] mountHill = new int[10];\n\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tmountHill[i] = sc.nextInt();\n\n\t\t\tif (mountHill[i] > 10000 || mountHill[i] < 0) {\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}\n\t\t}\n\t\tArrays.sort(mountHill);\n\n\t\tSystem.out.println(mountHill[9] + \"\\n\" + mountHill[8] + \"\\n\"\n\t\t\t\t+ mountHill[7]);\n\t}",
"@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] mountHill = new int[10];",
"mountHill",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++) {\n\t\t\tmountHill[i] = sc.nextInt();\n\n\t\t\tif (mountHill[i] > 10000 || mountHill[i] < 0) {\n\t\t\t\tSystem.out.println(\"error\");\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\tmountHill[i] = sc.nextInt();\n\n\t\t\tif (mountHill[i] > 10000 || mountHill[i] < 0) {\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}\n\t\t}",
"{\n\t\t\tmountHill[i] = sc.nextInt();\n\n\t\t\tif (mountHill[i] > 10000 || mountHill[i] < 0) {\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}\n\t\t}",
"mountHill[i] = sc.nextInt()",
"mountHill[i]",
"mountHill",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (mountHill[i] > 10000 || mountHill[i] < 0) {\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}",
"mountHill[i] > 10000 || mountHill[i] < 0",
"mountHill[i] > 10000",
"mountHill[i]",
"mountHill",
"i",
"10000",
"mountHill[i] < 0",
"mountHill[i]",
"mountHill",
"i",
"0",
"{\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}",
"System.out.println(\"error\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"error\"",
"Arrays.sort(mountHill)",
"Arrays.sort",
"Arrays",
"mountHill",
"System.out.println(mountHill[9] + \"\\n\" + mountHill[8] + \"\\n\"\n\t\t\t\t+ mountHill[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"mountHill[9] + \"\\n\" + mountHill[8] + \"\\n\"\n\t\t\t\t+ mountHill[7]",
"\"\\n\"",
"mountHill[8]",
"mountHill[9] + \"\\n\" + mountHill[8] + \"\\n\"\n\t\t\t\t+ mountHill[7]",
"mountHill[9]",
"mountHill",
"9",
"\"\\n\"",
"mountHill[8]",
"mountHill",
"8",
"\"\\n\"",
"mountHill[7]",
"mountHill",
"7",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] mountHill = new int[10];\n\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tmountHill[i] = sc.nextInt();\n\n\t\t\tif (mountHill[i] > 10000 || mountHill[i] < 0) {\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}\n\t\t}\n\t\tArrays.sort(mountHill);\n\n\t\tSystem.out.println(mountHill[9] + \"\\n\" + mountHill[8] + \"\\n\"\n\t\t\t\t+ mountHill[7]);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] mountHill = new int[10];\n\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tmountHill[i] = sc.nextInt();\n\n\t\t\tif (mountHill[i] > 10000 || mountHill[i] < 0) {\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}\n\t\t}\n\t\tArrays.sort(mountHill);\n\n\t\tSystem.out.println(mountHill[9] + \"\\n\" + mountHill[8] + \"\\n\"\n\t\t\t\t+ mountHill[7]);\n\t}\n\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
@SuppressWarnings("resource")
Scanner sc = new Scanner(System.in);
int[] mountHill = new int[10];
for (int i = 0; i < 10; i++) {
mountHill[i] = sc.nextInt();
if (mountHill[i] > 10000 || mountHill[i] < 0) {
System.out.println("error");
}
}
Arrays.sort(mountHill);
System.out.println(mountHill[9] + "\n" + mountHill[8] + "\n"
+ mountHill[7]);
}
} |
[
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,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
2,
2,
17,
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
],
[
74,
11
],
[
74,
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
],
[
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
],
[
67,
67
],
[
67,
68
],
[
67,
69
],
[
67,
70
],
[
12,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] | [
"import java.lang.reflect.Array;\nimport java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n // TODO 自動生成されたメソッド・スタブ\n Scanner in = new Scanner(System.in);\n int [] hs = new int[10];\n for(int i=0;i<10;i++){\n hs[i] = in.nextInt();\n }\n Arrays.sort(hs);\n for(int i=0;i<3;i++){\n System.out.println(hs[10-i-1]);\n }\n }\n}",
"import java.lang.reflect.Array;",
"Array",
"java.lang.reflect",
"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 // TODO 自動生成されたメソッド・スタブ\n Scanner in = new Scanner(System.in);\n int [] hs = new int[10];\n for(int i=0;i<10;i++){\n hs[i] = in.nextInt();\n }\n Arrays.sort(hs);\n for(int i=0;i<3;i++){\n System.out.println(hs[10-i-1]);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n // TODO 自動生成されたメソッド・スタブ\n Scanner in = new Scanner(System.in);\n int [] hs = new int[10];\n for(int i=0;i<10;i++){\n hs[i] = in.nextInt();\n }\n Arrays.sort(hs);\n for(int i=0;i<3;i++){\n System.out.println(hs[10-i-1]);\n }\n }",
"main",
"{\n // TODO 自動生成されたメソッド・スタブ\n Scanner in = new Scanner(System.in);\n int [] hs = new int[10];\n for(int i=0;i<10;i++){\n hs[i] = in.nextInt();\n }\n Arrays.sort(hs);\n for(int i=0;i<3;i++){\n System.out.println(hs[10-i-1]);\n }\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int [] hs = new int[10];",
"hs",
"new int[10]",
"10",
"for(int i=0;i<10;i++){\n hs[i] = in.nextInt();\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n hs[i] = in.nextInt();\n }",
"{\n hs[i] = in.nextInt();\n }",
"hs[i] = in.nextInt()",
"hs[i]",
"hs",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"Arrays.sort(hs)",
"Arrays.sort",
"Arrays",
"hs",
"for(int i=0;i<3;i++){\n System.out.println(hs[10-i-1]);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(hs[10-i-1]);\n }",
"{\n System.out.println(hs[10-i-1]);\n }",
"System.out.println(hs[10-i-1])",
"System.out.println",
"System.out",
"System",
"System.out",
"hs[10-i-1]",
"hs",
"10-i-1",
"10-i-1",
"10",
"i",
"1",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n // TODO 自動生成されたメソッド・スタブ\n Scanner in = new Scanner(System.in);\n int [] hs = new int[10];\n for(int i=0;i<10;i++){\n hs[i] = in.nextInt();\n }\n Arrays.sort(hs);\n for(int i=0;i<3;i++){\n System.out.println(hs[10-i-1]);\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n // TODO 自動生成されたメソッド・スタブ\n Scanner in = new Scanner(System.in);\n int [] hs = new int[10];\n for(int i=0;i<10;i++){\n hs[i] = in.nextInt();\n }\n Arrays.sort(hs);\n for(int i=0;i<3;i++){\n System.out.println(hs[10-i-1]);\n }\n }\n}",
"Main"
] | import java.lang.reflect.Array;
import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner in = new Scanner(System.in);
int [] hs = new int[10];
for(int i=0;i<10;i++){
hs[i] = in.nextInt();
}
Arrays.sort(hs);
for(int i=0;i<3;i++){
System.out.println(hs[10-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,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
5,
13,
30,
4,
18,
13,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
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,
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
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
20,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
29,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
29,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
44,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
20,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
20,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
20,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
67,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
18,
89
],
[
89,
90
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\n\n class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n ArrayList<Integer> al = new ArrayList<Integer>();\n try {\n while((str = br.readLine()) != null) {\n al.add( Integer.parseInt(str) );\n }\n } catch (NumberFormatException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n Collections.sort(al);\n Collections.reverse(al);\n for(int i=0; i<3; i++) {\n System.out.println(al.get(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.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n ArrayList<Integer> al = new ArrayList<Integer>();\n try {\n while((str = br.readLine()) != null) {\n al.add( Integer.parseInt(str) );\n }\n } catch (NumberFormatException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n Collections.sort(al);\n Collections.reverse(al);\n for(int i=0; i<3; i++) {\n System.out.println(al.get(i));\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n ArrayList<Integer> al = new ArrayList<Integer>();\n try {\n while((str = br.readLine()) != null) {\n al.add( Integer.parseInt(str) );\n }\n } catch (NumberFormatException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n Collections.sort(al);\n Collections.reverse(al);\n for(int i=0; i<3; i++) {\n System.out.println(al.get(i));\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n ArrayList<Integer> al = new ArrayList<Integer>();\n try {\n while((str = br.readLine()) != null) {\n al.add( Integer.parseInt(str) );\n }\n } catch (NumberFormatException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n Collections.sort(al);\n Collections.reverse(al);\n for(int i=0; i<3; i++) {\n System.out.println(al.get(i));\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"ArrayList<Integer> al = new ArrayList<Integer>();",
"al",
"new ArrayList<Integer>()",
"try {\n while((str = br.readLine()) != null) {\n al.add( Integer.parseInt(str) );\n }\n } catch (NumberFormatException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (NumberFormatException e) {\n e.printStackTrace();\n }",
"NumberFormatException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n while((str = br.readLine()) != null) {\n al.add( Integer.parseInt(str) );\n }\n }",
"while((str = br.readLine()) != null) {\n al.add( Integer.parseInt(str) );\n }",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n al.add( Integer.parseInt(str) );\n }",
"al.add( Integer.parseInt(str) )",
"al.add",
"al",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"Collections.sort(al)",
"Collections.sort",
"Collections",
"al",
"Collections.reverse(al)",
"Collections.reverse",
"Collections",
"al",
"for(int i=0; i<3; i++) {\n System.out.println(al.get(i));\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(al.get(i));\n }",
"{\n System.out.println(al.get(i));\n }",
"System.out.println(al.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"al.get(i)",
"al.get",
"al",
"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) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
ArrayList<Integer> al = new ArrayList<Integer>();
try {
while((str = br.readLine()) != null) {
al.add( Integer.parseInt(str) );
}
} catch (NumberFormatException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
Collections.sort(al);
Collections.reverse(al);
for(int i=0; i<3; i++) {
System.out.println(al.get(i));
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
0,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
13,
13,
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
],
[
125,
8
],
[
8,
9
],
[
8,
10
],
[
125,
11
],
[
11,
12
],
[
11,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
13,
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
],
[
13,
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
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
57,
64
],
[
64,
65
],
[
64,
66
],
[
57,
67
],
[
67,
68
],
[
68,
69
],
[
57,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
53,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
53,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
93,
95
],
[
53,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
13,
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
],
[
11,
122
],
[
122,
123
],
[
0,
124
],
[
124,
125
],
[
124,
126
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\t\n\tprivate static int a[];\n\tprivate static int N = 10;\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner( System.in );\n\t\t\n\t\ta = new int[N];\n\t\t\n\t\t//入力\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\t//最大値選択法\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tint max = i;\n\t\t\tfor (int j = i+1; j < N; j++) {\n\t\t\t\tif(a[j] > a[max]) {\n\t\t\t\t\tmax = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tint t = a[i];\n\t\t\ta[i] = a[max];\n\t\t\ta[max] = t;\n\t\t}\n\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.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\tprivate static int a[];\n\tprivate static int N = 10;\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner( System.in );\n\t\t\n\t\ta = new int[N];\n\t\t\n\t\t//入力\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\t//最大値選択法\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tint max = i;\n\t\t\tfor (int j = i+1; j < N; j++) {\n\t\t\t\tif(a[j] > a[max]) {\n\t\t\t\t\tmax = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tint t = a[i];\n\t\t\ta[i] = a[max];\n\t\t\ta[max] = t;\n\t\t}\n\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",
"private static int a[];",
"a",
"private static int N = 10;",
"N",
"10",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner( System.in );\n\t\t\n\t\ta = new int[N];\n\t\t\n\t\t//入力\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\t//最大値選択法\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tint max = i;\n\t\t\tfor (int j = i+1; j < N; j++) {\n\t\t\t\tif(a[j] > a[max]) {\n\t\t\t\t\tmax = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tint t = a[i];\n\t\t\ta[i] = a[max];\n\t\t\ta[max] = t;\n\t\t}\n\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\tScanner sc = new Scanner( System.in );\n\t\t\n\t\ta = new int[N];\n\t\t\n\t\t//入力\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\t//最大値選択法\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tint max = i;\n\t\t\tfor (int j = i+1; j < N; j++) {\n\t\t\t\tif(a[j] > a[max]) {\n\t\t\t\t\tmax = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tint t = a[i];\n\t\t\ta[i] = a[max];\n\t\t\ta[max] = t;\n\t\t}\n\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}",
"Scanner sc = new Scanner( System.in );",
"sc",
"new Scanner( System.in )",
"a = new int[N]",
"a",
"new int[N]",
"N",
"for (int i = 0; i < N; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\ta[i] = sc.nextInt();\n\t\t}",
"a[i] = sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int i = 0; i < N; i++) {\n\t\t\tint max = i;\n\t\t\tfor (int j = i+1; j < N; j++) {\n\t\t\t\tif(a[j] > a[max]) {\n\t\t\t\t\tmax = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tint t = a[i];\n\t\t\ta[i] = a[max];\n\t\t\ta[max] = t;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t\tint max = i;\n\t\t\tfor (int j = i+1; j < N; j++) {\n\t\t\t\tif(a[j] > a[max]) {\n\t\t\t\t\tmax = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tint t = a[i];\n\t\t\ta[i] = a[max];\n\t\t\ta[max] = t;\n\t\t}",
"{\n\t\t\tint max = i;\n\t\t\tfor (int j = i+1; j < N; j++) {\n\t\t\t\tif(a[j] > a[max]) {\n\t\t\t\t\tmax = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tint t = a[i];\n\t\t\ta[i] = a[max];\n\t\t\ta[max] = t;\n\t\t}",
"int max = i;",
"max",
"i",
"for (int j = i+1; j < N; j++) {\n\t\t\t\tif(a[j] > a[max]) {\n\t\t\t\t\tmax = j;\n\t\t\t\t}\n\t\t\t}",
"int j = i+1;",
"int j = i+1;",
"j",
"i+1",
"i",
"1",
"j < N",
"j",
"N",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(a[j] > a[max]) {\n\t\t\t\t\tmax = j;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(a[j] > a[max]) {\n\t\t\t\t\tmax = j;\n\t\t\t\t}\n\t\t\t}",
"if(a[j] > a[max]) {\n\t\t\t\t\tmax = j;\n\t\t\t\t}",
"a[j] > a[max]",
"a[j]",
"a",
"j",
"a[max]",
"a",
"max",
"{\n\t\t\t\t\tmax = j;\n\t\t\t\t}",
"max = j",
"max",
"j",
"int t = a[i];",
"t",
"a[i]",
"a",
"i",
"a[i] = a[max]",
"a[i]",
"a",
"i",
"a[max]",
"a",
"max",
"a[max] = t",
"a[max]",
"a",
"max",
"t",
"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\t\n\tprivate static int a[];\n\tprivate static int N = 10;\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner( System.in );\n\t\t\n\t\ta = new int[N];\n\t\t\n\t\t//入力\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\t//最大値選択法\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tint max = i;\n\t\t\tfor (int j = i+1; j < N; j++) {\n\t\t\t\tif(a[j] > a[max]) {\n\t\t\t\t\tmax = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tint t = a[i];\n\t\t\ta[i] = a[max];\n\t\t\ta[max] = t;\n\t\t}\n\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\t\n\tprivate static int a[];\n\tprivate static int N = 10;\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner( System.in );\n\t\t\n\t\ta = new int[N];\n\t\t\n\t\t//入力\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\t//最大値選択法\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tint max = i;\n\t\t\tfor (int j = i+1; j < N; j++) {\n\t\t\t\tif(a[j] > a[max]) {\n\t\t\t\t\tmax = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tint t = a[i];\n\t\t\ta[i] = a[max];\n\t\t\ta[max] = t;\n\t\t}\n\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.util.Scanner;
public class Main {
private static int a[];
private static int N = 10;
public static void main(String[] args) {
Scanner sc = new Scanner( System.in );
a = new int[N];
//入力
for (int i = 0; i < N; i++) {
a[i] = sc.nextInt();
}
//最大値選択法
for (int i = 0; i < N; i++) {
int max = i;
for (int j = i+1; j < N; j++) {
if(a[j] > a[max]) {
max = j;
}
}
int t = a[i];
a[i] = a[max];
a[max] = t;
}
//出力
for (int i = 0; i < 3; i++) {
System.out.println(a[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,
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,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
89,
20
],
[
89,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
30,
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
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
53,
54
],
[
23,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
23,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
23,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
23,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
21,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tList<Integer> hills = new ArrayList<Integer>();\n\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tfor(int i=0; i<10; ++i){\n\t\t\thills.add(Integer.parseInt(br.readLine()));\n\t\t}\n\n\t\tCollections.sort(hills);\n\n\t\tSystem.out.println(hills.get(9));\n\t\tSystem.out.println(hills.get(8));\n\t\tSystem.out.println(hills.get(7));\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.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tList<Integer> hills = new ArrayList<Integer>();\n\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tfor(int i=0; i<10; ++i){\n\t\t\thills.add(Integer.parseInt(br.readLine()));\n\t\t}\n\n\t\tCollections.sort(hills);\n\n\t\tSystem.out.println(hills.get(9));\n\t\tSystem.out.println(hills.get(8));\n\t\tSystem.out.println(hills.get(7));\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tList<Integer> hills = new ArrayList<Integer>();\n\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tfor(int i=0; i<10; ++i){\n\t\t\thills.add(Integer.parseInt(br.readLine()));\n\t\t}\n\n\t\tCollections.sort(hills);\n\n\t\tSystem.out.println(hills.get(9));\n\t\tSystem.out.println(hills.get(8));\n\t\tSystem.out.println(hills.get(7));\n\n\t}",
"main",
"{\n\n\t\tList<Integer> hills = new ArrayList<Integer>();\n\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tfor(int i=0; i<10; ++i){\n\t\t\thills.add(Integer.parseInt(br.readLine()));\n\t\t}\n\n\t\tCollections.sort(hills);\n\n\t\tSystem.out.println(hills.get(9));\n\t\tSystem.out.println(hills.get(8));\n\t\tSystem.out.println(hills.get(7));\n\n\t}",
"List<Integer> hills = new ArrayList<Integer>();",
"hills",
"new ArrayList<Integer>()",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"for(int i=0; i<10; ++i){\n\t\t\thills.add(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\thills.add(Integer.parseInt(br.readLine()));\n\t\t}",
"{\n\t\t\thills.add(Integer.parseInt(br.readLine()));\n\t\t}",
"hills.add(Integer.parseInt(br.readLine()))",
"hills.add",
"hills",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Collections.sort(hills)",
"Collections.sort",
"Collections",
"hills",
"System.out.println(hills.get(9))",
"System.out.println",
"System.out",
"System",
"System.out",
"hills.get(9)",
"hills.get",
"hills",
"9",
"System.out.println(hills.get(8))",
"System.out.println",
"System.out",
"System",
"System.out",
"hills.get(8)",
"hills.get",
"hills",
"8",
"System.out.println(hills.get(7))",
"System.out.println",
"System.out",
"System",
"System.out",
"hills.get(7)",
"hills.get",
"hills",
"7",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tList<Integer> hills = new ArrayList<Integer>();\n\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tfor(int i=0; i<10; ++i){\n\t\t\thills.add(Integer.parseInt(br.readLine()));\n\t\t}\n\n\t\tCollections.sort(hills);\n\n\t\tSystem.out.println(hills.get(9));\n\t\tSystem.out.println(hills.get(8));\n\t\tSystem.out.println(hills.get(7));\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tList<Integer> hills = new ArrayList<Integer>();\n\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tfor(int i=0; i<10; ++i){\n\t\t\thills.add(Integer.parseInt(br.readLine()));\n\t\t}\n\n\t\tCollections.sort(hills);\n\n\t\tSystem.out.println(hills.get(9));\n\t\tSystem.out.println(hills.get(8));\n\t\tSystem.out.println(hills.get(7));\n\n\t}\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class Main {
public static void main(String[] args) throws IOException {
List<Integer> hills = new ArrayList<Integer>();
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
for(int i=0; i<10; ++i){
hills.add(Integer.parseInt(br.readLine()));
}
Collections.sort(hills);
System.out.println(hills.get(9));
System.out.println(hills.get(8));
System.out.println(hills.get(7));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
17,
41,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
42,
2,
13,
17,
30,
41,
13,
17,
42,
2,
13,
13,
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,
40,
13,
40,
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
],
[
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
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
54,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
64,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
64,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
79,
85
],
[
53,
86
],
[
86,
87
],
[
45,
88
],
[
88,
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\t//??????\n\t\tint tbl[] = new int[10];\n\t\t//\n\t\tint c = 9;\n\t\tint tmp;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t//????????????????´?\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\ttbl[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\t//??´???(??????)\n\t\twhile(c > 0) {\n\t\t\tint i = 0;\n\t\t\twhile(i < c) {\n\t\t\t\tif(tbl[i] < tbl[i+1]) {\n\t\t\t\t\ttmp = tbl[i];\n\t\t\t\t\ttbl[i] = tbl[i+1];\n\t\t\t\t\ttbl[i+1] = tmp;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tc--;\n\t\t}\n\t\t\n\t\t//??????\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(tbl[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\t//??????\n\t\tint tbl[] = new int[10];\n\t\t//\n\t\tint c = 9;\n\t\tint tmp;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t//????????????????´?\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\ttbl[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\t//??´???(??????)\n\t\twhile(c > 0) {\n\t\t\tint i = 0;\n\t\t\twhile(i < c) {\n\t\t\t\tif(tbl[i] < tbl[i+1]) {\n\t\t\t\t\ttmp = tbl[i];\n\t\t\t\t\ttbl[i] = tbl[i+1];\n\t\t\t\t\ttbl[i+1] = tmp;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tc--;\n\t\t}\n\t\t\n\t\t//??????\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(tbl[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\t//??????\n\t\tint tbl[] = new int[10];\n\t\t//\n\t\tint c = 9;\n\t\tint tmp;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t//????????????????´?\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\ttbl[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\t//??´???(??????)\n\t\twhile(c > 0) {\n\t\t\tint i = 0;\n\t\t\twhile(i < c) {\n\t\t\t\tif(tbl[i] < tbl[i+1]) {\n\t\t\t\t\ttmp = tbl[i];\n\t\t\t\t\ttbl[i] = tbl[i+1];\n\t\t\t\t\ttbl[i+1] = tmp;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tc--;\n\t\t}\n\t\t\n\t\t//??????\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(tbl[i]);\n\t\t}\n\t}",
"main",
"{\n\n\t\t//??????\n\t\tint tbl[] = new int[10];\n\t\t//\n\t\tint c = 9;\n\t\tint tmp;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t//????????????????´?\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\ttbl[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\t//??´???(??????)\n\t\twhile(c > 0) {\n\t\t\tint i = 0;\n\t\t\twhile(i < c) {\n\t\t\t\tif(tbl[i] < tbl[i+1]) {\n\t\t\t\t\ttmp = tbl[i];\n\t\t\t\t\ttbl[i] = tbl[i+1];\n\t\t\t\t\ttbl[i+1] = tmp;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tc--;\n\t\t}\n\t\t\n\t\t//??????\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(tbl[i]);\n\t\t}\n\t}",
"int tbl[] = new int[10];",
"tbl",
"new int[10]",
"10",
"int c = 9;",
"c",
"9",
"int tmp;",
"tmp",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i = 0; i < 10; i++) {\n\t\t\ttbl[i] = sc.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\ttbl[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\ttbl[i] = sc.nextInt();\n\t\t}",
"tbl[i] = sc.nextInt()",
"tbl[i]",
"tbl",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while(c > 0) {\n\t\t\tint i = 0;\n\t\t\twhile(i < c) {\n\t\t\t\tif(tbl[i] < tbl[i+1]) {\n\t\t\t\t\ttmp = tbl[i];\n\t\t\t\t\ttbl[i] = tbl[i+1];\n\t\t\t\t\ttbl[i+1] = tmp;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tc--;\n\t\t}",
"c > 0",
"c",
"0",
"{\n\t\t\tint i = 0;\n\t\t\twhile(i < c) {\n\t\t\t\tif(tbl[i] < tbl[i+1]) {\n\t\t\t\t\ttmp = tbl[i];\n\t\t\t\t\ttbl[i] = tbl[i+1];\n\t\t\t\t\ttbl[i+1] = tmp;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tc--;\n\t\t}",
"int i = 0;",
"i",
"0",
"while(i < c) {\n\t\t\t\tif(tbl[i] < tbl[i+1]) {\n\t\t\t\t\ttmp = tbl[i];\n\t\t\t\t\ttbl[i] = tbl[i+1];\n\t\t\t\t\ttbl[i+1] = tmp;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}",
"i < c",
"i",
"c",
"{\n\t\t\t\tif(tbl[i] < tbl[i+1]) {\n\t\t\t\t\ttmp = tbl[i];\n\t\t\t\t\ttbl[i] = tbl[i+1];\n\t\t\t\t\ttbl[i+1] = tmp;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}",
"if(tbl[i] < tbl[i+1]) {\n\t\t\t\t\ttmp = tbl[i];\n\t\t\t\t\ttbl[i] = tbl[i+1];\n\t\t\t\t\ttbl[i+1] = tmp;\n\t\t\t\t}",
"tbl[i] < tbl[i+1]",
"tbl[i]",
"tbl",
"i",
"tbl[i+1]",
"tbl",
"i+1",
"i",
"1",
"{\n\t\t\t\t\ttmp = tbl[i];\n\t\t\t\t\ttbl[i] = tbl[i+1];\n\t\t\t\t\ttbl[i+1] = tmp;\n\t\t\t\t}",
"tmp = tbl[i]",
"tmp",
"tbl[i]",
"tbl",
"i",
"tbl[i] = tbl[i+1]",
"tbl[i]",
"tbl",
"i",
"tbl[i+1]",
"tbl",
"i+1",
"i",
"1",
"tbl[i+1] = tmp",
"tbl[i+1]",
"tbl",
"i+1",
"i",
"1",
"tmp",
"i++",
"i",
"c--",
"c",
"for(int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(tbl[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(tbl[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(tbl[i]);\n\t\t}",
"System.out.println(tbl[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"tbl[i]",
"tbl",
"i",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
//??????
int tbl[] = new int[10];
//
int c = 9;
int tmp;
Scanner sc = new Scanner(System.in);
//????????????????´?
for(int i = 0; i < 10; i++) {
tbl[i] = sc.nextInt();
}
//??´???(??????)
while(c > 0) {
int i = 0;
while(i < c) {
if(tbl[i] < tbl[i+1]) {
tmp = tbl[i];
tbl[i] = tbl[i+1];
tbl[i+1] = tmp;
}
i++;
}
c--;
}
//??????
for(int i = 0; i < 3; i++) {
System.out.println(tbl[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,
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,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
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
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
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
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
17,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
17,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
17,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
17,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
15,
80
],
[
80,
81
]
] | [
"import java.io.IOException;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\nclass Main{\n\t public static void main(String[] args)throws IOException{\n\t\t Scanner sc = new Scanner(System.in);\n\t\t ArrayList<Integer> al = new ArrayList<Integer>();\n\t\t for(int i = 0; i< 10; i++){\n\t\t\t int w = sc.nextInt();\n\t\t\t al.add(Integer.valueOf(w));\n\t\t }\n\t\t Collections.sort(al);\n\t\t System.out.println(al.get(9));\n\t\t System.out.println(al.get(8));\n\t\t System.out.println(al.get(7));\n \t\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.Scanner;",
"Scanner",
"java.util",
"class Main{\n\t public static void main(String[] args)throws IOException{\n\t\t Scanner sc = new Scanner(System.in);\n\t\t ArrayList<Integer> al = new ArrayList<Integer>();\n\t\t for(int i = 0; i< 10; i++){\n\t\t\t int w = sc.nextInt();\n\t\t\t al.add(Integer.valueOf(w));\n\t\t }\n\t\t Collections.sort(al);\n\t\t System.out.println(al.get(9));\n\t\t System.out.println(al.get(8));\n\t\t System.out.println(al.get(7));\n \t\n }\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\t\t Scanner sc = new Scanner(System.in);\n\t\t ArrayList<Integer> al = new ArrayList<Integer>();\n\t\t for(int i = 0; i< 10; i++){\n\t\t\t int w = sc.nextInt();\n\t\t\t al.add(Integer.valueOf(w));\n\t\t }\n\t\t Collections.sort(al);\n\t\t System.out.println(al.get(9));\n\t\t System.out.println(al.get(8));\n\t\t System.out.println(al.get(7));\n \t\n }",
"main",
"{\n\t\t Scanner sc = new Scanner(System.in);\n\t\t ArrayList<Integer> al = new ArrayList<Integer>();\n\t\t for(int i = 0; i< 10; i++){\n\t\t\t int w = sc.nextInt();\n\t\t\t al.add(Integer.valueOf(w));\n\t\t }\n\t\t Collections.sort(al);\n\t\t System.out.println(al.get(9));\n\t\t System.out.println(al.get(8));\n\t\t System.out.println(al.get(7));\n \t\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> al = new ArrayList<Integer>();",
"al",
"new ArrayList<Integer>()",
"for(int i = 0; i< 10; i++){\n\t\t\t int w = sc.nextInt();\n\t\t\t al.add(Integer.valueOf(w));\n\t\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i< 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\t int w = sc.nextInt();\n\t\t\t al.add(Integer.valueOf(w));\n\t\t }",
"{\n\t\t\t int w = sc.nextInt();\n\t\t\t al.add(Integer.valueOf(w));\n\t\t }",
"int w = sc.nextInt();",
"w",
"sc.nextInt()",
"sc.nextInt",
"sc",
"al.add(Integer.valueOf(w))",
"al.add",
"al",
"Integer.valueOf(w)",
"Integer.valueOf",
"Integer",
"w",
"Collections.sort(al)",
"Collections.sort",
"Collections",
"al",
"System.out.println(al.get(9))",
"System.out.println",
"System.out",
"System",
"System.out",
"al.get(9)",
"al.get",
"al",
"9",
"System.out.println(al.get(8))",
"System.out.println",
"System.out",
"System",
"System.out",
"al.get(8)",
"al.get",
"al",
"8",
"System.out.println(al.get(7))",
"System.out.println",
"System.out",
"System",
"System.out",
"al.get(7)",
"al.get",
"al",
"7",
"String[] args",
"args"
] | import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
class Main{
public static void main(String[] args)throws IOException{
Scanner sc = new Scanner(System.in);
ArrayList<Integer> al = new ArrayList<Integer>();
for(int i = 0; i< 10; i++){
int w = sc.nextInt();
al.add(Integer.valueOf(w));
}
Collections.sort(al);
System.out.println(al.get(9));
System.out.println(al.get(8));
System.out.println(al.get(7));
}
} |
[
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,
17,
42,
4,
18,
13,
30,
0,
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,
30,
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
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
20,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
40,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
46,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
40,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
66,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
66,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
85,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
85,
97
],
[
20,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
103,
105
],
[
20,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
111,
112
],
[
111,
113
],
[
20,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
119,
120
],
[
119,
121
],
[
18,
122
],
[
122,
123
]
] | [
"/* package whatever; // don't place package name! */\n \nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n \nimport java.util.ArrayList;\nimport java.util.List;\n \n/* Name of the class has to be \"Main\" only if the class is public. */\nclass Main\n{\n public static void main (String[] args) throws java.lang.Exception\n {\n //文字列読込み\n Scanner sc = new Scanner(System.in);\n \n //結果格納\n int scInt;\n int[] check = new int[3];\n\n while (sc.hasNext()) {\n //1行読込み\n scInt = sc.nextInt();\n\t\n\tif (check[0] < scInt) {\n\t\tcheck[2] = check[1];\n\t\tcheck[1] = check[0];\n\t\tcheck[0] = scInt;\n\t} else if (check[1] < scInt) {\n\t\tcheck[2] = check[1];\n\t\tcheck[1] = scInt;\n\t} else if (check[2] < scInt) {\n\t\tcheck[2] = scInt;\n\t} else {\n\t}\n }\n\n\tSystem.out.println(check[0]); \n\tSystem.out.println(check[1]); \n\tSystem.out.println(check[2]); \n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"class Main\n{\n public static void main (String[] args) throws java.lang.Exception\n {\n //文字列読込み\n Scanner sc = new Scanner(System.in);\n \n //結果格納\n int scInt;\n int[] check = new int[3];\n\n while (sc.hasNext()) {\n //1行読込み\n scInt = sc.nextInt();\n\t\n\tif (check[0] < scInt) {\n\t\tcheck[2] = check[1];\n\t\tcheck[1] = check[0];\n\t\tcheck[0] = scInt;\n\t} else if (check[1] < scInt) {\n\t\tcheck[2] = check[1];\n\t\tcheck[1] = scInt;\n\t} else if (check[2] < scInt) {\n\t\tcheck[2] = scInt;\n\t} else {\n\t}\n }\n\n\tSystem.out.println(check[0]); \n\tSystem.out.println(check[1]); \n\tSystem.out.println(check[2]); \n\n }\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n {\n //文字列読込み\n Scanner sc = new Scanner(System.in);\n \n //結果格納\n int scInt;\n int[] check = new int[3];\n\n while (sc.hasNext()) {\n //1行読込み\n scInt = sc.nextInt();\n\t\n\tif (check[0] < scInt) {\n\t\tcheck[2] = check[1];\n\t\tcheck[1] = check[0];\n\t\tcheck[0] = scInt;\n\t} else if (check[1] < scInt) {\n\t\tcheck[2] = check[1];\n\t\tcheck[1] = scInt;\n\t} else if (check[2] < scInt) {\n\t\tcheck[2] = scInt;\n\t} else {\n\t}\n }\n\n\tSystem.out.println(check[0]); \n\tSystem.out.println(check[1]); \n\tSystem.out.println(check[2]); \n\n }",
"main",
"{\n //文字列読込み\n Scanner sc = new Scanner(System.in);\n \n //結果格納\n int scInt;\n int[] check = new int[3];\n\n while (sc.hasNext()) {\n //1行読込み\n scInt = sc.nextInt();\n\t\n\tif (check[0] < scInt) {\n\t\tcheck[2] = check[1];\n\t\tcheck[1] = check[0];\n\t\tcheck[0] = scInt;\n\t} else if (check[1] < scInt) {\n\t\tcheck[2] = check[1];\n\t\tcheck[1] = scInt;\n\t} else if (check[2] < scInt) {\n\t\tcheck[2] = scInt;\n\t} else {\n\t}\n }\n\n\tSystem.out.println(check[0]); \n\tSystem.out.println(check[1]); \n\tSystem.out.println(check[2]); \n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int scInt;",
"scInt",
"int[] check = new int[3];",
"check",
"new int[3]",
"3",
"while (sc.hasNext()) {\n //1行読込み\n scInt = sc.nextInt();\n\t\n\tif (check[0] < scInt) {\n\t\tcheck[2] = check[1];\n\t\tcheck[1] = check[0];\n\t\tcheck[0] = scInt;\n\t} else if (check[1] < scInt) {\n\t\tcheck[2] = check[1];\n\t\tcheck[1] = scInt;\n\t} else if (check[2] < scInt) {\n\t\tcheck[2] = scInt;\n\t} else {\n\t}\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n //1行読込み\n scInt = sc.nextInt();\n\t\n\tif (check[0] < scInt) {\n\t\tcheck[2] = check[1];\n\t\tcheck[1] = check[0];\n\t\tcheck[0] = scInt;\n\t} else if (check[1] < scInt) {\n\t\tcheck[2] = check[1];\n\t\tcheck[1] = scInt;\n\t} else if (check[2] < scInt) {\n\t\tcheck[2] = scInt;\n\t} else {\n\t}\n }",
"scInt = sc.nextInt()",
"scInt",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (check[0] < scInt) {\n\t\tcheck[2] = check[1];\n\t\tcheck[1] = check[0];\n\t\tcheck[0] = scInt;\n\t} else if (check[1] < scInt) {\n\t\tcheck[2] = check[1];\n\t\tcheck[1] = scInt;\n\t} else if (check[2] < scInt) {\n\t\tcheck[2] = scInt;\n\t} else {\n\t}",
"check[0] < scInt",
"check[0]",
"check",
"0",
"scInt",
"{\n\t\tcheck[2] = check[1];\n\t\tcheck[1] = check[0];\n\t\tcheck[0] = scInt;\n\t}",
"check[2] = check[1]",
"check[2]",
"check",
"2",
"check[1]",
"check",
"1",
"check[1] = check[0]",
"check[1]",
"check",
"1",
"check[0]",
"check",
"0",
"check[0] = scInt",
"check[0]",
"check",
"0",
"scInt",
"if (check[1] < scInt) {\n\t\tcheck[2] = check[1];\n\t\tcheck[1] = scInt;\n\t} else if (check[2] < scInt) {\n\t\tcheck[2] = scInt;\n\t} else {\n\t}",
"check[1] < scInt",
"check[1]",
"check",
"1",
"scInt",
"{\n\t\tcheck[2] = check[1];\n\t\tcheck[1] = scInt;\n\t}",
"check[2] = check[1]",
"check[2]",
"check",
"2",
"check[1]",
"check",
"1",
"check[1] = scInt",
"check[1]",
"check",
"1",
"scInt",
"if (check[2] < scInt) {\n\t\tcheck[2] = scInt;\n\t} else {\n\t}",
"check[2] < scInt",
"check[2]",
"check",
"2",
"scInt",
"{\n\t\tcheck[2] = scInt;\n\t}",
"check[2] = scInt",
"check[2]",
"check",
"2",
"scInt",
"{\n\t}",
"System.out.println(check[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"check[0]",
"check",
"0",
"System.out.println(check[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"check[1]",
"check",
"1",
"System.out.println(check[2])",
"System.out.println",
"System.out",
"System",
"System.out",
"check[2]",
"check",
"2",
"String[] args",
"args"
] | /* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
/* Name of the class has to be "Main" only if the class is public. */
class Main
{
public static void main (String[] args) throws java.lang.Exception
{
//文字列読込み
Scanner sc = new Scanner(System.in);
//結果格納
int scInt;
int[] check = new int[3];
while (sc.hasNext()) {
//1行読込み
scInt = sc.nextInt();
if (check[0] < scInt) {
check[2] = check[1];
check[1] = check[0];
check[0] = scInt;
} else if (check[1] < scInt) {
check[2] = check[1];
check[1] = scInt;
} else if (check[2] < scInt) {
check[2] = scInt;
} else {
}
}
System.out.println(check[0]);
System.out.println(check[1]);
System.out.println(check[2]);
}
}
|
[
7,
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,
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,
2,
2,
18,
13,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
21,
31
],
[
31,
32
],
[
32,
33
],
[
21,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
11,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
67,
73
],
[
9,
74
],
[
74,
75
]
] | [
"import java.util.Arrays;\n//List of Top 3 Hills\nimport java.util.Scanner;\n\nclass Main{\n public static void main(String[] a){\n Scanner sc = new Scanner(System.in);\n int hight[];\n hight = new int[10];\n \n// System.out.println(\"hight.length=\"+hight.length);\n for(int i=0; i<hight.length; i++) {\n hight[i]=sc.nextInt();\n }\n// System.out.println(\"in end\");\n Arrays.sort(hight);\n\n for(int i=0; i<3; i++) {\n System.out.println(hight[(hight.length-1-i)]);\n }\n\n }\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] a){\n Scanner sc = new Scanner(System.in);\n int hight[];\n hight = new int[10];\n \n// System.out.println(\"hight.length=\"+hight.length);\n for(int i=0; i<hight.length; i++) {\n hight[i]=sc.nextInt();\n }\n// System.out.println(\"in end\");\n Arrays.sort(hight);\n\n for(int i=0; i<3; i++) {\n System.out.println(hight[(hight.length-1-i)]);\n }\n\n }\n}",
"Main",
"public static void main(String[] a){\n Scanner sc = new Scanner(System.in);\n int hight[];\n hight = new int[10];\n \n// System.out.println(\"hight.length=\"+hight.length);\n for(int i=0; i<hight.length; i++) {\n hight[i]=sc.nextInt();\n }\n// System.out.println(\"in end\");\n Arrays.sort(hight);\n\n for(int i=0; i<3; i++) {\n System.out.println(hight[(hight.length-1-i)]);\n }\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int hight[];\n hight = new int[10];\n \n// System.out.println(\"hight.length=\"+hight.length);\n for(int i=0; i<hight.length; i++) {\n hight[i]=sc.nextInt();\n }\n// System.out.println(\"in end\");\n Arrays.sort(hight);\n\n for(int i=0; i<3; i++) {\n System.out.println(hight[(hight.length-1-i)]);\n }\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int hight[];",
"hight",
"hight = new int[10]",
"hight",
"new int[10]",
"10",
"for(int i=0; i<hight.length; i++) {\n hight[i]=sc.nextInt();\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<hight.length",
"i",
"hight.length",
"hight",
"hight.length",
"i++",
"i++",
"i",
"{\n hight[i]=sc.nextInt();\n }",
"{\n hight[i]=sc.nextInt();\n }",
"hight[i]=sc.nextInt()",
"hight[i]",
"hight",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(hight)",
"Arrays.sort",
"Arrays",
"hight",
"for(int i=0; i<3; i++) {\n System.out.println(hight[(hight.length-1-i)]);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(hight[(hight.length-1-i)]);\n }",
"{\n System.out.println(hight[(hight.length-1-i)]);\n }",
"System.out.println(hight[(hight.length-1-i)])",
"System.out.println",
"System.out",
"System",
"System.out",
"hight[(hight.length-1-i)]",
"hight",
"(hight.length-1-i)",
"hight.length-1-i",
"hight.length",
"hight",
"hight.length",
"1",
"i",
"String[] a",
"a"
] | import java.util.Arrays;
//List of Top 3 Hills
import java.util.Scanner;
class Main{
public static void main(String[] a){
Scanner sc = new Scanner(System.in);
int hight[];
hight = new int[10];
// System.out.println("hight.length="+hight.length);
for(int i=0; i<hight.length; i++) {
hight[i]=sc.nextInt();
}
// System.out.println("in end");
Arrays.sort(hight);
for(int i=0; i<3; i++) {
System.out.println(hight[(hight.length-1-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,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
86,
11
],
[
86,
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
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
33,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
14,
49
],
[
49,
50
],
[
50,
51
],
[
14,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
14,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
14,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
14,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
12,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] a) {\n\n\t\t//????????¶?????\\??????????????????\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t// TODO ?????????????????????????????????????????????\n\t\t//??????????????????\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t//????????¶???????????????????????°??????????????????\n\t\tfor(int i =0; i<10; i++){\n\t\t\tString stra = scan.next();\n\t\t\tint str = Integer.parseInt(stra);\n\t\t\t list.add(str);\n\t\t}\n\n\t\t//????????????\n\t\tscan.close();\n\n\t\t//?????????\n\t\tCollections.sort(list);\n\t\t//??????\n\t\tSystem.out.println(list.get(9));\n\t\tSystem.out.println(list.get(8));\n\t\tSystem.out.println(list.get(7));\n\n\t}\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\tpublic static void main(String[] a) {\n\n\t\t//????????¶?????\\??????????????????\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t// TODO ?????????????????????????????????????????????\n\t\t//??????????????????\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t//????????¶???????????????????????°??????????????????\n\t\tfor(int i =0; i<10; i++){\n\t\t\tString stra = scan.next();\n\t\t\tint str = Integer.parseInt(stra);\n\t\t\t list.add(str);\n\t\t}\n\n\t\t//????????????\n\t\tscan.close();\n\n\t\t//?????????\n\t\tCollections.sort(list);\n\t\t//??????\n\t\tSystem.out.println(list.get(9));\n\t\tSystem.out.println(list.get(8));\n\t\tSystem.out.println(list.get(7));\n\n\t}\n\n}",
"Main",
"public static void main(String[] a) {\n\n\t\t//????????¶?????\\??????????????????\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t// TODO ?????????????????????????????????????????????\n\t\t//??????????????????\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t//????????¶???????????????????????°??????????????????\n\t\tfor(int i =0; i<10; i++){\n\t\t\tString stra = scan.next();\n\t\t\tint str = Integer.parseInt(stra);\n\t\t\t list.add(str);\n\t\t}\n\n\t\t//????????????\n\t\tscan.close();\n\n\t\t//?????????\n\t\tCollections.sort(list);\n\t\t//??????\n\t\tSystem.out.println(list.get(9));\n\t\tSystem.out.println(list.get(8));\n\t\tSystem.out.println(list.get(7));\n\n\t}",
"main",
"{\n\n\t\t//????????¶?????\\??????????????????\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t// TODO ?????????????????????????????????????????????\n\t\t//??????????????????\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t//????????¶???????????????????????°??????????????????\n\t\tfor(int i =0; i<10; i++){\n\t\t\tString stra = scan.next();\n\t\t\tint str = Integer.parseInt(stra);\n\t\t\t list.add(str);\n\t\t}\n\n\t\t//????????????\n\t\tscan.close();\n\n\t\t//?????????\n\t\tCollections.sort(list);\n\t\t//??????\n\t\tSystem.out.println(list.get(9));\n\t\tSystem.out.println(list.get(8));\n\t\tSystem.out.println(list.get(7));\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"ArrayList<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"for(int i =0; i<10; i++){\n\t\t\tString stra = scan.next();\n\t\t\tint str = Integer.parseInt(stra);\n\t\t\t list.add(str);\n\t\t}",
"int i =0;",
"int i =0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tString stra = scan.next();\n\t\t\tint str = Integer.parseInt(stra);\n\t\t\t list.add(str);\n\t\t}",
"{\n\t\t\tString stra = scan.next();\n\t\t\tint str = Integer.parseInt(stra);\n\t\t\t list.add(str);\n\t\t}",
"String stra = scan.next();",
"stra",
"scan.next()",
"scan.next",
"scan",
"int str = Integer.parseInt(stra);",
"str",
"Integer.parseInt(stra)",
"Integer.parseInt",
"Integer",
"stra",
"list.add(str)",
"list.add",
"list",
"str",
"scan.close()",
"scan.close",
"scan",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"System.out.println(list.get(9))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(9)",
"list.get",
"list",
"9",
"System.out.println(list.get(8))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(8)",
"list.get",
"list",
"8",
"System.out.println(list.get(7))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(7)",
"list.get",
"list",
"7",
"String[] a",
"a",
"public class Main {\n\tpublic static void main(String[] a) {\n\n\t\t//????????¶?????\\??????????????????\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t// TODO ?????????????????????????????????????????????\n\t\t//??????????????????\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t//????????¶???????????????????????°??????????????????\n\t\tfor(int i =0; i<10; i++){\n\t\t\tString stra = scan.next();\n\t\t\tint str = Integer.parseInt(stra);\n\t\t\t list.add(str);\n\t\t}\n\n\t\t//????????????\n\t\tscan.close();\n\n\t\t//?????????\n\t\tCollections.sort(list);\n\t\t//??????\n\t\tSystem.out.println(list.get(9));\n\t\tSystem.out.println(list.get(8));\n\t\tSystem.out.println(list.get(7));\n\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] a) {\n\n\t\t//????????¶?????\\??????????????????\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t// TODO ?????????????????????????????????????????????\n\t\t//??????????????????\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t//????????¶???????????????????????°??????????????????\n\t\tfor(int i =0; i<10; i++){\n\t\t\tString stra = scan.next();\n\t\t\tint str = Integer.parseInt(stra);\n\t\t\t list.add(str);\n\t\t}\n\n\t\t//????????????\n\t\tscan.close();\n\n\t\t//?????????\n\t\tCollections.sort(list);\n\t\t//??????\n\t\tSystem.out.println(list.get(9));\n\t\tSystem.out.println(list.get(8));\n\t\tSystem.out.println(list.get(7));\n\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
public class Main {
public static void main(String[] a) {
//????????¶?????\??????????????????
Scanner scan = new Scanner(System.in);
// TODO ?????????????????????????????????????????????
//??????????????????
ArrayList<Integer> list = new ArrayList<Integer>();
//????????¶???????????????????????°??????????????????
for(int i =0; i<10; i++){
String stra = scan.next();
int str = Integer.parseInt(stra);
list.add(str);
}
//????????????
scan.close();
//?????????
Collections.sort(list);
//??????
System.out.println(list.get(9));
System.out.println(list.get(8));
System.out.println(list.get(7));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
17,
41,
13,
4,
13,
18,
13,
17,
41,
13,
4,
13,
18,
13,
17,
14,
2,
2,
2,
2,
17,
13,
2,
13,
17,
2,
17,
13,
2,
13,
17,
30,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
4,
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
],
[
11,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
28,
32
],
[
25,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
25,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
25,
47
],
[
47,
48
],
[
50,
49
],
[
57,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
57,
57
],
[
57,
58
],
[
57,
59
],
[
50,
60
],
[
60,
61
],
[
60,
62
],
[
47,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
63,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
9,
80
],
[
80,
81
]
] | [
"import static java.lang.Integer.parseInt;\nimport java.io.*;\n\nclass Main{\n public static void main(String[] a) throws IOException{\n\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n String s;\n\n while((s = input.readLine())!=null){\n String[] num = s.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0 <= x && x <=1000000 && 0 <= y && y <= 1000000){\n int z = x + y;\n System.out.println(Integer.toString(z).length());\n }\n }\n }\n}",
"import static java.lang.Integer.parseInt;",
"import static java.lang.Integer.parseInt;",
"import static java.lang.Integer.parseInt;",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] a) throws IOException{\n\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n String s;\n\n while((s = input.readLine())!=null){\n String[] num = s.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0 <= x && x <=1000000 && 0 <= y && y <= 1000000){\n int z = x + y;\n System.out.println(Integer.toString(z).length());\n }\n }\n }\n}",
"Main",
"public static void main(String[] a) throws IOException{\n\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n String s;\n\n while((s = input.readLine())!=null){\n String[] num = s.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0 <= x && x <=1000000 && 0 <= y && y <= 1000000){\n int z = x + y;\n System.out.println(Integer.toString(z).length());\n }\n }\n }",
"main",
"{\n\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n String s;\n\n while((s = input.readLine())!=null){\n String[] num = s.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0 <= x && x <=1000000 && 0 <= y && y <= 1000000){\n int z = x + y;\n System.out.println(Integer.toString(z).length());\n }\n }\n }",
"BufferedReader input = new BufferedReader(new InputStreamReader(System.in));",
"input",
"new BufferedReader(new InputStreamReader(System.in))",
"String s;",
"s",
"while((s = input.readLine())!=null){\n String[] num = s.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0 <= x && x <=1000000 && 0 <= y && y <= 1000000){\n int z = x + y;\n System.out.println(Integer.toString(z).length());\n }\n }",
"(s = input.readLine())!=null",
"(s = input.readLine())",
"s",
"input.readLine()",
"input.readLine",
"input",
"null",
"{\n String[] num = s.split(\" \",0);\n int x = parseInt(num[0]);\n int y = parseInt(num[1]);\n if(0 <= x && x <=1000000 && 0 <= y && y <= 1000000){\n int z = x + y;\n System.out.println(Integer.toString(z).length());\n }\n }",
"String[] num = s.split(\" \",0);",
"num",
"s.split(\" \",0)",
"s.split",
"s",
"\" \"",
"0",
"int x = parseInt(num[0]);",
"x",
"parseInt(num[0])",
"parseInt",
"num[0]",
"num",
"0",
"int y = parseInt(num[1]);",
"y",
"parseInt(num[1])",
"parseInt",
"num[1]",
"num",
"1",
"if(0 <= x && x <=1000000 && 0 <= y && y <= 1000000){\n int z = x + y;\n System.out.println(Integer.toString(z).length());\n }",
"0 <= x && x <=1000000 && 0 <= y && y <= 1000000",
"0 <= y",
"0 <= x && x <=1000000 && 0 <= y && y <= 1000000",
"0 <= x",
"0",
"x",
"x <=1000000",
"x",
"1000000",
"0 <= y",
"0",
"y",
"y <= 1000000",
"y",
"1000000",
"{\n int z = x + y;\n System.out.println(Integer.toString(z).length());\n }",
"int z = x + y;",
"z",
"x + y",
"x",
"y",
"System.out.println(Integer.toString(z).length())",
"System.out.println",
"System.out",
"System",
"System.out",
"Integer.toString(z).length()",
"Integer.toString(z).length",
"Integer.toString(z)",
"Integer.toString",
"Integer",
"z",
"String[] a",
"a"
] | import static java.lang.Integer.parseInt;
import java.io.*;
class Main{
public static void main(String[] a) throws IOException{
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
String s;
while((s = input.readLine())!=null){
String[] num = s.split(" ",0);
int x = parseInt(num[0]);
int y = parseInt(num[1]);
if(0 <= x && x <=1000000 && 0 <= y && y <= 1000000){
int z = x + y;
System.out.println(Integer.toString(z).length());
}
}
}
} |
Subsets and Splits