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);
}
} |
End of preview. Expand
in Dataset Viewer.
Python & Java AST (Abstract Syntax Tree) and DFG (Data Flow Graph) data used in the paper GALLa: Graph Aligned Large Language Models for Improved Source Code Understanding, along with node type embeddings (node_type_embedding.pth
) and code to generate stage 2 instruction data (instruction-text.ipynb
). Please refer to the paper and Github repo for further details.
If you use this dataset, please cite the following paper:
@misc{zhang2024gallagraphalignedlarge,
title={GALLa: Graph Aligned Large Language Models for Improved Source Code Understanding},
author={Ziyin Zhang and Hang Yu and Shijie Li and Peng Di and Jianguo Li and Rui Wang},
year={2024},
eprint={2409.04183},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2409.04183},
}
- Downloads last month
- 6