node_ids
sequencelengths 4
1.4k
| edge_index
sequencelengths 1
2.22k
| text
sequencelengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
67,
8
],
[
67,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
11,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
9,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"import java.util.Scanner;\nimport java.util.Arrays;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] heights = new int[10];\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\theights[i] = scan.nextInt();\n\t\t}\n\n\t\tArrays.sort(heights);\n\t\tfor(int i = 9; i >= 7; i--){\n\t\t\tSystem.out.println(heights[i]);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] heights = new int[10];\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\theights[i] = scan.nextInt();\n\t\t}\n\n\t\tArrays.sort(heights);\n\t\tfor(int i = 9; i >= 7; i--){\n\t\t\tSystem.out.println(heights[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] heights = new int[10];\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\theights[i] = scan.nextInt();\n\t\t}\n\n\t\tArrays.sort(heights);\n\t\tfor(int i = 9; i >= 7; i--){\n\t\t\tSystem.out.println(heights[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] heights = new int[10];\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\theights[i] = scan.nextInt();\n\t\t}\n\n\t\tArrays.sort(heights);\n\t\tfor(int i = 9; i >= 7; i--){\n\t\t\tSystem.out.println(heights[i]);\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] heights = new int[10];",
"heights",
"new int[10]",
"10",
"for(int i = 0; i < 10; i++){\n\t\t\theights[i] = scan.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\theights[i] = scan.nextInt();\n\t\t}",
"{\n\t\t\theights[i] = scan.nextInt();\n\t\t}",
"heights[i] = scan.nextInt()",
"heights[i]",
"heights",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"Arrays.sort(heights)",
"Arrays.sort",
"Arrays",
"heights",
"for(int i = 9; i >= 7; i--){\n\t\t\tSystem.out.println(heights[i]);\n\t\t}",
"int i = 9;",
"int i = 9;",
"i",
"9",
"i >= 7",
"i",
"7",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.println(heights[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(heights[i]);\n\t\t}",
"System.out.println(heights[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"heights[i]",
"heights",
"i",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] heights = new int[10];\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\theights[i] = scan.nextInt();\n\t\t}\n\n\t\tArrays.sort(heights);\n\t\tfor(int i = 9; i >= 7; i--){\n\t\t\tSystem.out.println(heights[i]);\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] heights = new int[10];\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\theights[i] = scan.nextInt();\n\t\t}\n\n\t\tArrays.sort(heights);\n\t\tfor(int i = 9; i >= 7; i--){\n\t\t\tSystem.out.println(heights[i]);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
import java.util.Arrays;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int[] heights = new int[10];
for(int i = 0; i < 10; i++){
heights[i] = scan.nextInt();
}
Arrays.sort(heights);
for(int i = 9; i >= 7; i--){
System.out.println(heights[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
13,
17,
0,
18,
13,
13,
4,
18,
13,
18,
13,
17,
40,
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
],
[
22,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
32,
37
],
[
29,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
29,
48
],
[
48,
49
],
[
14,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
14,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
14,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
14,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
12,
78
],
[
78,
79
]
] | [
"/* package whatever; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\nclass Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t//int arr[] = {10,20,5,1,0,100,12,9,20,-100};\n\t\tint arr[] = new int[10];\n\t\tint i = 0;\n\t\twhile( sc.hasNext() ){\n \t\tString line[] = sc.nextLine().split(\" \");\n\t\t\tarr[i] = Integer.parseInt(line[0]);\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tArrays.sort(arr);\n \t\n \tSystem.out.println(arr[9]);\n \tSystem.out.println(arr[8]);\n \tSystem.out.println(arr[7]);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t//int arr[] = {10,20,5,1,0,100,12,9,20,-100};\n\t\tint arr[] = new int[10];\n\t\tint i = 0;\n\t\twhile( sc.hasNext() ){\n \t\tString line[] = sc.nextLine().split(\" \");\n\t\t\tarr[i] = Integer.parseInt(line[0]);\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tArrays.sort(arr);\n \t\n \tSystem.out.println(arr[9]);\n \tSystem.out.println(arr[8]);\n \tSystem.out.println(arr[7]);\n\t}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t//int arr[] = {10,20,5,1,0,100,12,9,20,-100};\n\t\tint arr[] = new int[10];\n\t\tint i = 0;\n\t\twhile( sc.hasNext() ){\n \t\tString line[] = sc.nextLine().split(\" \");\n\t\t\tarr[i] = Integer.parseInt(line[0]);\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tArrays.sort(arr);\n \t\n \tSystem.out.println(arr[9]);\n \tSystem.out.println(arr[8]);\n \tSystem.out.println(arr[7]);\n\t}",
"main",
"{\n\t\t// your code goes here\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t//int arr[] = {10,20,5,1,0,100,12,9,20,-100};\n\t\tint arr[] = new int[10];\n\t\tint i = 0;\n\t\twhile( sc.hasNext() ){\n \t\tString line[] = sc.nextLine().split(\" \");\n\t\t\tarr[i] = Integer.parseInt(line[0]);\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tArrays.sort(arr);\n \t\n \tSystem.out.println(arr[9]);\n \tSystem.out.println(arr[8]);\n \tSystem.out.println(arr[7]);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int arr[] = new int[10];",
"arr",
"new int[10]",
"10",
"int i = 0;",
"i",
"0",
"while( sc.hasNext() ){\n \t\tString line[] = sc.nextLine().split(\" \");\n\t\t\tarr[i] = Integer.parseInt(line[0]);\n\t\t\ti++;\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n \t\tString line[] = sc.nextLine().split(\" \");\n\t\t\tarr[i] = Integer.parseInt(line[0]);\n\t\t\ti++;\n\t\t}",
"String line[] = sc.nextLine().split(\" \");",
"line",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"arr[i] = Integer.parseInt(line[0])",
"arr[i]",
"arr",
"i",
"Integer.parseInt(line[0])",
"Integer.parseInt",
"Integer",
"line[0]",
"line",
"0",
"i++",
"i",
"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"
] | /* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* 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
{
// your code goes here
Scanner sc = new Scanner(System.in);
//int arr[] = {10,20,5,1,0,100,12,9,20,-100};
int arr[] = new int[10];
int i = 0;
while( sc.hasNext() ){
String line[] = sc.nextLine().split(" ");
arr[i] = Integer.parseInt(line[0]);
i++;
}
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,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
76,
14
],
[
76,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
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
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
17,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
17,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
15,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"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[] a) throws NumberFormatException, IOException{\n\n\t\tint arr[] = new int [10];\n\t\tBufferedReader read = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor( int i=0; i<10; i++){\n\n\t\t arr[i] = Integer.parseInt(read.readLine());\n\n\t\t}\n\n\t\t Arrays.sort(arr);\n\n\t\t for(int i = 9; i>6; i--){\n\n\t\t\t System.out.println(arr[i]);\n\n\t}\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\tpublic static void main(String[] a) throws NumberFormatException, IOException{\n\n\t\tint arr[] = new int [10];\n\t\tBufferedReader read = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor( int i=0; i<10; i++){\n\n\t\t arr[i] = Integer.parseInt(read.readLine());\n\n\t\t}\n\n\t\t Arrays.sort(arr);\n\n\t\t for(int i = 9; i>6; i--){\n\n\t\t\t System.out.println(arr[i]);\n\n\t}\n\n}\n}",
"Main",
"public static void main(String[] a) throws NumberFormatException, IOException{\n\n\t\tint arr[] = new int [10];\n\t\tBufferedReader read = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor( int i=0; i<10; i++){\n\n\t\t arr[i] = Integer.parseInt(read.readLine());\n\n\t\t}\n\n\t\t Arrays.sort(arr);\n\n\t\t for(int i = 9; i>6; i--){\n\n\t\t\t System.out.println(arr[i]);\n\n\t}\n\n}",
"main",
"{\n\n\t\tint arr[] = new int [10];\n\t\tBufferedReader read = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor( int i=0; i<10; i++){\n\n\t\t arr[i] = Integer.parseInt(read.readLine());\n\n\t\t}\n\n\t\t Arrays.sort(arr);\n\n\t\t for(int i = 9; i>6; i--){\n\n\t\t\t System.out.println(arr[i]);\n\n\t}\n\n}",
"int arr[] = new int [10];",
"arr",
"new int [10]",
"10",
"BufferedReader read = new BufferedReader(new InputStreamReader(System.in));",
"read",
"new BufferedReader(new InputStreamReader(System.in))",
"for( int i=0; i<10; i++){\n\n\t\t arr[i] = Integer.parseInt(read.readLine());\n\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\n\t\t arr[i] = Integer.parseInt(read.readLine());\n\n\t\t}",
"{\n\n\t\t arr[i] = Integer.parseInt(read.readLine());\n\n\t\t}",
"arr[i] = Integer.parseInt(read.readLine())",
"arr[i]",
"arr",
"i",
"Integer.parseInt(read.readLine())",
"Integer.parseInt",
"Integer",
"read.readLine()",
"read.readLine",
"read",
"Arrays.sort(arr)",
"Arrays.sort",
"Arrays",
"arr",
"for(int i = 9; i>6; i--){\n\n\t\t\t System.out.println(arr[i]);\n\n\t}",
"int i = 9;",
"int i = 9;",
"i",
"9",
"i>6",
"i",
"6",
"i--",
"i--",
"i",
"{\n\n\t\t\t System.out.println(arr[i]);\n\n\t}",
"{\n\n\t\t\t System.out.println(arr[i]);\n\n\t}",
"System.out.println(arr[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"arr[i]",
"arr",
"i",
"String[] a",
"a",
"public class Main {\n\tpublic static void main(String[] a) throws NumberFormatException, IOException{\n\n\t\tint arr[] = new int [10];\n\t\tBufferedReader read = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor( int i=0; i<10; i++){\n\n\t\t arr[i] = Integer.parseInt(read.readLine());\n\n\t\t}\n\n\t\t Arrays.sort(arr);\n\n\t\t for(int i = 9; i>6; i--){\n\n\t\t\t System.out.println(arr[i]);\n\n\t}\n\n}\n}",
"public class Main {\n\tpublic static void main(String[] a) throws NumberFormatException, IOException{\n\n\t\tint arr[] = new int [10];\n\t\tBufferedReader read = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor( int i=0; i<10; i++){\n\n\t\t arr[i] = Integer.parseInt(read.readLine());\n\n\t\t}\n\n\t\t Arrays.sort(arr);\n\n\t\t for(int i = 9; i>6; i--){\n\n\t\t\t System.out.println(arr[i]);\n\n\t}\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[] a) throws NumberFormatException, IOException{
int arr[] = new int [10];
BufferedReader read = new BufferedReader(new InputStreamReader(System.in));
for( int i=0; i<10; i++){
arr[i] = Integer.parseInt(read.readLine());
}
Arrays.sort(arr);
for(int i = 9; i>6; i--){
System.out.println(arr[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
4,
18,
13,
13,
17,
17,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
13,
30,
4,
18,
13,
17,
4,
18,
13,
13,
13,
3,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
13,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
21,
25
],
[
21,
26
],
[
21,
27
],
[
20,
28
],
[
28,
29
],
[
28,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
43,
49
],
[
49,
50
],
[
49,
51
],
[
20,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
52,
62
],
[
62,
63
],
[
63,
64
],
[
52,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
18,
76
],
[
76,
77
],
[
13,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
81,
91
],
[
91,
92
],
[
92,
93
],
[
81,
94
],
[
95,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
97,
102
],
[
96,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
103,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
108,
112
],
[
103,
113
],
[
78,
114
],
[
114,
115
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Scanner;\n\nclass Main {\n\tstatic List<Integer> list = new ArrayList<Integer>();\n\n\tpublic static void main(String[] args) {\n\t\tCollections.addAll(list, 0,0,0);\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint sc = scan.nextInt();\n\t\t\tmax(sc);\n\t\t}\n\t\tfor(int i=0;i<list.size();i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}\n\n\tpublic static void max(int sc) {\n\t\tfor(int j=0;j<list.size();j++){\n\t\t\tif(list.get(j)<=sc){\n\t\t\t\tlist.remove(2);\n\t\t\t\tlist.add(j, sc);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tstatic List<Integer> list = new ArrayList<Integer>();\n\n\tpublic static void main(String[] args) {\n\t\tCollections.addAll(list, 0,0,0);\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint sc = scan.nextInt();\n\t\t\tmax(sc);\n\t\t}\n\t\tfor(int i=0;i<list.size();i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}\n\n\tpublic static void max(int sc) {\n\t\tfor(int j=0;j<list.size();j++){\n\t\t\tif(list.get(j)<=sc){\n\t\t\t\tlist.remove(2);\n\t\t\t\tlist.add(j, sc);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"static List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"public static void main(String[] args) {\n\t\tCollections.addAll(list, 0,0,0);\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint sc = scan.nextInt();\n\t\t\tmax(sc);\n\t\t}\n\t\tfor(int i=0;i<list.size();i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}",
"main",
"{\n\t\tCollections.addAll(list, 0,0,0);\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint sc = scan.nextInt();\n\t\t\tmax(sc);\n\t\t}\n\t\tfor(int i=0;i<list.size();i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}",
"Collections.addAll(list, 0,0,0)",
"Collections.addAll",
"Collections",
"list",
"0",
"0",
"0",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for (int i = 0; i < 10; i++) {\n\t\t\tint sc = scan.nextInt();\n\t\t\tmax(sc);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tint sc = scan.nextInt();\n\t\t\tmax(sc);\n\t\t}",
"{\n\t\t\tint sc = scan.nextInt();\n\t\t\tmax(sc);\n\t\t}",
"int sc = scan.nextInt();",
"sc",
"scan.nextInt()",
"scan.nextInt",
"scan",
"max(sc)",
"max",
"sc",
"for(int i=0;i<list.size();i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n\t\t\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 static void max(int sc) {\n\t\tfor(int j=0;j<list.size();j++){\n\t\t\tif(list.get(j)<=sc){\n\t\t\t\tlist.remove(2);\n\t\t\t\tlist.add(j, sc);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"max",
"{\n\t\tfor(int j=0;j<list.size();j++){\n\t\t\tif(list.get(j)<=sc){\n\t\t\t\tlist.remove(2);\n\t\t\t\tlist.add(j, sc);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"for(int j=0;j<list.size();j++){\n\t\t\tif(list.get(j)<=sc){\n\t\t\t\tlist.remove(2);\n\t\t\t\tlist.add(j, sc);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<list.size()",
"j",
"list.size()",
"list.size",
"list",
"j++",
"j++",
"j",
"{\n\t\t\tif(list.get(j)<=sc){\n\t\t\t\tlist.remove(2);\n\t\t\t\tlist.add(j, sc);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(list.get(j)<=sc){\n\t\t\t\tlist.remove(2);\n\t\t\t\tlist.add(j, sc);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if(list.get(j)<=sc){\n\t\t\t\tlist.remove(2);\n\t\t\t\tlist.add(j, sc);\n\t\t\t\tbreak;\n\t\t\t}",
"list.get(j)<=sc",
"list.get(j)",
"list.get",
"list",
"j",
"sc",
"{\n\t\t\t\tlist.remove(2);\n\t\t\t\tlist.add(j, sc);\n\t\t\t\tbreak;\n\t\t\t}",
"list.remove(2)",
"list.remove",
"list",
"2",
"list.add(j, sc)",
"list.add",
"list",
"j",
"sc",
"break;",
"int sc",
"sc"
] | import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
class Main {
static List<Integer> list = new ArrayList<Integer>();
public static void main(String[] args) {
Collections.addAll(list, 0,0,0);
Scanner scan = new Scanner(System.in);
for (int i = 0; i < 10; i++) {
int sc = scan.nextInt();
max(sc);
}
for(int i=0;i<list.size();i++){
System.out.println(list.get(i));
}
}
public static void max(int sc) {
for(int j=0;j<list.size();j++){
if(list.get(j)<=sc){
list.remove(2);
list.add(j, sc);
break;
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
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
],
[
96,
8
],
[
96,
9
],
[
9,
10
],
[
9,
11
],
[
96,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
14,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
14,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
14,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
14,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
14,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
14,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
14,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
14,
65
],
[
65,
66
],
[
65,
67
],
[
14,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
14,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
81,
82
],
[
72,
83
],
[
84,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
90,
91
],
[
90,
92
],
[
12,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\t\n\tstatic Scanner sc = new java.util.Scanner(System.in);\n\t\n\tpublic static void main(String[] args) {\n\t\n\tint a = sc.nextInt();\n\tint b = sc.nextInt();\n\tint c = sc.nextInt();\n\tint d = sc.nextInt();\n\tint e = sc.nextInt();\n\tint f = sc.nextInt();\n\tint g = sc.nextInt();\n\tint h = sc.nextInt();\n\tint i = sc.nextInt();\n\tint j = sc.nextInt();\n\t\t\t\n\tint [] array = new int [] {a,b,c,d,e,f,g,h,i,j};\n\tArrays.sort(array);\n\t\n\tfor ( int n = 9; n >= 7 ; n--){\n\t\tSystem.out.println( array[n] );\n\t}\n}\n\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\tstatic Scanner sc = new java.util.Scanner(System.in);\n\t\n\tpublic static void main(String[] args) {\n\t\n\tint a = sc.nextInt();\n\tint b = sc.nextInt();\n\tint c = sc.nextInt();\n\tint d = sc.nextInt();\n\tint e = sc.nextInt();\n\tint f = sc.nextInt();\n\tint g = sc.nextInt();\n\tint h = sc.nextInt();\n\tint i = sc.nextInt();\n\tint j = sc.nextInt();\n\t\t\t\n\tint [] array = new int [] {a,b,c,d,e,f,g,h,i,j};\n\tArrays.sort(array);\n\t\n\tfor ( int n = 9; n >= 7 ; n--){\n\t\tSystem.out.println( array[n] );\n\t}\n}\n\n}",
"Main",
"static Scanner sc = new java.util.Scanner(System.in);",
"sc",
"new java.util.Scanner(System.in)",
"public static void main(String[] args) {\n\t\n\tint a = sc.nextInt();\n\tint b = sc.nextInt();\n\tint c = sc.nextInt();\n\tint d = sc.nextInt();\n\tint e = sc.nextInt();\n\tint f = sc.nextInt();\n\tint g = sc.nextInt();\n\tint h = sc.nextInt();\n\tint i = sc.nextInt();\n\tint j = sc.nextInt();\n\t\t\t\n\tint [] array = new int [] {a,b,c,d,e,f,g,h,i,j};\n\tArrays.sort(array);\n\t\n\tfor ( int n = 9; n >= 7 ; n--){\n\t\tSystem.out.println( array[n] );\n\t}\n}",
"main",
"{\n\t\n\tint a = sc.nextInt();\n\tint b = sc.nextInt();\n\tint c = sc.nextInt();\n\tint d = sc.nextInt();\n\tint e = sc.nextInt();\n\tint f = sc.nextInt();\n\tint g = sc.nextInt();\n\tint h = sc.nextInt();\n\tint i = sc.nextInt();\n\tint j = sc.nextInt();\n\t\t\t\n\tint [] array = new int [] {a,b,c,d,e,f,g,h,i,j};\n\tArrays.sort(array);\n\t\n\tfor ( int n = 9; n >= 7 ; n--){\n\t\tSystem.out.println( array[n] );\n\t}\n}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int e = sc.nextInt();",
"e",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int f = sc.nextInt();",
"f",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int g = sc.nextInt();",
"g",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int h = sc.nextInt();",
"h",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int i = sc.nextInt();",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int j = sc.nextInt();",
"j",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int [] array = new int [] {a,b,c,d,e,f,g,h,i,j};",
"array",
"new int [] {a,b,c,d,e,f,g,h,i,j}",
"Arrays.sort(array)",
"Arrays.sort",
"Arrays",
"array",
"for ( int n = 9; n >= 7 ; n--){\n\t\tSystem.out.println( array[n] );\n\t}",
"int n = 9;",
"int n = 9;",
"n",
"9",
"n >= 7",
"n",
"7",
"n--",
"n--",
"n",
"{\n\t\tSystem.out.println( array[n] );\n\t}",
"{\n\t\tSystem.out.println( array[n] );\n\t}",
"System.out.println( array[n] )",
"System.out.println",
"System.out",
"System",
"System.out",
"array[n]",
"array",
"n",
"String[] args",
"args",
"public class Main {\n\t\n\tstatic Scanner sc = new java.util.Scanner(System.in);\n\t\n\tpublic static void main(String[] args) {\n\t\n\tint a = sc.nextInt();\n\tint b = sc.nextInt();\n\tint c = sc.nextInt();\n\tint d = sc.nextInt();\n\tint e = sc.nextInt();\n\tint f = sc.nextInt();\n\tint g = sc.nextInt();\n\tint h = sc.nextInt();\n\tint i = sc.nextInt();\n\tint j = sc.nextInt();\n\t\t\t\n\tint [] array = new int [] {a,b,c,d,e,f,g,h,i,j};\n\tArrays.sort(array);\n\t\n\tfor ( int n = 9; n >= 7 ; n--){\n\t\tSystem.out.println( array[n] );\n\t}\n}\n\n}",
"public class Main {\n\t\n\tstatic Scanner sc = new java.util.Scanner(System.in);\n\t\n\tpublic static void main(String[] args) {\n\t\n\tint a = sc.nextInt();\n\tint b = sc.nextInt();\n\tint c = sc.nextInt();\n\tint d = sc.nextInt();\n\tint e = sc.nextInt();\n\tint f = sc.nextInt();\n\tint g = sc.nextInt();\n\tint h = sc.nextInt();\n\tint i = sc.nextInt();\n\tint j = sc.nextInt();\n\t\t\t\n\tint [] array = new int [] {a,b,c,d,e,f,g,h,i,j};\n\tArrays.sort(array);\n\t\n\tfor ( int n = 9; n >= 7 ; n--){\n\t\tSystem.out.println( array[n] );\n\t}\n}\n\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
static Scanner sc = new java.util.Scanner(System.in);
public static void main(String[] args) {
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int d = sc.nextInt();
int e = sc.nextInt();
int f = sc.nextInt();
int g = sc.nextInt();
int h = sc.nextInt();
int i = sc.nextInt();
int j = sc.nextInt();
int [] array = new int [] {a,b,c,d,e,f,g,h,i,j};
Arrays.sort(array);
for ( int n = 9; n >= 7 ; n--){
System.out.println( array[n] );
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
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,
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
],
[
72,
11
],
[
72,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
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
],
[
14,
44
],
[
44,
45
],
[
45,
46
],
[
44,
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
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
12,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] | [
"import java.util.Arrays;\nimport java.util.Random;\nimport java.util.Scanner;\npublic class Main {\n\t\n\tpublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\tRandom ra=new Random();\n\t\n\tint[] a = new int[10];\n\t\n\tfor(int i=0;i<10;i++)\n\t\ta[i]=sc.nextInt();\n\tArrays.sort(a);\n\n\tfor(int i = 9 ; i > 6 ; i--){\n\t System.out.println(a[i]);\n \t}\n\t}\n\t}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Random;",
"Random",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\tpublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\tRandom ra=new Random();\n\t\n\tint[] a = new int[10];\n\t\n\tfor(int i=0;i<10;i++)\n\t\ta[i]=sc.nextInt();\n\tArrays.sort(a);\n\n\tfor(int i = 9 ; i > 6 ; i--){\n\t System.out.println(a[i]);\n \t}\n\t}\n\t}",
"Main",
"public static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\tRandom ra=new Random();\n\t\n\tint[] a = new int[10];\n\t\n\tfor(int i=0;i<10;i++)\n\t\ta[i]=sc.nextInt();\n\tArrays.sort(a);\n\n\tfor(int i = 9 ; i > 6 ; i--){\n\t System.out.println(a[i]);\n \t}\n\t}",
"main",
"{\n\tScanner sc=new Scanner(System.in);\n\tRandom ra=new Random();\n\t\n\tint[] a = new int[10];\n\t\n\tfor(int i=0;i<10;i++)\n\t\ta[i]=sc.nextInt();\n\tArrays.sort(a);\n\n\tfor(int i = 9 ; i > 6 ; i--){\n\t System.out.println(a[i]);\n \t}\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Random ra=new Random();",
"ra",
"new Random()",
"int[] a = new int[10];",
"a",
"new int[10]",
"10",
"for(int i=0;i<10;i++)\n\t\ta[i]=sc.nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"a[i]=sc.nextInt();",
"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 System.out.println(a[i]);\n \t}",
"int i = 9 ;",
"int i = 9 ;",
"i",
"9",
"i > 6",
"i",
"6",
"i--",
"i--",
"i",
"{\n\t System.out.println(a[i]);\n \t}",
"{\n\t System.out.println(a[i]);\n \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\tpublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\tRandom ra=new Random();\n\t\n\tint[] a = new int[10];\n\t\n\tfor(int i=0;i<10;i++)\n\t\ta[i]=sc.nextInt();\n\tArrays.sort(a);\n\n\tfor(int i = 9 ; i > 6 ; i--){\n\t System.out.println(a[i]);\n \t}\n\t}\n\t}",
"public class Main {\n\t\n\tpublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n\tRandom ra=new Random();\n\t\n\tint[] a = new int[10];\n\t\n\tfor(int i=0;i<10;i++)\n\t\ta[i]=sc.nextInt();\n\tArrays.sort(a);\n\n\tfor(int i = 9 ; i > 6 ; i--){\n\t System.out.println(a[i]);\n \t}\n\t}\n\t}",
"Main"
] | import java.util.Arrays;
import java.util.Random;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
Random ra=new Random();
int[] a = new int[10];
for(int i=0;i<10;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,
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,
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
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
14,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
14,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
14,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
12,
62
],
[
62,
63
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] a) {\n\t\tScanner in = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\twhile (in.hasNext()) {\n\t\t\tlist.add(in.nextInt());\n\t\t}\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] a) {\n\t\tScanner in = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\twhile (in.hasNext()) {\n\t\t\tlist.add(in.nextInt());\n\t\t}\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] a) {\n\t\tScanner in = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\twhile (in.hasNext()) {\n\t\t\tlist.add(in.nextInt());\n\t\t}\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\twhile (in.hasNext()) {\n\t\t\tlist.add(in.nextInt());\n\t\t}\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"ArrayList<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"while (in.hasNext()) {\n\t\t\tlist.add(in.nextInt());\n\t\t}",
"in.hasNext()",
"in.hasNext",
"in",
"{\n\t\t\tlist.add(in.nextInt());\n\t\t}",
"list.add(in.nextInt())",
"list.add",
"list",
"in.nextInt()",
"in.nextInt",
"in",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"for (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(list.get(i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(list.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(list.get(i));\n\t\t}",
"System.out.println(list.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(i)",
"list.get",
"list",
"i",
"String[] a",
"a"
] | import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
class Main {
public static void main(String[] a) {
Scanner in = new Scanner(System.in);
ArrayList<Integer> list = new ArrayList<Integer>();
while (in.hasNext()) {
list.add(in.nextInt());
}
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,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
69,
8
],
[
69,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
19,
29
],
[
29,
30
],
[
30,
31
],
[
19,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
11,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
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
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] a) {\n\t\tint i[] = new int[10];\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int j = 0; j < i.length; j++) {\n\t\t\ti[j] = scan.nextInt();\n\t\t}\n\t\tArrays.sort(i);\n\t\tfor (int k = 9; k >= 7; k--) {\n\t\t\tSystem.out.println(i[k]);\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\tpublic static void main(String[] a) {\n\t\tint i[] = new int[10];\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int j = 0; j < i.length; j++) {\n\t\t\ti[j] = scan.nextInt();\n\t\t}\n\t\tArrays.sort(i);\n\t\tfor (int k = 9; k >= 7; k--) {\n\t\t\tSystem.out.println(i[k]);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] a) {\n\t\tint i[] = new int[10];\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int j = 0; j < i.length; j++) {\n\t\t\ti[j] = scan.nextInt();\n\t\t}\n\t\tArrays.sort(i);\n\t\tfor (int k = 9; k >= 7; k--) {\n\t\t\tSystem.out.println(i[k]);\n\t\t}\n\t}",
"main",
"{\n\t\tint i[] = new int[10];\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int j = 0; j < i.length; j++) {\n\t\t\ti[j] = scan.nextInt();\n\t\t}\n\t\tArrays.sort(i);\n\t\tfor (int k = 9; k >= 7; k--) {\n\t\t\tSystem.out.println(i[k]);\n\t\t}\n\t}",
"int i[] = new int[10];",
"i",
"new int[10]",
"10",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for (int j = 0; j < i.length; j++) {\n\t\t\ti[j] = scan.nextInt();\n\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < i.length",
"j",
"i.length",
"i",
"i.length",
"j++",
"j++",
"j",
"{\n\t\t\ti[j] = scan.nextInt();\n\t\t}",
"{\n\t\t\ti[j] = scan.nextInt();\n\t\t}",
"i[j] = scan.nextInt()",
"i[j]",
"i",
"j",
"scan.nextInt()",
"scan.nextInt",
"scan",
"Arrays.sort(i)",
"Arrays.sort",
"Arrays",
"i",
"for (int k = 9; k >= 7; k--) {\n\t\t\tSystem.out.println(i[k]);\n\t\t}",
"int k = 9;",
"int k = 9;",
"k",
"9",
"k >= 7",
"k",
"7",
"k--",
"k--",
"k",
"{\n\t\t\tSystem.out.println(i[k]);\n\t\t}",
"{\n\t\t\tSystem.out.println(i[k]);\n\t\t}",
"System.out.println(i[k])",
"System.out.println",
"System.out",
"System",
"System.out",
"i[k]",
"i",
"k",
"String[] a",
"a",
"public class Main {\n\tpublic static void main(String[] a) {\n\t\tint i[] = new int[10];\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int j = 0; j < i.length; j++) {\n\t\t\ti[j] = scan.nextInt();\n\t\t}\n\t\tArrays.sort(i);\n\t\tfor (int k = 9; k >= 7; k--) {\n\t\t\tSystem.out.println(i[k]);\n\t\t}\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] a) {\n\t\tint i[] = new int[10];\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int j = 0; j < i.length; j++) {\n\t\t\ti[j] = scan.nextInt();\n\t\t}\n\t\tArrays.sort(i);\n\t\tfor (int k = 9; k >= 7; k--) {\n\t\t\tSystem.out.println(i[k]);\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] a) {
int i[] = new int[10];
Scanner scan = new Scanner(System.in);
for (int j = 0; j < i.length; j++) {
i[j] = scan.nextInt();
}
Arrays.sort(i);
for (int k = 9; k >= 7; k--) {
System.out.println(i[k]);
}
}
} |
[
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,
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
],
[
72,
8
],
[
72,
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
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
11,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
9,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] | [
"import java.io.*;\nimport java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] in=new int[10];\n\t\tfor(int i=0;i<10;i++)\n\t\t\tin[i]=Integer.parseInt(reader.readLine());\n\t\tArrays.sort(in);\n\t\tSystem.out.println(in[9]);\n\t\tSystem.out.println(in[8]);\n\t\tSystem.out.println(in[7]);\n\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 reader=new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] in=new int[10];\n\t\tfor(int i=0;i<10;i++)\n\t\t\tin[i]=Integer.parseInt(reader.readLine());\n\t\tArrays.sort(in);\n\t\tSystem.out.println(in[9]);\n\t\tSystem.out.println(in[8]);\n\t\tSystem.out.println(in[7]);\n\t\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] in=new int[10];\n\t\tfor(int i=0;i<10;i++)\n\t\t\tin[i]=Integer.parseInt(reader.readLine());\n\t\tArrays.sort(in);\n\t\tSystem.out.println(in[9]);\n\t\tSystem.out.println(in[8]);\n\t\tSystem.out.println(in[7]);\n\t\n\t}",
"main",
"{\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] in=new int[10];\n\t\tfor(int i=0;i<10;i++)\n\t\t\tin[i]=Integer.parseInt(reader.readLine());\n\t\tArrays.sort(in);\n\t\tSystem.out.println(in[9]);\n\t\tSystem.out.println(in[8]);\n\t\tSystem.out.println(in[7]);\n\t\n\t}",
"BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] in=new int[10];",
"in",
"new int[10]",
"10",
"for(int i=0;i<10;i++)\n\t\t\tin[i]=Integer.parseInt(reader.readLine());",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"in[i]=Integer.parseInt(reader.readLine());",
"in[i]=Integer.parseInt(reader.readLine())",
"in[i]",
"in",
"i",
"Integer.parseInt(reader.readLine())",
"Integer.parseInt",
"Integer",
"reader.readLine()",
"reader.readLine",
"reader",
"Arrays.sort(in)",
"Arrays.sort",
"Arrays",
"in",
"System.out.println(in[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"in[9]",
"in",
"9",
"System.out.println(in[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"in[8]",
"in",
"8",
"System.out.println(in[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"in[7]",
"in",
"7",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] in=new int[10];\n\t\tfor(int i=0;i<10;i++)\n\t\t\tin[i]=Integer.parseInt(reader.readLine());\n\t\tArrays.sort(in);\n\t\tSystem.out.println(in[9]);\n\t\tSystem.out.println(in[8]);\n\t\tSystem.out.println(in[7]);\n\t\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] in=new int[10];\n\t\tfor(int i=0;i<10;i++)\n\t\t\tin[i]=Integer.parseInt(reader.readLine());\n\t\tArrays.sort(in);\n\t\tSystem.out.println(in[9]);\n\t\tSystem.out.println(in[8]);\n\t\tSystem.out.println(in[7]);\n\t\n\t}\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main{
public static void main(String[] args)throws IOException{
BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));
int[] in=new int[10];
for(int i=0;i<10;i++)
in[i]=Integer.parseInt(reader.readLine());
Arrays.sort(in);
System.out.println(in[9]);
System.out.println(in[8]);
System.out.println(in[7]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
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\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = 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] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(height);\n\t\tfor(int i=0;i<3;i++) {\n\t\t\tSystem.out.println(height[9-i]);\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 = 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] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(height);\n\t\tfor(int i=0;i<3;i++) {\n\t\t\tSystem.out.println(height[9-i]);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] height = new int[10];\n\t\tfor(int i=0;i<10;i++) {\n\t\t\theight[i] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(height);\n\t\tfor(int i=0;i<3;i++) {\n\t\t\tSystem.out.println(height[9-i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = 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] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(height);\n\t\tfor(int i=0;i<3;i++) {\n\t\t\tSystem.out.println(height[9-i]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] height = new int[10];",
"height",
"new int[10]",
"10",
"for(int i=0;i<10;i++) {\n\t\t\theight[i] = sc.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\theight[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\theight[i] = sc.nextInt();\n\t\t}",
"height[i] = sc.nextInt()",
"height[i]",
"height",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(height)",
"Arrays.sort",
"Arrays",
"height",
"for(int i=0;i<3;i++) {\n\t\t\tSystem.out.println(height[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(height[9-i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(height[9-i]);\n\t\t}",
"System.out.println(height[9-i])",
"System.out.println",
"System.out",
"System",
"System.out",
"height[9-i]",
"height",
"9-i",
"9",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] height = new int[10];\n\t\tfor(int i=0;i<10;i++) {\n\t\t\theight[i] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(height);\n\t\tfor(int i=0;i<3;i++) {\n\t\t\tSystem.out.println(height[9-i]);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] height = new int[10];\n\t\tfor(int i=0;i<10;i++) {\n\t\t\theight[i] = sc.nextInt();\n\t\t}\n\t\tArrays.sort(height);\n\t\tfor(int i=0;i<3;i++) {\n\t\t\tSystem.out.println(height[9-i]);\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] height = new int[10];
for(int i=0;i<10;i++) {
height[i] = sc.nextInt();
}
Arrays.sort(height);
for(int i=0;i<3;i++) {
System.out.println(height[9-i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
41,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
13,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
13,
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
],
[
125,
5
],
[
125,
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
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
18,
28
],
[
28,
29
],
[
29,
30
],
[
18,
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
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
55,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
83,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
93,
95
],
[
83,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
8,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
101,
109
],
[
109,
110
],
[
110,
111
],
[
101,
112
],
[
113,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
119,
120
],
[
119,
121
],
[
6,
122
],
[
122,
123
],
[
0,
124
],
[
124,
125
],
[
124,
126
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n int[] height = new int[10];\n Scanner s = new Scanner(System.in);\n int temp;\n\n for(int i = 0;i < height.length;i++){\n height[i] = s.nextInt();\n }\n\n for(int i = 0;i < height.length;i++){\n for(int j = i;j < height.length;j++){\n if(i != j){\n if(height[i] < height[j]){\n temp = height[i];\n height[i] = height[j];\n height[j] = temp;\n }\n }\n }\n }\n\n for(int i = 0;i < 3;i++){\n System.out.println(height[i]);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n int[] height = new int[10];\n Scanner s = new Scanner(System.in);\n int temp;\n\n for(int i = 0;i < height.length;i++){\n height[i] = s.nextInt();\n }\n\n for(int i = 0;i < height.length;i++){\n for(int j = i;j < height.length;j++){\n if(i != j){\n if(height[i] < height[j]){\n temp = height[i];\n height[i] = height[j];\n height[j] = temp;\n }\n }\n }\n }\n\n for(int i = 0;i < 3;i++){\n System.out.println(height[i]);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n int[] height = new int[10];\n Scanner s = new Scanner(System.in);\n int temp;\n\n for(int i = 0;i < height.length;i++){\n height[i] = s.nextInt();\n }\n\n for(int i = 0;i < height.length;i++){\n for(int j = i;j < height.length;j++){\n if(i != j){\n if(height[i] < height[j]){\n temp = height[i];\n height[i] = height[j];\n height[j] = temp;\n }\n }\n }\n }\n\n for(int i = 0;i < 3;i++){\n System.out.println(height[i]);\n }\n }",
"main",
"{\n int[] height = new int[10];\n Scanner s = new Scanner(System.in);\n int temp;\n\n for(int i = 0;i < height.length;i++){\n height[i] = s.nextInt();\n }\n\n for(int i = 0;i < height.length;i++){\n for(int j = i;j < height.length;j++){\n if(i != j){\n if(height[i] < height[j]){\n temp = height[i];\n height[i] = height[j];\n height[j] = temp;\n }\n }\n }\n }\n\n for(int i = 0;i < 3;i++){\n System.out.println(height[i]);\n }\n }",
"int[] height = new int[10];",
"height",
"new int[10]",
"10",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int temp;",
"temp",
"for(int i = 0;i < height.length;i++){\n height[i] = s.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < height.length",
"i",
"height.length",
"height",
"height.length",
"i++",
"i++",
"i",
"{\n height[i] = s.nextInt();\n }",
"{\n height[i] = s.nextInt();\n }",
"height[i] = s.nextInt()",
"height[i]",
"height",
"i",
"s.nextInt()",
"s.nextInt",
"s",
"for(int i = 0;i < height.length;i++){\n for(int j = i;j < height.length;j++){\n if(i != j){\n if(height[i] < height[j]){\n temp = height[i];\n height[i] = height[j];\n height[j] = temp;\n }\n }\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < height.length",
"i",
"height.length",
"height",
"height.length",
"i++",
"i++",
"i",
"{\n for(int j = i;j < height.length;j++){\n if(i != j){\n if(height[i] < height[j]){\n temp = height[i];\n height[i] = height[j];\n height[j] = temp;\n }\n }\n }\n }",
"{\n for(int j = i;j < height.length;j++){\n if(i != j){\n if(height[i] < height[j]){\n temp = height[i];\n height[i] = height[j];\n height[j] = temp;\n }\n }\n }\n }",
"for(int j = i;j < height.length;j++){\n if(i != j){\n if(height[i] < height[j]){\n temp = height[i];\n height[i] = height[j];\n height[j] = temp;\n }\n }\n }",
"int j = i;",
"int j = i;",
"j",
"i",
"j < height.length",
"j",
"height.length",
"height",
"height.length",
"j++",
"j++",
"j",
"{\n if(i != j){\n if(height[i] < height[j]){\n temp = height[i];\n height[i] = height[j];\n height[j] = temp;\n }\n }\n }",
"{\n if(i != j){\n if(height[i] < height[j]){\n temp = height[i];\n height[i] = height[j];\n height[j] = temp;\n }\n }\n }",
"if(i != j){\n if(height[i] < height[j]){\n temp = height[i];\n height[i] = height[j];\n height[j] = temp;\n }\n }",
"i != j",
"i",
"j",
"{\n if(height[i] < height[j]){\n temp = height[i];\n height[i] = height[j];\n height[j] = temp;\n }\n }",
"if(height[i] < height[j]){\n temp = height[i];\n height[i] = height[j];\n height[j] = temp;\n }",
"height[i] < height[j]",
"height[i]",
"height",
"i",
"height[j]",
"height",
"j",
"{\n temp = height[i];\n height[i] = height[j];\n height[j] = temp;\n }",
"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(int i = 0;i < 3;i++){\n System.out.println(height[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(height[i]);\n }",
"{\n System.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{\n public static void main(String[] args){\n int[] height = new int[10];\n Scanner s = new Scanner(System.in);\n int temp;\n\n for(int i = 0;i < height.length;i++){\n height[i] = s.nextInt();\n }\n\n for(int i = 0;i < height.length;i++){\n for(int j = i;j < height.length;j++){\n if(i != j){\n if(height[i] < height[j]){\n temp = height[i];\n height[i] = height[j];\n height[j] = temp;\n }\n }\n }\n }\n\n for(int i = 0;i < 3;i++){\n System.out.println(height[i]);\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n int[] height = new int[10];\n Scanner s = new Scanner(System.in);\n int temp;\n\n for(int i = 0;i < height.length;i++){\n height[i] = s.nextInt();\n }\n\n for(int i = 0;i < height.length;i++){\n for(int j = i;j < height.length;j++){\n if(i != j){\n if(height[i] < height[j]){\n temp = height[i];\n height[i] = height[j];\n height[j] = temp;\n }\n }\n }\n }\n\n for(int i = 0;i < 3;i++){\n System.out.println(height[i]);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
int[] height = new int[10];
Scanner s = new Scanner(System.in);
int temp;
for(int i = 0;i < height.length;i++){
height[i] = s.nextInt();
}
for(int i = 0;i < height.length;i++){
for(int j = i;j < height.length;j++){
if(i != j){
if(height[i] < height[j]){
temp = height[i];
height[i] = height[j];
height[j] = temp;
}
}
}
}
for(int i = 0;i < 3;i++){
System.out.println(height[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
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,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
181,
26
],
[
181,
27
],
[
27,
28
],
[
181,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
31,
38
],
[
38,
39
],
[
38,
40
],
[
31,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
31,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
31,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
31,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
79,
80
],
[
79,
81
],
[
31,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
29,
90
],
[
90,
91
],
[
181,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
92,
96
],
[
96,
97
],
[
92,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
92,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
107,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
117,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
106,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
92,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
136,
139
],
[
139,
140
],
[
92,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
145,
148
],
[
148,
149
],
[
92,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
154,
157
],
[
157,
158
],
[
92,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
161,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
165,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
161,
178
],
[
178,
179
],
[
0,
180
],
[
180,
181
],
[
180,
182
]
] | [
"import java.io.BufferedReader;\nimport java.io.BufferedOutputStream;\nimport java.io.PrintWriter;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nimport java.util.Scanner;\nimport java.util.StringTokenizer;\nimport java.io.IOException;\n\n\npublic class Main{\n public static void main(String[] args) {\n Scanner kb = new Scanner(System.in);\n out = new PrintWriter(new BufferedOutputStream(System.out));\n \n int height[] = new int[10];\n for(int i = 0 ; i < 10 ; i++){\n \t height[i] = kb.nextInt();\n }\n \n Arrays.sort(height);\n \n System.out.println(height[9]);\n System.out.println(height[8]);\n System.out.println(height[7]);\n\n }\n\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n \n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\n }\n //--------------------------------------------------------\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.BufferedOutputStream;",
"BufferedOutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"public class Main{\n public static void main(String[] args) {\n Scanner kb = new Scanner(System.in);\n out = new PrintWriter(new BufferedOutputStream(System.out));\n \n int height[] = new int[10];\n for(int i = 0 ; i < 10 ; i++){\n \t height[i] = kb.nextInt();\n }\n \n Arrays.sort(height);\n \n System.out.println(height[9]);\n System.out.println(height[8]);\n System.out.println(height[7]);\n\n }\n\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n \n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\n }\n //--------------------------------------------------------\n}",
"Main",
"//-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;",
"out",
"public static void main(String[] args) {\n Scanner kb = new Scanner(System.in);\n out = new PrintWriter(new BufferedOutputStream(System.out));\n \n int height[] = new int[10];\n for(int i = 0 ; i < 10 ; i++){\n \t height[i] = kb.nextInt();\n }\n \n Arrays.sort(height);\n \n System.out.println(height[9]);\n System.out.println(height[8]);\n System.out.println(height[7]);\n\n }",
"main",
"{\n Scanner kb = new Scanner(System.in);\n out = new PrintWriter(new BufferedOutputStream(System.out));\n \n int height[] = new int[10];\n for(int i = 0 ; i < 10 ; i++){\n \t height[i] = kb.nextInt();\n }\n \n Arrays.sort(height);\n \n System.out.println(height[9]);\n System.out.println(height[8]);\n System.out.println(height[7]);\n\n }",
"Scanner kb = new Scanner(System.in);",
"kb",
"new Scanner(System.in)",
"out = new PrintWriter(new BufferedOutputStream(System.out))",
"out",
"new PrintWriter(new BufferedOutputStream(System.out))",
"int height[] = new int[10];",
"height",
"new int[10]",
"10",
"for(int i = 0 ; i < 10 ; i++){\n \t height[i] = kb.nextInt();\n }",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n \t height[i] = kb.nextInt();\n }",
"{\n \t height[i] = kb.nextInt();\n }",
"height[i] = kb.nextInt()",
"height[i]",
"height",
"i",
"kb.nextInt()",
"kb.nextInt",
"kb",
"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",
"public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\n }",
"MyScanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"MyScanner",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main{\n public static void main(String[] args) {\n Scanner kb = new Scanner(System.in);\n out = new PrintWriter(new BufferedOutputStream(System.out));\n \n int height[] = new int[10];\n for(int i = 0 ; i < 10 ; i++){\n \t height[i] = kb.nextInt();\n }\n \n Arrays.sort(height);\n \n System.out.println(height[9]);\n System.out.println(height[8]);\n System.out.println(height[7]);\n\n }\n\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n \n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\n }\n //--------------------------------------------------------\n}",
"public class Main{\n public static void main(String[] args) {\n Scanner kb = new Scanner(System.in);\n out = new PrintWriter(new BufferedOutputStream(System.out));\n \n int height[] = new int[10];\n for(int i = 0 ; i < 10 ; i++){\n \t height[i] = kb.nextInt();\n }\n \n Arrays.sort(height);\n \n System.out.println(height[9]);\n System.out.println(height[8]);\n System.out.println(height[7]);\n\n }\n\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n \n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\n }\n //--------------------------------------------------------\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.BufferedOutputStream;
import java.io.PrintWriter;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Scanner;
import java.util.StringTokenizer;
import java.io.IOException;
public class Main{
public static void main(String[] args) {
Scanner kb = new Scanner(System.in);
out = new PrintWriter(new BufferedOutputStream(System.out));
int height[] = new int[10];
for(int i = 0 ; i < 10 ; i++){
height[i] = kb.nextInt();
}
Arrays.sort(height);
System.out.println(height[9]);
System.out.println(height[8]);
System.out.println(height[7]);
}
//-----------PrintWriter for faster output---------------------------------
public static PrintWriter out;
//-----------MyScanner class for faster input----------
public static class MyScanner {
BufferedReader br;
StringTokenizer st;
public MyScanner() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine(){
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
//--------------------------------------------------------
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
100,
5
],
[
100,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
51,
58
],
[
58,
59
],
[
58,
60
],
[
51,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
65,
72
],
[
72,
73
],
[
72,
74
],
[
8,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
8,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
8,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
8,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
6,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
] | [
"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 r1 = 0, r2 = 0, r3 = 0;\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint n = scan.nextInt();\n\t\t\tif (r3 < n) {\n\t\t\t\tr3 = n;\n\t\t\t\tif (r2 < r3) {\n\t\t\t\t\tint t = r2;\n\t\t\t\t\tr2 = r3;\n\t\t\t\t\tr3 = t;\n\t\t\t\t\tif (r1 < r2) {\n\t\t\t\t\t\tt = r1;\n\t\t\t\t\t\tr1 = r2;\n\t\t\t\t\t\tr2 = t;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(r1);\n\t\tSystem.out.println(r2);\n\t\tSystem.out.println(r3);\n\t\tSystem.exit(0);\n\t}\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 r1 = 0, r2 = 0, r3 = 0;\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint n = scan.nextInt();\n\t\t\tif (r3 < n) {\n\t\t\t\tr3 = n;\n\t\t\t\tif (r2 < r3) {\n\t\t\t\t\tint t = r2;\n\t\t\t\t\tr2 = r3;\n\t\t\t\t\tr3 = t;\n\t\t\t\t\tif (r1 < r2) {\n\t\t\t\t\t\tt = r1;\n\t\t\t\t\t\tr1 = r2;\n\t\t\t\t\t\tr2 = t;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(r1);\n\t\tSystem.out.println(r2);\n\t\tSystem.out.println(r3);\n\t\tSystem.exit(0);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint r1 = 0, r2 = 0, r3 = 0;\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint n = scan.nextInt();\n\t\t\tif (r3 < n) {\n\t\t\t\tr3 = n;\n\t\t\t\tif (r2 < r3) {\n\t\t\t\t\tint t = r2;\n\t\t\t\t\tr2 = r3;\n\t\t\t\t\tr3 = t;\n\t\t\t\t\tif (r1 < r2) {\n\t\t\t\t\t\tt = r1;\n\t\t\t\t\t\tr1 = r2;\n\t\t\t\t\t\tr2 = t;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(r1);\n\t\tSystem.out.println(r2);\n\t\tSystem.out.println(r3);\n\t\tSystem.exit(0);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint r1 = 0, r2 = 0, r3 = 0;\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint n = scan.nextInt();\n\t\t\tif (r3 < n) {\n\t\t\t\tr3 = n;\n\t\t\t\tif (r2 < r3) {\n\t\t\t\t\tint t = r2;\n\t\t\t\t\tr2 = r3;\n\t\t\t\t\tr3 = t;\n\t\t\t\t\tif (r1 < r2) {\n\t\t\t\t\t\tt = r1;\n\t\t\t\t\t\tr1 = r2;\n\t\t\t\t\t\tr2 = t;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(r1);\n\t\tSystem.out.println(r2);\n\t\tSystem.out.println(r3);\n\t\tSystem.exit(0);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int r1 = 0",
"r1",
"0",
"r2 = 0",
"r2",
"0",
"r3 = 0;",
"r3",
"0",
"for (int i = 0; i < 10; i++) {\n\t\t\tint n = scan.nextInt();\n\t\t\tif (r3 < n) {\n\t\t\t\tr3 = n;\n\t\t\t\tif (r2 < r3) {\n\t\t\t\t\tint t = r2;\n\t\t\t\t\tr2 = r3;\n\t\t\t\t\tr3 = t;\n\t\t\t\t\tif (r1 < r2) {\n\t\t\t\t\t\tt = r1;\n\t\t\t\t\t\tr1 = r2;\n\t\t\t\t\t\tr2 = t;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tint n = scan.nextInt();\n\t\t\tif (r3 < n) {\n\t\t\t\tr3 = n;\n\t\t\t\tif (r2 < r3) {\n\t\t\t\t\tint t = r2;\n\t\t\t\t\tr2 = r3;\n\t\t\t\t\tr3 = t;\n\t\t\t\t\tif (r1 < r2) {\n\t\t\t\t\t\tt = r1;\n\t\t\t\t\t\tr1 = r2;\n\t\t\t\t\t\tr2 = t;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"{\n\t\t\tint n = scan.nextInt();\n\t\t\tif (r3 < n) {\n\t\t\t\tr3 = n;\n\t\t\t\tif (r2 < r3) {\n\t\t\t\t\tint t = r2;\n\t\t\t\t\tr2 = r3;\n\t\t\t\t\tr3 = t;\n\t\t\t\t\tif (r1 < r2) {\n\t\t\t\t\t\tt = r1;\n\t\t\t\t\t\tr1 = r2;\n\t\t\t\t\t\tr2 = t;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (r3 < n) {\n\t\t\t\tr3 = n;\n\t\t\t\tif (r2 < r3) {\n\t\t\t\t\tint t = r2;\n\t\t\t\t\tr2 = r3;\n\t\t\t\t\tr3 = t;\n\t\t\t\t\tif (r1 < r2) {\n\t\t\t\t\t\tt = r1;\n\t\t\t\t\t\tr1 = r2;\n\t\t\t\t\t\tr2 = t;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"r3 < n",
"r3",
"n",
"{\n\t\t\t\tr3 = n;\n\t\t\t\tif (r2 < r3) {\n\t\t\t\t\tint t = r2;\n\t\t\t\t\tr2 = r3;\n\t\t\t\t\tr3 = t;\n\t\t\t\t\tif (r1 < r2) {\n\t\t\t\t\t\tt = r1;\n\t\t\t\t\t\tr1 = r2;\n\t\t\t\t\t\tr2 = t;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"r3 = n",
"r3",
"n",
"if (r2 < r3) {\n\t\t\t\t\tint t = r2;\n\t\t\t\t\tr2 = r3;\n\t\t\t\t\tr3 = t;\n\t\t\t\t\tif (r1 < r2) {\n\t\t\t\t\t\tt = r1;\n\t\t\t\t\t\tr1 = r2;\n\t\t\t\t\t\tr2 = t;\n\t\t\t\t\t}\n\t\t\t\t}",
"r2 < r3",
"r2",
"r3",
"{\n\t\t\t\t\tint t = r2;\n\t\t\t\t\tr2 = r3;\n\t\t\t\t\tr3 = t;\n\t\t\t\t\tif (r1 < r2) {\n\t\t\t\t\t\tt = r1;\n\t\t\t\t\t\tr1 = r2;\n\t\t\t\t\t\tr2 = t;\n\t\t\t\t\t}\n\t\t\t\t}",
"int t = r2;",
"t",
"r2",
"r2 = r3",
"r2",
"r3",
"r3 = t",
"r3",
"t",
"if (r1 < r2) {\n\t\t\t\t\t\tt = r1;\n\t\t\t\t\t\tr1 = r2;\n\t\t\t\t\t\tr2 = t;\n\t\t\t\t\t}",
"r1 < r2",
"r1",
"r2",
"{\n\t\t\t\t\t\tt = r1;\n\t\t\t\t\t\tr1 = r2;\n\t\t\t\t\t\tr2 = t;\n\t\t\t\t\t}",
"t = r1",
"t",
"r1",
"r1 = r2",
"r1",
"r2",
"r2 = t",
"r2",
"t",
"System.out.println(r1)",
"System.out.println",
"System.out",
"System",
"System.out",
"r1",
"System.out.println(r2)",
"System.out.println",
"System.out",
"System",
"System.out",
"r2",
"System.out.println(r3)",
"System.out.println",
"System.out",
"System",
"System.out",
"r3",
"System.exit(0)",
"System.exit",
"System",
"0",
"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 r1 = 0, r2 = 0, r3 = 0;\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint n = scan.nextInt();\n\t\t\tif (r3 < n) {\n\t\t\t\tr3 = n;\n\t\t\t\tif (r2 < r3) {\n\t\t\t\t\tint t = r2;\n\t\t\t\t\tr2 = r3;\n\t\t\t\t\tr3 = t;\n\t\t\t\t\tif (r1 < r2) {\n\t\t\t\t\t\tt = r1;\n\t\t\t\t\t\tr1 = r2;\n\t\t\t\t\t\tr2 = t;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(r1);\n\t\tSystem.out.println(r2);\n\t\tSystem.out.println(r3);\n\t\tSystem.exit(0);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint r1 = 0, r2 = 0, r3 = 0;\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tint n = scan.nextInt();\n\t\t\tif (r3 < n) {\n\t\t\t\tr3 = n;\n\t\t\t\tif (r2 < r3) {\n\t\t\t\t\tint t = r2;\n\t\t\t\t\tr2 = r3;\n\t\t\t\t\tr3 = t;\n\t\t\t\t\tif (r1 < r2) {\n\t\t\t\t\t\tt = r1;\n\t\t\t\t\t\tr1 = r2;\n\t\t\t\t\t\tr2 = t;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(r1);\n\t\tSystem.out.println(r2);\n\t\tSystem.out.println(r3);\n\t\tSystem.exit(0);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int r1 = 0, r2 = 0, r3 = 0;
for (int i = 0; i < 10; i++) {
int n = scan.nextInt();
if (r3 < n) {
r3 = n;
if (r2 < r3) {
int t = r2;
r2 = r3;
r3 = t;
if (r1 < r2) {
t = r1;
r1 = r2;
r2 = t;
}
}
}
}
System.out.println(r1);
System.out.println(r2);
System.out.println(r3);
System.exit(0);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
17,
41,
13,
20,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
0,
13,
17,
2,
13,
17,
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,
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
],
[
126,
5
],
[
126,
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
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
60,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
66,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
60,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
78,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
78,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
93,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
102,
104
],
[
8,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
8,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
8,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
6,
123
],
[
123,
124
],
[
0,
125
],
[
125,
126
],
[
125,
127
]
] | [
"\nimport java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n int i;\n \tint[] height = new int[10];\n Scanner scan = new Scanner(System.in);\n for(i = 0;i < 10;i++){\n height[i] = scan.nextInt();\n }\n \n int st = 0,nd = 0 ,rd = 0;\n \n \n \tfor(i = 0;i < 10;i++){\n \t\tif(height[i]>=st){\n \t\trd = nd;\n \t\tnd = st;\n \t\tst = height[i];\n \t\t}else if(height[i]>=nd){\n \t\trd = nd ;\n \t\tnd = height[i];\n \t\t}else if(height[i]>=rd){\n \t\trd = height[i];\n \t\t\n \t\t}\n \t}\n \tSystem.out.println(st);\n \tSystem.out.println(nd);\n \tSystem.out.println(rd);\n \t\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n int i;\n \tint[] height = new int[10];\n Scanner scan = new Scanner(System.in);\n for(i = 0;i < 10;i++){\n height[i] = scan.nextInt();\n }\n \n int st = 0,nd = 0 ,rd = 0;\n \n \n \tfor(i = 0;i < 10;i++){\n \t\tif(height[i]>=st){\n \t\trd = nd;\n \t\tnd = st;\n \t\tst = height[i];\n \t\t}else if(height[i]>=nd){\n \t\trd = nd ;\n \t\tnd = height[i];\n \t\t}else if(height[i]>=rd){\n \t\trd = height[i];\n \t\t\n \t\t}\n \t}\n \tSystem.out.println(st);\n \tSystem.out.println(nd);\n \tSystem.out.println(rd);\n \t\t}\n}",
"Main",
"public static void main(String[] args){\n int i;\n \tint[] height = new int[10];\n Scanner scan = new Scanner(System.in);\n for(i = 0;i < 10;i++){\n height[i] = scan.nextInt();\n }\n \n int st = 0,nd = 0 ,rd = 0;\n \n \n \tfor(i = 0;i < 10;i++){\n \t\tif(height[i]>=st){\n \t\trd = nd;\n \t\tnd = st;\n \t\tst = height[i];\n \t\t}else if(height[i]>=nd){\n \t\trd = nd ;\n \t\tnd = height[i];\n \t\t}else if(height[i]>=rd){\n \t\trd = height[i];\n \t\t\n \t\t}\n \t}\n \tSystem.out.println(st);\n \tSystem.out.println(nd);\n \tSystem.out.println(rd);\n \t\t}",
"main",
"{\n int i;\n \tint[] height = new int[10];\n Scanner scan = new Scanner(System.in);\n for(i = 0;i < 10;i++){\n height[i] = scan.nextInt();\n }\n \n int st = 0,nd = 0 ,rd = 0;\n \n \n \tfor(i = 0;i < 10;i++){\n \t\tif(height[i]>=st){\n \t\trd = nd;\n \t\tnd = st;\n \t\tst = height[i];\n \t\t}else if(height[i]>=nd){\n \t\trd = nd ;\n \t\tnd = height[i];\n \t\t}else if(height[i]>=rd){\n \t\trd = height[i];\n \t\t\n \t\t}\n \t}\n \tSystem.out.println(st);\n \tSystem.out.println(nd);\n \tSystem.out.println(rd);\n \t\t}",
"int i;",
"i",
"int[] height = new int[10];",
"height",
"new int[10]",
"10",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(i = 0;i < 10;i++){\n height[i] = scan.nextInt();\n }",
"i = 0;",
"i = 0",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n height[i] = scan.nextInt();\n }",
"{\n height[i] = scan.nextInt();\n }",
"height[i] = scan.nextInt()",
"height[i]",
"height",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int st = 0",
"st",
"0",
"nd = 0",
"nd",
"0",
"rd = 0;",
"rd",
"0",
"for(i = 0;i < 10;i++){\n \t\tif(height[i]>=st){\n \t\trd = nd;\n \t\tnd = st;\n \t\tst = height[i];\n \t\t}else if(height[i]>=nd){\n \t\trd = nd ;\n \t\tnd = height[i];\n \t\t}else if(height[i]>=rd){\n \t\trd = height[i];\n \t\t\n \t\t}\n \t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n \t\tif(height[i]>=st){\n \t\trd = nd;\n \t\tnd = st;\n \t\tst = height[i];\n \t\t}else if(height[i]>=nd){\n \t\trd = nd ;\n \t\tnd = height[i];\n \t\t}else if(height[i]>=rd){\n \t\trd = height[i];\n \t\t\n \t\t}\n \t}",
"{\n \t\tif(height[i]>=st){\n \t\trd = nd;\n \t\tnd = st;\n \t\tst = height[i];\n \t\t}else if(height[i]>=nd){\n \t\trd = nd ;\n \t\tnd = height[i];\n \t\t}else if(height[i]>=rd){\n \t\trd = height[i];\n \t\t\n \t\t}\n \t}",
"if(height[i]>=st){\n \t\trd = nd;\n \t\tnd = st;\n \t\tst = height[i];\n \t\t}else if(height[i]>=nd){\n \t\trd = nd ;\n \t\tnd = height[i];\n \t\t}else if(height[i]>=rd){\n \t\trd = height[i];\n \t\t\n \t\t}",
"height[i]>=st",
"height[i]",
"height",
"i",
"st",
"{\n \t\trd = nd;\n \t\tnd = st;\n \t\tst = height[i];\n \t\t}",
"rd = nd",
"rd",
"nd",
"nd = st",
"nd",
"st",
"st = height[i]",
"st",
"height[i]",
"height",
"i",
"if(height[i]>=nd){\n \t\trd = nd ;\n \t\tnd = height[i];\n \t\t}else if(height[i]>=rd){\n \t\trd = height[i];\n \t\t\n \t\t}",
"height[i]>=nd",
"height[i]",
"height",
"i",
"nd",
"{\n \t\trd = nd ;\n \t\tnd = height[i];\n \t\t}",
"rd = nd",
"rd",
"nd",
"nd = height[i]",
"nd",
"height[i]",
"height",
"i",
"if(height[i]>=rd){\n \t\trd = height[i];\n \t\t\n \t\t}",
"height[i]>=rd",
"height[i]",
"height",
"i",
"rd",
"{\n \t\trd = height[i];\n \t\t\n \t\t}",
"rd = height[i]",
"rd",
"height[i]",
"height",
"i",
"System.out.println(st)",
"System.out.println",
"System.out",
"System",
"System.out",
"st",
"System.out.println(nd)",
"System.out.println",
"System.out",
"System",
"System.out",
"nd",
"System.out.println(rd)",
"System.out.println",
"System.out",
"System",
"System.out",
"rd",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n int i;\n \tint[] height = new int[10];\n Scanner scan = new Scanner(System.in);\n for(i = 0;i < 10;i++){\n height[i] = scan.nextInt();\n }\n \n int st = 0,nd = 0 ,rd = 0;\n \n \n \tfor(i = 0;i < 10;i++){\n \t\tif(height[i]>=st){\n \t\trd = nd;\n \t\tnd = st;\n \t\tst = height[i];\n \t\t}else if(height[i]>=nd){\n \t\trd = nd ;\n \t\tnd = height[i];\n \t\t}else if(height[i]>=rd){\n \t\trd = height[i];\n \t\t\n \t\t}\n \t}\n \tSystem.out.println(st);\n \tSystem.out.println(nd);\n \tSystem.out.println(rd);\n \t\t}\n}",
"public class Main{\n public static void main(String[] args){\n int i;\n \tint[] height = new int[10];\n Scanner scan = new Scanner(System.in);\n for(i = 0;i < 10;i++){\n height[i] = scan.nextInt();\n }\n \n int st = 0,nd = 0 ,rd = 0;\n \n \n \tfor(i = 0;i < 10;i++){\n \t\tif(height[i]>=st){\n \t\trd = nd;\n \t\tnd = st;\n \t\tst = height[i];\n \t\t}else if(height[i]>=nd){\n \t\trd = nd ;\n \t\tnd = height[i];\n \t\t}else if(height[i]>=rd){\n \t\trd = height[i];\n \t\t\n \t\t}\n \t}\n \tSystem.out.println(st);\n \tSystem.out.println(nd);\n \tSystem.out.println(rd);\n \t\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args){
int i;
int[] height = new int[10];
Scanner scan = new Scanner(System.in);
for(i = 0;i < 10;i++){
height[i] = scan.nextInt();
}
int st = 0,nd = 0 ,rd = 0;
for(i = 0;i < 10;i++){
if(height[i]>=st){
rd = nd;
nd = st;
st = height[i];
}else if(height[i]>=nd){
rd = nd ;
nd = height[i];
}else if(height[i]>=rd){
rd = height[i];
}
}
System.out.println(st);
System.out.println(nd);
System.out.println(rd);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
40,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
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,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
28,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
31,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
54,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
20,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
20,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
72,
81
],
[
81,
82
],
[
82,
83
],
[
72,
84
],
[
85,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
18,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
] | [
"import java.io.BufferedReader;\nimport java.io.FileNotFoundException;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\n\n\npublic class Main {\n\n\t\n\t\n\tpublic static void main(String[] args) throws IOException{\n \n\tint[] mountainList = new int[10];\n\t\n\tString line = \"\";\n\t\t\n\t\n\tBufferedReader br = null;\n\t\t\t\n\ttry {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(int i = 0;i<10;i++){\n\t\t\tline = br.readLine();\n\t\t\tmountainList[i] = Integer.parseInt(line);\n\t\t\t\t\n\t\t}\n\t\t\n\t} catch (FileNotFoundException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}\n\tArrays.sort(mountainList);\n\tfor(int j=0;j>-3;j--){\n\t\tSystem.out.println(mountainList[j+9]);\n\t\t\n\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.FileNotFoundException;",
"FileNotFoundException",
"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\t\n\t\n\tpublic static void main(String[] args) throws IOException{\n \n\tint[] mountainList = new int[10];\n\t\n\tString line = \"\";\n\t\t\n\t\n\tBufferedReader br = null;\n\t\t\t\n\ttry {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(int i = 0;i<10;i++){\n\t\t\tline = br.readLine();\n\t\t\tmountainList[i] = Integer.parseInt(line);\n\t\t\t\t\n\t\t}\n\t\t\n\t} catch (FileNotFoundException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}\n\tArrays.sort(mountainList);\n\tfor(int j=0;j>-3;j--){\n\t\tSystem.out.println(mountainList[j+9]);\n\t\t\n\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException{\n \n\tint[] mountainList = new int[10];\n\t\n\tString line = \"\";\n\t\t\n\t\n\tBufferedReader br = null;\n\t\t\t\n\ttry {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(int i = 0;i<10;i++){\n\t\t\tline = br.readLine();\n\t\t\tmountainList[i] = Integer.parseInt(line);\n\t\t\t\t\n\t\t}\n\t\t\n\t} catch (FileNotFoundException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}\n\tArrays.sort(mountainList);\n\tfor(int j=0;j>-3;j--){\n\t\tSystem.out.println(mountainList[j+9]);\n\t\t\n\t}\n\t}",
"main",
"{\n \n\tint[] mountainList = new int[10];\n\t\n\tString line = \"\";\n\t\t\n\t\n\tBufferedReader br = null;\n\t\t\t\n\ttry {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(int i = 0;i<10;i++){\n\t\t\tline = br.readLine();\n\t\t\tmountainList[i] = Integer.parseInt(line);\n\t\t\t\t\n\t\t}\n\t\t\n\t} catch (FileNotFoundException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}\n\tArrays.sort(mountainList);\n\tfor(int j=0;j>-3;j--){\n\t\tSystem.out.println(mountainList[j+9]);\n\t\t\n\t}\n\t}",
"int[] mountainList = new int[10];",
"mountainList",
"new int[10]",
"10",
"String line = \"\";",
"line",
"\"\"",
"BufferedReader br = null;",
"br",
"null",
"try {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(int i = 0;i<10;i++){\n\t\t\tline = br.readLine();\n\t\t\tmountainList[i] = Integer.parseInt(line);\n\t\t\t\t\n\t\t}\n\t\t\n\t} catch (FileNotFoundException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}",
"catch (FileNotFoundException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}",
"FileNotFoundException e",
"{\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(int i = 0;i<10;i++){\n\t\t\tline = br.readLine();\n\t\t\tmountainList[i] = Integer.parseInt(line);\n\t\t\t\t\n\t\t}\n\t\t\n\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"for(int i = 0;i<10;i++){\n\t\t\tline = br.readLine();\n\t\t\tmountainList[i] = Integer.parseInt(line);\n\t\t\t\t\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tline = br.readLine();\n\t\t\tmountainList[i] = Integer.parseInt(line);\n\t\t\t\t\n\t\t}",
"{\n\t\t\tline = br.readLine();\n\t\t\tmountainList[i] = Integer.parseInt(line);\n\t\t\t\t\n\t\t}",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"mountainList[i] = Integer.parseInt(line)",
"mountainList[i]",
"mountainList",
"i",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"Arrays.sort(mountainList)",
"Arrays.sort",
"Arrays",
"mountainList",
"for(int j=0;j>-3;j--){\n\t\tSystem.out.println(mountainList[j+9]);\n\t\t\n\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j>-3",
"j",
"-3",
"3",
"j--",
"j--",
"j",
"{\n\t\tSystem.out.println(mountainList[j+9]);\n\t\t\n\t}",
"{\n\t\tSystem.out.println(mountainList[j+9]);\n\t\t\n\t}",
"System.out.println(mountainList[j+9])",
"System.out.println",
"System.out",
"System",
"System.out",
"mountainList[j+9]",
"mountainList",
"j+9",
"j",
"9",
"String[] args",
"args",
"public class Main {\n\n\t\n\t\n\tpublic static void main(String[] args) throws IOException{\n \n\tint[] mountainList = new int[10];\n\t\n\tString line = \"\";\n\t\t\n\t\n\tBufferedReader br = null;\n\t\t\t\n\ttry {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(int i = 0;i<10;i++){\n\t\t\tline = br.readLine();\n\t\t\tmountainList[i] = Integer.parseInt(line);\n\t\t\t\t\n\t\t}\n\t\t\n\t} catch (FileNotFoundException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}\n\tArrays.sort(mountainList);\n\tfor(int j=0;j>-3;j--){\n\t\tSystem.out.println(mountainList[j+9]);\n\t\t\n\t}\n\t}\n\n}",
"public class Main {\n\n\t\n\t\n\tpublic static void main(String[] args) throws IOException{\n \n\tint[] mountainList = new int[10];\n\t\n\tString line = \"\";\n\t\t\n\t\n\tBufferedReader br = null;\n\t\t\t\n\ttry {\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(int i = 0;i<10;i++){\n\t\t\tline = br.readLine();\n\t\t\tmountainList[i] = Integer.parseInt(line);\n\t\t\t\t\n\t\t}\n\t\t\n\t} catch (FileNotFoundException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}\n\tArrays.sort(mountainList);\n\tfor(int j=0;j>-3;j--){\n\t\tSystem.out.println(mountainList[j+9]);\n\t\t\n\t}\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
public static void main(String[] args) throws IOException{
int[] mountainList = new int[10];
String line = "";
BufferedReader br = null;
try {
br = new BufferedReader(new InputStreamReader(System.in));
for(int i = 0;i<10;i++){
line = br.readLine();
mountainList[i] = Integer.parseInt(line);
}
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Arrays.sort(mountainList);
for(int j=0;j>-3;j--){
System.out.println(mountainList[j+9]);
}
}
} |
[
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,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
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
],
[
23,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
23,
58
],
[
58,
59
],
[
58,
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
],
[
74,
77
],
[
77,
78
],
[
77,
79
],
[
73,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
23,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
21,
90
],
[
90,
91
]
] | [
"import java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\nimport java.util.Arrays;\nimport java.util.Collections;\n\nclass Main {\n public static void main (String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n Integer[] mountains = new Integer[10];\n for (int i = 0; i < 10; i++) {\n mountains[i] = sc.nextInt();\n }\n\n Arrays.sort(mountains, Collections.reverseOrder());\n\n StringBuilder sb = new StringBuilder(\"\");\n for (int i = 0; i < 3; i++) {\n sb.append(mountains[i]);\n sb.append('\\n');\n }\n System.out.print(sb);\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"class Main {\n public static void main (String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n Integer[] mountains = new Integer[10];\n for (int i = 0; i < 10; i++) {\n mountains[i] = sc.nextInt();\n }\n\n Arrays.sort(mountains, Collections.reverseOrder());\n\n StringBuilder sb = new StringBuilder(\"\");\n for (int i = 0; i < 3; i++) {\n sb.append(mountains[i]);\n sb.append('\\n');\n }\n System.out.print(sb);\n }\n}",
"Main",
"public static void main (String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n Integer[] mountains = new Integer[10];\n for (int i = 0; i < 10; i++) {\n mountains[i] = sc.nextInt();\n }\n\n Arrays.sort(mountains, Collections.reverseOrder());\n\n StringBuilder sb = new StringBuilder(\"\");\n for (int i = 0; i < 3; i++) {\n sb.append(mountains[i]);\n sb.append('\\n');\n }\n System.out.print(sb);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n Integer[] mountains = new Integer[10];\n for (int i = 0; i < 10; i++) {\n mountains[i] = sc.nextInt();\n }\n\n Arrays.sort(mountains, Collections.reverseOrder());\n\n StringBuilder sb = new StringBuilder(\"\");\n for (int i = 0; i < 3; i++) {\n sb.append(mountains[i]);\n sb.append('\\n');\n }\n System.out.print(sb);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Integer[] mountains = new Integer[10];",
"mountains",
"new Integer[10]",
"10",
"for (int i = 0; i < 10; i++) {\n mountains[i] = sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n mountains[i] = sc.nextInt();\n }",
"{\n mountains[i] = sc.nextInt();\n }",
"mountains[i] = sc.nextInt()",
"mountains[i]",
"mountains",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(mountains, Collections.reverseOrder())",
"Arrays.sort",
"Arrays",
"mountains",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"StringBuilder sb = new StringBuilder(\"\");",
"sb",
"new StringBuilder(\"\")",
"for (int i = 0; i < 3; i++) {\n sb.append(mountains[i]);\n sb.append('\\n');\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n sb.append(mountains[i]);\n sb.append('\\n');\n }",
"{\n sb.append(mountains[i]);\n sb.append('\\n');\n }",
"sb.append(mountains[i])",
"sb.append",
"sb",
"mountains[i]",
"mountains",
"i",
"sb.append('\\n')",
"sb.append",
"sb",
"'\\n'",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args"
] | import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;
import java.util.Arrays;
import java.util.Collections;
class Main {
public static void main (String[] args) throws IOException {
Scanner sc = new Scanner(System.in);
Integer[] mountains = new Integer[10];
for (int i = 0; i < 10; i++) {
mountains[i] = sc.nextInt();
}
Arrays.sort(mountains, Collections.reverseOrder());
StringBuilder sb = new StringBuilder("");
for (int i = 0; i < 3; i++) {
sb.append(mountains[i]);
sb.append('\n');
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
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,
19
],
[
19,
20
],
[
19,
21
],
[
11,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
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
],
[
67,
67
],
[
67,
68
],
[
67,
69
],
[
67,
70
],
[
9,
71
],
[
71,
72
]
] | [
"import java.util.Scanner;\nimport java.util.Arrays;\n\nclass Main {\n public static void main(String[] args) {\n \t\n \tfinal int N = 10;\n \tint[] a = new int[N];\n \t\n \tScanner sc = new Scanner(System.in);\n \t\n \tfor(int i = 0; i < N; ++i) {\n\t \ta[i] = sc.nextInt();\n \t}\n \t\n \tArrays.sort(a);\n \t\n \tfor(int i = 0; i < 3; ++i) {\n \t\tSystem.out.println(a[N - i - 1]);\n \t}\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main {\n public static void main(String[] args) {\n \t\n \tfinal int N = 10;\n \tint[] a = new int[N];\n \t\n \tScanner sc = new Scanner(System.in);\n \t\n \tfor(int i = 0; i < N; ++i) {\n\t \ta[i] = sc.nextInt();\n \t}\n \t\n \tArrays.sort(a);\n \t\n \tfor(int i = 0; i < 3; ++i) {\n \t\tSystem.out.println(a[N - i - 1]);\n \t}\n }\n}",
"Main",
"public static void main(String[] args) {\n \t\n \tfinal int N = 10;\n \tint[] a = new int[N];\n \t\n \tScanner sc = new Scanner(System.in);\n \t\n \tfor(int i = 0; i < N; ++i) {\n\t \ta[i] = sc.nextInt();\n \t}\n \t\n \tArrays.sort(a);\n \t\n \tfor(int i = 0; i < 3; ++i) {\n \t\tSystem.out.println(a[N - i - 1]);\n \t}\n }",
"main",
"{\n \t\n \tfinal int N = 10;\n \tint[] a = new int[N];\n \t\n \tScanner sc = new Scanner(System.in);\n \t\n \tfor(int i = 0; i < N; ++i) {\n\t \ta[i] = sc.nextInt();\n \t}\n \t\n \tArrays.sort(a);\n \t\n \tfor(int i = 0; i < 3; ++i) {\n \t\tSystem.out.println(a[N - i - 1]);\n \t}\n }",
"final int N = 10;",
"N",
"10",
"int[] a = new int[N];",
"a",
"new int[N]",
"N",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i = 0; i < N; ++i) {\n\t \ta[i] = sc.nextInt();\n \t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"++i",
"++i",
"i",
"{\n\t \ta[i] = sc.nextInt();\n \t}",
"{\n\t \ta[i] = sc.nextInt();\n \t}",
"a[i] = sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"for(int i = 0; i < 3; ++i) {\n \t\tSystem.out.println(a[N - i - 1]);\n \t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"++i",
"++i",
"i",
"{\n \t\tSystem.out.println(a[N - i - 1]);\n \t}",
"{\n \t\tSystem.out.println(a[N - i - 1]);\n \t}",
"System.out.println(a[N - i - 1])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[N - i - 1]",
"a",
"N - i - 1",
"N - i - 1",
"N",
"i",
"1",
"String[] args",
"args"
] | import java.util.Scanner;
import java.util.Arrays;
class Main {
public static void main(String[] args) {
final int N = 10;
int[] a = new int[N];
Scanner sc = new Scanner(System.in);
for(int i = 0; i < N; ++i) {
a[i] = sc.nextInt();
}
Arrays.sort(a);
for(int i = 0; i < 3; ++i) {
System.out.println(a[N - i - 1]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
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
],
[
75,
11
],
[
75,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
14,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
14,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
12,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int datas[] = new int[10];\n for(int i = 0;i < 10;i++){\n datas[i] = Integer.parseInt(br.readLine());\n }\n Arrays.sort(datas);\n for(int i = 1;i <= 3;i++){\n System.out.println(datas[10 - i]);\n }\n }\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 public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int datas[] = new int[10];\n for(int i = 0;i < 10;i++){\n datas[i] = Integer.parseInt(br.readLine());\n }\n Arrays.sort(datas);\n for(int i = 1;i <= 3;i++){\n System.out.println(datas[10 - i]);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int datas[] = new int[10];\n for(int i = 0;i < 10;i++){\n datas[i] = Integer.parseInt(br.readLine());\n }\n Arrays.sort(datas);\n for(int i = 1;i <= 3;i++){\n System.out.println(datas[10 - i]);\n }\n }",
"main",
"{\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int datas[] = new int[10];\n for(int i = 0;i < 10;i++){\n datas[i] = Integer.parseInt(br.readLine());\n }\n Arrays.sort(datas);\n for(int i = 1;i <= 3;i++){\n System.out.println(datas[10 - i]);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int datas[] = new int[10];",
"datas",
"new int[10]",
"10",
"for(int i = 0;i < 10;i++){\n datas[i] = Integer.parseInt(br.readLine());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n datas[i] = Integer.parseInt(br.readLine());\n }",
"{\n datas[i] = Integer.parseInt(br.readLine());\n }",
"datas[i] = Integer.parseInt(br.readLine())",
"datas[i]",
"datas",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(datas)",
"Arrays.sort",
"Arrays",
"datas",
"for(int i = 1;i <= 3;i++){\n System.out.println(datas[10 - i]);\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(datas[10 - i]);\n }",
"{\n System.out.println(datas[10 - i]);\n }",
"System.out.println(datas[10 - i])",
"System.out.println",
"System.out",
"System",
"System.out",
"datas[10 - i]",
"datas",
"10 - i",
"10",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int datas[] = new int[10];\n for(int i = 0;i < 10;i++){\n datas[i] = Integer.parseInt(br.readLine());\n }\n Arrays.sort(datas);\n for(int i = 1;i <= 3;i++){\n System.out.println(datas[10 - i]);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int datas[] = new int[10];\n for(int i = 0;i < 10;i++){\n datas[i] = Integer.parseInt(br.readLine());\n }\n Arrays.sort(datas);\n for(int i = 1;i <= 3;i++){\n System.out.println(datas[10 - i]);\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
public static void main(String[] args) throws Exception {
// Here your code !
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int datas[] = new int[10];
for(int i = 0;i < 10;i++){
datas[i] = Integer.parseInt(br.readLine());
}
Arrays.sort(datas);
for(int i = 1;i <= 3;i++){
System.out.println(datas[10 - 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,
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,
4,
18,
13,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
86,
14
],
[
86,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
17,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
17,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
55,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
17,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
15,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tint[] yama = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tyama[i] = Integer.parseInt(reader.readLine());\n\t\t}\n\t\tArrays.sort(yama);\n\t\tfor (int i = 9; i > 6; i--) {\n\t\t\tbuilder.append(yama[i]).append('\\n');\n\t\t}\n\t\tSystem.out.print(builder);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tint[] yama = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tyama[i] = Integer.parseInt(reader.readLine());\n\t\t}\n\t\tArrays.sort(yama);\n\t\tfor (int i = 9; i > 6; i--) {\n\t\t\tbuilder.append(yama[i]).append('\\n');\n\t\t}\n\t\tSystem.out.print(builder);\n\t}\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tint[] yama = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tyama[i] = Integer.parseInt(reader.readLine());\n\t\t}\n\t\tArrays.sort(yama);\n\t\tfor (int i = 9; i > 6; i--) {\n\t\t\tbuilder.append(yama[i]).append('\\n');\n\t\t}\n\t\tSystem.out.print(builder);\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tint[] yama = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tyama[i] = Integer.parseInt(reader.readLine());\n\t\t}\n\t\tArrays.sort(yama);\n\t\tfor (int i = 9; i > 6; i--) {\n\t\t\tbuilder.append(yama[i]).append('\\n');\n\t\t}\n\t\tSystem.out.print(builder);\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))",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"int[] yama = new int[10];",
"yama",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++) {\n\t\t\tyama[i] = Integer.parseInt(reader.readLine());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tyama[i] = Integer.parseInt(reader.readLine());\n\t\t}",
"{\n\t\t\tyama[i] = Integer.parseInt(reader.readLine());\n\t\t}",
"yama[i] = Integer.parseInt(reader.readLine())",
"yama[i]",
"yama",
"i",
"Integer.parseInt(reader.readLine())",
"Integer.parseInt",
"Integer",
"reader.readLine()",
"reader.readLine",
"reader",
"Arrays.sort(yama)",
"Arrays.sort",
"Arrays",
"yama",
"for (int i = 9; i > 6; i--) {\n\t\t\tbuilder.append(yama[i]).append('\\n');\n\t\t}",
"int i = 9;",
"int i = 9;",
"i",
"9",
"i > 6",
"i",
"6",
"i--",
"i--",
"i",
"{\n\t\t\tbuilder.append(yama[i]).append('\\n');\n\t\t}",
"{\n\t\t\tbuilder.append(yama[i]).append('\\n');\n\t\t}",
"builder.append(yama[i]).append('\\n')",
"builder.append(yama[i]).append",
"builder.append(yama[i])",
"builder.append",
"builder",
"yama[i]",
"yama",
"i",
"'\\n'",
"System.out.print(builder)",
"System.out.print",
"System.out",
"System",
"System.out",
"builder",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tint[] yama = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tyama[i] = Integer.parseInt(reader.readLine());\n\t\t}\n\t\tArrays.sort(yama);\n\t\tfor (int i = 9; i > 6; i--) {\n\t\t\tbuilder.append(yama[i]).append('\\n');\n\t\t}\n\t\tSystem.out.print(builder);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException,\n\t\t\tIOException {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tint[] yama = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tyama[i] = Integer.parseInt(reader.readLine());\n\t\t}\n\t\tArrays.sort(yama);\n\t\tfor (int i = 9; i > 6; i--) {\n\t\t\tbuilder.append(yama[i]).append('\\n');\n\t\t}\n\t\tSystem.out.print(builder);\n\t}\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
public static void main(String[] args) throws NumberFormatException,
IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(
System.in));
StringBuilder builder = new StringBuilder();
int[] yama = new int[10];
for (int i = 0; i < 10; i++) {
yama[i] = Integer.parseInt(reader.readLine());
}
Arrays.sort(yama);
for (int i = 9; i > 6; i--) {
builder.append(yama[i]).append('\n');
}
System.out.print(builder);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
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
],
[
76,
11
],
[
76,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
14,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
14,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
14,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
14,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
12,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int datas[] = new int[10];\n for(int i = 0;i < 10;i++){\n datas[i] = Integer.parseInt(br.readLine());\n }\n Arrays.sort(datas);\n System.out.println(datas[9]);\n System.out.println(datas[8]);\n System.out.println(datas[7]);\n }\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 public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int datas[] = new int[10];\n for(int i = 0;i < 10;i++){\n datas[i] = Integer.parseInt(br.readLine());\n }\n Arrays.sort(datas);\n System.out.println(datas[9]);\n System.out.println(datas[8]);\n System.out.println(datas[7]);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int datas[] = new int[10];\n for(int i = 0;i < 10;i++){\n datas[i] = Integer.parseInt(br.readLine());\n }\n Arrays.sort(datas);\n System.out.println(datas[9]);\n System.out.println(datas[8]);\n System.out.println(datas[7]);\n }",
"main",
"{\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int datas[] = new int[10];\n for(int i = 0;i < 10;i++){\n datas[i] = Integer.parseInt(br.readLine());\n }\n Arrays.sort(datas);\n System.out.println(datas[9]);\n System.out.println(datas[8]);\n System.out.println(datas[7]);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int datas[] = new int[10];",
"datas",
"new int[10]",
"10",
"for(int i = 0;i < 10;i++){\n datas[i] = Integer.parseInt(br.readLine());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n datas[i] = Integer.parseInt(br.readLine());\n }",
"{\n datas[i] = Integer.parseInt(br.readLine());\n }",
"datas[i] = Integer.parseInt(br.readLine())",
"datas[i]",
"datas",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(datas)",
"Arrays.sort",
"Arrays",
"datas",
"System.out.println(datas[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"datas[9]",
"datas",
"9",
"System.out.println(datas[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"datas[8]",
"datas",
"8",
"System.out.println(datas[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"datas[7]",
"datas",
"7",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int datas[] = new int[10];\n for(int i = 0;i < 10;i++){\n datas[i] = Integer.parseInt(br.readLine());\n }\n Arrays.sort(datas);\n System.out.println(datas[9]);\n System.out.println(datas[8]);\n System.out.println(datas[7]);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int datas[] = new int[10];\n for(int i = 0;i < 10;i++){\n datas[i] = Integer.parseInt(br.readLine());\n }\n Arrays.sort(datas);\n System.out.println(datas[9]);\n System.out.println(datas[8]);\n System.out.println(datas[7]);\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
public static void main(String[] args) throws Exception {
// Here your code !
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int datas[] = new int[10];
for(int i = 0;i < 10;i++){
datas[i] = Integer.parseInt(br.readLine());
}
Arrays.sort(datas);
System.out.println(datas[9]);
System.out.println(datas[8]);
System.out.println(datas[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,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
76,
14
],
[
76,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
17,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
17,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
15,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] hights = new int[10];\n\n\t\tfor(int i = 0 ; i < 10 ; i++){\n\t\t\thights[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tArrays.sort(hights);\n\n\t\tfor(int i = 9; i > 6 ; i--){\n\t\t\tSystem.out.println(hights[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.Arrays;",
"Arrays",
"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\tint[] hights = new int[10];\n\n\t\tfor(int i = 0 ; i < 10 ; i++){\n\t\t\thights[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tArrays.sort(hights);\n\n\t\tfor(int i = 9; i > 6 ; i--){\n\t\t\tSystem.out.println(hights[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\tint[] hights = new int[10];\n\n\t\tfor(int i = 0 ; i < 10 ; i++){\n\t\t\thights[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tArrays.sort(hights);\n\n\t\tfor(int i = 9; i > 6 ; i--){\n\t\t\tSystem.out.println(hights[i]);\n\t\t}\n\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] hights = new int[10];\n\n\t\tfor(int i = 0 ; i < 10 ; i++){\n\t\t\thights[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tArrays.sort(hights);\n\n\t\tfor(int i = 9; i > 6 ; i--){\n\t\t\tSystem.out.println(hights[i]);\n\t\t}\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] hights = new int[10];",
"hights",
"new int[10]",
"10",
"for(int i = 0 ; i < 10 ; i++){\n\t\t\thights[i] = Integer.parseInt(br.readLine());\n\t\t}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\thights[i] = Integer.parseInt(br.readLine());\n\t\t}",
"{\n\t\t\thights[i] = Integer.parseInt(br.readLine());\n\t\t}",
"hights[i] = Integer.parseInt(br.readLine())",
"hights[i]",
"hights",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(hights)",
"Arrays.sort",
"Arrays",
"hights",
"for(int i = 9; i > 6 ; i--){\n\t\t\tSystem.out.println(hights[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(hights[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(hights[i]);\n\t\t}",
"System.out.println(hights[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"hights[i]",
"hights",
"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\tint[] hights = new int[10];\n\n\t\tfor(int i = 0 ; i < 10 ; i++){\n\t\t\thights[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tArrays.sort(hights);\n\n\t\tfor(int i = 9; i > 6 ; i--){\n\t\t\tSystem.out.println(hights[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\tint[] hights = new int[10];\n\n\t\tfor(int i = 0 ; i < 10 ; i++){\n\t\t\thights[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tArrays.sort(hights);\n\n\t\tfor(int i = 9; i > 6 ; i--){\n\t\t\tSystem.out.println(hights[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.Arrays;
public class Main {
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int[] hights = new int[10];
for(int i = 0 ; i < 10 ; i++){
hights[i] = Integer.parseInt(br.readLine());
}
Arrays.sort(hights);
for(int i = 9; i > 6 ; i--){
System.out.println(hights[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
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
],
[
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
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
24,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
47,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
34,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
34,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
34,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
68,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
12,
90
],
[
90,
91
]
] | [
"import java.io.*;\nimport java.util.ArrayList;\nimport java.util.Collections;\n\nclass Main {\n\tpublic static void main (String args[]) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tArrayList<Integer> List = new ArrayList<Integer>();\n\n\t\ttry {\n\t\t\tfor (int i=0;i<10;i++) {\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tList.add(Integer.parseInt(buf));\n\t\t\t}\n\t\t\tCollections.sort(List);\n\t\t\tCollections.reverse(List);\n\t\t\tfor (int i=0;i<3;i++) {\n\t\t\t\tSystem.out.println(List.get(i));\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Exception!\");\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"class Main {\n\tpublic static void main (String args[]) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tArrayList<Integer> List = new ArrayList<Integer>();\n\n\t\ttry {\n\t\t\tfor (int i=0;i<10;i++) {\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tList.add(Integer.parseInt(buf));\n\t\t\t}\n\t\t\tCollections.sort(List);\n\t\t\tCollections.reverse(List);\n\t\t\tfor (int i=0;i<3;i++) {\n\t\t\t\tSystem.out.println(List.get(i));\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Exception!\");\n\t\t}\n\t}\n}",
"Main",
"public static void main (String args[]) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tArrayList<Integer> List = new ArrayList<Integer>();\n\n\t\ttry {\n\t\t\tfor (int i=0;i<10;i++) {\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tList.add(Integer.parseInt(buf));\n\t\t\t}\n\t\t\tCollections.sort(List);\n\t\t\tCollections.reverse(List);\n\t\t\tfor (int i=0;i<3;i++) {\n\t\t\t\tSystem.out.println(List.get(i));\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Exception!\");\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tArrayList<Integer> List = new ArrayList<Integer>();\n\n\t\ttry {\n\t\t\tfor (int i=0;i<10;i++) {\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tList.add(Integer.parseInt(buf));\n\t\t\t}\n\t\t\tCollections.sort(List);\n\t\t\tCollections.reverse(List);\n\t\t\tfor (int i=0;i<3;i++) {\n\t\t\t\tSystem.out.println(List.get(i));\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Exception!\");\n\t\t}\n\t}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"ArrayList<Integer> List = new ArrayList<Integer>();",
"List",
"new ArrayList<Integer>()",
"try {\n\t\t\tfor (int i=0;i<10;i++) {\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tList.add(Integer.parseInt(buf));\n\t\t\t}\n\t\t\tCollections.sort(List);\n\t\t\tCollections.reverse(List);\n\t\t\tfor (int i=0;i<3;i++) {\n\t\t\t\tSystem.out.println(List.get(i));\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Exception!\");\n\t\t}",
"catch (Exception e) {\n\t\t\tSystem.out.println(\"Exception!\");\n\t\t}",
"Exception e",
"{\n\t\t\tSystem.out.println(\"Exception!\");\n\t\t}",
"System.out.println(\"Exception!\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Exception!\"",
"{\n\t\t\tfor (int i=0;i<10;i++) {\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tList.add(Integer.parseInt(buf));\n\t\t\t}\n\t\t\tCollections.sort(List);\n\t\t\tCollections.reverse(List);\n\t\t\tfor (int i=0;i<3;i++) {\n\t\t\t\tSystem.out.println(List.get(i));\n\t\t\t}\n\n\t\t}",
"for (int i=0;i<10;i++) {\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tList.add(Integer.parseInt(buf));\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tList.add(Integer.parseInt(buf));\n\t\t\t}",
"{\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tList.add(Integer.parseInt(buf));\n\t\t\t}",
"String buf = br.readLine();",
"buf",
"br.readLine()",
"br.readLine",
"br",
"List.add(Integer.parseInt(buf))",
"List.add",
"List",
"Integer.parseInt(buf)",
"Integer.parseInt",
"Integer",
"buf",
"Collections.sort(List)",
"Collections.sort",
"Collections",
"List",
"Collections.reverse(List)",
"Collections.reverse",
"Collections",
"List",
"for (int i=0;i<3;i++) {\n\t\t\t\tSystem.out.println(List.get(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(List.get(i));\n\t\t\t}",
"{\n\t\t\t\tSystem.out.println(List.get(i));\n\t\t\t}",
"System.out.println(List.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"List.get(i)",
"List.get",
"List",
"i",
"String args[]",
"args"
] | import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
class Main {
public static void main (String args[]) {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
ArrayList<Integer> List = new ArrayList<Integer>();
try {
for (int i=0;i<10;i++) {
String buf = br.readLine();
List.add(Integer.parseInt(buf));
}
Collections.sort(List);
Collections.reverse(List);
for (int i=0;i<3;i++) {
System.out.println(List.get(i));
}
} catch (Exception e) {
System.out.println("Exception!");
}
}
} |
[
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,
41,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
40,
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
],
[
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,
27
],
[
27,
28
],
[
27,
29
],
[
14,
30
],
[
30,
31
],
[
30,
32
],
[
14,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
37,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
50,
57
],
[
57,
58
],
[
57,
59
],
[
46,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
60,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
37,
79
],
[
79,
80
],
[
14,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
14,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
14,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
12,
99
],
[
99,
100
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(is);\n int i = 0;\n int one=0;\n int two=0;\n int three=0;\n\n while(i<10){\n \tint num=Integer.parseInt(br.readLine());\n \tif(one<=num){\n \t\tthree=two;\n \t\ttwo=one;\n \t\tone=num;\n \t}else if(two <= num){\n \t\tthree = two;\n \t\ttwo=num;\n \t}else if(three <=num){\n \t\tthree=num;\n \t}\n \ti++;\n }\n System.out.println(one);\n System.out.println(two);\n System.out.println(three);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(is);\n int i = 0;\n int one=0;\n int two=0;\n int three=0;\n\n while(i<10){\n \tint num=Integer.parseInt(br.readLine());\n \tif(one<=num){\n \t\tthree=two;\n \t\ttwo=one;\n \t\tone=num;\n \t}else if(two <= num){\n \t\tthree = two;\n \t\ttwo=num;\n \t}else if(three <=num){\n \t\tthree=num;\n \t}\n \ti++;\n }\n System.out.println(one);\n System.out.println(two);\n System.out.println(three);\n\t}\n}",
"Main",
"public static void main(String[] a) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(is);\n int i = 0;\n int one=0;\n int two=0;\n int three=0;\n\n while(i<10){\n \tint num=Integer.parseInt(br.readLine());\n \tif(one<=num){\n \t\tthree=two;\n \t\ttwo=one;\n \t\tone=num;\n \t}else if(two <= num){\n \t\tthree = two;\n \t\ttwo=num;\n \t}else if(three <=num){\n \t\tthree=num;\n \t}\n \ti++;\n }\n System.out.println(one);\n System.out.println(two);\n System.out.println(three);\n\t}",
"main",
"{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(is);\n int i = 0;\n int one=0;\n int two=0;\n int three=0;\n\n while(i<10){\n \tint num=Integer.parseInt(br.readLine());\n \tif(one<=num){\n \t\tthree=two;\n \t\ttwo=one;\n \t\tone=num;\n \t}else if(two <= num){\n \t\tthree = two;\n \t\ttwo=num;\n \t}else if(three <=num){\n \t\tthree=num;\n \t}\n \ti++;\n }\n System.out.println(one);\n System.out.println(two);\n System.out.println(three);\n\t}",
"InputStreamReader is = new InputStreamReader(System.in);",
"is",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(is);",
"br",
"new BufferedReader(is)",
"int i = 0;",
"i",
"0",
"int one=0;",
"one",
"0",
"int two=0;",
"two",
"0",
"int three=0;",
"three",
"0",
"while(i<10){\n \tint num=Integer.parseInt(br.readLine());\n \tif(one<=num){\n \t\tthree=two;\n \t\ttwo=one;\n \t\tone=num;\n \t}else if(two <= num){\n \t\tthree = two;\n \t\ttwo=num;\n \t}else if(three <=num){\n \t\tthree=num;\n \t}\n \ti++;\n }",
"i<10",
"i",
"10",
"{\n \tint num=Integer.parseInt(br.readLine());\n \tif(one<=num){\n \t\tthree=two;\n \t\ttwo=one;\n \t\tone=num;\n \t}else if(two <= num){\n \t\tthree = two;\n \t\ttwo=num;\n \t}else if(three <=num){\n \t\tthree=num;\n \t}\n \ti++;\n }",
"int num=Integer.parseInt(br.readLine());",
"num",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if(one<=num){\n \t\tthree=two;\n \t\ttwo=one;\n \t\tone=num;\n \t}else if(two <= num){\n \t\tthree = two;\n \t\ttwo=num;\n \t}else if(three <=num){\n \t\tthree=num;\n \t}",
"one<=num",
"one",
"num",
"{\n \t\tthree=two;\n \t\ttwo=one;\n \t\tone=num;\n \t}",
"three=two",
"three",
"two",
"two=one",
"two",
"one",
"one=num",
"one",
"num",
"if(two <= num){\n \t\tthree = two;\n \t\ttwo=num;\n \t}else if(three <=num){\n \t\tthree=num;\n \t}",
"two <= num",
"two",
"num",
"{\n \t\tthree = two;\n \t\ttwo=num;\n \t}",
"three = two",
"three",
"two",
"two=num",
"two",
"num",
"if(three <=num){\n \t\tthree=num;\n \t}",
"three <=num",
"three",
"num",
"{\n \t\tthree=num;\n \t}",
"three=num",
"three",
"num",
"i++",
"i",
"System.out.println(one)",
"System.out.println",
"System.out",
"System",
"System.out",
"one",
"System.out.println(two)",
"System.out.println",
"System.out",
"System",
"System.out",
"two",
"System.out.println(three)",
"System.out.println",
"System.out",
"System",
"System.out",
"three",
"String[] a",
"a"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] a) throws IOException {
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(is);
int i = 0;
int one=0;
int two=0;
int three=0;
while(i<10){
int num=Integer.parseInt(br.readLine());
if(one<=num){
three=two;
two=one;
one=num;
}else if(two <= num){
three = two;
two=num;
}else if(three <=num){
three=num;
}
i++;
}
System.out.println(one);
System.out.println(two);
System.out.println(three);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
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
],
[
23,
24
],
[
23,
25
],
[
16,
26
],
[
26,
27
],
[
27,
28
],
[
16,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
6,
63
],
[
63,
64
]
] | [
"import java.util.*;\n\nclass Main{\n public static void main(String[] args){\n Scanner s = new Scanner(System.in);\n\n int []a = new int[10];\n for(int i=0; i<a.length; i++){\n a[i] = s.nextInt();\n}\n Arrays.sort(a);\n for(int i=9; i>6; i--){\n System.out.println(a[i]);\n}\n}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n Scanner s = new Scanner(System.in);\n\n int []a = new int[10];\n for(int i=0; i<a.length; i++){\n a[i] = s.nextInt();\n}\n Arrays.sort(a);\n for(int i=9; i>6; i--){\n System.out.println(a[i]);\n}\n}\n}",
"Main",
"public static void main(String[] args){\n Scanner s = new Scanner(System.in);\n\n int []a = new int[10];\n for(int i=0; i<a.length; i++){\n a[i] = s.nextInt();\n}\n Arrays.sort(a);\n for(int i=9; i>6; i--){\n System.out.println(a[i]);\n}\n}",
"main",
"{\n Scanner s = new Scanner(System.in);\n\n int []a = new int[10];\n for(int i=0; i<a.length; i++){\n a[i] = s.nextInt();\n}\n Arrays.sort(a);\n for(int i=9; i>6; i--){\n System.out.println(a[i]);\n}\n}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int []a = new int[10];",
"a",
"new int[10]",
"10",
"for(int i=0; i<a.length; i++){\n a[i] = s.nextInt();\n}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n a[i] = s.nextInt();\n}",
"{\n a[i] = s.nextInt();\n}",
"a[i] = s.nextInt()",
"a[i]",
"a",
"i",
"s.nextInt()",
"s.nextInt",
"s",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"for(int i=9; i>6; i--){\n System.out.println(a[i]);\n}",
"int i=9;",
"int i=9;",
"i",
"9",
"i>6",
"i",
"6",
"i--",
"i--",
"i",
"{\n System.out.println(a[i]);\n}",
"{\n System.out.println(a[i]);\n}",
"System.out.println(a[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[i]",
"a",
"i",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main(String[] args){
Scanner s = new Scanner(System.in);
int []a = new int[10];
for(int i=0; i<a.length; i++){
a[i] = s.nextInt();
}
Arrays.sort(a);
for(int i=9; i>6; i--){
System.out.println(a[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
40,
17,
41,
13,
40,
17,
41,
13,
40,
17,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
38,
5,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
4,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
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,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
115,
8
],
[
115,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
115,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
115,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
115,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
51,
52
],
[
44,
53
],
[
53,
54
],
[
53,
55
],
[
23,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
23,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
23,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
21,
74
],
[
74,
75
],
[
115,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
83,
90
],
[
90,
91
],
[
90,
92
],
[
79,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
101,
103
],
[
93,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
76,
112
],
[
112,
113
],
[
0,
114
],
[
114,
115
],
[
114,
116
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n static int rank1 = -1;\n static int rank2 = -1;\n static int rank3 = -1;\n public static void main(String[] args) {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n for (int i=0; i < 10; i ++) {\n\n try {\n int readVal = Integer.parseInt(br.readLine());\n updateRank(readVal);\n\n } catch (Exception e) {\n }\n }\n System.out.println(rank1);\n System.out.println(rank2);\n System.out.println(rank3);\n }\n\n static void updateRank(int rank) {\n\n if (rank > rank1) {\n rank3 = rank2;\n rank2 = rank1;\n rank1 = rank;\n }\n else if ( rank > rank2) {\n rank3 = rank2;\n rank2 = rank;\n }\n else if (rank > rank3) {\n rank3 = rank;\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n static int rank1 = -1;\n static int rank2 = -1;\n static int rank3 = -1;\n public static void main(String[] args) {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n for (int i=0; i < 10; i ++) {\n\n try {\n int readVal = Integer.parseInt(br.readLine());\n updateRank(readVal);\n\n } catch (Exception e) {\n }\n }\n System.out.println(rank1);\n System.out.println(rank2);\n System.out.println(rank3);\n }\n\n static void updateRank(int rank) {\n\n if (rank > rank1) {\n rank3 = rank2;\n rank2 = rank1;\n rank1 = rank;\n }\n else if ( rank > rank2) {\n rank3 = rank2;\n rank2 = rank;\n }\n else if (rank > rank3) {\n rank3 = rank;\n }\n }\n}",
"Main",
"static int rank1 = -1;",
"rank1",
"-1",
"1",
"static int rank2 = -1;",
"rank2",
"-1",
"1",
"static int rank3 = -1;",
"rank3",
"-1",
"1",
"public static void main(String[] args) {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n for (int i=0; i < 10; i ++) {\n\n try {\n int readVal = Integer.parseInt(br.readLine());\n updateRank(readVal);\n\n } catch (Exception e) {\n }\n }\n System.out.println(rank1);\n System.out.println(rank2);\n System.out.println(rank3);\n }",
"main",
"{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n for (int i=0; i < 10; i ++) {\n\n try {\n int readVal = Integer.parseInt(br.readLine());\n updateRank(readVal);\n\n } catch (Exception e) {\n }\n }\n System.out.println(rank1);\n System.out.println(rank2);\n System.out.println(rank3);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"for (int i=0; i < 10; i ++) {\n\n try {\n int readVal = Integer.parseInt(br.readLine());\n updateRank(readVal);\n\n } catch (Exception e) {\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i < 10",
"i",
"10",
"i ++",
"i ++",
"i",
"{\n\n try {\n int readVal = Integer.parseInt(br.readLine());\n updateRank(readVal);\n\n } catch (Exception e) {\n }\n }",
"{\n\n try {\n int readVal = Integer.parseInt(br.readLine());\n updateRank(readVal);\n\n } catch (Exception e) {\n }\n }",
"try {\n int readVal = Integer.parseInt(br.readLine());\n updateRank(readVal);\n\n } catch (Exception e) {\n }",
"catch (Exception e) {\n }",
"Exception e",
"{\n }",
"{\n int readVal = Integer.parseInt(br.readLine());\n updateRank(readVal);\n\n }",
"int readVal = Integer.parseInt(br.readLine());",
"readVal",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"updateRank(readVal)",
"updateRank",
"readVal",
"System.out.println(rank1)",
"System.out.println",
"System.out",
"System",
"System.out",
"rank1",
"System.out.println(rank2)",
"System.out.println",
"System.out",
"System",
"System.out",
"rank2",
"System.out.println(rank3)",
"System.out.println",
"System.out",
"System",
"System.out",
"rank3",
"String[] args",
"args",
"static void updateRank(int rank) {\n\n if (rank > rank1) {\n rank3 = rank2;\n rank2 = rank1;\n rank1 = rank;\n }\n else if ( rank > rank2) {\n rank3 = rank2;\n rank2 = rank;\n }\n else if (rank > rank3) {\n rank3 = rank;\n }\n }",
"updateRank",
"{\n\n if (rank > rank1) {\n rank3 = rank2;\n rank2 = rank1;\n rank1 = rank;\n }\n else if ( rank > rank2) {\n rank3 = rank2;\n rank2 = rank;\n }\n else if (rank > rank3) {\n rank3 = rank;\n }\n }",
"if (rank > rank1) {\n rank3 = rank2;\n rank2 = rank1;\n rank1 = rank;\n }\n else if ( rank > rank2) {\n rank3 = rank2;\n rank2 = rank;\n }\n else if (rank > rank3) {\n rank3 = rank;\n }",
"rank > rank1",
"rank",
"rank1",
"{\n rank3 = rank2;\n rank2 = rank1;\n rank1 = rank;\n }",
"rank3 = rank2",
"rank3",
"rank2",
"rank2 = rank1",
"rank2",
"rank1",
"rank1 = rank",
"rank1",
"rank",
"if ( rank > rank2) {\n rank3 = rank2;\n rank2 = rank;\n }\n else if (rank > rank3) {\n rank3 = rank;\n }",
"rank > rank2",
"rank",
"rank2",
"{\n rank3 = rank2;\n rank2 = rank;\n }",
"rank3 = rank2",
"rank3",
"rank2",
"rank2 = rank",
"rank2",
"rank",
"if (rank > rank3) {\n rank3 = rank;\n }",
"rank > rank3",
"rank",
"rank3",
"{\n rank3 = rank;\n }",
"rank3 = rank",
"rank3",
"rank",
"int rank",
"rank",
"public class Main {\n static int rank1 = -1;\n static int rank2 = -1;\n static int rank3 = -1;\n public static void main(String[] args) {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n for (int i=0; i < 10; i ++) {\n\n try {\n int readVal = Integer.parseInt(br.readLine());\n updateRank(readVal);\n\n } catch (Exception e) {\n }\n }\n System.out.println(rank1);\n System.out.println(rank2);\n System.out.println(rank3);\n }\n\n static void updateRank(int rank) {\n\n if (rank > rank1) {\n rank3 = rank2;\n rank2 = rank1;\n rank1 = rank;\n }\n else if ( rank > rank2) {\n rank3 = rank2;\n rank2 = rank;\n }\n else if (rank > rank3) {\n rank3 = rank;\n }\n }\n}",
"public class Main {\n static int rank1 = -1;\n static int rank2 = -1;\n static int rank3 = -1;\n public static void main(String[] args) {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n for (int i=0; i < 10; i ++) {\n\n try {\n int readVal = Integer.parseInt(br.readLine());\n updateRank(readVal);\n\n } catch (Exception e) {\n }\n }\n System.out.println(rank1);\n System.out.println(rank2);\n System.out.println(rank3);\n }\n\n static void updateRank(int rank) {\n\n if (rank > rank1) {\n rank3 = rank2;\n rank2 = rank1;\n rank1 = rank;\n }\n else if ( rank > rank2) {\n rank3 = rank2;\n rank2 = rank;\n }\n else if (rank > rank3) {\n rank3 = rank;\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
static int rank1 = -1;
static int rank2 = -1;
static int rank3 = -1;
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
for (int i=0; i < 10; i ++) {
try {
int readVal = Integer.parseInt(br.readLine());
updateRank(readVal);
} catch (Exception e) {
}
}
System.out.println(rank1);
System.out.println(rank2);
System.out.println(rank3);
}
static void updateRank(int rank) {
if (rank > rank1) {
rank3 = rank2;
rank2 = rank1;
rank1 = rank;
}
else if ( rank > rank2) {
rank3 = rank2;
rank2 = rank;
}
else if (rank > rank3) {
rank3 = rank;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
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,
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
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
8,
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
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
58,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
71,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
79,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
89,
91
],
[
79,
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
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
114,
115
],
[
114,
116
],
[
6,
117
],
[
117,
118
]
] | [
"import java.io.*; \n\nclass Main\n{\n\n\tpublic static void main(String[] a) throws IOException\n\t{\n\t\tint x[]=new int[100];\n\t\tint k=0;\n\n\t\tBufferedReader d =new BufferedReader(new InputStreamReader(System.in));\n\n\t\tfor(int i=0;i<10;i++)\n\t\t{\n\t\t\tString str=d.readLine();\n\t\t\tx[i]=Integer.parseInt(str);\n\t\t}\n\n\t\tfor(int i=0;i<10;i++)\n\t\t{\n\t\t\tfor(int j=0;j<10;j++)\n\t\t\t{\n\t\t\t\tif(x[i]>x[j])\n\t\t\t\t{\n\t\t\t\t\tk=x[i];\n\t\t\t\t\tx[i]=x[j];\n\t\t\t\t\tx[j]=k;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<3;i++)System.out.println(x[i]);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n\n\tpublic static void main(String[] a) throws IOException\n\t{\n\t\tint x[]=new int[100];\n\t\tint k=0;\n\n\t\tBufferedReader d =new BufferedReader(new InputStreamReader(System.in));\n\n\t\tfor(int i=0;i<10;i++)\n\t\t{\n\t\t\tString str=d.readLine();\n\t\t\tx[i]=Integer.parseInt(str);\n\t\t}\n\n\t\tfor(int i=0;i<10;i++)\n\t\t{\n\t\t\tfor(int j=0;j<10;j++)\n\t\t\t{\n\t\t\t\tif(x[i]>x[j])\n\t\t\t\t{\n\t\t\t\t\tk=x[i];\n\t\t\t\t\tx[i]=x[j];\n\t\t\t\t\tx[j]=k;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<3;i++)System.out.println(x[i]);\n\t}\n}",
"Main",
"public static void main(String[] a) throws IOException\n\t{\n\t\tint x[]=new int[100];\n\t\tint k=0;\n\n\t\tBufferedReader d =new BufferedReader(new InputStreamReader(System.in));\n\n\t\tfor(int i=0;i<10;i++)\n\t\t{\n\t\t\tString str=d.readLine();\n\t\t\tx[i]=Integer.parseInt(str);\n\t\t}\n\n\t\tfor(int i=0;i<10;i++)\n\t\t{\n\t\t\tfor(int j=0;j<10;j++)\n\t\t\t{\n\t\t\t\tif(x[i]>x[j])\n\t\t\t\t{\n\t\t\t\t\tk=x[i];\n\t\t\t\t\tx[i]=x[j];\n\t\t\t\t\tx[j]=k;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<3;i++)System.out.println(x[i]);\n\t}",
"main",
"{\n\t\tint x[]=new int[100];\n\t\tint k=0;\n\n\t\tBufferedReader d =new BufferedReader(new InputStreamReader(System.in));\n\n\t\tfor(int i=0;i<10;i++)\n\t\t{\n\t\t\tString str=d.readLine();\n\t\t\tx[i]=Integer.parseInt(str);\n\t\t}\n\n\t\tfor(int i=0;i<10;i++)\n\t\t{\n\t\t\tfor(int j=0;j<10;j++)\n\t\t\t{\n\t\t\t\tif(x[i]>x[j])\n\t\t\t\t{\n\t\t\t\t\tk=x[i];\n\t\t\t\t\tx[i]=x[j];\n\t\t\t\t\tx[j]=k;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<3;i++)System.out.println(x[i]);\n\t}",
"int x[]=new int[100];",
"x",
"new int[100]",
"100",
"int k=0;",
"k",
"0",
"BufferedReader d =new BufferedReader(new InputStreamReader(System.in));",
"d",
"new BufferedReader(new InputStreamReader(System.in))",
"for(int i=0;i<10;i++)\n\t\t{\n\t\t\tString str=d.readLine();\n\t\t\tx[i]=Integer.parseInt(str);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tString str=d.readLine();\n\t\t\tx[i]=Integer.parseInt(str);\n\t\t}",
"{\n\t\t\tString str=d.readLine();\n\t\t\tx[i]=Integer.parseInt(str);\n\t\t}",
"String str=d.readLine();",
"str",
"d.readLine()",
"d.readLine",
"d",
"x[i]=Integer.parseInt(str)",
"x[i]",
"x",
"i",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"for(int i=0;i<10;i++)\n\t\t{\n\t\t\tfor(int j=0;j<10;j++)\n\t\t\t{\n\t\t\t\tif(x[i]>x[j])\n\t\t\t\t{\n\t\t\t\t\tk=x[i];\n\t\t\t\t\tx[i]=x[j];\n\t\t\t\t\tx[j]=k;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j=0;j<10;j++)\n\t\t\t{\n\t\t\t\tif(x[i]>x[j])\n\t\t\t\t{\n\t\t\t\t\tk=x[i];\n\t\t\t\t\tx[i]=x[j];\n\t\t\t\t\tx[j]=k;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int j=0;j<10;j++)\n\t\t\t{\n\t\t\t\tif(x[i]>x[j])\n\t\t\t\t{\n\t\t\t\t\tk=x[i];\n\t\t\t\t\tx[i]=x[j];\n\t\t\t\t\tx[j]=k;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int j=0;j<10;j++)\n\t\t\t{\n\t\t\t\tif(x[i]>x[j])\n\t\t\t\t{\n\t\t\t\t\tk=x[i];\n\t\t\t\t\tx[i]=x[j];\n\t\t\t\t\tx[j]=k;\n\t\t\t\t}\n\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<10",
"j",
"10",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(x[i]>x[j])\n\t\t\t\t{\n\t\t\t\t\tk=x[i];\n\t\t\t\t\tx[i]=x[j];\n\t\t\t\t\tx[j]=k;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(x[i]>x[j])\n\t\t\t\t{\n\t\t\t\t\tk=x[i];\n\t\t\t\t\tx[i]=x[j];\n\t\t\t\t\tx[j]=k;\n\t\t\t\t}\n\t\t\t}",
"if(x[i]>x[j])\n\t\t\t\t{\n\t\t\t\t\tk=x[i];\n\t\t\t\t\tx[i]=x[j];\n\t\t\t\t\tx[j]=k;\n\t\t\t\t}",
"x[i]>x[j]",
"x[i]",
"x",
"i",
"x[j]",
"x",
"j",
"{\n\t\t\t\t\tk=x[i];\n\t\t\t\t\tx[i]=x[j];\n\t\t\t\t\tx[j]=k;\n\t\t\t\t}",
"k=x[i]",
"k",
"x[i]",
"x",
"i",
"x[i]=x[j]",
"x[i]",
"x",
"i",
"x[j]",
"x",
"j",
"x[j]=k",
"x[j]",
"x",
"j",
"k",
"for(int i=0;i<3;i++)System.out.println(x[i]);",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"System.out.println(x[i]);",
"System.out.println(x[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"x[i]",
"x",
"i",
"String[] a",
"a"
] | import java.io.*;
class Main
{
public static void main(String[] a) throws IOException
{
int x[]=new int[100];
int k=0;
BufferedReader d =new BufferedReader(new InputStreamReader(System.in));
for(int i=0;i<10;i++)
{
String str=d.readLine();
x[i]=Integer.parseInt(str);
}
for(int i=0;i<10;i++)
{
for(int j=0;j<10;j++)
{
if(x[i]>x[j])
{
k=x[i];
x[i]=x[j];
x[j]=k;
}
}
}
for(int i=0;i<3;i++)System.out.println(x[i]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
93,
5
],
[
93,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
43,
50
],
[
50,
51
],
[
50,
52
],
[
39,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
53,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
6,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tint one = 0;\n\t\tint two = 0;\n\t\tint three = 0;\n\t\t\n\t\t\n\t\t\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tint x = input.nextInt();\n\t\t\t//System.out.println(\"x = \" + x);\n\t\t\tif (x > one) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = one;\n\t\t\t\tone = x;\n\t\t\t}\n\t\t\telse if (x > two) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = x;\n\t\t\t}\n\t\t\telse if(x > three) {\n\t\t\t\tthree = x;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(one);\n\t\tSystem.out.println(two);\n\t\tSystem.out.println(three);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tint one = 0;\n\t\tint two = 0;\n\t\tint three = 0;\n\t\t\n\t\t\n\t\t\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tint x = input.nextInt();\n\t\t\t//System.out.println(\"x = \" + x);\n\t\t\tif (x > one) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = one;\n\t\t\t\tone = x;\n\t\t\t}\n\t\t\telse if (x > two) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = x;\n\t\t\t}\n\t\t\telse if(x > three) {\n\t\t\t\tthree = x;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(one);\n\t\tSystem.out.println(two);\n\t\tSystem.out.println(three);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tint one = 0;\n\t\tint two = 0;\n\t\tint three = 0;\n\t\t\n\t\t\n\t\t\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tint x = input.nextInt();\n\t\t\t//System.out.println(\"x = \" + x);\n\t\t\tif (x > one) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = one;\n\t\t\t\tone = x;\n\t\t\t}\n\t\t\telse if (x > two) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = x;\n\t\t\t}\n\t\t\telse if(x > three) {\n\t\t\t\tthree = x;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(one);\n\t\tSystem.out.println(two);\n\t\tSystem.out.println(three);\n\t}",
"main",
"{\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tint one = 0;\n\t\tint two = 0;\n\t\tint three = 0;\n\t\t\n\t\t\n\t\t\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tint x = input.nextInt();\n\t\t\t//System.out.println(\"x = \" + x);\n\t\t\tif (x > one) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = one;\n\t\t\t\tone = x;\n\t\t\t}\n\t\t\telse if (x > two) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = x;\n\t\t\t}\n\t\t\telse if(x > three) {\n\t\t\t\tthree = x;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(one);\n\t\tSystem.out.println(two);\n\t\tSystem.out.println(three);\n\t}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"int one = 0;",
"one",
"0",
"int two = 0;",
"two",
"0",
"int three = 0;",
"three",
"0",
"for(int i = 0; i < 10; i++) {\n\t\t\tint x = input.nextInt();\n\t\t\t//System.out.println(\"x = \" + x);\n\t\t\tif (x > one) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = one;\n\t\t\t\tone = x;\n\t\t\t}\n\t\t\telse if (x > two) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = x;\n\t\t\t}\n\t\t\telse if(x > three) {\n\t\t\t\tthree = x;\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 x = input.nextInt();\n\t\t\t//System.out.println(\"x = \" + x);\n\t\t\tif (x > one) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = one;\n\t\t\t\tone = x;\n\t\t\t}\n\t\t\telse if (x > two) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = x;\n\t\t\t}\n\t\t\telse if(x > three) {\n\t\t\t\tthree = x;\n\t\t\t}\n\t\t}",
"{\n\t\t\tint x = input.nextInt();\n\t\t\t//System.out.println(\"x = \" + x);\n\t\t\tif (x > one) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = one;\n\t\t\t\tone = x;\n\t\t\t}\n\t\t\telse if (x > two) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = x;\n\t\t\t}\n\t\t\telse if(x > three) {\n\t\t\t\tthree = x;\n\t\t\t}\n\t\t}",
"int x = input.nextInt();",
"x",
"input.nextInt()",
"input.nextInt",
"input",
"if (x > one) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = one;\n\t\t\t\tone = x;\n\t\t\t}\n\t\t\telse if (x > two) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = x;\n\t\t\t}\n\t\t\telse if(x > three) {\n\t\t\t\tthree = x;\n\t\t\t}",
"x > one",
"x",
"one",
"{\n\t\t\t\tthree = two;\n\t\t\t\ttwo = one;\n\t\t\t\tone = x;\n\t\t\t}",
"three = two",
"three",
"two",
"two = one",
"two",
"one",
"one = x",
"one",
"x",
"if (x > two) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = x;\n\t\t\t}\n\t\t\telse if(x > three) {\n\t\t\t\tthree = x;\n\t\t\t}",
"x > two",
"x",
"two",
"{\n\t\t\t\tthree = two;\n\t\t\t\ttwo = x;\n\t\t\t}",
"three = two",
"three",
"two",
"two = x",
"two",
"x",
"if(x > three) {\n\t\t\t\tthree = x;\n\t\t\t}",
"x > three",
"x",
"three",
"{\n\t\t\t\tthree = x;\n\t\t\t}",
"three = x",
"three",
"x",
"System.out.println(one)",
"System.out.println",
"System.out",
"System",
"System.out",
"one",
"System.out.println(two)",
"System.out.println",
"System.out",
"System",
"System.out",
"two",
"System.out.println(three)",
"System.out.println",
"System.out",
"System",
"System.out",
"three",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tint one = 0;\n\t\tint two = 0;\n\t\tint three = 0;\n\t\t\n\t\t\n\t\t\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tint x = input.nextInt();\n\t\t\t//System.out.println(\"x = \" + x);\n\t\t\tif (x > one) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = one;\n\t\t\t\tone = x;\n\t\t\t}\n\t\t\telse if (x > two) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = x;\n\t\t\t}\n\t\t\telse if(x > three) {\n\t\t\t\tthree = x;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(one);\n\t\tSystem.out.println(two);\n\t\tSystem.out.println(three);\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\tint one = 0;\n\t\tint two = 0;\n\t\tint three = 0;\n\t\t\n\t\t\n\t\t\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tint x = input.nextInt();\n\t\t\t//System.out.println(\"x = \" + x);\n\t\t\tif (x > one) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = one;\n\t\t\t\tone = x;\n\t\t\t}\n\t\t\telse if (x > two) {\n\t\t\t\tthree = two;\n\t\t\t\ttwo = x;\n\t\t\t}\n\t\t\telse if(x > three) {\n\t\t\t\tthree = x;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(one);\n\t\tSystem.out.println(two);\n\t\tSystem.out.println(three);\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int one = 0;
int two = 0;
int three = 0;
for(int i = 0; i < 10; i++) {
int x = input.nextInt();
//System.out.println("x = " + x);
if (x > one) {
three = two;
two = one;
one = x;
}
else if (x > two) {
three = two;
two = x;
}
else if(x > three) {
three = x;
}
}
System.out.println(one);
System.out.println(two);
System.out.println(three);
}
} |
[
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,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
30,
0,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
13,
17,
0,
18,
13,
2,
13,
17,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
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
],
[
8,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
18,
28
],
[
28,
29
],
[
29,
30
],
[
18,
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
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
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
],
[
79,
80
],
[
79,
81
],
[
72,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
82,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
82,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
97,
103
],
[
8,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
109,
110
],
[
109,
111
],
[
104,
112
],
[
112,
113
],
[
113,
114
],
[
104,
115
],
[
116,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
122,
123
],
[
122,
124
],
[
6,
125
],
[
125,
126
],
[
0,
127
],
[
127,
128
],
[
127,
129
]
] | [
"import java.util.Scanner;\npublic 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\tint temp;\n\t\tfor(int a=0;a<height.length;a++){\n\t\t\theight[a]=scanner.nextInt();\n\t\t}\n\t\tfor(int i=0;i<height.length;i++){\n\t\t\tfor(int j=0;j<height.length-1;j++){\n\t\t\t\tif(height[j]<height[j+1]){\n\t\t\t\t\ttemp=height[j];\n\t\t\t\t\theight[j]=height[j+1];\n\t\t\t\t\theight[j+1]=temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[i]);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner=new Scanner(System.in);\n\t\tint[] height=new int[10];\n\t\tint temp;\n\t\tfor(int a=0;a<height.length;a++){\n\t\t\theight[a]=scanner.nextInt();\n\t\t}\n\t\tfor(int i=0;i<height.length;i++){\n\t\t\tfor(int j=0;j<height.length-1;j++){\n\t\t\t\tif(height[j]<height[j+1]){\n\t\t\t\t\ttemp=height[j];\n\t\t\t\t\theight[j]=height[j+1];\n\t\t\t\t\theight[j+1]=temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[i]);\n\t\t}\n\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\tint temp;\n\t\tfor(int a=0;a<height.length;a++){\n\t\t\theight[a]=scanner.nextInt();\n\t\t}\n\t\tfor(int i=0;i<height.length;i++){\n\t\t\tfor(int j=0;j<height.length-1;j++){\n\t\t\t\tif(height[j]<height[j+1]){\n\t\t\t\t\ttemp=height[j];\n\t\t\t\t\theight[j]=height[j+1];\n\t\t\t\t\theight[j+1]=temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner=new Scanner(System.in);\n\t\tint[] height=new int[10];\n\t\tint temp;\n\t\tfor(int a=0;a<height.length;a++){\n\t\t\theight[a]=scanner.nextInt();\n\t\t}\n\t\tfor(int i=0;i<height.length;i++){\n\t\t\tfor(int j=0;j<height.length-1;j++){\n\t\t\t\tif(height[j]<height[j+1]){\n\t\t\t\t\ttemp=height[j];\n\t\t\t\t\theight[j]=height[j+1];\n\t\t\t\t\theight[j+1]=temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[i]);\n\t\t}\n\t}",
"Scanner scanner=new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int[] height=new int[10];",
"height",
"new int[10]",
"10",
"int temp;",
"temp",
"for(int a=0;a<height.length;a++){\n\t\t\theight[a]=scanner.nextInt();\n\t\t}",
"int a=0;",
"int a=0;",
"a",
"0",
"a<height.length",
"a",
"height.length",
"height",
"height.length",
"a++",
"a++",
"a",
"{\n\t\t\theight[a]=scanner.nextInt();\n\t\t}",
"{\n\t\t\theight[a]=scanner.nextInt();\n\t\t}",
"height[a]=scanner.nextInt()",
"height[a]",
"height",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"for(int i=0;i<height.length;i++){\n\t\t\tfor(int j=0;j<height.length-1;j++){\n\t\t\t\tif(height[j]<height[j+1]){\n\t\t\t\t\ttemp=height[j];\n\t\t\t\t\theight[j]=height[j+1];\n\t\t\t\t\theight[j+1]=temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<height.length",
"i",
"height.length",
"height",
"height.length",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j=0;j<height.length-1;j++){\n\t\t\t\tif(height[j]<height[j+1]){\n\t\t\t\t\ttemp=height[j];\n\t\t\t\t\theight[j]=height[j+1];\n\t\t\t\t\theight[j+1]=temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int j=0;j<height.length-1;j++){\n\t\t\t\tif(height[j]<height[j+1]){\n\t\t\t\t\ttemp=height[j];\n\t\t\t\t\theight[j]=height[j+1];\n\t\t\t\t\theight[j+1]=temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int j=0;j<height.length-1;j++){\n\t\t\t\tif(height[j]<height[j+1]){\n\t\t\t\t\ttemp=height[j];\n\t\t\t\t\theight[j]=height[j+1];\n\t\t\t\t\theight[j+1]=temp;\n\t\t\t\t}\n\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<height.length-1",
"j",
"height.length-1",
"height.length",
"height",
"height.length",
"1",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(height[j]<height[j+1]){\n\t\t\t\t\ttemp=height[j];\n\t\t\t\t\theight[j]=height[j+1];\n\t\t\t\t\theight[j+1]=temp;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(height[j]<height[j+1]){\n\t\t\t\t\ttemp=height[j];\n\t\t\t\t\theight[j]=height[j+1];\n\t\t\t\t\theight[j+1]=temp;\n\t\t\t\t}\n\t\t\t}",
"if(height[j]<height[j+1]){\n\t\t\t\t\ttemp=height[j];\n\t\t\t\t\theight[j]=height[j+1];\n\t\t\t\t\theight[j+1]=temp;\n\t\t\t\t}",
"height[j]<height[j+1]",
"height[j]",
"height",
"j",
"height[j+1]",
"height",
"j+1",
"j",
"1",
"{\n\t\t\t\t\ttemp=height[j];\n\t\t\t\t\theight[j]=height[j+1];\n\t\t\t\t\theight[j+1]=temp;\n\t\t\t\t}",
"temp=height[j]",
"temp",
"height[j]",
"height",
"j",
"height[j]=height[j+1]",
"height[j]",
"height",
"j",
"height[j+1]",
"height",
"j+1",
"j",
"1",
"height[j+1]=temp",
"height[j+1]",
"height",
"j+1",
"j",
"1",
"temp",
"for(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(height[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(height[i]);\n\t\t}",
"System.out.println(height[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"height[i]",
"height",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner=new Scanner(System.in);\n\t\tint[] height=new int[10];\n\t\tint temp;\n\t\tfor(int a=0;a<height.length;a++){\n\t\t\theight[a]=scanner.nextInt();\n\t\t}\n\t\tfor(int i=0;i<height.length;i++){\n\t\t\tfor(int j=0;j<height.length-1;j++){\n\t\t\t\tif(height[j]<height[j+1]){\n\t\t\t\t\ttemp=height[j];\n\t\t\t\t\theight[j]=height[j+1];\n\t\t\t\t\theight[j+1]=temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[i]);\n\t\t}\n\t}\n}",
"public 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\tint temp;\n\t\tfor(int a=0;a<height.length;a++){\n\t\t\theight[a]=scanner.nextInt();\n\t\t}\n\t\tfor(int i=0;i<height.length;i++){\n\t\t\tfor(int j=0;j<height.length-1;j++){\n\t\t\t\tif(height[j]<height[j+1]){\n\t\t\t\t\ttemp=height[j];\n\t\t\t\t\theight[j]=height[j+1];\n\t\t\t\t\theight[j+1]=temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(height[i]);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner=new Scanner(System.in);
int[] height=new int[10];
int temp;
for(int a=0;a<height.length;a++){
height[a]=scanner.nextInt();
}
for(int i=0;i<height.length;i++){
for(int j=0;j<height.length-1;j++){
if(height[j]<height[j+1]){
temp=height[j];
height[j]=height[j+1];
height[j+1]=temp;
}
}
}
for(int i=0;i<3;i++){
System.out.println(height[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
13,
17,
30,
14,
2,
13,
18,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
18,
13,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
30,
0,
13,
13,
0,
13,
18,
13,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
30,
0,
13,
18,
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
],
[
134,
5
],
[
134,
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
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
50,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
56,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
50,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
69,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
68,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
68,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
90,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
98,
100
],
[
89,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
104,
106
],
[
45,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
110,
112
],
[
8,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
8,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
8,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
125,
130
],
[
6,
131
],
[
131,
132
],
[
0,
133
],
[
133,
134
],
[
133,
135
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n\tScanner s = new Scanner(System.in);\n\t\n\tint a[] = new int[10];\n\tint top = 0;\n\tint second =0;\n\tint thard = 0;\n\t\n\t//???????????????\n\tfor(int i = 0;i < 10;i++){\n\t\ta[i] = s.nextInt();\n\t\tif(i > 0){\n\t\t\tif(top <= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = top;//?????????\n\t\t\t\ttop = a[i];\n\t\t\t}else if(second <= a[i] && top >= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = a[i];\n\t\t\t}else if(thard <= a[i] && second >= a[i]){\n\t\t\t\tthard = a[i];\n\t\t\t}\n\t\t}else{\n\t\t\ttop = a[i];\n\t\t}\n\t}\n\tSystem.out.println(top);\n\tSystem.out.println(second);\n\tSystem.out.println(thard);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args){\n\tScanner s = new Scanner(System.in);\n\t\n\tint a[] = new int[10];\n\tint top = 0;\n\tint second =0;\n\tint thard = 0;\n\t\n\t//???????????????\n\tfor(int i = 0;i < 10;i++){\n\t\ta[i] = s.nextInt();\n\t\tif(i > 0){\n\t\t\tif(top <= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = top;//?????????\n\t\t\t\ttop = a[i];\n\t\t\t}else if(second <= a[i] && top >= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = a[i];\n\t\t\t}else if(thard <= a[i] && second >= a[i]){\n\t\t\t\tthard = a[i];\n\t\t\t}\n\t\t}else{\n\t\t\ttop = a[i];\n\t\t}\n\t}\n\tSystem.out.println(top);\n\tSystem.out.println(second);\n\tSystem.out.println(thard);\n }\n}",
"Main",
"public static void main(String[] args){\n\tScanner s = new Scanner(System.in);\n\t\n\tint a[] = new int[10];\n\tint top = 0;\n\tint second =0;\n\tint thard = 0;\n\t\n\t//???????????????\n\tfor(int i = 0;i < 10;i++){\n\t\ta[i] = s.nextInt();\n\t\tif(i > 0){\n\t\t\tif(top <= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = top;//?????????\n\t\t\t\ttop = a[i];\n\t\t\t}else if(second <= a[i] && top >= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = a[i];\n\t\t\t}else if(thard <= a[i] && second >= a[i]){\n\t\t\t\tthard = a[i];\n\t\t\t}\n\t\t}else{\n\t\t\ttop = a[i];\n\t\t}\n\t}\n\tSystem.out.println(top);\n\tSystem.out.println(second);\n\tSystem.out.println(thard);\n }",
"main",
"{\n\tScanner s = new Scanner(System.in);\n\t\n\tint a[] = new int[10];\n\tint top = 0;\n\tint second =0;\n\tint thard = 0;\n\t\n\t//???????????????\n\tfor(int i = 0;i < 10;i++){\n\t\ta[i] = s.nextInt();\n\t\tif(i > 0){\n\t\t\tif(top <= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = top;//?????????\n\t\t\t\ttop = a[i];\n\t\t\t}else if(second <= a[i] && top >= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = a[i];\n\t\t\t}else if(thard <= a[i] && second >= a[i]){\n\t\t\t\tthard = a[i];\n\t\t\t}\n\t\t}else{\n\t\t\ttop = a[i];\n\t\t}\n\t}\n\tSystem.out.println(top);\n\tSystem.out.println(second);\n\tSystem.out.println(thard);\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int a[] = new int[10];",
"a",
"new int[10]",
"10",
"int top = 0;",
"top",
"0",
"int second =0;",
"second",
"0",
"int thard = 0;",
"thard",
"0",
"for(int i = 0;i < 10;i++){\n\t\ta[i] = s.nextInt();\n\t\tif(i > 0){\n\t\t\tif(top <= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = top;//?????????\n\t\t\t\ttop = a[i];\n\t\t\t}else if(second <= a[i] && top >= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = a[i];\n\t\t\t}else if(thard <= a[i] && second >= a[i]){\n\t\t\t\tthard = a[i];\n\t\t\t}\n\t\t}else{\n\t\t\ttop = a[i];\n\t\t}\n\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\ta[i] = s.nextInt();\n\t\tif(i > 0){\n\t\t\tif(top <= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = top;//?????????\n\t\t\t\ttop = a[i];\n\t\t\t}else if(second <= a[i] && top >= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = a[i];\n\t\t\t}else if(thard <= a[i] && second >= a[i]){\n\t\t\t\tthard = a[i];\n\t\t\t}\n\t\t}else{\n\t\t\ttop = a[i];\n\t\t}\n\t}",
"{\n\t\ta[i] = s.nextInt();\n\t\tif(i > 0){\n\t\t\tif(top <= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = top;//?????????\n\t\t\t\ttop = a[i];\n\t\t\t}else if(second <= a[i] && top >= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = a[i];\n\t\t\t}else if(thard <= a[i] && second >= a[i]){\n\t\t\t\tthard = a[i];\n\t\t\t}\n\t\t}else{\n\t\t\ttop = a[i];\n\t\t}\n\t}",
"a[i] = s.nextInt()",
"a[i]",
"a",
"i",
"s.nextInt()",
"s.nextInt",
"s",
"if(i > 0){\n\t\t\tif(top <= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = top;//?????????\n\t\t\t\ttop = a[i];\n\t\t\t}else if(second <= a[i] && top >= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = a[i];\n\t\t\t}else if(thard <= a[i] && second >= a[i]){\n\t\t\t\tthard = a[i];\n\t\t\t}\n\t\t}else{\n\t\t\ttop = a[i];\n\t\t}",
"i > 0",
"i",
"0",
"{\n\t\t\tif(top <= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = top;//?????????\n\t\t\t\ttop = a[i];\n\t\t\t}else if(second <= a[i] && top >= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = a[i];\n\t\t\t}else if(thard <= a[i] && second >= a[i]){\n\t\t\t\tthard = a[i];\n\t\t\t}\n\t\t}",
"if(top <= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = top;//?????????\n\t\t\t\ttop = a[i];\n\t\t\t}else if(second <= a[i] && top >= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = a[i];\n\t\t\t}else if(thard <= a[i] && second >= a[i]){\n\t\t\t\tthard = a[i];\n\t\t\t}",
"top <= a[i]",
"top",
"a[i]",
"a",
"i",
"{\n\t\t\t\tthard = second;\n\t\t\t\tsecond = top;//?????????\n\t\t\t\ttop = a[i];\n\t\t\t}",
"thard = second",
"thard",
"second",
"second = top",
"second",
"top",
"top = a[i]",
"top",
"a[i]",
"a",
"i",
"if(second <= a[i] && top >= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = a[i];\n\t\t\t}else if(thard <= a[i] && second >= a[i]){\n\t\t\t\tthard = a[i];\n\t\t\t}",
"second <= a[i] && top >= a[i]",
"second <= a[i]",
"second",
"a[i]",
"a",
"i",
"top >= a[i]",
"top",
"a[i]",
"a",
"i",
"{\n\t\t\t\tthard = second;\n\t\t\t\tsecond = a[i];\n\t\t\t}",
"thard = second",
"thard",
"second",
"second = a[i]",
"second",
"a[i]",
"a",
"i",
"if(thard <= a[i] && second >= a[i]){\n\t\t\t\tthard = a[i];\n\t\t\t}",
"thard <= a[i] && second >= a[i]",
"thard <= a[i]",
"thard",
"a[i]",
"a",
"i",
"second >= a[i]",
"second",
"a[i]",
"a",
"i",
"{\n\t\t\t\tthard = a[i];\n\t\t\t}",
"thard = a[i]",
"thard",
"a[i]",
"a",
"i",
"{\n\t\t\ttop = a[i];\n\t\t}",
"top = a[i]",
"top",
"a[i]",
"a",
"i",
"System.out.println(top)",
"System.out.println",
"System.out",
"System",
"System.out",
"top",
"System.out.println(second)",
"System.out.println",
"System.out",
"System",
"System.out",
"second",
"System.out.println(thard)",
"System.out.println",
"System.out",
"System",
"System.out",
"thard",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n\tScanner s = new Scanner(System.in);\n\t\n\tint a[] = new int[10];\n\tint top = 0;\n\tint second =0;\n\tint thard = 0;\n\t\n\t//???????????????\n\tfor(int i = 0;i < 10;i++){\n\t\ta[i] = s.nextInt();\n\t\tif(i > 0){\n\t\t\tif(top <= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = top;//?????????\n\t\t\t\ttop = a[i];\n\t\t\t}else if(second <= a[i] && top >= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = a[i];\n\t\t\t}else if(thard <= a[i] && second >= a[i]){\n\t\t\t\tthard = a[i];\n\t\t\t}\n\t\t}else{\n\t\t\ttop = a[i];\n\t\t}\n\t}\n\tSystem.out.println(top);\n\tSystem.out.println(second);\n\tSystem.out.println(thard);\n }\n}",
"public class Main {\n public static void main(String[] args){\n\tScanner s = new Scanner(System.in);\n\t\n\tint a[] = new int[10];\n\tint top = 0;\n\tint second =0;\n\tint thard = 0;\n\t\n\t//???????????????\n\tfor(int i = 0;i < 10;i++){\n\t\ta[i] = s.nextInt();\n\t\tif(i > 0){\n\t\t\tif(top <= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = top;//?????????\n\t\t\t\ttop = a[i];\n\t\t\t}else if(second <= a[i] && top >= a[i]){\n\t\t\t\tthard = second;\n\t\t\t\tsecond = a[i];\n\t\t\t}else if(thard <= a[i] && second >= a[i]){\n\t\t\t\tthard = a[i];\n\t\t\t}\n\t\t}else{\n\t\t\ttop = a[i];\n\t\t}\n\t}\n\tSystem.out.println(top);\n\tSystem.out.println(second);\n\tSystem.out.println(thard);\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner s = new Scanner(System.in);
int a[] = new int[10];
int top = 0;
int second =0;
int thard = 0;
//???????????????
for(int i = 0;i < 10;i++){
a[i] = s.nextInt();
if(i > 0){
if(top <= a[i]){
thard = second;
second = top;//?????????
top = a[i];
}else if(second <= a[i] && top >= a[i]){
thard = second;
second = a[i];
}else if(thard <= a[i] && second >= a[i]){
thard = a[i];
}
}else{
top = a[i];
}
}
System.out.println(top);
System.out.println(second);
System.out.println(thard);
}
} |
[
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,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
0,
13,
13,
0,
13,
13,
3,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
3,
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
],
[
145,
11
],
[
145,
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
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
71,
79
],
[
79,
80
],
[
80,
81
],
[
71,
82
],
[
83,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
88,
95
],
[
95,
96
],
[
95,
97
],
[
88,
98
],
[
98,
99
],
[
98,
100
],
[
88,
101
],
[
101,
102
],
[
101,
103
],
[
88,
104
],
[
83,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
113,
114
],
[
113,
115
],
[
109,
116
],
[
116,
117
],
[
116,
118
],
[
109,
119
],
[
83,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
14,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
128,
133
],
[
136,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
134,
140
],
[
136,
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\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\tfor (int j = 1; j <= 3; j++) {\n\t\t\t\tif (first < datum) {\n\t\t\t\t\ttemp1 = first;\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tfirst = datum;\n\t\t\t\t\tsecond = temp1;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (second < datum) {\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tsecond = datum;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (third < datum) {\n\t\t\t\t\tthird = datum;\n\t\t\t\t}\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\tfor (int j = 1; j <= 3; j++) {\n\t\t\t\tif (first < datum) {\n\t\t\t\t\ttemp1 = first;\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tfirst = datum;\n\t\t\t\t\tsecond = temp1;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (second < datum) {\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tsecond = datum;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (third < datum) {\n\t\t\t\t\tthird = datum;\n\t\t\t\t}\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\tfor (int j = 1; j <= 3; j++) {\n\t\t\t\tif (first < datum) {\n\t\t\t\t\ttemp1 = first;\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tfirst = datum;\n\t\t\t\t\tsecond = temp1;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (second < datum) {\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tsecond = datum;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (third < datum) {\n\t\t\t\t\tthird = datum;\n\t\t\t\t}\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\tfor (int j = 1; j <= 3; j++) {\n\t\t\t\tif (first < datum) {\n\t\t\t\t\ttemp1 = first;\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tfirst = datum;\n\t\t\t\t\tsecond = temp1;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (second < datum) {\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tsecond = datum;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (third < datum) {\n\t\t\t\t\tthird = datum;\n\t\t\t\t}\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\tfor (int j = 1; j <= 3; j++) {\n\t\t\t\tif (first < datum) {\n\t\t\t\t\ttemp1 = first;\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tfirst = datum;\n\t\t\t\t\tsecond = temp1;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (second < datum) {\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tsecond = datum;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (third < datum) {\n\t\t\t\t\tthird = datum;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int datum",
"data",
"{\n\t\t\tint temp1 = 0, temp2 = 0;\n\t\t\tfor (int j = 1; j <= 3; j++) {\n\t\t\t\tif (first < datum) {\n\t\t\t\t\ttemp1 = first;\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tfirst = datum;\n\t\t\t\t\tsecond = temp1;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (second < datum) {\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tsecond = datum;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (third < datum) {\n\t\t\t\t\tthird = datum;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tint temp1 = 0, temp2 = 0;\n\t\t\tfor (int j = 1; j <= 3; j++) {\n\t\t\t\tif (first < datum) {\n\t\t\t\t\ttemp1 = first;\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tfirst = datum;\n\t\t\t\t\tsecond = temp1;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (second < datum) {\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tsecond = datum;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (third < datum) {\n\t\t\t\t\tthird = datum;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int temp1 = 0",
"temp1",
"0",
"temp2 = 0;",
"temp2",
"0",
"for (int j = 1; j <= 3; j++) {\n\t\t\t\tif (first < datum) {\n\t\t\t\t\ttemp1 = first;\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tfirst = datum;\n\t\t\t\t\tsecond = temp1;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (second < datum) {\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tsecond = datum;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (third < datum) {\n\t\t\t\t\tthird = datum;\n\t\t\t\t}\n\t\t\t}",
"int j = 1;",
"int j = 1;",
"j",
"1",
"j <= 3",
"j",
"3",
"j++",
"j++",
"j",
"{\n\t\t\t\tif (first < datum) {\n\t\t\t\t\ttemp1 = first;\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tfirst = datum;\n\t\t\t\t\tsecond = temp1;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (second < datum) {\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tsecond = datum;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (third < datum) {\n\t\t\t\t\tthird = datum;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif (first < datum) {\n\t\t\t\t\ttemp1 = first;\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tfirst = datum;\n\t\t\t\t\tsecond = temp1;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (second < datum) {\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tsecond = datum;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (third < datum) {\n\t\t\t\t\tthird = datum;\n\t\t\t\t}\n\t\t\t}",
"if (first < datum) {\n\t\t\t\t\ttemp1 = first;\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tfirst = datum;\n\t\t\t\t\tsecond = temp1;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"first < datum",
"first",
"datum",
"{\n\t\t\t\t\ttemp1 = first;\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tfirst = datum;\n\t\t\t\t\tsecond = temp1;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"temp1 = first",
"temp1",
"first",
"temp2 = second",
"temp2",
"second",
"first = datum",
"first",
"datum",
"second = temp1",
"second",
"temp1",
"third = temp2",
"third",
"temp2",
"break;",
"if (second < datum) {\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tsecond = datum;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"second < datum",
"second",
"datum",
"{\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tsecond = datum;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"temp2 = second",
"temp2",
"second",
"second = datum",
"second",
"datum",
"third = temp2",
"third",
"temp2",
"break;",
"if (third < datum) {\n\t\t\t\t\tthird = datum;\n\t\t\t\t}",
"third < datum",
"third",
"datum",
"{\n\t\t\t\t\tthird = datum;\n\t\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\tfor (int j = 1; j <= 3; j++) {\n\t\t\t\tif (first < datum) {\n\t\t\t\t\ttemp1 = first;\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tfirst = datum;\n\t\t\t\t\tsecond = temp1;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (second < datum) {\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tsecond = datum;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (third < datum) {\n\t\t\t\t\tthird = datum;\n\t\t\t\t}\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\tfor (int j = 1; j <= 3; j++) {\n\t\t\t\tif (first < datum) {\n\t\t\t\t\ttemp1 = first;\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tfirst = datum;\n\t\t\t\t\tsecond = temp1;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (second < datum) {\n\t\t\t\t\ttemp2 = second;\n\t\t\t\t\tsecond = datum;\n\t\t\t\t\tthird = temp2;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (third < datum) {\n\t\t\t\t\tthird = datum;\n\t\t\t\t}\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;
for (int j = 1; j <= 3; j++) {
if (first < datum) {
temp1 = first;
temp2 = second;
first = datum;
second = temp1;
third = temp2;
break;
}
if (second < datum) {
temp2 = second;
second = datum;
third = temp2;
break;
}
if (third < datum) {
third = datum;
}
}
}
System.out.println(first + BR + second + BR + third);
}
} |
[
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,
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,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
72,
8
],
[
72,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
11,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
11,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
11,
66
],
[
66,
67
],
[
67,
68
],
[
9,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint nums[] = new int[10];\n\t\tfor(byte i = 0; i < 10; i++) \n\t\t\tnums[i] = in.nextInt();\n\t\tArrays.sort(nums);\t\n\t\tSystem.out.println(nums[9]);\n\t\tSystem.out.println(nums[8]);\n\t\tSystem.out.println(nums[7]);\n\t\tin.close();\n\t}\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 in = new Scanner(System.in);\n\t\tint nums[] = new int[10];\n\t\tfor(byte i = 0; i < 10; i++) \n\t\t\tnums[i] = in.nextInt();\n\t\tArrays.sort(nums);\t\n\t\tSystem.out.println(nums[9]);\n\t\tSystem.out.println(nums[8]);\n\t\tSystem.out.println(nums[7]);\n\t\tin.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint nums[] = new int[10];\n\t\tfor(byte i = 0; i < 10; i++) \n\t\t\tnums[i] = in.nextInt();\n\t\tArrays.sort(nums);\t\n\t\tSystem.out.println(nums[9]);\n\t\tSystem.out.println(nums[8]);\n\t\tSystem.out.println(nums[7]);\n\t\tin.close();\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tint nums[] = new int[10];\n\t\tfor(byte i = 0; i < 10; i++) \n\t\t\tnums[i] = in.nextInt();\n\t\tArrays.sort(nums);\t\n\t\tSystem.out.println(nums[9]);\n\t\tSystem.out.println(nums[8]);\n\t\tSystem.out.println(nums[7]);\n\t\tin.close();\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int nums[] = new int[10];",
"nums",
"new int[10]",
"10",
"for(byte i = 0; i < 10; i++) \n\t\t\tnums[i] = in.nextInt();",
"byte i = 0;",
"byte i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"nums[i] = in.nextInt();",
"nums[i] = in.nextInt()",
"nums[i]",
"nums",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"Arrays.sort(nums)",
"Arrays.sort",
"Arrays",
"nums",
"System.out.println(nums[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"nums[9]",
"nums",
"9",
"System.out.println(nums[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"nums[8]",
"nums",
"8",
"System.out.println(nums[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"nums[7]",
"nums",
"7",
"in.close()",
"in.close",
"in",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint nums[] = new int[10];\n\t\tfor(byte i = 0; i < 10; i++) \n\t\t\tnums[i] = in.nextInt();\n\t\tArrays.sort(nums);\t\n\t\tSystem.out.println(nums[9]);\n\t\tSystem.out.println(nums[8]);\n\t\tSystem.out.println(nums[7]);\n\t\tin.close();\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint nums[] = new int[10];\n\t\tfor(byte i = 0; i < 10; i++) \n\t\t\tnums[i] = in.nextInt();\n\t\tArrays.sort(nums);\t\n\t\tSystem.out.println(nums[9]);\n\t\tSystem.out.println(nums[8]);\n\t\tSystem.out.println(nums[7]);\n\t\tin.close();\n\t}\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int nums[] = new int[10];
for(byte i = 0; i < 10; i++)
nums[i] = in.nextInt();
Arrays.sort(nums);
System.out.println(nums[9]);
System.out.println(nums[8]);
System.out.println(nums[7]);
in.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
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
],
[
23,
24
],
[
23,
25
],
[
16,
26
],
[
26,
27
],
[
27,
28
],
[
16,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
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
]
] | [
"import java.util.*;\nclass Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint []x=new int [10];\n\t\tfor(int i=0;i<x.length;i++){\n\t\t\tx[i]=sc.nextInt();\n\t\t}\n\t\tArrays.sort(x);\n\t\tSystem.out.println(x[9]);\n\t\tSystem.out.println(x[8]);\n\t\tSystem.out.println(x[7]);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint []x=new int [10];\n\t\tfor(int i=0;i<x.length;i++){\n\t\t\tx[i]=sc.nextInt();\n\t\t}\n\t\tArrays.sort(x);\n\t\tSystem.out.println(x[9]);\n\t\tSystem.out.println(x[8]);\n\t\tSystem.out.println(x[7]);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint []x=new int [10];\n\t\tfor(int i=0;i<x.length;i++){\n\t\t\tx[i]=sc.nextInt();\n\t\t}\n\t\tArrays.sort(x);\n\t\tSystem.out.println(x[9]);\n\t\tSystem.out.println(x[8]);\n\t\tSystem.out.println(x[7]);\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint []x=new int [10];\n\t\tfor(int i=0;i<x.length;i++){\n\t\t\tx[i]=sc.nextInt();\n\t\t}\n\t\tArrays.sort(x);\n\t\tSystem.out.println(x[9]);\n\t\tSystem.out.println(x[8]);\n\t\tSystem.out.println(x[7]);\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int []x=new int [10];",
"x",
"new int [10]",
"10",
"for(int i=0;i<x.length;i++){\n\t\t\tx[i]=sc.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<x.length",
"i",
"x.length",
"x",
"x.length",
"i++",
"i++",
"i",
"{\n\t\t\tx[i]=sc.nextInt();\n\t\t}",
"{\n\t\t\tx[i]=sc.nextInt();\n\t\t}",
"x[i]=sc.nextInt()",
"x[i]",
"x",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(x)",
"Arrays.sort",
"Arrays",
"x",
"System.out.println(x[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"x[9]",
"x",
"9",
"System.out.println(x[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"x[8]",
"x",
"8",
"System.out.println(x[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"x[7]",
"x",
"7",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int []x=new int [10];
for(int i=0;i<x.length;i++){
x[i]=sc.nextInt();
}
Arrays.sort(x);
System.out.println(x[9]);
System.out.println(x[8]);
System.out.println(x[7]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
43,
50
],
[
50,
51
],
[
50,
52
],
[
39,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
53,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
6,
90
],
[
90,
91
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint top1 = 0,top2 = 0,top3 = 0;\n\n\t\tfor (int i = 1;i <= 10;i++) {\n\t\t\tint hill = scanner.nextInt();\n\n\t\t\tif (hill >= top1) {\n\t\t\t\ttop3 = top2;\n\t\t\t\ttop2 = top1;\n\t\t\t\ttop1 = hill;\n\t\t\t} else if (hill >= top2) {\n\t\t\t\ttop3 = top2;\n\t\t\t\ttop2 = hill;\n\t\t\t} else if (hill >= top3) {\n\t\t\t\ttop3 = hill;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(top1);\n\t\tSystem.out.println(top2);\n\t\tSystem.out.println(top3);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint top1 = 0,top2 = 0,top3 = 0;\n\n\t\tfor (int i = 1;i <= 10;i++) {\n\t\t\tint hill = scanner.nextInt();\n\n\t\t\tif (hill >= top1) {\n\t\t\t\ttop3 = top2;\n\t\t\t\ttop2 = top1;\n\t\t\t\ttop1 = hill;\n\t\t\t} else if (hill >= top2) {\n\t\t\t\ttop3 = top2;\n\t\t\t\ttop2 = hill;\n\t\t\t} else if (hill >= top3) {\n\t\t\t\ttop3 = hill;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(top1);\n\t\tSystem.out.println(top2);\n\t\tSystem.out.println(top3);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint top1 = 0,top2 = 0,top3 = 0;\n\n\t\tfor (int i = 1;i <= 10;i++) {\n\t\t\tint hill = scanner.nextInt();\n\n\t\t\tif (hill >= top1) {\n\t\t\t\ttop3 = top2;\n\t\t\t\ttop2 = top1;\n\t\t\t\ttop1 = hill;\n\t\t\t} else if (hill >= top2) {\n\t\t\t\ttop3 = top2;\n\t\t\t\ttop2 = hill;\n\t\t\t} else if (hill >= top3) {\n\t\t\t\ttop3 = hill;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(top1);\n\t\tSystem.out.println(top2);\n\t\tSystem.out.println(top3);\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint top1 = 0,top2 = 0,top3 = 0;\n\n\t\tfor (int i = 1;i <= 10;i++) {\n\t\t\tint hill = scanner.nextInt();\n\n\t\t\tif (hill >= top1) {\n\t\t\t\ttop3 = top2;\n\t\t\t\ttop2 = top1;\n\t\t\t\ttop1 = hill;\n\t\t\t} else if (hill >= top2) {\n\t\t\t\ttop3 = top2;\n\t\t\t\ttop2 = hill;\n\t\t\t} else if (hill >= top3) {\n\t\t\t\ttop3 = hill;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(top1);\n\t\tSystem.out.println(top2);\n\t\tSystem.out.println(top3);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int top1 = 0",
"top1",
"0",
"top2 = 0",
"top2",
"0",
"top3 = 0;",
"top3",
"0",
"for (int i = 1;i <= 10;i++) {\n\t\t\tint hill = scanner.nextInt();\n\n\t\t\tif (hill >= top1) {\n\t\t\t\ttop3 = top2;\n\t\t\t\ttop2 = top1;\n\t\t\t\ttop1 = hill;\n\t\t\t} else if (hill >= top2) {\n\t\t\t\ttop3 = top2;\n\t\t\t\ttop2 = hill;\n\t\t\t} else if (hill >= top3) {\n\t\t\t\ttop3 = hill;\n\t\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tint hill = scanner.nextInt();\n\n\t\t\tif (hill >= top1) {\n\t\t\t\ttop3 = top2;\n\t\t\t\ttop2 = top1;\n\t\t\t\ttop1 = hill;\n\t\t\t} else if (hill >= top2) {\n\t\t\t\ttop3 = top2;\n\t\t\t\ttop2 = hill;\n\t\t\t} else if (hill >= top3) {\n\t\t\t\ttop3 = hill;\n\t\t\t}\n\t\t}",
"{\n\t\t\tint hill = scanner.nextInt();\n\n\t\t\tif (hill >= top1) {\n\t\t\t\ttop3 = top2;\n\t\t\t\ttop2 = top1;\n\t\t\t\ttop1 = hill;\n\t\t\t} else if (hill >= top2) {\n\t\t\t\ttop3 = top2;\n\t\t\t\ttop2 = hill;\n\t\t\t} else if (hill >= top3) {\n\t\t\t\ttop3 = hill;\n\t\t\t}\n\t\t}",
"int hill = scanner.nextInt();",
"hill",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (hill >= top1) {\n\t\t\t\ttop3 = top2;\n\t\t\t\ttop2 = top1;\n\t\t\t\ttop1 = hill;\n\t\t\t} else if (hill >= top2) {\n\t\t\t\ttop3 = top2;\n\t\t\t\ttop2 = hill;\n\t\t\t} else if (hill >= top3) {\n\t\t\t\ttop3 = hill;\n\t\t\t}",
"hill >= top1",
"hill",
"top1",
"{\n\t\t\t\ttop3 = top2;\n\t\t\t\ttop2 = top1;\n\t\t\t\ttop1 = hill;\n\t\t\t}",
"top3 = top2",
"top3",
"top2",
"top2 = top1",
"top2",
"top1",
"top1 = hill",
"top1",
"hill",
"if (hill >= top2) {\n\t\t\t\ttop3 = top2;\n\t\t\t\ttop2 = hill;\n\t\t\t} else if (hill >= top3) {\n\t\t\t\ttop3 = hill;\n\t\t\t}",
"hill >= top2",
"hill",
"top2",
"{\n\t\t\t\ttop3 = top2;\n\t\t\t\ttop2 = hill;\n\t\t\t}",
"top3 = top2",
"top3",
"top2",
"top2 = hill",
"top2",
"hill",
"if (hill >= top3) {\n\t\t\t\ttop3 = hill;\n\t\t\t}",
"hill >= top3",
"hill",
"top3",
"{\n\t\t\t\ttop3 = hill;\n\t\t\t}",
"top3 = hill",
"top3",
"hill",
"System.out.println(top1)",
"System.out.println",
"System.out",
"System",
"System.out",
"top1",
"System.out.println(top2)",
"System.out.println",
"System.out",
"System",
"System.out",
"top2",
"System.out.println(top3)",
"System.out.println",
"System.out",
"System",
"System.out",
"top3",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int top1 = 0,top2 = 0,top3 = 0;
for (int i = 1;i <= 10;i++) {
int hill = scanner.nextInt();
if (hill >= top1) {
top3 = top2;
top2 = top1;
top1 = hill;
} else if (hill >= top2) {
top3 = top2;
top2 = hill;
} else if (hill >= top3) {
top3 = hill;
}
}
System.out.println(top1);
System.out.println(top2);
System.out.println(top3);
}
} |
[
7,
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,
17,
12,
13,
30,
41,
13,
4,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
13,
29,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
119,
20
],
[
119,
21
],
[
21,
22
],
[
21,
23
],
[
119,
24
],
[
24,
25
],
[
24,
26
],
[
119,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
29,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
29,
42
],
[
42,
43
],
[
42,
44
],
[
27,
45
],
[
45,
46
],
[
119,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
49,
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
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
68,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
49,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
49,
89
],
[
89,
90
],
[
119,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
99,
100
],
[
99,
101
],
[
94,
102
],
[
102,
103
],
[
103,
104
],
[
94,
105
],
[
106,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
91,
116
],
[
116,
117
],
[
0,
118
],
[
118,
119
],
[
118,
120
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\n\npublic class Main {\n\n /** 入力される山の数 */\n private static final int NUMBER_OF_INPUT_MOUNTAIN = 10;\n\n /** 出力する山の数 */\n private static final int NUMBER_OF_OUTPUT_MOUNTAIN = 3;\n\n /**\n * 入力された山の高さから一番高い山を取得する。\n * 山の高さは 0 <= height <= 10000、データの数は 10 個。\n *\n * @param args\n */\n public static void main(String[] args) throws IOException {\n // 入力値を整数リストとして取得する\n List<Integer> heightList = readHeight();\n\n // 昇順でソートし、逆順にする\n Collections.sort(heightList);\n Collections.reverse(heightList);\n\n // 指定件数だけ表示する\n printHeight(heightList);\n }\n\n /**\n * 既定の回数だけ、標準入力から数字を読み、数値のリストにして返却する。\n *\n * @return 入力された山の高さを表す数値のリスト\n */\n protected static List<Integer> readHeight() throws IOException {\n\n List<Integer> heightList = new ArrayList<Integer>();\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n // 既定の回数だけ山の高さを読み込む\n for (int i = 0; i < NUMBER_OF_INPUT_MOUNTAIN; i++) {\n String line = reader.readLine();\n heightList.add(Integer.parseInt(line));\n }\n // ストリームをクローズする\n if (reader != null) {\n reader.close();\n }\n\n return heightList;\n }\n\n /**\n * 既定の回数だけ、ソート済みの山の高さを表す整数リストを出力する。\n *\n * @param heightList ソート済みの山の高さを表す整数リスト\n */\n protected static void printHeight(List<Integer> heightList) {\n for (int i = 0; i < NUMBER_OF_OUTPUT_MOUNTAIN; i++) {\n System.out.println(heightList.get(i));\n }\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n\n /** 入力される山の数 */\n private static final int NUMBER_OF_INPUT_MOUNTAIN = 10;\n\n /** 出力する山の数 */\n private static final int NUMBER_OF_OUTPUT_MOUNTAIN = 3;\n\n /**\n * 入力された山の高さから一番高い山を取得する。\n * 山の高さは 0 <= height <= 10000、データの数は 10 個。\n *\n * @param args\n */\n public static void main(String[] args) throws IOException {\n // 入力値を整数リストとして取得する\n List<Integer> heightList = readHeight();\n\n // 昇順でソートし、逆順にする\n Collections.sort(heightList);\n Collections.reverse(heightList);\n\n // 指定件数だけ表示する\n printHeight(heightList);\n }\n\n /**\n * 既定の回数だけ、標準入力から数字を読み、数値のリストにして返却する。\n *\n * @return 入力された山の高さを表す数値のリスト\n */\n protected static List<Integer> readHeight() throws IOException {\n\n List<Integer> heightList = new ArrayList<Integer>();\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n // 既定の回数だけ山の高さを読み込む\n for (int i = 0; i < NUMBER_OF_INPUT_MOUNTAIN; i++) {\n String line = reader.readLine();\n heightList.add(Integer.parseInt(line));\n }\n // ストリームをクローズする\n if (reader != null) {\n reader.close();\n }\n\n return heightList;\n }\n\n /**\n * 既定の回数だけ、ソート済みの山の高さを表す整数リストを出力する。\n *\n * @param heightList ソート済みの山の高さを表す整数リスト\n */\n protected static void printHeight(List<Integer> heightList) {\n for (int i = 0; i < NUMBER_OF_OUTPUT_MOUNTAIN; i++) {\n System.out.println(heightList.get(i));\n }\n }\n\n}",
"Main",
"/** 入力される山の数 */\n private static final int NUMBER_OF_INPUT_MOUNTAIN = 10;",
"NUMBER_OF_INPUT_MOUNTAIN",
"10",
"/** 出力する山の数 */\n private static final int NUMBER_OF_OUTPUT_MOUNTAIN = 3;",
"NUMBER_OF_OUTPUT_MOUNTAIN",
"3",
"/**\n * 入力された山の高さから一番高い山を取得する。\n * 山の高さは 0 <= height <= 10000、データの数は 10 個。\n *\n * @param args\n */\n public static void main(String[] args) throws IOException {\n // 入力値を整数リストとして取得する\n List<Integer> heightList = readHeight();\n\n // 昇順でソートし、逆順にする\n Collections.sort(heightList);\n Collections.reverse(heightList);\n\n // 指定件数だけ表示する\n printHeight(heightList);\n }",
"main",
"{\n // 入力値を整数リストとして取得する\n List<Integer> heightList = readHeight();\n\n // 昇順でソートし、逆順にする\n Collections.sort(heightList);\n Collections.reverse(heightList);\n\n // 指定件数だけ表示する\n printHeight(heightList);\n }",
"List<Integer> heightList = readHeight();",
"heightList",
"readHeight()",
"readHeight",
"Collections.sort(heightList)",
"Collections.sort",
"Collections",
"heightList",
"Collections.reverse(heightList)",
"Collections.reverse",
"Collections",
"heightList",
"printHeight(heightList)",
"printHeight",
"heightList",
"String[] args",
"args",
"/**\n * 既定の回数だけ、標準入力から数字を読み、数値のリストにして返却する。\n *\n * @return 入力された山の高さを表す数値のリスト\n */\n protected static List<Integer> readHeight() throws IOException {\n\n List<Integer> heightList = new ArrayList<Integer>();\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n // 既定の回数だけ山の高さを読み込む\n for (int i = 0; i < NUMBER_OF_INPUT_MOUNTAIN; i++) {\n String line = reader.readLine();\n heightList.add(Integer.parseInt(line));\n }\n // ストリームをクローズする\n if (reader != null) {\n reader.close();\n }\n\n return heightList;\n }",
"readHeight",
"{\n\n List<Integer> heightList = new ArrayList<Integer>();\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n // 既定の回数だけ山の高さを読み込む\n for (int i = 0; i < NUMBER_OF_INPUT_MOUNTAIN; i++) {\n String line = reader.readLine();\n heightList.add(Integer.parseInt(line));\n }\n // ストリームをクローズする\n if (reader != null) {\n reader.close();\n }\n\n return heightList;\n }",
"List<Integer> heightList = new ArrayList<Integer>();",
"heightList",
"new ArrayList<Integer>()",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"for (int i = 0; i < NUMBER_OF_INPUT_MOUNTAIN; i++) {\n String line = reader.readLine();\n heightList.add(Integer.parseInt(line));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < NUMBER_OF_INPUT_MOUNTAIN",
"i",
"NUMBER_OF_INPUT_MOUNTAIN",
"i++",
"i++",
"i",
"{\n String line = reader.readLine();\n heightList.add(Integer.parseInt(line));\n }",
"{\n String line = reader.readLine();\n heightList.add(Integer.parseInt(line));\n }",
"String line = reader.readLine();",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"heightList.add(Integer.parseInt(line))",
"heightList.add",
"heightList",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"if (reader != null) {\n reader.close();\n }",
"reader != null",
"reader",
"null",
"{\n reader.close();\n }",
"reader.close()",
"reader.close",
"reader",
"return heightList;",
"heightList",
"/**\n * 既定の回数だけ、ソート済みの山の高さを表す整数リストを出力する。\n *\n * @param heightList ソート済みの山の高さを表す整数リスト\n */\n protected static void printHeight(List<Integer> heightList) {\n for (int i = 0; i < NUMBER_OF_OUTPUT_MOUNTAIN; i++) {\n System.out.println(heightList.get(i));\n }\n }",
"printHeight",
"{\n for (int i = 0; i < NUMBER_OF_OUTPUT_MOUNTAIN; i++) {\n System.out.println(heightList.get(i));\n }\n }",
"for (int i = 0; i < NUMBER_OF_OUTPUT_MOUNTAIN; i++) {\n System.out.println(heightList.get(i));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < NUMBER_OF_OUTPUT_MOUNTAIN",
"i",
"NUMBER_OF_OUTPUT_MOUNTAIN",
"i++",
"i++",
"i",
"{\n System.out.println(heightList.get(i));\n }",
"{\n System.out.println(heightList.get(i));\n }",
"System.out.println(heightList.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"heightList.get(i)",
"heightList.get",
"heightList",
"i",
"List<Integer> heightList",
"heightList",
"public class Main {\n\n /** 入力される山の数 */\n private static final int NUMBER_OF_INPUT_MOUNTAIN = 10;\n\n /** 出力する山の数 */\n private static final int NUMBER_OF_OUTPUT_MOUNTAIN = 3;\n\n /**\n * 入力された山の高さから一番高い山を取得する。\n * 山の高さは 0 <= height <= 10000、データの数は 10 個。\n *\n * @param args\n */\n public static void main(String[] args) throws IOException {\n // 入力値を整数リストとして取得する\n List<Integer> heightList = readHeight();\n\n // 昇順でソートし、逆順にする\n Collections.sort(heightList);\n Collections.reverse(heightList);\n\n // 指定件数だけ表示する\n printHeight(heightList);\n }\n\n /**\n * 既定の回数だけ、標準入力から数字を読み、数値のリストにして返却する。\n *\n * @return 入力された山の高さを表す数値のリスト\n */\n protected static List<Integer> readHeight() throws IOException {\n\n List<Integer> heightList = new ArrayList<Integer>();\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n // 既定の回数だけ山の高さを読み込む\n for (int i = 0; i < NUMBER_OF_INPUT_MOUNTAIN; i++) {\n String line = reader.readLine();\n heightList.add(Integer.parseInt(line));\n }\n // ストリームをクローズする\n if (reader != null) {\n reader.close();\n }\n\n return heightList;\n }\n\n /**\n * 既定の回数だけ、ソート済みの山の高さを表す整数リストを出力する。\n *\n * @param heightList ソート済みの山の高さを表す整数リスト\n */\n protected static void printHeight(List<Integer> heightList) {\n for (int i = 0; i < NUMBER_OF_OUTPUT_MOUNTAIN; i++) {\n System.out.println(heightList.get(i));\n }\n }\n\n}",
"public class Main {\n\n /** 入力される山の数 */\n private static final int NUMBER_OF_INPUT_MOUNTAIN = 10;\n\n /** 出力する山の数 */\n private static final int NUMBER_OF_OUTPUT_MOUNTAIN = 3;\n\n /**\n * 入力された山の高さから一番高い山を取得する。\n * 山の高さは 0 <= height <= 10000、データの数は 10 個。\n *\n * @param args\n */\n public static void main(String[] args) throws IOException {\n // 入力値を整数リストとして取得する\n List<Integer> heightList = readHeight();\n\n // 昇順でソートし、逆順にする\n Collections.sort(heightList);\n Collections.reverse(heightList);\n\n // 指定件数だけ表示する\n printHeight(heightList);\n }\n\n /**\n * 既定の回数だけ、標準入力から数字を読み、数値のリストにして返却する。\n *\n * @return 入力された山の高さを表す数値のリスト\n */\n protected static List<Integer> readHeight() throws IOException {\n\n List<Integer> heightList = new ArrayList<Integer>();\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n // 既定の回数だけ山の高さを読み込む\n for (int i = 0; i < NUMBER_OF_INPUT_MOUNTAIN; i++) {\n String line = reader.readLine();\n heightList.add(Integer.parseInt(line));\n }\n // ストリームをクローズする\n if (reader != null) {\n reader.close();\n }\n\n return heightList;\n }\n\n /**\n * 既定の回数だけ、ソート済みの山の高さを表す整数リストを出力する。\n *\n * @param heightList ソート済みの山の高さを表す整数リスト\n */\n protected static void printHeight(List<Integer> heightList) {\n for (int i = 0; i < NUMBER_OF_OUTPUT_MOUNTAIN; i++) {\n System.out.println(heightList.get(i));\n }\n }\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class Main {
/** 入力される山の数 */
private static final int NUMBER_OF_INPUT_MOUNTAIN = 10;
/** 出力する山の数 */
private static final int NUMBER_OF_OUTPUT_MOUNTAIN = 3;
/**
* 入力された山の高さから一番高い山を取得する。
* 山の高さは 0 <= height <= 10000、データの数は 10 個。
*
* @param args
*/
public static void main(String[] args) throws IOException {
// 入力値を整数リストとして取得する
List<Integer> heightList = readHeight();
// 昇順でソートし、逆順にする
Collections.sort(heightList);
Collections.reverse(heightList);
// 指定件数だけ表示する
printHeight(heightList);
}
/**
* 既定の回数だけ、標準入力から数字を読み、数値のリストにして返却する。
*
* @return 入力された山の高さを表す数値のリスト
*/
protected static List<Integer> readHeight() throws IOException {
List<Integer> heightList = new ArrayList<Integer>();
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
// 既定の回数だけ山の高さを読み込む
for (int i = 0; i < NUMBER_OF_INPUT_MOUNTAIN; i++) {
String line = reader.readLine();
heightList.add(Integer.parseInt(line));
}
// ストリームをクローズする
if (reader != null) {
reader.close();
}
return heightList;
}
/**
* 既定の回数だけ、ソート済みの山の高さを表す整数リストを出力する。
*
* @param heightList ソート済みの山の高さを表す整数リスト
*/
protected static void printHeight(List<Integer> heightList) {
for (int i = 0; i < NUMBER_OF_OUTPUT_MOUNTAIN; i++) {
System.out.println(heightList.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,
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
],
[
78,
8
],
[
78,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
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
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
46,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
46,
62
],
[
62,
63
],
[
63,
64
],
[
46,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
9,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
] | [
"import java.io.*;\nimport java.util.Arrays;\n\n\n\npublic class Main{\n\tpublic static void main(String[] a) throws IOException\n\t{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] num = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\tnum[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tArrays.sort(num);\n\t\tfor(int i=num.length-1; i>num.length-4; i--){\n\t\t\tSystem.out.println(num[i]);\n\t\t}\n\t\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main{\n\tpublic static void main(String[] a) throws IOException\n\t{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] num = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\tnum[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tArrays.sort(num);\n\t\tfor(int i=num.length-1; i>num.length-4; i--){\n\t\t\tSystem.out.println(num[i]);\n\t\t}\n\t\t}\n}",
"Main",
"public static void main(String[] a) throws IOException\n\t{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] num = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\tnum[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tArrays.sort(num);\n\t\tfor(int i=num.length-1; i>num.length-4; i--){\n\t\t\tSystem.out.println(num[i]);\n\t\t}\n\t\t}",
"main",
"{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] num = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\tnum[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tArrays.sort(num);\n\t\tfor(int i=num.length-1; i>num.length-4; i--){\n\t\t\tSystem.out.println(num[i]);\n\t\t}\n\t\t}",
"BufferedReader br =new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] num = new int[10];",
"num",
"new int[10]",
"10",
"for(int i=0; i<10; i++){\n\t\t\tnum[i] = Integer.parseInt(br.readLine());\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tnum[i] = Integer.parseInt(br.readLine());\n\t\t}",
"{\n\t\t\tnum[i] = Integer.parseInt(br.readLine());\n\t\t}",
"num[i] = Integer.parseInt(br.readLine())",
"num[i]",
"num",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(num)",
"Arrays.sort",
"Arrays",
"num",
"for(int i=num.length-1; i>num.length-4; i--){\n\t\t\tSystem.out.println(num[i]);\n\t\t}",
"int i=num.length-1;",
"int i=num.length-1;",
"i",
"num.length-1",
"num.length",
"num",
"num.length",
"1",
"i>num.length-4",
"i",
"num.length-4",
"num.length",
"num",
"num.length",
"4",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.println(num[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(num[i]);\n\t\t}",
"System.out.println(num[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"num[i]",
"num",
"i",
"String[] a",
"a",
"public class Main{\n\tpublic static void main(String[] a) throws IOException\n\t{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] num = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\tnum[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tArrays.sort(num);\n\t\tfor(int i=num.length-1; i>num.length-4; i--){\n\t\t\tSystem.out.println(num[i]);\n\t\t}\n\t\t}\n}",
"public class Main{\n\tpublic static void main(String[] a) throws IOException\n\t{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] num = new int[10];\n\t\tfor(int i=0; i<10; i++){\n\t\t\tnum[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tArrays.sort(num);\n\t\tfor(int i=num.length-1; i>num.length-4; i--){\n\t\t\tSystem.out.println(num[i]);\n\t\t}\n\t\t}\n}",
"Main"
] | import java.io.*;
import java.util.Arrays;
public class Main{
public static void main(String[] a) throws IOException
{
BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
int[] num = new int[10];
for(int i=0; i<10; i++){
num[i] = Integer.parseInt(br.readLine());
}
Arrays.sort(num);
for(int i=num.length-1; i>num.length-4; i--){
System.out.println(num[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,
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
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
11,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
54,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
53,
59
],
[
59,
60
],
[
59,
61
],
[
52,
62
],
[
54,
63
],
[
63,
64
],
[
63,
65
],
[
9,
66
],
[
66,
67
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\nclass Main{\n public static void main(String[] a){\n\t\tint[] d = new int[10];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(byte i=0;i<10;i++){\n\t\t\td[i] = Integer.parseInt(sc.nextLine());\n\t\t}\n\t\tArrays.sort(d);\n\t\tSystem.out.println(d[9]+\"\\n\"+d[8]+\"\\n\"+d[7]);\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\t\tint[] d = new int[10];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(byte i=0;i<10;i++){\n\t\t\td[i] = Integer.parseInt(sc.nextLine());\n\t\t}\n\t\tArrays.sort(d);\n\t\tSystem.out.println(d[9]+\"\\n\"+d[8]+\"\\n\"+d[7]);\n }\n}",
"Main",
"public static void main(String[] a){\n\t\tint[] d = new int[10];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(byte i=0;i<10;i++){\n\t\t\td[i] = Integer.parseInt(sc.nextLine());\n\t\t}\n\t\tArrays.sort(d);\n\t\tSystem.out.println(d[9]+\"\\n\"+d[8]+\"\\n\"+d[7]);\n }",
"main",
"{\n\t\tint[] d = new int[10];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(byte i=0;i<10;i++){\n\t\t\td[i] = Integer.parseInt(sc.nextLine());\n\t\t}\n\t\tArrays.sort(d);\n\t\tSystem.out.println(d[9]+\"\\n\"+d[8]+\"\\n\"+d[7]);\n }",
"int[] d = new int[10];",
"d",
"new int[10]",
"10",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(byte i=0;i<10;i++){\n\t\t\td[i] = Integer.parseInt(sc.nextLine());\n\t\t}",
"byte i=0;",
"byte i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\td[i] = Integer.parseInt(sc.nextLine());\n\t\t}",
"{\n\t\t\td[i] = Integer.parseInt(sc.nextLine());\n\t\t}",
"d[i] = Integer.parseInt(sc.nextLine())",
"d[i]",
"d",
"i",
"Integer.parseInt(sc.nextLine())",
"Integer.parseInt",
"Integer",
"sc.nextLine()",
"sc.nextLine",
"sc",
"Arrays.sort(d)",
"Arrays.sort",
"Arrays",
"d",
"System.out.println(d[9]+\"\\n\"+d[8]+\"\\n\"+d[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"d[9]+\"\\n\"+d[8]+\"\\n\"+d[7]",
"\"\\n\"",
"d[8]",
"d[9]+\"\\n\"+d[8]+\"\\n\"+d[7]",
"d[9]",
"d",
"9",
"\"\\n\"",
"d[8]",
"d",
"8",
"\"\\n\"",
"d[7]",
"d",
"7",
"String[] a",
"a"
] | import java.util.Arrays;
import java.util.Scanner;
class Main{
public static void main(String[] a){
int[] d = new int[10];
Scanner sc = new Scanner(System.in);
for(byte i=0;i<10;i++){
d[i] = Integer.parseInt(sc.nextLine());
}
Arrays.sort(d);
System.out.println(d[9]+"\n"+d[8]+"\n"+d[7]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
67,
8
],
[
67,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
11,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
9,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String... args) {\n Scanner sc = new Scanner(System.in);\n\n int[] h = new int[10];\n for (int i=0;i<10;i++) {\n h[i] = sc.nextInt();\n }\n\n Arrays.sort(h);\n\n for (int i=9;i>6;i--) {\n System.out.println(h[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... args) {\n Scanner sc = new Scanner(System.in);\n\n int[] h = new int[10];\n for (int i=0;i<10;i++) {\n h[i] = sc.nextInt();\n }\n\n Arrays.sort(h);\n\n for (int i=9;i>6;i--) {\n System.out.println(h[i]);\n }\n }\n}",
"Main",
"public static void main(String... args) {\n Scanner sc = new Scanner(System.in);\n\n int[] h = new int[10];\n for (int i=0;i<10;i++) {\n h[i] = sc.nextInt();\n }\n\n Arrays.sort(h);\n\n for (int i=9;i>6;i--) {\n System.out.println(h[i]);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n int[] h = new int[10];\n for (int i=0;i<10;i++) {\n h[i] = sc.nextInt();\n }\n\n Arrays.sort(h);\n\n for (int i=9;i>6;i--) {\n System.out.println(h[i]);\n }\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",
"for (int i=9;i>6;i--) {\n System.out.println(h[i]);\n }",
"int i=9;",
"int i=9;",
"i",
"9",
"i>6",
"i",
"6",
"i--",
"i--",
"i",
"{\n System.out.println(h[i]);\n }",
"{\n System.out.println(h[i]);\n }",
"System.out.println(h[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"h[i]",
"h",
"i",
"String... args",
"args",
"public class Main {\n public static void main(String... args) {\n Scanner sc = new Scanner(System.in);\n\n int[] h = new int[10];\n for (int i=0;i<10;i++) {\n h[i] = sc.nextInt();\n }\n\n Arrays.sort(h);\n\n for (int i=9;i>6;i--) {\n System.out.println(h[i]);\n }\n }\n}",
"public class Main {\n public static void main(String... args) {\n Scanner sc = new Scanner(System.in);\n\n int[] h = new int[10];\n for (int i=0;i<10;i++) {\n h[i] = sc.nextInt();\n }\n\n Arrays.sort(h);\n\n for (int i=9;i>6;i--) {\n System.out.println(h[i]);\n }\n }\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String... args) {
Scanner sc = new Scanner(System.in);
int[] h = new int[10];
for (int i=0;i<10;i++) {
h[i] = sc.nextInt();
}
Arrays.sort(h);
for (int i=9;i>6;i--) {
System.out.println(h[i]);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
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
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
43
],
[
43,
44
],
[
44,
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
]
] | [
"/* Volume0-0001(山の高さ) */\n\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n\n Integer[] yama = new Integer[10];\n for(int i=0; i<10; i++) {\n yama[i] = sc.nextInt();\n }\n Arrays.sort(yama, Collections.reverseOrder());\n System.out.println(yama[0]);\n System.out.println(yama[1]);\n System.out.println(yama[2]);\n }\n}\n",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n\n Integer[] yama = new Integer[10];\n for(int i=0; i<10; i++) {\n yama[i] = sc.nextInt();\n }\n Arrays.sort(yama, Collections.reverseOrder());\n System.out.println(yama[0]);\n System.out.println(yama[1]);\n System.out.println(yama[2]);\n }\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n\n Integer[] yama = new Integer[10];\n for(int i=0; i<10; i++) {\n yama[i] = sc.nextInt();\n }\n Arrays.sort(yama, Collections.reverseOrder());\n System.out.println(yama[0]);\n System.out.println(yama[1]);\n System.out.println(yama[2]);\n }",
"main",
"{\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n\n Integer[] yama = new Integer[10];\n for(int i=0; i<10; i++) {\n yama[i] = sc.nextInt();\n }\n Arrays.sort(yama, Collections.reverseOrder());\n System.out.println(yama[0]);\n System.out.println(yama[1]);\n System.out.println(yama[2]);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Integer[] yama = new Integer[10];",
"yama",
"new Integer[10]",
"10",
"for(int i=0; i<10; i++) {\n yama[i] = sc.nextInt();\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n yama[i] = sc.nextInt();\n }",
"{\n yama[i] = sc.nextInt();\n }",
"yama[i] = sc.nextInt()",
"yama[i]",
"yama",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(yama, Collections.reverseOrder())",
"Arrays.sort",
"Arrays",
"yama",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"System.out.println(yama[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"yama[0]",
"yama",
"0",
"System.out.println(yama[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"yama[1]",
"yama",
"1",
"System.out.println(yama[2])",
"System.out.println",
"System.out",
"System",
"System.out",
"yama[2]",
"yama",
"2",
"String[] args",
"args",
"public class Main {\n public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n\n Integer[] yama = new Integer[10];\n for(int i=0; i<10; i++) {\n yama[i] = sc.nextInt();\n }\n Arrays.sort(yama, Collections.reverseOrder());\n System.out.println(yama[0]);\n System.out.println(yama[1]);\n System.out.println(yama[2]);\n }\n}",
"public class Main {\n public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n\n Integer[] yama = new Integer[10];\n for(int i=0; i<10; i++) {\n yama[i] = sc.nextInt();\n }\n Arrays.sort(yama, Collections.reverseOrder());\n System.out.println(yama[0]);\n System.out.println(yama[1]);\n System.out.println(yama[2]);\n }\n}",
"Main"
] | /* Volume0-0001(山の高さ) */
import java.io.*;
import java.util.*;
public class Main {
public static void main (String[] args) throws java.lang.Exception {
// 入力された値をゲット
Scanner sc = new Scanner(System.in);
Integer[] yama = new Integer[10];
for(int i=0; i<10; i++) {
yama[i] = sc.nextInt();
}
Arrays.sort(yama, Collections.reverseOrder());
System.out.println(yama[0]);
System.out.println(yama[1]);
System.out.println(yama[2]);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
14,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
14,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
12,
73
],
[
73,
74
]
] | [
"import java.util.Scanner;\nimport java.util.Arrays;\nimport java.util.Collections;\n\nclass Main{\n\tpublic static void main(String[] a){\n\t\t\tScanner sc=new Scanner(System.in);\n\t\t\tInteger[] input=new Integer[10];\n\t\t\tfor(int i=0;i<10;i++){\n\t\t\t\tinput[i]=Integer.parseInt(sc.nextLine());\n\t\t\t}\n\t\t\tArrays.sort(input,Collections.reverseOrder());\n\t\tfor(int j=0;j<3;j++){\n\t\tSystem.out.println(input[j]);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"class Main{\n\tpublic static void main(String[] a){\n\t\t\tScanner sc=new Scanner(System.in);\n\t\t\tInteger[] input=new Integer[10];\n\t\t\tfor(int i=0;i<10;i++){\n\t\t\t\tinput[i]=Integer.parseInt(sc.nextLine());\n\t\t\t}\n\t\t\tArrays.sort(input,Collections.reverseOrder());\n\t\tfor(int j=0;j<3;j++){\n\t\tSystem.out.println(input[j]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] a){\n\t\t\tScanner sc=new Scanner(System.in);\n\t\t\tInteger[] input=new Integer[10];\n\t\t\tfor(int i=0;i<10;i++){\n\t\t\t\tinput[i]=Integer.parseInt(sc.nextLine());\n\t\t\t}\n\t\t\tArrays.sort(input,Collections.reverseOrder());\n\t\tfor(int j=0;j<3;j++){\n\t\tSystem.out.println(input[j]);\n\t\t}\n\t}",
"main",
"{\n\t\t\tScanner sc=new Scanner(System.in);\n\t\t\tInteger[] input=new Integer[10];\n\t\t\tfor(int i=0;i<10;i++){\n\t\t\t\tinput[i]=Integer.parseInt(sc.nextLine());\n\t\t\t}\n\t\t\tArrays.sort(input,Collections.reverseOrder());\n\t\tfor(int j=0;j<3;j++){\n\t\tSystem.out.println(input[j]);\n\t\t}\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Integer[] input=new Integer[10];",
"input",
"new Integer[10]",
"10",
"for(int i=0;i<10;i++){\n\t\t\t\tinput[i]=Integer.parseInt(sc.nextLine());\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\t\tinput[i]=Integer.parseInt(sc.nextLine());\n\t\t\t}",
"{\n\t\t\t\tinput[i]=Integer.parseInt(sc.nextLine());\n\t\t\t}",
"input[i]=Integer.parseInt(sc.nextLine())",
"input[i]",
"input",
"i",
"Integer.parseInt(sc.nextLine())",
"Integer.parseInt",
"Integer",
"sc.nextLine()",
"sc.nextLine",
"sc",
"Arrays.sort(input,Collections.reverseOrder())",
"Arrays.sort",
"Arrays",
"input",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"for(int j=0;j<3;j++){\n\t\tSystem.out.println(input[j]);\n\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<3",
"j",
"3",
"j++",
"j++",
"j",
"{\n\t\tSystem.out.println(input[j]);\n\t\t}",
"{\n\t\tSystem.out.println(input[j]);\n\t\t}",
"System.out.println(input[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"input[j]",
"input",
"j",
"String[] a",
"a"
] | import java.util.Scanner;
import java.util.Arrays;
import java.util.Collections;
class Main{
public static void main(String[] a){
Scanner sc=new Scanner(System.in);
Integer[] input=new Integer[10];
for(int i=0;i<10;i++){
input[i]=Integer.parseInt(sc.nextLine());
}
Arrays.sort(input,Collections.reverseOrder());
for(int j=0;j<3;j++){
System.out.println(input[j]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
84,
5
],
[
84,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
43,
50
],
[
50,
51
],
[
50,
52
],
[
39,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
53,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
72,
78
],
[
72,
79
],
[
72,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] a){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint mx1 = 0, mx2 = 0, mx3 = 0;\n\t\t\n\t\tfor(int i = 0; i < 10; i ++){\n\t\t\tint mtHeight = sc.nextInt();\n\t\t\tif(mx1 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mx1;\n\t\t\t\tmx1 = mtHeight;\n\t\t\t}else if(mx2 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mtHeight;\n\t\t\t}else if(mx3 < mtHeight){\n\t\t\t\tmx3 = mtHeight;\n\t\t\t}\n\t\t\t\n\t\t\t}\n\t\tSystem.out.printf(\"%d\\n%d\\n%d\\n\", mx1, mx2, mx3);\n\t}\n}\n\t",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] a){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint mx1 = 0, mx2 = 0, mx3 = 0;\n\t\t\n\t\tfor(int i = 0; i < 10; i ++){\n\t\t\tint mtHeight = sc.nextInt();\n\t\t\tif(mx1 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mx1;\n\t\t\t\tmx1 = mtHeight;\n\t\t\t}else if(mx2 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mtHeight;\n\t\t\t}else if(mx3 < mtHeight){\n\t\t\t\tmx3 = mtHeight;\n\t\t\t}\n\t\t\t\n\t\t\t}\n\t\tSystem.out.printf(\"%d\\n%d\\n%d\\n\", mx1, mx2, mx3);\n\t}\n}",
"Main",
"public static void main(String[] a){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint mx1 = 0, mx2 = 0, mx3 = 0;\n\t\t\n\t\tfor(int i = 0; i < 10; i ++){\n\t\t\tint mtHeight = sc.nextInt();\n\t\t\tif(mx1 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mx1;\n\t\t\t\tmx1 = mtHeight;\n\t\t\t}else if(mx2 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mtHeight;\n\t\t\t}else if(mx3 < mtHeight){\n\t\t\t\tmx3 = mtHeight;\n\t\t\t}\n\t\t\t\n\t\t\t}\n\t\tSystem.out.printf(\"%d\\n%d\\n%d\\n\", mx1, mx2, mx3);\n\t}",
"main",
"{\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint mx1 = 0, mx2 = 0, mx3 = 0;\n\t\t\n\t\tfor(int i = 0; i < 10; i ++){\n\t\t\tint mtHeight = sc.nextInt();\n\t\t\tif(mx1 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mx1;\n\t\t\t\tmx1 = mtHeight;\n\t\t\t}else if(mx2 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mtHeight;\n\t\t\t}else if(mx3 < mtHeight){\n\t\t\t\tmx3 = mtHeight;\n\t\t\t}\n\t\t\t\n\t\t\t}\n\t\tSystem.out.printf(\"%d\\n%d\\n%d\\n\", mx1, mx2, mx3);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int mx1 = 0",
"mx1",
"0",
"mx2 = 0",
"mx2",
"0",
"mx3 = 0;",
"mx3",
"0",
"for(int i = 0; i < 10; i ++){\n\t\t\tint mtHeight = sc.nextInt();\n\t\t\tif(mx1 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mx1;\n\t\t\t\tmx1 = mtHeight;\n\t\t\t}else if(mx2 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mtHeight;\n\t\t\t}else if(mx3 < mtHeight){\n\t\t\t\tmx3 = mtHeight;\n\t\t\t}\n\t\t\t\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i ++",
"i ++",
"i",
"{\n\t\t\tint mtHeight = sc.nextInt();\n\t\t\tif(mx1 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mx1;\n\t\t\t\tmx1 = mtHeight;\n\t\t\t}else if(mx2 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mtHeight;\n\t\t\t}else if(mx3 < mtHeight){\n\t\t\t\tmx3 = mtHeight;\n\t\t\t}\n\t\t\t\n\t\t\t}",
"{\n\t\t\tint mtHeight = sc.nextInt();\n\t\t\tif(mx1 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mx1;\n\t\t\t\tmx1 = mtHeight;\n\t\t\t}else if(mx2 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mtHeight;\n\t\t\t}else if(mx3 < mtHeight){\n\t\t\t\tmx3 = mtHeight;\n\t\t\t}\n\t\t\t\n\t\t\t}",
"int mtHeight = sc.nextInt();",
"mtHeight",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(mx1 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mx1;\n\t\t\t\tmx1 = mtHeight;\n\t\t\t}else if(mx2 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mtHeight;\n\t\t\t}else if(mx3 < mtHeight){\n\t\t\t\tmx3 = mtHeight;\n\t\t\t}",
"mx1 < mtHeight",
"mx1",
"mtHeight",
"{\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mx1;\n\t\t\t\tmx1 = mtHeight;\n\t\t\t}",
"mx3 = mx2",
"mx3",
"mx2",
"mx2 = mx1",
"mx2",
"mx1",
"mx1 = mtHeight",
"mx1",
"mtHeight",
"if(mx2 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mtHeight;\n\t\t\t}else if(mx3 < mtHeight){\n\t\t\t\tmx3 = mtHeight;\n\t\t\t}",
"mx2 < mtHeight",
"mx2",
"mtHeight",
"{\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mtHeight;\n\t\t\t}",
"mx3 = mx2",
"mx3",
"mx2",
"mx2 = mtHeight",
"mx2",
"mtHeight",
"if(mx3 < mtHeight){\n\t\t\t\tmx3 = mtHeight;\n\t\t\t}",
"mx3 < mtHeight",
"mx3",
"mtHeight",
"{\n\t\t\t\tmx3 = mtHeight;\n\t\t\t}",
"mx3 = mtHeight",
"mx3",
"mtHeight",
"System.out.printf(\"%d\\n%d\\n%d\\n\", mx1, mx2, mx3)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\\n%d\\n%d\\n\"",
"mx1",
"mx2",
"mx3",
"String[] a",
"a",
"public class Main {\n\tpublic static void main(String[] a){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint mx1 = 0, mx2 = 0, mx3 = 0;\n\t\t\n\t\tfor(int i = 0; i < 10; i ++){\n\t\t\tint mtHeight = sc.nextInt();\n\t\t\tif(mx1 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mx1;\n\t\t\t\tmx1 = mtHeight;\n\t\t\t}else if(mx2 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mtHeight;\n\t\t\t}else if(mx3 < mtHeight){\n\t\t\t\tmx3 = mtHeight;\n\t\t\t}\n\t\t\t\n\t\t\t}\n\t\tSystem.out.printf(\"%d\\n%d\\n%d\\n\", mx1, mx2, mx3);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] a){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint mx1 = 0, mx2 = 0, mx3 = 0;\n\t\t\n\t\tfor(int i = 0; i < 10; i ++){\n\t\t\tint mtHeight = sc.nextInt();\n\t\t\tif(mx1 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mx1;\n\t\t\t\tmx1 = mtHeight;\n\t\t\t}else if(mx2 < mtHeight){\n\t\t\t\tmx3 = mx2;\n\t\t\t\tmx2 = mtHeight;\n\t\t\t}else if(mx3 < mtHeight){\n\t\t\t\tmx3 = mtHeight;\n\t\t\t}\n\t\t\t\n\t\t\t}\n\t\tSystem.out.printf(\"%d\\n%d\\n%d\\n\", mx1, mx2, mx3);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] a){
Scanner sc = new Scanner(System.in);
int mx1 = 0, mx2 = 0, mx3 = 0;
for(int i = 0; i < 10; i ++){
int mtHeight = sc.nextInt();
if(mx1 < mtHeight){
mx3 = mx2;
mx2 = mx1;
mx1 = mtHeight;
}else if(mx2 < mtHeight){
mx3 = mx2;
mx2 = mtHeight;
}else if(mx3 < mtHeight){
mx3 = mtHeight;
}
}
System.out.printf("%d\n%d\n%d\n", mx1, mx2, mx3);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
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
],
[
74,
8
],
[
74,
9
],
[
9,
10
],
[
9,
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
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
14,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
14,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
12,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] | [
"import java.util.*;\nimport java.io.*;\n\npublic class Main{\n final static private int MAX_DATA_COUNT = 10;\n public static void main(String[] args) throws java.io.IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Integer[] mountainsHeightArr = new Integer[10];\n for (int i=0; i<MAX_DATA_COUNT; i++)\n mountainsHeightArr[i] = Integer.parseInt(br.readLine());\n Arrays.sort(mountainsHeightArr, Collections.reverseOrder());\n for (int i=0; i<3; i++)\n System.out.println(mountainsHeightArr[i]);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n final static private int MAX_DATA_COUNT = 10;\n public static void main(String[] args) throws java.io.IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Integer[] mountainsHeightArr = new Integer[10];\n for (int i=0; i<MAX_DATA_COUNT; i++)\n mountainsHeightArr[i] = Integer.parseInt(br.readLine());\n Arrays.sort(mountainsHeightArr, Collections.reverseOrder());\n for (int i=0; i<3; i++)\n System.out.println(mountainsHeightArr[i]);\n }\n}",
"Main",
"final static private int MAX_DATA_COUNT = 10;",
"MAX_DATA_COUNT",
"10",
"public static void main(String[] args) throws java.io.IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Integer[] mountainsHeightArr = new Integer[10];\n for (int i=0; i<MAX_DATA_COUNT; i++)\n mountainsHeightArr[i] = Integer.parseInt(br.readLine());\n Arrays.sort(mountainsHeightArr, Collections.reverseOrder());\n for (int i=0; i<3; i++)\n System.out.println(mountainsHeightArr[i]);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Integer[] mountainsHeightArr = new Integer[10];\n for (int i=0; i<MAX_DATA_COUNT; i++)\n mountainsHeightArr[i] = Integer.parseInt(br.readLine());\n Arrays.sort(mountainsHeightArr, Collections.reverseOrder());\n for (int i=0; i<3; i++)\n System.out.println(mountainsHeightArr[i]);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"Integer[] mountainsHeightArr = new Integer[10];",
"mountainsHeightArr",
"new Integer[10]",
"10",
"for (int i=0; i<MAX_DATA_COUNT; i++)\n mountainsHeightArr[i] = Integer.parseInt(br.readLine());",
"int i=0;",
"int i=0;",
"i",
"0",
"i<MAX_DATA_COUNT",
"i",
"MAX_DATA_COUNT",
"i++",
"i++",
"i",
"mountainsHeightArr[i] = Integer.parseInt(br.readLine());",
"mountainsHeightArr[i] = Integer.parseInt(br.readLine())",
"mountainsHeightArr[i]",
"mountainsHeightArr",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(mountainsHeightArr, Collections.reverseOrder())",
"Arrays.sort",
"Arrays",
"mountainsHeightArr",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"for (int i=0; i<3; i++)\n System.out.println(mountainsHeightArr[i]);",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"System.out.println(mountainsHeightArr[i]);",
"System.out.println(mountainsHeightArr[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"mountainsHeightArr[i]",
"mountainsHeightArr",
"i",
"String[] args",
"args",
"public class Main{\n final static private int MAX_DATA_COUNT = 10;\n public static void main(String[] args) throws java.io.IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Integer[] mountainsHeightArr = new Integer[10];\n for (int i=0; i<MAX_DATA_COUNT; i++)\n mountainsHeightArr[i] = Integer.parseInt(br.readLine());\n Arrays.sort(mountainsHeightArr, Collections.reverseOrder());\n for (int i=0; i<3; i++)\n System.out.println(mountainsHeightArr[i]);\n }\n}",
"public class Main{\n final static private int MAX_DATA_COUNT = 10;\n public static void main(String[] args) throws java.io.IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Integer[] mountainsHeightArr = new Integer[10];\n for (int i=0; i<MAX_DATA_COUNT; i++)\n mountainsHeightArr[i] = Integer.parseInt(br.readLine());\n Arrays.sort(mountainsHeightArr, Collections.reverseOrder());\n for (int i=0; i<3; i++)\n System.out.println(mountainsHeightArr[i]);\n }\n}",
"Main"
] | import java.util.*;
import java.io.*;
public class Main{
final static private int MAX_DATA_COUNT = 10;
public static void main(String[] args) throws java.io.IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
Integer[] mountainsHeightArr = new Integer[10];
for (int i=0; i<MAX_DATA_COUNT; i++)
mountainsHeightArr[i] = Integer.parseInt(br.readLine());
Arrays.sort(mountainsHeightArr, Collections.reverseOrder());
for (int i=0; i<3; i++)
System.out.println(mountainsHeightArr[i]);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
13,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
13,
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,
0,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
4,
18,
4,
18,
13,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
12,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
26,
28
],
[
22,
29
],
[
29,
30
],
[
29,
31
],
[
22,
33
],
[
33,
34
],
[
33,
35
],
[
22,
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
],
[
22,
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
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
80,
82
],
[
72,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
83,
90
],
[
90,
91
],
[
90,
92
],
[
83,
93
],
[
93,
94
],
[
94,
95
],
[
83,
96
],
[
97,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
103,
105
],
[
98,
106
],
[
106,
107
],
[
106,
108
],
[
72,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
111,
113
],
[
72,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
118,
120
],
[
72,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
72,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
128,
131
],
[
131,
132
],
[
131,
133
],
[
126,
134
],
[
22,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
135,
140
],
[
9,
141
],
[
141,
142
]
] | [
"/* Volume1 */\nimport java.io.*;\n\nclass Main\n{\n public static final int NUMBER = 10;\n\n public static void main(String[] args)\n {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int[] array = new int[NUMBER];\n int[] height = new int[3];\n\n for(int i = 0; i < NUMBER; i++){\n array[i] = Integer.parseInt(br.readLine());\n }\n for(int i = 0; i < 3 ; i++){\n height[i] = array[i];\n int index = i;\n for(int j = i+1; j < NUMBER; j++){\n if(array[index] < array[j]) index = j;\n }\n int tmp = height[i];\n height[i] = array[index];\n array[index] = tmp;\n sb.append(height[i]).append(\"\\n\");\n }\n\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n public static final int NUMBER = 10;\n\n public static void main(String[] args)\n {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int[] array = new int[NUMBER];\n int[] height = new int[3];\n\n for(int i = 0; i < NUMBER; i++){\n array[i] = Integer.parseInt(br.readLine());\n }\n for(int i = 0; i < 3 ; i++){\n height[i] = array[i];\n int index = i;\n for(int j = i+1; j < NUMBER; j++){\n if(array[index] < array[j]) index = j;\n }\n int tmp = height[i];\n height[i] = array[index];\n array[index] = tmp;\n sb.append(height[i]).append(\"\\n\");\n }\n\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }\n }\n}",
"Main",
"public static final int NUMBER = 10;",
"NUMBER",
"10",
"public static void main(String[] args)\n {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int[] array = new int[NUMBER];\n int[] height = new int[3];\n\n for(int i = 0; i < NUMBER; i++){\n array[i] = Integer.parseInt(br.readLine());\n }\n for(int i = 0; i < 3 ; i++){\n height[i] = array[i];\n int index = i;\n for(int j = i+1; j < NUMBER; j++){\n if(array[index] < array[j]) index = j;\n }\n int tmp = height[i];\n height[i] = array[index];\n array[index] = tmp;\n sb.append(height[i]).append(\"\\n\");\n }\n\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }\n }",
"main",
"{\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int[] array = new int[NUMBER];\n int[] height = new int[3];\n\n for(int i = 0; i < NUMBER; i++){\n array[i] = Integer.parseInt(br.readLine());\n }\n for(int i = 0; i < 3 ; i++){\n height[i] = array[i];\n int index = i;\n for(int j = i+1; j < NUMBER; j++){\n if(array[index] < array[j]) index = j;\n }\n int tmp = height[i];\n height[i] = array[index];\n array[index] = tmp;\n sb.append(height[i]).append(\"\\n\");\n }\n\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }\n }",
"try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int[] array = new int[NUMBER];\n int[] height = new int[3];\n\n for(int i = 0; i < NUMBER; i++){\n array[i] = Integer.parseInt(br.readLine());\n }\n for(int i = 0; i < 3 ; i++){\n height[i] = array[i];\n int index = i;\n for(int j = i+1; j < NUMBER; j++){\n if(array[index] < array[j]) index = j;\n }\n int tmp = height[i];\n height[i] = array[index];\n array[index] = tmp;\n sb.append(height[i]).append(\"\\n\");\n }\n\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }",
"catch(Exception e){\n System.out.println(e);\n }",
"Exception e",
"{\n System.out.println(e);\n }",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int[] array = new int[NUMBER];\n int[] height = new int[3];\n\n for(int i = 0; i < NUMBER; i++){\n array[i] = Integer.parseInt(br.readLine());\n }\n for(int i = 0; i < 3 ; i++){\n height[i] = array[i];\n int index = i;\n for(int j = i+1; j < NUMBER; j++){\n if(array[index] < array[j]) index = j;\n }\n int tmp = height[i];\n height[i] = array[index];\n array[index] = tmp;\n sb.append(height[i]).append(\"\\n\");\n }\n\n System.out.print(sb);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int[] array = new int[NUMBER];",
"array",
"new int[NUMBER]",
"NUMBER",
"int[] height = new int[3];",
"height",
"new int[3]",
"3",
"for(int i = 0; i < NUMBER; i++){\n array[i] = Integer.parseInt(br.readLine());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < NUMBER",
"i",
"NUMBER",
"i++",
"i++",
"i",
"{\n array[i] = Integer.parseInt(br.readLine());\n }",
"{\n array[i] = Integer.parseInt(br.readLine());\n }",
"array[i] = Integer.parseInt(br.readLine())",
"array[i]",
"array",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"for(int i = 0; i < 3 ; i++){\n height[i] = array[i];\n int index = i;\n for(int j = i+1; j < NUMBER; j++){\n if(array[index] < array[j]) index = j;\n }\n int tmp = height[i];\n height[i] = array[index];\n array[index] = tmp;\n sb.append(height[i]).append(\"\\n\");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n height[i] = array[i];\n int index = i;\n for(int j = i+1; j < NUMBER; j++){\n if(array[index] < array[j]) index = j;\n }\n int tmp = height[i];\n height[i] = array[index];\n array[index] = tmp;\n sb.append(height[i]).append(\"\\n\");\n }",
"{\n height[i] = array[i];\n int index = i;\n for(int j = i+1; j < NUMBER; j++){\n if(array[index] < array[j]) index = j;\n }\n int tmp = height[i];\n height[i] = array[index];\n array[index] = tmp;\n sb.append(height[i]).append(\"\\n\");\n }",
"height[i] = array[i]",
"height[i]",
"height",
"i",
"array[i]",
"array",
"i",
"int index = i;",
"index",
"i",
"for(int j = i+1; j < NUMBER; j++){\n if(array[index] < array[j]) index = j;\n }",
"int j = i+1;",
"int j = i+1;",
"j",
"i+1",
"i",
"1",
"j < NUMBER",
"j",
"NUMBER",
"j++",
"j++",
"j",
"{\n if(array[index] < array[j]) index = j;\n }",
"{\n if(array[index] < array[j]) index = j;\n }",
"if(array[index] < array[j]) index = j;",
"array[index] < array[j]",
"array[index]",
"array",
"index",
"array[j]",
"array",
"j",
"index = j",
"index",
"j",
"int tmp = height[i];",
"tmp",
"height[i]",
"height",
"i",
"height[i] = array[index]",
"height[i]",
"height",
"i",
"array[index]",
"array",
"index",
"array[index] = tmp",
"array[index]",
"array",
"index",
"tmp",
"sb.append(height[i]).append(\"\\n\")",
"sb.append(height[i]).append",
"sb.append(height[i])",
"sb.append",
"sb",
"height[i]",
"height",
"i",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args"
] | /* Volume1 */
import java.io.*;
class Main
{
public static final int NUMBER = 10;
public static void main(String[] args)
{
try{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
int[] array = new int[NUMBER];
int[] height = new int[3];
for(int i = 0; i < NUMBER; i++){
array[i] = Integer.parseInt(br.readLine());
}
for(int i = 0; i < 3 ; i++){
height[i] = array[i];
int index = i;
for(int j = i+1; j < NUMBER; j++){
if(array[index] < array[j]) index = j;
}
int tmp = height[i];
height[i] = array[index];
array[index] = tmp;
sb.append(height[i]).append("\n");
}
System.out.print(sb);
}catch(Exception e){
System.out.println(e);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
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
] | [
[
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,
27
],
[
27,
28
],
[
14,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
29,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
41,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
66,
68
],
[
62,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
14,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
14,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
14,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
12,
98
],
[
98,
99
]
] | [
"//List of Top 3 Hills\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main{\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\t\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n//\t\t int n = Integer.parseInt(in.readLine());\n\t\t\n\t\t\n\t\tint top=0;\n\t\tint second=0;\n\t\tint third=0;\n\t\t\n\t\tint n;\n\t\tfor(int i=0;i<10;i++){\n\t\t\t\n\t\t\tn = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\tif(n>third){\n\t\t\t\tthird=n;\n\t\t\t\n\t\t\t\tif(n>second){\n\t\t\t\t\tthird=second;\n\t\t\t\t\tsecond=n;\n\t\t\t\t\t\n\t\t\t\t\tif(n>top){\n\t\t\t\t\t\tsecond=top;\n\t\t\t\t\t\ttop=n;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\tSystem.out.println(top);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\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\t\n\tpublic static void main(String[] args) throws IOException {\n\t\t\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n//\t\t int n = Integer.parseInt(in.readLine());\n\t\t\n\t\t\n\t\tint top=0;\n\t\tint second=0;\n\t\tint third=0;\n\t\t\n\t\tint n;\n\t\tfor(int i=0;i<10;i++){\n\t\t\t\n\t\t\tn = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\tif(n>third){\n\t\t\t\tthird=n;\n\t\t\t\n\t\t\t\tif(n>second){\n\t\t\t\t\tthird=second;\n\t\t\t\t\tsecond=n;\n\t\t\t\t\t\n\t\t\t\t\tif(n>top){\n\t\t\t\t\t\tsecond=top;\n\t\t\t\t\t\ttop=n;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\tSystem.out.println(top);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n//\t\t int n = Integer.parseInt(in.readLine());\n\t\t\n\t\t\n\t\tint top=0;\n\t\tint second=0;\n\t\tint third=0;\n\t\t\n\t\tint n;\n\t\tfor(int i=0;i<10;i++){\n\t\t\t\n\t\t\tn = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\tif(n>third){\n\t\t\t\tthird=n;\n\t\t\t\n\t\t\t\tif(n>second){\n\t\t\t\t\tthird=second;\n\t\t\t\t\tsecond=n;\n\t\t\t\t\t\n\t\t\t\t\tif(n>top){\n\t\t\t\t\t\tsecond=top;\n\t\t\t\t\t\ttop=n;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\tSystem.out.println(top);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t\t\n\t}",
"main",
"{\n\t\t\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n//\t\t int n = Integer.parseInt(in.readLine());\n\t\t\n\t\t\n\t\tint top=0;\n\t\tint second=0;\n\t\tint third=0;\n\t\t\n\t\tint n;\n\t\tfor(int i=0;i<10;i++){\n\t\t\t\n\t\t\tn = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\tif(n>third){\n\t\t\t\tthird=n;\n\t\t\t\n\t\t\t\tif(n>second){\n\t\t\t\t\tthird=second;\n\t\t\t\t\tsecond=n;\n\t\t\t\t\t\n\t\t\t\t\tif(n>top){\n\t\t\t\t\t\tsecond=top;\n\t\t\t\t\t\ttop=n;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\tSystem.out.println(top);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t\t\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"int top=0;",
"top",
"0",
"int second=0;",
"second",
"0",
"int third=0;",
"third",
"0",
"int n;",
"n",
"for(int i=0;i<10;i++){\n\t\t\t\n\t\t\tn = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\tif(n>third){\n\t\t\t\tthird=n;\n\t\t\t\n\t\t\t\tif(n>second){\n\t\t\t\t\tthird=second;\n\t\t\t\t\tsecond=n;\n\t\t\t\t\t\n\t\t\t\t\tif(n>top){\n\t\t\t\t\t\tsecond=top;\n\t\t\t\t\t\ttop=n;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\t\n\t\t\tn = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\tif(n>third){\n\t\t\t\tthird=n;\n\t\t\t\n\t\t\t\tif(n>second){\n\t\t\t\t\tthird=second;\n\t\t\t\t\tsecond=n;\n\t\t\t\t\t\n\t\t\t\t\tif(n>top){\n\t\t\t\t\t\tsecond=top;\n\t\t\t\t\t\ttop=n;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t\n\t\t}",
"{\n\t\t\t\n\t\t\tn = Integer.parseInt(in.readLine());\n\t\t\t\n\t\t\tif(n>third){\n\t\t\t\tthird=n;\n\t\t\t\n\t\t\t\tif(n>second){\n\t\t\t\t\tthird=second;\n\t\t\t\t\tsecond=n;\n\t\t\t\t\t\n\t\t\t\t\tif(n>top){\n\t\t\t\t\t\tsecond=top;\n\t\t\t\t\t\ttop=n;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t\n\t\t}",
"n = Integer.parseInt(in.readLine())",
"n",
"Integer.parseInt(in.readLine())",
"Integer.parseInt",
"Integer",
"in.readLine()",
"in.readLine",
"in",
"if(n>third){\n\t\t\t\tthird=n;\n\t\t\t\n\t\t\t\tif(n>second){\n\t\t\t\t\tthird=second;\n\t\t\t\t\tsecond=n;\n\t\t\t\t\t\n\t\t\t\t\tif(n>top){\n\t\t\t\t\t\tsecond=top;\n\t\t\t\t\t\ttop=n;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"n>third",
"n",
"third",
"{\n\t\t\t\tthird=n;\n\t\t\t\n\t\t\t\tif(n>second){\n\t\t\t\t\tthird=second;\n\t\t\t\t\tsecond=n;\n\t\t\t\t\t\n\t\t\t\t\tif(n>top){\n\t\t\t\t\t\tsecond=top;\n\t\t\t\t\t\ttop=n;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"third=n",
"third",
"n",
"if(n>second){\n\t\t\t\t\tthird=second;\n\t\t\t\t\tsecond=n;\n\t\t\t\t\t\n\t\t\t\t\tif(n>top){\n\t\t\t\t\t\tsecond=top;\n\t\t\t\t\t\ttop=n;\n\t\t\t\t\t}\n\t\t\t\t}",
"n>second",
"n",
"second",
"{\n\t\t\t\t\tthird=second;\n\t\t\t\t\tsecond=n;\n\t\t\t\t\t\n\t\t\t\t\tif(n>top){\n\t\t\t\t\t\tsecond=top;\n\t\t\t\t\t\ttop=n;\n\t\t\t\t\t}\n\t\t\t\t}",
"third=second",
"third",
"second",
"second=n",
"second",
"n",
"if(n>top){\n\t\t\t\t\t\tsecond=top;\n\t\t\t\t\t\ttop=n;\n\t\t\t\t\t}",
"n>top",
"n",
"top",
"{\n\t\t\t\t\t\tsecond=top;\n\t\t\t\t\t\ttop=n;\n\t\t\t\t\t}",
"second=top",
"second",
"top",
"top=n",
"top",
"n",
"System.out.println(top)",
"System.out.println",
"System.out",
"System",
"System.out",
"top",
"System.out.println(second)",
"System.out.println",
"System.out",
"System",
"System.out",
"second",
"System.out.println(third)",
"System.out.println",
"System.out",
"System",
"System.out",
"third",
"String[] args",
"args"
] | //List of Top 3 Hills
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
// int n = Integer.parseInt(in.readLine());
int top=0;
int second=0;
int third=0;
int n;
for(int i=0;i<10;i++){
n = Integer.parseInt(in.readLine());
if(n>third){
third=n;
if(n>second){
third=second;
second=n;
if(n>top){
second=top;
top=n;
}
}
}
}
System.out.println(top);
System.out.println(second);
System.out.println(third);
}
} |
[
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,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
4,
18,
13,
4,
18,
13,
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
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
87,
20
],
[
87,
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
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
23,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
23,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
23,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
23,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
23,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
21,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\n\npublic class Main {\n\n\t/**\n\t * 引数で与えられた10の山の高さのうち、高い順に3つ出力する。\n\t *\n\t * @param args\n\t * 利用しない\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 入力値を受け取る\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<Integer> heightsOfMountain = new ArrayList<Integer>();\n\t\tString line = null;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\theightsOfMountain.add(Integer.valueOf(line));\n\t\t}\n\n\t\t// ソート→逆順に並べ替え\n\t\t Collections.sort(heightsOfMountain);\n\t\t Collections.reverse(heightsOfMountain);\n\n\t\t // 答えを出力する\n\t\t System.out.println(heightsOfMountain.get(0));\n\t\t System.out.println(heightsOfMountain.get(1));\n\t\t System.out.println(heightsOfMountain.get(2));\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\t/**\n\t * 引数で与えられた10の山の高さのうち、高い順に3つ出力する。\n\t *\n\t * @param args\n\t * 利用しない\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 入力値を受け取る\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<Integer> heightsOfMountain = new ArrayList<Integer>();\n\t\tString line = null;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\theightsOfMountain.add(Integer.valueOf(line));\n\t\t}\n\n\t\t// ソート→逆順に並べ替え\n\t\t Collections.sort(heightsOfMountain);\n\t\t Collections.reverse(heightsOfMountain);\n\n\t\t // 答えを出力する\n\t\t System.out.println(heightsOfMountain.get(0));\n\t\t System.out.println(heightsOfMountain.get(1));\n\t\t System.out.println(heightsOfMountain.get(2));\n\t}\n}",
"Main",
"/**\n\t * 引数で与えられた10の山の高さのうち、高い順に3つ出力する。\n\t *\n\t * @param args\n\t * 利用しない\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 入力値を受け取る\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<Integer> heightsOfMountain = new ArrayList<Integer>();\n\t\tString line = null;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\theightsOfMountain.add(Integer.valueOf(line));\n\t\t}\n\n\t\t// ソート→逆順に並べ替え\n\t\t Collections.sort(heightsOfMountain);\n\t\t Collections.reverse(heightsOfMountain);\n\n\t\t // 答えを出力する\n\t\t System.out.println(heightsOfMountain.get(0));\n\t\t System.out.println(heightsOfMountain.get(1));\n\t\t System.out.println(heightsOfMountain.get(2));\n\t}",
"main",
"{\n\n\t\t// 入力値を受け取る\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<Integer> heightsOfMountain = new ArrayList<Integer>();\n\t\tString line = null;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\theightsOfMountain.add(Integer.valueOf(line));\n\t\t}\n\n\t\t// ソート→逆順に並べ替え\n\t\t Collections.sort(heightsOfMountain);\n\t\t Collections.reverse(heightsOfMountain);\n\n\t\t // 答えを出力する\n\t\t System.out.println(heightsOfMountain.get(0));\n\t\t System.out.println(heightsOfMountain.get(1));\n\t\t System.out.println(heightsOfMountain.get(2));\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"List<Integer> heightsOfMountain = new ArrayList<Integer>();",
"heightsOfMountain",
"new ArrayList<Integer>()",
"String line = null;",
"line",
"null",
"while ((line = br.readLine()) != null) {\n\t\t\theightsOfMountain.add(Integer.valueOf(line));\n\t\t}",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\theightsOfMountain.add(Integer.valueOf(line));\n\t\t}",
"heightsOfMountain.add(Integer.valueOf(line))",
"heightsOfMountain.add",
"heightsOfMountain",
"Integer.valueOf(line)",
"Integer.valueOf",
"Integer",
"line",
"Collections.sort(heightsOfMountain)",
"Collections.sort",
"Collections",
"heightsOfMountain",
"Collections.reverse(heightsOfMountain)",
"Collections.reverse",
"Collections",
"heightsOfMountain",
"System.out.println(heightsOfMountain.get(0))",
"System.out.println",
"System.out",
"System",
"System.out",
"heightsOfMountain.get(0)",
"heightsOfMountain.get",
"heightsOfMountain",
"0",
"System.out.println(heightsOfMountain.get(1))",
"System.out.println",
"System.out",
"System",
"System.out",
"heightsOfMountain.get(1)",
"heightsOfMountain.get",
"heightsOfMountain",
"1",
"System.out.println(heightsOfMountain.get(2))",
"System.out.println",
"System.out",
"System",
"System.out",
"heightsOfMountain.get(2)",
"heightsOfMountain.get",
"heightsOfMountain",
"2",
"String[] args",
"args",
"public class Main {\n\n\t/**\n\t * 引数で与えられた10の山の高さのうち、高い順に3つ出力する。\n\t *\n\t * @param args\n\t * 利用しない\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 入力値を受け取る\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<Integer> heightsOfMountain = new ArrayList<Integer>();\n\t\tString line = null;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\theightsOfMountain.add(Integer.valueOf(line));\n\t\t}\n\n\t\t// ソート→逆順に並べ替え\n\t\t Collections.sort(heightsOfMountain);\n\t\t Collections.reverse(heightsOfMountain);\n\n\t\t // 答えを出力する\n\t\t System.out.println(heightsOfMountain.get(0));\n\t\t System.out.println(heightsOfMountain.get(1));\n\t\t System.out.println(heightsOfMountain.get(2));\n\t}\n}",
"public class Main {\n\n\t/**\n\t * 引数で与えられた10の山の高さのうち、高い順に3つ出力する。\n\t *\n\t * @param args\n\t * 利用しない\n\t * @throws IOException\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// 入力値を受け取る\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<Integer> heightsOfMountain = new ArrayList<Integer>();\n\t\tString line = null;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\theightsOfMountain.add(Integer.valueOf(line));\n\t\t}\n\n\t\t// ソート→逆順に並べ替え\n\t\t Collections.sort(heightsOfMountain);\n\t\t Collections.reverse(heightsOfMountain);\n\n\t\t // 答えを出力する\n\t\t System.out.println(heightsOfMountain.get(0));\n\t\t System.out.println(heightsOfMountain.get(1));\n\t\t System.out.println(heightsOfMountain.get(2));\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 {
/**
* 引数で与えられた10の山の高さのうち、高い順に3つ出力する。
*
* @param args
* 利用しない
* @throws IOException
*/
public static void main(String[] args) throws IOException {
// 入力値を受け取る
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
List<Integer> heightsOfMountain = new ArrayList<Integer>();
String line = null;
while ((line = br.readLine()) != null) {
heightsOfMountain.add(Integer.valueOf(line));
}
// ソート→逆順に並べ替え
Collections.sort(heightsOfMountain);
Collections.reverse(heightsOfMountain);
// 答えを出力する
System.out.println(heightsOfMountain.get(0));
System.out.println(heightsOfMountain.get(1));
System.out.println(heightsOfMountain.get(2));
}
} |
[
7,
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,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
92,
8
],
[
92,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
17,
19
],
[
17,
20
],
[
17,
21
],
[
17,
22
],
[
17,
23
],
[
17,
24
],
[
17,
25
],
[
17,
26
],
[
17,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
11,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
33,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
53,
54
],
[
11,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
11,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
11,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
11,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
9,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"import java.io.*;\nimport java.util.Arrays;\npublic class Main{\n public static void main(String args[])throws IOException\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n \n int A[] = {1819, 2003, 876, 2840, 1723, 1673, 3776, 2848, 1592, 922};\n int len = A.length;\n for(int i =0; i<len ; i++)\n A[i] = Integer.parseInt(br.readLine());\n \n Arrays.sort(A);\n \n System.out.println(A[len-1]);\n System.out.println(A[len-2]);\n System.out.println(A[len-3]);\n \n \n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main{\n public static void main(String args[])throws IOException\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n \n int A[] = {1819, 2003, 876, 2840, 1723, 1673, 3776, 2848, 1592, 922};\n int len = A.length;\n for(int i =0; i<len ; i++)\n A[i] = Integer.parseInt(br.readLine());\n \n Arrays.sort(A);\n \n System.out.println(A[len-1]);\n System.out.println(A[len-2]);\n System.out.println(A[len-3]);\n \n \n }\n}",
"Main",
"public static void main(String args[])throws IOException\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n \n int A[] = {1819, 2003, 876, 2840, 1723, 1673, 3776, 2848, 1592, 922};\n int len = A.length;\n for(int i =0; i<len ; i++)\n A[i] = Integer.parseInt(br.readLine());\n \n Arrays.sort(A);\n \n System.out.println(A[len-1]);\n System.out.println(A[len-2]);\n System.out.println(A[len-3]);\n \n \n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n \n int A[] = {1819, 2003, 876, 2840, 1723, 1673, 3776, 2848, 1592, 922};\n int len = A.length;\n for(int i =0; i<len ; i++)\n A[i] = Integer.parseInt(br.readLine());\n \n Arrays.sort(A);\n \n System.out.println(A[len-1]);\n System.out.println(A[len-2]);\n System.out.println(A[len-3]);\n \n \n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int A[] = {1819, 2003, 876, 2840, 1723, 1673, 3776, 2848, 1592, 922};",
"A",
"{1819, 2003, 876, 2840, 1723, 1673, 3776, 2848, 1592, 922}",
"1819",
"2003",
"876",
"2840",
"1723",
"1673",
"3776",
"2848",
"1592",
"922",
"int len = A.length;",
"len",
"A.length",
"A",
"A.length",
"for(int i =0; i<len ; i++)\n A[i] = Integer.parseInt(br.readLine());",
"int i =0;",
"int i =0;",
"i",
"0",
"i<len",
"i",
"len",
"i++",
"i++",
"i",
"A[i] = Integer.parseInt(br.readLine());",
"A[i] = Integer.parseInt(br.readLine())",
"A[i]",
"A",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(A)",
"Arrays.sort",
"Arrays",
"A",
"System.out.println(A[len-1])",
"System.out.println",
"System.out",
"System",
"System.out",
"A[len-1]",
"A",
"len-1",
"len",
"1",
"System.out.println(A[len-2])",
"System.out.println",
"System.out",
"System",
"System.out",
"A[len-2]",
"A",
"len-2",
"len",
"2",
"System.out.println(A[len-3])",
"System.out.println",
"System.out",
"System",
"System.out",
"A[len-3]",
"A",
"len-3",
"len",
"3",
"String args[]",
"args",
"public class Main{\n public static void main(String args[])throws IOException\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n \n int A[] = {1819, 2003, 876, 2840, 1723, 1673, 3776, 2848, 1592, 922};\n int len = A.length;\n for(int i =0; i<len ; i++)\n A[i] = Integer.parseInt(br.readLine());\n \n Arrays.sort(A);\n \n System.out.println(A[len-1]);\n System.out.println(A[len-2]);\n System.out.println(A[len-3]);\n \n \n }\n}",
"public class Main{\n public static void main(String args[])throws IOException\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n \n int A[] = {1819, 2003, 876, 2840, 1723, 1673, 3776, 2848, 1592, 922};\n int len = A.length;\n for(int i =0; i<len ; i++)\n A[i] = Integer.parseInt(br.readLine());\n \n Arrays.sort(A);\n \n System.out.println(A[len-1]);\n System.out.println(A[len-2]);\n System.out.println(A[len-3]);\n \n \n }\n}",
"Main"
] | import java.io.*;
import java.util.Arrays;
public class Main{
public static void main(String args[])throws IOException
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int A[] = {1819, 2003, 876, 2840, 1723, 1673, 3776, 2848, 1592, 922};
int len = A.length;
for(int i =0; i<len ; i++)
A[i] = Integer.parseInt(br.readLine());
Arrays.sort(A);
System.out.println(A[len-1]);
System.out.println(A[len-2]);
System.out.println(A[len-3]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
42,
4,
18,
13,
30,
0,
18,
13,
13,
4,
18,
13,
40,
13,
4,
13,
13,
4,
18,
13,
23,
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,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
23,
31
],
[
31,
32
],
[
8,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
6,
39
],
[
39,
40
],
[
72,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
43,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
48,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
41,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] | [
"import java.util.*;\n\n\npublic class Main {\n\tpublic static void main(String args[])throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger[] mount = new Integer[10];\n\t\tint i = 0;\n\t\twhile(sc.hasNext()){\n\t\t\tmount[i] = sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t\tsort(mount);\n\t\tsc.close();\n\t}\n\tpublic static void sort(Integer[] mlist){\n\t\tArrays.sort(mlist);\n\t\tfor(int i=9; i >= 7; i--){\n\t\t\tSystem.out.println(mlist[i]);\n\t\t}\n\t}\n\t\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String args[])throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger[] mount = new Integer[10];\n\t\tint i = 0;\n\t\twhile(sc.hasNext()){\n\t\t\tmount[i] = sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t\tsort(mount);\n\t\tsc.close();\n\t}\n\tpublic static void sort(Integer[] mlist){\n\t\tArrays.sort(mlist);\n\t\tfor(int i=9; i >= 7; i--){\n\t\t\tSystem.out.println(mlist[i]);\n\t\t}\n\t}\n\t\n}",
"Main",
"public static void main(String args[])throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger[] mount = new Integer[10];\n\t\tint i = 0;\n\t\twhile(sc.hasNext()){\n\t\t\tmount[i] = sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t\tsort(mount);\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger[] mount = new Integer[10];\n\t\tint i = 0;\n\t\twhile(sc.hasNext()){\n\t\t\tmount[i] = sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t\tsort(mount);\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Integer[] mount = new Integer[10];",
"mount",
"new Integer[10]",
"10",
"int i = 0;",
"i",
"0",
"while(sc.hasNext()){\n\t\t\tmount[i] = sc.nextInt();\n\t\t\ti++;\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tmount[i] = sc.nextInt();\n\t\t\ti++;\n\t\t}",
"mount[i] = sc.nextInt()",
"mount[i]",
"mount",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"i++",
"i",
"sort(mount)",
"sort",
"mount",
"sc.close()",
"sc.close",
"sc",
"String args[]",
"args",
"public static void sort(Integer[] mlist){\n\t\tArrays.sort(mlist);\n\t\tfor(int i=9; i >= 7; i--){\n\t\t\tSystem.out.println(mlist[i]);\n\t\t}\n\t}",
"sort",
"{\n\t\tArrays.sort(mlist);\n\t\tfor(int i=9; i >= 7; i--){\n\t\t\tSystem.out.println(mlist[i]);\n\t\t}\n\t}",
"Arrays.sort(mlist)",
"Arrays.sort",
"Arrays",
"mlist",
"for(int i=9; i >= 7; i--){\n\t\t\tSystem.out.println(mlist[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(mlist[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(mlist[i]);\n\t\t}",
"System.out.println(mlist[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"mlist[i]",
"mlist",
"i",
"Integer[] mlist",
"mlist",
"public class Main {\n\tpublic static void main(String args[])throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger[] mount = new Integer[10];\n\t\tint i = 0;\n\t\twhile(sc.hasNext()){\n\t\t\tmount[i] = sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t\tsort(mount);\n\t\tsc.close();\n\t}\n\tpublic static void sort(Integer[] mlist){\n\t\tArrays.sort(mlist);\n\t\tfor(int i=9; i >= 7; i--){\n\t\t\tSystem.out.println(mlist[i]);\n\t\t}\n\t}\n\t\n}",
"public class Main {\n\tpublic static void main(String args[])throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger[] mount = new Integer[10];\n\t\tint i = 0;\n\t\twhile(sc.hasNext()){\n\t\t\tmount[i] = sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t\tsort(mount);\n\t\tsc.close();\n\t}\n\tpublic static void sort(Integer[] mlist){\n\t\tArrays.sort(mlist);\n\t\tfor(int i=9; i >= 7; i--){\n\t\t\tSystem.out.println(mlist[i]);\n\t\t}\n\t}\n\t\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String args[])throws Exception{
Scanner sc = new Scanner(System.in);
Integer[] mount = new Integer[10];
int i = 0;
while(sc.hasNext()){
mount[i] = sc.nextInt();
i++;
}
sort(mount);
sc.close();
}
public static void sort(Integer[] mlist){
Arrays.sort(mlist);
for(int i=9; i >= 7; i--){
System.out.println(mlist[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
96,
5
],
[
96,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
43,
50
],
[
50,
51
],
[
50,
52
],
[
39,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
53,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
8,
90
],
[
90,
91
],
[
91,
92
],
[
6,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint first = 0;\n\t\tint second = 0;\n\t\tint third = 0;\n\t\tfor(int i=1; i<=10; i++) {\n\t\t\tint height = s.nextInt();\n\t\t\tif(height > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height > third) {\n\t\t\t\tthird = height;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t\ts.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint first = 0;\n\t\tint second = 0;\n\t\tint third = 0;\n\t\tfor(int i=1; i<=10; i++) {\n\t\t\tint height = s.nextInt();\n\t\t\tif(height > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height > third) {\n\t\t\t\tthird = height;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t\ts.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint first = 0;\n\t\tint second = 0;\n\t\tint third = 0;\n\t\tfor(int i=1; i<=10; i++) {\n\t\t\tint height = s.nextInt();\n\t\t\tif(height > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height > third) {\n\t\t\t\tthird = height;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t\ts.close();\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tint first = 0;\n\t\tint second = 0;\n\t\tint third = 0;\n\t\tfor(int i=1; i<=10; i++) {\n\t\t\tint height = s.nextInt();\n\t\t\tif(height > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height > third) {\n\t\t\t\tthird = height;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t\ts.close();\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int first = 0;",
"first",
"0",
"int second = 0;",
"second",
"0",
"int third = 0;",
"third",
"0",
"for(int i=1; i<=10; i++) {\n\t\t\tint height = s.nextInt();\n\t\t\tif(height > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height > third) {\n\t\t\t\tthird = height;\n\t\t\t}\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tint height = s.nextInt();\n\t\t\tif(height > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height > third) {\n\t\t\t\tthird = height;\n\t\t\t}\n\t\t}",
"{\n\t\t\tint height = s.nextInt();\n\t\t\tif(height > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height > third) {\n\t\t\t\tthird = height;\n\t\t\t}\n\t\t}",
"int height = s.nextInt();",
"height",
"s.nextInt()",
"s.nextInt",
"s",
"if(height > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height > third) {\n\t\t\t\tthird = height;\n\t\t\t}",
"height > first",
"height",
"first",
"{\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t}",
"third = second",
"third",
"second",
"second = first",
"second",
"first",
"first = height",
"first",
"height",
"if(height > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height > third) {\n\t\t\t\tthird = height;\n\t\t\t}",
"height > second",
"height",
"second",
"{\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t}",
"third = second",
"third",
"second",
"second = height",
"second",
"height",
"if(height > third) {\n\t\t\t\tthird = height;\n\t\t\t}",
"height > third",
"height",
"third",
"{\n\t\t\t\tthird = height;\n\t\t\t}",
"third = height",
"third",
"height",
"System.out.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",
"s.close()",
"s.close",
"s",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint first = 0;\n\t\tint second = 0;\n\t\tint third = 0;\n\t\tfor(int i=1; i<=10; i++) {\n\t\t\tint height = s.nextInt();\n\t\t\tif(height > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height > third) {\n\t\t\t\tthird = height;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t\ts.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint first = 0;\n\t\tint second = 0;\n\t\tint third = 0;\n\t\tfor(int i=1; i<=10; i++) {\n\t\t\tint height = s.nextInt();\n\t\t\tif(height > first) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = first;\n\t\t\t\tfirst = height;\n\t\t\t} else if(height > second) {\n\t\t\t\tthird = second;\n\t\t\t\tsecond = height;\n\t\t\t} else if(height > third) {\n\t\t\t\tthird = height;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(first);\n\t\tSystem.out.println(second);\n\t\tSystem.out.println(third);\n\t\ts.close();\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int first = 0;
int second = 0;
int third = 0;
for(int i=1; i<=10; i++) {
int height = s.nextInt();
if(height > first) {
third = second;
second = first;
first = height;
} else if(height > second) {
third = second;
second = height;
} else if(height > third) {
third = height;
}
}
System.out.println(first);
System.out.println(second);
System.out.println(third);
s.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
0,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
40,
17,
41,
13,
40,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
18,
13,
13,
13,
2,
18,
13,
13,
17,
30,
0,
13,
18,
13,
13,
0,
13,
13,
0,
18,
13,
13,
17,
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
],
[
125,
11
],
[
125,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
22,
24
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
14,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
54,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
66,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
75,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
89,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
88,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
100,
106
],
[
106,
107
],
[
106,
108
],
[
66,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
66,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
119,
120
],
[
119,
121
],
[
12,
122
],
[
122,
123
],
[
0,
124
],
[
124,
125
],
[
124,
126
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint[] input = new int[10];\n\t\tboolean[] checked = new boolean[10];\n\t\t\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t\tchecked[i] = false;\n\t\t}\n\t\t\n\t\tfor(int i = 0 ; i < 3; i++){\n\t\t\tint maxIndex = -1;\n\t\t\tint max = -1;\n\t\t\t\n\t\t\tfor(int j = 0; j < 10; j++){\n\t\t\t\tif(input[j] > max && checked[j] == false){\n\t\t\t\t\tmax = input[j];\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tchecked[maxIndex] = true;\n\t\t\tSystem.out.println(input[maxIndex]);\n\t\t}\n\t\t\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint[] input = new int[10];\n\t\tboolean[] checked = new boolean[10];\n\t\t\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t\tchecked[i] = false;\n\t\t}\n\t\t\n\t\tfor(int i = 0 ; i < 3; i++){\n\t\t\tint maxIndex = -1;\n\t\t\tint max = -1;\n\t\t\t\n\t\t\tfor(int j = 0; j < 10; j++){\n\t\t\t\tif(input[j] > max && checked[j] == false){\n\t\t\t\t\tmax = input[j];\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tchecked[maxIndex] = true;\n\t\t\tSystem.out.println(input[maxIndex]);\n\t\t}\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint[] input = new int[10];\n\t\tboolean[] checked = new boolean[10];\n\t\t\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t\tchecked[i] = false;\n\t\t}\n\t\t\n\t\tfor(int i = 0 ; i < 3; i++){\n\t\t\tint maxIndex = -1;\n\t\t\tint max = -1;\n\t\t\t\n\t\t\tfor(int j = 0; j < 10; j++){\n\t\t\t\tif(input[j] > max && checked[j] == false){\n\t\t\t\t\tmax = input[j];\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tchecked[maxIndex] = true;\n\t\t\tSystem.out.println(input[maxIndex]);\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint[] input = new int[10];\n\t\tboolean[] checked = new boolean[10];\n\t\t\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t\tchecked[i] = false;\n\t\t}\n\t\t\n\t\tfor(int i = 0 ; i < 3; i++){\n\t\t\tint maxIndex = -1;\n\t\t\tint max = -1;\n\t\t\t\n\t\t\tfor(int j = 0; j < 10; j++){\n\t\t\t\tif(input[j] > max && checked[j] == false){\n\t\t\t\t\tmax = input[j];\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tchecked[maxIndex] = true;\n\t\t\tSystem.out.println(input[maxIndex]);\n\t\t}\n\t\t\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] input = new int[10];",
"input",
"new int[10]",
"10",
"boolean[] checked = new boolean[10];",
"checked",
"new boolean[10]",
"10",
"for(int i = 0; i < 10; i++){\n\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t\tchecked[i] = false;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t\tchecked[i] = false;\n\t\t}",
"{\n\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t\tchecked[i] = false;\n\t\t}",
"input[i] = Integer.parseInt(br.readLine())",
"input[i]",
"input",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"checked[i] = false",
"checked[i]",
"checked",
"i",
"false",
"for(int i = 0 ; i < 3; i++){\n\t\t\tint maxIndex = -1;\n\t\t\tint max = -1;\n\t\t\t\n\t\t\tfor(int j = 0; j < 10; j++){\n\t\t\t\tif(input[j] > max && checked[j] == false){\n\t\t\t\t\tmax = input[j];\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tchecked[maxIndex] = true;\n\t\t\tSystem.out.println(input[maxIndex]);\n\t\t}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tint maxIndex = -1;\n\t\t\tint max = -1;\n\t\t\t\n\t\t\tfor(int j = 0; j < 10; j++){\n\t\t\t\tif(input[j] > max && checked[j] == false){\n\t\t\t\t\tmax = input[j];\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tchecked[maxIndex] = true;\n\t\t\tSystem.out.println(input[maxIndex]);\n\t\t}",
"{\n\t\t\tint maxIndex = -1;\n\t\t\tint max = -1;\n\t\t\t\n\t\t\tfor(int j = 0; j < 10; j++){\n\t\t\t\tif(input[j] > max && checked[j] == false){\n\t\t\t\t\tmax = input[j];\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tchecked[maxIndex] = true;\n\t\t\tSystem.out.println(input[maxIndex]);\n\t\t}",
"int maxIndex = -1;",
"maxIndex",
"-1",
"1",
"int max = -1;",
"max",
"-1",
"1",
"for(int j = 0; j < 10; j++){\n\t\t\t\tif(input[j] > max && checked[j] == false){\n\t\t\t\t\tmax = input[j];\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < 10",
"j",
"10",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(input[j] > max && checked[j] == false){\n\t\t\t\t\tmax = input[j];\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(input[j] > max && checked[j] == false){\n\t\t\t\t\tmax = input[j];\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}",
"if(input[j] > max && checked[j] == false){\n\t\t\t\t\tmax = input[j];\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}",
"input[j] > max && checked[j] == false",
"input[j] > max",
"input[j]",
"input",
"j",
"max",
"checked[j] == false",
"checked[j]",
"checked",
"j",
"false",
"{\n\t\t\t\t\tmax = input[j];\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}",
"max = input[j]",
"max",
"input[j]",
"input",
"j",
"maxIndex = j",
"maxIndex",
"j",
"checked[maxIndex] = true",
"checked[maxIndex]",
"checked",
"maxIndex",
"true",
"System.out.println(input[maxIndex])",
"System.out.println",
"System.out",
"System",
"System.out",
"input[maxIndex]",
"input",
"maxIndex",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint[] input = new int[10];\n\t\tboolean[] checked = new boolean[10];\n\t\t\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t\tchecked[i] = false;\n\t\t}\n\t\t\n\t\tfor(int i = 0 ; i < 3; i++){\n\t\t\tint maxIndex = -1;\n\t\t\tint max = -1;\n\t\t\t\n\t\t\tfor(int j = 0; j < 10; j++){\n\t\t\t\tif(input[j] > max && checked[j] == false){\n\t\t\t\t\tmax = input[j];\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tchecked[maxIndex] = true;\n\t\t\tSystem.out.println(input[maxIndex]);\n\t\t}\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint[] input = new int[10];\n\t\tboolean[] checked = new boolean[10];\n\t\t\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t\tchecked[i] = false;\n\t\t}\n\t\t\n\t\tfor(int i = 0 ; i < 3; i++){\n\t\t\tint maxIndex = -1;\n\t\t\tint max = -1;\n\t\t\t\n\t\t\tfor(int j = 0; j < 10; j++){\n\t\t\t\tif(input[j] > max && checked[j] == false){\n\t\t\t\t\tmax = input[j];\n\t\t\t\t\tmaxIndex = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tchecked[maxIndex] = true;\n\t\t\tSystem.out.println(input[maxIndex]);\n\t\t}\n\t\t\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws NumberFormatException, IOException {
// TODO ?????????????????????????????????????????????
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int[] input = new int[10];
boolean[] checked = new boolean[10];
for(int i = 0; i < 10; i++){
input[i] = Integer.parseInt(br.readLine());
checked[i] = false;
}
for(int i = 0 ; i < 3; i++){
int maxIndex = -1;
int max = -1;
for(int j = 0; j < 10; j++){
if(input[j] > max && checked[j] == false){
max = input[j];
maxIndex = j;
}
}
checked[maxIndex] = true;
System.out.println(input[maxIndex]);
}
}
} |
[
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,
2,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
72,
8
],
[
72,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
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
],
[
66,
67
],
[
66,
68
],
[
9,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] | [
"import java.io.*;\nimport java.util.*;\npublic class Main {\n public static void main(String[] args)throws Exception{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n int[] num=new int[10];\n \n for(int i=0;i<10;i++){\n num[i]=Integer.valueOf(buf.readLine());\n }\n Arrays.sort(num);\n \n for(int i=0;i<3;i++){\n System.out.println(num[9-i]);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args)throws Exception{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n int[] num=new int[10];\n \n for(int i=0;i<10;i++){\n num[i]=Integer.valueOf(buf.readLine());\n }\n Arrays.sort(num);\n \n for(int i=0;i<3;i++){\n System.out.println(num[9-i]);\n }\n }\n}",
"Main",
"public static void main(String[] args)throws Exception{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n int[] num=new int[10];\n \n for(int i=0;i<10;i++){\n num[i]=Integer.valueOf(buf.readLine());\n }\n Arrays.sort(num);\n \n for(int i=0;i<3;i++){\n System.out.println(num[9-i]);\n }\n }",
"main",
"{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n int[] num=new int[10];\n \n for(int i=0;i<10;i++){\n num[i]=Integer.valueOf(buf.readLine());\n }\n Arrays.sort(num);\n \n for(int i=0;i<3;i++){\n System.out.println(num[9-i]);\n }\n }",
"BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));",
"buf",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] num=new int[10];",
"num",
"new int[10]",
"10",
"for(int i=0;i<10;i++){\n num[i]=Integer.valueOf(buf.readLine());\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n num[i]=Integer.valueOf(buf.readLine());\n }",
"{\n num[i]=Integer.valueOf(buf.readLine());\n }",
"num[i]=Integer.valueOf(buf.readLine())",
"num[i]",
"num",
"i",
"Integer.valueOf(buf.readLine())",
"Integer.valueOf",
"Integer",
"buf.readLine()",
"buf.readLine",
"buf",
"Arrays.sort(num)",
"Arrays.sort",
"Arrays",
"num",
"for(int i=0;i<3;i++){\n System.out.println(num[9-i]);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(num[9-i]);\n }",
"{\n System.out.println(num[9-i]);\n }",
"System.out.println(num[9-i])",
"System.out.println",
"System.out",
"System",
"System.out",
"num[9-i]",
"num",
"9-i",
"9",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args)throws Exception{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n int[] num=new int[10];\n \n for(int i=0;i<10;i++){\n num[i]=Integer.valueOf(buf.readLine());\n }\n Arrays.sort(num);\n \n for(int i=0;i<3;i++){\n System.out.println(num[9-i]);\n }\n }\n}",
"public class Main {\n public static void main(String[] args)throws Exception{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n int[] num=new int[10];\n \n for(int i=0;i<10;i++){\n num[i]=Integer.valueOf(buf.readLine());\n }\n Arrays.sort(num);\n \n for(int i=0;i<3;i++){\n System.out.println(num[9-i]);\n }\n }\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args)throws Exception{
BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
int[] num=new int[10];
for(int i=0;i<10;i++){
num[i]=Integer.valueOf(buf.readLine());
}
Arrays.sort(num);
for(int i=0;i<3;i++){
System.out.println(num[9-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,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
69,
8
],
[
69,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
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
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
9,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] a) {\n\t\tint[] takasa = new int[10];\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\ttakasa[i] = Integer.valueOf(scan.next());\n\t\t}\n\t\tArrays.sort(takasa);\n\t\tfor (int i = 9; i > 6; i--)\n\t\t\tSystem.out.println(takasa[i]);\n\t}\n\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] a) {\n\t\tint[] takasa = new int[10];\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\ttakasa[i] = Integer.valueOf(scan.next());\n\t\t}\n\t\tArrays.sort(takasa);\n\t\tfor (int i = 9; i > 6; i--)\n\t\t\tSystem.out.println(takasa[i]);\n\t}\n\n}",
"Main",
"public static void main(String[] a) {\n\t\tint[] takasa = new int[10];\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\ttakasa[i] = Integer.valueOf(scan.next());\n\t\t}\n\t\tArrays.sort(takasa);\n\t\tfor (int i = 9; i > 6; i--)\n\t\t\tSystem.out.println(takasa[i]);\n\t}",
"main",
"{\n\t\tint[] takasa = new int[10];\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\ttakasa[i] = Integer.valueOf(scan.next());\n\t\t}\n\t\tArrays.sort(takasa);\n\t\tfor (int i = 9; i > 6; i--)\n\t\t\tSystem.out.println(takasa[i]);\n\t}",
"int[] takasa = new int[10];",
"takasa",
"new int[10]",
"10",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for (int i = 0; i < 10; i++) {\n\n\t\t\ttakasa[i] = Integer.valueOf(scan.next());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\n\t\t\ttakasa[i] = Integer.valueOf(scan.next());\n\t\t}",
"{\n\n\t\t\ttakasa[i] = Integer.valueOf(scan.next());\n\t\t}",
"takasa[i] = Integer.valueOf(scan.next())",
"takasa[i]",
"takasa",
"i",
"Integer.valueOf(scan.next())",
"Integer.valueOf",
"Integer",
"scan.next()",
"scan.next",
"scan",
"Arrays.sort(takasa)",
"Arrays.sort",
"Arrays",
"takasa",
"for (int i = 9; i > 6; i--)\n\t\t\tSystem.out.println(takasa[i]);",
"int i = 9;",
"int i = 9;",
"i",
"9",
"i > 6",
"i",
"6",
"i--",
"i--",
"i",
"System.out.println(takasa[i]);",
"System.out.println(takasa[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"takasa[i]",
"takasa",
"i",
"String[] a",
"a",
"public class Main {\n\tpublic static void main(String[] a) {\n\t\tint[] takasa = new int[10];\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\ttakasa[i] = Integer.valueOf(scan.next());\n\t\t}\n\t\tArrays.sort(takasa);\n\t\tfor (int i = 9; i > 6; i--)\n\t\t\tSystem.out.println(takasa[i]);\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] a) {\n\t\tint[] takasa = new int[10];\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 10; i++) {\n\n\t\t\ttakasa[i] = Integer.valueOf(scan.next());\n\t\t}\n\t\tArrays.sort(takasa);\n\t\tfor (int i = 9; i > 6; i--)\n\t\t\tSystem.out.println(takasa[i]);\n\t}\n\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] a) {
int[] takasa = new int[10];
Scanner scan = new Scanner(System.in);
for (int i = 0; i < 10; i++) {
takasa[i] = Integer.valueOf(scan.next());
}
Arrays.sort(takasa);
for (int i = 9; i > 6; i--)
System.out.println(takasa[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,
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,
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
],
[
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
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
14,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
14,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
12,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"import java.util.Scanner;\nimport java.util.ArrayList;\nimport java.util.Collections;\n\npublic class Main {\n public static void main (String[] args) {\n Scanner input = new Scanner(System.in);\n ArrayList<Integer> t = new ArrayList<Integer>();\n for (int i=0; i<10; i++) t.add(input.nextInt());\n Collections.sort(t);\n for (int i=0; i<3; i++) System.out.println(t.get(9-i));\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"public class Main {\n public static void main (String[] args) {\n Scanner input = new Scanner(System.in);\n ArrayList<Integer> t = new ArrayList<Integer>();\n for (int i=0; i<10; i++) t.add(input.nextInt());\n Collections.sort(t);\n for (int i=0; i<3; i++) System.out.println(t.get(9-i));\n}\n}",
"Main",
"public static void main (String[] args) {\n Scanner input = new Scanner(System.in);\n ArrayList<Integer> t = new ArrayList<Integer>();\n for (int i=0; i<10; i++) t.add(input.nextInt());\n Collections.sort(t);\n for (int i=0; i<3; i++) System.out.println(t.get(9-i));\n}",
"main",
"{\n Scanner input = new Scanner(System.in);\n ArrayList<Integer> t = new ArrayList<Integer>();\n for (int i=0; i<10; i++) t.add(input.nextInt());\n Collections.sort(t);\n for (int i=0; i<3; i++) System.out.println(t.get(9-i));\n}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"ArrayList<Integer> t = new ArrayList<Integer>();",
"t",
"new ArrayList<Integer>()",
"for (int i=0; i<10; i++) t.add(input.nextInt());",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"t.add(input.nextInt());",
"t.add(input.nextInt())",
"t.add",
"t",
"input.nextInt()",
"input.nextInt",
"input",
"Collections.sort(t)",
"Collections.sort",
"Collections",
"t",
"for (int i=0; i<3; i++) System.out.println(t.get(9-i));",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"System.out.println(t.get(9-i));",
"System.out.println(t.get(9-i))",
"System.out.println",
"System.out",
"System",
"System.out",
"t.get(9-i)",
"t.get",
"t",
"9-i",
"9",
"i",
"String[] args",
"args",
"public class Main {\n public static void main (String[] args) {\n Scanner input = new Scanner(System.in);\n ArrayList<Integer> t = new ArrayList<Integer>();\n for (int i=0; i<10; i++) t.add(input.nextInt());\n Collections.sort(t);\n for (int i=0; i<3; i++) System.out.println(t.get(9-i));\n}\n}",
"public class Main {\n public static void main (String[] args) {\n Scanner input = new Scanner(System.in);\n ArrayList<Integer> t = new ArrayList<Integer>();\n for (int i=0; i<10; i++) t.add(input.nextInt());\n Collections.sort(t);\n for (int i=0; i<3; i++) System.out.println(t.get(9-i));\n}\n}",
"Main"
] | import java.util.Scanner;
import java.util.ArrayList;
import java.util.Collections;
public class Main {
public static void main (String[] args) {
Scanner input = new Scanner(System.in);
ArrayList<Integer> t = new ArrayList<Integer>();
for (int i=0; i<10; i++) t.add(input.nextInt());
Collections.sort(t);
for (int i=0; i<3; i++) System.out.println(t.get(9-i));
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
17,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
4,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
29,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
0,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
13,
30,
14,
2,
18,
13,
13,
13,
30,
14,
2,
18,
13,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
18,
13,
13,
9,
0,
13,
13,
0,
13,
18,
13,
13,
9,
0,
13,
18,
13,
13,
9,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
146,
5
],
[
146,
6
],
[
6,
7
],
[
6,
8
],
[
146,
9
],
[
9,
10
],
[
9,
11
],
[
146,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
15,
35
],
[
35,
36
],
[
13,
37
],
[
37,
38
],
[
146,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
146,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
51,
58
],
[
58,
59
],
[
58,
60
],
[
51,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
51,
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
],
[
80,
84
],
[
79,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
86,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
93,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
103,
105
],
[
99,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
108,
110
],
[
99,
111
],
[
92,
112
],
[
112,
113
],
[
112,
114
],
[
92,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
117,
119
],
[
92,
120
],
[
85,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
123,
125
],
[
85,
126
],
[
51,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
51,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
133,
138
],
[
51,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
139,
144
],
[
0,
145
],
[
145,
146
],
[
145,
147
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tstatic Scanner scanner = new Scanner(System.in);\n\tstatic int Hillta[]= new int[10];\n\n\tpublic static void main(String args[]){\n\t\tfor(int i=0; i <= 9; i++){\n\t\t\tHillta[i] = S_content();\n\t\t}\t\t\t\t\t\t\t\t//?±±????????????10????????\\?????????\n\t\tjudge();\n\t}\n\n\tpublic static int S_content(){\n\t\tint high = scanner.nextInt();\n\t\treturn high;\n\t}\n\n\tpublic static void judge(){\n\t\tint rank1=0, rank2=0, rank3=0;\n\t\trank1 = Hillta[0];\n\t\tfor(int i=1; i <= 9; i++){\n\t\t\t//System.out.println(\"?????¨?????????:??????\" + rank1+\"??????\"+ rank2 +\"??????\"+ rank3);\n\t\t\tif(Hillta[i] > rank3){\n\t\t\t\tif(Hillta[i] > rank2){\n\t\t\t\t\tif(Hillta[i] > rank1){\n\t\t\t\t\t\trank3 = rank2;\n\t\t\t\t\t\trank2 = rank1;\n\t\t\t\t\t\trank1 = Hillta[i];\n\n\t\t\t\t\t\t//System.out.println(\"1??????\"+rank1);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\trank3 = rank2;\n\t\t\t\t\trank2 = Hillta[i];\n\t\t\t\t\t//System.out.println(\"2??????\"+rank2);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\trank3 = Hillta[i];\n\t\t\t\t//System.out.println(\"3??????\"+rank3);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(rank1);\n\t\tSystem.out.println(rank2);\n\t\tSystem.out.println(rank3);\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tstatic Scanner scanner = new Scanner(System.in);\n\tstatic int Hillta[]= new int[10];\n\n\tpublic static void main(String args[]){\n\t\tfor(int i=0; i <= 9; i++){\n\t\t\tHillta[i] = S_content();\n\t\t}\t\t\t\t\t\t\t\t//?±±????????????10????????\\?????????\n\t\tjudge();\n\t}\n\n\tpublic static int S_content(){\n\t\tint high = scanner.nextInt();\n\t\treturn high;\n\t}\n\n\tpublic static void judge(){\n\t\tint rank1=0, rank2=0, rank3=0;\n\t\trank1 = Hillta[0];\n\t\tfor(int i=1; i <= 9; i++){\n\t\t\t//System.out.println(\"?????¨?????????:??????\" + rank1+\"??????\"+ rank2 +\"??????\"+ rank3);\n\t\t\tif(Hillta[i] > rank3){\n\t\t\t\tif(Hillta[i] > rank2){\n\t\t\t\t\tif(Hillta[i] > rank1){\n\t\t\t\t\t\trank3 = rank2;\n\t\t\t\t\t\trank2 = rank1;\n\t\t\t\t\t\trank1 = Hillta[i];\n\n\t\t\t\t\t\t//System.out.println(\"1??????\"+rank1);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\trank3 = rank2;\n\t\t\t\t\trank2 = Hillta[i];\n\t\t\t\t\t//System.out.println(\"2??????\"+rank2);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\trank3 = Hillta[i];\n\t\t\t\t//System.out.println(\"3??????\"+rank3);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(rank1);\n\t\tSystem.out.println(rank2);\n\t\tSystem.out.println(rank3);\n\n\t}\n}",
"Main",
"static Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"static int Hillta[]= new int[10];",
"Hillta",
"new int[10]",
"10",
"public static void main(String args[]){\n\t\tfor(int i=0; i <= 9; i++){\n\t\t\tHillta[i] = S_content();\n\t\t}\t\t\t\t\t\t\t\t//?±±????????????10????????\\?????????\n\t\tjudge();\n\t}",
"main",
"{\n\t\tfor(int i=0; i <= 9; i++){\n\t\t\tHillta[i] = S_content();\n\t\t}\t\t\t\t\t\t\t\t//?±±????????????10????????\\?????????\n\t\tjudge();\n\t}",
"for(int i=0; i <= 9; i++){\n\t\t\tHillta[i] = S_content();\n\t\t}\t\t\t\t\t\t\t\t//?±±????????????10????????\\?????????",
"int i=0;",
"int i=0;",
"i",
"0",
"i <= 9",
"i",
"9",
"i++",
"i++",
"i",
"{\n\t\t\tHillta[i] = S_content();\n\t\t}\t\t\t\t\t\t\t\t//?±±????????????10????????\\?????????",
"{\n\t\t\tHillta[i] = S_content();\n\t\t}",
"Hillta[i] = S_content()",
"Hillta[i]",
"Hillta",
"i",
"S_content()",
"S_content",
"judge()",
"judge",
"String args[]",
"args",
"public static int S_content(){\n\t\tint high = scanner.nextInt();\n\t\treturn high;\n\t}",
"S_content",
"{\n\t\tint high = scanner.nextInt();\n\t\treturn high;\n\t}",
"int high = scanner.nextInt();",
"high",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"return high;",
"high",
"public static void judge(){\n\t\tint rank1=0, rank2=0, rank3=0;\n\t\trank1 = Hillta[0];\n\t\tfor(int i=1; i <= 9; i++){\n\t\t\t//System.out.println(\"?????¨?????????:??????\" + rank1+\"??????\"+ rank2 +\"??????\"+ rank3);\n\t\t\tif(Hillta[i] > rank3){\n\t\t\t\tif(Hillta[i] > rank2){\n\t\t\t\t\tif(Hillta[i] > rank1){\n\t\t\t\t\t\trank3 = rank2;\n\t\t\t\t\t\trank2 = rank1;\n\t\t\t\t\t\trank1 = Hillta[i];\n\n\t\t\t\t\t\t//System.out.println(\"1??????\"+rank1);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\trank3 = rank2;\n\t\t\t\t\trank2 = Hillta[i];\n\t\t\t\t\t//System.out.println(\"2??????\"+rank2);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\trank3 = Hillta[i];\n\t\t\t\t//System.out.println(\"3??????\"+rank3);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(rank1);\n\t\tSystem.out.println(rank2);\n\t\tSystem.out.println(rank3);\n\n\t}",
"judge",
"{\n\t\tint rank1=0, rank2=0, rank3=0;\n\t\trank1 = Hillta[0];\n\t\tfor(int i=1; i <= 9; i++){\n\t\t\t//System.out.println(\"?????¨?????????:??????\" + rank1+\"??????\"+ rank2 +\"??????\"+ rank3);\n\t\t\tif(Hillta[i] > rank3){\n\t\t\t\tif(Hillta[i] > rank2){\n\t\t\t\t\tif(Hillta[i] > rank1){\n\t\t\t\t\t\trank3 = rank2;\n\t\t\t\t\t\trank2 = rank1;\n\t\t\t\t\t\trank1 = Hillta[i];\n\n\t\t\t\t\t\t//System.out.println(\"1??????\"+rank1);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\trank3 = rank2;\n\t\t\t\t\trank2 = Hillta[i];\n\t\t\t\t\t//System.out.println(\"2??????\"+rank2);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\trank3 = Hillta[i];\n\t\t\t\t//System.out.println(\"3??????\"+rank3);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(rank1);\n\t\tSystem.out.println(rank2);\n\t\tSystem.out.println(rank3);\n\n\t}",
"int rank1=0",
"rank1",
"0",
"rank2=0",
"rank2",
"0",
"rank3=0;",
"rank3",
"0",
"rank1 = Hillta[0]",
"rank1",
"Hillta[0]",
"Hillta",
"0",
"for(int i=1; i <= 9; i++){\n\t\t\t//System.out.println(\"?????¨?????????:??????\" + rank1+\"??????\"+ rank2 +\"??????\"+ rank3);\n\t\t\tif(Hillta[i] > rank3){\n\t\t\t\tif(Hillta[i] > rank2){\n\t\t\t\t\tif(Hillta[i] > rank1){\n\t\t\t\t\t\trank3 = rank2;\n\t\t\t\t\t\trank2 = rank1;\n\t\t\t\t\t\trank1 = Hillta[i];\n\n\t\t\t\t\t\t//System.out.println(\"1??????\"+rank1);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\trank3 = rank2;\n\t\t\t\t\trank2 = Hillta[i];\n\t\t\t\t\t//System.out.println(\"2??????\"+rank2);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\trank3 = Hillta[i];\n\t\t\t\t//System.out.println(\"3??????\"+rank3);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i <= 9",
"i",
"9",
"i++",
"i++",
"i",
"{\n\t\t\t//System.out.println(\"?????¨?????????:??????\" + rank1+\"??????\"+ rank2 +\"??????\"+ rank3);\n\t\t\tif(Hillta[i] > rank3){\n\t\t\t\tif(Hillta[i] > rank2){\n\t\t\t\t\tif(Hillta[i] > rank1){\n\t\t\t\t\t\trank3 = rank2;\n\t\t\t\t\t\trank2 = rank1;\n\t\t\t\t\t\trank1 = Hillta[i];\n\n\t\t\t\t\t\t//System.out.println(\"1??????\"+rank1);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\trank3 = rank2;\n\t\t\t\t\trank2 = Hillta[i];\n\t\t\t\t\t//System.out.println(\"2??????\"+rank2);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\trank3 = Hillta[i];\n\t\t\t\t//System.out.println(\"3??????\"+rank3);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}",
"{\n\t\t\t//System.out.println(\"?????¨?????????:??????\" + rank1+\"??????\"+ rank2 +\"??????\"+ rank3);\n\t\t\tif(Hillta[i] > rank3){\n\t\t\t\tif(Hillta[i] > rank2){\n\t\t\t\t\tif(Hillta[i] > rank1){\n\t\t\t\t\t\trank3 = rank2;\n\t\t\t\t\t\trank2 = rank1;\n\t\t\t\t\t\trank1 = Hillta[i];\n\n\t\t\t\t\t\t//System.out.println(\"1??????\"+rank1);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\trank3 = rank2;\n\t\t\t\t\trank2 = Hillta[i];\n\t\t\t\t\t//System.out.println(\"2??????\"+rank2);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\trank3 = Hillta[i];\n\t\t\t\t//System.out.println(\"3??????\"+rank3);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}",
"if(Hillta[i] > rank3){\n\t\t\t\tif(Hillta[i] > rank2){\n\t\t\t\t\tif(Hillta[i] > rank1){\n\t\t\t\t\t\trank3 = rank2;\n\t\t\t\t\t\trank2 = rank1;\n\t\t\t\t\t\trank1 = Hillta[i];\n\n\t\t\t\t\t\t//System.out.println(\"1??????\"+rank1);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\trank3 = rank2;\n\t\t\t\t\trank2 = Hillta[i];\n\t\t\t\t\t//System.out.println(\"2??????\"+rank2);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\trank3 = Hillta[i];\n\t\t\t\t//System.out.println(\"3??????\"+rank3);\n\t\t\t\tcontinue;\n\t\t\t}",
"Hillta[i] > rank3",
"Hillta[i]",
"Hillta",
"i",
"rank3",
"{\n\t\t\t\tif(Hillta[i] > rank2){\n\t\t\t\t\tif(Hillta[i] > rank1){\n\t\t\t\t\t\trank3 = rank2;\n\t\t\t\t\t\trank2 = rank1;\n\t\t\t\t\t\trank1 = Hillta[i];\n\n\t\t\t\t\t\t//System.out.println(\"1??????\"+rank1);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\trank3 = rank2;\n\t\t\t\t\trank2 = Hillta[i];\n\t\t\t\t\t//System.out.println(\"2??????\"+rank2);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\trank3 = Hillta[i];\n\t\t\t\t//System.out.println(\"3??????\"+rank3);\n\t\t\t\tcontinue;\n\t\t\t}",
"if(Hillta[i] > rank2){\n\t\t\t\t\tif(Hillta[i] > rank1){\n\t\t\t\t\t\trank3 = rank2;\n\t\t\t\t\t\trank2 = rank1;\n\t\t\t\t\t\trank1 = Hillta[i];\n\n\t\t\t\t\t\t//System.out.println(\"1??????\"+rank1);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\trank3 = rank2;\n\t\t\t\t\trank2 = Hillta[i];\n\t\t\t\t\t//System.out.println(\"2??????\"+rank2);\n\t\t\t\t\tcontinue;\n\t\t\t\t}",
"Hillta[i] > rank2",
"Hillta[i]",
"Hillta",
"i",
"rank2",
"{\n\t\t\t\t\tif(Hillta[i] > rank1){\n\t\t\t\t\t\trank3 = rank2;\n\t\t\t\t\t\trank2 = rank1;\n\t\t\t\t\t\trank1 = Hillta[i];\n\n\t\t\t\t\t\t//System.out.println(\"1??????\"+rank1);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\trank3 = rank2;\n\t\t\t\t\trank2 = Hillta[i];\n\t\t\t\t\t//System.out.println(\"2??????\"+rank2);\n\t\t\t\t\tcontinue;\n\t\t\t\t}",
"if(Hillta[i] > rank1){\n\t\t\t\t\t\trank3 = rank2;\n\t\t\t\t\t\trank2 = rank1;\n\t\t\t\t\t\trank1 = Hillta[i];\n\n\t\t\t\t\t\t//System.out.println(\"1??????\"+rank1);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}",
"Hillta[i] > rank1",
"Hillta[i]",
"Hillta",
"i",
"rank1",
"{\n\t\t\t\t\t\trank3 = rank2;\n\t\t\t\t\t\trank2 = rank1;\n\t\t\t\t\t\trank1 = Hillta[i];\n\n\t\t\t\t\t\t//System.out.println(\"1??????\"+rank1);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}",
"rank3 = rank2",
"rank3",
"rank2",
"rank2 = rank1",
"rank2",
"rank1",
"rank1 = Hillta[i]",
"rank1",
"Hillta[i]",
"Hillta",
"i",
"continue;",
"rank3 = rank2",
"rank3",
"rank2",
"rank2 = Hillta[i]",
"rank2",
"Hillta[i]",
"Hillta",
"i",
"continue;",
"rank3 = Hillta[i]",
"rank3",
"Hillta[i]",
"Hillta",
"i",
"continue;",
"System.out.println(rank1)",
"System.out.println",
"System.out",
"System",
"System.out",
"rank1",
"System.out.println(rank2)",
"System.out.println",
"System.out",
"System",
"System.out",
"rank2",
"System.out.println(rank3)",
"System.out.println",
"System.out",
"System",
"System.out",
"rank3",
"public class Main {\n\tstatic Scanner scanner = new Scanner(System.in);\n\tstatic int Hillta[]= new int[10];\n\n\tpublic static void main(String args[]){\n\t\tfor(int i=0; i <= 9; i++){\n\t\t\tHillta[i] = S_content();\n\t\t}\t\t\t\t\t\t\t\t//?±±????????????10????????\\?????????\n\t\tjudge();\n\t}\n\n\tpublic static int S_content(){\n\t\tint high = scanner.nextInt();\n\t\treturn high;\n\t}\n\n\tpublic static void judge(){\n\t\tint rank1=0, rank2=0, rank3=0;\n\t\trank1 = Hillta[0];\n\t\tfor(int i=1; i <= 9; i++){\n\t\t\t//System.out.println(\"?????¨?????????:??????\" + rank1+\"??????\"+ rank2 +\"??????\"+ rank3);\n\t\t\tif(Hillta[i] > rank3){\n\t\t\t\tif(Hillta[i] > rank2){\n\t\t\t\t\tif(Hillta[i] > rank1){\n\t\t\t\t\t\trank3 = rank2;\n\t\t\t\t\t\trank2 = rank1;\n\t\t\t\t\t\trank1 = Hillta[i];\n\n\t\t\t\t\t\t//System.out.println(\"1??????\"+rank1);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\trank3 = rank2;\n\t\t\t\t\trank2 = Hillta[i];\n\t\t\t\t\t//System.out.println(\"2??????\"+rank2);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\trank3 = Hillta[i];\n\t\t\t\t//System.out.println(\"3??????\"+rank3);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(rank1);\n\t\tSystem.out.println(rank2);\n\t\tSystem.out.println(rank3);\n\n\t}\n}",
"public class Main {\n\tstatic Scanner scanner = new Scanner(System.in);\n\tstatic int Hillta[]= new int[10];\n\n\tpublic static void main(String args[]){\n\t\tfor(int i=0; i <= 9; i++){\n\t\t\tHillta[i] = S_content();\n\t\t}\t\t\t\t\t\t\t\t//?±±????????????10????????\\?????????\n\t\tjudge();\n\t}\n\n\tpublic static int S_content(){\n\t\tint high = scanner.nextInt();\n\t\treturn high;\n\t}\n\n\tpublic static void judge(){\n\t\tint rank1=0, rank2=0, rank3=0;\n\t\trank1 = Hillta[0];\n\t\tfor(int i=1; i <= 9; i++){\n\t\t\t//System.out.println(\"?????¨?????????:??????\" + rank1+\"??????\"+ rank2 +\"??????\"+ rank3);\n\t\t\tif(Hillta[i] > rank3){\n\t\t\t\tif(Hillta[i] > rank2){\n\t\t\t\t\tif(Hillta[i] > rank1){\n\t\t\t\t\t\trank3 = rank2;\n\t\t\t\t\t\trank2 = rank1;\n\t\t\t\t\t\trank1 = Hillta[i];\n\n\t\t\t\t\t\t//System.out.println(\"1??????\"+rank1);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\trank3 = rank2;\n\t\t\t\t\trank2 = Hillta[i];\n\t\t\t\t\t//System.out.println(\"2??????\"+rank2);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\trank3 = Hillta[i];\n\t\t\t\t//System.out.println(\"3??????\"+rank3);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(rank1);\n\t\tSystem.out.println(rank2);\n\t\tSystem.out.println(rank3);\n\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
static Scanner scanner = new Scanner(System.in);
static int Hillta[]= new int[10];
public static void main(String args[]){
for(int i=0; i <= 9; i++){
Hillta[i] = S_content();
} //?±±????????????10????????\?????????
judge();
}
public static int S_content(){
int high = scanner.nextInt();
return high;
}
public static void judge(){
int rank1=0, rank2=0, rank3=0;
rank1 = Hillta[0];
for(int i=1; i <= 9; i++){
//System.out.println("?????¨?????????:??????" + rank1+"??????"+ rank2 +"??????"+ rank3);
if(Hillta[i] > rank3){
if(Hillta[i] > rank2){
if(Hillta[i] > rank1){
rank3 = rank2;
rank2 = rank1;
rank1 = Hillta[i];
//System.out.println("1??????"+rank1);
continue;
}
rank3 = rank2;
rank2 = Hillta[i];
//System.out.println("2??????"+rank2);
continue;
}
rank3 = Hillta[i];
//System.out.println("3??????"+rank3);
continue;
}
}
System.out.println(rank1);
System.out.println(rank2);
System.out.println(rank3);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
12,
13,
30,
4,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
74,
5
],
[
74,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
16,
26
],
[
26,
27
],
[
27,
28
],
[
16,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
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
],
[
74,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
66,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] | [
"import java.util.*;\n\npublic class Main {\n\n public static void topThreeHills() {\n // Get 10 inputs for mountain heights\n Scanner scanner = new Scanner(System.in);\n int[] heights = new int[10];\n for (int i = 0; i < heights.length; i++) {\n heights[i] = scanner.nextInt();\n }\n\n // Find top three heights\n /*\n int[] threeHighest = Arrays.copyOfRange(heights, 0, 3);\n for (int i = 3; i < 10; i++) {\n if (heights[i] > threeHighest[0])\n threeHighest[0] = heights[i];\n else if (heights[i] > threeHighest[1])\n threeHighest[1] = heights[i];\n else if (heights[i] > threeHighest[2])\n threeHighest[2] = heights[i];\n }\n\n System.out.println(\" \");\n System.out.println(threeHighest[0]);\n System.out.println(threeHighest[1]);\n System.out.println(threeHighest[2]);\n */\n\n Arrays.sort(heights);\n System.out.println(heights[9]);\n System.out.println(heights[8]);\n System.out.println(heights[7]);\n }\n\n public static void main (String args[]) {\n topThreeHills();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void topThreeHills() {\n // Get 10 inputs for mountain heights\n Scanner scanner = new Scanner(System.in);\n int[] heights = new int[10];\n for (int i = 0; i < heights.length; i++) {\n heights[i] = scanner.nextInt();\n }\n\n // Find top three heights\n /*\n int[] threeHighest = Arrays.copyOfRange(heights, 0, 3);\n for (int i = 3; i < 10; i++) {\n if (heights[i] > threeHighest[0])\n threeHighest[0] = heights[i];\n else if (heights[i] > threeHighest[1])\n threeHighest[1] = heights[i];\n else if (heights[i] > threeHighest[2])\n threeHighest[2] = heights[i];\n }\n\n System.out.println(\" \");\n System.out.println(threeHighest[0]);\n System.out.println(threeHighest[1]);\n System.out.println(threeHighest[2]);\n */\n\n Arrays.sort(heights);\n System.out.println(heights[9]);\n System.out.println(heights[8]);\n System.out.println(heights[7]);\n }\n\n public static void main (String args[]) {\n topThreeHills();\n }\n}",
"Main",
"public static void topThreeHills() {\n // Get 10 inputs for mountain heights\n Scanner scanner = new Scanner(System.in);\n int[] heights = new int[10];\n for (int i = 0; i < heights.length; i++) {\n heights[i] = scanner.nextInt();\n }\n\n // Find top three heights\n /*\n int[] threeHighest = Arrays.copyOfRange(heights, 0, 3);\n for (int i = 3; i < 10; i++) {\n if (heights[i] > threeHighest[0])\n threeHighest[0] = heights[i];\n else if (heights[i] > threeHighest[1])\n threeHighest[1] = heights[i];\n else if (heights[i] > threeHighest[2])\n threeHighest[2] = heights[i];\n }\n\n System.out.println(\" \");\n System.out.println(threeHighest[0]);\n System.out.println(threeHighest[1]);\n System.out.println(threeHighest[2]);\n */\n\n Arrays.sort(heights);\n System.out.println(heights[9]);\n System.out.println(heights[8]);\n System.out.println(heights[7]);\n }",
"topThreeHills",
"{\n // Get 10 inputs for mountain heights\n Scanner scanner = new Scanner(System.in);\n int[] heights = new int[10];\n for (int i = 0; i < heights.length; i++) {\n heights[i] = scanner.nextInt();\n }\n\n // Find top three heights\n /*\n int[] threeHighest = Arrays.copyOfRange(heights, 0, 3);\n for (int i = 3; i < 10; i++) {\n if (heights[i] > threeHighest[0])\n threeHighest[0] = heights[i];\n else if (heights[i] > threeHighest[1])\n threeHighest[1] = heights[i];\n else if (heights[i] > threeHighest[2])\n threeHighest[2] = heights[i];\n }\n\n System.out.println(\" \");\n System.out.println(threeHighest[0]);\n System.out.println(threeHighest[1]);\n System.out.println(threeHighest[2]);\n */\n\n Arrays.sort(heights);\n System.out.println(heights[9]);\n System.out.println(heights[8]);\n System.out.println(heights[7]);\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 < heights.length; i++) {\n heights[i] = scanner.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < heights.length",
"i",
"heights.length",
"heights",
"heights.length",
"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",
"System.out.println(heights[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"heights[9]",
"heights",
"9",
"System.out.println(heights[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"heights[8]",
"heights",
"8",
"System.out.println(heights[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"heights[7]",
"heights",
"7",
"public static void main (String args[]) {\n topThreeHills();\n }",
"main",
"{\n topThreeHills();\n }",
"topThreeHills()",
"topThreeHills",
"String args[]",
"args",
"public class Main {\n\n public static void topThreeHills() {\n // Get 10 inputs for mountain heights\n Scanner scanner = new Scanner(System.in);\n int[] heights = new int[10];\n for (int i = 0; i < heights.length; i++) {\n heights[i] = scanner.nextInt();\n }\n\n // Find top three heights\n /*\n int[] threeHighest = Arrays.copyOfRange(heights, 0, 3);\n for (int i = 3; i < 10; i++) {\n if (heights[i] > threeHighest[0])\n threeHighest[0] = heights[i];\n else if (heights[i] > threeHighest[1])\n threeHighest[1] = heights[i];\n else if (heights[i] > threeHighest[2])\n threeHighest[2] = heights[i];\n }\n\n System.out.println(\" \");\n System.out.println(threeHighest[0]);\n System.out.println(threeHighest[1]);\n System.out.println(threeHighest[2]);\n */\n\n Arrays.sort(heights);\n System.out.println(heights[9]);\n System.out.println(heights[8]);\n System.out.println(heights[7]);\n }\n\n public static void main (String args[]) {\n topThreeHills();\n }\n}",
"public class Main {\n\n public static void topThreeHills() {\n // Get 10 inputs for mountain heights\n Scanner scanner = new Scanner(System.in);\n int[] heights = new int[10];\n for (int i = 0; i < heights.length; i++) {\n heights[i] = scanner.nextInt();\n }\n\n // Find top three heights\n /*\n int[] threeHighest = Arrays.copyOfRange(heights, 0, 3);\n for (int i = 3; i < 10; i++) {\n if (heights[i] > threeHighest[0])\n threeHighest[0] = heights[i];\n else if (heights[i] > threeHighest[1])\n threeHighest[1] = heights[i];\n else if (heights[i] > threeHighest[2])\n threeHighest[2] = heights[i];\n }\n\n System.out.println(\" \");\n System.out.println(threeHighest[0]);\n System.out.println(threeHighest[1]);\n System.out.println(threeHighest[2]);\n */\n\n Arrays.sort(heights);\n System.out.println(heights[9]);\n System.out.println(heights[8]);\n System.out.println(heights[7]);\n }\n\n public static void main (String args[]) {\n topThreeHills();\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void topThreeHills() {
// Get 10 inputs for mountain heights
Scanner scanner = new Scanner(System.in);
int[] heights = new int[10];
for (int i = 0; i < heights.length; i++) {
heights[i] = scanner.nextInt();
}
// Find top three heights
/*
int[] threeHighest = Arrays.copyOfRange(heights, 0, 3);
for (int i = 3; i < 10; i++) {
if (heights[i] > threeHighest[0])
threeHighest[0] = heights[i];
else if (heights[i] > threeHighest[1])
threeHighest[1] = heights[i];
else if (heights[i] > threeHighest[2])
threeHighest[2] = heights[i];
}
System.out.println(" ");
System.out.println(threeHighest[0]);
System.out.println(threeHighest[1]);
System.out.println(threeHighest[2]);
*/
Arrays.sort(heights);
System.out.println(heights[9]);
System.out.println(heights[8]);
System.out.println(heights[7]);
}
public static void main (String args[]) {
topThreeHills();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
4,
18,
13,
13,
17,
4,
18,
4,
18,
13,
13,
17,
4,
18,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
13,
18
],
[
9,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
19,
26
],
[
26,
27
],
[
26,
28
],
[
19,
29
],
[
29,
30
],
[
29,
31
],
[
19,
32
],
[
32,
33
],
[
32,
34
],
[
19,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
54,
55
],
[
47,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
60,
67
],
[
67,
68
],
[
67,
69
],
[
56,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
70,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
19,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
89,
95
],
[
19,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
96,
102
],
[
19,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
103,
109
],
[
19,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
6,
116
],
[
116,
117
]
] | [
"/* Volume1 */\nimport java.io.*;\n\nclass Main\n{\n public static void main(String[] args)\n {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int h1 = 0,h2 = 0,h3 = 0;\n\n for(int i = 0; i < 10; i++){\n int height = Integer.parseInt(br.readLine());\n if(h1 < height){\n h3 = h2;\n h2 = h1;\n h1 = height;\n }else if(h2 < height){\n h3 = h2;\n h2 = height;\n }else if(h3 < height){\n h3 = height;\n }\n }\n\n sb.append(h1).append(\"\\n\");\n sb.append(h2).append(\"\\n\");\n sb.append(h3).append(\"\\n\");\n\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n public static void main(String[] args)\n {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int h1 = 0,h2 = 0,h3 = 0;\n\n for(int i = 0; i < 10; i++){\n int height = Integer.parseInt(br.readLine());\n if(h1 < height){\n h3 = h2;\n h2 = h1;\n h1 = height;\n }else if(h2 < height){\n h3 = h2;\n h2 = height;\n }else if(h3 < height){\n h3 = height;\n }\n }\n\n sb.append(h1).append(\"\\n\");\n sb.append(h2).append(\"\\n\");\n sb.append(h3).append(\"\\n\");\n\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }\n }\n}",
"Main",
"public static void main(String[] args)\n {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int h1 = 0,h2 = 0,h3 = 0;\n\n for(int i = 0; i < 10; i++){\n int height = Integer.parseInt(br.readLine());\n if(h1 < height){\n h3 = h2;\n h2 = h1;\n h1 = height;\n }else if(h2 < height){\n h3 = h2;\n h2 = height;\n }else if(h3 < height){\n h3 = height;\n }\n }\n\n sb.append(h1).append(\"\\n\");\n sb.append(h2).append(\"\\n\");\n sb.append(h3).append(\"\\n\");\n\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }\n }",
"main",
"{\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int h1 = 0,h2 = 0,h3 = 0;\n\n for(int i = 0; i < 10; i++){\n int height = Integer.parseInt(br.readLine());\n if(h1 < height){\n h3 = h2;\n h2 = h1;\n h1 = height;\n }else if(h2 < height){\n h3 = h2;\n h2 = height;\n }else if(h3 < height){\n h3 = height;\n }\n }\n\n sb.append(h1).append(\"\\n\");\n sb.append(h2).append(\"\\n\");\n sb.append(h3).append(\"\\n\");\n\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }\n }",
"try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int h1 = 0,h2 = 0,h3 = 0;\n\n for(int i = 0; i < 10; i++){\n int height = Integer.parseInt(br.readLine());\n if(h1 < height){\n h3 = h2;\n h2 = h1;\n h1 = height;\n }else if(h2 < height){\n h3 = h2;\n h2 = height;\n }else if(h3 < height){\n h3 = height;\n }\n }\n\n sb.append(h1).append(\"\\n\");\n sb.append(h2).append(\"\\n\");\n sb.append(h3).append(\"\\n\");\n\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }",
"catch(Exception e){\n System.out.println(e);\n }",
"Exception e",
"{\n System.out.println(e);\n }",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int h1 = 0,h2 = 0,h3 = 0;\n\n for(int i = 0; i < 10; i++){\n int height = Integer.parseInt(br.readLine());\n if(h1 < height){\n h3 = h2;\n h2 = h1;\n h1 = height;\n }else if(h2 < height){\n h3 = h2;\n h2 = height;\n }else if(h3 < height){\n h3 = height;\n }\n }\n\n sb.append(h1).append(\"\\n\");\n sb.append(h2).append(\"\\n\");\n sb.append(h3).append(\"\\n\");\n\n System.out.print(sb);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int h1 = 0",
"h1",
"0",
"h2 = 0",
"h2",
"0",
"h3 = 0;",
"h3",
"0",
"for(int i = 0; i < 10; i++){\n int height = Integer.parseInt(br.readLine());\n if(h1 < height){\n h3 = h2;\n h2 = h1;\n h1 = height;\n }else if(h2 < height){\n h3 = h2;\n h2 = height;\n }else if(h3 < height){\n h3 = height;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n int height = Integer.parseInt(br.readLine());\n if(h1 < height){\n h3 = h2;\n h2 = h1;\n h1 = height;\n }else if(h2 < height){\n h3 = h2;\n h2 = height;\n }else if(h3 < height){\n h3 = height;\n }\n }",
"{\n int height = Integer.parseInt(br.readLine());\n if(h1 < height){\n h3 = h2;\n h2 = h1;\n h1 = height;\n }else if(h2 < height){\n h3 = h2;\n h2 = height;\n }else if(h3 < height){\n h3 = height;\n }\n }",
"int height = Integer.parseInt(br.readLine());",
"height",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if(h1 < height){\n h3 = h2;\n h2 = h1;\n h1 = height;\n }else if(h2 < height){\n h3 = h2;\n h2 = height;\n }else if(h3 < height){\n h3 = height;\n }",
"h1 < height",
"h1",
"height",
"{\n h3 = h2;\n h2 = h1;\n h1 = height;\n }",
"h3 = h2",
"h3",
"h2",
"h2 = h1",
"h2",
"h1",
"h1 = height",
"h1",
"height",
"if(h2 < height){\n h3 = h2;\n h2 = height;\n }else if(h3 < height){\n h3 = height;\n }",
"h2 < height",
"h2",
"height",
"{\n h3 = h2;\n h2 = height;\n }",
"h3 = h2",
"h3",
"h2",
"h2 = height",
"h2",
"height",
"if(h3 < height){\n h3 = height;\n }",
"h3 < height",
"h3",
"height",
"{\n h3 = height;\n }",
"h3 = height",
"h3",
"height",
"sb.append(h1).append(\"\\n\")",
"sb.append(h1).append",
"sb.append(h1)",
"sb.append",
"sb",
"h1",
"\"\\n\"",
"sb.append(h2).append(\"\\n\")",
"sb.append(h2).append",
"sb.append(h2)",
"sb.append",
"sb",
"h2",
"\"\\n\"",
"sb.append(h3).append(\"\\n\")",
"sb.append(h3).append",
"sb.append(h3)",
"sb.append",
"sb",
"h3",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args"
] | /* Volume1 */
import java.io.*;
class Main
{
public static void main(String[] args)
{
try{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
int h1 = 0,h2 = 0,h3 = 0;
for(int i = 0; i < 10; i++){
int height = Integer.parseInt(br.readLine());
if(h1 < height){
h3 = h2;
h2 = h1;
h1 = height;
}else if(h2 < height){
h3 = h2;
h2 = height;
}else if(h3 < height){
h3 = height;
}
}
sb.append(h1).append("\n");
sb.append(h2).append("\n");
sb.append(h3).append("\n");
System.out.print(sb);
}catch(Exception e){
System.out.println(e);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
28,
13,
13,
30,
30,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
2,
2,
13,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
105,
5
],
[
105,
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
],
[
35,
38
],
[
38,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
47,
49
],
[
8,
50
],
[
50,
51
],
[
50,
52
],
[
50,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
59,
66
],
[
66,
67
],
[
66,
68
],
[
55,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
69,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
8,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
96,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
94,
100
],
[
96,
101
],
[
6,
102
],
[
102,
103
],
[
0,
104
],
[
104,
105
],
[
104,
106
]
] | [
"import java.io.*;\n\npublic class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] Hills = new int[10];\n\t\tfor (int i = 0; i < Hills.length; i++) {\n\t\t\tHills[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tint no1=0;\n\t\tint no2=0;\n\t\tint no3=0;\n\t\t\n\t\tfor(int buf:Hills){\n\t\t\tif(no1<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=no1;\n\t\t\t\tno1=buf;\n\t\t\t}\n\t\t\telse if(no2<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=buf;\n\t\t\t}\n\t\t\telse if(no3<buf){\n\t\t\t\tno3 = buf;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(no1+\"\\n\"+no2+\"\\n\"+no3);\n\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] Hills = new int[10];\n\t\tfor (int i = 0; i < Hills.length; i++) {\n\t\t\tHills[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tint no1=0;\n\t\tint no2=0;\n\t\tint no3=0;\n\t\t\n\t\tfor(int buf:Hills){\n\t\t\tif(no1<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=no1;\n\t\t\t\tno1=buf;\n\t\t\t}\n\t\t\telse if(no2<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=buf;\n\t\t\t}\n\t\t\telse if(no3<buf){\n\t\t\t\tno3 = buf;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(no1+\"\\n\"+no2+\"\\n\"+no3);\n\n\t}\n}",
"Main",
"public static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] Hills = new int[10];\n\t\tfor (int i = 0; i < Hills.length; i++) {\n\t\t\tHills[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tint no1=0;\n\t\tint no2=0;\n\t\tint no3=0;\n\t\t\n\t\tfor(int buf:Hills){\n\t\t\tif(no1<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=no1;\n\t\t\t\tno1=buf;\n\t\t\t}\n\t\t\telse if(no2<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=buf;\n\t\t\t}\n\t\t\telse if(no3<buf){\n\t\t\t\tno3 = buf;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(no1+\"\\n\"+no2+\"\\n\"+no3);\n\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] Hills = new int[10];\n\t\tfor (int i = 0; i < Hills.length; i++) {\n\t\t\tHills[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tint no1=0;\n\t\tint no2=0;\n\t\tint no3=0;\n\t\t\n\t\tfor(int buf:Hills){\n\t\t\tif(no1<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=no1;\n\t\t\t\tno1=buf;\n\t\t\t}\n\t\t\telse if(no2<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=buf;\n\t\t\t}\n\t\t\telse if(no3<buf){\n\t\t\t\tno3 = buf;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(no1+\"\\n\"+no2+\"\\n\"+no3);\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] Hills = new int[10];",
"Hills",
"new int[10]",
"10",
"for (int i = 0; i < Hills.length; i++) {\n\t\t\tHills[i] = Integer.parseInt(br.readLine());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < Hills.length",
"i",
"Hills.length",
"Hills",
"Hills.length",
"i++",
"i++",
"i",
"{\n\t\t\tHills[i] = Integer.parseInt(br.readLine());\n\t\t}",
"{\n\t\t\tHills[i] = Integer.parseInt(br.readLine());\n\t\t}",
"Hills[i] = Integer.parseInt(br.readLine())",
"Hills[i]",
"Hills",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"int no1=0;",
"no1",
"0",
"int no2=0;",
"no2",
"0",
"int no3=0;",
"no3",
"0",
"for(int buf:Hills){\n\t\t\tif(no1<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=no1;\n\t\t\t\tno1=buf;\n\t\t\t}\n\t\t\telse if(no2<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=buf;\n\t\t\t}\n\t\t\telse if(no3<buf){\n\t\t\t\tno3 = buf;\n\t\t\t}\n\t\t}",
"int buf",
"Hills",
"{\n\t\t\tif(no1<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=no1;\n\t\t\t\tno1=buf;\n\t\t\t}\n\t\t\telse if(no2<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=buf;\n\t\t\t}\n\t\t\telse if(no3<buf){\n\t\t\t\tno3 = buf;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(no1<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=no1;\n\t\t\t\tno1=buf;\n\t\t\t}\n\t\t\telse if(no2<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=buf;\n\t\t\t}\n\t\t\telse if(no3<buf){\n\t\t\t\tno3 = buf;\n\t\t\t}\n\t\t}",
"if(no1<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=no1;\n\t\t\t\tno1=buf;\n\t\t\t}\n\t\t\telse if(no2<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=buf;\n\t\t\t}\n\t\t\telse if(no3<buf){\n\t\t\t\tno3 = buf;\n\t\t\t}",
"no1<buf",
"no1",
"buf",
"{\n\t\t\t\tno3=no2;\n\t\t\t\tno2=no1;\n\t\t\t\tno1=buf;\n\t\t\t}",
"no3=no2",
"no3",
"no2",
"no2=no1",
"no2",
"no1",
"no1=buf",
"no1",
"buf",
"if(no2<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=buf;\n\t\t\t}\n\t\t\telse if(no3<buf){\n\t\t\t\tno3 = buf;\n\t\t\t}",
"no2<buf",
"no2",
"buf",
"{\n\t\t\t\tno3=no2;\n\t\t\t\tno2=buf;\n\t\t\t}",
"no3=no2",
"no3",
"no2",
"no2=buf",
"no2",
"buf",
"if(no3<buf){\n\t\t\t\tno3 = buf;\n\t\t\t}",
"no3<buf",
"no3",
"buf",
"{\n\t\t\t\tno3 = buf;\n\t\t\t}",
"no3 = buf",
"no3",
"buf",
"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[] a",
"a",
"public class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] Hills = new int[10];\n\t\tfor (int i = 0; i < Hills.length; i++) {\n\t\t\tHills[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tint no1=0;\n\t\tint no2=0;\n\t\tint no3=0;\n\t\t\n\t\tfor(int buf:Hills){\n\t\t\tif(no1<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=no1;\n\t\t\t\tno1=buf;\n\t\t\t}\n\t\t\telse if(no2<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=buf;\n\t\t\t}\n\t\t\telse if(no3<buf){\n\t\t\t\tno3 = buf;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(no1+\"\\n\"+no2+\"\\n\"+no3);\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] Hills = new int[10];\n\t\tfor (int i = 0; i < Hills.length; i++) {\n\t\t\tHills[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tint no1=0;\n\t\tint no2=0;\n\t\tint no3=0;\n\t\t\n\t\tfor(int buf:Hills){\n\t\t\tif(no1<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=no1;\n\t\t\t\tno1=buf;\n\t\t\t}\n\t\t\telse if(no2<buf){\n\t\t\t\tno3=no2;\n\t\t\t\tno2=buf;\n\t\t\t}\n\t\t\telse if(no3<buf){\n\t\t\t\tno3 = buf;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(no1+\"\\n\"+no2+\"\\n\"+no3);\n\n\t}\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] a) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int[] Hills = new int[10];
for (int i = 0; i < Hills.length; i++) {
Hills[i] = Integer.parseInt(br.readLine());
}
int no1=0;
int no2=0;
int no3=0;
for(int buf:Hills){
if(no1<buf){
no3=no2;
no2=no1;
no1=buf;
}
else if(no2<buf){
no3=no2;
no2=buf;
}
else if(no3<buf){
no3 = buf;
}
}
System.out.println(no1+"\n"+no2+"\n"+no3);
}
} |
[
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,
41,
13,
17,
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,
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,
2,
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,
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
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
14,
45
],
[
45,
46
],
[
45,
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
],
[
60,
60
],
[
60,
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
],
[
75,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
74,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
84,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
96,
98
],
[
84,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
102,
104
],
[
99,
105
],
[
14,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
111,
112
],
[
111,
113
],
[
106,
114
],
[
114,
115
],
[
115,
116
],
[
106,
117
],
[
118,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
126,
128
],
[
12,
129
],
[
129,
130
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\nclass Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tInteger[] height=new Integer[10];\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\n\t\tfor(int i=0; i<10; i++){\n\t\t\theight[i]=Integer.valueOf(br.readLine());\n\t\t}\n\n\t\tint a=0;\n\n\t\tfor(int j=0; j<9; j++){\n\t\t\tfor(int k=9; k>j; k--){\n\t\t\t\tif(height[k]<height[k-1]){\n\t\t\t\t\ta=height[k];\n\t\t\t\t\theight[k]=height[k-1];\n\t\t\t\t\theight[k-1]=a;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int l=0; l<3; l++){\n\t\t\tSystem.out.println(height[9-l]);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tInteger[] height=new Integer[10];\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\n\t\tfor(int i=0; i<10; i++){\n\t\t\theight[i]=Integer.valueOf(br.readLine());\n\t\t}\n\n\t\tint a=0;\n\n\t\tfor(int j=0; j<9; j++){\n\t\t\tfor(int k=9; k>j; k--){\n\t\t\t\tif(height[k]<height[k-1]){\n\t\t\t\t\ta=height[k];\n\t\t\t\t\theight[k]=height[k-1];\n\t\t\t\t\theight[k-1]=a;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int l=0; l<3; l++){\n\t\t\tSystem.out.println(height[9-l]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\t\tInteger[] height=new Integer[10];\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\n\t\tfor(int i=0; i<10; i++){\n\t\t\theight[i]=Integer.valueOf(br.readLine());\n\t\t}\n\n\t\tint a=0;\n\n\t\tfor(int j=0; j<9; j++){\n\t\t\tfor(int k=9; k>j; k--){\n\t\t\t\tif(height[k]<height[k-1]){\n\t\t\t\t\ta=height[k];\n\t\t\t\t\theight[k]=height[k-1];\n\t\t\t\t\theight[k-1]=a;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int l=0; l<3; l++){\n\t\t\tSystem.out.println(height[9-l]);\n\t\t}\n\t}",
"main",
"{\n\t\tInteger[] height=new Integer[10];\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\n\t\tfor(int i=0; i<10; i++){\n\t\t\theight[i]=Integer.valueOf(br.readLine());\n\t\t}\n\n\t\tint a=0;\n\n\t\tfor(int j=0; j<9; j++){\n\t\t\tfor(int k=9; k>j; k--){\n\t\t\t\tif(height[k]<height[k-1]){\n\t\t\t\t\ta=height[k];\n\t\t\t\t\theight[k]=height[k-1];\n\t\t\t\t\theight[k-1]=a;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int l=0; l<3; l++){\n\t\t\tSystem.out.println(height[9-l]);\n\t\t}\n\t}",
"Integer[] height=new Integer[10];",
"height",
"new Integer[10]",
"10",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"for(int i=0; i<10; i++){\n\t\t\theight[i]=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\theight[i]=Integer.valueOf(br.readLine());\n\t\t}",
"{\n\t\t\theight[i]=Integer.valueOf(br.readLine());\n\t\t}",
"height[i]=Integer.valueOf(br.readLine())",
"height[i]",
"height",
"i",
"Integer.valueOf(br.readLine())",
"Integer.valueOf",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"int a=0;",
"a",
"0",
"for(int j=0; j<9; j++){\n\t\t\tfor(int k=9; k>j; k--){\n\t\t\t\tif(height[k]<height[k-1]){\n\t\t\t\t\ta=height[k];\n\t\t\t\t\theight[k]=height[k-1];\n\t\t\t\t\theight[k-1]=a;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<9",
"j",
"9",
"j++",
"j++",
"j",
"{\n\t\t\tfor(int k=9; k>j; k--){\n\t\t\t\tif(height[k]<height[k-1]){\n\t\t\t\t\ta=height[k];\n\t\t\t\t\theight[k]=height[k-1];\n\t\t\t\t\theight[k-1]=a;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int k=9; k>j; k--){\n\t\t\t\tif(height[k]<height[k-1]){\n\t\t\t\t\ta=height[k];\n\t\t\t\t\theight[k]=height[k-1];\n\t\t\t\t\theight[k-1]=a;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int k=9; k>j; k--){\n\t\t\t\tif(height[k]<height[k-1]){\n\t\t\t\t\ta=height[k];\n\t\t\t\t\theight[k]=height[k-1];\n\t\t\t\t\theight[k-1]=a;\n\t\t\t\t}\n\t\t\t}",
"int k=9;",
"int k=9;",
"k",
"9",
"k>j",
"k",
"j",
"k--",
"k--",
"k",
"{\n\t\t\t\tif(height[k]<height[k-1]){\n\t\t\t\t\ta=height[k];\n\t\t\t\t\theight[k]=height[k-1];\n\t\t\t\t\theight[k-1]=a;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(height[k]<height[k-1]){\n\t\t\t\t\ta=height[k];\n\t\t\t\t\theight[k]=height[k-1];\n\t\t\t\t\theight[k-1]=a;\n\t\t\t\t}\n\t\t\t}",
"if(height[k]<height[k-1]){\n\t\t\t\t\ta=height[k];\n\t\t\t\t\theight[k]=height[k-1];\n\t\t\t\t\theight[k-1]=a;\n\t\t\t\t}",
"height[k]<height[k-1]",
"height[k]",
"height",
"k",
"height[k-1]",
"height",
"k-1",
"k",
"1",
"{\n\t\t\t\t\ta=height[k];\n\t\t\t\t\theight[k]=height[k-1];\n\t\t\t\t\theight[k-1]=a;\n\t\t\t\t}",
"a=height[k]",
"a",
"height[k]",
"height",
"k",
"height[k]=height[k-1]",
"height[k]",
"height",
"k",
"height[k-1]",
"height",
"k-1",
"k",
"1",
"height[k-1]=a",
"height[k-1]",
"height",
"k-1",
"k",
"1",
"a",
"for(int l=0; l<3; l++){\n\t\t\tSystem.out.println(height[9-l]);\n\t\t}",
"int l=0;",
"int l=0;",
"l",
"0",
"l<3",
"l",
"3",
"l++",
"l++",
"l",
"{\n\t\t\tSystem.out.println(height[9-l]);\n\t\t}",
"{\n\t\t\tSystem.out.println(height[9-l]);\n\t\t}",
"System.out.println(height[9-l])",
"System.out.println",
"System.out",
"System",
"System.out",
"height[9-l]",
"height",
"9-l",
"9",
"l",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
public static void main(String[] args)throws IOException{
Integer[] height=new Integer[10];
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
for(int i=0; i<10; i++){
height[i]=Integer.valueOf(br.readLine());
}
int a=0;
for(int j=0; j<9; j++){
for(int k=9; k>j; k--){
if(height[k]<height[k-1]){
a=height[k];
height[k]=height[k-1];
height[k-1]=a;
}
}
}
for(int l=0; l<3; l++){
System.out.println(height[9-l]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
20,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
20,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
58,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
18,
79
],
[
79,
80
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nimport java.util.Collections;\n\nclass Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tInteger[] input = new Integer[10];\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tfor(int i=0; i<10; i++){\n\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tArrays.sort(input, Collections.reverseOrder());\n\t\t\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(input[i]);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"class Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tInteger[] input = new Integer[10];\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tfor(int i=0; i<10; i++){\n\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tArrays.sort(input, Collections.reverseOrder());\n\t\t\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(input[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tInteger[] input = new Integer[10];\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tfor(int i=0; i<10; i++){\n\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tArrays.sort(input, Collections.reverseOrder());\n\t\t\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(input[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tInteger[] input = new Integer[10];\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tfor(int i=0; i<10; i++){\n\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tArrays.sort(input, Collections.reverseOrder());\n\t\t\n\t\tfor(int i=0; i<3; i++){\n\t\t\tSystem.out.println(input[i]);\n\t\t}\n\t}",
"Integer[] input = new Integer[10];",
"input",
"new Integer[10]",
"10",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"for(int i=0; i<10; i++){\n\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t}",
"{\n\t\t\tinput[i] = Integer.parseInt(br.readLine());\n\t\t}",
"input[i] = Integer.parseInt(br.readLine())",
"input[i]",
"input",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(input, Collections.reverseOrder())",
"Arrays.sort",
"Arrays",
"input",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"for(int i=0; i<3; i++){\n\t\t\tSystem.out.println(input[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(input[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(input[i]);\n\t\t}",
"System.out.println(input[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"input[i]",
"input",
"i",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Collections;
class Main {
public static void main(String[] args) throws NumberFormatException, IOException {
Integer[] input = new Integer[10];
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
for(int i=0; i<10; i++){
input[i] = Integer.parseInt(br.readLine());
}
Arrays.sort(input, Collections.reverseOrder());
for(int i=0; i<3; i++){
System.out.println(input[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
17,
41,
13,
20,
17,
12,
13,
30,
41,
13,
41,
13,
20,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
12,
13,
30,
41,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
0,
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,
13,
0,
18,
13,
13,
18,
13,
2,
13,
17,
0,
18,
13,
2,
13,
17,
13,
12,
13,
30,
41,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
18,
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
],
[
12,
13
],
[
12,
14
],
[
10,
16
],
[
16,
17
],
[
16,
18
],
[
10,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
22,
31
],
[
31,
32
],
[
32,
33
],
[
22,
34
],
[
34,
35
],
[
35,
36
],
[
22,
37
],
[
37,
38
],
[
38,
39
],
[
20,
40
],
[
40,
41
],
[
10,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
44,
51
],
[
51,
52
],
[
44,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
53,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
10,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
74,
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
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
96,
97
],
[
96,
98
],
[
10,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
104,
105
],
[
101,
106
],
[
106,
107
],
[
101,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
113,
114
],
[
113,
115
],
[
108,
116
],
[
116,
117
],
[
117,
118
],
[
108,
119
],
[
120,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
121,
126
],
[
126,
127
],
[
126,
128
],
[
121,
129
],
[
129,
130
],
[
130,
131
],
[
121,
132
],
[
133,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
141,
143
],
[
134,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
147,
149
],
[
144,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
156,
158
],
[
144,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
162,
164
],
[
159,
165
],
[
10,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
171,
176
],
[
176,
177
],
[
176,
178
],
[
171,
179
],
[
179,
180
],
[
180,
181
],
[
171,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
183,
188
],
[
188,
189
],
[
188,
190
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\tpublic String[] inputMountain = new String[10];\n\tpublic int[] mountain = new int[10];\n\t\n\tpublic static void main(String args[])throws IOException{\n\t\tint i;\n\t\tMain app = new Main();\n\t\t\n\t\tapp.input();\n\t\tapp.stringToInteger();\n\t\tapp.sortMountain();\n\t\tapp.output();\n\t}\n\t\n\tpublic void input()throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tint i;\n\t\tfor(i=0;i<10;i++)\n\t\t\tinputMountain[i] = br.readLine();\n\t}\n\t\n\tpublic void stringToInteger(){\n\t\tint i;\n\t\tfor(i=0;i<10;i++)\n\t\t\tmountain[i] = Integer.parseInt(inputMountain[i]);\n\t}\n\t\n\tpublic void sortMountain(){\n\t\tint i,j,t;\n\t\t\n\t\tfor(i=0;i<9;i++){\n\t\t\tfor(j=9;j>i;j--){\n\t\t\t\tif(mountain[j]<mountain[j-1]){\n\t\t\t\t\tt = mountain[j];\n\t\t\t\t\tmountain[j] = mountain[j-1];\n\t\t\t\t\tmountain[j-1] = t;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t\n\tpublic void output(){\n\t\tint i;\n\t\tfor(i=9;i>6;i--)\n\t\t\tSystem.out.println(mountain[i]);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\tpublic String[] inputMountain = new String[10];\n\tpublic int[] mountain = new int[10];\n\t\n\tpublic static void main(String args[])throws IOException{\n\t\tint i;\n\t\tMain app = new Main();\n\t\t\n\t\tapp.input();\n\t\tapp.stringToInteger();\n\t\tapp.sortMountain();\n\t\tapp.output();\n\t}\n\t\n\tpublic void input()throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tint i;\n\t\tfor(i=0;i<10;i++)\n\t\t\tinputMountain[i] = br.readLine();\n\t}\n\t\n\tpublic void stringToInteger(){\n\t\tint i;\n\t\tfor(i=0;i<10;i++)\n\t\t\tmountain[i] = Integer.parseInt(inputMountain[i]);\n\t}\n\t\n\tpublic void sortMountain(){\n\t\tint i,j,t;\n\t\t\n\t\tfor(i=0;i<9;i++){\n\t\t\tfor(j=9;j>i;j--){\n\t\t\t\tif(mountain[j]<mountain[j-1]){\n\t\t\t\t\tt = mountain[j];\n\t\t\t\t\tmountain[j] = mountain[j-1];\n\t\t\t\t\tmountain[j-1] = t;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t\n\tpublic void output(){\n\t\tint i;\n\t\tfor(i=9;i>6;i--)\n\t\t\tSystem.out.println(mountain[i]);\n\t}\n}",
"Main",
"public String[] inputMountain = new String[10];",
"inputMountain",
"new String[10]",
"10",
"public int[] mountain = new int[10];",
"mountain",
"new int[10]",
"10",
"public static void main(String args[])throws IOException{\n\t\tint i;\n\t\tMain app = new Main();\n\t\t\n\t\tapp.input();\n\t\tapp.stringToInteger();\n\t\tapp.sortMountain();\n\t\tapp.output();\n\t}",
"main",
"{\n\t\tint i;\n\t\tMain app = new Main();\n\t\t\n\t\tapp.input();\n\t\tapp.stringToInteger();\n\t\tapp.sortMountain();\n\t\tapp.output();\n\t}",
"int i;",
"i",
"Main app = new Main();",
"app",
"new Main()",
"app.input()",
"app.input",
"app",
"app.stringToInteger()",
"app.stringToInteger",
"app",
"app.sortMountain()",
"app.sortMountain",
"app",
"app.output()",
"app.output",
"app",
"String args[]",
"args",
"public void input()throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tint i;\n\t\tfor(i=0;i<10;i++)\n\t\t\tinputMountain[i] = br.readLine();\n\t}",
"input",
"{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tint i;\n\t\tfor(i=0;i<10;i++)\n\t\t\tinputMountain[i] = br.readLine();\n\t}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"int i;",
"i",
"for(i=0;i<10;i++)\n\t\t\tinputMountain[i] = br.readLine();",
"i=0;",
"i=0",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"inputMountain[i] = br.readLine();",
"inputMountain[i] = br.readLine()",
"inputMountain[i]",
"inputMountain",
"i",
"br.readLine()",
"br.readLine",
"br",
"public void stringToInteger(){\n\t\tint i;\n\t\tfor(i=0;i<10;i++)\n\t\t\tmountain[i] = Integer.parseInt(inputMountain[i]);\n\t}",
"stringToInteger",
"{\n\t\tint i;\n\t\tfor(i=0;i<10;i++)\n\t\t\tmountain[i] = Integer.parseInt(inputMountain[i]);\n\t}",
"int i;",
"i",
"for(i=0;i<10;i++)\n\t\t\tmountain[i] = Integer.parseInt(inputMountain[i]);",
"i=0;",
"i=0",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"mountain[i] = Integer.parseInt(inputMountain[i]);",
"mountain[i] = Integer.parseInt(inputMountain[i])",
"mountain[i]",
"mountain",
"i",
"Integer.parseInt(inputMountain[i])",
"Integer.parseInt",
"Integer",
"inputMountain[i]",
"inputMountain",
"i",
"public void sortMountain(){\n\t\tint i,j,t;\n\t\t\n\t\tfor(i=0;i<9;i++){\n\t\t\tfor(j=9;j>i;j--){\n\t\t\t\tif(mountain[j]<mountain[j-1]){\n\t\t\t\t\tt = mountain[j];\n\t\t\t\t\tmountain[j] = mountain[j-1];\n\t\t\t\t\tmountain[j-1] = t;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"sortMountain",
"{\n\t\tint i,j,t;\n\t\t\n\t\tfor(i=0;i<9;i++){\n\t\t\tfor(j=9;j>i;j--){\n\t\t\t\tif(mountain[j]<mountain[j-1]){\n\t\t\t\t\tt = mountain[j];\n\t\t\t\t\tmountain[j] = mountain[j-1];\n\t\t\t\t\tmountain[j-1] = t;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"int i",
"i",
"j",
"j",
"t;",
"t",
"for(i=0;i<9;i++){\n\t\t\tfor(j=9;j>i;j--){\n\t\t\t\tif(mountain[j]<mountain[j-1]){\n\t\t\t\t\tt = mountain[j];\n\t\t\t\t\tmountain[j] = mountain[j-1];\n\t\t\t\t\tmountain[j-1] = t;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"i=0;",
"i=0",
"i",
"0",
"i<9",
"i",
"9",
"i++",
"i++",
"i",
"{\n\t\t\tfor(j=9;j>i;j--){\n\t\t\t\tif(mountain[j]<mountain[j-1]){\n\t\t\t\t\tt = mountain[j];\n\t\t\t\t\tmountain[j] = mountain[j-1];\n\t\t\t\t\tmountain[j-1] = t;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(j=9;j>i;j--){\n\t\t\t\tif(mountain[j]<mountain[j-1]){\n\t\t\t\t\tt = mountain[j];\n\t\t\t\t\tmountain[j] = mountain[j-1];\n\t\t\t\t\tmountain[j-1] = t;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(j=9;j>i;j--){\n\t\t\t\tif(mountain[j]<mountain[j-1]){\n\t\t\t\t\tt = mountain[j];\n\t\t\t\t\tmountain[j] = mountain[j-1];\n\t\t\t\t\tmountain[j-1] = t;\n\t\t\t\t}\n\t\t\t}",
"j=9;",
"j=9",
"j",
"9",
"j>i",
"j",
"i",
"j--",
"j--",
"j",
"{\n\t\t\t\tif(mountain[j]<mountain[j-1]){\n\t\t\t\t\tt = mountain[j];\n\t\t\t\t\tmountain[j] = mountain[j-1];\n\t\t\t\t\tmountain[j-1] = t;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(mountain[j]<mountain[j-1]){\n\t\t\t\t\tt = mountain[j];\n\t\t\t\t\tmountain[j] = mountain[j-1];\n\t\t\t\t\tmountain[j-1] = t;\n\t\t\t\t}\n\t\t\t}",
"if(mountain[j]<mountain[j-1]){\n\t\t\t\t\tt = mountain[j];\n\t\t\t\t\tmountain[j] = mountain[j-1];\n\t\t\t\t\tmountain[j-1] = t;\n\t\t\t\t}",
"mountain[j]<mountain[j-1]",
"mountain[j]",
"mountain",
"j",
"mountain[j-1]",
"mountain",
"j-1",
"j",
"1",
"{\n\t\t\t\t\tt = mountain[j];\n\t\t\t\t\tmountain[j] = mountain[j-1];\n\t\t\t\t\tmountain[j-1] = t;\n\t\t\t\t}",
"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",
"public void output(){\n\t\tint i;\n\t\tfor(i=9;i>6;i--)\n\t\t\tSystem.out.println(mountain[i]);\n\t}",
"output",
"{\n\t\tint i;\n\t\tfor(i=9;i>6;i--)\n\t\t\tSystem.out.println(mountain[i]);\n\t}",
"int i;",
"i",
"for(i=9;i>6;i--)\n\t\t\tSystem.out.println(mountain[i]);",
"i=9;",
"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"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public String[] inputMountain = new String[10];
public int[] mountain = new int[10];
public static void main(String args[])throws IOException{
int i;
Main app = new Main();
app.input();
app.stringToInteger();
app.sortMountain();
app.output();
}
public void input()throws IOException{
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
int i;
for(i=0;i<10;i++)
inputMountain[i] = br.readLine();
}
public void stringToInteger(){
int i;
for(i=0;i<10;i++)
mountain[i] = Integer.parseInt(inputMountain[i]);
}
public void sortMountain(){
int i,j,t;
for(i=0;i<9;i++){
for(j=9;j>i;j--){
if(mountain[j]<mountain[j-1]){
t = mountain[j];
mountain[j] = mountain[j-1];
mountain[j-1] = t;
}
}
}
}
public void output(){
int i;
for(i=9;i>6;i--)
System.out.println(mountain[i]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
95,
5
],
[
95,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
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
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
45,
52
],
[
52,
53
],
[
52,
54
],
[
41,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
55,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
8,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
8,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
8,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
6,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint max1 = 0;\n\t\tint max2 = 0;\n\t\tint max3 = 0;\n\t\tint tmp;\n\t\t\n\t\tfor(int i = 0;i<10;i++){\n\t\t\ttmp = scan.nextInt();\n\t\t\t\n\t\t\tif(tmp>max1){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=max1;\n\t\t\t\tmax1=tmp;\n\t\t\t}else if(tmp>max2){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=tmp;\n\t\t\t}else if(tmp>max3){\n\t\t\t\tmax3=tmp;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(max1);\n\t\tSystem.out.println(max2);\n\t\tSystem.out.println(max3);\n\t \n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint max1 = 0;\n\t\tint max2 = 0;\n\t\tint max3 = 0;\n\t\tint tmp;\n\t\t\n\t\tfor(int i = 0;i<10;i++){\n\t\t\ttmp = scan.nextInt();\n\t\t\t\n\t\t\tif(tmp>max1){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=max1;\n\t\t\t\tmax1=tmp;\n\t\t\t}else if(tmp>max2){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=tmp;\n\t\t\t}else if(tmp>max3){\n\t\t\t\tmax3=tmp;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(max1);\n\t\tSystem.out.println(max2);\n\t\tSystem.out.println(max3);\n\t \n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint max1 = 0;\n\t\tint max2 = 0;\n\t\tint max3 = 0;\n\t\tint tmp;\n\t\t\n\t\tfor(int i = 0;i<10;i++){\n\t\t\ttmp = scan.nextInt();\n\t\t\t\n\t\t\tif(tmp>max1){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=max1;\n\t\t\t\tmax1=tmp;\n\t\t\t}else if(tmp>max2){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=tmp;\n\t\t\t}else if(tmp>max3){\n\t\t\t\tmax3=tmp;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(max1);\n\t\tSystem.out.println(max2);\n\t\tSystem.out.println(max3);\n\t \n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint max1 = 0;\n\t\tint max2 = 0;\n\t\tint max3 = 0;\n\t\tint tmp;\n\t\t\n\t\tfor(int i = 0;i<10;i++){\n\t\t\ttmp = scan.nextInt();\n\t\t\t\n\t\t\tif(tmp>max1){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=max1;\n\t\t\t\tmax1=tmp;\n\t\t\t}else if(tmp>max2){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=tmp;\n\t\t\t}else if(tmp>max3){\n\t\t\t\tmax3=tmp;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(max1);\n\t\tSystem.out.println(max2);\n\t\tSystem.out.println(max3);\n\t \n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int max1 = 0;",
"max1",
"0",
"int max2 = 0;",
"max2",
"0",
"int max3 = 0;",
"max3",
"0",
"int tmp;",
"tmp",
"for(int i = 0;i<10;i++){\n\t\t\ttmp = scan.nextInt();\n\t\t\t\n\t\t\tif(tmp>max1){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=max1;\n\t\t\t\tmax1=tmp;\n\t\t\t}else if(tmp>max2){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=tmp;\n\t\t\t}else if(tmp>max3){\n\t\t\t\tmax3=tmp;\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\ttmp = scan.nextInt();\n\t\t\t\n\t\t\tif(tmp>max1){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=max1;\n\t\t\t\tmax1=tmp;\n\t\t\t}else if(tmp>max2){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=tmp;\n\t\t\t}else if(tmp>max3){\n\t\t\t\tmax3=tmp;\n\t\t\t}\n\t\t}",
"{\n\t\t\ttmp = scan.nextInt();\n\t\t\t\n\t\t\tif(tmp>max1){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=max1;\n\t\t\t\tmax1=tmp;\n\t\t\t}else if(tmp>max2){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=tmp;\n\t\t\t}else if(tmp>max3){\n\t\t\t\tmax3=tmp;\n\t\t\t}\n\t\t}",
"tmp = scan.nextInt()",
"tmp",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(tmp>max1){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=max1;\n\t\t\t\tmax1=tmp;\n\t\t\t}else if(tmp>max2){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=tmp;\n\t\t\t}else if(tmp>max3){\n\t\t\t\tmax3=tmp;\n\t\t\t}",
"tmp>max1",
"tmp",
"max1",
"{\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=max1;\n\t\t\t\tmax1=tmp;\n\t\t\t}",
"max3=max2",
"max3",
"max2",
"max2=max1",
"max2",
"max1",
"max1=tmp",
"max1",
"tmp",
"if(tmp>max2){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=tmp;\n\t\t\t}else if(tmp>max3){\n\t\t\t\tmax3=tmp;\n\t\t\t}",
"tmp>max2",
"tmp",
"max2",
"{\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=tmp;\n\t\t\t}",
"max3=max2",
"max3",
"max2",
"max2=tmp",
"max2",
"tmp",
"if(tmp>max3){\n\t\t\t\tmax3=tmp;\n\t\t\t}",
"tmp>max3",
"tmp",
"max3",
"{\n\t\t\t\tmax3=tmp;\n\t\t\t}",
"max3=tmp",
"max3",
"tmp",
"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\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint max1 = 0;\n\t\tint max2 = 0;\n\t\tint max3 = 0;\n\t\tint tmp;\n\t\t\n\t\tfor(int i = 0;i<10;i++){\n\t\t\ttmp = scan.nextInt();\n\t\t\t\n\t\t\tif(tmp>max1){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=max1;\n\t\t\t\tmax1=tmp;\n\t\t\t}else if(tmp>max2){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=tmp;\n\t\t\t}else if(tmp>max3){\n\t\t\t\tmax3=tmp;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(max1);\n\t\tSystem.out.println(max2);\n\t\tSystem.out.println(max3);\n\t \n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint max1 = 0;\n\t\tint max2 = 0;\n\t\tint max3 = 0;\n\t\tint tmp;\n\t\t\n\t\tfor(int i = 0;i<10;i++){\n\t\t\ttmp = scan.nextInt();\n\t\t\t\n\t\t\tif(tmp>max1){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=max1;\n\t\t\t\tmax1=tmp;\n\t\t\t}else if(tmp>max2){\n\t\t\t\tmax3=max2;\n\t\t\t\tmax2=tmp;\n\t\t\t}else if(tmp>max3){\n\t\t\t\tmax3=tmp;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(max1);\n\t\tSystem.out.println(max2);\n\t\tSystem.out.println(max3);\n\t \n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int max1 = 0;
int max2 = 0;
int max3 = 0;
int tmp;
for(int i = 0;i<10;i++){
tmp = scan.nextInt();
if(tmp>max1){
max3=max2;
max2=max1;
max1=tmp;
}else if(tmp>max2){
max3=max2;
max2=tmp;
}else if(tmp>max3){
max3=tmp;
}
}
System.out.println(max1);
System.out.println(max2);
System.out.println(max3);
}
} |
[
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,
39,
17,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
17,
18,
13,
13,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
13,
14,
2,
18,
13,
17,
18,
13,
13,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
13,
14,
2,
18,
13,
17,
18,
13,
13,
30,
0,
18,
13,
17,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
148,
5
],
[
148,
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
],
[
38,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
63,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
82,
84
],
[
55,
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
],
[
85,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
113,
114
],
[
113,
115
],
[
108,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
121,
122
],
[
121,
123
],
[
8,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
124,
129
],
[
129,
130
],
[
129,
131
],
[
124,
132
],
[
132,
133
],
[
133,
134
],
[
124,
135
],
[
136,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
137,
142
],
[
142,
143
],
[
142,
144
],
[
6,
145
],
[
145,
146
],
[
0,
147
],
[
147,
148
],
[
147,
149
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] in = new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tin[i] = sc.nextInt();\n\t\t}\n\t\tint big[] = {0,0,0};\n\t\t\n\t\tfor(int i =0;i<10;i++){\n\t\t\tif(big[0] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = big[0];\n\t\t\t\tbig[0] = in[i];\n\t\t\t}\n\t\t\telse if(big[1] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = in[i];\n\t\t\t}\n\t\t\telse if(big[2] < in[i]){\n\t\t\t\tbig[2] = in[i];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(big[i]);\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] in = new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tin[i] = sc.nextInt();\n\t\t}\n\t\tint big[] = {0,0,0};\n\t\t\n\t\tfor(int i =0;i<10;i++){\n\t\t\tif(big[0] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = big[0];\n\t\t\t\tbig[0] = in[i];\n\t\t\t}\n\t\t\telse if(big[1] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = in[i];\n\t\t\t}\n\t\t\telse if(big[2] < in[i]){\n\t\t\t\tbig[2] = in[i];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(big[i]);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] in = new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tin[i] = sc.nextInt();\n\t\t}\n\t\tint big[] = {0,0,0};\n\t\t\n\t\tfor(int i =0;i<10;i++){\n\t\t\tif(big[0] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = big[0];\n\t\t\t\tbig[0] = in[i];\n\t\t\t}\n\t\t\telse if(big[1] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = in[i];\n\t\t\t}\n\t\t\telse if(big[2] < in[i]){\n\t\t\t\tbig[2] = in[i];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(big[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] in = new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tin[i] = sc.nextInt();\n\t\t}\n\t\tint big[] = {0,0,0};\n\t\t\n\t\tfor(int i =0;i<10;i++){\n\t\t\tif(big[0] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = big[0];\n\t\t\t\tbig[0] = in[i];\n\t\t\t}\n\t\t\telse if(big[1] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = in[i];\n\t\t\t}\n\t\t\telse if(big[2] < in[i]){\n\t\t\t\tbig[2] = in[i];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(big[i]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] in = new int[10];",
"in",
"new int[10]",
"10",
"for(int i=0;i<10;i++){\n\t\t\tin[i] = sc.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tin[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tin[i] = sc.nextInt();\n\t\t}",
"in[i] = sc.nextInt()",
"in[i]",
"in",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int big[] = {0,0,0};",
"big",
"{0,0,0}",
"0",
"0",
"0",
"for(int i =0;i<10;i++){\n\t\t\tif(big[0] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = big[0];\n\t\t\t\tbig[0] = in[i];\n\t\t\t}\n\t\t\telse if(big[1] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = in[i];\n\t\t\t}\n\t\t\telse if(big[2] < in[i]){\n\t\t\t\tbig[2] = in[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(big[0] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = big[0];\n\t\t\t\tbig[0] = in[i];\n\t\t\t}\n\t\t\telse if(big[1] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = in[i];\n\t\t\t}\n\t\t\telse if(big[2] < in[i]){\n\t\t\t\tbig[2] = in[i];\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(big[0] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = big[0];\n\t\t\t\tbig[0] = in[i];\n\t\t\t}\n\t\t\telse if(big[1] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = in[i];\n\t\t\t}\n\t\t\telse if(big[2] < in[i]){\n\t\t\t\tbig[2] = in[i];\n\t\t\t}\n\t\t}",
"if(big[0] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = big[0];\n\t\t\t\tbig[0] = in[i];\n\t\t\t}\n\t\t\telse if(big[1] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = in[i];\n\t\t\t}\n\t\t\telse if(big[2] < in[i]){\n\t\t\t\tbig[2] = in[i];\n\t\t\t}",
"big[0] < in[i]",
"big[0]",
"big",
"0",
"in[i]",
"in",
"i",
"{\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = big[0];\n\t\t\t\tbig[0] = in[i];\n\t\t\t}",
"big[2] = big[1]",
"big[2]",
"big",
"2",
"big[1]",
"big",
"1",
"big[1] = big[0]",
"big[1]",
"big",
"1",
"big[0]",
"big",
"0",
"big[0] = in[i]",
"big[0]",
"big",
"0",
"in[i]",
"in",
"i",
"if(big[1] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = in[i];\n\t\t\t}\n\t\t\telse if(big[2] < in[i]){\n\t\t\t\tbig[2] = in[i];\n\t\t\t}",
"big[1] < in[i]",
"big[1]",
"big",
"1",
"in[i]",
"in",
"i",
"{\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = in[i];\n\t\t\t}",
"big[2] = big[1]",
"big[2]",
"big",
"2",
"big[1]",
"big",
"1",
"big[1] = in[i]",
"big[1]",
"big",
"1",
"in[i]",
"in",
"i",
"if(big[2] < in[i]){\n\t\t\t\tbig[2] = in[i];\n\t\t\t}",
"big[2] < in[i]",
"big[2]",
"big",
"2",
"in[i]",
"in",
"i",
"{\n\t\t\t\tbig[2] = in[i];\n\t\t\t}",
"big[2] = in[i]",
"big[2]",
"big",
"2",
"in[i]",
"in",
"i",
"for(int i=0;i<3;i++){\n\t\t\tSystem.out.println(big[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(big[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(big[i]);\n\t\t}",
"System.out.println(big[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"big[i]",
"big",
"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[] in = new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tin[i] = sc.nextInt();\n\t\t}\n\t\tint big[] = {0,0,0};\n\t\t\n\t\tfor(int i =0;i<10;i++){\n\t\t\tif(big[0] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = big[0];\n\t\t\t\tbig[0] = in[i];\n\t\t\t}\n\t\t\telse if(big[1] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = in[i];\n\t\t\t}\n\t\t\telse if(big[2] < in[i]){\n\t\t\t\tbig[2] = in[i];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(big[i]);\n\t\t}\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] in = new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tin[i] = sc.nextInt();\n\t\t}\n\t\tint big[] = {0,0,0};\n\t\t\n\t\tfor(int i =0;i<10;i++){\n\t\t\tif(big[0] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = big[0];\n\t\t\t\tbig[0] = in[i];\n\t\t\t}\n\t\t\telse if(big[1] < in[i]){\n\t\t\t\tbig[2] = big[1];\n\t\t\t\tbig[1] = in[i];\n\t\t\t}\n\t\t\telse if(big[2] < in[i]){\n\t\t\t\tbig[2] = in[i];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<3;i++){\n\t\t\tSystem.out.println(big[i]);\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] in = new int[10];
for(int i=0;i<10;i++){
in[i] = sc.nextInt();
}
int big[] = {0,0,0};
for(int i =0;i<10;i++){
if(big[0] < in[i]){
big[2] = big[1];
big[1] = big[0];
big[0] = in[i];
}
else if(big[1] < in[i]){
big[2] = big[1];
big[1] = in[i];
}
else if(big[2] < in[i]){
big[2] = in[i];
}
}
for(int i=0;i<3;i++){
System.out.println(big[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
20,
17,
41,
13,
20,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
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,
0,
13,
18,
13,
17,
0,
13,
18,
13,
17,
0,
13,
18,
13,
17,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
146,
5
],
[
146,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
48,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
79,
81
],
[
74,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
82,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
82,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
8,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
102,
104
],
[
8,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
107,
109
],
[
8,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
8,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
120,
121
],
[
120,
122
],
[
115,
123
],
[
123,
124
],
[
124,
125
],
[
115,
126
],
[
127,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
128,
133
],
[
128,
134
],
[
134,
135
],
[
134,
136
],
[
127,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
137,
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\n\t\tint i;\n\t\tint j;\n\t\tint temp;\n\t\tint first;\n\t\tint second;\n\t\tint third;\n\n\t\tint[] mountain = new int[10];\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor(i = 0; i <10; i++) {\n\n\t\tmountain[i] = sc.nextInt();\n\n\t\t}\n\n\t\tfor(i = 0; i <10; i++) {\n\n\t\t\tfor(j = 0; j < 10; j++) {\n\t\t\t\tif( mountain[i] < mountain[j]) {\n\n\n\t\t\t\t\ttemp = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[j];\n\t\t\t\t\tmountain[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfirst = mountain[0];\n\t\tsecond = mountain[1];\n\t\tthird = mountain[2];\n\n\t\tfor(i = 9; i > 6; i--) {\n\t\tSystem.out.printf(\"%d\",mountain[i] );\n\t\tSystem.out.println(\"\");\n\n\n\t\t}\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String args[]) {\n\n\t\tint i;\n\t\tint j;\n\t\tint temp;\n\t\tint first;\n\t\tint second;\n\t\tint third;\n\n\t\tint[] mountain = new int[10];\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor(i = 0; i <10; i++) {\n\n\t\tmountain[i] = sc.nextInt();\n\n\t\t}\n\n\t\tfor(i = 0; i <10; i++) {\n\n\t\t\tfor(j = 0; j < 10; j++) {\n\t\t\t\tif( mountain[i] < mountain[j]) {\n\n\n\t\t\t\t\ttemp = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[j];\n\t\t\t\t\tmountain[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfirst = mountain[0];\n\t\tsecond = mountain[1];\n\t\tthird = mountain[2];\n\n\t\tfor(i = 9; i > 6; i--) {\n\t\tSystem.out.printf(\"%d\",mountain[i] );\n\t\tSystem.out.println(\"\");\n\n\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String args[]) {\n\n\t\tint i;\n\t\tint j;\n\t\tint temp;\n\t\tint first;\n\t\tint second;\n\t\tint third;\n\n\t\tint[] mountain = new int[10];\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor(i = 0; i <10; i++) {\n\n\t\tmountain[i] = sc.nextInt();\n\n\t\t}\n\n\t\tfor(i = 0; i <10; i++) {\n\n\t\t\tfor(j = 0; j < 10; j++) {\n\t\t\t\tif( mountain[i] < mountain[j]) {\n\n\n\t\t\t\t\ttemp = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[j];\n\t\t\t\t\tmountain[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfirst = mountain[0];\n\t\tsecond = mountain[1];\n\t\tthird = mountain[2];\n\n\t\tfor(i = 9; i > 6; i--) {\n\t\tSystem.out.printf(\"%d\",mountain[i] );\n\t\tSystem.out.println(\"\");\n\n\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tint i;\n\t\tint j;\n\t\tint temp;\n\t\tint first;\n\t\tint second;\n\t\tint third;\n\n\t\tint[] mountain = new int[10];\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor(i = 0; i <10; i++) {\n\n\t\tmountain[i] = sc.nextInt();\n\n\t\t}\n\n\t\tfor(i = 0; i <10; i++) {\n\n\t\t\tfor(j = 0; j < 10; j++) {\n\t\t\t\tif( mountain[i] < mountain[j]) {\n\n\n\t\t\t\t\ttemp = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[j];\n\t\t\t\t\tmountain[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfirst = mountain[0];\n\t\tsecond = mountain[1];\n\t\tthird = mountain[2];\n\n\t\tfor(i = 9; i > 6; i--) {\n\t\tSystem.out.printf(\"%d\",mountain[i] );\n\t\tSystem.out.println(\"\");\n\n\n\t\t}\n\n\t}",
"int i;",
"i",
"int j;",
"j",
"int temp;",
"temp",
"int first;",
"first",
"int second;",
"second",
"int third;",
"third",
"int[] mountain = new int[10];",
"mountain",
"new int[10]",
"10",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(i = 0; i <10; i++) {\n\n\t\tmountain[i] = sc.nextInt();\n\n\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i <10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\n\t\tmountain[i] = sc.nextInt();\n\n\t\t}",
"{\n\n\t\tmountain[i] = sc.nextInt();\n\n\t\t}",
"mountain[i] = sc.nextInt()",
"mountain[i]",
"mountain",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(i = 0; i <10; i++) {\n\n\t\t\tfor(j = 0; j < 10; j++) {\n\t\t\t\tif( mountain[i] < mountain[j]) {\n\n\n\t\t\t\t\ttemp = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[j];\n\t\t\t\t\tmountain[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i <10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\n\t\t\tfor(j = 0; j < 10; j++) {\n\t\t\t\tif( mountain[i] < mountain[j]) {\n\n\n\t\t\t\t\ttemp = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[j];\n\t\t\t\t\tmountain[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\n\t\t\tfor(j = 0; j < 10; j++) {\n\t\t\t\tif( mountain[i] < mountain[j]) {\n\n\n\t\t\t\t\ttemp = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[j];\n\t\t\t\t\tmountain[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(j = 0; j < 10; j++) {\n\t\t\t\tif( mountain[i] < mountain[j]) {\n\n\n\t\t\t\t\ttemp = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[j];\n\t\t\t\t\tmountain[j] = temp;\n\t\t\t\t}\n\t\t\t}",
"j = 0;",
"j = 0",
"j",
"0",
"j < 10",
"j",
"10",
"j++",
"j++",
"j",
"{\n\t\t\t\tif( mountain[i] < mountain[j]) {\n\n\n\t\t\t\t\ttemp = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[j];\n\t\t\t\t\tmountain[j] = temp;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif( mountain[i] < mountain[j]) {\n\n\n\t\t\t\t\ttemp = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[j];\n\t\t\t\t\tmountain[j] = temp;\n\t\t\t\t}\n\t\t\t}",
"if( mountain[i] < mountain[j]) {\n\n\n\t\t\t\t\ttemp = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[j];\n\t\t\t\t\tmountain[j] = temp;\n\t\t\t\t}",
"mountain[i] < mountain[j]",
"mountain[i]",
"mountain",
"i",
"mountain[j]",
"mountain",
"j",
"{\n\n\n\t\t\t\t\ttemp = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[j];\n\t\t\t\t\tmountain[j] = temp;\n\t\t\t\t}",
"temp = mountain[i]",
"temp",
"mountain[i]",
"mountain",
"i",
"mountain[i] = mountain[j]",
"mountain[i]",
"mountain",
"i",
"mountain[j]",
"mountain",
"j",
"mountain[j] = temp",
"mountain[j]",
"mountain",
"j",
"temp",
"first = mountain[0]",
"first",
"mountain[0]",
"mountain",
"0",
"second = mountain[1]",
"second",
"mountain[1]",
"mountain",
"1",
"third = mountain[2]",
"third",
"mountain[2]",
"mountain",
"2",
"for(i = 9; i > 6; i--) {\n\t\tSystem.out.printf(\"%d\",mountain[i] );\n\t\tSystem.out.println(\"\");\n\n\n\t\t}",
"i = 9;",
"i = 9",
"i",
"9",
"i > 6",
"i",
"6",
"i--",
"i--",
"i",
"{\n\t\tSystem.out.printf(\"%d\",mountain[i] );\n\t\tSystem.out.println(\"\");\n\n\n\t\t}",
"{\n\t\tSystem.out.printf(\"%d\",mountain[i] );\n\t\tSystem.out.println(\"\");\n\n\n\t\t}",
"System.out.printf(\"%d\",mountain[i] )",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\"",
"mountain[i]",
"mountain",
"i",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"String args[]",
"args",
"public class Main {\n\n\tpublic static void main(String args[]) {\n\n\t\tint i;\n\t\tint j;\n\t\tint temp;\n\t\tint first;\n\t\tint second;\n\t\tint third;\n\n\t\tint[] mountain = new int[10];\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor(i = 0; i <10; i++) {\n\n\t\tmountain[i] = sc.nextInt();\n\n\t\t}\n\n\t\tfor(i = 0; i <10; i++) {\n\n\t\t\tfor(j = 0; j < 10; j++) {\n\t\t\t\tif( mountain[i] < mountain[j]) {\n\n\n\t\t\t\t\ttemp = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[j];\n\t\t\t\t\tmountain[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfirst = mountain[0];\n\t\tsecond = mountain[1];\n\t\tthird = mountain[2];\n\n\t\tfor(i = 9; i > 6; i--) {\n\t\tSystem.out.printf(\"%d\",mountain[i] );\n\t\tSystem.out.println(\"\");\n\n\n\t\t}\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String args[]) {\n\n\t\tint i;\n\t\tint j;\n\t\tint temp;\n\t\tint first;\n\t\tint second;\n\t\tint third;\n\n\t\tint[] mountain = new int[10];\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor(i = 0; i <10; i++) {\n\n\t\tmountain[i] = sc.nextInt();\n\n\t\t}\n\n\t\tfor(i = 0; i <10; i++) {\n\n\t\t\tfor(j = 0; j < 10; j++) {\n\t\t\t\tif( mountain[i] < mountain[j]) {\n\n\n\t\t\t\t\ttemp = mountain[i];\n\t\t\t\t\tmountain[i] = mountain[j];\n\t\t\t\t\tmountain[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfirst = mountain[0];\n\t\tsecond = mountain[1];\n\t\tthird = mountain[2];\n\n\t\tfor(i = 9; i > 6; i--) {\n\t\tSystem.out.printf(\"%d\",mountain[i] );\n\t\tSystem.out.println(\"\");\n\n\n\t\t}\n\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String args[]) {
int i;
int j;
int temp;
int first;
int second;
int third;
int[] mountain = new int[10];
Scanner sc = new Scanner(System.in);
for(i = 0; i <10; i++) {
mountain[i] = sc.nextInt();
}
for(i = 0; i <10; i++) {
for(j = 0; j < 10; j++) {
if( mountain[i] < mountain[j]) {
temp = mountain[i];
mountain[i] = mountain[j];
mountain[j] = temp;
}
}
}
first = mountain[0];
second = mountain[1];
third = mountain[2];
for(i = 9; i > 6; i--) {
System.out.printf("%d",mountain[i] );
System.out.println("");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
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,
2,
13,
13,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
2,
13,
13,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
107,
5
],
[
107,
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
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
49,
56
],
[
56,
57
],
[
56,
58
],
[
39,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
39,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
79,
81
],
[
74,
82
],
[
82,
83
],
[
83,
84
],
[
83,
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
],
[
8,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
6,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] heights = new int[10];\n\t\tint hi = 0;\n\t\tint me = 0;\n\t\tint low = 0;\n\t\tfor(int i = 0; i < heights.length; i++){\n\t\t\tint height = s.nextInt();\n\t\t\tif(height >= hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = hi;\n\t\t\t\thi = height;\n\t\t\t}\n\t\t\tif(height >= me && height < hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = height;\n\t\t\t}\n\t\t\tif(height >= low && height < me){\n\t\t\t\tlow = height;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(hi);\n\t\tSystem.out.println(me);\n\t\tSystem.out.println(low);\n\t\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] heights = new int[10];\n\t\tint hi = 0;\n\t\tint me = 0;\n\t\tint low = 0;\n\t\tfor(int i = 0; i < heights.length; i++){\n\t\t\tint height = s.nextInt();\n\t\t\tif(height >= hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = hi;\n\t\t\t\thi = height;\n\t\t\t}\n\t\t\tif(height >= me && height < hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = height;\n\t\t\t}\n\t\t\tif(height >= low && height < me){\n\t\t\t\tlow = height;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(hi);\n\t\tSystem.out.println(me);\n\t\tSystem.out.println(low);\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] heights = new int[10];\n\t\tint hi = 0;\n\t\tint me = 0;\n\t\tint low = 0;\n\t\tfor(int i = 0; i < heights.length; i++){\n\t\t\tint height = s.nextInt();\n\t\t\tif(height >= hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = hi;\n\t\t\t\thi = height;\n\t\t\t}\n\t\t\tif(height >= me && height < hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = height;\n\t\t\t}\n\t\t\tif(height >= low && height < me){\n\t\t\t\tlow = height;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(hi);\n\t\tSystem.out.println(me);\n\t\tSystem.out.println(low);\n\t\t\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] heights = new int[10];\n\t\tint hi = 0;\n\t\tint me = 0;\n\t\tint low = 0;\n\t\tfor(int i = 0; i < heights.length; i++){\n\t\t\tint height = s.nextInt();\n\t\t\tif(height >= hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = hi;\n\t\t\t\thi = height;\n\t\t\t}\n\t\t\tif(height >= me && height < hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = height;\n\t\t\t}\n\t\t\tif(height >= low && height < me){\n\t\t\t\tlow = height;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(hi);\n\t\tSystem.out.println(me);\n\t\tSystem.out.println(low);\n\t\t\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int[] heights = new int[10];",
"heights",
"new int[10]",
"10",
"int hi = 0;",
"hi",
"0",
"int me = 0;",
"me",
"0",
"int low = 0;",
"low",
"0",
"for(int i = 0; i < heights.length; i++){\n\t\t\tint height = s.nextInt();\n\t\t\tif(height >= hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = hi;\n\t\t\t\thi = height;\n\t\t\t}\n\t\t\tif(height >= me && height < hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = height;\n\t\t\t}\n\t\t\tif(height >= low && height < me){\n\t\t\t\tlow = height;\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\tint height = s.nextInt();\n\t\t\tif(height >= hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = hi;\n\t\t\t\thi = height;\n\t\t\t}\n\t\t\tif(height >= me && height < hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = height;\n\t\t\t}\n\t\t\tif(height >= low && height < me){\n\t\t\t\tlow = height;\n\t\t\t}\n\t\t}",
"{\n\t\t\tint height = s.nextInt();\n\t\t\tif(height >= hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = hi;\n\t\t\t\thi = height;\n\t\t\t}\n\t\t\tif(height >= me && height < hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = height;\n\t\t\t}\n\t\t\tif(height >= low && height < me){\n\t\t\t\tlow = height;\n\t\t\t}\n\t\t}",
"int height = s.nextInt();",
"height",
"s.nextInt()",
"s.nextInt",
"s",
"if(height >= hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = hi;\n\t\t\t\thi = height;\n\t\t\t}",
"height >= hi",
"height",
"hi",
"{\n\t\t\t\tlow = me;\n\t\t\t\tme = hi;\n\t\t\t\thi = height;\n\t\t\t}",
"low = me",
"low",
"me",
"me = hi",
"me",
"hi",
"hi = height",
"hi",
"height",
"if(height >= me && height < hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = height;\n\t\t\t}",
"height >= me && height < hi",
"height >= me",
"height",
"me",
"height < hi",
"height",
"hi",
"{\n\t\t\t\tlow = me;\n\t\t\t\tme = height;\n\t\t\t}",
"low = me",
"low",
"me",
"me = height",
"me",
"height",
"if(height >= low && height < me){\n\t\t\t\tlow = height;\n\t\t\t}",
"height >= low && height < me",
"height >= low",
"height",
"low",
"height < me",
"height",
"me",
"{\n\t\t\t\tlow = height;\n\t\t\t}",
"low = height",
"low",
"height",
"System.out.println(hi)",
"System.out.println",
"System.out",
"System",
"System.out",
"hi",
"System.out.println(me)",
"System.out.println",
"System.out",
"System",
"System.out",
"me",
"System.out.println(low)",
"System.out.println",
"System.out",
"System",
"System.out",
"low",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] heights = new int[10];\n\t\tint hi = 0;\n\t\tint me = 0;\n\t\tint low = 0;\n\t\tfor(int i = 0; i < heights.length; i++){\n\t\t\tint height = s.nextInt();\n\t\t\tif(height >= hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = hi;\n\t\t\t\thi = height;\n\t\t\t}\n\t\t\tif(height >= me && height < hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = height;\n\t\t\t}\n\t\t\tif(height >= low && height < me){\n\t\t\t\tlow = height;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(hi);\n\t\tSystem.out.println(me);\n\t\tSystem.out.println(low);\n\t\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] heights = new int[10];\n\t\tint hi = 0;\n\t\tint me = 0;\n\t\tint low = 0;\n\t\tfor(int i = 0; i < heights.length; i++){\n\t\t\tint height = s.nextInt();\n\t\t\tif(height >= hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = hi;\n\t\t\t\thi = height;\n\t\t\t}\n\t\t\tif(height >= me && height < hi){\n\t\t\t\tlow = me;\n\t\t\t\tme = height;\n\t\t\t}\n\t\t\tif(height >= low && height < me){\n\t\t\t\tlow = height;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(hi);\n\t\tSystem.out.println(me);\n\t\tSystem.out.println(low);\n\t\t\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner s = new Scanner(System.in);
int[] heights = new int[10];
int hi = 0;
int me = 0;
int low = 0;
for(int i = 0; i < heights.length; i++){
int height = s.nextInt();
if(height >= hi){
low = me;
me = hi;
hi = height;
}
if(height >= me && height < hi){
low = me;
me = height;
}
if(height >= low && height < me){
low = height;
}
}
System.out.println(hi);
System.out.println(me);
System.out.println(low);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
4,
18,
13,
4,
18,
13,
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
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
14,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
14,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
14,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
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
],
[
12,
74
],
[
74,
75
]
] | [
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\nclass Main{\n\tpublic static void main (String[] args) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tString line;\n\t\twhile((line = br.readLine()) != null){\n\t\t\t\n\t\t\tlist.add(Integer.parseInt(line));\n\t\t}\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\t\t\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}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main (String[] args) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tString line;\n\t\twhile((line = br.readLine()) != null){\n\t\t\t\n\t\t\tlist.add(Integer.parseInt(line));\n\t\t}\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\t\t\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}\n}",
"Main",
"public static void main (String[] args) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tString line;\n\t\twhile((line = br.readLine()) != null){\n\t\t\t\n\t\t\tlist.add(Integer.parseInt(line));\n\t\t}\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\t\t\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}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tString line;\n\t\twhile((line = br.readLine()) != null){\n\t\t\t\n\t\t\tlist.add(Integer.parseInt(line));\n\t\t}\n\t\tCollections.sort(list);\n\t\tCollections.reverse(list);\n\t\t\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}",
"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>()",
"String line;",
"line",
"while((line = br.readLine()) != null){\n\t\t\t\n\t\t\tlist.add(Integer.parseInt(line));\n\t\t}",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\t\n\t\t\tlist.add(Integer.parseInt(line));\n\t\t}",
"list.add(Integer.parseInt(line))",
"list.add",
"list",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"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"
] | import java.util.*;
import java.lang.*;
import java.io.*;
class Main{
public static void main (String[] args) throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
ArrayList<Integer> list = new ArrayList<Integer>();
String line;
while((line = br.readLine()) != null){
list.add(Integer.parseInt(line));
}
Collections.sort(list);
Collections.reverse(list);
System.out.println(list.get(0));
System.out.println(list.get(1));
System.out.println(list.get(2));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41,
13,
17,
42,
13,
30,
0,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
13,
17,
0,
18,
13,
2,
13,
17,
13,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
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
],
[
39,
41
],
[
8,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
48,
55
],
[
55,
56
],
[
55,
57
],
[
48,
58
],
[
58,
59
],
[
59,
60
],
[
48,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
63,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
73,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
73,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
88,
94
],
[
73,
95
],
[
95,
96
],
[
95,
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.*;\nclass Main{\n public static void main(String[] a){\n int n = 10;\n int[] num = new int[n];\n\n Scanner stdin = new Scanner(System.in);\n for ( int i = 0; i < n; i++ ){\n num[i] = stdin.nextInt();\n }\n\n boolean flag = true;\n while (flag){\n flag = false;\n for ( int j = n-1; j >= 1; j-- ){\n if ( num[j] > num[j-1] ){\n int tmp = num[j];\n num[j] = num[j-1];\n num[j-1] = tmp;\n flag = true;\n }\n }\n }\n\n for ( int i = 0; i < 3; i++ ){\n System.out.println(num[i]);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] a){\n int n = 10;\n int[] num = new int[n];\n\n Scanner stdin = new Scanner(System.in);\n for ( int i = 0; i < n; i++ ){\n num[i] = stdin.nextInt();\n }\n\n boolean flag = true;\n while (flag){\n flag = false;\n for ( int j = n-1; j >= 1; j-- ){\n if ( num[j] > num[j-1] ){\n int tmp = num[j];\n num[j] = num[j-1];\n num[j-1] = tmp;\n flag = true;\n }\n }\n }\n\n for ( int i = 0; i < 3; i++ ){\n System.out.println(num[i]);\n }\n }\n}",
"Main",
"public static void main(String[] a){\n int n = 10;\n int[] num = new int[n];\n\n Scanner stdin = new Scanner(System.in);\n for ( int i = 0; i < n; i++ ){\n num[i] = stdin.nextInt();\n }\n\n boolean flag = true;\n while (flag){\n flag = false;\n for ( int j = n-1; j >= 1; j-- ){\n if ( num[j] > num[j-1] ){\n int tmp = num[j];\n num[j] = num[j-1];\n num[j-1] = tmp;\n flag = true;\n }\n }\n }\n\n for ( int i = 0; i < 3; i++ ){\n System.out.println(num[i]);\n }\n }",
"main",
"{\n int n = 10;\n int[] num = new int[n];\n\n Scanner stdin = new Scanner(System.in);\n for ( int i = 0; i < n; i++ ){\n num[i] = stdin.nextInt();\n }\n\n boolean flag = true;\n while (flag){\n flag = false;\n for ( int j = n-1; j >= 1; j-- ){\n if ( num[j] > num[j-1] ){\n int tmp = num[j];\n num[j] = num[j-1];\n num[j-1] = tmp;\n flag = true;\n }\n }\n }\n\n for ( int i = 0; i < 3; i++ ){\n System.out.println(num[i]);\n }\n }",
"int n = 10;",
"n",
"10",
"int[] num = new int[n];",
"num",
"new int[n]",
"n",
"Scanner stdin = new Scanner(System.in);",
"stdin",
"new Scanner(System.in)",
"for ( int i = 0; i < n; i++ ){\n num[i] = stdin.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n num[i] = stdin.nextInt();\n }",
"{\n num[i] = stdin.nextInt();\n }",
"num[i] = stdin.nextInt()",
"num[i]",
"num",
"i",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"boolean flag = true;",
"flag",
"true",
"while (flag){\n flag = false;\n for ( int j = n-1; j >= 1; j-- ){\n if ( num[j] > num[j-1] ){\n int tmp = num[j];\n num[j] = num[j-1];\n num[j-1] = tmp;\n flag = true;\n }\n }\n }",
"flag",
"{\n flag = false;\n for ( int j = n-1; j >= 1; j-- ){\n if ( num[j] > num[j-1] ){\n int tmp = num[j];\n num[j] = num[j-1];\n num[j-1] = tmp;\n flag = true;\n }\n }\n }",
"flag = false",
"flag",
"false",
"for ( int j = n-1; j >= 1; j-- ){\n if ( num[j] > num[j-1] ){\n int tmp = num[j];\n num[j] = num[j-1];\n num[j-1] = tmp;\n flag = true;\n }\n }",
"int j = n-1;",
"int j = n-1;",
"j",
"n-1",
"n",
"1",
"j >= 1",
"j",
"1",
"j--",
"j--",
"j",
"{\n if ( num[j] > num[j-1] ){\n int tmp = num[j];\n num[j] = num[j-1];\n num[j-1] = tmp;\n flag = true;\n }\n }",
"{\n if ( num[j] > num[j-1] ){\n int tmp = num[j];\n num[j] = num[j-1];\n num[j-1] = tmp;\n flag = true;\n }\n }",
"if ( num[j] > num[j-1] ){\n int tmp = num[j];\n num[j] = num[j-1];\n num[j-1] = tmp;\n flag = true;\n }",
"num[j] > num[j-1]",
"num[j]",
"num",
"j",
"num[j-1]",
"num",
"j-1",
"j",
"1",
"{\n int tmp = num[j];\n num[j] = num[j-1];\n num[j-1] = tmp;\n flag = true;\n }",
"int tmp = num[j];",
"tmp",
"num[j]",
"num",
"j",
"num[j] = num[j-1]",
"num[j]",
"num",
"j",
"num[j-1]",
"num",
"j-1",
"j",
"1",
"num[j-1] = tmp",
"num[j-1]",
"num",
"j-1",
"j",
"1",
"tmp",
"flag = true",
"flag",
"true",
"for ( int i = 0; i < 3; i++ ){\n System.out.println(num[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(num[i]);\n }",
"{\n System.out.println(num[i]);\n }",
"System.out.println(num[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"num[i]",
"num",
"i",
"String[] a",
"a"
] | import java.util.*;
class Main{
public static void main(String[] a){
int n = 10;
int[] num = new int[n];
Scanner stdin = new Scanner(System.in);
for ( int i = 0; i < n; i++ ){
num[i] = stdin.nextInt();
}
boolean flag = true;
while (flag){
flag = false;
for ( int j = n-1; j >= 1; j-- ){
if ( num[j] > num[j-1] ){
int tmp = num[j];
num[j] = num[j-1];
num[j-1] = tmp;
flag = true;
}
}
}
for ( int i = 0; i < 3; i++ ){
System.out.println(num[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41,
13,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
18,
13,
13,
0,
13,
2,
13,
17,
42,
2,
2,
13,
17,
2,
18,
13,
13,
13,
30,
0,
18,
13,
2,
13,
17,
18,
13,
13,
40,
13,
0,
18,
13,
2,
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,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
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
],
[
8,
38
],
[
38,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
52,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
52,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
63,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
74,
80
],
[
80,
81
],
[
80,
82
],
[
73,
83
],
[
83,
84
],
[
52,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
85,
91
],
[
8,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
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
],
[
6,
119
],
[
119,
120
]
] | [
"import java.util.Scanner;\n\nclass 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\tint afterData, beforeIndex;\n\t\t\n\t\tfor(int i = 1; i < 10; i++) {\n\t\t\tafterData = data[i];\n\t\t\tbeforeIndex = i - 1;\n\t\t\t\n\t\t\twhile (beforeIndex >= 0 && data[beforeIndex] > afterData) {\n\t\t\t\tdata[beforeIndex + 1] = data[beforeIndex];\n\t\t\t\tbeforeIndex--;\n\t\t\t}\n\n\t\t\tdata[beforeIndex + 1] = afterData;\t\t\t\n\t\t}\n\t\n\t\tSystem.out.println(data[9]);\n\t\tSystem.out.println(data[8]);\t\t\n\t\tSystem.out.println(data[7]);\n\n\t\tscan.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"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\tint afterData, beforeIndex;\n\t\t\n\t\tfor(int i = 1; i < 10; i++) {\n\t\t\tafterData = data[i];\n\t\t\tbeforeIndex = i - 1;\n\t\t\t\n\t\t\twhile (beforeIndex >= 0 && data[beforeIndex] > afterData) {\n\t\t\t\tdata[beforeIndex + 1] = data[beforeIndex];\n\t\t\t\tbeforeIndex--;\n\t\t\t}\n\n\t\t\tdata[beforeIndex + 1] = afterData;\t\t\t\n\t\t}\n\t\n\t\tSystem.out.println(data[9]);\n\t\tSystem.out.println(data[8]);\t\t\n\t\tSystem.out.println(data[7]);\n\n\t\tscan.close();\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\tint afterData, beforeIndex;\n\t\t\n\t\tfor(int i = 1; i < 10; i++) {\n\t\t\tafterData = data[i];\n\t\t\tbeforeIndex = i - 1;\n\t\t\t\n\t\t\twhile (beforeIndex >= 0 && data[beforeIndex] > afterData) {\n\t\t\t\tdata[beforeIndex + 1] = data[beforeIndex];\n\t\t\t\tbeforeIndex--;\n\t\t\t}\n\n\t\t\tdata[beforeIndex + 1] = afterData;\t\t\t\n\t\t}\n\t\n\t\tSystem.out.println(data[9]);\n\t\tSystem.out.println(data[8]);\t\t\n\t\tSystem.out.println(data[7]);\n\n\t\tscan.close();\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\tint afterData, beforeIndex;\n\t\t\n\t\tfor(int i = 1; i < 10; i++) {\n\t\t\tafterData = data[i];\n\t\t\tbeforeIndex = i - 1;\n\t\t\t\n\t\t\twhile (beforeIndex >= 0 && data[beforeIndex] > afterData) {\n\t\t\t\tdata[beforeIndex + 1] = data[beforeIndex];\n\t\t\t\tbeforeIndex--;\n\t\t\t}\n\n\t\t\tdata[beforeIndex + 1] = afterData;\t\t\t\n\t\t}\n\t\n\t\tSystem.out.println(data[9]);\n\t\tSystem.out.println(data[8]);\t\t\n\t\tSystem.out.println(data[7]);\n\n\t\tscan.close();\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",
"int afterData",
"afterData",
"beforeIndex;",
"beforeIndex",
"for(int i = 1; i < 10; i++) {\n\t\t\tafterData = data[i];\n\t\t\tbeforeIndex = i - 1;\n\t\t\t\n\t\t\twhile (beforeIndex >= 0 && data[beforeIndex] > afterData) {\n\t\t\t\tdata[beforeIndex + 1] = data[beforeIndex];\n\t\t\t\tbeforeIndex--;\n\t\t\t}\n\n\t\t\tdata[beforeIndex + 1] = afterData;\t\t\t\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tafterData = data[i];\n\t\t\tbeforeIndex = i - 1;\n\t\t\t\n\t\t\twhile (beforeIndex >= 0 && data[beforeIndex] > afterData) {\n\t\t\t\tdata[beforeIndex + 1] = data[beforeIndex];\n\t\t\t\tbeforeIndex--;\n\t\t\t}\n\n\t\t\tdata[beforeIndex + 1] = afterData;\t\t\t\n\t\t}",
"{\n\t\t\tafterData = data[i];\n\t\t\tbeforeIndex = i - 1;\n\t\t\t\n\t\t\twhile (beforeIndex >= 0 && data[beforeIndex] > afterData) {\n\t\t\t\tdata[beforeIndex + 1] = data[beforeIndex];\n\t\t\t\tbeforeIndex--;\n\t\t\t}\n\n\t\t\tdata[beforeIndex + 1] = afterData;\t\t\t\n\t\t}",
"afterData = data[i]",
"afterData",
"data[i]",
"data",
"i",
"beforeIndex = i - 1",
"beforeIndex",
"i - 1",
"i",
"1",
"while (beforeIndex >= 0 && data[beforeIndex] > afterData) {\n\t\t\t\tdata[beforeIndex + 1] = data[beforeIndex];\n\t\t\t\tbeforeIndex--;\n\t\t\t}",
"beforeIndex >= 0 && data[beforeIndex] > afterData",
"beforeIndex >= 0",
"beforeIndex",
"0",
"data[beforeIndex] > afterData",
"data[beforeIndex]",
"data",
"beforeIndex",
"afterData",
"{\n\t\t\t\tdata[beforeIndex + 1] = data[beforeIndex];\n\t\t\t\tbeforeIndex--;\n\t\t\t}",
"data[beforeIndex + 1] = data[beforeIndex]",
"data[beforeIndex + 1]",
"data",
"beforeIndex + 1",
"beforeIndex",
"1",
"data[beforeIndex]",
"data",
"beforeIndex",
"beforeIndex--",
"beforeIndex",
"data[beforeIndex + 1] = afterData",
"data[beforeIndex + 1]",
"data",
"beforeIndex + 1",
"beforeIndex",
"1",
"afterData",
"System.out.println(data[9])",
"System.out.println",
"System.out",
"System",
"System.out",
"data[9]",
"data",
"9",
"System.out.println(data[8])",
"System.out.println",
"System.out",
"System",
"System.out",
"data[8]",
"data",
"8",
"System.out.println(data[7])",
"System.out.println",
"System.out",
"System",
"System.out",
"data[7]",
"data",
"7",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args"
] | import java.util.Scanner;
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();
}
int afterData, beforeIndex;
for(int i = 1; i < 10; i++) {
afterData = data[i];
beforeIndex = i - 1;
while (beforeIndex >= 0 && data[beforeIndex] > afterData) {
data[beforeIndex + 1] = data[beforeIndex];
beforeIndex--;
}
data[beforeIndex + 1] = afterData;
}
System.out.println(data[9]);
System.out.println(data[8]);
System.out.println(data[7]);
scan.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
13,
17,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
4,
18,
13,
13,
30,
4,
18,
13,
2,
13,
17,
13,
3,
14,
2,
13,
17,
30,
4,
18,
13,
17,
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
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
23,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
41,
45
],
[
30,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
46,
53
],
[
53,
54
],
[
53,
55
],
[
46,
56
],
[
56,
57
],
[
57,
58
],
[
46,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
61,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
72,
74
],
[
69,
75
],
[
68,
76
],
[
61,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
82,
86
],
[
11,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
87,
95
],
[
95,
96
],
[
96,
97
],
[
87,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
9,
109
],
[
109,
110
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\nclass Main\n{\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tArrayList<Integer> h=new ArrayList<Integer>();\n\t\tfor(int i=0;i<10;i++)\n\t\t{\n\t\t\tint buf=sc.nextInt();\n\t\t\tif(i==0){h.add(0,buf);};\n\t\t\tfor(int j=i-1;j>=0;j--)\n\t\t\t{\n\t\t\t\tif(buf<=h.get(j))\n\t\t\t\t{\n\t\t\t\t\th.add(j+1,buf);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(j==0)\n\t\t\t\t{\n\t\t\t\t\th.add(0,buf);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\t\tfor(int i=0;i<3;i++)\n\t\t{\n\t\t\tSystem.out.println(h.get(i));\n\t\t}\n\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main\n{\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tArrayList<Integer> h=new ArrayList<Integer>();\n\t\tfor(int i=0;i<10;i++)\n\t\t{\n\t\t\tint buf=sc.nextInt();\n\t\t\tif(i==0){h.add(0,buf);};\n\t\t\tfor(int j=i-1;j>=0;j--)\n\t\t\t{\n\t\t\t\tif(buf<=h.get(j))\n\t\t\t\t{\n\t\t\t\t\th.add(j+1,buf);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(j==0)\n\t\t\t\t{\n\t\t\t\t\th.add(0,buf);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\t\tfor(int i=0;i<3;i++)\n\t\t{\n\t\t\tSystem.out.println(h.get(i));\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tArrayList<Integer> h=new ArrayList<Integer>();\n\t\tfor(int i=0;i<10;i++)\n\t\t{\n\t\t\tint buf=sc.nextInt();\n\t\t\tif(i==0){h.add(0,buf);};\n\t\t\tfor(int j=i-1;j>=0;j--)\n\t\t\t{\n\t\t\t\tif(buf<=h.get(j))\n\t\t\t\t{\n\t\t\t\t\th.add(j+1,buf);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(j==0)\n\t\t\t\t{\n\t\t\t\t\th.add(0,buf);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\t\tfor(int i=0;i<3;i++)\n\t\t{\n\t\t\tSystem.out.println(h.get(i));\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tArrayList<Integer> h=new ArrayList<Integer>();\n\t\tfor(int i=0;i<10;i++)\n\t\t{\n\t\t\tint buf=sc.nextInt();\n\t\t\tif(i==0){h.add(0,buf);};\n\t\t\tfor(int j=i-1;j>=0;j--)\n\t\t\t{\n\t\t\t\tif(buf<=h.get(j))\n\t\t\t\t{\n\t\t\t\t\th.add(j+1,buf);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(j==0)\n\t\t\t\t{\n\t\t\t\t\th.add(0,buf);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\t\tfor(int i=0;i<3;i++)\n\t\t{\n\t\t\tSystem.out.println(h.get(i));\n\t\t}\n\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> h=new ArrayList<Integer>();",
"h",
"new ArrayList<Integer>()",
"for(int i=0;i<10;i++)\n\t\t{\n\t\t\tint buf=sc.nextInt();\n\t\t\tif(i==0){h.add(0,buf);};\n\t\t\tfor(int j=i-1;j>=0;j--)\n\t\t\t{\n\t\t\t\tif(buf<=h.get(j))\n\t\t\t\t{\n\t\t\t\t\th.add(j+1,buf);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(j==0)\n\t\t\t\t{\n\t\t\t\t\th.add(0,buf);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tint buf=sc.nextInt();\n\t\t\tif(i==0){h.add(0,buf);};\n\t\t\tfor(int j=i-1;j>=0;j--)\n\t\t\t{\n\t\t\t\tif(buf<=h.get(j))\n\t\t\t\t{\n\t\t\t\t\th.add(j+1,buf);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(j==0)\n\t\t\t\t{\n\t\t\t\t\th.add(0,buf);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}",
"{\n\t\t\tint buf=sc.nextInt();\n\t\t\tif(i==0){h.add(0,buf);};\n\t\t\tfor(int j=i-1;j>=0;j--)\n\t\t\t{\n\t\t\t\tif(buf<=h.get(j))\n\t\t\t\t{\n\t\t\t\t\th.add(j+1,buf);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(j==0)\n\t\t\t\t{\n\t\t\t\t\th.add(0,buf);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}",
"int buf=sc.nextInt();",
"buf",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(i==0){h.add(0,buf);}",
"i==0",
"i",
"0",
"{h.add(0,buf);}",
"h.add(0,buf)",
"h.add",
"h",
"0",
"buf",
"for(int j=i-1;j>=0;j--)\n\t\t\t{\n\t\t\t\tif(buf<=h.get(j))\n\t\t\t\t{\n\t\t\t\t\th.add(j+1,buf);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(j==0)\n\t\t\t\t{\n\t\t\t\t\th.add(0,buf);\n\t\t\t\t}\n\n\t\t\t}",
"int j=i-1;",
"int j=i-1;",
"j",
"i-1",
"i",
"1",
"j>=0",
"j",
"0",
"j--",
"j--",
"j",
"{\n\t\t\t\tif(buf<=h.get(j))\n\t\t\t\t{\n\t\t\t\t\th.add(j+1,buf);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(j==0)\n\t\t\t\t{\n\t\t\t\t\th.add(0,buf);\n\t\t\t\t}\n\n\t\t\t}",
"{\n\t\t\t\tif(buf<=h.get(j))\n\t\t\t\t{\n\t\t\t\t\th.add(j+1,buf);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(j==0)\n\t\t\t\t{\n\t\t\t\t\th.add(0,buf);\n\t\t\t\t}\n\n\t\t\t}",
"if(buf<=h.get(j))\n\t\t\t\t{\n\t\t\t\t\th.add(j+1,buf);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(j==0)\n\t\t\t\t{\n\t\t\t\t\th.add(0,buf);\n\t\t\t\t}",
"buf<=h.get(j)",
"buf",
"h.get(j)",
"h.get",
"h",
"j",
"{\n\t\t\t\t\th.add(j+1,buf);\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"h.add(j+1,buf)",
"h.add",
"h",
"j+1",
"j",
"1",
"buf",
"break;",
"if(j==0)\n\t\t\t\t{\n\t\t\t\t\th.add(0,buf);\n\t\t\t\t}",
"j==0",
"j",
"0",
"{\n\t\t\t\t\th.add(0,buf);\n\t\t\t\t}",
"h.add(0,buf)",
"h.add",
"h",
"0",
"buf",
"for(int i=0;i<3;i++)\n\t\t{\n\t\t\tSystem.out.println(h.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(h.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(h.get(i));\n\t\t}",
"System.out.println(h.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"h.get(i)",
"h.get",
"h",
"i",
"String[] args",
"args"
] | import java.util.ArrayList;
import java.util.Scanner;
class Main
{
public static void main(String[] args)
{
Scanner sc=new Scanner(System.in);
ArrayList<Integer> h=new ArrayList<Integer>();
for(int i=0;i<10;i++)
{
int buf=sc.nextInt();
if(i==0){h.add(0,buf);};
for(int j=i-1;j>=0;j--)
{
if(buf<=h.get(j))
{
h.add(j+1,buf);
break;
}
else if(j==0)
{
h.add(0,buf);
}
}
}
for(int i=0;i<3;i++)
{
System.out.println(h.get(i));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
39,
17,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
38,
5,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
17,
18,
13,
13,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
13,
14,
2,
18,
13,
17,
18,
13,
13,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
13,
14,
2,
18,
13,
17,
18,
13,
13,
30,
0,
18,
13,
17,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
160,
5
],
[
160,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
18,
20
],
[
18,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
50,
60
],
[
60,
61
],
[
61,
62
],
[
50,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
85,
87
],
[
73,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
65,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
100,
101
],
[
100,
102
],
[
95,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
108,
110
],
[
103,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
115,
116
],
[
115,
117
],
[
95,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
123,
124
],
[
123,
125
],
[
118,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
127,
131
],
[
131,
132
],
[
131,
133
],
[
8,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
134,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
141,
143
],
[
134,
144
],
[
144,
145
],
[
145,
146
],
[
134,
147
],
[
148,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
149,
154
],
[
154,
155
],
[
154,
156
],
[
6,
157
],
[
157,
158
],
[
0,
159
],
[
159,
160
],
[
159,
161
]
] | [
"import java.io.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tint height[] = new int[10];\n\t\tint out[] = {0,0,0}; \n\t\tfor(int i = 0; i < 10; i++){\n\t\t\ttry{\n\t\t\t\theight[i] = Integer.parseInt(in.readLine());\n//\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}catch(IOException e){}\n\t\t}\n\t\tfor(int i = 0; i < height.length; i++){\n\t\t\tif(out[0] < height[i] ){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = out[0];\n\t\t\t\tout[0] = height[i];\n\t\t\t}else if(out[1] < height[i]){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = height[i];\n\t\t\t}else if(out[2] < height[i]){\n\t\t\t\tout[2] = height[i];\n\t\t\t}\n\t\t}\n\t\t//out?????°????????????\n\t\tfor(int i = 0; i < out.length; i++){\n\t\t\tSystem.out.println(out[i]);\n\t\t}\n\t}\n\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tint height[] = new int[10];\n\t\tint out[] = {0,0,0}; \n\t\tfor(int i = 0; i < 10; i++){\n\t\t\ttry{\n\t\t\t\theight[i] = Integer.parseInt(in.readLine());\n//\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}catch(IOException e){}\n\t\t}\n\t\tfor(int i = 0; i < height.length; i++){\n\t\t\tif(out[0] < height[i] ){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = out[0];\n\t\t\t\tout[0] = height[i];\n\t\t\t}else if(out[1] < height[i]){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = height[i];\n\t\t\t}else if(out[2] < height[i]){\n\t\t\t\tout[2] = height[i];\n\t\t\t}\n\t\t}\n\t\t//out?????°????????????\n\t\tfor(int i = 0; i < out.length; i++){\n\t\t\tSystem.out.println(out[i]);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tint height[] = new int[10];\n\t\tint out[] = {0,0,0}; \n\t\tfor(int i = 0; i < 10; i++){\n\t\t\ttry{\n\t\t\t\theight[i] = Integer.parseInt(in.readLine());\n//\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}catch(IOException e){}\n\t\t}\n\t\tfor(int i = 0; i < height.length; i++){\n\t\t\tif(out[0] < height[i] ){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = out[0];\n\t\t\t\tout[0] = height[i];\n\t\t\t}else if(out[1] < height[i]){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = height[i];\n\t\t\t}else if(out[2] < height[i]){\n\t\t\t\tout[2] = height[i];\n\t\t\t}\n\t\t}\n\t\t//out?????°????????????\n\t\tfor(int i = 0; i < out.length; i++){\n\t\t\tSystem.out.println(out[i]);\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tint height[] = new int[10];\n\t\tint out[] = {0,0,0}; \n\t\tfor(int i = 0; i < 10; i++){\n\t\t\ttry{\n\t\t\t\theight[i] = Integer.parseInt(in.readLine());\n//\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}catch(IOException e){}\n\t\t}\n\t\tfor(int i = 0; i < height.length; i++){\n\t\t\tif(out[0] < height[i] ){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = out[0];\n\t\t\t\tout[0] = height[i];\n\t\t\t}else if(out[1] < height[i]){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = height[i];\n\t\t\t}else if(out[2] < height[i]){\n\t\t\t\tout[2] = height[i];\n\t\t\t}\n\t\t}\n\t\t//out?????°????????????\n\t\tfor(int i = 0; i < out.length; i++){\n\t\t\tSystem.out.println(out[i]);\n\t\t}\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"int height[] = new int[10];",
"height",
"new int[10]",
"10",
"int out[] = {0,0,0};",
"out",
"{0,0,0}",
"0",
"0",
"0",
"for(int i = 0; i < 10; i++){\n\t\t\ttry{\n\t\t\t\theight[i] = Integer.parseInt(in.readLine());\n//\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}catch(IOException e){}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\ttry{\n\t\t\t\theight[i] = Integer.parseInt(in.readLine());\n//\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}catch(IOException e){}\n\t\t}",
"{\n\t\t\ttry{\n\t\t\t\theight[i] = Integer.parseInt(in.readLine());\n//\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}catch(IOException e){}\n\t\t}",
"try{\n\t\t\t\theight[i] = Integer.parseInt(in.readLine());\n//\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}catch(IOException e){}",
"catch(IOException e){}",
"IOException e",
"{}",
"{\n\t\t\t\theight[i] = Integer.parseInt(in.readLine());\n//\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}",
"height[i] = Integer.parseInt(in.readLine())",
"height[i]",
"height",
"i",
"Integer.parseInt(in.readLine())",
"Integer.parseInt",
"Integer",
"in.readLine()",
"in.readLine",
"in",
"for(int i = 0; i < height.length; i++){\n\t\t\tif(out[0] < height[i] ){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = out[0];\n\t\t\t\tout[0] = height[i];\n\t\t\t}else if(out[1] < height[i]){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = height[i];\n\t\t\t}else if(out[2] < height[i]){\n\t\t\t\tout[2] = height[i];\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < height.length",
"i",
"height.length",
"height",
"height.length",
"i++",
"i++",
"i",
"{\n\t\t\tif(out[0] < height[i] ){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = out[0];\n\t\t\t\tout[0] = height[i];\n\t\t\t}else if(out[1] < height[i]){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = height[i];\n\t\t\t}else if(out[2] < height[i]){\n\t\t\t\tout[2] = height[i];\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(out[0] < height[i] ){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = out[0];\n\t\t\t\tout[0] = height[i];\n\t\t\t}else if(out[1] < height[i]){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = height[i];\n\t\t\t}else if(out[2] < height[i]){\n\t\t\t\tout[2] = height[i];\n\t\t\t}\n\t\t}",
"if(out[0] < height[i] ){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = out[0];\n\t\t\t\tout[0] = height[i];\n\t\t\t}else if(out[1] < height[i]){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = height[i];\n\t\t\t}else if(out[2] < height[i]){\n\t\t\t\tout[2] = height[i];\n\t\t\t}",
"out[0] < height[i]",
"out[0]",
"out",
"0",
"height[i]",
"height",
"i",
"{\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = out[0];\n\t\t\t\tout[0] = height[i];\n\t\t\t}",
"out[2] = out[1]",
"out[2]",
"out",
"2",
"out[1]",
"out",
"1",
"out[1] = out[0]",
"out[1]",
"out",
"1",
"out[0]",
"out",
"0",
"out[0] = height[i]",
"out[0]",
"out",
"0",
"height[i]",
"height",
"i",
"if(out[1] < height[i]){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = height[i];\n\t\t\t}else if(out[2] < height[i]){\n\t\t\t\tout[2] = height[i];\n\t\t\t}",
"out[1] < height[i]",
"out[1]",
"out",
"1",
"height[i]",
"height",
"i",
"{\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = height[i];\n\t\t\t}",
"out[2] = out[1]",
"out[2]",
"out",
"2",
"out[1]",
"out",
"1",
"out[1] = height[i]",
"out[1]",
"out",
"1",
"height[i]",
"height",
"i",
"if(out[2] < height[i]){\n\t\t\t\tout[2] = height[i];\n\t\t\t}",
"out[2] < height[i]",
"out[2]",
"out",
"2",
"height[i]",
"height",
"i",
"{\n\t\t\t\tout[2] = height[i];\n\t\t\t}",
"out[2] = height[i]",
"out[2]",
"out",
"2",
"height[i]",
"height",
"i",
"for(int i = 0; i < out.length; i++){\n\t\t\tSystem.out.println(out[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < out.length",
"i",
"out.length",
"out",
"out.length",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(out[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(out[i]);\n\t\t}",
"System.out.println(out[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"out[i]",
"out",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tint height[] = new int[10];\n\t\tint out[] = {0,0,0}; \n\t\tfor(int i = 0; i < 10; i++){\n\t\t\ttry{\n\t\t\t\theight[i] = Integer.parseInt(in.readLine());\n//\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}catch(IOException e){}\n\t\t}\n\t\tfor(int i = 0; i < height.length; i++){\n\t\t\tif(out[0] < height[i] ){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = out[0];\n\t\t\t\tout[0] = height[i];\n\t\t\t}else if(out[1] < height[i]){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = height[i];\n\t\t\t}else if(out[2] < height[i]){\n\t\t\t\tout[2] = height[i];\n\t\t\t}\n\t\t}\n\t\t//out?????°????????????\n\t\tfor(int i = 0; i < out.length; i++){\n\t\t\tSystem.out.println(out[i]);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tint height[] = new int[10];\n\t\tint out[] = {0,0,0}; \n\t\tfor(int i = 0; i < 10; i++){\n\t\t\ttry{\n\t\t\t\theight[i] = Integer.parseInt(in.readLine());\n//\t\t\t\tSystem.out.println(height[i]);\n\t\t\t}catch(IOException e){}\n\t\t}\n\t\tfor(int i = 0; i < height.length; i++){\n\t\t\tif(out[0] < height[i] ){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = out[0];\n\t\t\t\tout[0] = height[i];\n\t\t\t}else if(out[1] < height[i]){\n\t\t\t\tout[2] = out[1];\n\t\t\t\tout[1] = height[i];\n\t\t\t}else if(out[2] < height[i]){\n\t\t\t\tout[2] = height[i];\n\t\t\t}\n\t\t}\n\t\t//out?????°????????????\n\t\tfor(int i = 0; i < out.length; i++){\n\t\t\tSystem.out.println(out[i]);\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
int height[] = new int[10];
int out[] = {0,0,0};
for(int i = 0; i < 10; i++){
try{
height[i] = Integer.parseInt(in.readLine());
// System.out.println(height[i]);
}catch(IOException e){}
}
for(int i = 0; i < height.length; i++){
if(out[0] < height[i] ){
out[2] = out[1];
out[1] = out[0];
out[0] = height[i];
}else if(out[1] < height[i]){
out[2] = out[1];
out[1] = height[i];
}else if(out[2] < height[i]){
out[2] = height[i];
}
}
//out?????°????????????
for(int i = 0; i < out.length; i++){
System.out.println(out[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13,
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
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
11,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
11,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
11,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
9,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] | [
"import java.io.*;\nimport java.util.*;\n\npublic class Main\n{\n\tpublic static void main(String[] args) throws Exception\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] arr = new int[10];\n\t\tfor (int i = 0; i < 10; ++i){\n\t\t\tarr[i] = scan.nextInt();\n\t\t\t//System.out.println();\n\t\t}\n\t\tArrays.sort(arr);\n\t\tSystem.out.println(arr[9]);\n\t\tSystem.out.println(arr[8]);\n\t\tSystem.out.println(arr[7]);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n\tpublic static void main(String[] args) throws Exception\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] arr = new int[10];\n\t\tfor (int i = 0; i < 10; ++i){\n\t\t\tarr[i] = scan.nextInt();\n\t\t\t//System.out.println();\n\t\t}\n\t\tArrays.sort(arr);\n\t\tSystem.out.println(arr[9]);\n\t\tSystem.out.println(arr[8]);\n\t\tSystem.out.println(arr[7]);\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] arr = new int[10];\n\t\tfor (int i = 0; i < 10; ++i){\n\t\t\tarr[i] = scan.nextInt();\n\t\t\t//System.out.println();\n\t\t}\n\t\tArrays.sort(arr);\n\t\tSystem.out.println(arr[9]);\n\t\tSystem.out.println(arr[8]);\n\t\tSystem.out.println(arr[7]);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] arr = new int[10];\n\t\tfor (int i = 0; i < 10; ++i){\n\t\t\tarr[i] = scan.nextInt();\n\t\t\t//System.out.println();\n\t\t}\n\t\tArrays.sort(arr);\n\t\tSystem.out.println(arr[9]);\n\t\tSystem.out.println(arr[8]);\n\t\tSystem.out.println(arr[7]);\n\t}",
"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\t\t\tarr[i] = scan.nextInt();\n\t\t\t//System.out.println();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"++i",
"++i",
"i",
"{\n\t\t\tarr[i] = scan.nextInt();\n\t\t\t//System.out.println();\n\t\t}",
"{\n\t\t\tarr[i] = scan.nextInt();\n\t\t\t//System.out.println();\n\t\t}",
"arr[i] = scan.nextInt()",
"arr[i]",
"arr",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"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{\n\tpublic static void main(String[] args) throws Exception\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] arr = new int[10];\n\t\tfor (int i = 0; i < 10; ++i){\n\t\t\tarr[i] = scan.nextInt();\n\t\t\t//System.out.println();\n\t\t}\n\t\tArrays.sort(arr);\n\t\tSystem.out.println(arr[9]);\n\t\tSystem.out.println(arr[8]);\n\t\tSystem.out.println(arr[7]);\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args) throws Exception\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] arr = new int[10];\n\t\tfor (int i = 0; i < 10; ++i){\n\t\t\tarr[i] = scan.nextInt();\n\t\t\t//System.out.println();\n\t\t}\n\t\tArrays.sort(arr);\n\t\tSystem.out.println(arr[9]);\n\t\tSystem.out.println(arr[8]);\n\t\tSystem.out.println(arr[7]);\n\t}\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main
{
public static void main(String[] args) throws Exception
{
Scanner scan = new Scanner(System.in);
int[] arr = new int[10];
for (int i = 0; i < 10; ++i){
arr[i] = scan.nextInt();
//System.out.println();
}
Arrays.sort(arr);
System.out.println(arr[9]);
System.out.println(arr[8]);
System.out.println(arr[7]);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
20,
38,
5,
13,
30,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
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,
0,
13,
4,
18,
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
],
[
111,
5
],
[
111,
6
],
[
6,
7
],
[
6,
8
],
[
111,
9
],
[
9,
10
],
[
9,
11
],
[
111,
12
],
[
12,
13
],
[
12,
14
],
[
111,
15
],
[
15,
16
],
[
15,
17
],
[
111,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
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
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
49,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
60,
67
],
[
67,
68
],
[
67,
69
],
[
56,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
70,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
49,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
20,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
102,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
100,
106
],
[
102,
107
],
[
18,
108
],
[
108,
109
],
[
0,
110
],
[
110,
111
],
[
110,
112
]
] | [
"import java.io.*;\n\npublic class Main{\n\n\tstatic int first = 0;\n\tstatic int second = 0;\n\tstatic int third = 0;\n\tstatic int tmp = 0;\n\t\n\tpublic static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try{\n \t String buf = br.readLine();\n \t for(int i = 0; i <= 9; i++){\n \t tmp = Integer.parseInt(buf);\n \t \t if(first <= tmp){\n \t \t\t third = second;\n \t \t\t second = first;\n \t \t\t first = tmp;\n \t \t }else if(second <= tmp){\n \t \t\t third = second;\n \t \t\t second = tmp;\n \t \t }else if(third <= tmp){\n \t \t\t third = tmp;\n \t \t }\n \t \t buf = br.readLine();\n \t } \t \n }catch(Exception e){\n \t\n } \n System.out.println(first+\"\\n\"+second+\"\\n\"+third);\n\t}\n\t\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\n\tstatic int first = 0;\n\tstatic int second = 0;\n\tstatic int third = 0;\n\tstatic int tmp = 0;\n\t\n\tpublic static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try{\n \t String buf = br.readLine();\n \t for(int i = 0; i <= 9; i++){\n \t tmp = Integer.parseInt(buf);\n \t \t if(first <= tmp){\n \t \t\t third = second;\n \t \t\t second = first;\n \t \t\t first = tmp;\n \t \t }else if(second <= tmp){\n \t \t\t third = second;\n \t \t\t second = tmp;\n \t \t }else if(third <= tmp){\n \t \t\t third = tmp;\n \t \t }\n \t \t buf = br.readLine();\n \t } \t \n }catch(Exception e){\n \t\n } \n System.out.println(first+\"\\n\"+second+\"\\n\"+third);\n\t}\n\t\n}",
"Main",
"static int first = 0;",
"first",
"0",
"static int second = 0;",
"second",
"0",
"static int third = 0;",
"third",
"0",
"static int tmp = 0;",
"tmp",
"0",
"public static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try{\n \t String buf = br.readLine();\n \t for(int i = 0; i <= 9; i++){\n \t tmp = Integer.parseInt(buf);\n \t \t if(first <= tmp){\n \t \t\t third = second;\n \t \t\t second = first;\n \t \t\t first = tmp;\n \t \t }else if(second <= tmp){\n \t \t\t third = second;\n \t \t\t second = tmp;\n \t \t }else if(third <= tmp){\n \t \t\t third = tmp;\n \t \t }\n \t \t buf = br.readLine();\n \t } \t \n }catch(Exception e){\n \t\n } \n System.out.println(first+\"\\n\"+second+\"\\n\"+third);\n\t}",
"main",
"{\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try{\n \t String buf = br.readLine();\n \t for(int i = 0; i <= 9; i++){\n \t tmp = Integer.parseInt(buf);\n \t \t if(first <= tmp){\n \t \t\t third = second;\n \t \t\t second = first;\n \t \t\t first = tmp;\n \t \t }else if(second <= tmp){\n \t \t\t third = second;\n \t \t\t second = tmp;\n \t \t }else if(third <= tmp){\n \t \t\t third = tmp;\n \t \t }\n \t \t buf = br.readLine();\n \t } \t \n }catch(Exception e){\n \t\n } \n System.out.println(first+\"\\n\"+second+\"\\n\"+third);\n\t}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"try{\n \t String buf = br.readLine();\n \t for(int i = 0; i <= 9; i++){\n \t tmp = Integer.parseInt(buf);\n \t \t if(first <= tmp){\n \t \t\t third = second;\n \t \t\t second = first;\n \t \t\t first = tmp;\n \t \t }else if(second <= tmp){\n \t \t\t third = second;\n \t \t\t second = tmp;\n \t \t }else if(third <= tmp){\n \t \t\t third = tmp;\n \t \t }\n \t \t buf = br.readLine();\n \t } \t \n }catch(Exception e){\n \t\n }",
"catch(Exception e){\n \t\n }",
"Exception e",
"{\n \t\n }",
"{\n \t String buf = br.readLine();\n \t for(int i = 0; i <= 9; i++){\n \t tmp = Integer.parseInt(buf);\n \t \t if(first <= tmp){\n \t \t\t third = second;\n \t \t\t second = first;\n \t \t\t first = tmp;\n \t \t }else if(second <= tmp){\n \t \t\t third = second;\n \t \t\t second = tmp;\n \t \t }else if(third <= tmp){\n \t \t\t third = tmp;\n \t \t }\n \t \t buf = br.readLine();\n \t } \t \n }",
"String buf = br.readLine();",
"buf",
"br.readLine()",
"br.readLine",
"br",
"for(int i = 0; i <= 9; i++){\n \t tmp = Integer.parseInt(buf);\n \t \t if(first <= tmp){\n \t \t\t third = second;\n \t \t\t second = first;\n \t \t\t first = tmp;\n \t \t }else if(second <= tmp){\n \t \t\t third = second;\n \t \t\t second = tmp;\n \t \t }else if(third <= tmp){\n \t \t\t third = tmp;\n \t \t }\n \t \t buf = br.readLine();\n \t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= 9",
"i",
"9",
"i++",
"i++",
"i",
"{\n \t tmp = Integer.parseInt(buf);\n \t \t if(first <= tmp){\n \t \t\t third = second;\n \t \t\t second = first;\n \t \t\t first = tmp;\n \t \t }else if(second <= tmp){\n \t \t\t third = second;\n \t \t\t second = tmp;\n \t \t }else if(third <= tmp){\n \t \t\t third = tmp;\n \t \t }\n \t \t buf = br.readLine();\n \t }",
"{\n \t tmp = Integer.parseInt(buf);\n \t \t if(first <= tmp){\n \t \t\t third = second;\n \t \t\t second = first;\n \t \t\t first = tmp;\n \t \t }else if(second <= tmp){\n \t \t\t third = second;\n \t \t\t second = tmp;\n \t \t }else if(third <= tmp){\n \t \t\t third = tmp;\n \t \t }\n \t \t buf = br.readLine();\n \t }",
"tmp = Integer.parseInt(buf)",
"tmp",
"Integer.parseInt(buf)",
"Integer.parseInt",
"Integer",
"buf",
"if(first <= tmp){\n \t \t\t third = second;\n \t \t\t second = first;\n \t \t\t first = tmp;\n \t \t }else if(second <= tmp){\n \t \t\t third = second;\n \t \t\t second = tmp;\n \t \t }else if(third <= tmp){\n \t \t\t third = tmp;\n \t \t }",
"first <= tmp",
"first",
"tmp",
"{\n \t \t\t third = second;\n \t \t\t second = first;\n \t \t\t first = tmp;\n \t \t }",
"third = second",
"third",
"second",
"second = first",
"second",
"first",
"first = tmp",
"first",
"tmp",
"if(second <= tmp){\n \t \t\t third = second;\n \t \t\t second = tmp;\n \t \t }else if(third <= tmp){\n \t \t\t third = tmp;\n \t \t }",
"second <= tmp",
"second",
"tmp",
"{\n \t \t\t third = second;\n \t \t\t second = tmp;\n \t \t }",
"third = second",
"third",
"second",
"second = tmp",
"second",
"tmp",
"if(third <= tmp){\n \t \t\t third = tmp;\n \t \t }",
"third <= tmp",
"third",
"tmp",
"{\n \t \t\t third = tmp;\n \t \t }",
"third = tmp",
"third",
"tmp",
"buf = br.readLine()",
"buf",
"br.readLine()",
"br.readLine",
"br",
"System.out.println(first+\"\\n\"+second+\"\\n\"+third)",
"System.out.println",
"System.out",
"System",
"System.out",
"first+\"\\n\"+second+\"\\n\"+third",
"\"\\n\"",
"second",
"first+\"\\n\"+second+\"\\n\"+third",
"first",
"\"\\n\"",
"second",
"\"\\n\"",
"third",
"String[] args",
"args",
"public class Main{\n\n\tstatic int first = 0;\n\tstatic int second = 0;\n\tstatic int third = 0;\n\tstatic int tmp = 0;\n\t\n\tpublic static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try{\n \t String buf = br.readLine();\n \t for(int i = 0; i <= 9; i++){\n \t tmp = Integer.parseInt(buf);\n \t \t if(first <= tmp){\n \t \t\t third = second;\n \t \t\t second = first;\n \t \t\t first = tmp;\n \t \t }else if(second <= tmp){\n \t \t\t third = second;\n \t \t\t second = tmp;\n \t \t }else if(third <= tmp){\n \t \t\t third = tmp;\n \t \t }\n \t \t buf = br.readLine();\n \t } \t \n }catch(Exception e){\n \t\n } \n System.out.println(first+\"\\n\"+second+\"\\n\"+third);\n\t}\n\t\n}",
"public class Main{\n\n\tstatic int first = 0;\n\tstatic int second = 0;\n\tstatic int third = 0;\n\tstatic int tmp = 0;\n\t\n\tpublic static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try{\n \t String buf = br.readLine();\n \t for(int i = 0; i <= 9; i++){\n \t tmp = Integer.parseInt(buf);\n \t \t if(first <= tmp){\n \t \t\t third = second;\n \t \t\t second = first;\n \t \t\t first = tmp;\n \t \t }else if(second <= tmp){\n \t \t\t third = second;\n \t \t\t second = tmp;\n \t \t }else if(third <= tmp){\n \t \t\t third = tmp;\n \t \t }\n \t \t buf = br.readLine();\n \t } \t \n }catch(Exception e){\n \t\n } \n System.out.println(first+\"\\n\"+second+\"\\n\"+third);\n\t}\n\t\n}",
"Main"
] | import java.io.*;
public class Main{
static int first = 0;
static int second = 0;
static int third = 0;
static int tmp = 0;
public static void main(String[] args) {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
try{
String buf = br.readLine();
for(int i = 0; i <= 9; i++){
tmp = Integer.parseInt(buf);
if(first <= tmp){
third = second;
second = first;
first = tmp;
}else if(second <= tmp){
third = second;
second = tmp;
}else if(third <= tmp){
third = tmp;
}
buf = br.readLine();
}
}catch(Exception e){
}
System.out.println(first+"\n"+second+"\n"+third);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
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
],
[
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
],
[
55,
56
],
[
55,
57
],
[
51,
58
],
[
58,
59
],
[
58,
60
],
[
51,
61
],
[
61,
62
],
[
62,
63
],
[
51,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
74,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
84,
86
],
[
74,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
8,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
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
],
[
6,
116
],
[
116,
117
]
] | [
"import java.util.Scanner;\n\nclass Main {\n public static void main( String args[] ) {\n\n Scanner scan = new Scanner(System.in);\n\n\n int[] input = new int[10];\n int x;\n for( int i = 0; i < 10; i++ ) {\n input[i] = scan.nextInt();\n }\n\n for( int i = 0; i < 10; i++ ) {\n for( int r = i+1; r < 10; r++ ) {\n if( input[i] < input[r] ) {\n x = input[i];\n input[i] = input[r];\n input[r] = x;\n }\n }\n }\n\n System.out.println( input[0] );\n System.out.println( input[1] );\n System.out.println( input[2] );\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main( String args[] ) {\n\n Scanner scan = new Scanner(System.in);\n\n\n int[] input = new int[10];\n int x;\n for( int i = 0; i < 10; i++ ) {\n input[i] = scan.nextInt();\n }\n\n for( int i = 0; i < 10; i++ ) {\n for( int r = i+1; r < 10; r++ ) {\n if( input[i] < input[r] ) {\n x = input[i];\n input[i] = input[r];\n input[r] = x;\n }\n }\n }\n\n System.out.println( input[0] );\n System.out.println( input[1] );\n System.out.println( input[2] );\n\n }\n}",
"Main",
"public static void main( String args[] ) {\n\n Scanner scan = new Scanner(System.in);\n\n\n int[] input = new int[10];\n int x;\n for( int i = 0; i < 10; i++ ) {\n input[i] = scan.nextInt();\n }\n\n for( int i = 0; i < 10; i++ ) {\n for( int r = i+1; r < 10; r++ ) {\n if( input[i] < input[r] ) {\n x = input[i];\n input[i] = input[r];\n input[r] = x;\n }\n }\n }\n\n System.out.println( input[0] );\n System.out.println( input[1] );\n System.out.println( input[2] );\n\n }",
"main",
"{\n\n Scanner scan = new Scanner(System.in);\n\n\n int[] input = new int[10];\n int x;\n for( int i = 0; i < 10; i++ ) {\n input[i] = scan.nextInt();\n }\n\n for( int i = 0; i < 10; i++ ) {\n for( int r = i+1; r < 10; r++ ) {\n if( input[i] < input[r] ) {\n x = input[i];\n input[i] = input[r];\n input[r] = x;\n }\n }\n }\n\n System.out.println( input[0] );\n System.out.println( input[1] );\n System.out.println( input[2] );\n\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] input = new int[10];",
"input",
"new int[10]",
"10",
"int x;",
"x",
"for( int i = 0; i < 10; i++ ) {\n input[i] = scan.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n input[i] = scan.nextInt();\n }",
"{\n input[i] = scan.nextInt();\n }",
"input[i] = scan.nextInt()",
"input[i]",
"input",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for( int i = 0; i < 10; i++ ) {\n for( int r = i+1; r < 10; r++ ) {\n if( input[i] < input[r] ) {\n x = input[i];\n input[i] = input[r];\n input[r] = x;\n }\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n for( int r = i+1; r < 10; r++ ) {\n if( input[i] < input[r] ) {\n x = input[i];\n input[i] = input[r];\n input[r] = x;\n }\n }\n }",
"{\n for( int r = i+1; r < 10; r++ ) {\n if( input[i] < input[r] ) {\n x = input[i];\n input[i] = input[r];\n input[r] = x;\n }\n }\n }",
"for( int r = i+1; r < 10; r++ ) {\n if( input[i] < input[r] ) {\n x = input[i];\n input[i] = input[r];\n input[r] = x;\n }\n }",
"int r = i+1;",
"int r = i+1;",
"r",
"i+1",
"i",
"1",
"r < 10",
"r",
"10",
"r++",
"r++",
"r",
"{\n if( input[i] < input[r] ) {\n x = input[i];\n input[i] = input[r];\n input[r] = x;\n }\n }",
"{\n if( input[i] < input[r] ) {\n x = input[i];\n input[i] = input[r];\n input[r] = x;\n }\n }",
"if( input[i] < input[r] ) {\n x = input[i];\n input[i] = input[r];\n input[r] = x;\n }",
"input[i] < input[r]",
"input[i]",
"input",
"i",
"input[r]",
"input",
"r",
"{\n x = input[i];\n input[i] = input[r];\n input[r] = x;\n }",
"x = input[i]",
"x",
"input[i]",
"input",
"i",
"input[i] = input[r]",
"input[i]",
"input",
"i",
"input[r]",
"input",
"r",
"input[r] = x",
"input[r]",
"input",
"r",
"x",
"System.out.println( input[0] )",
"System.out.println",
"System.out",
"System",
"System.out",
"input[0]",
"input",
"0",
"System.out.println( input[1] )",
"System.out.println",
"System.out",
"System",
"System.out",
"input[1]",
"input",
"1",
"System.out.println( input[2] )",
"System.out.println",
"System.out",
"System",
"System.out",
"input[2]",
"input",
"2",
"String args[]",
"args"
] | import java.util.Scanner;
class Main {
public static void main( String args[] ) {
Scanner scan = new Scanner(System.in);
int[] input = new int[10];
int x;
for( int i = 0; i < 10; i++ ) {
input[i] = scan.nextInt();
}
for( int i = 0; i < 10; i++ ) {
for( int r = i+1; r < 10; r++ ) {
if( input[i] < input[r] ) {
x = input[i];
input[i] = input[r];
input[r] = x;
}
}
}
System.out.println( input[0] );
System.out.println( input[1] );
System.out.println( input[2] );
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
18,
13,
13,
4,
18,
13,
13,
40,
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,
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
],
[
78,
14
],
[
78,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
28
],
[
28,
29
],
[
28,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
39,
48
],
[
48,
49
],
[
17,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
17,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
54,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
15,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
] | [
"import 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[] a) throws IOException{\n \t;\n \tString strLine =\"\";\n \tBufferedReader stdReader =\n new BufferedReader(new InputStreamReader(System.in));\n\n \tInteger[] hill = new Integer[10];\n \tint i = 0;\n\n \twhile((strLine = stdReader.readLine()) != null){\n \t\thill[i] = Integer.parseInt(strLine);\n \t\ti++;\n \t}\n\n \tArrays.sort(hill);\n\n \tfor(i = 9; i >= 7; i--){\n \t\tSystem.out.println(hill[i]);\n \t}\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[] a) throws IOException{\n \t;\n \tString strLine =\"\";\n \tBufferedReader stdReader =\n new BufferedReader(new InputStreamReader(System.in));\n\n \tInteger[] hill = new Integer[10];\n \tint i = 0;\n\n \twhile((strLine = stdReader.readLine()) != null){\n \t\thill[i] = Integer.parseInt(strLine);\n \t\ti++;\n \t}\n\n \tArrays.sort(hill);\n\n \tfor(i = 9; i >= 7; i--){\n \t\tSystem.out.println(hill[i]);\n \t}\n }\n\n}",
"Main",
"public static void main(String[] a) throws IOException{\n \t;\n \tString strLine =\"\";\n \tBufferedReader stdReader =\n new BufferedReader(new InputStreamReader(System.in));\n\n \tInteger[] hill = new Integer[10];\n \tint i = 0;\n\n \twhile((strLine = stdReader.readLine()) != null){\n \t\thill[i] = Integer.parseInt(strLine);\n \t\ti++;\n \t}\n\n \tArrays.sort(hill);\n\n \tfor(i = 9; i >= 7; i--){\n \t\tSystem.out.println(hill[i]);\n \t}\n }",
"main",
"{\n \t;\n \tString strLine =\"\";\n \tBufferedReader stdReader =\n new BufferedReader(new InputStreamReader(System.in));\n\n \tInteger[] hill = new Integer[10];\n \tint i = 0;\n\n \twhile((strLine = stdReader.readLine()) != null){\n \t\thill[i] = Integer.parseInt(strLine);\n \t\ti++;\n \t}\n\n \tArrays.sort(hill);\n\n \tfor(i = 9; i >= 7; i--){\n \t\tSystem.out.println(hill[i]);\n \t}\n }",
"String strLine =\"\";",
"strLine",
"\"\"",
"BufferedReader stdReader =\n new BufferedReader(new InputStreamReader(System.in));",
"stdReader",
"new BufferedReader(new InputStreamReader(System.in))",
"Integer[] hill = new Integer[10];",
"hill",
"new Integer[10]",
"10",
"int i = 0;",
"i",
"0",
"while((strLine = stdReader.readLine()) != null){\n \t\thill[i] = Integer.parseInt(strLine);\n \t\ti++;\n \t}",
"(strLine = stdReader.readLine()) != null",
"(strLine = stdReader.readLine())",
"strLine",
"stdReader.readLine()",
"stdReader.readLine",
"stdReader",
"null",
"{\n \t\thill[i] = Integer.parseInt(strLine);\n \t\ti++;\n \t}",
"hill[i] = Integer.parseInt(strLine)",
"hill[i]",
"hill",
"i",
"Integer.parseInt(strLine)",
"Integer.parseInt",
"Integer",
"strLine",
"i++",
"i",
"Arrays.sort(hill)",
"Arrays.sort",
"Arrays",
"hill",
"for(i = 9; i >= 7; i--){\n \t\tSystem.out.println(hill[i]);\n \t}",
"i = 9;",
"i = 9",
"i",
"9",
"i >= 7",
"i",
"7",
"i--",
"i--",
"i",
"{\n \t\tSystem.out.println(hill[i]);\n \t}",
"{\n \t\tSystem.out.println(hill[i]);\n \t}",
"System.out.println(hill[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"hill[i]",
"hill",
"i",
"String[] a",
"a",
"public class Main {\n\n public static void main(String[] a) throws IOException{\n \t;\n \tString strLine =\"\";\n \tBufferedReader stdReader =\n new BufferedReader(new InputStreamReader(System.in));\n\n \tInteger[] hill = new Integer[10];\n \tint i = 0;\n\n \twhile((strLine = stdReader.readLine()) != null){\n \t\thill[i] = Integer.parseInt(strLine);\n \t\ti++;\n \t}\n\n \tArrays.sort(hill);\n\n \tfor(i = 9; i >= 7; i--){\n \t\tSystem.out.println(hill[i]);\n \t}\n }\n\n}",
"public class Main {\n\n public static void main(String[] a) throws IOException{\n \t;\n \tString strLine =\"\";\n \tBufferedReader stdReader =\n new BufferedReader(new InputStreamReader(System.in));\n\n \tInteger[] hill = new Integer[10];\n \tint i = 0;\n\n \twhile((strLine = stdReader.readLine()) != null){\n \t\thill[i] = Integer.parseInt(strLine);\n \t\ti++;\n \t}\n\n \tArrays.sort(hill);\n\n \tfor(i = 9; i >= 7; i--){\n \t\tSystem.out.println(hill[i]);\n \t}\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[] a) throws IOException{
;
String strLine ="";
BufferedReader stdReader =
new BufferedReader(new InputStreamReader(System.in));
Integer[] hill = new Integer[10];
int i = 0;
while((strLine = stdReader.readLine()) != null){
hill[i] = Integer.parseInt(strLine);
i++;
}
Arrays.sort(hill);
for(i = 9; i >= 7; i--){
System.out.println(hill[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,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
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
],
[
117,
5
],
[
117,
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
],
[
53,
54
],
[
53,
55
],
[
49,
56
],
[
56,
57
],
[
56,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
49,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
72,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
82,
84
],
[
72,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
8,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
95,
96
],
[
95,
97
],
[
8,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
103,
105
],
[
8,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
111,
112
],
[
111,
113
],
[
6,
114
],
[
114,
115
],
[
0,
116
],
[
116,
117
],
[
116,
118
]
] | [
"import java.util.Scanner;\npublic class Main {\n public static void main (String[] args) {\n\tScanner scan = new Scanner (System.in);\n\tint[] hills = new int[10];\n\tfor (int i = 0; i < 10; i++) {\n\t hills[i] = scan.nextInt();\n\t}\n\tfor (int i = 0; i < 10; i++) {\n\t for (int j = i+1; j < 10; j++) {\n\t\tif (hills[i] < hills[j]) {\n\t\t int tmp = hills[i];\n\t\t hills[i] = hills[j];\n\t\t hills[j] = tmp;\n\t\t}\n\t }\n\t}\n\tSystem.out.println(hills[0]);\n\tSystem.out.println(hills[1]);\n\tSystem.out.println(hills[2]);\n }\n}\n ",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main (String[] args) {\n\tScanner scan = new Scanner (System.in);\n\tint[] hills = new int[10];\n\tfor (int i = 0; i < 10; i++) {\n\t hills[i] = scan.nextInt();\n\t}\n\tfor (int i = 0; i < 10; i++) {\n\t for (int j = i+1; j < 10; j++) {\n\t\tif (hills[i] < hills[j]) {\n\t\t int tmp = hills[i];\n\t\t hills[i] = hills[j];\n\t\t hills[j] = tmp;\n\t\t}\n\t }\n\t}\n\tSystem.out.println(hills[0]);\n\tSystem.out.println(hills[1]);\n\tSystem.out.println(hills[2]);\n }\n}",
"Main",
"public static void main (String[] args) {\n\tScanner scan = new Scanner (System.in);\n\tint[] hills = new int[10];\n\tfor (int i = 0; i < 10; i++) {\n\t hills[i] = scan.nextInt();\n\t}\n\tfor (int i = 0; i < 10; i++) {\n\t for (int j = i+1; j < 10; j++) {\n\t\tif (hills[i] < hills[j]) {\n\t\t int tmp = hills[i];\n\t\t hills[i] = hills[j];\n\t\t hills[j] = tmp;\n\t\t}\n\t }\n\t}\n\tSystem.out.println(hills[0]);\n\tSystem.out.println(hills[1]);\n\tSystem.out.println(hills[2]);\n }",
"main",
"{\n\tScanner scan = new Scanner (System.in);\n\tint[] hills = new int[10];\n\tfor (int i = 0; i < 10; i++) {\n\t hills[i] = scan.nextInt();\n\t}\n\tfor (int i = 0; i < 10; i++) {\n\t for (int j = i+1; j < 10; j++) {\n\t\tif (hills[i] < hills[j]) {\n\t\t int tmp = hills[i];\n\t\t hills[i] = hills[j];\n\t\t hills[j] = tmp;\n\t\t}\n\t }\n\t}\n\tSystem.out.println(hills[0]);\n\tSystem.out.println(hills[1]);\n\tSystem.out.println(hills[2]);\n }",
"Scanner scan = new Scanner (System.in);",
"scan",
"new Scanner (System.in)",
"int[] hills = new int[10];",
"hills",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++) {\n\t hills[i] = scan.nextInt();\n\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t hills[i] = scan.nextInt();\n\t}",
"{\n\t hills[i] = scan.nextInt();\n\t}",
"hills[i] = scan.nextInt()",
"hills[i]",
"hills",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for (int i = 0; i < 10; i++) {\n\t for (int j = i+1; j < 10; j++) {\n\t\tif (hills[i] < hills[j]) {\n\t\t int tmp = hills[i];\n\t\t hills[i] = hills[j];\n\t\t hills[j] = tmp;\n\t\t}\n\t }\n\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t for (int j = i+1; j < 10; j++) {\n\t\tif (hills[i] < hills[j]) {\n\t\t int tmp = hills[i];\n\t\t hills[i] = hills[j];\n\t\t hills[j] = tmp;\n\t\t}\n\t }\n\t}",
"{\n\t for (int j = i+1; j < 10; j++) {\n\t\tif (hills[i] < hills[j]) {\n\t\t int tmp = hills[i];\n\t\t hills[i] = hills[j];\n\t\t hills[j] = tmp;\n\t\t}\n\t }\n\t}",
"for (int j = i+1; j < 10; j++) {\n\t\tif (hills[i] < hills[j]) {\n\t\t int tmp = hills[i];\n\t\t hills[i] = hills[j];\n\t\t hills[j] = tmp;\n\t\t}\n\t }",
"int j = i+1;",
"int j = i+1;",
"j",
"i+1",
"i",
"1",
"j < 10",
"j",
"10",
"j++",
"j++",
"j",
"{\n\t\tif (hills[i] < hills[j]) {\n\t\t int tmp = hills[i];\n\t\t hills[i] = hills[j];\n\t\t hills[j] = tmp;\n\t\t}\n\t }",
"{\n\t\tif (hills[i] < hills[j]) {\n\t\t int tmp = hills[i];\n\t\t hills[i] = hills[j];\n\t\t hills[j] = tmp;\n\t\t}\n\t }",
"if (hills[i] < hills[j]) {\n\t\t int tmp = hills[i];\n\t\t hills[i] = hills[j];\n\t\t hills[j] = tmp;\n\t\t}",
"hills[i] < hills[j]",
"hills[i]",
"hills",
"i",
"hills[j]",
"hills",
"j",
"{\n\t\t int tmp = hills[i];\n\t\t hills[i] = hills[j];\n\t\t hills[j] = tmp;\n\t\t}",
"int tmp = hills[i];",
"tmp",
"hills[i]",
"hills",
"i",
"hills[i] = hills[j]",
"hills[i]",
"hills",
"i",
"hills[j]",
"hills",
"j",
"hills[j] = tmp",
"hills[j]",
"hills",
"j",
"tmp",
"System.out.println(hills[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"hills[0]",
"hills",
"0",
"System.out.println(hills[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"hills[1]",
"hills",
"1",
"System.out.println(hills[2])",
"System.out.println",
"System.out",
"System",
"System.out",
"hills[2]",
"hills",
"2",
"String[] args",
"args",
"public class Main {\n public static void main (String[] args) {\n\tScanner scan = new Scanner (System.in);\n\tint[] hills = new int[10];\n\tfor (int i = 0; i < 10; i++) {\n\t hills[i] = scan.nextInt();\n\t}\n\tfor (int i = 0; i < 10; i++) {\n\t for (int j = i+1; j < 10; j++) {\n\t\tif (hills[i] < hills[j]) {\n\t\t int tmp = hills[i];\n\t\t hills[i] = hills[j];\n\t\t hills[j] = tmp;\n\t\t}\n\t }\n\t}\n\tSystem.out.println(hills[0]);\n\tSystem.out.println(hills[1]);\n\tSystem.out.println(hills[2]);\n }\n}",
"public class Main {\n public static void main (String[] args) {\n\tScanner scan = new Scanner (System.in);\n\tint[] hills = new int[10];\n\tfor (int i = 0; i < 10; i++) {\n\t hills[i] = scan.nextInt();\n\t}\n\tfor (int i = 0; i < 10; i++) {\n\t for (int j = i+1; j < 10; j++) {\n\t\tif (hills[i] < hills[j]) {\n\t\t int tmp = hills[i];\n\t\t hills[i] = hills[j];\n\t\t hills[j] = tmp;\n\t\t}\n\t }\n\t}\n\tSystem.out.println(hills[0]);\n\tSystem.out.println(hills[1]);\n\tSystem.out.println(hills[2]);\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main (String[] args) {
Scanner scan = new Scanner (System.in);
int[] hills = new int[10];
for (int i = 0; i < 10; i++) {
hills[i] = scan.nextInt();
}
for (int i = 0; i < 10; i++) {
for (int j = i+1; j < 10; j++) {
if (hills[i] < hills[j]) {
int tmp = hills[i];
hills[i] = hills[j];
hills[j] = tmp;
}
}
}
System.out.println(hills[0]);
System.out.println(hills[1]);
System.out.println(hills[2]);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
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,
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
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
12,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
26,
28
],
[
22,
29
],
[
29,
30
],
[
29,
31
],
[
22,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
44,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
44,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
60,
67
],
[
67,
68
],
[
67,
69
],
[
56,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
70,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
22,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
22,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
22,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
6,
107
],
[
107,
108
]
] | [
"import java.io.*;\n\nclass Main{\n\tpublic static void main(String[] args){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tint n1=0,n2=0,n3=0;\n\t\t\tfor(int i = 0;i<10;++i){\n\t\t\t\tString line = reader.readLine();\n\t\t\t\tint n = Integer.parseInt(line);\n\t\t\t\tif(n1 <= n){\n\t\t\t\t\tn3 = n2;\n\t\t\t\t\tn2 = n1;\n\t\t\t\t\tn1 = n;\n\t\t\t\t}\n\t\t\t\telse if(n2<=n){\n\t\t\t\t\tn3=n2;\n\t\t\t\t\tn2=n;\n\t\t\t\t}\n\t\t\t\telse if(n3<=n){\n\t\t\t\t\tn3=n;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(n1);\n\t\t\tSystem.out.println(n2);\n\t\t\tSystem.out.println(n3);\n\t\t}catch (IOException e){\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String[] args){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tint n1=0,n2=0,n3=0;\n\t\t\tfor(int i = 0;i<10;++i){\n\t\t\t\tString line = reader.readLine();\n\t\t\t\tint n = Integer.parseInt(line);\n\t\t\t\tif(n1 <= n){\n\t\t\t\t\tn3 = n2;\n\t\t\t\t\tn2 = n1;\n\t\t\t\t\tn1 = n;\n\t\t\t\t}\n\t\t\t\telse if(n2<=n){\n\t\t\t\t\tn3=n2;\n\t\t\t\t\tn2=n;\n\t\t\t\t}\n\t\t\t\telse if(n3<=n){\n\t\t\t\t\tn3=n;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(n1);\n\t\t\tSystem.out.println(n2);\n\t\t\tSystem.out.println(n3);\n\t\t}catch (IOException e){\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tint n1=0,n2=0,n3=0;\n\t\t\tfor(int i = 0;i<10;++i){\n\t\t\t\tString line = reader.readLine();\n\t\t\t\tint n = Integer.parseInt(line);\n\t\t\t\tif(n1 <= n){\n\t\t\t\t\tn3 = n2;\n\t\t\t\t\tn2 = n1;\n\t\t\t\t\tn1 = n;\n\t\t\t\t}\n\t\t\t\telse if(n2<=n){\n\t\t\t\t\tn3=n2;\n\t\t\t\t\tn2=n;\n\t\t\t\t}\n\t\t\t\telse if(n3<=n){\n\t\t\t\t\tn3=n;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(n1);\n\t\t\tSystem.out.println(n2);\n\t\t\tSystem.out.println(n3);\n\t\t}catch (IOException e){\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tint n1=0,n2=0,n3=0;\n\t\t\tfor(int i = 0;i<10;++i){\n\t\t\t\tString line = reader.readLine();\n\t\t\t\tint n = Integer.parseInt(line);\n\t\t\t\tif(n1 <= n){\n\t\t\t\t\tn3 = n2;\n\t\t\t\t\tn2 = n1;\n\t\t\t\t\tn1 = n;\n\t\t\t\t}\n\t\t\t\telse if(n2<=n){\n\t\t\t\t\tn3=n2;\n\t\t\t\t\tn2=n;\n\t\t\t\t}\n\t\t\t\telse if(n3<=n){\n\t\t\t\t\tn3=n;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(n1);\n\t\t\tSystem.out.println(n2);\n\t\t\tSystem.out.println(n3);\n\t\t}catch (IOException e){\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"try{\n\t\t\tint n1=0,n2=0,n3=0;\n\t\t\tfor(int i = 0;i<10;++i){\n\t\t\t\tString line = reader.readLine();\n\t\t\t\tint n = Integer.parseInt(line);\n\t\t\t\tif(n1 <= n){\n\t\t\t\t\tn3 = n2;\n\t\t\t\t\tn2 = n1;\n\t\t\t\t\tn1 = n;\n\t\t\t\t}\n\t\t\t\telse if(n2<=n){\n\t\t\t\t\tn3=n2;\n\t\t\t\t\tn2=n;\n\t\t\t\t}\n\t\t\t\telse if(n3<=n){\n\t\t\t\t\tn3=n;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(n1);\n\t\t\tSystem.out.println(n2);\n\t\t\tSystem.out.println(n3);\n\t\t}catch (IOException e){\n\t\t\tSystem.out.println(e);\n\t\t}",
"catch (IOException e){\n\t\t\tSystem.out.println(e);\n\t\t}",
"IOException e",
"{\n\t\t\tSystem.out.println(e);\n\t\t}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n\t\t\tint n1=0,n2=0,n3=0;\n\t\t\tfor(int i = 0;i<10;++i){\n\t\t\t\tString line = reader.readLine();\n\t\t\t\tint n = Integer.parseInt(line);\n\t\t\t\tif(n1 <= n){\n\t\t\t\t\tn3 = n2;\n\t\t\t\t\tn2 = n1;\n\t\t\t\t\tn1 = n;\n\t\t\t\t}\n\t\t\t\telse if(n2<=n){\n\t\t\t\t\tn3=n2;\n\t\t\t\t\tn2=n;\n\t\t\t\t}\n\t\t\t\telse if(n3<=n){\n\t\t\t\t\tn3=n;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(n1);\n\t\t\tSystem.out.println(n2);\n\t\t\tSystem.out.println(n3);\n\t\t}",
"int n1=0",
"n1",
"0",
"n2=0",
"n2",
"0",
"n3=0;",
"n3",
"0",
"for(int i = 0;i<10;++i){\n\t\t\t\tString line = reader.readLine();\n\t\t\t\tint n = Integer.parseInt(line);\n\t\t\t\tif(n1 <= n){\n\t\t\t\t\tn3 = n2;\n\t\t\t\t\tn2 = n1;\n\t\t\t\t\tn1 = n;\n\t\t\t\t}\n\t\t\t\telse if(n2<=n){\n\t\t\t\t\tn3=n2;\n\t\t\t\t\tn2=n;\n\t\t\t\t}\n\t\t\t\telse if(n3<=n){\n\t\t\t\t\tn3=n;\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<10",
"i",
"10",
"++i",
"++i",
"i",
"{\n\t\t\t\tString line = reader.readLine();\n\t\t\t\tint n = Integer.parseInt(line);\n\t\t\t\tif(n1 <= n){\n\t\t\t\t\tn3 = n2;\n\t\t\t\t\tn2 = n1;\n\t\t\t\t\tn1 = n;\n\t\t\t\t}\n\t\t\t\telse if(n2<=n){\n\t\t\t\t\tn3=n2;\n\t\t\t\t\tn2=n;\n\t\t\t\t}\n\t\t\t\telse if(n3<=n){\n\t\t\t\t\tn3=n;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tString line = reader.readLine();\n\t\t\t\tint n = Integer.parseInt(line);\n\t\t\t\tif(n1 <= n){\n\t\t\t\t\tn3 = n2;\n\t\t\t\t\tn2 = n1;\n\t\t\t\t\tn1 = n;\n\t\t\t\t}\n\t\t\t\telse if(n2<=n){\n\t\t\t\t\tn3=n2;\n\t\t\t\t\tn2=n;\n\t\t\t\t}\n\t\t\t\telse if(n3<=n){\n\t\t\t\t\tn3=n;\n\t\t\t\t}\n\t\t\t}",
"String line = reader.readLine();",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"int n = Integer.parseInt(line);",
"n",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"if(n1 <= n){\n\t\t\t\t\tn3 = n2;\n\t\t\t\t\tn2 = n1;\n\t\t\t\t\tn1 = n;\n\t\t\t\t}\n\t\t\t\telse if(n2<=n){\n\t\t\t\t\tn3=n2;\n\t\t\t\t\tn2=n;\n\t\t\t\t}\n\t\t\t\telse if(n3<=n){\n\t\t\t\t\tn3=n;\n\t\t\t\t}",
"n1 <= n",
"n1",
"n",
"{\n\t\t\t\t\tn3 = n2;\n\t\t\t\t\tn2 = n1;\n\t\t\t\t\tn1 = n;\n\t\t\t\t}",
"n3 = n2",
"n3",
"n2",
"n2 = n1",
"n2",
"n1",
"n1 = n",
"n1",
"n",
"if(n2<=n){\n\t\t\t\t\tn3=n2;\n\t\t\t\t\tn2=n;\n\t\t\t\t}\n\t\t\t\telse if(n3<=n){\n\t\t\t\t\tn3=n;\n\t\t\t\t}",
"n2<=n",
"n2",
"n",
"{\n\t\t\t\t\tn3=n2;\n\t\t\t\t\tn2=n;\n\t\t\t\t}",
"n3=n2",
"n3",
"n2",
"n2=n",
"n2",
"n",
"if(n3<=n){\n\t\t\t\t\tn3=n;\n\t\t\t\t}",
"n3<=n",
"n3",
"n",
"{\n\t\t\t\t\tn3=n;\n\t\t\t\t}",
"n3=n",
"n3",
"n",
"System.out.println(n1)",
"System.out.println",
"System.out",
"System",
"System.out",
"n1",
"System.out.println(n2)",
"System.out.println",
"System.out",
"System",
"System.out",
"n2",
"System.out.println(n3)",
"System.out.println",
"System.out",
"System",
"System.out",
"n3",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args){
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
try{
int n1=0,n2=0,n3=0;
for(int i = 0;i<10;++i){
String line = reader.readLine();
int n = Integer.parseInt(line);
if(n1 <= n){
n3 = n2;
n2 = n1;
n1 = n;
}
else if(n2<=n){
n3=n2;
n2=n;
}
else if(n3<=n){
n3=n;
}
}
System.out.println(n1);
System.out.println(n2);
System.out.println(n3);
}catch (IOException e){
System.out.println(e);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
20,
17,
41,
13,
39,
17,
17,
17,
41,
13,
41,
13,
20,
42,
2,
13,
17,
30,
0,
13,
20,
0,
18,
13,
13,
4,
18,
13,
13,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
30,
40,
13,
40,
13,
4,
13,
13,
17,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
11,
1,
0,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
0,
13,
2,
13,
17,
2,
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,
23,
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
],
[
173,
11
],
[
173,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
14,
31
],
[
31,
32
],
[
14,
33
],
[
33,
34
],
[
33,
35
],
[
14,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
40,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
52,
64
],
[
64,
65
],
[
65,
66
],
[
40,
67
],
[
67,
68
],
[
14,
69
],
[
69,
70
],
[
69,
71
],
[
69,
72
],
[
14,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
81,
82
],
[
82,
83
],
[
73,
84
],
[
85,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
90,
92
],
[
85,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
12,
101
],
[
101,
102
],
[
173,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
108,
109
],
[
105,
110
],
[
110,
111
],
[
105,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
119,
121
],
[
112,
122
],
[
122,
123
],
[
123,
124
],
[
112,
125
],
[
126,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
131,
133
],
[
127,
134
],
[
134,
135
],
[
134,
136
],
[
127,
137
],
[
137,
138
],
[
138,
139
],
[
127,
140
],
[
141,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
147,
148
],
[
147,
149
],
[
142,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
153,
155
],
[
150,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
156,
160
],
[
160,
161
],
[
160,
162
],
[
150,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
163,
167
],
[
103,
168
],
[
168,
169
],
[
103,
170
],
[
170,
171
],
[
0,
172
],
[
172,
173
],
[
172,
174
]
] | [
"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\t\tint i=0,j=0;\n\t\tint[] mount = new int[10];\n\t\tint[] h_mount = {0,0,0};\n\t\tString str;\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\t\n\t\twhile(i<10){\n\t\t\tstr=new String(in.readLine());\n\t\t\tmount[i]=Integer.parseInt(str);\n\t\t\t\n\t\t\tif(mount[i]<0 || mount[i]>10000){\n\t\t\t\ti--;\n\t\t\t}\n\t\t\t\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tsortMethod(mount,10);\n\t\tfor(i=0;i<3;i++){\n\t\t\th_mount[i]=mount[i];\n\t\t\tSystem.out.println(h_mount[i]);\n\t\t}\n\n\n\t}\n\t\n\tpublic static void sortMethod(int[] array,int num){\n\t\tint tmp;\n\t\tint x,y;\n\t\tfor(x=0;x<num-1;x++){\n\t\t\tfor(y=x+1;y<num;y++){\n\t\t\t\tif(array[x]<array[y]){\n\t\t\t\t\ttmp = array[x];\n\t\t\t\t\tarray[x]=array[y];\n\t\t\t\t\tarray[y]=tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args)throws IOException {\n\t\t\n\t\tint i=0,j=0;\n\t\tint[] mount = new int[10];\n\t\tint[] h_mount = {0,0,0};\n\t\tString str;\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\t\n\t\twhile(i<10){\n\t\t\tstr=new String(in.readLine());\n\t\t\tmount[i]=Integer.parseInt(str);\n\t\t\t\n\t\t\tif(mount[i]<0 || mount[i]>10000){\n\t\t\t\ti--;\n\t\t\t}\n\t\t\t\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tsortMethod(mount,10);\n\t\tfor(i=0;i<3;i++){\n\t\t\th_mount[i]=mount[i];\n\t\t\tSystem.out.println(h_mount[i]);\n\t\t}\n\n\n\t}\n\t\n\tpublic static void sortMethod(int[] array,int num){\n\t\tint tmp;\n\t\tint x,y;\n\t\tfor(x=0;x<num-1;x++){\n\t\t\tfor(y=x+1;y<num;y++){\n\t\t\t\tif(array[x]<array[y]){\n\t\t\t\t\ttmp = array[x];\n\t\t\t\t\tarray[x]=array[y];\n\t\t\t\t\tarray[y]=tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args)throws IOException {\n\t\t\n\t\tint i=0,j=0;\n\t\tint[] mount = new int[10];\n\t\tint[] h_mount = {0,0,0};\n\t\tString str;\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\t\n\t\twhile(i<10){\n\t\t\tstr=new String(in.readLine());\n\t\t\tmount[i]=Integer.parseInt(str);\n\t\t\t\n\t\t\tif(mount[i]<0 || mount[i]>10000){\n\t\t\t\ti--;\n\t\t\t}\n\t\t\t\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tsortMethod(mount,10);\n\t\tfor(i=0;i<3;i++){\n\t\t\th_mount[i]=mount[i];\n\t\t\tSystem.out.println(h_mount[i]);\n\t\t}\n\n\n\t}",
"main",
"{\n\t\t\n\t\tint i=0,j=0;\n\t\tint[] mount = new int[10];\n\t\tint[] h_mount = {0,0,0};\n\t\tString str;\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\t\n\t\twhile(i<10){\n\t\t\tstr=new String(in.readLine());\n\t\t\tmount[i]=Integer.parseInt(str);\n\t\t\t\n\t\t\tif(mount[i]<0 || mount[i]>10000){\n\t\t\t\ti--;\n\t\t\t}\n\t\t\t\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tsortMethod(mount,10);\n\t\tfor(i=0;i<3;i++){\n\t\t\th_mount[i]=mount[i];\n\t\t\tSystem.out.println(h_mount[i]);\n\t\t}\n\n\n\t}",
"int i=0",
"i",
"0",
"j=0;",
"j",
"0",
"int[] mount = new int[10];",
"mount",
"new int[10]",
"10",
"int[] h_mount = {0,0,0};",
"h_mount",
"{0,0,0}",
"0",
"0",
"0",
"String str;",
"str",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"while(i<10){\n\t\t\tstr=new String(in.readLine());\n\t\t\tmount[i]=Integer.parseInt(str);\n\t\t\t\n\t\t\tif(mount[i]<0 || mount[i]>10000){\n\t\t\t\ti--;\n\t\t\t}\n\t\t\t\n\t\t\ti++;\n\t\t}",
"i<10",
"i",
"10",
"{\n\t\t\tstr=new String(in.readLine());\n\t\t\tmount[i]=Integer.parseInt(str);\n\t\t\t\n\t\t\tif(mount[i]<0 || mount[i]>10000){\n\t\t\t\ti--;\n\t\t\t}\n\t\t\t\n\t\t\ti++;\n\t\t}",
"str=new String(in.readLine())",
"str",
"new String(in.readLine())",
"mount[i]=Integer.parseInt(str)",
"mount[i]",
"mount",
"i",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"if(mount[i]<0 || mount[i]>10000){\n\t\t\t\ti--;\n\t\t\t}",
"mount[i]<0 || mount[i]>10000",
"mount[i]<0",
"mount[i]",
"mount",
"i",
"0",
"mount[i]>10000",
"mount[i]",
"mount",
"i",
"10000",
"{\n\t\t\t\ti--;\n\t\t\t}",
"i--",
"i",
"i++",
"i",
"sortMethod(mount,10)",
"sortMethod",
"mount",
"10",
"for(i=0;i<3;i++){\n\t\t\th_mount[i]=mount[i];\n\t\t\tSystem.out.println(h_mount[i]);\n\t\t}",
"i=0;",
"i=0",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\th_mount[i]=mount[i];\n\t\t\tSystem.out.println(h_mount[i]);\n\t\t}",
"{\n\t\t\th_mount[i]=mount[i];\n\t\t\tSystem.out.println(h_mount[i]);\n\t\t}",
"h_mount[i]=mount[i]",
"h_mount[i]",
"h_mount",
"i",
"mount[i]",
"mount",
"i",
"System.out.println(h_mount[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"h_mount[i]",
"h_mount",
"i",
"String[] args",
"args",
"public static void sortMethod(int[] array,int num){\n\t\tint tmp;\n\t\tint x,y;\n\t\tfor(x=0;x<num-1;x++){\n\t\t\tfor(y=x+1;y<num;y++){\n\t\t\t\tif(array[x]<array[y]){\n\t\t\t\t\ttmp = array[x];\n\t\t\t\t\tarray[x]=array[y];\n\t\t\t\t\tarray[y]=tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"sortMethod",
"{\n\t\tint tmp;\n\t\tint x,y;\n\t\tfor(x=0;x<num-1;x++){\n\t\t\tfor(y=x+1;y<num;y++){\n\t\t\t\tif(array[x]<array[y]){\n\t\t\t\t\ttmp = array[x];\n\t\t\t\t\tarray[x]=array[y];\n\t\t\t\t\tarray[y]=tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"int tmp;",
"tmp",
"int x",
"x",
"y;",
"y",
"for(x=0;x<num-1;x++){\n\t\t\tfor(y=x+1;y<num;y++){\n\t\t\t\tif(array[x]<array[y]){\n\t\t\t\t\ttmp = array[x];\n\t\t\t\t\tarray[x]=array[y];\n\t\t\t\t\tarray[y]=tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"x=0;",
"x=0",
"x",
"0",
"x<num-1",
"x",
"num-1",
"num",
"1",
"x++",
"x++",
"x",
"{\n\t\t\tfor(y=x+1;y<num;y++){\n\t\t\t\tif(array[x]<array[y]){\n\t\t\t\t\ttmp = array[x];\n\t\t\t\t\tarray[x]=array[y];\n\t\t\t\t\tarray[y]=tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(y=x+1;y<num;y++){\n\t\t\t\tif(array[x]<array[y]){\n\t\t\t\t\ttmp = array[x];\n\t\t\t\t\tarray[x]=array[y];\n\t\t\t\t\tarray[y]=tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(y=x+1;y<num;y++){\n\t\t\t\tif(array[x]<array[y]){\n\t\t\t\t\ttmp = array[x];\n\t\t\t\t\tarray[x]=array[y];\n\t\t\t\t\tarray[y]=tmp;\n\t\t\t\t}\n\t\t\t}",
"y=x+1;",
"y=x+1",
"y",
"x+1",
"x",
"1",
"y<num",
"y",
"num",
"y++",
"y++",
"y",
"{\n\t\t\t\tif(array[x]<array[y]){\n\t\t\t\t\ttmp = array[x];\n\t\t\t\t\tarray[x]=array[y];\n\t\t\t\t\tarray[y]=tmp;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(array[x]<array[y]){\n\t\t\t\t\ttmp = array[x];\n\t\t\t\t\tarray[x]=array[y];\n\t\t\t\t\tarray[y]=tmp;\n\t\t\t\t}\n\t\t\t}",
"if(array[x]<array[y]){\n\t\t\t\t\ttmp = array[x];\n\t\t\t\t\tarray[x]=array[y];\n\t\t\t\t\tarray[y]=tmp;\n\t\t\t\t}",
"array[x]<array[y]",
"array[x]",
"array",
"x",
"array[y]",
"array",
"y",
"{\n\t\t\t\t\ttmp = array[x];\n\t\t\t\t\tarray[x]=array[y];\n\t\t\t\t\tarray[y]=tmp;\n\t\t\t\t}",
"tmp = array[x]",
"tmp",
"array[x]",
"array",
"x",
"array[x]=array[y]",
"array[x]",
"array",
"x",
"array[y]",
"array",
"y",
"array[y]=tmp",
"array[y]",
"array",
"y",
"tmp",
"int[] array",
"array",
"int num",
"num",
"public class Main {\n\n\tpublic static void main(String[] args)throws IOException {\n\t\t\n\t\tint i=0,j=0;\n\t\tint[] mount = new int[10];\n\t\tint[] h_mount = {0,0,0};\n\t\tString str;\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\t\n\t\twhile(i<10){\n\t\t\tstr=new String(in.readLine());\n\t\t\tmount[i]=Integer.parseInt(str);\n\t\t\t\n\t\t\tif(mount[i]<0 || mount[i]>10000){\n\t\t\t\ti--;\n\t\t\t}\n\t\t\t\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tsortMethod(mount,10);\n\t\tfor(i=0;i<3;i++){\n\t\t\th_mount[i]=mount[i];\n\t\t\tSystem.out.println(h_mount[i]);\n\t\t}\n\n\n\t}\n\t\n\tpublic static void sortMethod(int[] array,int num){\n\t\tint tmp;\n\t\tint x,y;\n\t\tfor(x=0;x<num-1;x++){\n\t\t\tfor(y=x+1;y<num;y++){\n\t\t\t\tif(array[x]<array[y]){\n\t\t\t\t\ttmp = array[x];\n\t\t\t\t\tarray[x]=array[y];\n\t\t\t\t\tarray[y]=tmp;\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)throws IOException {\n\t\t\n\t\tint i=0,j=0;\n\t\tint[] mount = new int[10];\n\t\tint[] h_mount = {0,0,0};\n\t\tString str;\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\t\n\t\twhile(i<10){\n\t\t\tstr=new String(in.readLine());\n\t\t\tmount[i]=Integer.parseInt(str);\n\t\t\t\n\t\t\tif(mount[i]<0 || mount[i]>10000){\n\t\t\t\ti--;\n\t\t\t}\n\t\t\t\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tsortMethod(mount,10);\n\t\tfor(i=0;i<3;i++){\n\t\t\th_mount[i]=mount[i];\n\t\t\tSystem.out.println(h_mount[i]);\n\t\t}\n\n\n\t}\n\t\n\tpublic static void sortMethod(int[] array,int num){\n\t\tint tmp;\n\t\tint x,y;\n\t\tfor(x=0;x<num-1;x++){\n\t\t\tfor(y=x+1;y<num;y++){\n\t\t\t\tif(array[x]<array[y]){\n\t\t\t\t\ttmp = array[x];\n\t\t\t\t\tarray[x]=array[y];\n\t\t\t\t\tarray[y]=tmp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args)throws IOException {
int i=0,j=0;
int[] mount = new int[10];
int[] h_mount = {0,0,0};
String str;
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
while(i<10){
str=new String(in.readLine());
mount[i]=Integer.parseInt(str);
if(mount[i]<0 || mount[i]>10000){
i--;
}
i++;
}
sortMethod(mount,10);
for(i=0;i<3;i++){
h_mount[i]=mount[i];
System.out.println(h_mount[i]);
}
}
public static void sortMethod(int[] array,int num){
int tmp;
int x,y;
for(x=0;x<num-1;x++){
for(y=x+1;y<num;y++){
if(array[x]<array[y]){
tmp = array[x];
array[x]=array[y];
array[y]=tmp;
}
}
}
}
} |
[
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
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint[] yama;\n\t\tint work;\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tyama = new int[10];\n\t\tfor(int i = 0 ;i < 10 ;i++){\n\t\t\tyama[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0 ;i < yama.length ;i++){\n\t\t\tfor(int j = i+1 ; j <yama.length ;j++){\n\t\t\t\tif(yama[i] < yama[j]){\n\t\t\t\t\twork = yama[i];\n\t\t\t\t\tyama[i] = yama[j];\n\t\t\t\t\tyama[j] = work;\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(yama[i]);\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint[] yama;\n\t\tint work;\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tyama = new int[10];\n\t\tfor(int i = 0 ;i < 10 ;i++){\n\t\t\tyama[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0 ;i < yama.length ;i++){\n\t\t\tfor(int j = i+1 ; j <yama.length ;j++){\n\t\t\t\tif(yama[i] < yama[j]){\n\t\t\t\t\twork = yama[i];\n\t\t\t\t\tyama[i] = yama[j];\n\t\t\t\t\tyama[j] = work;\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(yama[i]);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tint[] yama;\n\t\tint work;\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tyama = new int[10];\n\t\tfor(int i = 0 ;i < 10 ;i++){\n\t\t\tyama[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0 ;i < yama.length ;i++){\n\t\t\tfor(int j = i+1 ; j <yama.length ;j++){\n\t\t\t\tif(yama[i] < yama[j]){\n\t\t\t\t\twork = yama[i];\n\t\t\t\t\tyama[i] = yama[j];\n\t\t\t\t\tyama[j] = work;\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(yama[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tint[] yama;\n\t\tint work;\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tyama = new int[10];\n\t\tfor(int i = 0 ;i < 10 ;i++){\n\t\t\tyama[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0 ;i < yama.length ;i++){\n\t\t\tfor(int j = i+1 ; j <yama.length ;j++){\n\t\t\t\tif(yama[i] < yama[j]){\n\t\t\t\t\twork = yama[i];\n\t\t\t\t\tyama[i] = yama[j];\n\t\t\t\t\tyama[j] = work;\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(yama[i]);\n\t\t}\n\t}",
"int[] yama;",
"yama",
"int work;",
"work",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"yama = new int[10]",
"yama",
"new int[10]",
"10",
"for(int i = 0 ;i < 10 ;i++){\n\t\t\tyama[i] = sc.nextInt();\n\t\t}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tyama[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tyama[i] = sc.nextInt();\n\t\t}",
"yama[i] = sc.nextInt()",
"yama[i]",
"yama",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i = 0 ;i < yama.length ;i++){\n\t\t\tfor(int j = i+1 ; j <yama.length ;j++){\n\t\t\t\tif(yama[i] < yama[j]){\n\t\t\t\t\twork = yama[i];\n\t\t\t\t\tyama[i] = yama[j];\n\t\t\t\t\tyama[j] = work;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < yama.length",
"i",
"yama.length",
"yama",
"yama.length",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = i+1 ; j <yama.length ;j++){\n\t\t\t\tif(yama[i] < yama[j]){\n\t\t\t\t\twork = yama[i];\n\t\t\t\t\tyama[i] = yama[j];\n\t\t\t\t\tyama[j] = work;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int j = i+1 ; j <yama.length ;j++){\n\t\t\t\tif(yama[i] < yama[j]){\n\t\t\t\t\twork = yama[i];\n\t\t\t\t\tyama[i] = yama[j];\n\t\t\t\t\tyama[j] = work;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int j = i+1 ; j <yama.length ;j++){\n\t\t\t\tif(yama[i] < yama[j]){\n\t\t\t\t\twork = yama[i];\n\t\t\t\t\tyama[i] = yama[j];\n\t\t\t\t\tyama[j] = work;\n\t\t\t\t}\n\t\t\t}",
"int j = i+1 ;",
"int j = i+1 ;",
"j",
"i+1",
"i",
"1",
"j <yama.length",
"j",
"yama.length",
"yama",
"yama.length",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(yama[i] < yama[j]){\n\t\t\t\t\twork = yama[i];\n\t\t\t\t\tyama[i] = yama[j];\n\t\t\t\t\tyama[j] = work;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(yama[i] < yama[j]){\n\t\t\t\t\twork = yama[i];\n\t\t\t\t\tyama[i] = yama[j];\n\t\t\t\t\tyama[j] = work;\n\t\t\t\t}\n\t\t\t}",
"if(yama[i] < yama[j]){\n\t\t\t\t\twork = yama[i];\n\t\t\t\t\tyama[i] = yama[j];\n\t\t\t\t\tyama[j] = work;\n\t\t\t\t}",
"yama[i] < yama[j]",
"yama[i]",
"yama",
"i",
"yama[j]",
"yama",
"j",
"{\n\t\t\t\t\twork = yama[i];\n\t\t\t\t\tyama[i] = yama[j];\n\t\t\t\t\tyama[j] = work;\n\t\t\t\t}",
"work = yama[i]",
"work",
"yama[i]",
"yama",
"i",
"yama[i] = yama[j]",
"yama[i]",
"yama",
"i",
"yama[j]",
"yama",
"j",
"yama[j] = work",
"yama[j]",
"yama",
"j",
"work",
"for(int i = 0 ;i < 3 ;i++){\n\t\t\tSystem.out.println(yama[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(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\n\tpublic static void main(String[] args) {\n\t\tint[] yama;\n\t\tint work;\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tyama = new int[10];\n\t\tfor(int i = 0 ;i < 10 ;i++){\n\t\t\tyama[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0 ;i < yama.length ;i++){\n\t\t\tfor(int j = i+1 ; j <yama.length ;j++){\n\t\t\t\tif(yama[i] < yama[j]){\n\t\t\t\t\twork = yama[i];\n\t\t\t\t\tyama[i] = yama[j];\n\t\t\t\t\tyama[j] = work;\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(yama[i]);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint[] yama;\n\t\tint work;\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tyama = new int[10];\n\t\tfor(int i = 0 ;i < 10 ;i++){\n\t\t\tyama[i] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0 ;i < yama.length ;i++){\n\t\t\tfor(int j = i+1 ; j <yama.length ;j++){\n\t\t\t\tif(yama[i] < yama[j]){\n\t\t\t\t\twork = yama[i];\n\t\t\t\t\tyama[i] = yama[j];\n\t\t\t\t\tyama[j] = work;\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(yama[i]);\n\t\t}\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int[] yama;
int work;
Scanner sc = new Scanner(System.in);
yama = new int[10];
for(int i = 0 ;i < 10 ;i++){
yama[i] = sc.nextInt();
}
for(int i = 0 ;i < yama.length ;i++){
for(int j = i+1 ; j <yama.length ;j++){
if(yama[i] < yama[j]){
work = yama[i];
yama[i] = yama[j];
yama[j] = work;
}
}
}
for(int i = 0 ;i < 3 ;i++){
System.out.println(yama[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
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,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
20,
17,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
18,
36,
13,
13,
17,
12,
13,
30,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
18,
18,
36,
13,
13,
0,
18,
13,
17,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
18,
36,
13,
13,
18,
13,
2,
17,
13,
23,
13,
12,
13,
30,
29,
18,
18,
36,
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
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
13,
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
],
[
35,
38
],
[
38,
39
],
[
39,
40
],
[
32,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
13,
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
],
[
63,
64
],
[
62,
65
],
[
9,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
68,
74
],
[
74,
75
],
[
74,
76
],
[
76,
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
],
[
90,
94
],
[
89,
95
],
[
68,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
108,
109
],
[
108,
110
],
[
103,
111
],
[
111,
112
],
[
112,
113
],
[
103,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
98,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
98,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
98,
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
],
[
146,
150
],
[
145,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
153,
155
],
[
96,
156
],
[
156,
157
],
[
68,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
162,
166
],
[
158,
167
],
[
167,
168
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\t\t\tHighest3 h3 = new Highest3();\n\t\t\tfor(int i=0;i<10;i++){\n\t\t\t\tint a=Integer.parseInt(sc.next());\n\t\t\t\th3.renew(a);\n\t\t\t}\n\t\t\tfor(int i=0;i<3;i++)System.out.println(h3.get(i));\n\t\t}\n\t}\n}\nclass Highest3{\n\tprivate int[] height=new int[3];\n\tHighest3(){\n\t\tfor(int i=0;i<3;i++)this.height[i]=0;\n\t}\n\tpublic void renew(int height){\n\t\tint[] h4= new int[4];\n\t\tfor(int i=0;i<3;i++)h4[i]=this.height[i];\n\t\th4[3]=height;\n\t\tArrays.sort(h4);\n\t\tfor(int i=0;i<3;i++)this.height[i]=h4[3-i];\n\t}\n\tpublic int get(int i){\n\t\treturn this.height[i];\n\t}\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\t\t\tHighest3 h3 = new Highest3();\n\t\t\tfor(int i=0;i<10;i++){\n\t\t\t\tint a=Integer.parseInt(sc.next());\n\t\t\t\th3.renew(a);\n\t\t\t}\n\t\t\tfor(int i=0;i<3;i++)System.out.println(h3.get(i));\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\t\t\tHighest3 h3 = new Highest3();\n\t\t\tfor(int i=0;i<10;i++){\n\t\t\t\tint a=Integer.parseInt(sc.next());\n\t\t\t\th3.renew(a);\n\t\t\t}\n\t\t\tfor(int i=0;i<3;i++)System.out.println(h3.get(i));\n\t\t}\n\t}",
"main",
"{\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\t\t\tHighest3 h3 = new Highest3();\n\t\t\tfor(int i=0;i<10;i++){\n\t\t\t\tint a=Integer.parseInt(sc.next());\n\t\t\t\th3.renew(a);\n\t\t\t}\n\t\t\tfor(int i=0;i<3;i++)System.out.println(h3.get(i));\n\t\t}\n\t}",
"try(Scanner sc = new Scanner(System.in)){\n\t\t\tHighest3 h3 = new Highest3();\n\t\t\tfor(int i=0;i<10;i++){\n\t\t\t\tint a=Integer.parseInt(sc.next());\n\t\t\t\th3.renew(a);\n\t\t\t}\n\t\t\tfor(int i=0;i<3;i++)System.out.println(h3.get(i));\n\t\t}",
"{\n\t\t\tHighest3 h3 = new Highest3();\n\t\t\tfor(int i=0;i<10;i++){\n\t\t\t\tint a=Integer.parseInt(sc.next());\n\t\t\t\th3.renew(a);\n\t\t\t}\n\t\t\tfor(int i=0;i<3;i++)System.out.println(h3.get(i));\n\t\t}",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"Highest3 h3 = new Highest3();",
"h3",
"new Highest3()",
"for(int i=0;i<10;i++){\n\t\t\t\tint a=Integer.parseInt(sc.next());\n\t\t\t\th3.renew(a);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\t\tint a=Integer.parseInt(sc.next());\n\t\t\t\th3.renew(a);\n\t\t\t}",
"{\n\t\t\t\tint a=Integer.parseInt(sc.next());\n\t\t\t\th3.renew(a);\n\t\t\t}",
"int a=Integer.parseInt(sc.next());",
"a",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"h3.renew(a)",
"h3.renew",
"h3",
"a",
"for(int i=0;i<3;i++)System.out.println(h3.get(i));",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"System.out.println(h3.get(i));",
"System.out.println(h3.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"h3.get(i)",
"h3.get",
"h3",
"i",
"String[] args",
"args",
"class Highest3{\n\tprivate int[] height=new int[3];\n\tHighest3(){\n\t\tfor(int i=0;i<3;i++)this.height[i]=0;\n\t}\n\tpublic void renew(int height){\n\t\tint[] h4= new int[4];\n\t\tfor(int i=0;i<3;i++)h4[i]=this.height[i];\n\t\th4[3]=height;\n\t\tArrays.sort(h4);\n\t\tfor(int i=0;i<3;i++)this.height[i]=h4[3-i];\n\t}\n\tpublic int get(int i){\n\t\treturn this.height[i];\n\t}\n}",
"Highest3",
"private int[] height=new int[3];",
"height",
"new int[3]",
"3",
"Highest3(){\n\t\tfor(int i=0;i<3;i++)this.height[i]=0;\n\t}",
"Highest3",
"{\n\t\tfor(int i=0;i<3;i++)this.height[i]=0;\n\t}",
"for(int i=0;i<3;i++)this.height[i]=0;",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"this.height[i]=0;",
"this.height[i]=0",
"this.height[i]",
"this.height",
"this",
"this.height",
"i",
"0",
"public void renew(int height){\n\t\tint[] h4= new int[4];\n\t\tfor(int i=0;i<3;i++)h4[i]=this.height[i];\n\t\th4[3]=height;\n\t\tArrays.sort(h4);\n\t\tfor(int i=0;i<3;i++)this.height[i]=h4[3-i];\n\t}",
"renew",
"{\n\t\tint[] h4= new int[4];\n\t\tfor(int i=0;i<3;i++)h4[i]=this.height[i];\n\t\th4[3]=height;\n\t\tArrays.sort(h4);\n\t\tfor(int i=0;i<3;i++)this.height[i]=h4[3-i];\n\t}",
"int[] h4= new int[4];",
"h4",
"new int[4]",
"4",
"for(int i=0;i<3;i++)h4[i]=this.height[i];",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"h4[i]=this.height[i];",
"h4[i]=this.height[i]",
"h4[i]",
"h4",
"i",
"this.height[i]",
"this.height",
"this",
"this.height",
"i",
"h4[3]=height",
"h4[3]",
"h4",
"3",
"height",
"Arrays.sort(h4)",
"Arrays.sort",
"Arrays",
"h4",
"for(int i=0;i<3;i++)this.height[i]=h4[3-i];",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"this.height[i]=h4[3-i];",
"this.height[i]=h4[3-i]",
"this.height[i]",
"this.height",
"this",
"this.height",
"i",
"h4[3-i]",
"h4",
"3-i",
"3",
"i",
"int height",
"height",
"public int get(int i){\n\t\treturn this.height[i];\n\t}",
"get",
"{\n\t\treturn this.height[i];\n\t}",
"return this.height[i];",
"this.height[i]",
"this.height",
"this",
"this.height",
"i",
"int i",
"i"
] | import java.util.Arrays;
import java.util.Scanner;
class Main {
public static void main(String[] args){
try(Scanner sc = new Scanner(System.in)){
Highest3 h3 = new Highest3();
for(int i=0;i<10;i++){
int a=Integer.parseInt(sc.next());
h3.renew(a);
}
for(int i=0;i<3;i++)System.out.println(h3.get(i));
}
}
}
class Highest3{
private int[] height=new int[3];
Highest3(){
for(int i=0;i<3;i++)this.height[i]=0;
}
public void renew(int height){
int[] h4= new int[4];
for(int i=0;i<3;i++)h4[i]=this.height[i];
h4[3]=height;
Arrays.sort(h4);
for(int i=0;i<3;i++)this.height[i]=h4[3-i];
}
public int get(int i){
return this.height[i];
}
} |
[
7,
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,
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
],
[
57,
5
],
[
57,
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
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] | [
"import java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);;\n ArrayList<Integer> mList = new ArrayList<>();\n\n while(sc.hasNext()){\n mList.add(sc.nextInt());\n }\n mList.sort(Comparator.reverseOrder());\n for (int i = 0; i < 3; i++) {\n System.out.println(mList.get(i));\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);;\n ArrayList<Integer> mList = new ArrayList<>();\n\n while(sc.hasNext()){\n mList.add(sc.nextInt());\n }\n mList.sort(Comparator.reverseOrder());\n for (int i = 0; i < 3; i++) {\n System.out.println(mList.get(i));\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);;\n ArrayList<Integer> mList = new ArrayList<>();\n\n while(sc.hasNext()){\n mList.add(sc.nextInt());\n }\n mList.sort(Comparator.reverseOrder());\n for (int i = 0; i < 3; i++) {\n System.out.println(mList.get(i));\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);;\n ArrayList<Integer> mList = new ArrayList<>();\n\n while(sc.hasNext()){\n mList.add(sc.nextInt());\n }\n mList.sort(Comparator.reverseOrder());\n for (int i = 0; i < 3; i++) {\n System.out.println(mList.get(i));\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> mList = new ArrayList<>();",
"mList",
"new ArrayList<>()",
"while(sc.hasNext()){\n mList.add(sc.nextInt());\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n mList.add(sc.nextInt());\n }",
"mList.add(sc.nextInt())",
"mList.add",
"mList",
"sc.nextInt()",
"sc.nextInt",
"sc",
"mList.sort(Comparator.reverseOrder())",
"mList.sort",
"mList",
"Comparator.reverseOrder()",
"Comparator.reverseOrder",
"Comparator",
"for (int i = 0; i < 3; i++) {\n System.out.println(mList.get(i));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(mList.get(i));\n }",
"{\n System.out.println(mList.get(i));\n }",
"System.out.println(mList.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"mList.get(i)",
"mList.get",
"mList",
"i",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);;\n ArrayList<Integer> mList = new ArrayList<>();\n\n while(sc.hasNext()){\n mList.add(sc.nextInt());\n }\n mList.sort(Comparator.reverseOrder());\n for (int i = 0; i < 3; i++) {\n System.out.println(mList.get(i));\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);;\n ArrayList<Integer> mList = new ArrayList<>();\n\n while(sc.hasNext()){\n mList.add(sc.nextInt());\n }\n mList.sort(Comparator.reverseOrder());\n for (int i = 0; i < 3; i++) {\n System.out.println(mList.get(i));\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);;
ArrayList<Integer> mList = new ArrayList<>();
while(sc.hasNext()){
mList.add(sc.nextInt());
}
mList.sort(Comparator.reverseOrder());
for (int i = 0; i < 3; i++) {
System.out.println(mList.get(i));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
17,
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,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
18,
13,
13,
18,
13,
13,
0,
13,
13,
0,
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,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
8,
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
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
62,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
88,
90
],
[
83,
91
],
[
91,
92
],
[
91,
93
],
[
61,
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
]
] | [
"import java.io.*;\n\nclass Main {\n public static void main (String args[]) throws IOException {\n\tInputStreamReader is = new InputStreamReader(System.in);\n\tBufferedReader br = new BufferedReader(is);\n\n\tint tall[] = new int[10];\n\tint high[] = new int[3];\n\tint n = 0;\n\t\n\tfor (int i=0; i<10; i++) {\n\t tall[i] = Integer.parseInt(br.readLine());\n\t}\n\t\n\tfor (int i=0; i<3; i++) {\n\t for (int j=0; j<10; j++) {\n\t\tif (high[i] < tall[j]) {\n\t\t high[i] = tall[j];\n\t\t n = j;\n\t\t}\n\t }\n\t tall[n] = 0;\n\t}\n\t\n for (int i=0; i<3; i++) {\n\t System.out.println(high[i]);\n\t}\n\t\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n public static void main (String args[]) throws IOException {\n\tInputStreamReader is = new InputStreamReader(System.in);\n\tBufferedReader br = new BufferedReader(is);\n\n\tint tall[] = new int[10];\n\tint high[] = new int[3];\n\tint n = 0;\n\t\n\tfor (int i=0; i<10; i++) {\n\t tall[i] = Integer.parseInt(br.readLine());\n\t}\n\t\n\tfor (int i=0; i<3; i++) {\n\t for (int j=0; j<10; j++) {\n\t\tif (high[i] < tall[j]) {\n\t\t high[i] = tall[j];\n\t\t n = j;\n\t\t}\n\t }\n\t tall[n] = 0;\n\t}\n\t\n for (int i=0; i<3; i++) {\n\t System.out.println(high[i]);\n\t}\n\t\n }\n}",
"Main",
"public static void main (String args[]) throws IOException {\n\tInputStreamReader is = new InputStreamReader(System.in);\n\tBufferedReader br = new BufferedReader(is);\n\n\tint tall[] = new int[10];\n\tint high[] = new int[3];\n\tint n = 0;\n\t\n\tfor (int i=0; i<10; i++) {\n\t tall[i] = Integer.parseInt(br.readLine());\n\t}\n\t\n\tfor (int i=0; i<3; i++) {\n\t for (int j=0; j<10; j++) {\n\t\tif (high[i] < tall[j]) {\n\t\t high[i] = tall[j];\n\t\t n = j;\n\t\t}\n\t }\n\t tall[n] = 0;\n\t}\n\t\n for (int i=0; i<3; i++) {\n\t System.out.println(high[i]);\n\t}\n\t\n }",
"main",
"{\n\tInputStreamReader is = new InputStreamReader(System.in);\n\tBufferedReader br = new BufferedReader(is);\n\n\tint tall[] = new int[10];\n\tint high[] = new int[3];\n\tint n = 0;\n\t\n\tfor (int i=0; i<10; i++) {\n\t tall[i] = Integer.parseInt(br.readLine());\n\t}\n\t\n\tfor (int i=0; i<3; i++) {\n\t for (int j=0; j<10; j++) {\n\t\tif (high[i] < tall[j]) {\n\t\t high[i] = tall[j];\n\t\t n = j;\n\t\t}\n\t }\n\t tall[n] = 0;\n\t}\n\t\n for (int i=0; i<3; i++) {\n\t System.out.println(high[i]);\n\t}\n\t\n }",
"InputStreamReader is = new InputStreamReader(System.in);",
"is",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(is);",
"br",
"new BufferedReader(is)",
"int tall[] = new int[10];",
"tall",
"new int[10]",
"10",
"int high[] = new int[3];",
"high",
"new int[3]",
"3",
"int n = 0;",
"n",
"0",
"for (int i=0; i<10; i++) {\n\t tall[i] = Integer.parseInt(br.readLine());\n\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t tall[i] = Integer.parseInt(br.readLine());\n\t}",
"{\n\t tall[i] = Integer.parseInt(br.readLine());\n\t}",
"tall[i] = Integer.parseInt(br.readLine())",
"tall[i]",
"tall",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"for (int i=0; i<3; i++) {\n\t for (int j=0; j<10; j++) {\n\t\tif (high[i] < tall[j]) {\n\t\t high[i] = tall[j];\n\t\t n = j;\n\t\t}\n\t }\n\t tall[n] = 0;\n\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t for (int j=0; j<10; j++) {\n\t\tif (high[i] < tall[j]) {\n\t\t high[i] = tall[j];\n\t\t n = j;\n\t\t}\n\t }\n\t tall[n] = 0;\n\t}",
"{\n\t for (int j=0; j<10; j++) {\n\t\tif (high[i] < tall[j]) {\n\t\t high[i] = tall[j];\n\t\t n = j;\n\t\t}\n\t }\n\t tall[n] = 0;\n\t}",
"for (int j=0; j<10; j++) {\n\t\tif (high[i] < tall[j]) {\n\t\t high[i] = tall[j];\n\t\t n = j;\n\t\t}\n\t }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<10",
"j",
"10",
"j++",
"j++",
"j",
"{\n\t\tif (high[i] < tall[j]) {\n\t\t high[i] = tall[j];\n\t\t n = j;\n\t\t}\n\t }",
"{\n\t\tif (high[i] < tall[j]) {\n\t\t high[i] = tall[j];\n\t\t n = j;\n\t\t}\n\t }",
"if (high[i] < tall[j]) {\n\t\t high[i] = tall[j];\n\t\t n = j;\n\t\t}",
"high[i] < tall[j]",
"high[i]",
"high",
"i",
"tall[j]",
"tall",
"j",
"{\n\t\t high[i] = tall[j];\n\t\t n = j;\n\t\t}",
"high[i] = tall[j]",
"high[i]",
"high",
"i",
"tall[j]",
"tall",
"j",
"n = j",
"n",
"j",
"tall[n] = 0",
"tall[n]",
"tall",
"n",
"0",
"for (int i=0; i<3; i++) {\n\t System.out.println(high[i]);\n\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t System.out.println(high[i]);\n\t}",
"{\n\t System.out.println(high[i]);\n\t}",
"System.out.println(high[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"high[i]",
"high",
"i",
"String args[]",
"args"
] | import java.io.*;
class Main {
public static void main (String args[]) throws IOException {
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(is);
int tall[] = new int[10];
int high[] = new int[3];
int n = 0;
for (int i=0; i<10; i++) {
tall[i] = Integer.parseInt(br.readLine());
}
for (int i=0; i<3; i++) {
for (int j=0; j<10; j++) {
if (high[i] < tall[j]) {
high[i] = tall[j];
n = j;
}
}
tall[n] = 0;
}
for (int i=0; i<3; i++) {
System.out.println(high[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
13,
30,
0,
13,
13,
0,
13,
18,
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
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
14,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
54,
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
],
[
75,
79
],
[
74,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
54,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
94,
95
],
[
94,
96
],
[
54,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
12,
102
],
[
102,
103
]
] | [
"/* package whatever; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\nclass Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t\n\t\tScanner in = new Scanner(System.in);\n\t\tint x[]=new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tx[i]=in.nextInt();\n\t\t}\n\t\tfor(int j=0;j<3;j++){\n\t\t\t\n\t\t\tint max=0;\n\t\t\tint k=0;\n\t\t\tfor(int i=0;i<10;i++)\n\t\t\t{\n\t\t\t\tif(x[i]>max){\n\t\t\t\t\tk=i;\n\t\t\t\t\tmax=x[i];\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x[k]);\n\t\t\tx[k]=0;\n\t\t\t\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t\n\t\tScanner in = new Scanner(System.in);\n\t\tint x[]=new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tx[i]=in.nextInt();\n\t\t}\n\t\tfor(int j=0;j<3;j++){\n\t\t\t\n\t\t\tint max=0;\n\t\t\tint k=0;\n\t\t\tfor(int i=0;i<10;i++)\n\t\t\t{\n\t\t\t\tif(x[i]>max){\n\t\t\t\t\tk=i;\n\t\t\t\t\tmax=x[i];\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x[k]);\n\t\t\tx[k]=0;\n\t\t\t\n\t\t}\n\t}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t\n\t\tScanner in = new Scanner(System.in);\n\t\tint x[]=new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tx[i]=in.nextInt();\n\t\t}\n\t\tfor(int j=0;j<3;j++){\n\t\t\t\n\t\t\tint max=0;\n\t\t\tint k=0;\n\t\t\tfor(int i=0;i<10;i++)\n\t\t\t{\n\t\t\t\tif(x[i]>max){\n\t\t\t\t\tk=i;\n\t\t\t\t\tmax=x[i];\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x[k]);\n\t\t\tx[k]=0;\n\t\t\t\n\t\t}\n\t}",
"main",
"{\n\t\t\n\t\tScanner in = new Scanner(System.in);\n\t\tint x[]=new int[10];\n\t\tfor(int i=0;i<10;i++){\n\t\t\tx[i]=in.nextInt();\n\t\t}\n\t\tfor(int j=0;j<3;j++){\n\t\t\t\n\t\t\tint max=0;\n\t\t\tint k=0;\n\t\t\tfor(int i=0;i<10;i++)\n\t\t\t{\n\t\t\t\tif(x[i]>max){\n\t\t\t\t\tk=i;\n\t\t\t\t\tmax=x[i];\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x[k]);\n\t\t\tx[k]=0;\n\t\t\t\n\t\t}\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int x[]=new int[10];",
"x",
"new int[10]",
"10",
"for(int i=0;i<10;i++){\n\t\t\tx[i]=in.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tx[i]=in.nextInt();\n\t\t}",
"{\n\t\t\tx[i]=in.nextInt();\n\t\t}",
"x[i]=in.nextInt()",
"x[i]",
"x",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"for(int j=0;j<3;j++){\n\t\t\t\n\t\t\tint max=0;\n\t\t\tint k=0;\n\t\t\tfor(int i=0;i<10;i++)\n\t\t\t{\n\t\t\t\tif(x[i]>max){\n\t\t\t\t\tk=i;\n\t\t\t\t\tmax=x[i];\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x[k]);\n\t\t\tx[k]=0;\n\t\t\t\n\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<3",
"j",
"3",
"j++",
"j++",
"j",
"{\n\t\t\t\n\t\t\tint max=0;\n\t\t\tint k=0;\n\t\t\tfor(int i=0;i<10;i++)\n\t\t\t{\n\t\t\t\tif(x[i]>max){\n\t\t\t\t\tk=i;\n\t\t\t\t\tmax=x[i];\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x[k]);\n\t\t\tx[k]=0;\n\t\t\t\n\t\t}",
"{\n\t\t\t\n\t\t\tint max=0;\n\t\t\tint k=0;\n\t\t\tfor(int i=0;i<10;i++)\n\t\t\t{\n\t\t\t\tif(x[i]>max){\n\t\t\t\t\tk=i;\n\t\t\t\t\tmax=x[i];\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x[k]);\n\t\t\tx[k]=0;\n\t\t\t\n\t\t}",
"int max=0;",
"max",
"0",
"int k=0;",
"k",
"0",
"for(int i=0;i<10;i++)\n\t\t\t{\n\t\t\t\tif(x[i]>max){\n\t\t\t\t\tk=i;\n\t\t\t\t\tmax=x[i];\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\t\tif(x[i]>max){\n\t\t\t\t\tk=i;\n\t\t\t\t\tmax=x[i];\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}",
"{\n\t\t\t\tif(x[i]>max){\n\t\t\t\t\tk=i;\n\t\t\t\t\tmax=x[i];\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}",
"if(x[i]>max){\n\t\t\t\t\tk=i;\n\t\t\t\t\tmax=x[i];\n\t\t\t\t}",
"x[i]>max",
"x[i]",
"x",
"i",
"max",
"{\n\t\t\t\t\tk=i;\n\t\t\t\t\tmax=x[i];\n\t\t\t\t}",
"k=i",
"k",
"i",
"max=x[i]",
"max",
"x[i]",
"x",
"i",
"System.out.println(x[k])",
"System.out.println",
"System.out",
"System",
"System.out",
"x[k]",
"x",
"k",
"x[k]=0",
"x[k]",
"x",
"k",
"0",
"String[] args",
"args"
] | /* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* 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 in = new Scanner(System.in);
int x[]=new int[10];
for(int i=0;i<10;i++){
x[i]=in.nextInt();
}
for(int j=0;j<3;j++){
int max=0;
int k=0;
for(int i=0;i<10;i++)
{
if(x[i]>max){
k=i;
max=x[i];
}
}
System.out.println(x[k]);
x[k]=0;
}
}
} |
[
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,
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
],
[
69,
5
],
[
69,
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
],
[
39,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int[] mt = new int[10];\n for(int i = 0; i<10;i++){\n mt[i]=Integer.parseInt(sc.next());\n }\n Arrays.sort(mt);\n for(int i= 0;i<3;i++){\n System.out.println(mt[9-i]);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int[] mt = new int[10];\n for(int i = 0; i<10;i++){\n mt[i]=Integer.parseInt(sc.next());\n }\n Arrays.sort(mt);\n for(int i= 0;i<3;i++){\n System.out.println(mt[9-i]);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int[] mt = new int[10];\n for(int i = 0; i<10;i++){\n mt[i]=Integer.parseInt(sc.next());\n }\n Arrays.sort(mt);\n for(int i= 0;i<3;i++){\n System.out.println(mt[9-i]);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int[] mt = new int[10];\n for(int i = 0; i<10;i++){\n mt[i]=Integer.parseInt(sc.next());\n }\n Arrays.sort(mt);\n for(int i= 0;i<3;i++){\n System.out.println(mt[9-i]);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] mt = new int[10];",
"mt",
"new int[10]",
"10",
"for(int i = 0; i<10;i++){\n mt[i]=Integer.parseInt(sc.next());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n mt[i]=Integer.parseInt(sc.next());\n }",
"{\n mt[i]=Integer.parseInt(sc.next());\n }",
"mt[i]=Integer.parseInt(sc.next())",
"mt[i]",
"mt",
"i",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"Arrays.sort(mt)",
"Arrays.sort",
"Arrays",
"mt",
"for(int i= 0;i<3;i++){\n System.out.println(mt[9-i]);\n }",
"int i= 0;",
"int i= 0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(mt[9-i]);\n }",
"{\n System.out.println(mt[9-i]);\n }",
"System.out.println(mt[9-i])",
"System.out.println",
"System.out",
"System",
"System.out",
"mt[9-i]",
"mt",
"9-i",
"9",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int[] mt = new int[10];\n for(int i = 0; i<10;i++){\n mt[i]=Integer.parseInt(sc.next());\n }\n Arrays.sort(mt);\n for(int i= 0;i<3;i++){\n System.out.println(mt[9-i]);\n }\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int[] mt = new int[10];\n for(int i = 0; i<10;i++){\n mt[i]=Integer.parseInt(sc.next());\n }\n Arrays.sort(mt);\n for(int i= 0;i<3;i++){\n System.out.println(mt[9-i]);\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int[] mt = new int[10];
for(int i = 0; i<10;i++){
mt[i]=Integer.parseInt(sc.next());
}
Arrays.sort(mt);
for(int i= 0;i<3;i++){
System.out.println(mt[9-i]);
}
}
} |
[
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,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
13,
4,
18,
13,
13,
30,
0,
13,
4,
18,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
107,
5
],
[
107,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
8,
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
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
49,
56
],
[
56,
57
],
[
56,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
59,
69
],
[
69,
70
],
[
70,
71
],
[
59,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
74,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
81,
88
],
[
88,
89
],
[
88,
90
],
[
49,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
49,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
6,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
] | [
"import java.util.*;\n\npublic class Main {\t\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n ArrayList<Integer> mountain = new ArrayList<Integer>();\n \n for(int i=0;i<10;i++){\n mountain.add(Integer.parseInt(sc.nextLine()));\n }\n \n for(int i=0;i<3;i++){ \t\n \tint max = mountain.get(0);\n \tint save=0;\n \tfor(int j=0;j<mountain.size();j++){\n \t\tif(max<mountain.get(j)){\n \t\t\tmax=mountain.get(j);\n \t\t\tsave=j;\n \t\t} \t\t\n \t}\n \tSystem.out.println(mountain.get(save));\n \tmountain.remove(save); \t\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\t\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n ArrayList<Integer> mountain = new ArrayList<Integer>();\n \n for(int i=0;i<10;i++){\n mountain.add(Integer.parseInt(sc.nextLine()));\n }\n \n for(int i=0;i<3;i++){ \t\n \tint max = mountain.get(0);\n \tint save=0;\n \tfor(int j=0;j<mountain.size();j++){\n \t\tif(max<mountain.get(j)){\n \t\t\tmax=mountain.get(j);\n \t\t\tsave=j;\n \t\t} \t\t\n \t}\n \tSystem.out.println(mountain.get(save));\n \tmountain.remove(save); \t\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n ArrayList<Integer> mountain = new ArrayList<Integer>();\n \n for(int i=0;i<10;i++){\n mountain.add(Integer.parseInt(sc.nextLine()));\n }\n \n for(int i=0;i<3;i++){ \t\n \tint max = mountain.get(0);\n \tint save=0;\n \tfor(int j=0;j<mountain.size();j++){\n \t\tif(max<mountain.get(j)){\n \t\t\tmax=mountain.get(j);\n \t\t\tsave=j;\n \t\t} \t\t\n \t}\n \tSystem.out.println(mountain.get(save));\n \tmountain.remove(save); \t\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n ArrayList<Integer> mountain = new ArrayList<Integer>();\n \n for(int i=0;i<10;i++){\n mountain.add(Integer.parseInt(sc.nextLine()));\n }\n \n for(int i=0;i<3;i++){ \t\n \tint max = mountain.get(0);\n \tint save=0;\n \tfor(int j=0;j<mountain.size();j++){\n \t\tif(max<mountain.get(j)){\n \t\t\tmax=mountain.get(j);\n \t\t\tsave=j;\n \t\t} \t\t\n \t}\n \tSystem.out.println(mountain.get(save));\n \tmountain.remove(save); \t\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> mountain = new ArrayList<Integer>();",
"mountain",
"new ArrayList<Integer>()",
"for(int i=0;i<10;i++){\n mountain.add(Integer.parseInt(sc.nextLine()));\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n mountain.add(Integer.parseInt(sc.nextLine()));\n }",
"{\n mountain.add(Integer.parseInt(sc.nextLine()));\n }",
"mountain.add(Integer.parseInt(sc.nextLine()))",
"mountain.add",
"mountain",
"Integer.parseInt(sc.nextLine())",
"Integer.parseInt",
"Integer",
"sc.nextLine()",
"sc.nextLine",
"sc",
"for(int i=0;i<3;i++){ \t\n \tint max = mountain.get(0);\n \tint save=0;\n \tfor(int j=0;j<mountain.size();j++){\n \t\tif(max<mountain.get(j)){\n \t\t\tmax=mountain.get(j);\n \t\t\tsave=j;\n \t\t} \t\t\n \t}\n \tSystem.out.println(mountain.get(save));\n \tmountain.remove(save); \t\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3",
"i",
"3",
"i++",
"i++",
"i",
"{ \t\n \tint max = mountain.get(0);\n \tint save=0;\n \tfor(int j=0;j<mountain.size();j++){\n \t\tif(max<mountain.get(j)){\n \t\t\tmax=mountain.get(j);\n \t\t\tsave=j;\n \t\t} \t\t\n \t}\n \tSystem.out.println(mountain.get(save));\n \tmountain.remove(save); \t\n }",
"{ \t\n \tint max = mountain.get(0);\n \tint save=0;\n \tfor(int j=0;j<mountain.size();j++){\n \t\tif(max<mountain.get(j)){\n \t\t\tmax=mountain.get(j);\n \t\t\tsave=j;\n \t\t} \t\t\n \t}\n \tSystem.out.println(mountain.get(save));\n \tmountain.remove(save); \t\n }",
"int max = mountain.get(0);",
"max",
"mountain.get(0)",
"mountain.get",
"mountain",
"0",
"int save=0;",
"save",
"0",
"for(int j=0;j<mountain.size();j++){\n \t\tif(max<mountain.get(j)){\n \t\t\tmax=mountain.get(j);\n \t\t\tsave=j;\n \t\t} \t\t\n \t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<mountain.size()",
"j",
"mountain.size()",
"mountain.size",
"mountain",
"j++",
"j++",
"j",
"{\n \t\tif(max<mountain.get(j)){\n \t\t\tmax=mountain.get(j);\n \t\t\tsave=j;\n \t\t} \t\t\n \t}",
"{\n \t\tif(max<mountain.get(j)){\n \t\t\tmax=mountain.get(j);\n \t\t\tsave=j;\n \t\t} \t\t\n \t}",
"if(max<mountain.get(j)){\n \t\t\tmax=mountain.get(j);\n \t\t\tsave=j;\n \t\t}",
"max<mountain.get(j)",
"max",
"mountain.get(j)",
"mountain.get",
"mountain",
"j",
"{\n \t\t\tmax=mountain.get(j);\n \t\t\tsave=j;\n \t\t}",
"max=mountain.get(j)",
"max",
"mountain.get(j)",
"mountain.get",
"mountain",
"j",
"save=j",
"save",
"j",
"System.out.println(mountain.get(save))",
"System.out.println",
"System.out",
"System",
"System.out",
"mountain.get(save)",
"mountain.get",
"mountain",
"save",
"mountain.remove(save)",
"mountain.remove",
"mountain",
"save",
"String[] args",
"args",
"public class Main {\t\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n ArrayList<Integer> mountain = new ArrayList<Integer>();\n \n for(int i=0;i<10;i++){\n mountain.add(Integer.parseInt(sc.nextLine()));\n }\n \n for(int i=0;i<3;i++){ \t\n \tint max = mountain.get(0);\n \tint save=0;\n \tfor(int j=0;j<mountain.size();j++){\n \t\tif(max<mountain.get(j)){\n \t\t\tmax=mountain.get(j);\n \t\t\tsave=j;\n \t\t} \t\t\n \t}\n \tSystem.out.println(mountain.get(save));\n \tmountain.remove(save); \t\n }\n }\n}",
"public class Main {\t\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n ArrayList<Integer> mountain = new ArrayList<Integer>();\n \n for(int i=0;i<10;i++){\n mountain.add(Integer.parseInt(sc.nextLine()));\n }\n \n for(int i=0;i<3;i++){ \t\n \tint max = mountain.get(0);\n \tint save=0;\n \tfor(int j=0;j<mountain.size();j++){\n \t\tif(max<mountain.get(j)){\n \t\t\tmax=mountain.get(j);\n \t\t\tsave=j;\n \t\t} \t\t\n \t}\n \tSystem.out.println(mountain.get(save));\n \tmountain.remove(save); \t\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<Integer> mountain = new ArrayList<Integer>();
for(int i=0;i<10;i++){
mountain.add(Integer.parseInt(sc.nextLine()));
}
for(int i=0;i<3;i++){
int max = mountain.get(0);
int save=0;
for(int j=0;j<mountain.size();j++){
if(max<mountain.get(j)){
max=mountain.get(j);
save=j;
}
}
System.out.println(mountain.get(save));
mountain.remove(save);
}
}
} |
[
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,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
69,
8
],
[
69,
9
],
[
9,
10
],
[
69,
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
],
[
41,
44
],
[
13,
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
],
[
11,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\tprivate static Scanner scan;\n\n\tpublic static void main(String a[]){\n\t\tscan = 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]=scan.nextInt();\n\t\t}\n\t\tArrays.sort(list);\n\n\t\tfor(int i=9;i>6;i--){\n\t\t\tSystem.out.println(list[i]);\n\t\t}\n\n\t}\n}\n",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tprivate static Scanner scan;\n\n\tpublic static void main(String a[]){\n\t\tscan = 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]=scan.nextInt();\n\t\t}\n\t\tArrays.sort(list);\n\n\t\tfor(int i=9;i>6;i--){\n\t\t\tSystem.out.println(list[i]);\n\t\t}\n\n\t}\n}",
"Main",
"private static Scanner scan;",
"scan",
"public static void main(String a[]){\n\t\tscan = 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]=scan.nextInt();\n\t\t}\n\t\tArrays.sort(list);\n\n\t\tfor(int i=9;i>6;i--){\n\t\t\tSystem.out.println(list[i]);\n\t\t}\n\n\t}",
"main",
"{\n\t\tscan = 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]=scan.nextInt();\n\t\t}\n\t\tArrays.sort(list);\n\n\t\tfor(int i=9;i>6;i--){\n\t\t\tSystem.out.println(list[i]);\n\t\t}\n\n\t}",
"scan = new Scanner(System.in)",
"scan",
"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]=scan.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tlist[i]=scan.nextInt();\n\t\t}",
"{\n\t\t\tlist[i]=scan.nextInt();\n\t\t}",
"list[i]=scan.nextInt()",
"list[i]",
"list",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"Arrays.sort(list)",
"Arrays.sort",
"Arrays",
"list",
"for(int i=9;i>6;i--){\n\t\t\tSystem.out.println(list[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[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(list[i]);\n\t\t}",
"System.out.println(list[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"list[i]",
"list",
"i",
"String a[]",
"a",
"public class Main {\n\tprivate static Scanner scan;\n\n\tpublic static void main(String a[]){\n\t\tscan = 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]=scan.nextInt();\n\t\t}\n\t\tArrays.sort(list);\n\n\t\tfor(int i=9;i>6;i--){\n\t\t\tSystem.out.println(list[i]);\n\t\t}\n\n\t}\n}",
"public class Main {\n\tprivate static Scanner scan;\n\n\tpublic static void main(String a[]){\n\t\tscan = 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]=scan.nextInt();\n\t\t}\n\t\tArrays.sort(list);\n\n\t\tfor(int i=9;i>6;i--){\n\t\t\tSystem.out.println(list[i]);\n\t\t}\n\n\t}\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
private static Scanner scan;
public static void main(String a[]){
scan = new Scanner(System.in);
int[] list = new int[10];
for(int i=0;i<10;i++){
list[i]=scan.nextInt();
}
Arrays.sort(list);
for(int i=9;i>6;i--){
System.out.println(list[i]);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
42,
2,
13,
17,
30,
0,
18,
13,
13,
4,
18,
13,
40,
13,
4,
18,
13,
4,
18,
13,
13,
0,
13,
2,
13,
17,
11,
1,
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
],
[
69,
8
],
[
69,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
11,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
26,
34
],
[
34,
35
],
[
11,
36
],
[
36,
37
],
[
37,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
11,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
11,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
54,
55
],
[
48,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
9,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String args[])throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger[] mount = new Integer[10];\n\t\tint i = 0;\n\t\twhile(i != 10){\n\t\t\tmount[i] = sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t\tsc.close();\n\t\tArrays.sort(mount);\n\t\ti = i-1;\n\t\tfor(;i >= 7;i--){\n\t\tSystem.out.println(mount[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[])throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger[] mount = new Integer[10];\n\t\tint i = 0;\n\t\twhile(i != 10){\n\t\t\tmount[i] = sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t\tsc.close();\n\t\tArrays.sort(mount);\n\t\ti = i-1;\n\t\tfor(;i >= 7;i--){\n\t\tSystem.out.println(mount[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[])throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger[] mount = new Integer[10];\n\t\tint i = 0;\n\t\twhile(i != 10){\n\t\t\tmount[i] = sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t\tsc.close();\n\t\tArrays.sort(mount);\n\t\ti = i-1;\n\t\tfor(;i >= 7;i--){\n\t\tSystem.out.println(mount[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger[] mount = new Integer[10];\n\t\tint i = 0;\n\t\twhile(i != 10){\n\t\t\tmount[i] = sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t\tsc.close();\n\t\tArrays.sort(mount);\n\t\ti = i-1;\n\t\tfor(;i >= 7;i--){\n\t\tSystem.out.println(mount[i]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Integer[] mount = new Integer[10];",
"mount",
"new Integer[10]",
"10",
"int i = 0;",
"i",
"0",
"while(i != 10){\n\t\t\tmount[i] = sc.nextInt();\n\t\t\ti++;\n\t\t}",
"i != 10",
"i",
"10",
"{\n\t\t\tmount[i] = sc.nextInt();\n\t\t\ti++;\n\t\t}",
"mount[i] = sc.nextInt()",
"mount[i]",
"mount",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"i++",
"i",
"sc.close()",
"sc.close",
"sc",
"Arrays.sort(mount)",
"Arrays.sort",
"Arrays",
"mount",
"i = i-1",
"i",
"i-1",
"i",
"1",
"for(;i >= 7;i--){\n\t\tSystem.out.println(mount[i]);\n\t\t}",
";",
"i >= 7",
"i",
"7",
"i--",
"i--",
"i",
"{\n\t\tSystem.out.println(mount[i]);\n\t\t}",
"{\n\t\tSystem.out.println(mount[i]);\n\t\t}",
"System.out.println(mount[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"mount[i]",
"mount",
"i",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[])throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger[] mount = new Integer[10];\n\t\tint i = 0;\n\t\twhile(i != 10){\n\t\t\tmount[i] = sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t\tsc.close();\n\t\tArrays.sort(mount);\n\t\ti = i-1;\n\t\tfor(;i >= 7;i--){\n\t\tSystem.out.println(mount[i]);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[])throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tInteger[] mount = new Integer[10];\n\t\tint i = 0;\n\t\twhile(i != 10){\n\t\t\tmount[i] = sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t\tsc.close();\n\t\tArrays.sort(mount);\n\t\ti = i-1;\n\t\tfor(;i >= 7;i--){\n\t\tSystem.out.println(mount[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[])throws Exception{
Scanner sc = new Scanner(System.in);
Integer[] mount = new Integer[10];
int i = 0;
while(i != 10){
mount[i] = sc.nextInt();
i++;
}
sc.close();
Arrays.sort(mount);
i = i-1;
for(;i >= 7;i--){
System.out.println(mount[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,
41,
13,
4,
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,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
39,
13,
13,
13,
28,
13,
13,
30,
30,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
30,
0,
13,
18,
13,
13,
0,
18,
13,
13,
13,
0,
13,
13,
29,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
126,
5
],
[
126,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
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
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
44,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
6,
65
],
[
65,
66
],
[
126,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
69,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
77,
80
],
[
69,
81
],
[
81,
82
],
[
81,
83
],
[
81,
84
],
[
85,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
88,
96
],
[
96,
97
],
[
97,
98
],
[
88,
99
],
[
100,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
104,
106
],
[
101,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
110,
112
],
[
107,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
107,
118
],
[
118,
119
],
[
118,
120
],
[
69,
121
],
[
121,
122
],
[
67,
123
],
[
123,
124
],
[
0,
125
],
[
125,
126
],
[
125,
127
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n final int SIZE = 10;\n\n int[] height = new int[SIZE];\n for (int i = 0; i < SIZE; i++) {\n height[i] = scanner.nextInt();\n }\n\n int[] valueMax = max3(height);\n\n for (int i = 0; i < 3; i++) {\n System.out.println(valueMax[i]);\n }\n }\n\n static int[] max3(int[] args) {\n final int MIN = Integer.MIN_VALUE;\n int[] valueMax = { MIN, MIN, MIN };\n\n for (int value : args) {\n int tmp;\n for (int i = 0; i < 3; i++) {\n if (value > valueMax[i]) {\n tmp = valueMax[i];\n valueMax[i] = value;\n value = tmp;\n }\n }\n }\n\n return valueMax;\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n final int SIZE = 10;\n\n int[] height = new int[SIZE];\n for (int i = 0; i < SIZE; i++) {\n height[i] = scanner.nextInt();\n }\n\n int[] valueMax = max3(height);\n\n for (int i = 0; i < 3; i++) {\n System.out.println(valueMax[i]);\n }\n }\n\n static int[] max3(int[] args) {\n final int MIN = Integer.MIN_VALUE;\n int[] valueMax = { MIN, MIN, MIN };\n\n for (int value : args) {\n int tmp;\n for (int i = 0; i < 3; i++) {\n if (value > valueMax[i]) {\n tmp = valueMax[i];\n valueMax[i] = value;\n value = tmp;\n }\n }\n }\n\n return valueMax;\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n final int SIZE = 10;\n\n int[] height = new int[SIZE];\n for (int i = 0; i < SIZE; i++) {\n height[i] = scanner.nextInt();\n }\n\n int[] valueMax = max3(height);\n\n for (int i = 0; i < 3; i++) {\n System.out.println(valueMax[i]);\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n final int SIZE = 10;\n\n int[] height = new int[SIZE];\n for (int i = 0; i < SIZE; i++) {\n height[i] = scanner.nextInt();\n }\n\n int[] valueMax = max3(height);\n\n for (int i = 0; i < 3; i++) {\n System.out.println(valueMax[i]);\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"final int SIZE = 10;",
"SIZE",
"10",
"int[] height = new int[SIZE];",
"height",
"new int[SIZE]",
"SIZE",
"for (int i = 0; i < SIZE; i++) {\n height[i] = scanner.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < SIZE",
"i",
"SIZE",
"i++",
"i++",
"i",
"{\n height[i] = scanner.nextInt();\n }",
"{\n height[i] = scanner.nextInt();\n }",
"height[i] = scanner.nextInt()",
"height[i]",
"height",
"i",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int[] valueMax = max3(height);",
"valueMax",
"max3(height)",
"max3",
"height",
"for (int i = 0; i < 3; i++) {\n System.out.println(valueMax[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(valueMax[i]);\n }",
"{\n System.out.println(valueMax[i]);\n }",
"System.out.println(valueMax[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"valueMax[i]",
"valueMax",
"i",
"String[] args",
"args",
"static int[] max3(int[] args) {\n final int MIN = Integer.MIN_VALUE;\n int[] valueMax = { MIN, MIN, MIN };\n\n for (int value : args) {\n int tmp;\n for (int i = 0; i < 3; i++) {\n if (value > valueMax[i]) {\n tmp = valueMax[i];\n valueMax[i] = value;\n value = tmp;\n }\n }\n }\n\n return valueMax;\n }",
"max3",
"{\n final int MIN = Integer.MIN_VALUE;\n int[] valueMax = { MIN, MIN, MIN };\n\n for (int value : args) {\n int tmp;\n for (int i = 0; i < 3; i++) {\n if (value > valueMax[i]) {\n tmp = valueMax[i];\n valueMax[i] = value;\n value = tmp;\n }\n }\n }\n\n return valueMax;\n }",
"final int MIN = Integer.MIN_VALUE;",
"MIN",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"int[] valueMax = { MIN, MIN, MIN };",
"valueMax",
"{ MIN, MIN, MIN }",
"MIN",
"MIN",
"MIN",
"for (int value : args) {\n int tmp;\n for (int i = 0; i < 3; i++) {\n if (value > valueMax[i]) {\n tmp = valueMax[i];\n valueMax[i] = value;\n value = tmp;\n }\n }\n }",
"int value",
"args",
"{\n int tmp;\n for (int i = 0; i < 3; i++) {\n if (value > valueMax[i]) {\n tmp = valueMax[i];\n valueMax[i] = value;\n value = tmp;\n }\n }\n }",
"{\n int tmp;\n for (int i = 0; i < 3; i++) {\n if (value > valueMax[i]) {\n tmp = valueMax[i];\n valueMax[i] = value;\n value = tmp;\n }\n }\n }",
"int tmp;",
"tmp",
"for (int i = 0; i < 3; i++) {\n if (value > valueMax[i]) {\n tmp = valueMax[i];\n valueMax[i] = value;\n value = tmp;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n if (value > valueMax[i]) {\n tmp = valueMax[i];\n valueMax[i] = value;\n value = tmp;\n }\n }",
"{\n if (value > valueMax[i]) {\n tmp = valueMax[i];\n valueMax[i] = value;\n value = tmp;\n }\n }",
"if (value > valueMax[i]) {\n tmp = valueMax[i];\n valueMax[i] = value;\n value = tmp;\n }",
"value > valueMax[i]",
"value",
"valueMax[i]",
"valueMax",
"i",
"{\n tmp = valueMax[i];\n valueMax[i] = value;\n value = tmp;\n }",
"tmp = valueMax[i]",
"tmp",
"valueMax[i]",
"valueMax",
"i",
"valueMax[i] = value",
"valueMax[i]",
"valueMax",
"i",
"value",
"value = tmp",
"value",
"tmp",
"return valueMax;",
"valueMax",
"int[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n final int SIZE = 10;\n\n int[] height = new int[SIZE];\n for (int i = 0; i < SIZE; i++) {\n height[i] = scanner.nextInt();\n }\n\n int[] valueMax = max3(height);\n\n for (int i = 0; i < 3; i++) {\n System.out.println(valueMax[i]);\n }\n }\n\n static int[] max3(int[] args) {\n final int MIN = Integer.MIN_VALUE;\n int[] valueMax = { MIN, MIN, MIN };\n\n for (int value : args) {\n int tmp;\n for (int i = 0; i < 3; i++) {\n if (value > valueMax[i]) {\n tmp = valueMax[i];\n valueMax[i] = value;\n value = tmp;\n }\n }\n }\n\n return valueMax;\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n final int SIZE = 10;\n\n int[] height = new int[SIZE];\n for (int i = 0; i < SIZE; i++) {\n height[i] = scanner.nextInt();\n }\n\n int[] valueMax = max3(height);\n\n for (int i = 0; i < 3; i++) {\n System.out.println(valueMax[i]);\n }\n }\n\n static int[] max3(int[] args) {\n final int MIN = Integer.MIN_VALUE;\n int[] valueMax = { MIN, MIN, MIN };\n\n for (int value : args) {\n int tmp;\n for (int i = 0; i < 3; i++) {\n if (value > valueMax[i]) {\n tmp = valueMax[i];\n valueMax[i] = value;\n value = tmp;\n }\n }\n }\n\n return valueMax;\n }\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
final int SIZE = 10;
int[] height = new int[SIZE];
for (int i = 0; i < SIZE; i++) {
height[i] = scanner.nextInt();
}
int[] valueMax = max3(height);
for (int i = 0; i < 3; i++) {
System.out.println(valueMax[i]);
}
}
static int[] max3(int[] args) {
final int MIN = Integer.MIN_VALUE;
int[] valueMax = { MIN, MIN, MIN };
for (int value : args) {
int tmp;
for (int i = 0; i < 3; i++) {
if (value > valueMax[i]) {
tmp = valueMax[i];
valueMax[i] = value;
value = tmp;
}
}
}
return valueMax;
}
} |
[
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,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
18,
13,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
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
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
11,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
11,
72
],
[
72,
73
],
[
73,
74
],
[
9,
75
],
[
75,
76
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] args) {\n\t\tint[] intList = new int[10];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor (int count = 0; count < 10; count++) {\n\t\t\tint temp = sc.nextInt();\n\t\t\tif (temp <= 10000) {\n\t\t\t\tintList[count] = temp;\n\t\t\t}\n\t\t}\n\t\tArrays.sort(intList);\n\t\tfor (int j = 9; j >= 7; j--) {\n\t\t\tSystem.out.println(intList[j]);\n\t\t}\n\t\tsc.close();\n\t}\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String[] args) {\n\t\tint[] intList = new int[10];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor (int count = 0; count < 10; count++) {\n\t\t\tint temp = sc.nextInt();\n\t\t\tif (temp <= 10000) {\n\t\t\t\tintList[count] = temp;\n\t\t\t}\n\t\t}\n\t\tArrays.sort(intList);\n\t\tfor (int j = 9; j >= 7; j--) {\n\t\t\tSystem.out.println(intList[j]);\n\t\t}\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tint[] intList = new int[10];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor (int count = 0; count < 10; count++) {\n\t\t\tint temp = sc.nextInt();\n\t\t\tif (temp <= 10000) {\n\t\t\t\tintList[count] = temp;\n\t\t\t}\n\t\t}\n\t\tArrays.sort(intList);\n\t\tfor (int j = 9; j >= 7; j--) {\n\t\t\tSystem.out.println(intList[j]);\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tint[] intList = new int[10];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor (int count = 0; count < 10; count++) {\n\t\t\tint temp = sc.nextInt();\n\t\t\tif (temp <= 10000) {\n\t\t\t\tintList[count] = temp;\n\t\t\t}\n\t\t}\n\t\tArrays.sort(intList);\n\t\tfor (int j = 9; j >= 7; j--) {\n\t\t\tSystem.out.println(intList[j]);\n\t\t}\n\t\tsc.close();\n\t}",
"int[] intList = new int[10];",
"intList",
"new int[10]",
"10",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for (int count = 0; count < 10; count++) {\n\t\t\tint temp = sc.nextInt();\n\t\t\tif (temp <= 10000) {\n\t\t\t\tintList[count] = temp;\n\t\t\t}\n\t\t}",
"int count = 0;",
"int count = 0;",
"count",
"0",
"count < 10",
"count",
"10",
"count++",
"count++",
"count",
"{\n\t\t\tint temp = sc.nextInt();\n\t\t\tif (temp <= 10000) {\n\t\t\t\tintList[count] = temp;\n\t\t\t}\n\t\t}",
"{\n\t\t\tint temp = sc.nextInt();\n\t\t\tif (temp <= 10000) {\n\t\t\t\tintList[count] = temp;\n\t\t\t}\n\t\t}",
"int temp = sc.nextInt();",
"temp",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (temp <= 10000) {\n\t\t\t\tintList[count] = temp;\n\t\t\t}",
"temp <= 10000",
"temp",
"10000",
"{\n\t\t\t\tintList[count] = temp;\n\t\t\t}",
"intList[count] = temp",
"intList[count]",
"intList",
"count",
"temp",
"Arrays.sort(intList)",
"Arrays.sort",
"Arrays",
"intList",
"for (int j = 9; j >= 7; j--) {\n\t\t\tSystem.out.println(intList[j]);\n\t\t}",
"int j = 9;",
"int j = 9;",
"j",
"9",
"j >= 7",
"j",
"7",
"j--",
"j--",
"j",
"{\n\t\t\tSystem.out.println(intList[j]);\n\t\t}",
"{\n\t\t\tSystem.out.println(intList[j]);\n\t\t}",
"System.out.println(intList[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"intList[j]",
"intList",
"j",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args"
] | import java.util.Arrays;
import java.util.Scanner;
class Main{
public static void main(String[] args) {
int[] intList = new int[10];
Scanner sc = new Scanner(System.in);
for (int count = 0; count < 10; count++) {
int temp = sc.nextInt();
if (temp <= 10000) {
intList[count] = temp;
}
}
Arrays.sort(intList);
for (int j = 9; j >= 7; j--) {
System.out.println(intList[j]);
}
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
17,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
7,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
19,
29
],
[
29,
30
],
[
30,
31
],
[
19,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
15,
41
],
[
41,
42
],
[
13,
43
],
[
43,
44
],
[
7,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
52,
61
],
[
61,
62
],
[
61,
63
],
[
52,
64
],
[
64,
65
],
[
65,
66
],
[
52,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\nclass Main {\n\tpublic static int[] a = new int[10];\n\tpublic static void main(String[] args) {\n\t\tScanner cin = new Scanner(System.in);\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\ta[i] = cin.nextInt();\n\t\t}\n\t\tsolve();\n\t}\n\t\n\tpublic static void solve() {\n\t\tArrays.sort(a);\n\t\tfor(int i = a.length - 1; i > 6; i--){\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static int[] a = new int[10];\n\tpublic static void main(String[] args) {\n\t\tScanner cin = new Scanner(System.in);\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\ta[i] = cin.nextInt();\n\t\t}\n\t\tsolve();\n\t}\n\t\n\tpublic static void solve() {\n\t\tArrays.sort(a);\n\t\tfor(int i = a.length - 1; i > 6; i--){\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}\n}",
"Main",
"public static int[] a = new int[10];",
"a",
"new int[10]",
"10",
"public static void main(String[] args) {\n\t\tScanner cin = new Scanner(System.in);\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\ta[i] = cin.nextInt();\n\t\t}\n\t\tsolve();\n\t}",
"main",
"{\n\t\tScanner cin = new Scanner(System.in);\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\ta[i] = cin.nextInt();\n\t\t}\n\t\tsolve();\n\t}",
"Scanner cin = new Scanner(System.in);",
"cin",
"new Scanner(System.in)",
"for (int i = 0; i < a.length; i++) {\n\t\t\ta[i] = cin.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] = 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",
"solve()",
"solve",
"String[] args",
"args",
"public static void solve() {\n\t\tArrays.sort(a);\n\t\tfor(int i = a.length - 1; i > 6; i--){\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}",
"solve",
"{\n\t\tArrays.sort(a);\n\t\tfor(int i = a.length - 1; i > 6; i--){\n\t\t\tSystem.out.println(a[i]);\n\t\t}\n\t}",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"for(int i = a.length - 1; i > 6; i--){\n\t\t\tSystem.out.println(a[i]);\n\t\t}",
"int i = a.length - 1;",
"int i = a.length - 1;",
"i",
"a.length - 1",
"a.length",
"a",
"a.length",
"1",
"i > 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"
] | import java.util.Arrays;
import java.util.Scanner;
class Main {
public static int[] a = new int[10];
public static void main(String[] args) {
Scanner cin = new Scanner(System.in);
for (int i = 0; i < a.length; i++) {
a[i] = cin.nextInt();
}
solve();
}
public static void solve() {
Arrays.sort(a);
for(int i = a.length - 1; i > 6; i--){
System.out.println(a[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
0,
13,
4,
13,
4,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
4,
13,
13,
30,
0,
18,
13,
13,
13,
30,
9,
4,
18,
13,
29,
13,
12,
13,
30,
14,
2,
2,
13,
13,
2,
13,
13,
30,
29,
17,
29,
17,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
2,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
2,
13,
17,
18,
13,
13,
30,
41,
13,
18,
13,
2,
13,
17,
0,
18,
13,
2,
13,
17,
18,
13,
13,
0,
18,
13,
13,
13,
29,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
193,
5
],
[
193,
6
],
[
6,
7
],
[
6,
8
],
[
193,
9
],
[
9,
10
],
[
9,
11
],
[
193,
12
],
[
12,
13
],
[
12,
14
],
[
193,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
27
],
[
27,
28
],
[
27,
29
],
[
15,
30
],
[
30,
31
],
[
193,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
32,
56
],
[
56,
57
],
[
193,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
60,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
68,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
80,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
86,
96
],
[
96,
97
],
[
60,
98
],
[
98,
99
],
[
99,
100
],
[
60,
101
],
[
101,
102
],
[
193,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
111,
113
],
[
106,
114
],
[
114,
115
],
[
115,
116
],
[
105,
117
],
[
117,
118
],
[
103,
119
],
[
119,
120
],
[
193,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
124,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
131,
133
],
[
124,
134
],
[
134,
135
],
[
135,
136
],
[
124,
137
],
[
138,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
143,
145
],
[
139,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
148,
150
],
[
139,
151
],
[
151,
152
],
[
152,
153
],
[
139,
154
],
[
155,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
160,
162
],
[
157,
163
],
[
163,
164
],
[
163,
165
],
[
156,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
171,
173
],
[
166,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
177,
179
],
[
174,
180
],
[
180,
181
],
[
180,
182
],
[
166,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
183,
187
],
[
123,
188
],
[
188,
189
],
[
121,
190
],
[
190,
191
],
[
0,
192
],
[
192,
193
],
[
192,
194
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tprivate final static int LIST_MAX = 10;\n\tprivate final static int INPUT_MIN = 0;\n\tprivate final static int INPUT_MAX = 10000;\n\t\n\tpublic static void main(String[]args){\n\t\tint Mt_list[];\n\t\tMt_list = input();\n\t\t\n\t\tsort(Mt_list);\n\t\t\n\t\tshow(Mt_list);\n\t}\n\t\n\tpublic static void show(int[] list){\n\t\tfor(int i = 0;i < 3;i++){\n\t\t\tSystem.out.println(list[i]);\n\t\t}\n\t}\n\t\n\tpublic static int[] input(){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint list[] = new int[LIST_MAX];\n\t\t\n\t\tfor(int i = 0;i < LIST_MAX;i++){\n\t\t\tint tmp = stdIn.nextInt();\n\t\t\tif(input_ck(tmp)){\n\t\t\t\tlist[i] = tmp;\n\t\t\t}else{\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\t\n\t\tstdIn.close();\n\t\treturn list;\n\t}\n\t\n\tpublic static boolean input_ck(int x){\n\t\tif(INPUT_MIN <= x && x <= INPUT_MAX){\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\t\n\tpublic static int[] sort(int[] list){\n\t\tfor(int i = 0;i < LIST_MAX - 1;i++){\n\t\t\tfor(int j = LIST_MAX - 1;j >= i + 1;j--){\n\t\t\t\tif(list[j - 1] < list[j]){\n\t\t\t\t\tint work = list[j - 1];\n\t\t\t\t\tlist[j - 1] = list[j];\n\t\t\t\t\tlist[j] = work;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn list;\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tprivate final static int LIST_MAX = 10;\n\tprivate final static int INPUT_MIN = 0;\n\tprivate final static int INPUT_MAX = 10000;\n\t\n\tpublic static void main(String[]args){\n\t\tint Mt_list[];\n\t\tMt_list = input();\n\t\t\n\t\tsort(Mt_list);\n\t\t\n\t\tshow(Mt_list);\n\t}\n\t\n\tpublic static void show(int[] list){\n\t\tfor(int i = 0;i < 3;i++){\n\t\t\tSystem.out.println(list[i]);\n\t\t}\n\t}\n\t\n\tpublic static int[] input(){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint list[] = new int[LIST_MAX];\n\t\t\n\t\tfor(int i = 0;i < LIST_MAX;i++){\n\t\t\tint tmp = stdIn.nextInt();\n\t\t\tif(input_ck(tmp)){\n\t\t\t\tlist[i] = tmp;\n\t\t\t}else{\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\t\n\t\tstdIn.close();\n\t\treturn list;\n\t}\n\t\n\tpublic static boolean input_ck(int x){\n\t\tif(INPUT_MIN <= x && x <= INPUT_MAX){\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\t\n\tpublic static int[] sort(int[] list){\n\t\tfor(int i = 0;i < LIST_MAX - 1;i++){\n\t\t\tfor(int j = LIST_MAX - 1;j >= i + 1;j--){\n\t\t\t\tif(list[j - 1] < list[j]){\n\t\t\t\t\tint work = list[j - 1];\n\t\t\t\t\tlist[j - 1] = list[j];\n\t\t\t\t\tlist[j] = work;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn list;\n\t}\n}",
"Main",
"private final static int LIST_MAX = 10;",
"LIST_MAX",
"10",
"private final static int INPUT_MIN = 0;",
"INPUT_MIN",
"0",
"private final static int INPUT_MAX = 10000;",
"INPUT_MAX",
"10000",
"public static void main(String[]args){\n\t\tint Mt_list[];\n\t\tMt_list = input();\n\t\t\n\t\tsort(Mt_list);\n\t\t\n\t\tshow(Mt_list);\n\t}",
"main",
"{\n\t\tint Mt_list[];\n\t\tMt_list = input();\n\t\t\n\t\tsort(Mt_list);\n\t\t\n\t\tshow(Mt_list);\n\t}",
"int Mt_list[];",
"Mt_list",
"Mt_list = input()",
"Mt_list",
"input()",
"input",
"sort(Mt_list)",
"sort",
"Mt_list",
"show(Mt_list)",
"show",
"Mt_list",
"String[]args",
"args",
"public static void show(int[] list){\n\t\tfor(int i = 0;i < 3;i++){\n\t\t\tSystem.out.println(list[i]);\n\t\t}\n\t}",
"show",
"{\n\t\tfor(int i = 0;i < 3;i++){\n\t\t\tSystem.out.println(list[i]);\n\t\t}\n\t}",
"for(int i = 0;i < 3;i++){\n\t\t\tSystem.out.println(list[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(list[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(list[i]);\n\t\t}",
"System.out.println(list[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"list[i]",
"list",
"i",
"int[] list",
"list",
"public static int[] input(){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint list[] = new int[LIST_MAX];\n\t\t\n\t\tfor(int i = 0;i < LIST_MAX;i++){\n\t\t\tint tmp = stdIn.nextInt();\n\t\t\tif(input_ck(tmp)){\n\t\t\t\tlist[i] = tmp;\n\t\t\t}else{\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\t\n\t\tstdIn.close();\n\t\treturn list;\n\t}",
"input",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint list[] = new int[LIST_MAX];\n\t\t\n\t\tfor(int i = 0;i < LIST_MAX;i++){\n\t\t\tint tmp = stdIn.nextInt();\n\t\t\tif(input_ck(tmp)){\n\t\t\t\tlist[i] = tmp;\n\t\t\t}else{\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\t\n\t\tstdIn.close();\n\t\treturn list;\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int list[] = new int[LIST_MAX];",
"list",
"new int[LIST_MAX]",
"LIST_MAX",
"for(int i = 0;i < LIST_MAX;i++){\n\t\t\tint tmp = stdIn.nextInt();\n\t\t\tif(input_ck(tmp)){\n\t\t\t\tlist[i] = tmp;\n\t\t\t}else{\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < LIST_MAX",
"i",
"LIST_MAX",
"i++",
"i++",
"i",
"{\n\t\t\tint tmp = stdIn.nextInt();\n\t\t\tif(input_ck(tmp)){\n\t\t\t\tlist[i] = tmp;\n\t\t\t}else{\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}",
"{\n\t\t\tint tmp = stdIn.nextInt();\n\t\t\tif(input_ck(tmp)){\n\t\t\t\tlist[i] = tmp;\n\t\t\t}else{\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}",
"int tmp = stdIn.nextInt();",
"tmp",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"if(input_ck(tmp)){\n\t\t\t\tlist[i] = tmp;\n\t\t\t}else{\n\t\t\t\tcontinue;\n\t\t\t}",
"input_ck(tmp)",
"input_ck",
"tmp",
"{\n\t\t\t\tlist[i] = tmp;\n\t\t\t}",
"list[i] = tmp",
"list[i]",
"list",
"i",
"tmp",
"{\n\t\t\t\tcontinue;\n\t\t\t}",
"continue;",
"stdIn.close()",
"stdIn.close",
"stdIn",
"return list;",
"list",
"public static boolean input_ck(int x){\n\t\tif(INPUT_MIN <= x && x <= INPUT_MAX){\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"input_ck",
"{\n\t\tif(INPUT_MIN <= x && x <= INPUT_MAX){\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"if(INPUT_MIN <= x && x <= INPUT_MAX){\n\t\t\treturn true;\n\t\t}",
"INPUT_MIN <= x && x <= INPUT_MAX",
"INPUT_MIN <= x",
"INPUT_MIN",
"x",
"x <= INPUT_MAX",
"x",
"INPUT_MAX",
"{\n\t\t\treturn true;\n\t\t}",
"return true;",
"true",
"return false;",
"false",
"int x",
"x",
"public static int[] sort(int[] list){\n\t\tfor(int i = 0;i < LIST_MAX - 1;i++){\n\t\t\tfor(int j = LIST_MAX - 1;j >= i + 1;j--){\n\t\t\t\tif(list[j - 1] < list[j]){\n\t\t\t\t\tint work = list[j - 1];\n\t\t\t\t\tlist[j - 1] = list[j];\n\t\t\t\t\tlist[j] = work;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn list;\n\t}",
"sort",
"{\n\t\tfor(int i = 0;i < LIST_MAX - 1;i++){\n\t\t\tfor(int j = LIST_MAX - 1;j >= i + 1;j--){\n\t\t\t\tif(list[j - 1] < list[j]){\n\t\t\t\t\tint work = list[j - 1];\n\t\t\t\t\tlist[j - 1] = list[j];\n\t\t\t\t\tlist[j] = work;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn list;\n\t}",
"for(int i = 0;i < LIST_MAX - 1;i++){\n\t\t\tfor(int j = LIST_MAX - 1;j >= i + 1;j--){\n\t\t\t\tif(list[j - 1] < list[j]){\n\t\t\t\t\tint work = list[j - 1];\n\t\t\t\t\tlist[j - 1] = list[j];\n\t\t\t\t\tlist[j] = work;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < LIST_MAX - 1",
"i",
"LIST_MAX - 1",
"LIST_MAX",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = LIST_MAX - 1;j >= i + 1;j--){\n\t\t\t\tif(list[j - 1] < list[j]){\n\t\t\t\t\tint work = list[j - 1];\n\t\t\t\t\tlist[j - 1] = list[j];\n\t\t\t\t\tlist[j] = work;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int j = LIST_MAX - 1;j >= i + 1;j--){\n\t\t\t\tif(list[j - 1] < list[j]){\n\t\t\t\t\tint work = list[j - 1];\n\t\t\t\t\tlist[j - 1] = list[j];\n\t\t\t\t\tlist[j] = work;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int j = LIST_MAX - 1;j >= i + 1;j--){\n\t\t\t\tif(list[j - 1] < list[j]){\n\t\t\t\t\tint work = list[j - 1];\n\t\t\t\t\tlist[j - 1] = list[j];\n\t\t\t\t\tlist[j] = work;\n\t\t\t\t}\n\t\t\t}",
"int j = LIST_MAX - 1;",
"int j = LIST_MAX - 1;",
"j",
"LIST_MAX - 1",
"LIST_MAX",
"1",
"j >= i + 1",
"j",
"i + 1",
"i",
"1",
"j--",
"j--",
"j",
"{\n\t\t\t\tif(list[j - 1] < list[j]){\n\t\t\t\t\tint work = list[j - 1];\n\t\t\t\t\tlist[j - 1] = list[j];\n\t\t\t\t\tlist[j] = work;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(list[j - 1] < list[j]){\n\t\t\t\t\tint work = list[j - 1];\n\t\t\t\t\tlist[j - 1] = list[j];\n\t\t\t\t\tlist[j] = work;\n\t\t\t\t}\n\t\t\t}",
"if(list[j - 1] < list[j]){\n\t\t\t\t\tint work = list[j - 1];\n\t\t\t\t\tlist[j - 1] = list[j];\n\t\t\t\t\tlist[j] = work;\n\t\t\t\t}",
"list[j - 1] < list[j]",
"list[j - 1]",
"list",
"j - 1",
"j",
"1",
"list[j]",
"list",
"j",
"{\n\t\t\t\t\tint work = list[j - 1];\n\t\t\t\t\tlist[j - 1] = list[j];\n\t\t\t\t\tlist[j] = work;\n\t\t\t\t}",
"int work = list[j - 1];",
"work",
"list[j - 1]",
"list",
"j - 1",
"j",
"1",
"list[j - 1] = list[j]",
"list[j - 1]",
"list",
"j - 1",
"j",
"1",
"list[j]",
"list",
"j",
"list[j] = work",
"list[j]",
"list",
"j",
"work",
"return list;",
"list",
"int[] list",
"list",
"public class Main {\n\tprivate final static int LIST_MAX = 10;\n\tprivate final static int INPUT_MIN = 0;\n\tprivate final static int INPUT_MAX = 10000;\n\t\n\tpublic static void main(String[]args){\n\t\tint Mt_list[];\n\t\tMt_list = input();\n\t\t\n\t\tsort(Mt_list);\n\t\t\n\t\tshow(Mt_list);\n\t}\n\t\n\tpublic static void show(int[] list){\n\t\tfor(int i = 0;i < 3;i++){\n\t\t\tSystem.out.println(list[i]);\n\t\t}\n\t}\n\t\n\tpublic static int[] input(){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint list[] = new int[LIST_MAX];\n\t\t\n\t\tfor(int i = 0;i < LIST_MAX;i++){\n\t\t\tint tmp = stdIn.nextInt();\n\t\t\tif(input_ck(tmp)){\n\t\t\t\tlist[i] = tmp;\n\t\t\t}else{\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\t\n\t\tstdIn.close();\n\t\treturn list;\n\t}\n\t\n\tpublic static boolean input_ck(int x){\n\t\tif(INPUT_MIN <= x && x <= INPUT_MAX){\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\t\n\tpublic static int[] sort(int[] list){\n\t\tfor(int i = 0;i < LIST_MAX - 1;i++){\n\t\t\tfor(int j = LIST_MAX - 1;j >= i + 1;j--){\n\t\t\t\tif(list[j - 1] < list[j]){\n\t\t\t\t\tint work = list[j - 1];\n\t\t\t\t\tlist[j - 1] = list[j];\n\t\t\t\t\tlist[j] = work;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn list;\n\t}\n}",
"public class Main {\n\tprivate final static int LIST_MAX = 10;\n\tprivate final static int INPUT_MIN = 0;\n\tprivate final static int INPUT_MAX = 10000;\n\t\n\tpublic static void main(String[]args){\n\t\tint Mt_list[];\n\t\tMt_list = input();\n\t\t\n\t\tsort(Mt_list);\n\t\t\n\t\tshow(Mt_list);\n\t}\n\t\n\tpublic static void show(int[] list){\n\t\tfor(int i = 0;i < 3;i++){\n\t\t\tSystem.out.println(list[i]);\n\t\t}\n\t}\n\t\n\tpublic static int[] input(){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint list[] = new int[LIST_MAX];\n\t\t\n\t\tfor(int i = 0;i < LIST_MAX;i++){\n\t\t\tint tmp = stdIn.nextInt();\n\t\t\tif(input_ck(tmp)){\n\t\t\t\tlist[i] = tmp;\n\t\t\t}else{\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\t\n\t\tstdIn.close();\n\t\treturn list;\n\t}\n\t\n\tpublic static boolean input_ck(int x){\n\t\tif(INPUT_MIN <= x && x <= INPUT_MAX){\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}\n\t\n\tpublic static int[] sort(int[] list){\n\t\tfor(int i = 0;i < LIST_MAX - 1;i++){\n\t\t\tfor(int j = LIST_MAX - 1;j >= i + 1;j--){\n\t\t\t\tif(list[j - 1] < list[j]){\n\t\t\t\t\tint work = list[j - 1];\n\t\t\t\t\tlist[j - 1] = list[j];\n\t\t\t\t\tlist[j] = work;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn list;\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
private final static int LIST_MAX = 10;
private final static int INPUT_MIN = 0;
private final static int INPUT_MAX = 10000;
public static void main(String[]args){
int Mt_list[];
Mt_list = input();
sort(Mt_list);
show(Mt_list);
}
public static void show(int[] list){
for(int i = 0;i < 3;i++){
System.out.println(list[i]);
}
}
public static int[] input(){
Scanner stdIn = new Scanner(System.in);
int list[] = new int[LIST_MAX];
for(int i = 0;i < LIST_MAX;i++){
int tmp = stdIn.nextInt();
if(input_ck(tmp)){
list[i] = tmp;
}else{
continue;
}
}
stdIn.close();
return list;
}
public static boolean input_ck(int x){
if(INPUT_MIN <= x && x <= INPUT_MAX){
return true;
}
return false;
}
public static int[] sort(int[] list){
for(int i = 0;i < LIST_MAX - 1;i++){
for(int j = LIST_MAX - 1;j >= i + 1;j--){
if(list[j - 1] < list[j]){
int work = list[j - 1];
list[j - 1] = list[j];
list[j] = work;
}
}
}
return list;
}
} |
[
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,
4,
13,
13,
28,
13,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
13,
18,
13,
13,
4,
18,
13,
13,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
2,
2,
18,
13,
13,
17,
13,
29,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
110,
8
],
[
110,
9
],
[
9,
10
],
[
9,
11
],
[
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
],
[
11,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
11,
47
],
[
47,
48
],
[
47,
49
],
[
47,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
9,
57
],
[
57,
58
],
[
110,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
61,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
61,
75
],
[
75,
76
],
[
75,
77
],
[
61,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
84,
86
],
[
79,
87
],
[
87,
88
],
[
88,
89
],
[
79,
90
],
[
91,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
96,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
99,
104
],
[
61,
105
],
[
105,
106
],
[
59,
107
],
[
107,
108
],
[
0,
109
],
[
109,
110
],
[
109,
111
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\n\npublic class Main{\n\t\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] in = new int[10];\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tin[i] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\t\tint[] result = top3(in);\n\t\tfor(int i: result) System.out.println(i);\n\t}\n\t\n\tstatic int[] top3(int[] args) {\n\t\tint[] copy = Arrays.copyOf(args, args.length);\n\t\tArrays.sort(copy);\n\t\tint[] result = new int[3];\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tresult[i] = copy[copy.length - 1 - i];\n\t\t}\n\t\treturn result;\n\t}\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\t\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] in = new int[10];\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tin[i] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\t\tint[] result = top3(in);\n\t\tfor(int i: result) System.out.println(i);\n\t}\n\t\n\tstatic int[] top3(int[] args) {\n\t\tint[] copy = Arrays.copyOf(args, args.length);\n\t\tArrays.sort(copy);\n\t\tint[] result = new int[3];\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tresult[i] = copy[copy.length - 1 - i];\n\t\t}\n\t\treturn result;\n\t}\n}",
"Main",
"public static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] in = new int[10];\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tin[i] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\t\tint[] result = top3(in);\n\t\tfor(int i: result) System.out.println(i);\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] in = new int[10];\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tin[i] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\t\tint[] result = top3(in);\n\t\tfor(int i: result) System.out.println(i);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] in = new int[10];",
"in",
"new int[10]",
"10",
"for(int i = 0; i < 10; i++) {\n\t\t\tin[i] = sc.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tin[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tin[i] = sc.nextInt();\n\t\t}",
"in[i] = sc.nextInt()",
"in[i]",
"in",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.close()",
"sc.close",
"sc",
"int[] result = top3(in);",
"result",
"top3(in)",
"top3",
"in",
"for(int i: result) System.out.println(i);",
"int i",
"result",
"System.out.println(i);",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"static int[] top3(int[] args) {\n\t\tint[] copy = Arrays.copyOf(args, args.length);\n\t\tArrays.sort(copy);\n\t\tint[] result = new int[3];\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tresult[i] = copy[copy.length - 1 - i];\n\t\t}\n\t\treturn result;\n\t}",
"top3",
"{\n\t\tint[] copy = Arrays.copyOf(args, args.length);\n\t\tArrays.sort(copy);\n\t\tint[] result = new int[3];\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tresult[i] = copy[copy.length - 1 - i];\n\t\t}\n\t\treturn result;\n\t}",
"int[] copy = Arrays.copyOf(args, args.length);",
"copy",
"Arrays.copyOf(args, args.length)",
"Arrays.copyOf",
"Arrays",
"args",
"args.length",
"args",
"args.length",
"Arrays.sort(copy)",
"Arrays.sort",
"Arrays",
"copy",
"int[] result = new int[3];",
"result",
"new int[3]",
"3",
"for(int i = 0; i < 3; i++) {\n\t\t\tresult[i] = copy[copy.length - 1 - i];\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tresult[i] = copy[copy.length - 1 - i];\n\t\t}",
"{\n\t\t\tresult[i] = copy[copy.length - 1 - i];\n\t\t}",
"result[i] = copy[copy.length - 1 - i]",
"result[i]",
"result",
"i",
"copy[copy.length - 1 - i]",
"copy",
"copy.length - 1 - i",
"copy.length - 1 - i",
"copy.length",
"copy",
"copy.length",
"1",
"i",
"return result;",
"result",
"int[] args",
"args",
"public class Main{\n\t\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] in = new int[10];\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tin[i] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\t\tint[] result = top3(in);\n\t\tfor(int i: result) System.out.println(i);\n\t}\n\t\n\tstatic int[] top3(int[] args) {\n\t\tint[] copy = Arrays.copyOf(args, args.length);\n\t\tArrays.sort(copy);\n\t\tint[] result = new int[3];\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tresult[i] = copy[copy.length - 1 - i];\n\t\t}\n\t\treturn result;\n\t}\n}",
"public class Main{\n\t\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] in = new int[10];\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tin[i] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\t\tint[] result = top3(in);\n\t\tfor(int i: result) System.out.println(i);\n\t}\n\t\n\tstatic int[] top3(int[] args) {\n\t\tint[] copy = Arrays.copyOf(args, args.length);\n\t\tArrays.sort(copy);\n\t\tint[] result = new int[3];\n\t\tfor(int i = 0; i < 3; i++) {\n\t\t\tresult[i] = copy[copy.length - 1 - i];\n\t\t}\n\t\treturn result;\n\t}\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int[] in = new int[10];
for(int i = 0; i < 10; i++) {
in[i] = sc.nextInt();
}
sc.close();
int[] result = top3(in);
for(int i: result) System.out.println(i);
}
static int[] top3(int[] args) {
int[] copy = Arrays.copyOf(args, args.length);
Arrays.sort(copy);
int[] result = new int[3];
for(int i = 0; i < 3; i++) {
result[i] = copy[copy.length - 1 - i];
}
return result;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
0,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
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
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
17,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
17,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
17,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
54,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
15,
77
],
[
77,
78
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\nclass Main\n{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint hight[];\n\t\thight = new int[10];\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\thight[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tArrays.sort(hight);\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(hight[9 - i]);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main\n{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint hight[];\n\t\thight = new int[10];\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\thight[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tArrays.sort(hight);\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(hight[9 - i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint hight[];\n\t\thight = new int[10];\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\thight[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tArrays.sort(hight);\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(hight[9 - i]);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint hight[];\n\t\thight = new int[10];\n\t\tfor(int i = 0; i < 10; i++){\n\t\t\thight[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tArrays.sort(hight);\n\t\tfor(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(hight[9 - i]);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int hight[];",
"hight",
"hight = new int[10]",
"hight",
"new int[10]",
"10",
"for(int i = 0; i < 10; i++){\n\t\t\thight[i] = Integer.parseInt(br.readLine());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\thight[i] = Integer.parseInt(br.readLine());\n\t\t}",
"{\n\t\t\thight[i] = Integer.parseInt(br.readLine());\n\t\t}",
"hight[i] = Integer.parseInt(br.readLine())",
"hight[i]",
"hight",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"Arrays.sort(hight)",
"Arrays.sort",
"Arrays",
"hight",
"for(int i = 0; i < 3; i++){\n\t\t\tSystem.out.println(hight[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(hight[9 - i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(hight[9 - i]);\n\t\t}",
"System.out.println(hight[9 - i])",
"System.out.println",
"System.out",
"System",
"System.out",
"hight[9 - i]",
"hight",
"9 - i",
"9",
"i",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
class Main
{
public static void main(String[] args) throws NumberFormatException, IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int hight[];
hight = new int[10];
for(int i = 0; i < 10; i++){
hight[i] = Integer.parseInt(br.readLine());
}
Arrays.sort(hight);
for(int i = 0; i < 3; i++){
System.out.println(hight[9 - i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
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,
4,
18,
13,
13,
14,
2,
18,
13,
17,
18,
13,
13,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
13,
14,
2,
18,
13,
17,
18,
13,
13,
30,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
18,
13,
13,
14,
2,
18,
13,
17,
18,
13,
13,
30,
0,
18,
13,
17,
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
],
[
151,
11
],
[
151,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
14,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
29,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
41,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
63,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
82,
84
],
[
55,
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
],
[
85,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
113,
114
],
[
113,
115
],
[
108,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
121,
122
],
[
121,
123
],
[
14,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
124,
129
],
[
129,
130
],
[
129,
131
],
[
14,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
132,
137
],
[
137,
138
],
[
137,
139
],
[
14,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
140,
145
],
[
145,
146
],
[
145,
147
],
[
12,
148
],
[
148,
149
],
[
0,
150
],
[
150,
151
],
[
150,
152
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);\n\t\tString str = \"\";\n\t\tint num[] = new int[10];\n\t\tint top[] = new int[3];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tstr = br.readLine();\n\t\t\tnum[i] = Integer.parseInt(str);\n\t\t\tif (top[0] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = top[0];\n\t\t\t\ttop[0] = num[i];\n\t\t\t} else if (top[1] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = num[i];\n\t\t\t} else if (top[2] < num[i]) {\n\t\t\t\ttop[2] = num[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(top[0]);\n\t\tSystem.out.println(top[1]);\n\t\tSystem.out.println(top[2]);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);\n\t\tString str = \"\";\n\t\tint num[] = new int[10];\n\t\tint top[] = new int[3];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tstr = br.readLine();\n\t\t\tnum[i] = Integer.parseInt(str);\n\t\t\tif (top[0] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = top[0];\n\t\t\t\ttop[0] = num[i];\n\t\t\t} else if (top[1] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = num[i];\n\t\t\t} else if (top[2] < num[i]) {\n\t\t\t\ttop[2] = num[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(top[0]);\n\t\tSystem.out.println(top[1]);\n\t\tSystem.out.println(top[2]);\n\t}\n}",
"Main",
"public static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);\n\t\tString str = \"\";\n\t\tint num[] = new int[10];\n\t\tint top[] = new int[3];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tstr = br.readLine();\n\t\t\tnum[i] = Integer.parseInt(str);\n\t\t\tif (top[0] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = top[0];\n\t\t\t\ttop[0] = num[i];\n\t\t\t} else if (top[1] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = num[i];\n\t\t\t} else if (top[2] < num[i]) {\n\t\t\t\ttop[2] = num[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(top[0]);\n\t\tSystem.out.println(top[1]);\n\t\tSystem.out.println(top[2]);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);\n\t\tString str = \"\";\n\t\tint num[] = new int[10];\n\t\tint top[] = new int[3];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tstr = br.readLine();\n\t\t\tnum[i] = Integer.parseInt(str);\n\t\t\tif (top[0] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = top[0];\n\t\t\t\ttop[0] = num[i];\n\t\t\t} else if (top[1] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = num[i];\n\t\t\t} else if (top[2] < num[i]) {\n\t\t\t\ttop[2] = num[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(top[0]);\n\t\tSystem.out.println(top[1]);\n\t\tSystem.out.println(top[2]);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);",
"br",
"new BufferedReader(new InputStreamReader(System.in), 1)",
"String str = \"\";",
"str",
"\"\"",
"int num[] = new int[10];",
"num",
"new int[10]",
"10",
"int top[] = new int[3];",
"top",
"new int[3]",
"3",
"for (int i = 0; i < 10; i++) {\n\t\t\tstr = br.readLine();\n\t\t\tnum[i] = Integer.parseInt(str);\n\t\t\tif (top[0] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = top[0];\n\t\t\t\ttop[0] = num[i];\n\t\t\t} else if (top[1] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = num[i];\n\t\t\t} else if (top[2] < num[i]) {\n\t\t\t\ttop[2] = num[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\tstr = br.readLine();\n\t\t\tnum[i] = Integer.parseInt(str);\n\t\t\tif (top[0] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = top[0];\n\t\t\t\ttop[0] = num[i];\n\t\t\t} else if (top[1] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = num[i];\n\t\t\t} else if (top[2] < num[i]) {\n\t\t\t\ttop[2] = num[i];\n\t\t\t}\n\t\t}",
"{\n\t\t\tstr = br.readLine();\n\t\t\tnum[i] = Integer.parseInt(str);\n\t\t\tif (top[0] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = top[0];\n\t\t\t\ttop[0] = num[i];\n\t\t\t} else if (top[1] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = num[i];\n\t\t\t} else if (top[2] < num[i]) {\n\t\t\t\ttop[2] = num[i];\n\t\t\t}\n\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"num[i] = Integer.parseInt(str)",
"num[i]",
"num",
"i",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"if (top[0] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = top[0];\n\t\t\t\ttop[0] = num[i];\n\t\t\t} else if (top[1] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = num[i];\n\t\t\t} else if (top[2] < num[i]) {\n\t\t\t\ttop[2] = num[i];\n\t\t\t}",
"top[0] < num[i]",
"top[0]",
"top",
"0",
"num[i]",
"num",
"i",
"{\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = top[0];\n\t\t\t\ttop[0] = num[i];\n\t\t\t}",
"top[2] = top[1]",
"top[2]",
"top",
"2",
"top[1]",
"top",
"1",
"top[1] = top[0]",
"top[1]",
"top",
"1",
"top[0]",
"top",
"0",
"top[0] = num[i]",
"top[0]",
"top",
"0",
"num[i]",
"num",
"i",
"if (top[1] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = num[i];\n\t\t\t} else if (top[2] < num[i]) {\n\t\t\t\ttop[2] = num[i];\n\t\t\t}",
"top[1] < num[i]",
"top[1]",
"top",
"1",
"num[i]",
"num",
"i",
"{\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = num[i];\n\t\t\t}",
"top[2] = top[1]",
"top[2]",
"top",
"2",
"top[1]",
"top",
"1",
"top[1] = num[i]",
"top[1]",
"top",
"1",
"num[i]",
"num",
"i",
"if (top[2] < num[i]) {\n\t\t\t\ttop[2] = num[i];\n\t\t\t}",
"top[2] < num[i]",
"top[2]",
"top",
"2",
"num[i]",
"num",
"i",
"{\n\t\t\t\ttop[2] = num[i];\n\t\t\t}",
"top[2] = num[i]",
"top[2]",
"top",
"2",
"num[i]",
"num",
"i",
"System.out.println(top[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"top[0]",
"top",
"0",
"System.out.println(top[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"top[1]",
"top",
"1",
"System.out.println(top[2])",
"System.out.println",
"System.out",
"System",
"System.out",
"top[2]",
"top",
"2",
"String[] a",
"a",
"public class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);\n\t\tString str = \"\";\n\t\tint num[] = new int[10];\n\t\tint top[] = new int[3];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tstr = br.readLine();\n\t\t\tnum[i] = Integer.parseInt(str);\n\t\t\tif (top[0] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = top[0];\n\t\t\t\ttop[0] = num[i];\n\t\t\t} else if (top[1] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = num[i];\n\t\t\t} else if (top[2] < num[i]) {\n\t\t\t\ttop[2] = num[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(top[0]);\n\t\tSystem.out.println(top[1]);\n\t\tSystem.out.println(top[2]);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] a) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);\n\t\tString str = \"\";\n\t\tint num[] = new int[10];\n\t\tint top[] = new int[3];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tstr = br.readLine();\n\t\t\tnum[i] = Integer.parseInt(str);\n\t\t\tif (top[0] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = top[0];\n\t\t\t\ttop[0] = num[i];\n\t\t\t} else if (top[1] < num[i]) {\n\t\t\t\ttop[2] = top[1];\n\t\t\t\ttop[1] = num[i];\n\t\t\t} else if (top[2] < num[i]) {\n\t\t\t\ttop[2] = num[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(top[0]);\n\t\tSystem.out.println(top[1]);\n\t\tSystem.out.println(top[2]);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] a) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1);
String str = "";
int num[] = new int[10];
int top[] = new int[3];
for (int i = 0; i < 10; i++) {
str = br.readLine();
num[i] = Integer.parseInt(str);
if (top[0] < num[i]) {
top[2] = top[1];
top[1] = top[0];
top[0] = num[i];
} else if (top[1] < num[i]) {
top[2] = top[1];
top[1] = num[i];
} else if (top[2] < num[i]) {
top[2] = num[i];
}
}
System.out.println(top[0]);
System.out.println(top[1]);
System.out.println(top[2]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
17,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
13,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
42,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
21,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
21,
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
],
[
78,
80
],
[
19,
81
],
[
81,
82
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\nclass Main {\n\n\tprivate static int[] data = new int[10];\n\n\tpublic static void main(String args[]) {\n\t\t\n\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\ttry{\n\t\t\t\n\t\t\tfor(int i=0; i<10; i++) {\n\t\t\t\t\n\t\t\t\tString s = input.readLine();\n\t\t\t\t\n\t\t\t\tdata[i] = Integer.parseInt(s);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}catch (IOException e) {\n\t\t\t\n\t\t}\n\t\t\n\t\tArrays.sort(data);\n\t\t\n\t\tfor(int i=9; i>6; i--) {\n\t\t\tSystem.out.println(data[i]);\n\t\t}\n\t\t\n\t\t\n\t\t\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main {\n\n\tprivate static int[] data = new int[10];\n\n\tpublic static void main(String args[]) {\n\t\t\n\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\ttry{\n\t\t\t\n\t\t\tfor(int i=0; i<10; i++) {\n\t\t\t\t\n\t\t\t\tString s = input.readLine();\n\t\t\t\t\n\t\t\t\tdata[i] = Integer.parseInt(s);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}catch (IOException e) {\n\t\t\t\n\t\t}\n\t\t\n\t\tArrays.sort(data);\n\t\t\n\t\tfor(int i=9; i>6; i--) {\n\t\t\tSystem.out.println(data[i]);\n\t\t}\n\t\t\n\t\t\n\t\t\n\t}\n}",
"Main",
"private static int[] data = new int[10];",
"data",
"new int[10]",
"10",
"public static void main(String args[]) {\n\t\t\n\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\ttry{\n\t\t\t\n\t\t\tfor(int i=0; i<10; i++) {\n\t\t\t\t\n\t\t\t\tString s = input.readLine();\n\t\t\t\t\n\t\t\t\tdata[i] = Integer.parseInt(s);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}catch (IOException e) {\n\t\t\t\n\t\t}\n\t\t\n\t\tArrays.sort(data);\n\t\t\n\t\tfor(int i=9; i>6; i--) {\n\t\t\tSystem.out.println(data[i]);\n\t\t}\n\t\t\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\t\n\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\ttry{\n\t\t\t\n\t\t\tfor(int i=0; i<10; i++) {\n\t\t\t\t\n\t\t\t\tString s = input.readLine();\n\t\t\t\t\n\t\t\t\tdata[i] = Integer.parseInt(s);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}catch (IOException e) {\n\t\t\t\n\t\t}\n\t\t\n\t\tArrays.sort(data);\n\t\t\n\t\tfor(int i=9; i>6; i--) {\n\t\t\tSystem.out.println(data[i]);\n\t\t}\n\t\t\n\t\t\n\t\t\n\t}",
"BufferedReader input = new BufferedReader(new InputStreamReader(System.in));",
"input",
"new BufferedReader(new InputStreamReader(System.in))",
"try{\n\t\t\t\n\t\t\tfor(int i=0; i<10; i++) {\n\t\t\t\t\n\t\t\t\tString s = input.readLine();\n\t\t\t\t\n\t\t\t\tdata[i] = Integer.parseInt(s);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}catch (IOException e) {\n\t\t\t\n\t\t}",
"catch (IOException e) {\n\t\t\t\n\t\t}",
"IOException e",
"{\n\t\t\t\n\t\t}",
"{\n\t\t\t\n\t\t\tfor(int i=0; i<10; i++) {\n\t\t\t\t\n\t\t\t\tString s = input.readLine();\n\t\t\t\t\n\t\t\t\tdata[i] = Integer.parseInt(s);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}",
"for(int i=0; i<10; i++) {\n\t\t\t\t\n\t\t\t\tString s = input.readLine();\n\t\t\t\t\n\t\t\t\tdata[i] = Integer.parseInt(s);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\t\t\n\t\t\t\tString s = input.readLine();\n\t\t\t\t\n\t\t\t\tdata[i] = Integer.parseInt(s);\n\t\t\t}",
"{\n\t\t\t\t\n\t\t\t\tString s = input.readLine();\n\t\t\t\t\n\t\t\t\tdata[i] = Integer.parseInt(s);\n\t\t\t}",
"String s = input.readLine();",
"s",
"input.readLine()",
"input.readLine",
"input",
"data[i] = Integer.parseInt(s)",
"data[i]",
"data",
"i",
"Integer.parseInt(s)",
"Integer.parseInt",
"Integer",
"s",
"Arrays.sort(data)",
"Arrays.sort",
"Arrays",
"data",
"for(int i=9; i>6; i--) {\n\t\t\tSystem.out.println(data[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(data[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(data[i]);\n\t\t}",
"System.out.println(data[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"data[i]",
"data",
"i",
"String args[]",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
class Main {
private static int[] data = new int[10];
public static void main(String args[]) {
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
try{
for(int i=0; i<10; i++) {
String s = input.readLine();
data[i] = Integer.parseInt(s);
}
}catch (IOException e) {
}
Arrays.sort(data);
for(int i=9; i>6; i--) {
System.out.println(data[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
14,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
14,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
14,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
12,
62
],
[
62,
63
]
] | [
"import java.util.Scanner;\nimport java.util.ArrayList;\nimport java.util.Collections;\n\nclass Main {\n public static void main(String args[]) {\n ArrayList<Integer> heights = new ArrayList<Integer>();\n\n Scanner sc = new Scanner(System.in);\n while (sc.hasNextInt()) {\n heights.add(sc.nextInt());\n }\n\n Collections.sort(heights);\n Collections.reverse(heights);\n\n for (int i = 0; i < 3; i++) {\n System.out.println(heights.get(i));\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"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[]) {\n ArrayList<Integer> heights = new ArrayList<Integer>();\n\n Scanner sc = new Scanner(System.in);\n while (sc.hasNextInt()) {\n heights.add(sc.nextInt());\n }\n\n Collections.sort(heights);\n Collections.reverse(heights);\n\n for (int i = 0; i < 3; i++) {\n System.out.println(heights.get(i));\n }\n }\n}",
"Main",
"public static void main(String args[]) {\n ArrayList<Integer> heights = new ArrayList<Integer>();\n\n Scanner sc = new Scanner(System.in);\n while (sc.hasNextInt()) {\n heights.add(sc.nextInt());\n }\n\n Collections.sort(heights);\n Collections.reverse(heights);\n\n for (int i = 0; i < 3; i++) {\n System.out.println(heights.get(i));\n }\n }",
"main",
"{\n ArrayList<Integer> heights = new ArrayList<Integer>();\n\n Scanner sc = new Scanner(System.in);\n while (sc.hasNextInt()) {\n heights.add(sc.nextInt());\n }\n\n Collections.sort(heights);\n Collections.reverse(heights);\n\n for (int i = 0; i < 3; i++) {\n System.out.println(heights.get(i));\n }\n }",
"ArrayList<Integer> heights = new ArrayList<Integer>();",
"heights",
"new ArrayList<Integer>()",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNextInt()) {\n heights.add(sc.nextInt());\n }",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n heights.add(sc.nextInt());\n }",
"heights.add(sc.nextInt())",
"heights.add",
"heights",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Collections.sort(heights)",
"Collections.sort",
"Collections",
"heights",
"Collections.reverse(heights)",
"Collections.reverse",
"Collections",
"heights",
"for (int i = 0; i < 3; i++) {\n System.out.println(heights.get(i));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n System.out.println(heights.get(i));\n }",
"{\n System.out.println(heights.get(i));\n }",
"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.util.Scanner;
import java.util.ArrayList;
import java.util.Collections;
class Main {
public static void main(String args[]) {
ArrayList<Integer> heights = new ArrayList<Integer>();
Scanner sc = new Scanner(System.in);
while (sc.hasNextInt()) {
heights.add(sc.nextInt());
}
Collections.sort(heights);
Collections.reverse(heights);
for (int i = 0; i < 3; i++) {
System.out.println(heights.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,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
2,
13,
17,
18,
13,
13,
30,
41,
13,
18,
13,
2,
13,
17,
0,
18,
13,
2,
13,
17,
18,
13,
13,
0,
18,
13,
13,
13,
11,
1,
41,
13,
17,
2,
13,
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
],
[
126,
5
],
[
126,
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
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
44,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
57,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
71,
77
],
[
77,
78
],
[
77,
79
],
[
70,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
80,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
88,
94
],
[
94,
95
],
[
94,
96
],
[
80,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
8,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
107,
108
],
[
107,
109
],
[
102,
110
],
[
110,
111
],
[
111,
112
],
[
102,
113
],
[
114,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
120,
121
],
[
120,
122
],
[
6,
123
],
[
123,
124
],
[
0,
125
],
[
125,
126
],
[
125,
127
]
] | [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] array = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tarray[i] = Integer.parseInt(sc.nextLine());\n\t\t}\n\n\t\tint n = array.length;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 1; j < n; j++) {\n\t\t\t\tif (array[j - 1] < array[j]) {\n\t\t\t\t\tint box = array[j - 1];\n\t\t\t\t\tarray[j - 1] = array[j];\n\t\t\t\t\tarray[j] = box;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(array[i]);\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] array = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tarray[i] = Integer.parseInt(sc.nextLine());\n\t\t}\n\n\t\tint n = array.length;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 1; j < n; j++) {\n\t\t\t\tif (array[j - 1] < array[j]) {\n\t\t\t\t\tint box = array[j - 1];\n\t\t\t\t\tarray[j - 1] = array[j];\n\t\t\t\t\tarray[j] = box;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(array[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[] array = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tarray[i] = Integer.parseInt(sc.nextLine());\n\t\t}\n\n\t\tint n = array.length;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 1; j < n; j++) {\n\t\t\t\tif (array[j - 1] < array[j]) {\n\t\t\t\t\tint box = array[j - 1];\n\t\t\t\t\tarray[j - 1] = array[j];\n\t\t\t\t\tarray[j] = box;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(array[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = 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(sc.nextLine());\n\t\t}\n\n\t\tint n = array.length;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 1; j < n; j++) {\n\t\t\t\tif (array[j - 1] < array[j]) {\n\t\t\t\t\tint box = array[j - 1];\n\t\t\t\t\tarray[j - 1] = array[j];\n\t\t\t\t\tarray[j] = box;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(array[i]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] array = new int[10];",
"array",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++) {\n\t\t\tarray[i] = Integer.parseInt(sc.nextLine());\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(sc.nextLine());\n\t\t}",
"{\n\t\t\tarray[i] = Integer.parseInt(sc.nextLine());\n\t\t}",
"array[i] = Integer.parseInt(sc.nextLine())",
"array[i]",
"array",
"i",
"Integer.parseInt(sc.nextLine())",
"Integer.parseInt",
"Integer",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int n = array.length;",
"n",
"array.length",
"array",
"array.length",
"for (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 1; j < n; j++) {\n\t\t\t\tif (array[j - 1] < array[j]) {\n\t\t\t\t\tint box = array[j - 1];\n\t\t\t\t\tarray[j - 1] = array[j];\n\t\t\t\t\tarray[j] = box;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tfor (int j = 1; j < n; j++) {\n\t\t\t\tif (array[j - 1] < array[j]) {\n\t\t\t\t\tint box = array[j - 1];\n\t\t\t\t\tarray[j - 1] = array[j];\n\t\t\t\t\tarray[j] = box;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor (int j = 1; j < n; j++) {\n\t\t\t\tif (array[j - 1] < array[j]) {\n\t\t\t\t\tint box = array[j - 1];\n\t\t\t\t\tarray[j - 1] = array[j];\n\t\t\t\t\tarray[j] = box;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for (int j = 1; j < n; j++) {\n\t\t\t\tif (array[j - 1] < array[j]) {\n\t\t\t\t\tint box = array[j - 1];\n\t\t\t\t\tarray[j - 1] = array[j];\n\t\t\t\t\tarray[j] = box;\n\t\t\t\t}\n\t\t\t}",
"int j = 1;",
"int j = 1;",
"j",
"1",
"j < n",
"j",
"n",
"j++",
"j++",
"j",
"{\n\t\t\t\tif (array[j - 1] < array[j]) {\n\t\t\t\t\tint box = array[j - 1];\n\t\t\t\t\tarray[j - 1] = array[j];\n\t\t\t\t\tarray[j] = box;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif (array[j - 1] < array[j]) {\n\t\t\t\t\tint box = array[j - 1];\n\t\t\t\t\tarray[j - 1] = array[j];\n\t\t\t\t\tarray[j] = box;\n\t\t\t\t}\n\t\t\t}",
"if (array[j - 1] < array[j]) {\n\t\t\t\t\tint box = array[j - 1];\n\t\t\t\t\tarray[j - 1] = array[j];\n\t\t\t\t\tarray[j] = box;\n\t\t\t\t}",
"array[j - 1] < array[j]",
"array[j - 1]",
"array",
"j - 1",
"j",
"1",
"array[j]",
"array",
"j",
"{\n\t\t\t\t\tint box = array[j - 1];\n\t\t\t\t\tarray[j - 1] = array[j];\n\t\t\t\t\tarray[j] = box;\n\t\t\t\t}",
"int box = array[j - 1];",
"box",
"array[j - 1]",
"array",
"j - 1",
"j",
"1",
"array[j - 1] = array[j]",
"array[j - 1]",
"array",
"j - 1",
"j",
"1",
"array[j]",
"array",
"j",
"array[j] = box",
"array[j]",
"array",
"j",
"box",
"for (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(array[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(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 sc = 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(sc.nextLine());\n\t\t}\n\n\t\tint n = array.length;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 1; j < n; j++) {\n\t\t\t\tif (array[j - 1] < array[j]) {\n\t\t\t\t\tint box = array[j - 1];\n\t\t\t\t\tarray[j - 1] = array[j];\n\t\t\t\t\tarray[j] = box;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(array[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[] array = new int[10];\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tarray[i] = Integer.parseInt(sc.nextLine());\n\t\t}\n\n\t\tint n = array.length;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 1; j < n; j++) {\n\t\t\t\tif (array[j - 1] < array[j]) {\n\t\t\t\t\tint box = array[j - 1];\n\t\t\t\t\tarray[j - 1] = array[j];\n\t\t\t\t\tarray[j] = box;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tSystem.out.println(array[i]);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] array = new int[10];
for (int i = 0; i < 10; i++) {
array[i] = Integer.parseInt(sc.nextLine());
}
int n = array.length;
for (int i = 0; i < n; i++) {
for (int j = 1; j < n; j++) {
if (array[j - 1] < array[j]) {
int box = array[j - 1];
array[j - 1] = array[j];
array[j] = box;
}
}
}
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,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
11,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
9,
64
],
[
64,
65
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] a) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint array[] = new int[10];\n\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\n\t\tArrays.sort(array);\n\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",
"class Main {\n\tpublic static void main(String[] a) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint array[] = new int[10];\n\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\n\t\tArrays.sort(array);\n\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[] a) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint array[] = new int[10];\n\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\n\t\tArrays.sort(array);\n\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 sc = new Scanner(System.in);\n\t\tint array[] = new int[10];\n\n\t\tfor(int i = 0; i < 10; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t}\n\n\t\tArrays.sort(array);\n\n\t\tfor(int i = 9; i > 6; i--) {\n\t\t\tSystem.out.println(array[i]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int array[] = new int[10];",
"array",
"new int[10]",
"10",
"for(int i = 0; i < 10; i++) {\n\t\t\tarray[i] = sc.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tarray[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tarray[i] = sc.nextInt();\n\t\t}",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"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[] a",
"a"
] | import java.util.Arrays;
import java.util.Scanner;
class Main {
public static void main(String[] a) {
Scanner sc = new Scanner(System.in);
int array[] = new int[10];
for(int i = 0; i < 10; i++) {
array[i] = sc.nextInt();
}
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,
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,
11,
1,
41,
13,
4,
18,
13,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
83,
14
],
[
83,
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
],
[
54,
55
],
[
55,
56
],
[
50,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
59,
63
],
[
50,
64
],
[
64,
65
],
[
65,
66
],
[
50,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
77,
79
],
[
15,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String []args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> arrays = new ArrayList<Integer>();\n\t\tfor(int i=0; i<10; i++) {\n int a = sc.nextInt();\n arrays.add(a);\n\t\t}\n\n\t\tCollections.sort(arrays);\n\n\t\tfor(int j = arrays.size(); j >arrays.size()-3; j--) {\n\t\t\tSystem.out.println(arrays.get(j - 1));\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\n\tpublic static void main(String []args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> arrays = new ArrayList<Integer>();\n\t\tfor(int i=0; i<10; i++) {\n int a = sc.nextInt();\n arrays.add(a);\n\t\t}\n\n\t\tCollections.sort(arrays);\n\n\t\tfor(int j = arrays.size(); j >arrays.size()-3; j--) {\n\t\t\tSystem.out.println(arrays.get(j - 1));\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String []args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> arrays = new ArrayList<Integer>();\n\t\tfor(int i=0; i<10; i++) {\n int a = sc.nextInt();\n arrays.add(a);\n\t\t}\n\n\t\tCollections.sort(arrays);\n\n\t\tfor(int j = arrays.size(); j >arrays.size()-3; j--) {\n\t\t\tSystem.out.println(arrays.get(j - 1));\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> arrays = new ArrayList<Integer>();\n\t\tfor(int i=0; i<10; i++) {\n int a = sc.nextInt();\n arrays.add(a);\n\t\t}\n\n\t\tCollections.sort(arrays);\n\n\t\tfor(int j = arrays.size(); j >arrays.size()-3; j--) {\n\t\t\tSystem.out.println(arrays.get(j - 1));\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"List<Integer> arrays = new ArrayList<Integer>();",
"arrays",
"new ArrayList<Integer>()",
"for(int i=0; i<10; i++) {\n int a = sc.nextInt();\n arrays.add(a);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"{\n int a = sc.nextInt();\n arrays.add(a);\n\t\t}",
"{\n int a = sc.nextInt();\n arrays.add(a);\n\t\t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"arrays.add(a)",
"arrays.add",
"arrays",
"a",
"Collections.sort(arrays)",
"Collections.sort",
"Collections",
"arrays",
"for(int j = arrays.size(); j >arrays.size()-3; j--) {\n\t\t\tSystem.out.println(arrays.get(j - 1));\n\t\t}",
"int j = arrays.size();",
"int j = arrays.size();",
"j",
"arrays.size()",
"arrays.size",
"arrays",
"j >arrays.size()-3",
"j",
"arrays.size()-3",
"arrays.size()",
"arrays.size",
"arrays",
"3",
"j--",
"j--",
"j",
"{\n\t\t\tSystem.out.println(arrays.get(j - 1));\n\t\t}",
"{\n\t\t\tSystem.out.println(arrays.get(j - 1));\n\t\t}",
"System.out.println(arrays.get(j - 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"arrays.get(j - 1)",
"arrays.get",
"arrays",
"j - 1",
"j",
"1",
"String []args",
"args",
"public class Main {\n\n\tpublic static void main(String []args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> arrays = new ArrayList<Integer>();\n\t\tfor(int i=0; i<10; i++) {\n int a = sc.nextInt();\n arrays.add(a);\n\t\t}\n\n\t\tCollections.sort(arrays);\n\n\t\tfor(int j = arrays.size(); j >arrays.size()-3; j--) {\n\t\t\tSystem.out.println(arrays.get(j - 1));\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String []args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> arrays = new ArrayList<Integer>();\n\t\tfor(int i=0; i<10; i++) {\n int a = sc.nextInt();\n arrays.add(a);\n\t\t}\n\n\t\tCollections.sort(arrays);\n\n\t\tfor(int j = arrays.size(); j >arrays.size()-3; j--) {\n\t\t\tSystem.out.println(arrays.get(j - 1));\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);
List<Integer> arrays = new ArrayList<Integer>();
for(int i=0; i<10; i++) {
int a = sc.nextInt();
arrays.add(a);
}
Collections.sort(arrays);
for(int j = arrays.size(); j >arrays.size()-3; j--) {
System.out.println(arrays.get(j - 1));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
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
],
[
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
],
[
26,
27
],
[
26,
28
],
[
19,
29
],
[
29,
30
],
[
30,
31
],
[
19,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
11,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
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
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"import java.util.Scanner;\nimport java.util.Arrays;\npublic class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint [] array = new int[10];\n for(int i = 0 ; i < array.length ; i++) {\n array[i] = input.nextInt();\n }\n Arrays.sort( array );\n for ( int i = 9 ; i > 6 ; i-- ) {\n System.out.println(array[i]);\n }\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint [] array = new int[10];\n for(int i = 0 ; i < array.length ; i++) {\n array[i] = input.nextInt();\n }\n Arrays.sort( array );\n for ( int i = 9 ; i > 6 ; i-- ) {\n System.out.println(array[i]);\n }\n\t}\n}",
"Main",
"public static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint [] array = new int[10];\n for(int i = 0 ; i < array.length ; i++) {\n array[i] = input.nextInt();\n }\n Arrays.sort( array );\n for ( int i = 9 ; i > 6 ; i-- ) {\n System.out.println(array[i]);\n }\n\t}",
"main",
"{\n\t\tScanner input = new Scanner(System.in);\n\t\tint [] array = new int[10];\n for(int i = 0 ; i < array.length ; i++) {\n array[i] = input.nextInt();\n }\n Arrays.sort( array );\n for ( int i = 9 ; i > 6 ; i-- ) {\n System.out.println(array[i]);\n }\n\t}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"int [] array = new int[10];",
"array",
"new int[10]",
"10",
"for(int i = 0 ; i < array.length ; i++) {\n array[i] = input.nextInt();\n }",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n array[i] = input.nextInt();\n }",
"{\n array[i] = input.nextInt();\n }",
"array[i] = input.nextInt()",
"array[i]",
"array",
"i",
"input.nextInt()",
"input.nextInt",
"input",
"Arrays.sort( array )",
"Arrays.sort",
"Arrays",
"array",
"for ( int i = 9 ; i > 6 ; i-- ) {\n System.out.println(array[i]);\n }",
"int i = 9 ;",
"int i = 9 ;",
"i",
"9",
"i > 6",
"i",
"6",
"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{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint [] array = new int[10];\n for(int i = 0 ; i < array.length ; i++) {\n array[i] = input.nextInt();\n }\n Arrays.sort( array );\n for ( int i = 9 ; i > 6 ; i-- ) {\n System.out.println(array[i]);\n }\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint [] array = new int[10];\n for(int i = 0 ; i < array.length ; i++) {\n array[i] = input.nextInt();\n }\n Arrays.sort( array );\n for ( int i = 9 ; i > 6 ; i-- ) {\n System.out.println(array[i]);\n }\n\t}\n}",
"Main"
] | import java.util.Scanner;
import java.util.Arrays;
public class Main
{
public static void main(String args[])
{
Scanner input = new Scanner(System.in);
int [] array = new int[10];
for(int i = 0 ; i < array.length ; i++) {
array[i] = input.nextInt();
}
Arrays.sort( array );
for ( int i = 9 ; i > 6 ; i-- ) {
System.out.println(array[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
17,
12,
13,
30,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
18,
13,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
4,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
12,
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
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
28,
35
],
[
35,
36
],
[
35,
37
],
[
28,
38
],
[
38,
39
],
[
39,
40
],
[
28,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
51,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
12,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
69,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
86,
88
],
[
4,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
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
],
[
108,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
115,
116
],
[
116,
117
],
[
91,
118
],
[
118,
119
],
[
89,
120
],
[
120,
121
]
] | [
"import java.io.*;\nclass Main{\n\tpublic static int height[]=new int[10];\n\tpublic static void liner(){\n\t\tint num;\n\t\tfor(int i=0;i<=9;i++){\n\t\t\tfor(int j=i+1;j<=9;j++){\n\t\t\t\tif(height[i]<=height[j]){\n\t\t\t\t\tnum=height[i];\n\t\t\t\t\theight[i]=height[j];\n\t\t\t\t\theight[j]=num;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<=2;i++)\n\t\t\tSystem.out.println(height[i]);\n\t}\n\n\tpublic static void main(String[] a) throws IOException{\n\t\tBufferedReader in =new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(int i=0;i<=9;i++){\n\t\t\theight[i]=Integer.parseInt(in.readLine());\n\t\t}\n\t\t\t\t\n\t\tliner();\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static int height[]=new int[10];\n\tpublic static void liner(){\n\t\tint num;\n\t\tfor(int i=0;i<=9;i++){\n\t\t\tfor(int j=i+1;j<=9;j++){\n\t\t\t\tif(height[i]<=height[j]){\n\t\t\t\t\tnum=height[i];\n\t\t\t\t\theight[i]=height[j];\n\t\t\t\t\theight[j]=num;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<=2;i++)\n\t\t\tSystem.out.println(height[i]);\n\t}\n\n\tpublic static void main(String[] a) throws IOException{\n\t\tBufferedReader in =new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(int i=0;i<=9;i++){\n\t\t\theight[i]=Integer.parseInt(in.readLine());\n\t\t}\n\t\t\t\t\n\t\tliner();\n\t}\n}",
"Main",
"public static int height[]=new int[10];",
"height",
"new int[10]",
"10",
"public static void liner(){\n\t\tint num;\n\t\tfor(int i=0;i<=9;i++){\n\t\t\tfor(int j=i+1;j<=9;j++){\n\t\t\t\tif(height[i]<=height[j]){\n\t\t\t\t\tnum=height[i];\n\t\t\t\t\theight[i]=height[j];\n\t\t\t\t\theight[j]=num;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<=2;i++)\n\t\t\tSystem.out.println(height[i]);\n\t}",
"liner",
"{\n\t\tint num;\n\t\tfor(int i=0;i<=9;i++){\n\t\t\tfor(int j=i+1;j<=9;j++){\n\t\t\t\tif(height[i]<=height[j]){\n\t\t\t\t\tnum=height[i];\n\t\t\t\t\theight[i]=height[j];\n\t\t\t\t\theight[j]=num;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<=2;i++)\n\t\t\tSystem.out.println(height[i]);\n\t}",
"int num;",
"num",
"for(int i=0;i<=9;i++){\n\t\t\tfor(int j=i+1;j<=9;j++){\n\t\t\t\tif(height[i]<=height[j]){\n\t\t\t\t\tnum=height[i];\n\t\t\t\t\theight[i]=height[j];\n\t\t\t\t\theight[j]=num;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<=9",
"i",
"9",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j=i+1;j<=9;j++){\n\t\t\t\tif(height[i]<=height[j]){\n\t\t\t\t\tnum=height[i];\n\t\t\t\t\theight[i]=height[j];\n\t\t\t\t\theight[j]=num;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int j=i+1;j<=9;j++){\n\t\t\t\tif(height[i]<=height[j]){\n\t\t\t\t\tnum=height[i];\n\t\t\t\t\theight[i]=height[j];\n\t\t\t\t\theight[j]=num;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int j=i+1;j<=9;j++){\n\t\t\t\tif(height[i]<=height[j]){\n\t\t\t\t\tnum=height[i];\n\t\t\t\t\theight[i]=height[j];\n\t\t\t\t\theight[j]=num;\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(height[i]<=height[j]){\n\t\t\t\t\tnum=height[i];\n\t\t\t\t\theight[i]=height[j];\n\t\t\t\t\theight[j]=num;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(height[i]<=height[j]){\n\t\t\t\t\tnum=height[i];\n\t\t\t\t\theight[i]=height[j];\n\t\t\t\t\theight[j]=num;\n\t\t\t\t}\n\t\t\t}",
"if(height[i]<=height[j]){\n\t\t\t\t\tnum=height[i];\n\t\t\t\t\theight[i]=height[j];\n\t\t\t\t\theight[j]=num;\n\t\t\t\t}",
"height[i]<=height[j]",
"height[i]",
"height",
"i",
"height[j]",
"height",
"j",
"{\n\t\t\t\t\tnum=height[i];\n\t\t\t\t\theight[i]=height[j];\n\t\t\t\t\theight[j]=num;\n\t\t\t\t}",
"num=height[i]",
"num",
"height[i]",
"height",
"i",
"height[i]=height[j]",
"height[i]",
"height",
"i",
"height[j]",
"height",
"j",
"height[j]=num",
"height[j]",
"height",
"j",
"num",
"for(int i=0;i<=2;i++)\n\t\t\tSystem.out.println(height[i]);",
"int i=0;",
"int i=0;",
"i",
"0",
"i<=2",
"i",
"2",
"i++",
"i++",
"i",
"System.out.println(height[i]);",
"System.out.println(height[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"height[i]",
"height",
"i",
"public static void main(String[] a) throws IOException{\n\t\tBufferedReader in =new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(int i=0;i<=9;i++){\n\t\t\theight[i]=Integer.parseInt(in.readLine());\n\t\t}\n\t\t\t\t\n\t\tliner();\n\t}",
"main",
"{\n\t\tBufferedReader in =new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(int i=0;i<=9;i++){\n\t\t\theight[i]=Integer.parseInt(in.readLine());\n\t\t}\n\t\t\t\t\n\t\tliner();\n\t}",
"BufferedReader in =new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"for(int i=0;i<=9;i++){\n\t\t\theight[i]=Integer.parseInt(in.readLine());\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<=9",
"i",
"9",
"i++",
"i++",
"i",
"{\n\t\t\theight[i]=Integer.parseInt(in.readLine());\n\t\t}",
"{\n\t\t\theight[i]=Integer.parseInt(in.readLine());\n\t\t}",
"height[i]=Integer.parseInt(in.readLine())",
"height[i]",
"height",
"i",
"Integer.parseInt(in.readLine())",
"Integer.parseInt",
"Integer",
"in.readLine()",
"in.readLine",
"in",
"liner()",
"liner",
"String[] a",
"a"
] | import java.io.*;
class Main{
public static int height[]=new int[10];
public static void liner(){
int num;
for(int i=0;i<=9;i++){
for(int j=i+1;j<=9;j++){
if(height[i]<=height[j]){
num=height[i];
height[i]=height[j];
height[j]=num;
}
}
}
for(int i=0;i<=2;i++)
System.out.println(height[i]);
}
public static void main(String[] a) throws IOException{
BufferedReader in =new BufferedReader(new InputStreamReader(System.in));
for(int i=0;i<=9;i++){
height[i]=Integer.parseInt(in.readLine());
}
liner();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
2,
18,
13,
13,
17,
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
],
[
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
],
[
17,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
17,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
17,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
15,
91
],
[
91,
92
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\nclass Main {\n\n\tpublic static void main (String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] height = new int[10];\n\t\t\n\t\tfor (int i = 0; i < 10; i++){\n\t\t\tString s = br.readLine();\n\t\t\theight[i] = Integer.parseInt(s);\n\t\t}\n\t\t\n\t\tArrays.sort(height);\n\t\t\n\t\tSystem.out.println(height[height.length-1]);\n\t\tSystem.out.println(height[height.length-2]);\n\t\tSystem.out.println(height[height.length-3]);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main {\n\n\tpublic static void main (String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] height = new int[10];\n\t\t\n\t\tfor (int i = 0; i < 10; i++){\n\t\t\tString s = br.readLine();\n\t\t\theight[i] = Integer.parseInt(s);\n\t\t}\n\t\t\n\t\tArrays.sort(height);\n\t\t\n\t\tSystem.out.println(height[height.length-1]);\n\t\tSystem.out.println(height[height.length-2]);\n\t\tSystem.out.println(height[height.length-3]);\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[] height = new int[10];\n\t\t\n\t\tfor (int i = 0; i < 10; i++){\n\t\t\tString s = br.readLine();\n\t\t\theight[i] = Integer.parseInt(s);\n\t\t}\n\t\t\n\t\tArrays.sort(height);\n\t\t\n\t\tSystem.out.println(height[height.length-1]);\n\t\tSystem.out.println(height[height.length-2]);\n\t\tSystem.out.println(height[height.length-3]);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint[] height = new int[10];\n\t\t\n\t\tfor (int i = 0; i < 10; i++){\n\t\t\tString s = br.readLine();\n\t\t\theight[i] = Integer.parseInt(s);\n\t\t}\n\t\t\n\t\tArrays.sort(height);\n\t\t\n\t\tSystem.out.println(height[height.length-1]);\n\t\tSystem.out.println(height[height.length-2]);\n\t\tSystem.out.println(height[height.length-3]);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] height = new int[10];",
"height",
"new int[10]",
"10",
"for (int i = 0; i < 10; i++){\n\t\t\tString s = br.readLine();\n\t\t\theight[i] = Integer.parseInt(s);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10",
"i",
"10",
"i++",
"i++",
"i",
"{\n\t\t\tString s = br.readLine();\n\t\t\theight[i] = Integer.parseInt(s);\n\t\t}",
"{\n\t\t\tString s = br.readLine();\n\t\t\theight[i] = Integer.parseInt(s);\n\t\t}",
"String s = br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"height[i] = Integer.parseInt(s)",
"height[i]",
"height",
"i",
"Integer.parseInt(s)",
"Integer.parseInt",
"Integer",
"s",
"Arrays.sort(height)",
"Arrays.sort",
"Arrays",
"height",
"System.out.println(height[height.length-1])",
"System.out.println",
"System.out",
"System",
"System.out",
"height[height.length-1]",
"height",
"height.length-1",
"height.length",
"height",
"height.length",
"1",
"System.out.println(height[height.length-2])",
"System.out.println",
"System.out",
"System",
"System.out",
"height[height.length-2]",
"height",
"height.length-2",
"height.length",
"height",
"height.length",
"2",
"System.out.println(height[height.length-3])",
"System.out.println",
"System.out",
"System",
"System.out",
"height[height.length-3]",
"height",
"height.length-3",
"height.length",
"height",
"height.length",
"3",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
class Main {
public static void main (String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int[] height = new int[10];
for (int i = 0; i < 10; i++){
String s = br.readLine();
height[i] = Integer.parseInt(s);
}
Arrays.sort(height);
System.out.println(height[height.length-1]);
System.out.println(height[height.length-2]);
System.out.println(height[height.length-3]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
9,
62
],
[
62,
63
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main{\n public static void main(String[] a){\n int[] values = new int[10];\n Scanner scan = new Scanner(System.in);\n for(int i=0; i<10; i++)\n values[i] = scan.nextInt();\n Arrays.sort(values);\n for(int i=9; i>=7; i--)\n System.out.println(values[i]);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] a){\n int[] values = new int[10];\n Scanner scan = new Scanner(System.in);\n for(int i=0; i<10; i++)\n values[i] = scan.nextInt();\n Arrays.sort(values);\n for(int i=9; i>=7; i--)\n System.out.println(values[i]);\n }\n}",
"Main",
"public static void main(String[] a){\n int[] values = new int[10];\n Scanner scan = new Scanner(System.in);\n for(int i=0; i<10; i++)\n values[i] = scan.nextInt();\n Arrays.sort(values);\n for(int i=9; i>=7; i--)\n System.out.println(values[i]);\n }",
"main",
"{\n int[] values = new int[10];\n Scanner scan = new Scanner(System.in);\n for(int i=0; i<10; i++)\n values[i] = scan.nextInt();\n Arrays.sort(values);\n for(int i=9; i>=7; i--)\n System.out.println(values[i]);\n }",
"int[] values = new int[10];",
"values",
"new int[10]",
"10",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(int i=0; i<10; i++)\n values[i] = scan.nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<10",
"i",
"10",
"i++",
"i++",
"i",
"values[i] = scan.nextInt();",
"values[i] = scan.nextInt()",
"values[i]",
"values",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"Arrays.sort(values)",
"Arrays.sort",
"Arrays",
"values",
"for(int i=9; i>=7; i--)\n System.out.println(values[i]);",
"int i=9;",
"int i=9;",
"i",
"9",
"i>=7",
"i",
"7",
"i--",
"i--",
"i",
"System.out.println(values[i]);",
"System.out.println(values[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"values[i]",
"values",
"i",
"String[] a",
"a"
] | import java.io.*;
import java.util.*;
class Main{
public static void main(String[] a){
int[] values = new int[10];
Scanner scan = new Scanner(System.in);
for(int i=0; i<10; i++)
values[i] = scan.nextInt();
Arrays.sort(values);
for(int i=9; i>=7; i--)
System.out.println(values[i]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
4,
18,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
41,
13,
20,
42,
2,
0,
13,
4,
18,
13,
17,
4,
18,
13,
2,
4,
18,
13,
13,
40,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
2,
4,
18,
13,
40,
17,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
14,
2,
13,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
4,
13,
18,
13,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
29,
17,
29,
17,
23,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
4,
18,
13,
13,
30,
0,
13,
17,
41,
13,
4,
18,
13,
13,
28,
13,
13,
30,
30,
14,
2,
13,
13,
30,
4,
18,
13,
13,
3,
14,
2,
2,
13,
13,
17,
3,
29,
4,
18,
13,
2,
4,
18,
13,
17,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
23,
13,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
298,
11
],
[
298,
12
],
[
12,
13
],
[
12,
14
],
[
298,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
298,
21
],
[
21,
22
],
[
21,
23
],
[
298,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
43,
48
],
[
48,
49
],
[
26,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
50,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
67,
71
],
[
71,
72
],
[
298,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
76,
84
],
[
84,
85
],
[
85,
86
],
[
76,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
94,
95
],
[
94,
96
],
[
88,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
97,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
75,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
73,
115
],
[
115,
116
],
[
73,
117
],
[
117,
118
],
[
298,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
122,
127
],
[
127,
128
],
[
127,
129
],
[
122,
130
],
[
130,
131
],
[
131,
132
],
[
122,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
136,
138
],
[
134,
139
],
[
119,
140
],
[
140,
141
],
[
119,
142
],
[
142,
143
],
[
119,
144
],
[
144,
145
],
[
298,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
150,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
298,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
162,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
298,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
298,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
180,
185
],
[
185,
186
],
[
185,
187
],
[
180,
188
],
[
188,
189
],
[
189,
190
],
[
180,
191
],
[
192,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
194,
198
],
[
193,
199
],
[
199,
200
],
[
179,
201
],
[
201,
202
],
[
177,
203
],
[
203,
204
],
[
298,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
211,
212
],
[
212,
213
],
[
211,
214
],
[
207,
215
],
[
215,
216
],
[
215,
217
],
[
207,
218
],
[
218,
219
],
[
218,
220
],
[
207,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
222,
226
],
[
221,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
227,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
234,
235
],
[
233,
236
],
[
227,
237
],
[
237,
238
],
[
237,
239
],
[
237,
240
],
[
241,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
242,
246
],
[
246,
247
],
[
247,
248
],
[
248,
249
],
[
247,
250
],
[
246,
251
],
[
241,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
253,
257
],
[
252,
258
],
[
207,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
260,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
263,
267
],
[
205,
268
],
[
268,
269
],
[
298,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
273,
274
],
[
274,
275
],
[
275,
276
],
[
275,
277
],
[
273,
278
],
[
280,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
279,
283
],
[
280,
284
],
[
270,
285
],
[
285,
286
],
[
270,
287
],
[
287,
288
],
[
298,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
289,
295
],
[
295,
296
],
[
0,
297
],
[
297,
298
],
[
297,
299
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.*;\n\npublic class Main {\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final String LINE_SPR = System.getProperty(\"line.separator\");\n final int BIG_MOD = 1000000007;\n\n void run() throws Exception {\n String line;\n PriorityQueue<Integer> nums = new PriorityQueue<Integer>();\n while((line = br.readLine()) != null) \n nums.add(Integer.parseInt(line) * -1);\n for(int i = 0; i < 3; i++) \n System.out.println(nums.poll() * -1);\n\n }\n\n\n /*\n * Templates\n */\n void dumpObjArr(Object[] arr, int n) {\n for(int i = 0; i < n; i++) {\n System.out.print(arr[i]);\n if(i < n - 1)\n System.out.print(\" \");\n }\n System.out.println(\"\");\n }\n\n void dumpObjArr2(Object[][] arr, int m, int n) {\n for(int j = 0; j < m; j++) \n dumpObjArr(arr[j], n);\n }\n\n int ni() throws Exception {\n return Integer.parseInt(br.readLine().trim());\n }\n\n long nl() throws Exception {\n return Long.parseLong(br.readLine().trim());\n }\n\n String ns() throws Exception {\n return br.readLine();\n }\n\n boolean isPrime(int n) {\n for(int i=2;i<n;i++) {\n if(n%i==0)\n return false;\n }\n return true;\n }\n\n int getPrime(int n) {\n List<Integer> primes = new ArrayList<Integer>();\n primes.add(2);\n int count = 1;\n\n int x = 1;\n while(primes.size() < n) {\n x+=2;\n int m = (int)Math.sqrt(x);\n for(int p : primes) {\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }\n }\n\n return primes.get(primes.size() - 1);\n }\n\n void gcjPrint(String str, int t) {\n System.out.println(\"Case #\" + t + \": \" + str);\n }\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final String LINE_SPR = System.getProperty(\"line.separator\");\n final int BIG_MOD = 1000000007;\n\n void run() throws Exception {\n String line;\n PriorityQueue<Integer> nums = new PriorityQueue<Integer>();\n while((line = br.readLine()) != null) \n nums.add(Integer.parseInt(line) * -1);\n for(int i = 0; i < 3; i++) \n System.out.println(nums.poll() * -1);\n\n }\n\n\n /*\n * Templates\n */\n void dumpObjArr(Object[] arr, int n) {\n for(int i = 0; i < n; i++) {\n System.out.print(arr[i]);\n if(i < n - 1)\n System.out.print(\" \");\n }\n System.out.println(\"\");\n }\n\n void dumpObjArr2(Object[][] arr, int m, int n) {\n for(int j = 0; j < m; j++) \n dumpObjArr(arr[j], n);\n }\n\n int ni() throws Exception {\n return Integer.parseInt(br.readLine().trim());\n }\n\n long nl() throws Exception {\n return Long.parseLong(br.readLine().trim());\n }\n\n String ns() throws Exception {\n return br.readLine();\n }\n\n boolean isPrime(int n) {\n for(int i=2;i<n;i++) {\n if(n%i==0)\n return false;\n }\n return true;\n }\n\n int getPrime(int n) {\n List<Integer> primes = new ArrayList<Integer>();\n primes.add(2);\n int count = 1;\n\n int x = 1;\n while(primes.size() < n) {\n x+=2;\n int m = (int)Math.sqrt(x);\n for(int p : primes) {\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }\n }\n\n return primes.get(primes.size() - 1);\n }\n\n void gcjPrint(String str, int t) {\n System.out.println(\"Case #\" + t + \": \" + str);\n }\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n}",
"Main",
"final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"final String LINE_SPR = System.getProperty(\"line.separator\");",
"LINE_SPR",
"System.getProperty(\"line.separator\")",
"System.getProperty",
"System",
"\"line.separator\"",
"final int BIG_MOD = 1000000007;",
"BIG_MOD",
"1000000007",
"void run() throws Exception {\n String line;\n PriorityQueue<Integer> nums = new PriorityQueue<Integer>();\n while((line = br.readLine()) != null) \n nums.add(Integer.parseInt(line) * -1);\n for(int i = 0; i < 3; i++) \n System.out.println(nums.poll() * -1);\n\n }",
"run",
"{\n String line;\n PriorityQueue<Integer> nums = new PriorityQueue<Integer>();\n while((line = br.readLine()) != null) \n nums.add(Integer.parseInt(line) * -1);\n for(int i = 0; i < 3; i++) \n System.out.println(nums.poll() * -1);\n\n }",
"String line;",
"line",
"PriorityQueue<Integer> nums = new PriorityQueue<Integer>();",
"nums",
"new PriorityQueue<Integer>()",
"while((line = br.readLine()) != null) \n nums.add(Integer.parseInt(line) * -1);",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"nums.add(Integer.parseInt(line) * -1)",
"nums.add",
"nums",
"Integer.parseInt(line) * -1",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"-1",
"1",
"for(int i = 0; i < 3; i++) \n System.out.println(nums.poll() * -1);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"System.out.println(nums.poll() * -1);",
"System.out.println(nums.poll() * -1)",
"System.out.println",
"System.out",
"System",
"System.out",
"nums.poll() * -1",
"nums.poll()",
"nums.poll",
"nums",
"-1",
"1",
"/*\n * Templates\n */\n void dumpObjArr(Object[] arr, int n) {\n for(int i = 0; i < n; i++) {\n System.out.print(arr[i]);\n if(i < n - 1)\n System.out.print(\" \");\n }\n System.out.println(\"\");\n }",
"dumpObjArr",
"{\n for(int i = 0; i < n; i++) {\n System.out.print(arr[i]);\n if(i < n - 1)\n System.out.print(\" \");\n }\n System.out.println(\"\");\n }",
"for(int i = 0; i < n; i++) {\n System.out.print(arr[i]);\n if(i < n - 1)\n System.out.print(\" \");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n System.out.print(arr[i]);\n if(i < n - 1)\n System.out.print(\" \");\n }",
"{\n System.out.print(arr[i]);\n if(i < n - 1)\n System.out.print(\" \");\n }",
"System.out.print(arr[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"arr[i]",
"arr",
"i",
"if(i < n - 1)\n System.out.print(\" \");",
"i < n - 1",
"i",
"n - 1",
"n",
"1",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"Object[] arr",
"arr",
"int n",
"n",
"void dumpObjArr2(Object[][] arr, int m, int n) {\n for(int j = 0; j < m; j++) \n dumpObjArr(arr[j], n);\n }",
"dumpObjArr2",
"{\n for(int j = 0; j < m; j++) \n dumpObjArr(arr[j], n);\n }",
"for(int j = 0; j < m; j++) \n dumpObjArr(arr[j], n);",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < m",
"j",
"m",
"j++",
"j++",
"j",
"dumpObjArr(arr[j], n);",
"dumpObjArr(arr[j], n)",
"dumpObjArr",
"arr[j]",
"arr",
"j",
"n",
"Object[][] arr",
"arr",
"int m",
"m",
"int n",
"n",
"int ni() throws Exception {\n return Integer.parseInt(br.readLine().trim());\n }",
"ni",
"{\n return Integer.parseInt(br.readLine().trim());\n }",
"return Integer.parseInt(br.readLine().trim());",
"Integer.parseInt(br.readLine().trim())",
"Integer.parseInt",
"Integer",
"br.readLine().trim()",
"br.readLine().trim",
"br.readLine()",
"br.readLine",
"br",
"long nl() throws Exception {\n return Long.parseLong(br.readLine().trim());\n }",
"nl",
"{\n return Long.parseLong(br.readLine().trim());\n }",
"return Long.parseLong(br.readLine().trim());",
"Long.parseLong(br.readLine().trim())",
"Long.parseLong",
"Long",
"br.readLine().trim()",
"br.readLine().trim",
"br.readLine()",
"br.readLine",
"br",
"String ns() throws Exception {\n return br.readLine();\n }",
"ns",
"{\n return br.readLine();\n }",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"boolean isPrime(int n) {\n for(int i=2;i<n;i++) {\n if(n%i==0)\n return false;\n }\n return true;\n }",
"isPrime",
"{\n for(int i=2;i<n;i++) {\n if(n%i==0)\n return false;\n }\n return true;\n }",
"for(int i=2;i<n;i++) {\n if(n%i==0)\n return false;\n }",
"int i=2;",
"int i=2;",
"i",
"2",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n if(n%i==0)\n return false;\n }",
"{\n if(n%i==0)\n return false;\n }",
"if(n%i==0)\n return false;",
"n%i==0",
"n%i",
"n",
"i",
"0",
"return false;",
"false",
"return true;",
"true",
"int n",
"n",
"int getPrime(int n) {\n List<Integer> primes = new ArrayList<Integer>();\n primes.add(2);\n int count = 1;\n\n int x = 1;\n while(primes.size() < n) {\n x+=2;\n int m = (int)Math.sqrt(x);\n for(int p : primes) {\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }\n }\n\n return primes.get(primes.size() - 1);\n }",
"getPrime",
"{\n List<Integer> primes = new ArrayList<Integer>();\n primes.add(2);\n int count = 1;\n\n int x = 1;\n while(primes.size() < n) {\n x+=2;\n int m = (int)Math.sqrt(x);\n for(int p : primes) {\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }\n }\n\n return primes.get(primes.size() - 1);\n }",
"List<Integer> primes = new ArrayList<Integer>();",
"primes",
"new ArrayList<Integer>()",
"primes.add(2)",
"primes.add",
"primes",
"2",
"int count = 1;",
"count",
"1",
"int x = 1;",
"x",
"1",
"while(primes.size() < n) {\n x+=2;\n int m = (int)Math.sqrt(x);\n for(int p : primes) {\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }\n }",
"primes.size() < n",
"primes.size()",
"primes.size",
"primes",
"n",
"{\n x+=2;\n int m = (int)Math.sqrt(x);\n for(int p : primes) {\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }\n }",
"x+=2",
"x",
"2",
"int m = (int)Math.sqrt(x);",
"m",
"(int)Math.sqrt(x)",
"Math.sqrt",
"Math",
"x",
"for(int p : primes) {\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }",
"int p",
"primes",
"{\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }",
"{\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }",
"if(p > m) {\n primes.add(x);\n break;\n }",
"p > m",
"p",
"m",
"{\n primes.add(x);\n break;\n }",
"primes.add(x)",
"primes.add",
"primes",
"x",
"break;",
"if(x % p == 0) \n break;",
"x % p == 0",
"x % p",
"x",
"p",
"0",
"break;",
"return primes.get(primes.size() - 1);",
"primes.get(primes.size() - 1)",
"primes.get",
"primes",
"primes.size() - 1",
"primes.size()",
"primes.size",
"primes",
"1",
"int n",
"n",
"void gcjPrint(String str, int t) {\n System.out.println(\"Case #\" + t + \": \" + str);\n }",
"gcjPrint",
"{\n System.out.println(\"Case #\" + t + \": \" + str);\n }",
"System.out.println(\"Case #\" + t + \": \" + str)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case #\" + t + \": \" + str",
"\": \"",
"\"Case #\" + t + \": \" + str",
"\"Case #\"",
"t",
"\": \"",
"str",
"String str",
"str",
"int t",
"t",
"public static void main(String[] args) throws Exception {\n new Main().run();\n }",
"main",
"{\n new Main().run();\n }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public class Main {\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final String LINE_SPR = System.getProperty(\"line.separator\");\n final int BIG_MOD = 1000000007;\n\n void run() throws Exception {\n String line;\n PriorityQueue<Integer> nums = new PriorityQueue<Integer>();\n while((line = br.readLine()) != null) \n nums.add(Integer.parseInt(line) * -1);\n for(int i = 0; i < 3; i++) \n System.out.println(nums.poll() * -1);\n\n }\n\n\n /*\n * Templates\n */\n void dumpObjArr(Object[] arr, int n) {\n for(int i = 0; i < n; i++) {\n System.out.print(arr[i]);\n if(i < n - 1)\n System.out.print(\" \");\n }\n System.out.println(\"\");\n }\n\n void dumpObjArr2(Object[][] arr, int m, int n) {\n for(int j = 0; j < m; j++) \n dumpObjArr(arr[j], n);\n }\n\n int ni() throws Exception {\n return Integer.parseInt(br.readLine().trim());\n }\n\n long nl() throws Exception {\n return Long.parseLong(br.readLine().trim());\n }\n\n String ns() throws Exception {\n return br.readLine();\n }\n\n boolean isPrime(int n) {\n for(int i=2;i<n;i++) {\n if(n%i==0)\n return false;\n }\n return true;\n }\n\n int getPrime(int n) {\n List<Integer> primes = new ArrayList<Integer>();\n primes.add(2);\n int count = 1;\n\n int x = 1;\n while(primes.size() < n) {\n x+=2;\n int m = (int)Math.sqrt(x);\n for(int p : primes) {\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }\n }\n\n return primes.get(primes.size() - 1);\n }\n\n void gcjPrint(String str, int t) {\n System.out.println(\"Case #\" + t + \": \" + str);\n }\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n}",
"public class Main {\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final String LINE_SPR = System.getProperty(\"line.separator\");\n final int BIG_MOD = 1000000007;\n\n void run() throws Exception {\n String line;\n PriorityQueue<Integer> nums = new PriorityQueue<Integer>();\n while((line = br.readLine()) != null) \n nums.add(Integer.parseInt(line) * -1);\n for(int i = 0; i < 3; i++) \n System.out.println(nums.poll() * -1);\n\n }\n\n\n /*\n * Templates\n */\n void dumpObjArr(Object[] arr, int n) {\n for(int i = 0; i < n; i++) {\n System.out.print(arr[i]);\n if(i < n - 1)\n System.out.print(\" \");\n }\n System.out.println(\"\");\n }\n\n void dumpObjArr2(Object[][] arr, int m, int n) {\n for(int j = 0; j < m; j++) \n dumpObjArr(arr[j], n);\n }\n\n int ni() throws Exception {\n return Integer.parseInt(br.readLine().trim());\n }\n\n long nl() throws Exception {\n return Long.parseLong(br.readLine().trim());\n }\n\n String ns() throws Exception {\n return br.readLine();\n }\n\n boolean isPrime(int n) {\n for(int i=2;i<n;i++) {\n if(n%i==0)\n return false;\n }\n return true;\n }\n\n int getPrime(int n) {\n List<Integer> primes = new ArrayList<Integer>();\n primes.add(2);\n int count = 1;\n\n int x = 1;\n while(primes.size() < n) {\n x+=2;\n int m = (int)Math.sqrt(x);\n for(int p : primes) {\n if(p > m) {\n primes.add(x);\n break;\n }\n\n if(x % p == 0) \n break;\n }\n }\n\n return primes.get(primes.size() - 1);\n }\n\n void gcjPrint(String str, int t) {\n System.out.println(\"Case #\" + t + \": \" + str);\n }\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
public class Main {
final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
final String LINE_SPR = System.getProperty("line.separator");
final int BIG_MOD = 1000000007;
void run() throws Exception {
String line;
PriorityQueue<Integer> nums = new PriorityQueue<Integer>();
while((line = br.readLine()) != null)
nums.add(Integer.parseInt(line) * -1);
for(int i = 0; i < 3; i++)
System.out.println(nums.poll() * -1);
}
/*
* Templates
*/
void dumpObjArr(Object[] arr, int n) {
for(int i = 0; i < n; i++) {
System.out.print(arr[i]);
if(i < n - 1)
System.out.print(" ");
}
System.out.println("");
}
void dumpObjArr2(Object[][] arr, int m, int n) {
for(int j = 0; j < m; j++)
dumpObjArr(arr[j], n);
}
int ni() throws Exception {
return Integer.parseInt(br.readLine().trim());
}
long nl() throws Exception {
return Long.parseLong(br.readLine().trim());
}
String ns() throws Exception {
return br.readLine();
}
boolean isPrime(int n) {
for(int i=2;i<n;i++) {
if(n%i==0)
return false;
}
return true;
}
int getPrime(int n) {
List<Integer> primes = new ArrayList<Integer>();
primes.add(2);
int count = 1;
int x = 1;
while(primes.size() < n) {
x+=2;
int m = (int)Math.sqrt(x);
for(int p : primes) {
if(p > m) {
primes.add(x);
break;
}
if(x % p == 0)
break;
}
}
return primes.get(primes.size() - 1);
}
void gcjPrint(String str, int t) {
System.out.println("Case #" + t + ": " + str);
}
public static void main(String[] args) throws Exception {
new Main().run();
}
} |
Subsets and Splits