node_ids
listlengths 4
1.4k
| edge_index
listlengths 1
2.22k
| text
listlengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
57,
5
],
[
57,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
23,
33
],
[
33,
34
],
[
34,
35
],
[
23,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
38,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scan = new Scanner(System.in);\n String s = scan.nextLine();\n \n String[] str = s.split(\" \");\n \n for(int i = 0; i < str.length; i++){\n if(str[i].equals(\"0\")){\n System.out.println(i + 1);\n }\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scan = new Scanner(System.in);\n String s = scan.nextLine();\n \n String[] str = s.split(\" \");\n \n for(int i = 0; i < str.length; i++){\n if(str[i].equals(\"0\")){\n System.out.println(i + 1);\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n \n Scanner scan = new Scanner(System.in);\n String s = scan.nextLine();\n \n String[] str = s.split(\" \");\n \n for(int i = 0; i < str.length; i++){\n if(str[i].equals(\"0\")){\n System.out.println(i + 1);\n }\n }\n }",
"main",
"{\n \n Scanner scan = new Scanner(System.in);\n String s = scan.nextLine();\n \n String[] str = s.split(\" \");\n \n for(int i = 0; i < str.length; i++){\n if(str[i].equals(\"0\")){\n System.out.println(i + 1);\n }\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String s = scan.nextLine();",
"s",
"scan.nextLine()",
"scan.nextLine",
"scan",
"String[] str = s.split(\" \");",
"str",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"for(int i = 0; i < str.length; i++){\n if(str[i].equals(\"0\")){\n System.out.println(i + 1);\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < str.length",
"i",
"str.length",
"str",
"str.length",
"i++",
"i++",
"i",
"{\n if(str[i].equals(\"0\")){\n System.out.println(i + 1);\n }\n }",
"{\n if(str[i].equals(\"0\")){\n System.out.println(i + 1);\n }\n }",
"if(str[i].equals(\"0\")){\n System.out.println(i + 1);\n }",
"str[i].equals(\"0\")",
"str[i].equals",
"str[i]",
"str",
"i",
"\"0\"",
"{\n System.out.println(i + 1);\n }",
"System.out.println(i + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scan = new Scanner(System.in);\n String s = scan.nextLine();\n \n String[] str = s.split(\" \");\n \n for(int i = 0; i < str.length; i++){\n if(str[i].equals(\"0\")){\n System.out.println(i + 1);\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scan = new Scanner(System.in);\n String s = scan.nextLine();\n \n String[] str = s.split(\" \");\n \n for(int i = 0; i < str.length; i++){\n if(str[i].equals(\"0\")){\n System.out.println(i + 1);\n }\n }\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner scan = new Scanner(System.in);
String s = scan.nextLine();
String[] str = s.split(" ");
for(int i = 0; i < str.length; i++){
if(str[i].equals("0")){
System.out.println(i + 1);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
3,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
62,
17
],
[
62,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
20,
30
],
[
30,
31
],
[
30,
32
],
[
20,
33
],
[
33,
34
],
[
34,
35
],
[
35,
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
],
[
37,
51
],
[
51,
52
],
[
20,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
18,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(String []args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n ArrayList<Integer> num=new ArrayList<>();\n int c=1;\n while (st.hasMoreTokens()){\n int temp=Integer.parseInt(st.nextToken());\n if(temp==0)\n break;\n c++;\n }\n System.out.println(c);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String []args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n ArrayList<Integer> num=new ArrayList<>();\n int c=1;\n while (st.hasMoreTokens()){\n int temp=Integer.parseInt(st.nextToken());\n if(temp==0)\n break;\n c++;\n }\n System.out.println(c);\n }\n}",
"Main",
"public static void main(String []args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n ArrayList<Integer> num=new ArrayList<>();\n int c=1;\n while (st.hasMoreTokens()){\n int temp=Integer.parseInt(st.nextToken());\n if(temp==0)\n break;\n c++;\n }\n System.out.println(c);\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n ArrayList<Integer> num=new ArrayList<>();\n int c=1;\n while (st.hasMoreTokens()){\n int temp=Integer.parseInt(st.nextToken());\n if(temp==0)\n break;\n c++;\n }\n System.out.println(c);\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"ArrayList<Integer> num=new ArrayList<>();",
"num",
"new ArrayList<>()",
"int c=1;",
"c",
"1",
"while (st.hasMoreTokens()){\n int temp=Integer.parseInt(st.nextToken());\n if(temp==0)\n break;\n c++;\n }",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n int temp=Integer.parseInt(st.nextToken());\n if(temp==0)\n break;\n c++;\n }",
"int temp=Integer.parseInt(st.nextToken());",
"temp",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"if(temp==0)\n break;",
"temp==0",
"temp",
"0",
"break;",
"c++",
"c",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String []args",
"args",
"public class Main {\n public static void main(String []args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n ArrayList<Integer> num=new ArrayList<>();\n int c=1;\n while (st.hasMoreTokens()){\n int temp=Integer.parseInt(st.nextToken());\n if(temp==0)\n break;\n c++;\n }\n System.out.println(c);\n }\n}",
"public class Main {\n public static void main(String []args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n ArrayList<Integer> num=new ArrayList<>();\n int c=1;\n while (st.hasMoreTokens()){\n int temp=Integer.parseInt(st.nextToken());\n if(temp==0)\n break;\n c++;\n }\n System.out.println(c);\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.StringTokenizer;
public class Main {
public static void main(String []args) throws IOException {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer(br.readLine());
ArrayList<Integer> num=new ArrayList<>();
int c=1;
while (st.hasMoreTokens()){
int temp=Integer.parseInt(st.nextToken());
if(temp==0)
break;
c++;
}
System.out.println(c);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
0,
13,
2,
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
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
20,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
17,
28
],
[
28,
29
],
[
28,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
17,
38
],
[
38,
39
],
[
38,
40
],
[
17,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
41,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
17,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
74,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
17,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
15,
92
],
[
92,
93
]
]
| [
"import java.util.*;\nimport java.lang.*;\nimport java.math.*;\nimport java.io.*;\nclass Main{\n\tpublic static void main(String[] args) {\n\t\tInputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n int a[]=new int[5];\n int ans=0;\n for(int i=0;i<5;i++){\n a[i]=in.nextInt();\n }\n for(int i=0;i<5;i++){\n if(a[i]==0){\n ans=i+1;\n }\n }\n System.out.println(ans);\n }\n } ",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String[] args) {\n\t\tInputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n int a[]=new int[5];\n int ans=0;\n for(int i=0;i<5;i++){\n a[i]=in.nextInt();\n }\n for(int i=0;i<5;i++){\n if(a[i]==0){\n ans=i+1;\n }\n }\n System.out.println(ans);\n }\n }",
"Main",
"public static void main(String[] args) {\n\t\tInputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n int a[]=new int[5];\n int ans=0;\n for(int i=0;i<5;i++){\n a[i]=in.nextInt();\n }\n for(int i=0;i<5;i++){\n if(a[i]==0){\n ans=i+1;\n }\n }\n System.out.println(ans);\n }",
"main",
"{\n\t\tInputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n int a[]=new int[5];\n int ans=0;\n for(int i=0;i<5;i++){\n a[i]=in.nextInt();\n }\n for(int i=0;i<5;i++){\n if(a[i]==0){\n ans=i+1;\n }\n }\n System.out.println(ans);\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"Scanner in = new Scanner(inputStream);",
"in",
"new Scanner(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"int a[]=new int[5];",
"a",
"new int[5]",
"5",
"int ans=0;",
"ans",
"0",
"for(int i=0;i<5;i++){\n a[i]=in.nextInt();\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n a[i]=in.nextInt();\n }",
"{\n a[i]=in.nextInt();\n }",
"a[i]=in.nextInt()",
"a[i]",
"a",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"for(int i=0;i<5;i++){\n if(a[i]==0){\n ans=i+1;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if(a[i]==0){\n ans=i+1;\n }\n }",
"{\n if(a[i]==0){\n ans=i+1;\n }\n }",
"if(a[i]==0){\n ans=i+1;\n }",
"a[i]==0",
"a[i]",
"a",
"i",
"0",
"{\n ans=i+1;\n }",
"ans=i+1",
"ans",
"i+1",
"i",
"1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
]
| import java.util.*;
import java.lang.*;
import java.math.*;
import java.io.*;
class Main{
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
Scanner in = new Scanner(inputStream);
PrintWriter out = new PrintWriter(outputStream);
int a[]=new int[5];
int ans=0;
for(int i=0;i<5;i++){
a[i]=in.nextInt();
}
for(int i=0;i<5;i++){
if(a[i]==0){
ans=i+1;
}
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
17,
17,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
33,
5
],
[
33,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
23,
28
],
[
22,
29
],
[
6,
30
],
[
30,
31
],
[
0,
32
],
[
32,
33
],
[
32,
34
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.nextLine();\n\t\tSystem.out.println(s.indexOf(\"0\") / 2 + 1);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.nextLine();\n\t\tSystem.out.println(s.indexOf(\"0\") / 2 + 1);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.nextLine();\n\t\tSystem.out.println(s.indexOf(\"0\") / 2 + 1);\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.nextLine();\n\t\tSystem.out.println(s.indexOf(\"0\") / 2 + 1);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.nextLine();",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"System.out.println(s.indexOf(\"0\") / 2 + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"s.indexOf(\"0\") / 2 + 1",
"s.indexOf(\"0\") / 2",
"s.indexOf(\"0\")",
"s.indexOf",
"s",
"\"0\"",
"2",
"1",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.nextLine();\n\t\tSystem.out.println(s.indexOf(\"0\") / 2 + 1);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.nextLine();\n\t\tSystem.out.println(s.indexOf(\"0\") / 2 + 1);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.nextLine();
System.out.println(s.indexOf("0") / 2 + 1);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
63,
8
],
[
63,
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
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
42,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
11,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
9,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
]
| [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\t\n\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\tint a[] = new int[5];\n\t\tint index = 0;\n\t\tfor(int i=0;i<5;i++) {\n\t\t\ta[i] = s.nextInt();\n\t\t\tif(a[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(index);\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\tint a[] = new int[5];\n\t\tint index = 0;\n\t\tfor(int i=0;i<5;i++) {\n\t\t\ta[i] = s.nextInt();\n\t\t\tif(a[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(index);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\tint a[] = new int[5];\n\t\tint index = 0;\n\t\tfor(int i=0;i<5;i++) {\n\t\t\ta[i] = s.nextInt();\n\t\t\tif(a[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(index);\n\t}",
"main",
"{\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\tint a[] = new int[5];\n\t\tint index = 0;\n\t\tfor(int i=0;i<5;i++) {\n\t\t\ta[i] = s.nextInt();\n\t\t\tif(a[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(index);\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int a[] = new int[5];",
"a",
"new int[5]",
"5",
"int index = 0;",
"index",
"0",
"for(int i=0;i<5;i++) {\n\t\t\ta[i] = s.nextInt();\n\t\t\tif(a[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\ta[i] = s.nextInt();\n\t\t\tif(a[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t}\n\t\t}",
"{\n\t\t\ta[i] = s.nextInt();\n\t\t\tif(a[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t}\n\t\t}",
"a[i] = s.nextInt()",
"a[i]",
"a",
"i",
"s.nextInt()",
"s.nextInt",
"s",
"if(a[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t}",
"a[i]==0",
"a[i]",
"a",
"i",
"0",
"{\n\t\t\t\tindex = i+1;\n\t\t\t}",
"index = i+1",
"index",
"i+1",
"i",
"1",
"System.out.println(index)",
"System.out.println",
"System.out",
"System",
"System.out",
"index",
"String[] args",
"args",
"public class Main {\n\t\n\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\tint a[] = new int[5];\n\t\tint index = 0;\n\t\tfor(int i=0;i<5;i++) {\n\t\t\ta[i] = s.nextInt();\n\t\t\tif(a[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(index);\n\t}\n}",
"public class Main {\n\t\n\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\tint a[] = new int[5];\n\t\tint index = 0;\n\t\tfor(int i=0;i<5;i++) {\n\t\t\ta[i] = s.nextInt();\n\t\t\tif(a[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(index);\n\t}\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int a[] = new int[5];
int index = 0;
for(int i=0;i<5;i++) {
a[i] = s.nextInt();
if(a[i]==0) {
index = i+1;
}
}
System.out.println(index);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
2,
2,
2,
17,
17,
17,
17,
41,
13,
39,
17,
40,
17,
17,
17,
41,
13,
39,
17,
17,
40,
17,
17,
12,
13,
30,
41,
13,
4,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
13,
2,
13,
17,
29,
12,
13,
30,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
2,
4,
18,
13,
2,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
4,
13,
4,
18,
13,
12,
13,
30,
20,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
0,
13,
17,
29,
17,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
38,
5,
13,
30,
0,
13,
17,
29,
17,
30,
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,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
300,
8
],
[
300,
9
],
[
9,
10
],
[
300,
11
],
[
11,
12
],
[
300,
13
],
[
13,
14
],
[
300,
15
],
[
15,
16
],
[
300,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
21,
21
],
[
21,
22
],
[
21,
23
],
[
21,
24
],
[
19,
25
],
[
300,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
28,
32
],
[
28,
33
],
[
300,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
36,
39
],
[
39,
40
],
[
36,
41
],
[
300,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
50,
60
],
[
60,
61
],
[
61,
62
],
[
50,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
65,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
71,
77
],
[
300,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
80,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
86,
94
],
[
94,
95
],
[
95,
96
],
[
86,
97
],
[
98,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
103,
107
],
[
107,
108
],
[
107,
109
],
[
98,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
98,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
119,
120
],
[
119,
121
],
[
98,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
126
],
[
78,
127
],
[
127,
128
],
[
300,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
132,
135
],
[
129,
136
],
[
136,
137
],
[
300,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
141,
144
],
[
138,
145
],
[
145,
146
],
[
300,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
149,
153
],
[
153,
154
],
[
153,
155
],
[
149,
156
],
[
156,
157
],
[
149,
158
],
[
158,
159
],
[
159,
160
],
[
300,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
161,
165
],
[
165,
166
],
[
300,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
174,
179
],
[
179,
180
],
[
179,
181
],
[
174,
182
],
[
182,
183
],
[
183,
184
],
[
174,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
186,
190
],
[
190,
191
],
[
169,
192
],
[
192,
193
],
[
167,
194
],
[
194,
195
],
[
300,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
198,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
203,
208
],
[
208,
209
],
[
208,
210
],
[
203,
211
],
[
211,
212
],
[
212,
213
],
[
203,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
215,
219
],
[
219,
220
],
[
198,
221
],
[
221,
222
],
[
196,
223
],
[
223,
224
],
[
300,
225
],
[
225,
226
],
[
225,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
229,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
228,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
241,
245
],
[
245,
246
],
[
238,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
227,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
300,
255
],
[
255,
256
],
[
255,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
261,
265
],
[
265,
266
],
[
258,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
300,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
275,
276
],
[
276,
277
],
[
277,
278
],
[
276,
279
],
[
279,
280
],
[
300,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
286,
287
],
[
285,
288
],
[
288,
289
],
[
300,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
295,
296
],
[
294,
297
],
[
297,
298
],
[
0,
299
],
[
299,
300
],
[
299,
301
]
]
| [
"import java.util.*;\nimport java.io.*;\n\n// Template for atcoder\npublic class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n int[] arr = nextIntArr(5);\n for (int i = 0; i < arr.length; i++) {\n if (arr[i] == 0) {\n outln(i + 1);\n return;\n }\n }\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n int[] arr = nextIntArr(5);\n for (int i = 0; i < arr.length; i++) {\n if (arr[i] == 0) {\n outln(i + 1);\n return;\n }\n }\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}",
"Main",
"BufferedReader br;",
"br",
"PrintWriter out;",
"out",
"StringTokenizer st;",
"st",
"boolean eof;",
"eof",
"final long MOD = 1000L * 1000L * 1000L + 7;",
"MOD",
"1000L * 1000L * 1000L + 7",
"1000L * 1000L * 1000L",
"1000L * 1000L * 1000L",
"1000L",
"1000L",
"1000L",
"7",
"private static final int[] dx = {0, -1, 0, 1};",
"dx",
"{0, -1, 0, 1}",
"0",
"-1",
"1",
"0",
"1",
"private static final int[] dy = {1, 0, -1, 0};",
"dy",
"{1, 0, -1, 0}",
"1",
"0",
"-1",
"1",
"0",
"void solve() throws IOException {\n int[] arr = nextIntArr(5);\n for (int i = 0; i < arr.length; i++) {\n if (arr[i] == 0) {\n outln(i + 1);\n return;\n }\n }\n }",
"solve",
"{\n int[] arr = nextIntArr(5);\n for (int i = 0; i < arr.length; i++) {\n if (arr[i] == 0) {\n outln(i + 1);\n return;\n }\n }\n }",
"int[] arr = nextIntArr(5);",
"arr",
"nextIntArr(5)",
"nextIntArr",
"5",
"for (int i = 0; i < arr.length; i++) {\n if (arr[i] == 0) {\n outln(i + 1);\n return;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\n if (arr[i] == 0) {\n outln(i + 1);\n return;\n }\n }",
"{\n if (arr[i] == 0) {\n outln(i + 1);\n return;\n }\n }",
"if (arr[i] == 0) {\n outln(i + 1);\n return;\n }",
"arr[i] == 0",
"arr[i]",
"arr",
"i",
"0",
"{\n outln(i + 1);\n return;\n }",
"outln(i + 1)",
"outln",
"i + 1",
"i",
"1",
"return;",
"void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }",
"shuffle",
"{\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }",
"int n = a.length;",
"n",
"a.length",
"a",
"a.length",
"for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }",
"{\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }",
"int r = i + (int) (Math.random() * (n - i));",
"r",
"i + (int) (Math.random() * (n - i))",
"i",
"(int) (Math.random() * (n - i))",
"Math.random()",
"Math.random",
"Math",
"(n - i)",
"n",
"i",
"int tmp = a[i];",
"tmp",
"a[i]",
"a",
"i",
"a[i] = a[r]",
"a[i]",
"a",
"i",
"a[r]",
"a",
"r",
"a[r] = tmp",
"a[r]",
"a",
"r",
"tmp",
"int[] a",
"a",
"private void outln(Object o) {\n out.println(o);\n }",
"outln",
"{\n out.println(o);\n }",
"out.println(o)",
"out.println",
"out",
"o",
"Object o",
"o",
"private void out(Object o) {\n out.print(o);\n }",
"out",
"{\n out.print(o);\n }",
"out.print(o)",
"out.print",
"out",
"o",
"Object o",
"o",
"public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }",
"Main",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"solve()",
"solve",
"out.close()",
"out.close",
"out",
"public static void main(String[] args) throws IOException {\n new Main();\n }",
"main",
"{\n new Main();\n }",
"new Main()",
"String[] args",
"args",
"public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }",
"nextLongArr",
"{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }",
"long[] res = new long[n];",
"res",
"new long[n]",
"n",
"for(int i = 0; i < n; i++)\n res[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"res[i] = nextLong();",
"res[i] = nextLong()",
"res[i]",
"res",
"i",
"nextLong()",
"nextLong",
"return res;",
"res",
"int n",
"n",
"public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }",
"nextIntArr",
"{\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }",
"int[] res = new int[n];",
"res",
"new int[n]",
"n",
"for(int i = 0; i < n; i++)\n res[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"res[i] = nextInt();",
"res[i] = nextInt()",
"res[i]",
"res",
"i",
"nextInt()",
"nextInt",
"return res;",
"res",
"int n",
"n",
"public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }",
"nextToken",
"{\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }",
"catch (Exception e) {\n eof = true;\n return null;\n }",
"Exception e",
"{\n eof = true;\n return null;\n }",
"eof = true",
"eof",
"true",
"return null;",
"null",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }",
"nextString",
"{\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }",
"try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }",
"catch (IOException e) {\n eof = true;\n return null;\n }",
"IOException e",
"{\n eof = true;\n return null;\n }",
"eof = true",
"eof",
"true",
"return null;",
"null",
"{\n return br.readLine();\n }",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }",
"nextInt",
"{\n return Integer.parseInt(nextToken());\n }",
"return Integer.parseInt(nextToken());",
"Integer.parseInt(nextToken())",
"Integer.parseInt",
"Integer",
"nextToken()",
"nextToken",
"public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }",
"nextLong",
"{\n return Long.parseLong(nextToken());\n }",
"return Long.parseLong(nextToken());",
"Long.parseLong(nextToken())",
"Long.parseLong",
"Long",
"nextToken()",
"nextToken",
"public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }",
"nextDouble",
"{\n return Double.parseDouble(nextToken());\n }",
"return Double.parseDouble(nextToken());",
"Double.parseDouble(nextToken())",
"Double.parseDouble",
"Double",
"nextToken()",
"nextToken",
"public class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n int[] arr = nextIntArr(5);\n for (int i = 0; i < arr.length; i++) {\n if (arr[i] == 0) {\n outln(i + 1);\n return;\n }\n }\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}",
"public class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n int[] arr = nextIntArr(5);\n for (int i = 0; i < arr.length; i++) {\n if (arr[i] == 0) {\n outln(i + 1);\n return;\n }\n }\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
// Template for atcoder
public class Main {
BufferedReader br;
PrintWriter out;
StringTokenizer st;
boolean eof;
final long MOD = 1000L * 1000L * 1000L + 7;
private static final int[] dx = {0, -1, 0, 1};
private static final int[] dy = {1, 0, -1, 0};
void solve() throws IOException {
int[] arr = nextIntArr(5);
for (int i = 0; i < arr.length; i++) {
if (arr[i] == 0) {
outln(i + 1);
return;
}
}
}
void shuffle(int[] a) {
int n = a.length;
for(int i = 0; i < n; i++) {
int r = i + (int) (Math.random() * (n - i));
int tmp = a[i];
a[i] = a[r];
a[r] = tmp;
}
}
private void outln(Object o) {
out.println(o);
}
private void out(Object o) {
out.print(o);
}
public Main() throws IOException {
br = new BufferedReader(new InputStreamReader(System.in));
out = new PrintWriter(System.out);
solve();
out.close();
}
public static void main(String[] args) throws IOException {
new Main();
}
public long[] nextLongArr(int n) throws IOException{
long[] res = new long[n];
for(int i = 0; i < n; i++)
res[i] = nextLong();
return res;
}
public int[] nextIntArr(int n) throws IOException {
int[] res = new int[n];
for(int i = 0; i < n; i++)
res[i] = nextInt();
return res;
}
public String nextToken() {
while (st == null || !st.hasMoreTokens()) {
try {
st = new StringTokenizer(br.readLine());
} catch (Exception e) {
eof = true;
return null;
}
}
return st.nextToken();
}
public String nextString() {
try {
return br.readLine();
} catch (IOException e) {
eof = true;
return null;
}
}
public int nextInt() throws IOException {
return Integer.parseInt(nextToken());
}
public long nextLong() throws IOException {
return Long.parseLong(nextToken());
}
public double nextDouble() throws IOException {
return Double.parseDouble(nextToken());
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
28,
13,
13,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
35,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
45,
54
],
[
6,
55
],
[
55,
56
]
]
| [
"import java.util.*;\nclass Main{\n public static void main(String[] args){\n Scanner sr = new Scanner(System.in);\n int X[] = new int[5];\n for(int i=0;i<=4;i++)\n X[i] = sr.nextInt();\n for(int j:X)\n if(X[j]==0){System.out.println(j+1);break;}\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n Scanner sr = new Scanner(System.in);\n int X[] = new int[5];\n for(int i=0;i<=4;i++)\n X[i] = sr.nextInt();\n for(int j:X)\n if(X[j]==0){System.out.println(j+1);break;}\n }\n\n}",
"Main",
"public static void main(String[] args){\n Scanner sr = new Scanner(System.in);\n int X[] = new int[5];\n for(int i=0;i<=4;i++)\n X[i] = sr.nextInt();\n for(int j:X)\n if(X[j]==0){System.out.println(j+1);break;}\n }",
"main",
"{\n Scanner sr = new Scanner(System.in);\n int X[] = new int[5];\n for(int i=0;i<=4;i++)\n X[i] = sr.nextInt();\n for(int j:X)\n if(X[j]==0){System.out.println(j+1);break;}\n }",
"Scanner sr = new Scanner(System.in);",
"sr",
"new Scanner(System.in)",
"int X[] = new int[5];",
"X",
"new int[5]",
"5",
"for(int i=0;i<=4;i++)\n X[i] = sr.nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<=4",
"i",
"4",
"i++",
"i++",
"i",
"X[i] = sr.nextInt();",
"X[i] = sr.nextInt()",
"X[i]",
"X",
"i",
"sr.nextInt()",
"sr.nextInt",
"sr",
"for(int j:X)\n if(X[j]==0){System.out.println(j+1);break;}",
"int j",
"X",
"if(X[j]==0){System.out.println(j+1);break;}",
"if(X[j]==0){System.out.println(j+1);break;}",
"X[j]==0",
"X[j]",
"X",
"j",
"0",
"{System.out.println(j+1);break;}",
"System.out.println(j+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"j+1",
"j",
"1",
"break;",
"String[] args",
"args"
]
| import java.util.*;
class Main{
public static void main(String[] args){
Scanner sr = new Scanner(System.in);
int X[] = new int[5];
for(int i=0;i<=4;i++)
X[i] = sr.nextInt();
for(int j:X)
if(X[j]==0){System.out.println(j+1);break;}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
13,
4,
18,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
48,
5
],
[
48,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
17,
19
],
[
12,
20
],
[
20,
21
],
[
21,
22
],
[
12,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
34,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tfor(int i=1;i<=5;i++) {\n\t\t\tint a = scan.nextInt();\n\t\t\tif(a==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\t\n\t}\t\n}\n ",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tfor(int i=1;i<=5;i++) {\n\t\t\tint a = scan.nextInt();\n\t\t\tif(a==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\t\n\t}\t\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tfor(int i=1;i<=5;i++) {\n\t\t\tint a = scan.nextInt();\n\t\t\tif(a==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tfor(int i=1;i<=5;i++) {\n\t\t\tint a = scan.nextInt();\n\t\t\tif(a==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(int i=1;i<=5;i++) {\n\t\t\tint a = scan.nextInt();\n\t\t\tif(a==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tint a = scan.nextInt();\n\t\t\tif(a==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}",
"{\n\t\t\tint a = scan.nextInt();\n\t\t\tif(a==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(a==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}",
"a==0",
"a",
"0",
"{\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"System.exit(0)",
"System.exit",
"System",
"0",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tfor(int i=1;i<=5;i++) {\n\t\t\tint a = scan.nextInt();\n\t\t\tif(a==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\t\n\t}\t\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tfor(int i=1;i<=5;i++) {\n\t\t\tint a = scan.nextInt();\n\t\t\tif(a==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\t\n\t}\t\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
for(int i=1;i<=5;i++) {
int a = scan.nextInt();
if(a==0) {
System.out.println(i);
System.exit(0);
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
98,
5
],
[
98,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
37,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
48,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
59,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
70,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
8,
92
],
[
92,
93
],
[
93,
94
],
[
6,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
]
| [
"\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//コンソールに入力した値を取得\n\t\tint x1 = sc.nextInt();\n\t\tint x2 = sc.nextInt();\n\t\tint x3 = sc.nextInt();\n\t\tint x4 = sc.nextInt();\n\t\tint x5 = sc.nextInt();\n\n\t\tif (x1 == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(\"2\");\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(\"3\");\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(\"4\");\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(\"5\");\n\t\t}\n\n\t\tsc.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//コンソールに入力した値を取得\n\t\tint x1 = sc.nextInt();\n\t\tint x2 = sc.nextInt();\n\t\tint x3 = sc.nextInt();\n\t\tint x4 = sc.nextInt();\n\t\tint x5 = sc.nextInt();\n\n\t\tif (x1 == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(\"2\");\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(\"3\");\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(\"4\");\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(\"5\");\n\t\t}\n\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//コンソールに入力した値を取得\n\t\tint x1 = sc.nextInt();\n\t\tint x2 = sc.nextInt();\n\t\tint x3 = sc.nextInt();\n\t\tint x4 = sc.nextInt();\n\t\tint x5 = sc.nextInt();\n\n\t\tif (x1 == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(\"2\");\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(\"3\");\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(\"4\");\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(\"5\");\n\t\t}\n\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//コンソールに入力した値を取得\n\t\tint x1 = sc.nextInt();\n\t\tint x2 = sc.nextInt();\n\t\tint x3 = sc.nextInt();\n\t\tint x4 = sc.nextInt();\n\t\tint x5 = sc.nextInt();\n\n\t\tif (x1 == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(\"2\");\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(\"3\");\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(\"4\");\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(\"5\");\n\t\t}\n\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x1 = sc.nextInt();",
"x1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x2 = sc.nextInt();",
"x2",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x3 = sc.nextInt();",
"x3",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x4 = sc.nextInt();",
"x4",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x5 = sc.nextInt();",
"x5",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (x1 == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(\"2\");\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(\"3\");\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(\"4\");\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(\"5\");\n\t\t}",
"x1 == 0",
"x1",
"0",
"{\n\t\t\tSystem.out.println(\"1\");\n\t\t}",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"if (x2 == 0) {\n\t\t\tSystem.out.println(\"2\");\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(\"3\");\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(\"4\");\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(\"5\");\n\t\t}",
"x2 == 0",
"x2",
"0",
"{\n\t\t\tSystem.out.println(\"2\");\n\t\t}",
"System.out.println(\"2\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"2\"",
"if (x3 == 0) {\n\t\t\tSystem.out.println(\"3\");\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(\"4\");\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(\"5\");\n\t\t}",
"x3 == 0",
"x3",
"0",
"{\n\t\t\tSystem.out.println(\"3\");\n\t\t}",
"System.out.println(\"3\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"3\"",
"if (x4 == 0) {\n\t\t\tSystem.out.println(\"4\");\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(\"5\");\n\t\t}",
"x4 == 0",
"x4",
"0",
"{\n\t\t\tSystem.out.println(\"4\");\n\t\t}",
"System.out.println(\"4\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"4\"",
"if (x5 == 0) {\n\t\t\tSystem.out.println(\"5\");\n\t\t}",
"x5 == 0",
"x5",
"0",
"{\n\t\t\tSystem.out.println(\"5\");\n\t\t}",
"System.out.println(\"5\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"5\"",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//コンソールに入力した値を取得\n\t\tint x1 = sc.nextInt();\n\t\tint x2 = sc.nextInt();\n\t\tint x3 = sc.nextInt();\n\t\tint x4 = sc.nextInt();\n\t\tint x5 = sc.nextInt();\n\n\t\tif (x1 == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(\"2\");\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(\"3\");\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(\"4\");\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(\"5\");\n\t\t}\n\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//コンソールに入力した値を取得\n\t\tint x1 = sc.nextInt();\n\t\tint x2 = sc.nextInt();\n\t\tint x3 = sc.nextInt();\n\t\tint x4 = sc.nextInt();\n\t\tint x5 = sc.nextInt();\n\n\t\tif (x1 == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(\"2\");\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(\"3\");\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(\"4\");\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(\"5\");\n\t\t}\n\n\t\tsc.close();\n\t}\n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
//コンソールに入力した値を取得
int x1 = sc.nextInt();
int x2 = sc.nextInt();
int x3 = sc.nextInt();
int x4 = sc.nextInt();
int x5 = sc.nextInt();
if (x1 == 0) {
System.out.println("1");
} else if (x2 == 0) {
System.out.println("2");
} else if (x3 == 0) {
System.out.println("3");
} else if (x4 == 0) {
System.out.println("4");
} else if (x5 == 0) {
System.out.println("5");
}
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
100,
5
],
[
100,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
21,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
38,
45
],
[
8,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
55,
62
],
[
8,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
72,
79
],
[
8,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
8,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
89,
96
],
[
6,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\nScanner sc=new Scanner(System.in);\nint x=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"1\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"2\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"3\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"4\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"5\");\nreturn;\n}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\nScanner sc=new Scanner(System.in);\nint x=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"1\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"2\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"3\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"4\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"5\");\nreturn;\n}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\nScanner sc=new Scanner(System.in);\nint x=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"1\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"2\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"3\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"4\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"5\");\nreturn;\n}\n\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\nScanner sc=new Scanner(System.in);\nint x=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"1\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"2\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"3\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"4\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"5\");\nreturn;\n}\n\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x=sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x==0)\n{\nSystem.out.println(\"1\");\nreturn;\n}",
"x==0",
"x",
"0",
"{\nSystem.out.println(\"1\");\nreturn;\n}",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"return;",
"x=sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x==0)\n{\nSystem.out.println(\"2\");\nreturn;\n}",
"x==0",
"x",
"0",
"{\nSystem.out.println(\"2\");\nreturn;\n}",
"System.out.println(\"2\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"2\"",
"return;",
"x=sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x==0)\n{\nSystem.out.println(\"3\");\nreturn;\n}",
"x==0",
"x",
"0",
"{\nSystem.out.println(\"3\");\nreturn;\n}",
"System.out.println(\"3\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"3\"",
"return;",
"x=sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x==0)\n{\nSystem.out.println(\"4\");\nreturn;\n}",
"x==0",
"x",
"0",
"{\nSystem.out.println(\"4\");\nreturn;\n}",
"System.out.println(\"4\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"4\"",
"return;",
"x=sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x==0)\n{\nSystem.out.println(\"5\");\nreturn;\n}",
"x==0",
"x",
"0",
"{\nSystem.out.println(\"5\");\nreturn;\n}",
"System.out.println(\"5\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"5\"",
"return;",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\nScanner sc=new Scanner(System.in);\nint x=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"1\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"2\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"3\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"4\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"5\");\nreturn;\n}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\nScanner sc=new Scanner(System.in);\nint x=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"1\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"2\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"3\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"4\");\nreturn;\n}\nx=sc.nextInt();\nif(x==0)\n{\nSystem.out.println(\"5\");\nreturn;\n}\n\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc=new Scanner(System.in);
int x=sc.nextInt();
if(x==0)
{
System.out.println("1");
return;
}
x=sc.nextInt();
if(x==0)
{
System.out.println("2");
return;
}
x=sc.nextInt();
if(x==0)
{
System.out.println("3");
return;
}
x=sc.nextInt();
if(x==0)
{
System.out.println("4");
return;
}
x=sc.nextInt();
if(x==0)
{
System.out.println("5");
return;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
17,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
29,
33
],
[
28,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
6,
45
],
[
45,
46
]
]
| [
"import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n\tint ans = 0;\n Scanner scan = new Scanner(System.in);\n for(int i = 0;i < 5;i++){\n if(scan.nextInt() == 0)ans = i+1;\n }\n System.out.println(ans);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n\tint ans = 0;\n Scanner scan = new Scanner(System.in);\n for(int i = 0;i < 5;i++){\n if(scan.nextInt() == 0)ans = i+1;\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args){\n\tint ans = 0;\n Scanner scan = new Scanner(System.in);\n for(int i = 0;i < 5;i++){\n if(scan.nextInt() == 0)ans = i+1;\n }\n System.out.println(ans);\n }",
"main",
"{\n\tint ans = 0;\n Scanner scan = new Scanner(System.in);\n for(int i = 0;i < 5;i++){\n if(scan.nextInt() == 0)ans = i+1;\n }\n System.out.println(ans);\n }",
"int ans = 0;",
"ans",
"0",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(int i = 0;i < 5;i++){\n if(scan.nextInt() == 0)ans = i+1;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if(scan.nextInt() == 0)ans = i+1;\n }",
"{\n if(scan.nextInt() == 0)ans = i+1;\n }",
"if(scan.nextInt() == 0)ans = i+1;",
"scan.nextInt() == 0",
"scan.nextInt()",
"scan.nextInt",
"scan",
"0",
"ans = i+1",
"ans",
"i+1",
"i",
"1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
]
| import java.util.Scanner;
class Main{
public static void main(String[] args){
int ans = 0;
Scanner scan = new Scanner(System.in);
for(int i = 0;i < 5;i++){
if(scan.nextInt() == 0)ans = i+1;
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
13,
29,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
17,
19
],
[
12,
20
],
[
20,
21
],
[
21,
22
],
[
12,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
31,
32
],
[
26,
33
],
[
25,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
34,
41
],
[
6,
42
],
[
42,
43
]
]
| [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(int i=1; i<=5;i++) {\n\t\t\tif(Integer.parseInt(sc.next()) == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(int i=1; i<=5;i++) {\n\t\t\tif(Integer.parseInt(sc.next()) == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(int i=1; i<=5;i++) {\n\t\t\tif(Integer.parseInt(sc.next()) == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(int i=1; i<=5;i++) {\n\t\t\tif(Integer.parseInt(sc.next()) == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i=1; i<=5;i++) {\n\t\t\tif(Integer.parseInt(sc.next()) == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tif(Integer.parseInt(sc.next()) == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(Integer.parseInt(sc.next()) == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"if(Integer.parseInt(sc.next()) == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}",
"Integer.parseInt(sc.next()) == 0",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"0",
"{\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"return;",
"String[] args",
"args"
]
| import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
for(int i=1; i<=5;i++) {
if(Integer.parseInt(sc.next()) == 0) {
System.out.println(i);
return;
}
}
}
}
|
[
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,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
0,
13,
2,
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
],
[
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
],
[
39,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
11,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
9,
73
],
[
73,
74
]
]
| [
"import java.io.*;\nimport java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n Scanner f = new Scanner(System.in);\n int[] arr = new int[5];\n for(int i=0;i<5;i++){\n arr[i] = f.nextInt();\n }\n int ans = 0;\n for(int i=0;i<5;i++){\n if(arr[i] == 0){\n ans = i + 1;\n }\n }\n System.out.println(ans);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n Scanner f = new Scanner(System.in);\n int[] arr = new int[5];\n for(int i=0;i<5;i++){\n arr[i] = f.nextInt();\n }\n int ans = 0;\n for(int i=0;i<5;i++){\n if(arr[i] == 0){\n ans = i + 1;\n }\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner f = new Scanner(System.in);\n int[] arr = new int[5];\n for(int i=0;i<5;i++){\n arr[i] = f.nextInt();\n }\n int ans = 0;\n for(int i=0;i<5;i++){\n if(arr[i] == 0){\n ans = i + 1;\n }\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner f = new Scanner(System.in);\n int[] arr = new int[5];\n for(int i=0;i<5;i++){\n arr[i] = f.nextInt();\n }\n int ans = 0;\n for(int i=0;i<5;i++){\n if(arr[i] == 0){\n ans = i + 1;\n }\n }\n System.out.println(ans);\n }",
"Scanner f = new Scanner(System.in);",
"f",
"new Scanner(System.in)",
"int[] arr = new int[5];",
"arr",
"new int[5]",
"5",
"for(int i=0;i<5;i++){\n arr[i] = f.nextInt();\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n arr[i] = f.nextInt();\n }",
"{\n arr[i] = f.nextInt();\n }",
"arr[i] = f.nextInt()",
"arr[i]",
"arr",
"i",
"f.nextInt()",
"f.nextInt",
"f",
"int ans = 0;",
"ans",
"0",
"for(int i=0;i<5;i++){\n if(arr[i] == 0){\n ans = i + 1;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if(arr[i] == 0){\n ans = i + 1;\n }\n }",
"{\n if(arr[i] == 0){\n ans = i + 1;\n }\n }",
"if(arr[i] == 0){\n ans = i + 1;\n }",
"arr[i] == 0",
"arr[i]",
"arr",
"i",
"0",
"{\n ans = i + 1;\n }",
"ans = i + 1",
"ans",
"i + 1",
"i",
"1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
]
| import java.io.*;
import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner f = new Scanner(System.in);
int[] arr = new int[5];
for(int i=0;i<5;i++){
arr[i] = f.nextInt();
}
int ans = 0;
for(int i=0;i<5;i++){
if(arr[i] == 0){
ans = i + 1;
}
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
63,
5
],
[
63,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint [] X = new int [5] ;\n\t\tint ans = 0;\n\t\t\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tX[i] = sc.nextInt();\n\t\t\tif(X[i]==0) {\n\t\t\t\tans = i+1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t\t\n\t\tsc.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint [] X = new int [5] ;\n\t\tint ans = 0;\n\t\t\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tX[i] = sc.nextInt();\n\t\t\tif(X[i]==0) {\n\t\t\t\tans = i+1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t\t\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint [] X = new int [5] ;\n\t\tint ans = 0;\n\t\t\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tX[i] = sc.nextInt();\n\t\t\tif(X[i]==0) {\n\t\t\t\tans = i+1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t\t\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint [] X = new int [5] ;\n\t\tint ans = 0;\n\t\t\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tX[i] = sc.nextInt();\n\t\t\tif(X[i]==0) {\n\t\t\t\tans = i+1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t\t\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int [] X = new int [5] ;",
"X",
"new int [5]",
"5",
"int ans = 0;",
"ans",
"0",
"for(int i=0;i<5;i++) {\n\t\t\tX[i] = sc.nextInt();\n\t\t\tif(X[i]==0) {\n\t\t\t\tans = i+1;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tX[i] = sc.nextInt();\n\t\t\tif(X[i]==0) {\n\t\t\t\tans = i+1;\n\t\t\t}\n\t\t}",
"{\n\t\t\tX[i] = sc.nextInt();\n\t\t\tif(X[i]==0) {\n\t\t\t\tans = i+1;\n\t\t\t}\n\t\t}",
"X[i] = sc.nextInt()",
"X[i]",
"X",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(X[i]==0) {\n\t\t\t\tans = i+1;\n\t\t\t}",
"X[i]==0",
"X[i]",
"X",
"i",
"0",
"{\n\t\t\t\tans = i+1;\n\t\t\t}",
"ans = i+1",
"ans",
"i+1",
"i",
"1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint [] X = new int [5] ;\n\t\tint ans = 0;\n\t\t\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tX[i] = sc.nextInt();\n\t\t\tif(X[i]==0) {\n\t\t\t\tans = i+1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t\t\n\t\tsc.close();\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\t\n\t\tint [] X = new int [5] ;\n\t\tint ans = 0;\n\t\t\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tX[i] = sc.nextInt();\n\t\t\tif(X[i]==0) {\n\t\t\t\tans = i+1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t\t\n\t\tsc.close();\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int [] X = new int [5] ;
int ans = 0;
for(int i=0;i<5;i++) {
X[i] = sc.nextInt();
if(X[i]==0) {
ans = i+1;
}
}
System.out.println(ans);
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
4,
18,
13,
17,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
48,
5
],
[
48,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
39,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n List<String> xList = new ArrayList<String>();\n for (int i = 0 ; i < 5 ;i++) {\n xList.add(s.next());\n }\n System.out.println(xList.indexOf(\"0\") + 1);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n List<String> xList = new ArrayList<String>();\n for (int i = 0 ; i < 5 ;i++) {\n xList.add(s.next());\n }\n System.out.println(xList.indexOf(\"0\") + 1);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n List<String> xList = new ArrayList<String>();\n for (int i = 0 ; i < 5 ;i++) {\n xList.add(s.next());\n }\n System.out.println(xList.indexOf(\"0\") + 1);\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n List<String> xList = new ArrayList<String>();\n for (int i = 0 ; i < 5 ;i++) {\n xList.add(s.next());\n }\n System.out.println(xList.indexOf(\"0\") + 1);\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"List<String> xList = new ArrayList<String>();",
"xList",
"new ArrayList<String>()",
"for (int i = 0 ; i < 5 ;i++) {\n xList.add(s.next());\n }",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n xList.add(s.next());\n }",
"{\n xList.add(s.next());\n }",
"xList.add(s.next())",
"xList.add",
"xList",
"s.next()",
"s.next",
"s",
"System.out.println(xList.indexOf(\"0\") + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"xList.indexOf(\"0\") + 1",
"xList.indexOf(\"0\")",
"xList.indexOf",
"xList",
"\"0\"",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n List<String> xList = new ArrayList<String>();\n for (int i = 0 ; i < 5 ;i++) {\n xList.add(s.next());\n }\n System.out.println(xList.indexOf(\"0\") + 1);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n List<String> xList = new ArrayList<String>();\n for (int i = 0 ; i < 5 ;i++) {\n xList.add(s.next());\n }\n System.out.println(xList.indexOf(\"0\") + 1);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
List<String> xList = new ArrayList<String>();
for (int i = 0 ; i < 5 ;i++) {
xList.add(s.next());
}
System.out.println(xList.indexOf("0") + 1);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
4,
18,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
52,
5
],
[
52,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
14,
19
],
[
19,
20
],
[
19,
21
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
26,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
36,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
]
| [
"import java.util.*;\npublic class Main{\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);int j;\n for(int i=0;i<=4;i++){\n j =sc.nextInt();\n if(j==0){System.out.println(i+1);System.exit(0);}\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);int j;\n for(int i=0;i<=4;i++){\n j =sc.nextInt();\n if(j==0){System.out.println(i+1);System.exit(0);}\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc =new Scanner(System.in);int j;\n for(int i=0;i<=4;i++){\n j =sc.nextInt();\n if(j==0){System.out.println(i+1);System.exit(0);}\n }\n }",
"main",
"{\n Scanner sc =new Scanner(System.in);int j;\n for(int i=0;i<=4;i++){\n j =sc.nextInt();\n if(j==0){System.out.println(i+1);System.exit(0);}\n }\n }",
"Scanner sc =new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int j;",
"j",
"for(int i=0;i<=4;i++){\n j =sc.nextInt();\n if(j==0){System.out.println(i+1);System.exit(0);}\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<=4",
"i",
"4",
"i++",
"i++",
"i",
"{\n j =sc.nextInt();\n if(j==0){System.out.println(i+1);System.exit(0);}\n }",
"{\n j =sc.nextInt();\n if(j==0){System.out.println(i+1);System.exit(0);}\n }",
"j =sc.nextInt()",
"j",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(j==0){System.out.println(i+1);System.exit(0);}",
"j==0",
"j",
"0",
"{System.out.println(i+1);System.exit(0);}",
"System.out.println(i+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"System.exit(0)",
"System.exit",
"System",
"0",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);int j;\n for(int i=0;i<=4;i++){\n j =sc.nextInt();\n if(j==0){System.out.println(i+1);System.exit(0);}\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);int j;\n for(int i=0;i<=4;i++){\n j =sc.nextInt();\n if(j==0){System.out.println(i+1);System.exit(0);}\n }\n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc =new Scanner(System.in);int j;
for(int i=0;i<=4;i++){
j =sc.nextInt();
if(j==0){System.out.println(i+1);System.exit(0);}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
29,
2,
13,
17,
29,
17,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41,
13,
4,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
85,
5
],
[
85,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
9,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
16,
18
],
[
9,
19
],
[
19,
20
],
[
20,
21
],
[
9,
22
],
[
23,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
6,
37
],
[
37,
38
],
[
85,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
49,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
41,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
41,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
39,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static int print(int[] arr) {\n\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tif (arr[i] == 0) {\n\t\t\t\treturn i+1;\n\t\t\t}\n\t\t}\n\t\treturn 0;\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] arr = new int[5];\n\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tarr[i] = s.nextInt();\n\t\t}\n\n\t\tint result = print(arr);\n\t\tSystem.out.println(result);\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static int print(int[] arr) {\n\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tif (arr[i] == 0) {\n\t\t\t\treturn i+1;\n\t\t\t}\n\t\t}\n\t\treturn 0;\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] arr = new int[5];\n\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tarr[i] = s.nextInt();\n\t\t}\n\n\t\tint result = print(arr);\n\t\tSystem.out.println(result);\n\n\t}\n\n}",
"Main",
"public static int print(int[] arr) {\n\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tif (arr[i] == 0) {\n\t\t\t\treturn i+1;\n\t\t\t}\n\t\t}\n\t\treturn 0;\n\t}",
"print",
"{\n\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tif (arr[i] == 0) {\n\t\t\t\treturn i+1;\n\t\t\t}\n\t\t}\n\t\treturn 0;\n\t}",
"for (int i = 0; i < arr.length; i++) {\n\t\t\tif (arr[i] == 0) {\n\t\t\t\treturn i+1;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\n\t\t\tif (arr[i] == 0) {\n\t\t\t\treturn i+1;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (arr[i] == 0) {\n\t\t\t\treturn i+1;\n\t\t\t}\n\t\t}",
"if (arr[i] == 0) {\n\t\t\t\treturn i+1;\n\t\t\t}",
"arr[i] == 0",
"arr[i]",
"arr",
"i",
"0",
"{\n\t\t\t\treturn i+1;\n\t\t\t}",
"return i+1;",
"i+1",
"i",
"1",
"return 0;",
"0",
"int[] arr",
"arr",
"public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] arr = new int[5];\n\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tarr[i] = s.nextInt();\n\t\t}\n\n\t\tint result = print(arr);\n\t\tSystem.out.println(result);\n\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] arr = new int[5];\n\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tarr[i] = s.nextInt();\n\t\t}\n\n\t\tint result = print(arr);\n\t\tSystem.out.println(result);\n\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int[] arr = new int[5];",
"arr",
"new int[5]",
"5",
"for (int i = 0; i < arr.length; i++) {\n\t\t\tarr[i] = s.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\n\t\t\tarr[i] = s.nextInt();\n\t\t}",
"{\n\t\t\tarr[i] = s.nextInt();\n\t\t}",
"arr[i] = s.nextInt()",
"arr[i]",
"arr",
"i",
"s.nextInt()",
"s.nextInt",
"s",
"int result = print(arr);",
"result",
"print(arr)",
"print",
"arr",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n\tpublic static int print(int[] arr) {\n\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tif (arr[i] == 0) {\n\t\t\t\treturn i+1;\n\t\t\t}\n\t\t}\n\t\treturn 0;\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] arr = new int[5];\n\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tarr[i] = s.nextInt();\n\t\t}\n\n\t\tint result = print(arr);\n\t\tSystem.out.println(result);\n\n\t}\n\n}",
"public class Main {\n\tpublic static int print(int[] arr) {\n\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tif (arr[i] == 0) {\n\t\t\t\treturn i+1;\n\t\t\t}\n\t\t}\n\t\treturn 0;\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] arr = new int[5];\n\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tarr[i] = s.nextInt();\n\t\t}\n\n\t\tint result = print(arr);\n\t\tSystem.out.println(result);\n\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static int print(int[] arr) {
for (int i = 0; i < arr.length; i++) {
if (arr[i] == 0) {
return i+1;
}
}
return 0;
}
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int[] arr = new int[5];
for (int i = 0; i < arr.length; i++) {
arr[i] = s.nextInt();
}
int result = print(arr);
System.out.println(result);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
4,
18,
18,
13,
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
],
[
60,
11
],
[
60,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
14,
40
],
[
40,
41
],
[
41,
42
],
[
14,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
14,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
12,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
]
| [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tList<String> list = new ArrayList<>();\n\t\t\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\t\n\t\t\tlist.add(scanner.next());\n\t\t}\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tint result = list.indexOf(\"0\");\n\t\t\n\t\t\t\n\t\tSystem.out.println(result + 1);\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tList<String> list = new ArrayList<>();\n\t\t\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\t\n\t\t\tlist.add(scanner.next());\n\t\t}\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tint result = list.indexOf(\"0\");\n\t\t\n\t\t\t\n\t\tSystem.out.println(result + 1);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tList<String> list = new ArrayList<>();\n\t\t\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\t\n\t\t\tlist.add(scanner.next());\n\t\t}\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tint result = list.indexOf(\"0\");\n\t\t\n\t\t\t\n\t\tSystem.out.println(result + 1);\n\t}",
"main",
"{\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tList<String> list = new ArrayList<>();\n\t\t\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\t\n\t\t\tlist.add(scanner.next());\n\t\t}\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tint result = list.indexOf(\"0\");\n\t\t\n\t\t\t\n\t\tSystem.out.println(result + 1);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"List<String> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"for (int i = 0; i < 5; i++) {\n\t\t\t\n\t\t\tlist.add(scanner.next());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\t\n\t\t\tlist.add(scanner.next());\n\t\t}",
"{\n\t\t\t\n\t\t\tlist.add(scanner.next());\n\t\t}",
"list.add(scanner.next())",
"list.add",
"list",
"scanner.next()",
"scanner.next",
"scanner",
"scanner.close()",
"scanner.close",
"scanner",
"int result = list.indexOf(\"0\");",
"result",
"list.indexOf(\"0\")",
"list.indexOf",
"list",
"\"0\"",
"System.out.println(result + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"result + 1",
"result",
"1",
"String[] args",
"args",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tList<String> list = new ArrayList<>();\n\t\t\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\t\n\t\t\tlist.add(scanner.next());\n\t\t}\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tint result = list.indexOf(\"0\");\n\t\t\n\t\t\t\n\t\tSystem.out.println(result + 1);\n\t}\n\n}",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tList<String> list = new ArrayList<>();\n\t\t\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\t\n\t\t\tlist.add(scanner.next());\n\t\t}\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tint result = list.indexOf(\"0\");\n\t\t\n\t\t\t\n\t\tSystem.out.println(result + 1);\n\t}\n\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
List<String> list = new ArrayList<>();
for (int i = 0; i < 5; i++) {
list.add(scanner.next());
}
scanner.close();
int result = list.indexOf("0");
System.out.println(result + 1);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
13,
3,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
42,
5
],
[
42,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
17,
19
],
[
12,
20
],
[
20,
21
],
[
21,
22
],
[
12,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
31,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n for (int i=1; i <= 5; i++){\n if (scan.nextInt() != i){\n System.out.println(i);\n break;\n }\n }\n\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n for (int i=1; i <= 5; i++){\n if (scan.nextInt() != i){\n System.out.println(i);\n break;\n }\n }\n\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n for (int i=1; i <= 5; i++){\n if (scan.nextInt() != i){\n System.out.println(i);\n break;\n }\n }\n\n\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n for (int i=1; i <= 5; i++){\n if (scan.nextInt() != i){\n System.out.println(i);\n break;\n }\n }\n\n\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for (int i=1; i <= 5; i++){\n if (scan.nextInt() != i){\n System.out.println(i);\n break;\n }\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i <= 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if (scan.nextInt() != i){\n System.out.println(i);\n break;\n }\n }",
"{\n if (scan.nextInt() != i){\n System.out.println(i);\n break;\n }\n }",
"if (scan.nextInt() != i){\n System.out.println(i);\n break;\n }",
"scan.nextInt() != i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"i",
"{\n System.out.println(i);\n break;\n }",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"break;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n for (int i=1; i <= 5; i++){\n if (scan.nextInt() != i){\n System.out.println(i);\n break;\n }\n }\n\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n for (int i=1; i <= 5; i++){\n if (scan.nextInt() != i){\n System.out.println(i);\n break;\n }\n }\n\n\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
for (int i=1; i <= 5; i++){
if (scan.nextInt() != i){
System.out.println(i);
break;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
2,
4,
18,
4,
18,
13,
13,
17,
17,
29,
23,
13,
6,
13,
41,
13,
2,
17,
17,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
13,
0,
13,
0,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
20,
13,
0,
13,
0,
13,
17,
23,
13,
12,
13,
30,
14,
2,
13,
13,
4,
13,
29,
18,
13,
40,
13,
12,
13,
30,
14,
2,
13,
17,
29,
4,
18,
13,
12,
13,
30,
0,
13,
4,
18,
13,
13,
0,
13,
17,
13,
14,
2,
13,
40,
17,
0,
18,
13,
17,
40,
17,
12,
13,
30,
41,
13,
4,
13,
42,
4,
18,
13,
13,
30,
0,
13,
4,
13,
29,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
18,
13,
13,
30,
0,
13,
4,
13,
41,
13,
20,
4,
18,
13,
13,
0,
13,
4,
13,
42,
40,
4,
18,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
2,
13,
17,
30,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
0,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
523,
8
],
[
523,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
11,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
30,
36
],
[
29,
37
],
[
11,
38
],
[
9,
39
],
[
39,
40
],
[
523,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
41,
48
],
[
48,
49
],
[
41,
50
],
[
50,
51
],
[
41,
52
],
[
52,
53
],
[
41,
54
],
[
54,
55
],
[
41,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
62,
64
],
[
58,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
68,
70
],
[
41,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
73,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
71,
86
],
[
86,
87
],
[
41,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
90,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
41,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
104,
110
],
[
110,
111
],
[
111,
112
],
[
41,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
118,
122
],
[
122,
123
],
[
122,
124
],
[
118,
125
],
[
115,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
126,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
135,
136
],
[
41,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
139,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
145,
148
],
[
144,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
139,
154
],
[
154,
155
],
[
41,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
158,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
164,
167
],
[
163,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
158,
173
],
[
173,
174
],
[
173,
175
],
[
158,
176
],
[
176,
177
],
[
177,
178
],
[
176,
179
],
[
158,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
158,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
186,
189
],
[
184,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
191,
194
],
[
190,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
158,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
41,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
205,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
213,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
205,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
223,
225
],
[
205,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
205,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
234,
239
],
[
233,
240
],
[
240,
241
],
[
240,
242
],
[
232,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
247,
251
],
[
246,
252
],
[
205,
253
],
[
253,
254
],
[
253,
255
],
[
255,
256
],
[
256,
257
],
[
205,
258
],
[
258,
259
],
[
41,
260
],
[
260,
261
],
[
260,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
262,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
262,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
270,
274
],
[
274,
275
],
[
274,
276
],
[
276,
277
],
[
262,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
280,
282
],
[
262,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
262,
289
],
[
289,
290
],
[
290,
291
],
[
291,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
291,
296
],
[
290,
297
],
[
297,
298
],
[
297,
299
],
[
289,
300
],
[
300,
301
],
[
301,
302
],
[
301,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
304,
308
],
[
303,
309
],
[
262,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
313,
314
],
[
262,
315
],
[
315,
316
],
[
41,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
319,
323
],
[
323,
324
],
[
323,
325
],
[
319,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
319,
330
],
[
330,
331
],
[
331,
332
],
[
331,
333
],
[
330,
334
],
[
334,
335
],
[
334,
336
],
[
336,
337
],
[
319,
338
],
[
338,
339
],
[
338,
340
],
[
340,
341
],
[
340,
342
],
[
319,
343
],
[
343,
344
],
[
343,
345
],
[
345,
346
],
[
345,
347
],
[
347,
348
],
[
319,
349
],
[
349,
350
],
[
350,
351
],
[
351,
352
],
[
352,
353
],
[
352,
354
],
[
354,
355
],
[
351,
356
],
[
350,
357
],
[
357,
358
],
[
357,
359
],
[
349,
360
],
[
360,
361
],
[
361,
362
],
[
361,
363
],
[
363,
364
],
[
364,
365
],
[
365,
366
],
[
365,
367
],
[
364,
368
],
[
363,
369
],
[
319,
370
],
[
370,
371
],
[
371,
372
],
[
371,
373
],
[
370,
374
],
[
374,
375
],
[
375,
376
],
[
376,
377
],
[
377,
378
],
[
378,
379
],
[
378,
380
],
[
380,
381
],
[
377,
382
],
[
376,
383
],
[
383,
384
],
[
383,
385
],
[
375,
386
],
[
386,
387
],
[
387,
388
],
[
387,
389
],
[
389,
390
],
[
390,
391
],
[
390,
392
],
[
389,
393
],
[
393,
394
],
[
393,
395
],
[
319,
396
],
[
396,
397
],
[
396,
398
],
[
398,
399
],
[
399,
400
],
[
319,
401
],
[
401,
402
],
[
41,
403
],
[
403,
404
],
[
403,
405
],
[
405,
406
],
[
406,
407
],
[
406,
408
],
[
405,
410
],
[
410,
411
],
[
411,
412
],
[
412,
413
],
[
412,
414
],
[
410,
415
],
[
415,
416
],
[
415,
417
],
[
410,
418
],
[
418,
419
],
[
419,
420
],
[
410,
421
],
[
422,
422
],
[
422,
423
],
[
423,
424
],
[
424,
425
],
[
424,
426
],
[
423,
427
],
[
427,
428
],
[
405,
429
],
[
429,
430
],
[
403,
431
],
[
431,
432
],
[
41,
433
],
[
433,
434
],
[
433,
435
],
[
435,
436
],
[
436,
437
],
[
436,
438
],
[
435,
440
],
[
440,
441
],
[
441,
442
],
[
442,
443
],
[
442,
444
],
[
440,
445
],
[
445,
446
],
[
445,
447
],
[
440,
448
],
[
448,
449
],
[
449,
450
],
[
440,
451
],
[
452,
452
],
[
452,
453
],
[
453,
454
],
[
454,
455
],
[
454,
456
],
[
453,
457
],
[
457,
458
],
[
435,
459
],
[
459,
460
],
[
433,
461
],
[
461,
462
],
[
41,
463
],
[
463,
464
],
[
463,
465
],
[
465,
466
],
[
466,
467
],
[
466,
468
],
[
465,
470
],
[
470,
471
],
[
471,
472
],
[
472,
473
],
[
472,
474
],
[
470,
475
],
[
475,
476
],
[
475,
477
],
[
470,
478
],
[
478,
479
],
[
479,
480
],
[
470,
481
],
[
482,
482
],
[
482,
483
],
[
483,
484
],
[
484,
485
],
[
484,
486
],
[
483,
487
],
[
487,
488
],
[
465,
489
],
[
489,
490
],
[
463,
491
],
[
491,
492
],
[
41,
493
],
[
493,
494
],
[
493,
495
],
[
495,
496
],
[
496,
497
],
[
496,
498
],
[
495,
500
],
[
500,
501
],
[
501,
502
],
[
502,
503
],
[
502,
504
],
[
500,
505
],
[
505,
506
],
[
505,
507
],
[
500,
508
],
[
508,
509
],
[
509,
510
],
[
500,
511
],
[
511,
512
],
[
512,
513
],
[
513,
514
],
[
513,
515
],
[
512,
516
],
[
516,
517
],
[
495,
518
],
[
518,
519
],
[
493,
520
],
[
520,
521
],
[
0,
522
],
[
522,
523
],
[
522,
524
]
]
| [
"import java.io.*;\n// import java.math.*;\nimport java.util.*;\n// import java.util.Map.*;\n// import java.util.stream.*;\n\npublic class Main {\n public static void main (String[] args) throws IOException {\n FastScanner sc = new FastScanner();\n final int N = 5;\n Integer[] x = sc.IntArray (N);\n System.out.println (Arrays.asList (x).indexOf (0) + 1);\n return;\n }\n\n // FastScanner start\n static class FastScanner {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public FastScanner() {\n din = new DataInputStream (System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public FastScanner (String file_name) throws IOException {\n din = new DataInputStream (new FileInputStream (file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n private byte read() throws IOException {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException {\n if (din == null)\n return;\n din.close();\n }\n\n private void fillBuffer() throws IOException {\n bytesRead = din.read (buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n public char nextChar() throws IOException {\n byte c = read();\n while (Character.isWhitespace (c)) {\n c = read();\n }\n return (char)c;\n }\n\n public String nextString() throws IOException {\n byte c = read();\n while (Character.isWhitespace (c)) {\n c = read();\n }\n StringBuilder builder = new StringBuilder();\n builder.append ((char)c);\n c = read();\n while (!Character.isWhitespace (c)) {\n builder.append ((char)c);\n c = read();\n }\n return builder.toString();\n }\n\n public int nextInt() throws IOException {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (c == '.') {\n while ((c = read()) >= '0' && c <= '9') {\n ret += (c - '0') / (div *= 10);\n }\n }\n if (neg)\n return -ret;\n return ret;\n }\n\n public Integer[] IntArray (int n) throws IOException {\n Integer arr[] = new Integer[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }\n\n public int[] intArray (int n) throws IOException {\n int arr[] = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }\n\n public long[] longArray (int n) throws IOException {\n long arr[] = new long[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextLong();\n }\n return arr;\n }\n\n public double[] doubleArray (int n) throws IOException {\n double arr[] = new double[n];\n for (int i = 0; i < n; i++)\n arr[i] = nextDouble();\n return arr;\n }\n }\n // FastScanner end\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main (String[] args) throws IOException {\n FastScanner sc = new FastScanner();\n final int N = 5;\n Integer[] x = sc.IntArray (N);\n System.out.println (Arrays.asList (x).indexOf (0) + 1);\n return;\n }\n\n // FastScanner start\n static class FastScanner {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public FastScanner() {\n din = new DataInputStream (System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public FastScanner (String file_name) throws IOException {\n din = new DataInputStream (new FileInputStream (file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n private byte read() throws IOException {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException {\n if (din == null)\n return;\n din.close();\n }\n\n private void fillBuffer() throws IOException {\n bytesRead = din.read (buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n public char nextChar() throws IOException {\n byte c = read();\n while (Character.isWhitespace (c)) {\n c = read();\n }\n return (char)c;\n }\n\n public String nextString() throws IOException {\n byte c = read();\n while (Character.isWhitespace (c)) {\n c = read();\n }\n StringBuilder builder = new StringBuilder();\n builder.append ((char)c);\n c = read();\n while (!Character.isWhitespace (c)) {\n builder.append ((char)c);\n c = read();\n }\n return builder.toString();\n }\n\n public int nextInt() throws IOException {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (c == '.') {\n while ((c = read()) >= '0' && c <= '9') {\n ret += (c - '0') / (div *= 10);\n }\n }\n if (neg)\n return -ret;\n return ret;\n }\n\n public Integer[] IntArray (int n) throws IOException {\n Integer arr[] = new Integer[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }\n\n public int[] intArray (int n) throws IOException {\n int arr[] = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }\n\n public long[] longArray (int n) throws IOException {\n long arr[] = new long[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextLong();\n }\n return arr;\n }\n\n public double[] doubleArray (int n) throws IOException {\n double arr[] = new double[n];\n for (int i = 0; i < n; i++)\n arr[i] = nextDouble();\n return arr;\n }\n }\n // FastScanner end\n}",
"Main",
"public static void main (String[] args) throws IOException {\n FastScanner sc = new FastScanner();\n final int N = 5;\n Integer[] x = sc.IntArray (N);\n System.out.println (Arrays.asList (x).indexOf (0) + 1);\n return;\n }",
"main",
"{\n FastScanner sc = new FastScanner();\n final int N = 5;\n Integer[] x = sc.IntArray (N);\n System.out.println (Arrays.asList (x).indexOf (0) + 1);\n return;\n }",
"FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"final int N = 5;",
"N",
"5",
"Integer[] x = sc.IntArray (N);",
"x",
"sc.IntArray (N)",
"sc.IntArray",
"sc",
"N",
"System.out.println (Arrays.asList (x).indexOf (0) + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.asList (x).indexOf (0) + 1",
"Arrays.asList (x).indexOf (0)",
"Arrays.asList (x).indexOf",
"Arrays.asList (x)",
"Arrays.asList",
"Arrays",
"x",
"0",
"1",
"return;",
"String[] args",
"args",
"static class FastScanner {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public FastScanner() {\n din = new DataInputStream (System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public FastScanner (String file_name) throws IOException {\n din = new DataInputStream (new FileInputStream (file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n private byte read() throws IOException {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException {\n if (din == null)\n return;\n din.close();\n }\n\n private void fillBuffer() throws IOException {\n bytesRead = din.read (buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n public char nextChar() throws IOException {\n byte c = read();\n while (Character.isWhitespace (c)) {\n c = read();\n }\n return (char)c;\n }\n\n public String nextString() throws IOException {\n byte c = read();\n while (Character.isWhitespace (c)) {\n c = read();\n }\n StringBuilder builder = new StringBuilder();\n builder.append ((char)c);\n c = read();\n while (!Character.isWhitespace (c)) {\n builder.append ((char)c);\n c = read();\n }\n return builder.toString();\n }\n\n public int nextInt() throws IOException {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (c == '.') {\n while ((c = read()) >= '0' && c <= '9') {\n ret += (c - '0') / (div *= 10);\n }\n }\n if (neg)\n return -ret;\n return ret;\n }\n\n public Integer[] IntArray (int n) throws IOException {\n Integer arr[] = new Integer[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }\n\n public int[] intArray (int n) throws IOException {\n int arr[] = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }\n\n public long[] longArray (int n) throws IOException {\n long arr[] = new long[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextLong();\n }\n return arr;\n }\n\n public double[] doubleArray (int n) throws IOException {\n double arr[] = new double[n];\n for (int i = 0; i < n; i++)\n arr[i] = nextDouble();\n return arr;\n }\n }",
"FastScanner",
"final private int BUFFER_SIZE = 1 << 16;",
"BUFFER_SIZE",
"1 << 16",
"1",
"16",
"private DataInputStream din;",
"din",
"private byte[] buffer;",
"buffer",
"private int bufferPointer",
"bufferPointer",
"bytesRead;",
"bytesRead",
"public FastScanner() {\n din = new DataInputStream (System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }",
"FastScanner",
"{\n din = new DataInputStream (System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }",
"din = new DataInputStream (System.in)",
"din",
"new DataInputStream (System.in)",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"public FastScanner (String file_name) throws IOException {\n din = new DataInputStream (new FileInputStream (file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }",
"FastScanner",
"{\n din = new DataInputStream (new FileInputStream (file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }",
"din = new DataInputStream (new FileInputStream (file_name))",
"din",
"new DataInputStream (new FileInputStream (file_name))",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"String file_name",
"file_name",
"private byte read() throws IOException {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }",
"read",
"{\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }",
"if (bufferPointer == bytesRead)\n fillBuffer();",
"bufferPointer == bytesRead",
"bufferPointer",
"bytesRead",
"fillBuffer()",
"fillBuffer",
"return buffer[bufferPointer++];",
"buffer[bufferPointer++]",
"buffer",
"bufferPointer++",
"bufferPointer",
"public void close() throws IOException {\n if (din == null)\n return;\n din.close();\n }",
"close",
"{\n if (din == null)\n return;\n din.close();\n }",
"if (din == null)\n return;",
"din == null",
"din",
"null",
"return;",
"din.close()",
"din.close",
"din",
"private void fillBuffer() throws IOException {\n bytesRead = din.read (buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }",
"fillBuffer",
"{\n bytesRead = din.read (buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }",
"bytesRead = din.read (buffer, bufferPointer = 0, BUFFER_SIZE)",
"bytesRead",
"din.read (buffer, bufferPointer = 0, BUFFER_SIZE)",
"din.read",
"din",
"buffer",
"bufferPointer = 0",
"bufferPointer",
"0",
"BUFFER_SIZE",
"if (bytesRead == -1)\n buffer[0] = -1;",
"bytesRead == -1",
"bytesRead",
"-1",
"1",
"buffer[0] = -1",
"buffer[0]",
"buffer",
"0",
"-1",
"1",
"public char nextChar() throws IOException {\n byte c = read();\n while (Character.isWhitespace (c)) {\n c = read();\n }\n return (char)c;\n }",
"nextChar",
"{\n byte c = read();\n while (Character.isWhitespace (c)) {\n c = read();\n }\n return (char)c;\n }",
"byte c = read();",
"c",
"read()",
"read",
"while (Character.isWhitespace (c)) {\n c = read();\n }",
"Character.isWhitespace (c)",
"Character.isWhitespace",
"Character",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"return (char)c;",
"(char)c",
"public String nextString() throws IOException {\n byte c = read();\n while (Character.isWhitespace (c)) {\n c = read();\n }\n StringBuilder builder = new StringBuilder();\n builder.append ((char)c);\n c = read();\n while (!Character.isWhitespace (c)) {\n builder.append ((char)c);\n c = read();\n }\n return builder.toString();\n }",
"nextString",
"{\n byte c = read();\n while (Character.isWhitespace (c)) {\n c = read();\n }\n StringBuilder builder = new StringBuilder();\n builder.append ((char)c);\n c = read();\n while (!Character.isWhitespace (c)) {\n builder.append ((char)c);\n c = read();\n }\n return builder.toString();\n }",
"byte c = read();",
"c",
"read()",
"read",
"while (Character.isWhitespace (c)) {\n c = read();\n }",
"Character.isWhitespace (c)",
"Character.isWhitespace",
"Character",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"builder.append ((char)c)",
"builder.append",
"builder",
"(char)c",
"c = read()",
"c",
"read()",
"read",
"while (!Character.isWhitespace (c)) {\n builder.append ((char)c);\n c = read();\n }",
"!Character.isWhitespace (c)",
"Character.isWhitespace (c)",
"Character.isWhitespace",
"Character",
"c",
"{\n builder.append ((char)c);\n c = read();\n }",
"builder.append ((char)c)",
"builder.append",
"builder",
"(char)c",
"c = read()",
"c",
"read()",
"read",
"return builder.toString();",
"builder.toString()",
"builder.toString",
"builder",
"public int nextInt() throws IOException {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }",
"nextInt",
"{\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }",
"int ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ')\n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg)\n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{\n ret = ret * 10 + c - '0';\n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg)\n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public long nextLong() throws IOException {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }",
"nextLong",
"{\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }",
"long ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ')\n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg)\n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{\n ret = ret * 10 + c - '0';\n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg)\n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public double nextDouble() throws IOException {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (c == '.') {\n while ((c = read()) >= '0' && c <= '9') {\n ret += (c - '0') / (div *= 10);\n }\n }\n if (neg)\n return -ret;\n return ret;\n }",
"nextDouble",
"{\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (c == '.') {\n while ((c = read()) >= '0' && c <= '9') {\n ret += (c - '0') / (div *= 10);\n }\n }\n if (neg)\n return -ret;\n return ret;\n }",
"double ret = 0",
"ret",
"0",
"div = 1;",
"div",
"1",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ')\n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg)\n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{\n ret = ret * 10 + c - '0';\n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (c == '.') {\n while ((c = read()) >= '0' && c <= '9') {\n ret += (c - '0') / (div *= 10);\n }\n }",
"c == '.'",
"c",
"'.'",
"{\n while ((c = read()) >= '0' && c <= '9') {\n ret += (c - '0') / (div *= 10);\n }\n }",
"while ((c = read()) >= '0' && c <= '9') {\n ret += (c - '0') / (div *= 10);\n }",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{\n ret += (c - '0') / (div *= 10);\n }",
"ret += (c - '0') / (div *= 10)",
"ret",
"(c - '0') / (div *= 10)",
"(c - '0')",
"c",
"'0'",
"(div *= 10)",
"div",
"10",
"if (neg)\n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public Integer[] IntArray (int n) throws IOException {\n Integer arr[] = new Integer[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }",
"IntArray",
"{\n Integer arr[] = new Integer[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }",
"Integer arr[] = new Integer[n];",
"arr",
"new Integer[n]",
"n",
"for (int i = 0; i < n; i++) {\n arr[i] = nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n arr[i] = nextInt();\n }",
"{\n arr[i] = nextInt();\n }",
"arr[i] = nextInt()",
"arr[i]",
"arr",
"i",
"nextInt()",
"nextInt",
"return arr;",
"arr",
"int n",
"n",
"public int[] intArray (int n) throws IOException {\n int arr[] = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }",
"intArray",
"{\n int arr[] = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }",
"int arr[] = new int[n];",
"arr",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n arr[i] = nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n arr[i] = nextInt();\n }",
"{\n arr[i] = nextInt();\n }",
"arr[i] = nextInt()",
"arr[i]",
"arr",
"i",
"nextInt()",
"nextInt",
"return arr;",
"arr",
"int n",
"n",
"public long[] longArray (int n) throws IOException {\n long arr[] = new long[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextLong();\n }\n return arr;\n }",
"longArray",
"{\n long arr[] = new long[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextLong();\n }\n return arr;\n }",
"long arr[] = new long[n];",
"arr",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n arr[i] = nextLong();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n arr[i] = nextLong();\n }",
"{\n arr[i] = nextLong();\n }",
"arr[i] = nextLong()",
"arr[i]",
"arr",
"i",
"nextLong()",
"nextLong",
"return arr;",
"arr",
"int n",
"n",
"public double[] doubleArray (int n) throws IOException {\n double arr[] = new double[n];\n for (int i = 0; i < n; i++)\n arr[i] = nextDouble();\n return arr;\n }",
"doubleArray",
"{\n double arr[] = new double[n];\n for (int i = 0; i < n; i++)\n arr[i] = nextDouble();\n return arr;\n }",
"double arr[] = new double[n];",
"arr",
"new double[n]",
"n",
"for (int i = 0; i < n; i++)\n arr[i] = nextDouble();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"arr[i] = nextDouble();",
"arr[i] = nextDouble()",
"arr[i]",
"arr",
"i",
"nextDouble()",
"nextDouble",
"return arr;",
"arr",
"int n",
"n",
"public class Main {\n public static void main (String[] args) throws IOException {\n FastScanner sc = new FastScanner();\n final int N = 5;\n Integer[] x = sc.IntArray (N);\n System.out.println (Arrays.asList (x).indexOf (0) + 1);\n return;\n }\n\n // FastScanner start\n static class FastScanner {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public FastScanner() {\n din = new DataInputStream (System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public FastScanner (String file_name) throws IOException {\n din = new DataInputStream (new FileInputStream (file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n private byte read() throws IOException {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException {\n if (din == null)\n return;\n din.close();\n }\n\n private void fillBuffer() throws IOException {\n bytesRead = din.read (buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n public char nextChar() throws IOException {\n byte c = read();\n while (Character.isWhitespace (c)) {\n c = read();\n }\n return (char)c;\n }\n\n public String nextString() throws IOException {\n byte c = read();\n while (Character.isWhitespace (c)) {\n c = read();\n }\n StringBuilder builder = new StringBuilder();\n builder.append ((char)c);\n c = read();\n while (!Character.isWhitespace (c)) {\n builder.append ((char)c);\n c = read();\n }\n return builder.toString();\n }\n\n public int nextInt() throws IOException {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (c == '.') {\n while ((c = read()) >= '0' && c <= '9') {\n ret += (c - '0') / (div *= 10);\n }\n }\n if (neg)\n return -ret;\n return ret;\n }\n\n public Integer[] IntArray (int n) throws IOException {\n Integer arr[] = new Integer[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }\n\n public int[] intArray (int n) throws IOException {\n int arr[] = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }\n\n public long[] longArray (int n) throws IOException {\n long arr[] = new long[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextLong();\n }\n return arr;\n }\n\n public double[] doubleArray (int n) throws IOException {\n double arr[] = new double[n];\n for (int i = 0; i < n; i++)\n arr[i] = nextDouble();\n return arr;\n }\n }\n // FastScanner end\n}",
"public class Main {\n public static void main (String[] args) throws IOException {\n FastScanner sc = new FastScanner();\n final int N = 5;\n Integer[] x = sc.IntArray (N);\n System.out.println (Arrays.asList (x).indexOf (0) + 1);\n return;\n }\n\n // FastScanner start\n static class FastScanner {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public FastScanner() {\n din = new DataInputStream (System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public FastScanner (String file_name) throws IOException {\n din = new DataInputStream (new FileInputStream (file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n private byte read() throws IOException {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException {\n if (din == null)\n return;\n din.close();\n }\n\n private void fillBuffer() throws IOException {\n bytesRead = din.read (buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n public char nextChar() throws IOException {\n byte c = read();\n while (Character.isWhitespace (c)) {\n c = read();\n }\n return (char)c;\n }\n\n public String nextString() throws IOException {\n byte c = read();\n while (Character.isWhitespace (c)) {\n c = read();\n }\n StringBuilder builder = new StringBuilder();\n builder.append ((char)c);\n c = read();\n while (!Character.isWhitespace (c)) {\n builder.append ((char)c);\n c = read();\n }\n return builder.toString();\n }\n\n public int nextInt() throws IOException {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (c == '.') {\n while ((c = read()) >= '0' && c <= '9') {\n ret += (c - '0') / (div *= 10);\n }\n }\n if (neg)\n return -ret;\n return ret;\n }\n\n public Integer[] IntArray (int n) throws IOException {\n Integer arr[] = new Integer[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }\n\n public int[] intArray (int n) throws IOException {\n int arr[] = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }\n\n public long[] longArray (int n) throws IOException {\n long arr[] = new long[n];\n for (int i = 0; i < n; i++) {\n arr[i] = nextLong();\n }\n return arr;\n }\n\n public double[] doubleArray (int n) throws IOException {\n double arr[] = new double[n];\n for (int i = 0; i < n; i++)\n arr[i] = nextDouble();\n return arr;\n }\n }\n // FastScanner end\n}",
"Main"
]
| import java.io.*;
// import java.math.*;
import java.util.*;
// import java.util.Map.*;
// import java.util.stream.*;
public class Main {
public static void main (String[] args) throws IOException {
FastScanner sc = new FastScanner();
final int N = 5;
Integer[] x = sc.IntArray (N);
System.out.println (Arrays.asList (x).indexOf (0) + 1);
return;
}
// FastScanner start
static class FastScanner {
final private int BUFFER_SIZE = 1 << 16;
private DataInputStream din;
private byte[] buffer;
private int bufferPointer, bytesRead;
public FastScanner() {
din = new DataInputStream (System.in);
buffer = new byte[BUFFER_SIZE];
bufferPointer = bytesRead = 0;
}
public FastScanner (String file_name) throws IOException {
din = new DataInputStream (new FileInputStream (file_name));
buffer = new byte[BUFFER_SIZE];
bufferPointer = bytesRead = 0;
}
private byte read() throws IOException {
if (bufferPointer == bytesRead)
fillBuffer();
return buffer[bufferPointer++];
}
public void close() throws IOException {
if (din == null)
return;
din.close();
}
private void fillBuffer() throws IOException {
bytesRead = din.read (buffer, bufferPointer = 0, BUFFER_SIZE);
if (bytesRead == -1)
buffer[0] = -1;
}
public char nextChar() throws IOException {
byte c = read();
while (Character.isWhitespace (c)) {
c = read();
}
return (char)c;
}
public String nextString() throws IOException {
byte c = read();
while (Character.isWhitespace (c)) {
c = read();
}
StringBuilder builder = new StringBuilder();
builder.append ((char)c);
c = read();
while (!Character.isWhitespace (c)) {
builder.append ((char)c);
c = read();
}
return builder.toString();
}
public int nextInt() throws IOException {
int ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
} while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public long nextLong() throws IOException {
long ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
} while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public double nextDouble() throws IOException {
double ret = 0, div = 1;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
} while ((c = read()) >= '0' && c <= '9');
if (c == '.') {
while ((c = read()) >= '0' && c <= '9') {
ret += (c - '0') / (div *= 10);
}
}
if (neg)
return -ret;
return ret;
}
public Integer[] IntArray (int n) throws IOException {
Integer arr[] = new Integer[n];
for (int i = 0; i < n; i++) {
arr[i] = nextInt();
}
return arr;
}
public int[] intArray (int n) throws IOException {
int arr[] = new int[n];
for (int i = 0; i < n; i++) {
arr[i] = nextInt();
}
return arr;
}
public long[] longArray (int n) throws IOException {
long arr[] = new long[n];
for (int i = 0; i < n; i++) {
arr[i] = nextLong();
}
return arr;
}
public double[] doubleArray (int n) throws IOException {
double arr[] = new double[n];
for (int i = 0; i < n; i++)
arr[i] = nextDouble();
return arr;
}
}
// FastScanner end
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
0,
13,
2,
13,
17,
3,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
77,
5
],
[
77,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
8,
39
],
[
39,
40
],
[
39,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
61,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
6,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] nums = new int[5];\n\n\t\tfor (int i=0; i<5; i++) {\n\t\t\tint c = sc.nextInt();\n\t\t\tnums[i] = c;\n\t\t}\n\n\n\t\tint index=1;\n\t\tfor (int i=0; i<5; i++) {\n\t\t\tif (nums[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(index);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] nums = new int[5];\n\n\t\tfor (int i=0; i<5; i++) {\n\t\t\tint c = sc.nextInt();\n\t\t\tnums[i] = c;\n\t\t}\n\n\n\t\tint index=1;\n\t\tfor (int i=0; i<5; i++) {\n\t\t\tif (nums[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(index);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] nums = new int[5];\n\n\t\tfor (int i=0; i<5; i++) {\n\t\t\tint c = sc.nextInt();\n\t\t\tnums[i] = c;\n\t\t}\n\n\n\t\tint index=1;\n\t\tfor (int i=0; i<5; i++) {\n\t\t\tif (nums[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(index);\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] nums = new int[5];\n\n\t\tfor (int i=0; i<5; i++) {\n\t\t\tint c = sc.nextInt();\n\t\t\tnums[i] = c;\n\t\t}\n\n\n\t\tint index=1;\n\t\tfor (int i=0; i<5; i++) {\n\t\t\tif (nums[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(index);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] nums = new int[5];",
"nums",
"new int[5]",
"5",
"for (int i=0; i<5; i++) {\n\t\t\tint c = sc.nextInt();\n\t\t\tnums[i] = c;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tint c = sc.nextInt();\n\t\t\tnums[i] = c;\n\t\t}",
"{\n\t\t\tint c = sc.nextInt();\n\t\t\tnums[i] = c;\n\t\t}",
"int c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"nums[i] = c",
"nums[i]",
"nums",
"i",
"c",
"int index=1;",
"index",
"1",
"for (int i=0; i<5; i++) {\n\t\t\tif (nums[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tif (nums[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (nums[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if (nums[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t\tbreak;\n\t\t\t}",
"nums[i]==0",
"nums[i]",
"nums",
"i",
"0",
"{\n\t\t\t\tindex = i+1;\n\t\t\t\tbreak;\n\t\t\t}",
"index = i+1",
"index",
"i+1",
"i",
"1",
"break;",
"System.out.println(index)",
"System.out.println",
"System.out",
"System",
"System.out",
"index",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] nums = new int[5];\n\n\t\tfor (int i=0; i<5; i++) {\n\t\t\tint c = sc.nextInt();\n\t\t\tnums[i] = c;\n\t\t}\n\n\n\t\tint index=1;\n\t\tfor (int i=0; i<5; i++) {\n\t\t\tif (nums[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(index);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] nums = new int[5];\n\n\t\tfor (int i=0; i<5; i++) {\n\t\t\tint c = sc.nextInt();\n\t\t\tnums[i] = c;\n\t\t}\n\n\n\t\tint index=1;\n\t\tfor (int i=0; i<5; i++) {\n\t\t\tif (nums[i]==0) {\n\t\t\t\tindex = i+1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(index);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc = new Scanner(System.in);
int[] nums = new int[5];
for (int i=0; i<5; i++) {
int c = sc.nextInt();
nums[i] = c;
}
int index=1;
for (int i=0; i<5; i++) {
if (nums[i]==0) {
index = i+1;
break;
}
}
System.out.println(index);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
11,
1,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
4,
18,
13,
17,
3,
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
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
24,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
35,
42
],
[
34,
43
],
[
14,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
12,
50
],
[
50,
51
]
]
| [
"/* package codechef; // 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 public static void main (String[] args) throws java.lang.Exception\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n int i=1;\n for (; i<6; i++){\n if (Integer.parseInt(st.nextToken())==0)\n break;\n }\n System.out.println(i);\n }\n\n\n\n\n}\n",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n public static void main (String[] args) throws java.lang.Exception\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n int i=1;\n for (; i<6; i++){\n if (Integer.parseInt(st.nextToken())==0)\n break;\n }\n System.out.println(i);\n }\n\n\n\n\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n int i=1;\n for (; i<6; i++){\n if (Integer.parseInt(st.nextToken())==0)\n break;\n }\n System.out.println(i);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n int i=1;\n for (; i<6; i++){\n if (Integer.parseInt(st.nextToken())==0)\n break;\n }\n System.out.println(i);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st = new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"int i=1;",
"i",
"1",
"for (; i<6; i++){\n if (Integer.parseInt(st.nextToken())==0)\n break;\n }",
";",
"i<6",
"i",
"6",
"i++",
"i++",
"i",
"{\n if (Integer.parseInt(st.nextToken())==0)\n break;\n }",
"{\n if (Integer.parseInt(st.nextToken())==0)\n break;\n }",
"if (Integer.parseInt(st.nextToken())==0)\n break;",
"Integer.parseInt(st.nextToken())==0",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"0",
"break;",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args"
]
| /* package codechef; // 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
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(br.readLine());
int i=1;
for (; i<6; i++){
if (Integer.parseInt(st.nextToken())==0)
break;
}
System.out.println(i);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
]
| [
"import java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int ans = 15;\n for (int i = 0; i < 5; i++){\n int x = scan.nextInt();\n ans = ans - x;\n }\n System.out.println(ans);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int ans = 15;\n for (int i = 0; i < 5; i++){\n int x = scan.nextInt();\n ans = ans - x;\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int ans = 15;\n for (int i = 0; i < 5; i++){\n int x = scan.nextInt();\n ans = ans - x;\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int ans = 15;\n for (int i = 0; i < 5; i++){\n int x = scan.nextInt();\n ans = ans - x;\n }\n System.out.println(ans);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int ans = 15;",
"ans",
"15",
"for (int i = 0; i < 5; i++){\n int x = scan.nextInt();\n ans = ans - x;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n int x = scan.nextInt();\n ans = ans - x;\n }",
"{\n int x = scan.nextInt();\n ans = ans - x;\n }",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"ans = ans - x",
"ans",
"ans - x",
"ans",
"x",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int ans = 15;\n for (int i = 0; i < 5; i++){\n int x = scan.nextInt();\n ans = ans - x;\n }\n System.out.println(ans);\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int ans = 15;\n for (int i = 0; i < 5; i++){\n int x = scan.nextInt();\n ans = ans - x;\n }\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int ans = 15;
for (int i = 0; i < 5; i++){
int x = scan.nextInt();
ans = ans - x;
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
4,
18,
13,
2,
13,
17,
4,
18,
13,
29,
4,
13,
23,
13,
12,
13,
30,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
13,
2,
13,
17,
12,
13,
30,
41,
13,
4,
18,
13,
0,
13,
8,
4,
18,
13,
20,
20,
0,
13,
20,
4,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
13,
2,
2,
13,
13,
17,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
0,
13,
13,
0,
13,
13,
0,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
2,
13,
13,
13,
0,
13,
17,
29,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
0,
13,
13,
0,
13,
13,
0,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
2,
13,
13,
13,
0,
13,
17,
29,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
14,
40,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
316,
11
],
[
316,
12
],
[
12,
13
],
[
316,
14
],
[
14,
15
],
[
316,
16
],
[
16,
17
],
[
16,
18
],
[
316,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
21,
28
],
[
28,
29
],
[
29,
30
],
[
21,
31
],
[
31,
32
],
[
32,
33
],
[
19,
34
],
[
34,
35
],
[
316,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
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
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
38,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
62,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
75,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
85,
87
],
[
316,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
90,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
98,
102
],
[
98,
103
],
[
90,
104
],
[
104,
105
],
[
104,
106
],
[
90,
107
],
[
107,
108
],
[
90,
109
],
[
109,
110
],
[
110,
111
],
[
90,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
90,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
88,
124
],
[
124,
125
],
[
316,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
133,
134
],
[
134,
135
],
[
316,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
143,
144
],
[
144,
145
],
[
316,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
148,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
162
],
[
157,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
156,
167
],
[
167,
168
],
[
167,
169
],
[
156,
170
],
[
170,
171
],
[
170,
172
],
[
148,
173
],
[
173,
174
],
[
146,
175
],
[
175,
176
],
[
146,
177
],
[
177,
178
],
[
316,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
181,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
185,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
191,
195
],
[
190,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
199,
203
],
[
189,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
206,
210
],
[
189,
211
],
[
211,
212
],
[
211,
213
],
[
181,
214
],
[
214,
215
],
[
179,
216
],
[
216,
217
],
[
179,
218
],
[
218,
219
],
[
179,
220
],
[
220,
221
],
[
316,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
224,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
228,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
234,
238
],
[
233,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
232,
243
],
[
243,
244
],
[
243,
245
],
[
232,
246
],
[
246,
247
],
[
246,
248
],
[
224,
249
],
[
249,
250
],
[
222,
251
],
[
251,
252
],
[
222,
253
],
[
253,
254
],
[
316,
255
],
[
255,
256
],
[
255,
257
],
[
257,
258
],
[
258,
259
],
[
258,
260
],
[
257,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
261,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
268,
269
],
[
268,
270
],
[
267,
271
],
[
266,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
275,
279
],
[
265,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
286
],
[
265,
287
],
[
287,
288
],
[
287,
289
],
[
257,
290
],
[
290,
291
],
[
255,
292
],
[
292,
293
],
[
255,
294
],
[
294,
295
],
[
255,
296
],
[
296,
297
],
[
316,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
301,
306
],
[
306,
307
],
[
307,
308
],
[
306,
309
],
[
309,
310
],
[
310,
311
],
[
309,
312
],
[
298,
313
],
[
313,
314
],
[
0,
315
],
[
315,
316
],
[
315,
317
]
]
| [
"import java.io.PrintWriter;\nimport java.util.Arrays;\nimport java.util.Scanner;\n\n// Solution\npublic class Main {\n private static Scanner in;\n private static PrintWriter out;\n private static final String INPUT = \"\"; // input file name\n\n /**\n * Interactive get next command\n */\n static int get(int pos) {\n out.println(pos + 1);\n out.flush();\n return ni();\n }\n\n static void solve() {\n int[] arr = new int[5];\n \n for (int i = 0; i < 5; i++) {\n \tarr[i] = ni();\n }\n \n for (int i = 0; i < 5; i++) {\n if (arr[i] == 0) {\n out.println(i + 1);\n }\n }\n }\n\n public static void main(String[] args) throws Exception {\n long S = System.currentTimeMillis();\n in = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(INPUT);\n out = new PrintWriter(System.out);\n\n solve();\n out.flush();\n long G = System.currentTimeMillis();\n tr(G - S + \"ms\");\n }\n\n private static int ni() {\n return Integer.parseInt(in.next());\n }\n\n private static long nl() {\n return Long.parseLong(in.next());\n }\n\n // Math Utils\n private static int pi(int num, int pow) {\n int result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n result *= num;\n }\n\n num *= num;\n pow /= 2;\n }\n\n return result;\n }\n\n private static int pim(int num, int pow, int mod) {\n int result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }\n\n num = (num * num) % mod;\n pow /= 2;\n }\n\n return result;\n }\n\n private static long pl(long num, long pow) {\n long result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n result *= num;\n }\n\n num *= num;\n pow /= 2;\n }\n\n return result;\n }\n\n private static long plm(long num, long pow, long mod) {\n long result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }\n\n num = (num * num) % mod;\n pow /= 2;\n }\n\n return result;\n }\n\n static void tr(Object... o) {\n if (!INPUT.isEmpty())\n out.println(Arrays.deepToString(o));\n }\n}",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n private static Scanner in;\n private static PrintWriter out;\n private static final String INPUT = \"\"; // input file name\n\n /**\n * Interactive get next command\n */\n static int get(int pos) {\n out.println(pos + 1);\n out.flush();\n return ni();\n }\n\n static void solve() {\n int[] arr = new int[5];\n \n for (int i = 0; i < 5; i++) {\n \tarr[i] = ni();\n }\n \n for (int i = 0; i < 5; i++) {\n if (arr[i] == 0) {\n out.println(i + 1);\n }\n }\n }\n\n public static void main(String[] args) throws Exception {\n long S = System.currentTimeMillis();\n in = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(INPUT);\n out = new PrintWriter(System.out);\n\n solve();\n out.flush();\n long G = System.currentTimeMillis();\n tr(G - S + \"ms\");\n }\n\n private static int ni() {\n return Integer.parseInt(in.next());\n }\n\n private static long nl() {\n return Long.parseLong(in.next());\n }\n\n // Math Utils\n private static int pi(int num, int pow) {\n int result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n result *= num;\n }\n\n num *= num;\n pow /= 2;\n }\n\n return result;\n }\n\n private static int pim(int num, int pow, int mod) {\n int result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }\n\n num = (num * num) % mod;\n pow /= 2;\n }\n\n return result;\n }\n\n private static long pl(long num, long pow) {\n long result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n result *= num;\n }\n\n num *= num;\n pow /= 2;\n }\n\n return result;\n }\n\n private static long plm(long num, long pow, long mod) {\n long result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }\n\n num = (num * num) % mod;\n pow /= 2;\n }\n\n return result;\n }\n\n static void tr(Object... o) {\n if (!INPUT.isEmpty())\n out.println(Arrays.deepToString(o));\n }\n}",
"Main",
"private static Scanner in;",
"in",
"private static PrintWriter out;",
"out",
"private static final String INPUT = \"\"; // input file name",
"INPUT",
"\"\"",
"/**\n * Interactive get next command\n */\n static int get(int pos) {\n out.println(pos + 1);\n out.flush();\n return ni();\n }",
"get",
"{\n out.println(pos + 1);\n out.flush();\n return ni();\n }",
"out.println(pos + 1)",
"out.println",
"out",
"pos + 1",
"pos",
"1",
"out.flush()",
"out.flush",
"out",
"return ni();",
"ni()",
"ni",
"int pos",
"pos",
"static void solve() {\n int[] arr = new int[5];\n \n for (int i = 0; i < 5; i++) {\n \tarr[i] = ni();\n }\n \n for (int i = 0; i < 5; i++) {\n if (arr[i] == 0) {\n out.println(i + 1);\n }\n }\n }",
"solve",
"{\n int[] arr = new int[5];\n \n for (int i = 0; i < 5; i++) {\n \tarr[i] = ni();\n }\n \n for (int i = 0; i < 5; i++) {\n if (arr[i] == 0) {\n out.println(i + 1);\n }\n }\n }",
"int[] arr = new int[5];",
"arr",
"new int[5]",
"5",
"for (int i = 0; i < 5; i++) {\n \tarr[i] = ni();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n \tarr[i] = ni();\n }",
"{\n \tarr[i] = ni();\n }",
"arr[i] = ni()",
"arr[i]",
"arr",
"i",
"ni()",
"ni",
"for (int i = 0; i < 5; i++) {\n if (arr[i] == 0) {\n out.println(i + 1);\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if (arr[i] == 0) {\n out.println(i + 1);\n }\n }",
"{\n if (arr[i] == 0) {\n out.println(i + 1);\n }\n }",
"if (arr[i] == 0) {\n out.println(i + 1);\n }",
"arr[i] == 0",
"arr[i]",
"arr",
"i",
"0",
"{\n out.println(i + 1);\n }",
"out.println(i + 1)",
"out.println",
"out",
"i + 1",
"i",
"1",
"public static void main(String[] args) throws Exception {\n long S = System.currentTimeMillis();\n in = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(INPUT);\n out = new PrintWriter(System.out);\n\n solve();\n out.flush();\n long G = System.currentTimeMillis();\n tr(G - S + \"ms\");\n }",
"main",
"{\n long S = System.currentTimeMillis();\n in = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(INPUT);\n out = new PrintWriter(System.out);\n\n solve();\n out.flush();\n long G = System.currentTimeMillis();\n tr(G - S + \"ms\");\n }",
"long S = System.currentTimeMillis();",
"S",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"in = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(INPUT)",
"in",
"INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(INPUT)",
"INPUT.isEmpty()",
"INPUT.isEmpty",
"INPUT",
"new Scanner(System.in)",
"new Scanner(INPUT)",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"solve()",
"solve",
"out.flush()",
"out.flush",
"out",
"long G = System.currentTimeMillis();",
"G",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"tr(G - S + \"ms\")",
"tr",
"G - S + \"ms\"",
"G - S",
"G",
"S",
"\"ms\"",
"String[] args",
"args",
"private static int ni() {\n return Integer.parseInt(in.next());\n }",
"ni",
"{\n return Integer.parseInt(in.next());\n }",
"return Integer.parseInt(in.next());",
"Integer.parseInt(in.next())",
"Integer.parseInt",
"Integer",
"in.next()",
"in.next",
"in",
"private static long nl() {\n return Long.parseLong(in.next());\n }",
"nl",
"{\n return Long.parseLong(in.next());\n }",
"return Long.parseLong(in.next());",
"Long.parseLong(in.next())",
"Long.parseLong",
"Long",
"in.next()",
"in.next",
"in",
"// Math Utils\n private static int pi(int num, int pow) {\n int result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n result *= num;\n }\n\n num *= num;\n pow /= 2;\n }\n\n return result;\n }",
"pi",
"{\n int result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n result *= num;\n }\n\n num *= num;\n pow /= 2;\n }\n\n return result;\n }",
"int result = 1;",
"result",
"1",
"while (pow > 0) {\n if (pow % 2 == 1) {\n result *= num;\n }\n\n num *= num;\n pow /= 2;\n }",
"pow > 0",
"pow",
"0",
"{\n if (pow % 2 == 1) {\n result *= num;\n }\n\n num *= num;\n pow /= 2;\n }",
"if (pow % 2 == 1) {\n result *= num;\n }",
"pow % 2 == 1",
"pow % 2",
"pow",
"2",
"1",
"{\n result *= num;\n }",
"result *= num",
"result",
"num",
"num *= num",
"num",
"num",
"pow /= 2",
"pow",
"2",
"return result;",
"result",
"int num",
"num",
"int pow",
"pow",
"private static int pim(int num, int pow, int mod) {\n int result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }\n\n num = (num * num) % mod;\n pow /= 2;\n }\n\n return result;\n }",
"pim",
"{\n int result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }\n\n num = (num * num) % mod;\n pow /= 2;\n }\n\n return result;\n }",
"int result = 1;",
"result",
"1",
"while (pow > 0) {\n if (pow % 2 == 1) {\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }\n\n num = (num * num) % mod;\n pow /= 2;\n }",
"pow > 0",
"pow",
"0",
"{\n if (pow % 2 == 1) {\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }\n\n num = (num * num) % mod;\n pow /= 2;\n }",
"if (pow % 2 == 1) {\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }",
"pow % 2 == 1",
"pow % 2",
"pow",
"2",
"1",
"{\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }",
"result = (result * num) % mod",
"result",
"(result * num) % mod",
"(result * num)",
"result",
"num",
"mod",
"num = (num * num) % mod",
"num",
"(num * num) % mod",
"(num * num)",
"num",
"num",
"mod",
"pow /= 2",
"pow",
"2",
"return result;",
"result",
"int num",
"num",
"int pow",
"pow",
"int mod",
"mod",
"private static long pl(long num, long pow) {\n long result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n result *= num;\n }\n\n num *= num;\n pow /= 2;\n }\n\n return result;\n }",
"pl",
"{\n long result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n result *= num;\n }\n\n num *= num;\n pow /= 2;\n }\n\n return result;\n }",
"long result = 1;",
"result",
"1",
"while (pow > 0) {\n if (pow % 2 == 1) {\n result *= num;\n }\n\n num *= num;\n pow /= 2;\n }",
"pow > 0",
"pow",
"0",
"{\n if (pow % 2 == 1) {\n result *= num;\n }\n\n num *= num;\n pow /= 2;\n }",
"if (pow % 2 == 1) {\n result *= num;\n }",
"pow % 2 == 1",
"pow % 2",
"pow",
"2",
"1",
"{\n result *= num;\n }",
"result *= num",
"result",
"num",
"num *= num",
"num",
"num",
"pow /= 2",
"pow",
"2",
"return result;",
"result",
"long num",
"num",
"long pow",
"pow",
"private static long plm(long num, long pow, long mod) {\n long result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }\n\n num = (num * num) % mod;\n pow /= 2;\n }\n\n return result;\n }",
"plm",
"{\n long result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }\n\n num = (num * num) % mod;\n pow /= 2;\n }\n\n return result;\n }",
"long result = 1;",
"result",
"1",
"while (pow > 0) {\n if (pow % 2 == 1) {\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }\n\n num = (num * num) % mod;\n pow /= 2;\n }",
"pow > 0",
"pow",
"0",
"{\n if (pow % 2 == 1) {\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }\n\n num = (num * num) % mod;\n pow /= 2;\n }",
"if (pow % 2 == 1) {\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }",
"pow % 2 == 1",
"pow % 2",
"pow",
"2",
"1",
"{\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }",
"result = (result * num) % mod",
"result",
"(result * num) % mod",
"(result * num)",
"result",
"num",
"mod",
"num = (num * num) % mod",
"num",
"(num * num) % mod",
"(num * num)",
"num",
"num",
"mod",
"pow /= 2",
"pow",
"2",
"return result;",
"result",
"long num",
"num",
"long pow",
"pow",
"long mod",
"mod",
"static void tr(Object... o) {\n if (!INPUT.isEmpty())\n out.println(Arrays.deepToString(o));\n }",
"tr",
"{\n if (!INPUT.isEmpty())\n out.println(Arrays.deepToString(o));\n }",
"if (!INPUT.isEmpty())\n out.println(Arrays.deepToString(o));",
"!INPUT.isEmpty()",
"INPUT.isEmpty()",
"INPUT.isEmpty",
"INPUT",
"out.println(Arrays.deepToString(o))",
"out.println",
"out",
"Arrays.deepToString(o)",
"Arrays.deepToString",
"Arrays",
"o",
"Object... o",
"o",
"public class Main {\n private static Scanner in;\n private static PrintWriter out;\n private static final String INPUT = \"\"; // input file name\n\n /**\n * Interactive get next command\n */\n static int get(int pos) {\n out.println(pos + 1);\n out.flush();\n return ni();\n }\n\n static void solve() {\n int[] arr = new int[5];\n \n for (int i = 0; i < 5; i++) {\n \tarr[i] = ni();\n }\n \n for (int i = 0; i < 5; i++) {\n if (arr[i] == 0) {\n out.println(i + 1);\n }\n }\n }\n\n public static void main(String[] args) throws Exception {\n long S = System.currentTimeMillis();\n in = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(INPUT);\n out = new PrintWriter(System.out);\n\n solve();\n out.flush();\n long G = System.currentTimeMillis();\n tr(G - S + \"ms\");\n }\n\n private static int ni() {\n return Integer.parseInt(in.next());\n }\n\n private static long nl() {\n return Long.parseLong(in.next());\n }\n\n // Math Utils\n private static int pi(int num, int pow) {\n int result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n result *= num;\n }\n\n num *= num;\n pow /= 2;\n }\n\n return result;\n }\n\n private static int pim(int num, int pow, int mod) {\n int result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }\n\n num = (num * num) % mod;\n pow /= 2;\n }\n\n return result;\n }\n\n private static long pl(long num, long pow) {\n long result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n result *= num;\n }\n\n num *= num;\n pow /= 2;\n }\n\n return result;\n }\n\n private static long plm(long num, long pow, long mod) {\n long result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }\n\n num = (num * num) % mod;\n pow /= 2;\n }\n\n return result;\n }\n\n static void tr(Object... o) {\n if (!INPUT.isEmpty())\n out.println(Arrays.deepToString(o));\n }\n}",
"public class Main {\n private static Scanner in;\n private static PrintWriter out;\n private static final String INPUT = \"\"; // input file name\n\n /**\n * Interactive get next command\n */\n static int get(int pos) {\n out.println(pos + 1);\n out.flush();\n return ni();\n }\n\n static void solve() {\n int[] arr = new int[5];\n \n for (int i = 0; i < 5; i++) {\n \tarr[i] = ni();\n }\n \n for (int i = 0; i < 5; i++) {\n if (arr[i] == 0) {\n out.println(i + 1);\n }\n }\n }\n\n public static void main(String[] args) throws Exception {\n long S = System.currentTimeMillis();\n in = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(INPUT);\n out = new PrintWriter(System.out);\n\n solve();\n out.flush();\n long G = System.currentTimeMillis();\n tr(G - S + \"ms\");\n }\n\n private static int ni() {\n return Integer.parseInt(in.next());\n }\n\n private static long nl() {\n return Long.parseLong(in.next());\n }\n\n // Math Utils\n private static int pi(int num, int pow) {\n int result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n result *= num;\n }\n\n num *= num;\n pow /= 2;\n }\n\n return result;\n }\n\n private static int pim(int num, int pow, int mod) {\n int result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }\n\n num = (num * num) % mod;\n pow /= 2;\n }\n\n return result;\n }\n\n private static long pl(long num, long pow) {\n long result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n result *= num;\n }\n\n num *= num;\n pow /= 2;\n }\n\n return result;\n }\n\n private static long plm(long num, long pow, long mod) {\n long result = 1;\n\n while (pow > 0) {\n if (pow % 2 == 1) {\n // keep collecting `odd` num in result\n result = (result * num) % mod;\n }\n\n num = (num * num) % mod;\n pow /= 2;\n }\n\n return result;\n }\n\n static void tr(Object... o) {\n if (!INPUT.isEmpty())\n out.println(Arrays.deepToString(o));\n }\n}",
"Main"
]
| import java.io.PrintWriter;
import java.util.Arrays;
import java.util.Scanner;
// Solution
public class Main {
private static Scanner in;
private static PrintWriter out;
private static final String INPUT = ""; // input file name
/**
* Interactive get next command
*/
static int get(int pos) {
out.println(pos + 1);
out.flush();
return ni();
}
static void solve() {
int[] arr = new int[5];
for (int i = 0; i < 5; i++) {
arr[i] = ni();
}
for (int i = 0; i < 5; i++) {
if (arr[i] == 0) {
out.println(i + 1);
}
}
}
public static void main(String[] args) throws Exception {
long S = System.currentTimeMillis();
in = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(INPUT);
out = new PrintWriter(System.out);
solve();
out.flush();
long G = System.currentTimeMillis();
tr(G - S + "ms");
}
private static int ni() {
return Integer.parseInt(in.next());
}
private static long nl() {
return Long.parseLong(in.next());
}
// Math Utils
private static int pi(int num, int pow) {
int result = 1;
while (pow > 0) {
if (pow % 2 == 1) {
result *= num;
}
num *= num;
pow /= 2;
}
return result;
}
private static int pim(int num, int pow, int mod) {
int result = 1;
while (pow > 0) {
if (pow % 2 == 1) {
// keep collecting `odd` num in result
result = (result * num) % mod;
}
num = (num * num) % mod;
pow /= 2;
}
return result;
}
private static long pl(long num, long pow) {
long result = 1;
while (pow > 0) {
if (pow % 2 == 1) {
result *= num;
}
num *= num;
pow /= 2;
}
return result;
}
private static long plm(long num, long pow, long mod) {
long result = 1;
while (pow > 0) {
if (pow % 2 == 1) {
// keep collecting `odd` num in result
result = (result * num) % mod;
}
num = (num * num) % mod;
pow /= 2;
}
return result;
}
static void tr(Object... o) {
if (!INPUT.isEmpty())
out.println(Arrays.deepToString(o));
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
40,
17,
41,
13,
40,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
6,
52
],
[
52,
53
]
]
| [
"import java.util.*;\n\nclass Main\n{\n public static void main(String[] args)\n {\n int x=-1, k=-1;\n Scanner input = new Scanner(System.in);\n for(int i=1; i<=5; i++){\n x=input.nextInt();\n if(x==0){\n k=i;\n }\n }\n System.out.print(k);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main\n{\n public static void main(String[] args)\n {\n int x=-1, k=-1;\n Scanner input = new Scanner(System.in);\n for(int i=1; i<=5; i++){\n x=input.nextInt();\n if(x==0){\n k=i;\n }\n }\n System.out.print(k);\n }\n}",
"Main",
"public static void main(String[] args)\n {\n int x=-1, k=-1;\n Scanner input = new Scanner(System.in);\n for(int i=1; i<=5; i++){\n x=input.nextInt();\n if(x==0){\n k=i;\n }\n }\n System.out.print(k);\n }",
"main",
"{\n int x=-1, k=-1;\n Scanner input = new Scanner(System.in);\n for(int i=1; i<=5; i++){\n x=input.nextInt();\n if(x==0){\n k=i;\n }\n }\n System.out.print(k);\n }",
"int x=-1",
"x",
"-1",
"1",
"k=-1;",
"k",
"-1",
"1",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"for(int i=1; i<=5; i++){\n x=input.nextInt();\n if(x==0){\n k=i;\n }\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=5",
"i",
"5",
"i++",
"i++",
"i",
"{\n x=input.nextInt();\n if(x==0){\n k=i;\n }\n }",
"{\n x=input.nextInt();\n if(x==0){\n k=i;\n }\n }",
"x=input.nextInt()",
"x",
"input.nextInt()",
"input.nextInt",
"input",
"if(x==0){\n k=i;\n }",
"x==0",
"x",
"0",
"{\n k=i;\n }",
"k=i",
"k",
"i",
"System.out.print(k)",
"System.out.print",
"System.out",
"System",
"System.out",
"k",
"String[] args",
"args"
]
| import java.util.*;
class Main
{
public static void main(String[] args)
{
int x=-1, k=-1;
Scanner input = new Scanner(System.in);
for(int i=1; i<=5; i++){
x=input.nextInt();
if(x==0){
k=i;
}
}
System.out.print(k);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
95,
5
],
[
95,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
37,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
48,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
59,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
70,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
6,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n if(a==0){\n System.out.println(1);\n }else if(b==0){\n System.out.println(2);\n }else if(c==0){\n System.out.println(3);\n }else if(d==0){\n System.out.println(4);\n }else if(e==0){\n System.out.println(5);\n }\n }\n}\n ",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n if(a==0){\n System.out.println(1);\n }else if(b==0){\n System.out.println(2);\n }else if(c==0){\n System.out.println(3);\n }else if(d==0){\n System.out.println(4);\n }else if(e==0){\n System.out.println(5);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n if(a==0){\n System.out.println(1);\n }else if(b==0){\n System.out.println(2);\n }else if(c==0){\n System.out.println(3);\n }else if(d==0){\n System.out.println(4);\n }else if(e==0){\n System.out.println(5);\n }\n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n if(a==0){\n System.out.println(1);\n }else if(b==0){\n System.out.println(2);\n }else if(c==0){\n System.out.println(3);\n }else if(d==0){\n System.out.println(4);\n }else if(e==0){\n System.out.println(5);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"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",
"if(a==0){\n System.out.println(1);\n }else if(b==0){\n System.out.println(2);\n }else if(c==0){\n System.out.println(3);\n }else if(d==0){\n System.out.println(4);\n }else if(e==0){\n System.out.println(5);\n }",
"a==0",
"a",
"0",
"{\n System.out.println(1);\n }",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"if(b==0){\n System.out.println(2);\n }else if(c==0){\n System.out.println(3);\n }else if(d==0){\n System.out.println(4);\n }else if(e==0){\n System.out.println(5);\n }",
"b==0",
"b",
"0",
"{\n System.out.println(2);\n }",
"System.out.println(2)",
"System.out.println",
"System.out",
"System",
"System.out",
"2",
"if(c==0){\n System.out.println(3);\n }else if(d==0){\n System.out.println(4);\n }else if(e==0){\n System.out.println(5);\n }",
"c==0",
"c",
"0",
"{\n System.out.println(3);\n }",
"System.out.println(3)",
"System.out.println",
"System.out",
"System",
"System.out",
"3",
"if(d==0){\n System.out.println(4);\n }else if(e==0){\n System.out.println(5);\n }",
"d==0",
"d",
"0",
"{\n System.out.println(4);\n }",
"System.out.println(4)",
"System.out.println",
"System.out",
"System",
"System.out",
"4",
"if(e==0){\n System.out.println(5);\n }",
"e==0",
"e",
"0",
"{\n System.out.println(5);\n }",
"System.out.println(5)",
"System.out.println",
"System.out",
"System",
"System.out",
"5",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n if(a==0){\n System.out.println(1);\n }else if(b==0){\n System.out.println(2);\n }else if(c==0){\n System.out.println(3);\n }else if(d==0){\n System.out.println(4);\n }else if(e==0){\n System.out.println(5);\n }\n }\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n if(a==0){\n System.out.println(1);\n }else if(b==0){\n System.out.println(2);\n }else if(c==0){\n System.out.println(3);\n }else if(d==0){\n System.out.println(4);\n }else if(e==0){\n System.out.println(5);\n }\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int d = sc.nextInt();
int e = sc.nextInt();
if(a==0){
System.out.println(1);
}else if(b==0){
System.out.println(2);
}else if(c==0){
System.out.println(3);
}else if(d==0){
System.out.println(4);
}else if(e==0){
System.out.println(5);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
92,
5
],
[
92,
6
],
[
6,
7
],
[
92,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
10,
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
],
[
30,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
37,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
92,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
92,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
68,
69
],
[
69,
70
],
[
92,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
78,
79
],
[
79,
80
],
[
92,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
88,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tstatic Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t int[] x=new int[5];\n\t for (int i=0; i<5;i++) {\n\t \tx[i]=gi();\n\t \tif (x[i]==0) {\n\t \t\tSystem.out.print(i+1);\n\t \t}\n\t }\n \n\n\t //System.out.print(nr*2*Math.PI);\n//\t if (n%10==3) {\n//\t \tSystem.out.print(\"bon\");\n//\t }else if(n%10==0 || n%10==1 || n%10==6 || n%10==8){\n//\t \tSystem.out.print(\"pon\");\n//\t } else {\n//\t \tSystem.out.print(\"hon\");\n//\t }\n\n\n\t}\n\n\t// 文字列として入力を取得\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}\n\n\t// intとして入力を取得\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}\n\n\t// longとして入力を取得\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}\n\n\t// doubleとして入力を取得\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tstatic Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t int[] x=new int[5];\n\t for (int i=0; i<5;i++) {\n\t \tx[i]=gi();\n\t \tif (x[i]==0) {\n\t \t\tSystem.out.print(i+1);\n\t \t}\n\t }\n \n\n\t //System.out.print(nr*2*Math.PI);\n//\t if (n%10==3) {\n//\t \tSystem.out.print(\"bon\");\n//\t }else if(n%10==0 || n%10==1 || n%10==6 || n%10==8){\n//\t \tSystem.out.print(\"pon\");\n//\t } else {\n//\t \tSystem.out.print(\"hon\");\n//\t }\n\n\n\t}\n\n\t// 文字列として入力を取得\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}\n\n\t// intとして入力を取得\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}\n\n\t// longとして入力を取得\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}\n\n\t// doubleとして入力を取得\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}\n}",
"Main",
"static Scanner scanner;",
"scanner",
"public static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t int[] x=new int[5];\n\t for (int i=0; i<5;i++) {\n\t \tx[i]=gi();\n\t \tif (x[i]==0) {\n\t \t\tSystem.out.print(i+1);\n\t \t}\n\t }\n \n\n\t //System.out.print(nr*2*Math.PI);\n//\t if (n%10==3) {\n//\t \tSystem.out.print(\"bon\");\n//\t }else if(n%10==0 || n%10==1 || n%10==6 || n%10==8){\n//\t \tSystem.out.print(\"pon\");\n//\t } else {\n//\t \tSystem.out.print(\"hon\");\n//\t }\n\n\n\t}",
"main",
"{\n\t scanner = new Scanner(System.in);\n\n\t int[] x=new int[5];\n\t for (int i=0; i<5;i++) {\n\t \tx[i]=gi();\n\t \tif (x[i]==0) {\n\t \t\tSystem.out.print(i+1);\n\t \t}\n\t }\n \n\n\t //System.out.print(nr*2*Math.PI);\n//\t if (n%10==3) {\n//\t \tSystem.out.print(\"bon\");\n//\t }else if(n%10==0 || n%10==1 || n%10==6 || n%10==8){\n//\t \tSystem.out.print(\"pon\");\n//\t } else {\n//\t \tSystem.out.print(\"hon\");\n//\t }\n\n\n\t}",
"scanner = new Scanner(System.in)",
"scanner",
"new Scanner(System.in)",
"int[] x=new int[5];",
"x",
"new int[5]",
"5",
"for (int i=0; i<5;i++) {\n\t \tx[i]=gi();\n\t \tif (x[i]==0) {\n\t \t\tSystem.out.print(i+1);\n\t \t}\n\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t \tx[i]=gi();\n\t \tif (x[i]==0) {\n\t \t\tSystem.out.print(i+1);\n\t \t}\n\t }",
"{\n\t \tx[i]=gi();\n\t \tif (x[i]==0) {\n\t \t\tSystem.out.print(i+1);\n\t \t}\n\t }",
"x[i]=gi()",
"x[i]",
"x",
"i",
"gi()",
"gi",
"if (x[i]==0) {\n\t \t\tSystem.out.print(i+1);\n\t \t}",
"x[i]==0",
"x[i]",
"x",
"i",
"0",
"{\n\t \t\tSystem.out.print(i+1);\n\t \t}",
"System.out.print(i+1)",
"System.out.print",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"String[] args",
"args",
"// 文字列として入力を取得\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}",
"gs",
"{\n\t\treturn scanner.next();\n\t}",
"return scanner.next();",
"scanner.next()",
"scanner.next",
"scanner",
"// intとして入力を取得\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}",
"gi",
"{\n\t\treturn Integer.parseInt(scanner.next());\n\t}",
"return Integer.parseInt(scanner.next());",
"Integer.parseInt(scanner.next())",
"Integer.parseInt",
"Integer",
"scanner.next()",
"scanner.next",
"scanner",
"// longとして入力を取得\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}",
"gl",
"{\n\t\treturn Long.parseLong(scanner.next());\n\t}",
"return Long.parseLong(scanner.next());",
"Long.parseLong(scanner.next())",
"Long.parseLong",
"Long",
"scanner.next()",
"scanner.next",
"scanner",
"// doubleとして入力を取得\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}",
"gd",
"{\n\t\treturn Double.parseDouble(scanner.next());\n\t}",
"return Double.parseDouble(scanner.next());",
"Double.parseDouble(scanner.next())",
"Double.parseDouble",
"Double",
"scanner.next()",
"scanner.next",
"scanner",
"public class Main {\n\n\tstatic Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t int[] x=new int[5];\n\t for (int i=0; i<5;i++) {\n\t \tx[i]=gi();\n\t \tif (x[i]==0) {\n\t \t\tSystem.out.print(i+1);\n\t \t}\n\t }\n \n\n\t //System.out.print(nr*2*Math.PI);\n//\t if (n%10==3) {\n//\t \tSystem.out.print(\"bon\");\n//\t }else if(n%10==0 || n%10==1 || n%10==6 || n%10==8){\n//\t \tSystem.out.print(\"pon\");\n//\t } else {\n//\t \tSystem.out.print(\"hon\");\n//\t }\n\n\n\t}\n\n\t// 文字列として入力を取得\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}\n\n\t// intとして入力を取得\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}\n\n\t// longとして入力を取得\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}\n\n\t// doubleとして入力を取得\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}\n}",
"public class Main {\n\n\tstatic Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t int[] x=new int[5];\n\t for (int i=0; i<5;i++) {\n\t \tx[i]=gi();\n\t \tif (x[i]==0) {\n\t \t\tSystem.out.print(i+1);\n\t \t}\n\t }\n \n\n\t //System.out.print(nr*2*Math.PI);\n//\t if (n%10==3) {\n//\t \tSystem.out.print(\"bon\");\n//\t }else if(n%10==0 || n%10==1 || n%10==6 || n%10==8){\n//\t \tSystem.out.print(\"pon\");\n//\t } else {\n//\t \tSystem.out.print(\"hon\");\n//\t }\n\n\n\t}\n\n\t// 文字列として入力を取得\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}\n\n\t// intとして入力を取得\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}\n\n\t// longとして入力を取得\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}\n\n\t// doubleとして入力を取得\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
static Scanner scanner;
public static void main(String[] args) {
scanner = new Scanner(System.in);
int[] x=new int[5];
for (int i=0; i<5;i++) {
x[i]=gi();
if (x[i]==0) {
System.out.print(i+1);
}
}
//System.out.print(nr*2*Math.PI);
// if (n%10==3) {
// System.out.print("bon");
// }else if(n%10==0 || n%10==1 || n%10==6 || n%10==8){
// System.out.print("pon");
// } else {
// System.out.print("hon");
// }
}
// 文字列として入力を取得
public static String gs() {
return scanner.next();
}
// intとして入力を取得
public static int gi() {
return Integer.parseInt(scanner.next());
}
// longとして入力を取得
public static long gl() {
return Long.parseLong(scanner.next());
}
// doubleとして入力を取得
public static double gd() {
return Double.parseDouble(scanner.next());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
68,
5
],
[
68,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
49,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
55,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
]
| [
"import java.util.*;\npublic class Main {\n\n public static void main(String[] args) {\n Scanner yomi = new Scanner(System.in);\n int n[] = new int[5];\n for (byte i=0; i<5; i++){\n n[i] = yomi.nextInt();\n }\n for (byte i=0; i<5; i++){\n if(n[i] == 0){\n System.out.println(i+1);\n break;\n }\n }\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n Scanner yomi = new Scanner(System.in);\n int n[] = new int[5];\n for (byte i=0; i<5; i++){\n n[i] = yomi.nextInt();\n }\n for (byte i=0; i<5; i++){\n if(n[i] == 0){\n System.out.println(i+1);\n break;\n }\n }\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner yomi = new Scanner(System.in);\n int n[] = new int[5];\n for (byte i=0; i<5; i++){\n n[i] = yomi.nextInt();\n }\n for (byte i=0; i<5; i++){\n if(n[i] == 0){\n System.out.println(i+1);\n break;\n }\n }\n }",
"main",
"{\n Scanner yomi = new Scanner(System.in);\n int n[] = new int[5];\n for (byte i=0; i<5; i++){\n n[i] = yomi.nextInt();\n }\n for (byte i=0; i<5; i++){\n if(n[i] == 0){\n System.out.println(i+1);\n break;\n }\n }\n }",
"Scanner yomi = new Scanner(System.in);",
"yomi",
"new Scanner(System.in)",
"int n[] = new int[5];",
"n",
"new int[5]",
"5",
"for (byte i=0; i<5; i++){\n n[i] = yomi.nextInt();\n }",
"byte i=0;",
"byte i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n n[i] = yomi.nextInt();\n }",
"{\n n[i] = yomi.nextInt();\n }",
"n[i] = yomi.nextInt()",
"n[i]",
"n",
"i",
"yomi.nextInt()",
"yomi.nextInt",
"yomi",
"for (byte i=0; i<5; i++){\n if(n[i] == 0){\n System.out.println(i+1);\n break;\n }\n }",
"byte i=0;",
"byte i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if(n[i] == 0){\n System.out.println(i+1);\n break;\n }\n }",
"{\n if(n[i] == 0){\n System.out.println(i+1);\n break;\n }\n }",
"if(n[i] == 0){\n System.out.println(i+1);\n break;\n }",
"n[i] == 0",
"n[i]",
"n",
"i",
"0",
"{\n System.out.println(i+1);\n break;\n }",
"System.out.println(i+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"break;",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner yomi = new Scanner(System.in);\n int n[] = new int[5];\n for (byte i=0; i<5; i++){\n n[i] = yomi.nextInt();\n }\n for (byte i=0; i<5; i++){\n if(n[i] == 0){\n System.out.println(i+1);\n break;\n }\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner yomi = new Scanner(System.in);\n int n[] = new int[5];\n for (byte i=0; i<5; i++){\n n[i] = yomi.nextInt();\n }\n for (byte i=0; i<5; i++){\n if(n[i] == 0){\n System.out.println(i+1);\n break;\n }\n }\n }\n\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner yomi = new Scanner(System.in);
int n[] = new int[5];
for (byte i=0; i<5; i++){
n[i] = yomi.nextInt();
}
for (byte i=0; i<5; i++){
if(n[i] == 0){
System.out.println(i+1);
break;
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
41,
13,
17,
42,
2,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
9,
29,
13,
12,
13,
30,
29,
4,
18,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
4,
13,
17,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
18,
13,
13,
29,
13,
12,
13,
30,
41,
13,
4,
18,
4,
13,
17,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
18,
13,
13,
29,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
12,
13,
30,
14,
2,
2,
2,
18,
13,
17,
18,
13,
17,
13,
2,
2,
18,
13,
17,
18,
13,
17,
13,
30,
29,
2,
18,
13,
17,
18,
13,
17,
29,
2,
2,
2,
18,
13,
17,
18,
13,
17,
18,
13,
17,
18,
13,
17,
23,
13,
23,
13,
12,
13,
30,
4,
13,
41,
13,
4,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
13,
2,
2,
13,
17,
17,
3,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
248,
8
],
[
248,
9
],
[
9,
10
],
[
248,
11
],
[
11,
12
],
[
248,
13
],
[
13,
14
],
[
13,
15
],
[
248,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
23,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
28,
34
],
[
18,
35
],
[
35,
36
],
[
248,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
37,
45
],
[
45,
46
],
[
248,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
47,
55
],
[
55,
56
],
[
248,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
62,
66
],
[
59,
67
],
[
67,
68
],
[
67,
69
],
[
70,
71
],
[
70,
72
],
[
59,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
73,
83
],
[
83,
84
],
[
84,
85
],
[
73,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
59,
97
],
[
97,
98
],
[
248,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
104,
108
],
[
101,
109
],
[
109,
110
],
[
109,
111
],
[
112,
113
],
[
112,
114
],
[
101,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
122,
124
],
[
115,
125
],
[
125,
126
],
[
126,
127
],
[
115,
128
],
[
129,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
136,
138
],
[
101,
139
],
[
139,
140
],
[
248,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
147,
148
],
[
147,
149
],
[
248,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
156,
160
],
[
160,
161
],
[
160,
162
],
[
155,
163
],
[
154,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
169
],
[
169,
170
],
[
169,
171
],
[
164,
172
],
[
153,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
179
],
[
179,
180
],
[
179,
181
],
[
152,
182
],
[
182,
183
],
[
184,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
185,
189
],
[
189,
190
],
[
189,
191
],
[
184,
192
],
[
192,
193
],
[
192,
194
],
[
184,
195
],
[
195,
196
],
[
195,
197
],
[
150,
198
],
[
198,
199
],
[
150,
200
],
[
200,
201
],
[
248,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
205,
206
],
[
204,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
204,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
211,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
218,
220
],
[
211,
221
],
[
221,
222
],
[
222,
223
],
[
211,
224
],
[
225,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
227,
231
],
[
226,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
233,
236
],
[
237,
237
],
[
237,
238
],
[
237,
239
],
[
237,
240
],
[
232,
241
],
[
204,
242
],
[
242,
243
],
[
243,
244
],
[
202,
245
],
[
245,
246
],
[
0,
247
],
[
247,
248
],
[
247,
249
]
]
| [
"import java.util.*;\nimport java.io.*;\n\n public class Main{\n// taking inputs\nstatic BufferedReader s1;\nstatic BufferedWriter out;\nstatic String read() throws IOException{String line=\"\";while(line.length()==0){line=s1.readLine();continue;}return line;}\nstatic int int_v (String s1){return Integer.parseInt(s1);}\nstatic long long_v(String s1){return Long.parseLong(s1);}\nstatic int[] int_arr() throws IOException{String[] a=read().split(\" \");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}\nstatic long[] long_arr() throws IOException{String[] a=read().split(\" \");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}\nstatic void assign(){s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}\n\n//......................................@uthor_Alx..............................................\nstatic int g=2;\nstatic int f(int[] a, int[] b){\n\tif(a[0]+a[1]>=g&&b[0]+b[1]>=g){\n\t\treturn a[0]-b[0];\n\t}\n\treturn b[0]+b[1]-a[0]-a[1];\n}\n public static void main(String[] args) throws IOException{\n\t \t\t assign();\n\t \t\t \tint[] a=int_arr();\n\t \t\t \tfor(int i=0;i<a.length;i++){\n\t \t\t \t\tif(a[i]==0){\n\t \t\t \t\t\tout.write(i+1+\"\");\n\t \t\t \t\t\tbreak;\n\t \t\t \t\t}\n\t \t\t \t}\n\t\n out.flush();\n\t \t\t \n\t}\n}\n\t \n\t \n\n\n\n\t\n \n\n\n\n\n\n\t\n \n\n\n",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n// taking inputs\nstatic BufferedReader s1;\nstatic BufferedWriter out;\nstatic String read() throws IOException{String line=\"\";while(line.length()==0){line=s1.readLine();continue;}return line;}\nstatic int int_v (String s1){return Integer.parseInt(s1);}\nstatic long long_v(String s1){return Long.parseLong(s1);}\nstatic int[] int_arr() throws IOException{String[] a=read().split(\" \");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}\nstatic long[] long_arr() throws IOException{String[] a=read().split(\" \");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}\nstatic void assign(){s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}\n\n//......................................@uthor_Alx..............................................\nstatic int g=2;\nstatic int f(int[] a, int[] b){\n\tif(a[0]+a[1]>=g&&b[0]+b[1]>=g){\n\t\treturn a[0]-b[0];\n\t}\n\treturn b[0]+b[1]-a[0]-a[1];\n}\n public static void main(String[] args) throws IOException{\n\t \t\t assign();\n\t \t\t \tint[] a=int_arr();\n\t \t\t \tfor(int i=0;i<a.length;i++){\n\t \t\t \t\tif(a[i]==0){\n\t \t\t \t\t\tout.write(i+1+\"\");\n\t \t\t \t\t\tbreak;\n\t \t\t \t\t}\n\t \t\t \t}\n\t\n out.flush();\n\t \t\t \n\t}\n}",
"Main",
"// taking inputs\nstatic BufferedReader s1;",
"s1",
"static BufferedWriter out;",
"out",
"//......................................@uthor_Alx..............................................\nstatic int g=2;",
"g",
"2",
"static String read() throws IOException{String line=\"\";while(line.length()==0){line=s1.readLine();continue;}return line;}",
"read",
"{String line=\"\";while(line.length()==0){line=s1.readLine();continue;}return line;}",
"String line=\"\";",
"line",
"\"\"",
"while(line.length()==0){line=s1.readLine();continue;}",
"line.length()==0",
"line.length()",
"line.length",
"line",
"0",
"{line=s1.readLine();continue;}",
"line=s1.readLine()",
"line",
"s1.readLine()",
"s1.readLine",
"s1",
"continue;",
"return line;",
"line",
"static int int_v (String s1){return Integer.parseInt(s1);}",
"int_v",
"{return Integer.parseInt(s1);}",
"return Integer.parseInt(s1);",
"Integer.parseInt(s1)",
"Integer.parseInt",
"Integer",
"s1",
"String s1",
"s1",
"static long long_v(String s1){return Long.parseLong(s1);}",
"long_v",
"{return Long.parseLong(s1);}",
"return Long.parseLong(s1);",
"Long.parseLong(s1)",
"Long.parseLong",
"Long",
"s1",
"String s1",
"s1",
"static int[] int_arr() throws IOException{String[] a=read().split(\" \");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}",
"int_arr",
"{String[] a=read().split(\" \");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}",
"String[] a=read().split(\" \");",
"a",
"read().split(\" \")",
"read().split",
"read()",
"read",
"\" \"",
"int[] b=new int[a.length];",
"b",
"new int[a.length]",
"a.length",
"a",
"a.length",
"for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{b[i]=int_v(a[i]);}",
"{b[i]=int_v(a[i]);}",
"b[i]=int_v(a[i])",
"b[i]",
"b",
"i",
"int_v(a[i])",
"int_v",
"a[i]",
"a",
"i",
"return b;",
"b",
"static long[] long_arr() throws IOException{String[] a=read().split(\" \");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}",
"long_arr",
"{String[] a=read().split(\" \");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}",
"String[] a=read().split(\" \");",
"a",
"read().split(\" \")",
"read().split",
"read()",
"read",
"\" \"",
"long[] b=new long[a.length];",
"b",
"new long[a.length]",
"a.length",
"a",
"a.length",
"for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{b[i]=long_v(a[i]);}",
"{b[i]=long_v(a[i]);}",
"b[i]=long_v(a[i])",
"b[i]",
"b",
"i",
"long_v(a[i])",
"long_v",
"a[i]",
"a",
"i",
"return b;",
"b",
"static void assign(){s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}",
"assign",
"{s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}",
"s1=new BufferedReader(new InputStreamReader(System.in))",
"s1",
"new BufferedReader(new InputStreamReader(System.in))",
"out=new BufferedWriter(new OutputStreamWriter(System.out))",
"out",
"new BufferedWriter(new OutputStreamWriter(System.out))",
"static int f(int[] a, int[] b){\n\tif(a[0]+a[1]>=g&&b[0]+b[1]>=g){\n\t\treturn a[0]-b[0];\n\t}\n\treturn b[0]+b[1]-a[0]-a[1];\n}",
"f",
"{\n\tif(a[0]+a[1]>=g&&b[0]+b[1]>=g){\n\t\treturn a[0]-b[0];\n\t}\n\treturn b[0]+b[1]-a[0]-a[1];\n}",
"if(a[0]+a[1]>=g&&b[0]+b[1]>=g){\n\t\treturn a[0]-b[0];\n\t}",
"a[0]+a[1]>=g&&b[0]+b[1]>=g",
"a[0]+a[1]>=g",
"a[0]+a[1]",
"a[0]",
"a",
"0",
"a[1]",
"a",
"1",
"g",
"b[0]+b[1]>=g",
"b[0]+b[1]",
"b[0]",
"b",
"0",
"b[1]",
"b",
"1",
"g",
"{\n\t\treturn a[0]-b[0];\n\t}",
"return a[0]-b[0];",
"a[0]-b[0]",
"a[0]",
"a",
"0",
"b[0]",
"b",
"0",
"return b[0]+b[1]-a[0]-a[1];",
"b[0]+b[1]-a[0]-a[1]",
"b[0]+b[1]-a[0]-a[1]",
"b[0]+b[1]",
"b[0]",
"b",
"0",
"b[1]",
"b",
"1",
"a[0]",
"a",
"0",
"a[1]",
"a",
"1",
"int[] a",
"a",
"int[] b",
"b",
"public static void main(String[] args) throws IOException{\n\t \t\t assign();\n\t \t\t \tint[] a=int_arr();\n\t \t\t \tfor(int i=0;i<a.length;i++){\n\t \t\t \t\tif(a[i]==0){\n\t \t\t \t\t\tout.write(i+1+\"\");\n\t \t\t \t\t\tbreak;\n\t \t\t \t\t}\n\t \t\t \t}\n\t\n out.flush();\n\t \t\t \n\t}",
"main",
"{\n\t \t\t assign();\n\t \t\t \tint[] a=int_arr();\n\t \t\t \tfor(int i=0;i<a.length;i++){\n\t \t\t \t\tif(a[i]==0){\n\t \t\t \t\t\tout.write(i+1+\"\");\n\t \t\t \t\t\tbreak;\n\t \t\t \t\t}\n\t \t\t \t}\n\t\n out.flush();\n\t \t\t \n\t}",
"assign()",
"assign",
"int[] a=int_arr();",
"a",
"int_arr()",
"int_arr",
"for(int i=0;i<a.length;i++){\n\t \t\t \t\tif(a[i]==0){\n\t \t\t \t\t\tout.write(i+1+\"\");\n\t \t\t \t\t\tbreak;\n\t \t\t \t\t}\n\t \t\t \t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n\t \t\t \t\tif(a[i]==0){\n\t \t\t \t\t\tout.write(i+1+\"\");\n\t \t\t \t\t\tbreak;\n\t \t\t \t\t}\n\t \t\t \t}",
"{\n\t \t\t \t\tif(a[i]==0){\n\t \t\t \t\t\tout.write(i+1+\"\");\n\t \t\t \t\t\tbreak;\n\t \t\t \t\t}\n\t \t\t \t}",
"if(a[i]==0){\n\t \t\t \t\t\tout.write(i+1+\"\");\n\t \t\t \t\t\tbreak;\n\t \t\t \t\t}",
"a[i]==0",
"a[i]",
"a",
"i",
"0",
"{\n\t \t\t \t\t\tout.write(i+1+\"\");\n\t \t\t \t\t\tbreak;\n\t \t\t \t\t}",
"out.write(i+1+\"\")",
"out.write",
"out",
"i+1+\"\"",
"i+1+\"\"",
"i",
"1",
"\"\"",
"break;",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"public class Main{\n// taking inputs\nstatic BufferedReader s1;\nstatic BufferedWriter out;\nstatic String read() throws IOException{String line=\"\";while(line.length()==0){line=s1.readLine();continue;}return line;}\nstatic int int_v (String s1){return Integer.parseInt(s1);}\nstatic long long_v(String s1){return Long.parseLong(s1);}\nstatic int[] int_arr() throws IOException{String[] a=read().split(\" \");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}\nstatic long[] long_arr() throws IOException{String[] a=read().split(\" \");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}\nstatic void assign(){s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}\n\n//......................................@uthor_Alx..............................................\nstatic int g=2;\nstatic int f(int[] a, int[] b){\n\tif(a[0]+a[1]>=g&&b[0]+b[1]>=g){\n\t\treturn a[0]-b[0];\n\t}\n\treturn b[0]+b[1]-a[0]-a[1];\n}\n public static void main(String[] args) throws IOException{\n\t \t\t assign();\n\t \t\t \tint[] a=int_arr();\n\t \t\t \tfor(int i=0;i<a.length;i++){\n\t \t\t \t\tif(a[i]==0){\n\t \t\t \t\t\tout.write(i+1+\"\");\n\t \t\t \t\t\tbreak;\n\t \t\t \t\t}\n\t \t\t \t}\n\t\n out.flush();\n\t \t\t \n\t}\n}",
"public class Main{\n// taking inputs\nstatic BufferedReader s1;\nstatic BufferedWriter out;\nstatic String read() throws IOException{String line=\"\";while(line.length()==0){line=s1.readLine();continue;}return line;}\nstatic int int_v (String s1){return Integer.parseInt(s1);}\nstatic long long_v(String s1){return Long.parseLong(s1);}\nstatic int[] int_arr() throws IOException{String[] a=read().split(\" \");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}\nstatic long[] long_arr() throws IOException{String[] a=read().split(\" \");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}\nstatic void assign(){s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}\n\n//......................................@uthor_Alx..............................................\nstatic int g=2;\nstatic int f(int[] a, int[] b){\n\tif(a[0]+a[1]>=g&&b[0]+b[1]>=g){\n\t\treturn a[0]-b[0];\n\t}\n\treturn b[0]+b[1]-a[0]-a[1];\n}\n public static void main(String[] args) throws IOException{\n\t \t\t assign();\n\t \t\t \tint[] a=int_arr();\n\t \t\t \tfor(int i=0;i<a.length;i++){\n\t \t\t \t\tif(a[i]==0){\n\t \t\t \t\t\tout.write(i+1+\"\");\n\t \t\t \t\t\tbreak;\n\t \t\t \t\t}\n\t \t\t \t}\n\t\n out.flush();\n\t \t\t \n\t}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main{
// taking inputs
static BufferedReader s1;
static BufferedWriter out;
static String read() throws IOException{String line="";while(line.length()==0){line=s1.readLine();continue;}return line;}
static int int_v (String s1){return Integer.parseInt(s1);}
static long long_v(String s1){return Long.parseLong(s1);}
static int[] int_arr() throws IOException{String[] a=read().split(" ");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}
static long[] long_arr() throws IOException{String[] a=read().split(" ");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}
static void assign(){s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}
//......................................@uthor_Alx..............................................
static int g=2;
static int f(int[] a, int[] b){
if(a[0]+a[1]>=g&&b[0]+b[1]>=g){
return a[0]-b[0];
}
return b[0]+b[1]-a[0]-a[1];
}
public static void main(String[] args) throws IOException{
assign();
int[] a=int_arr();
for(int i=0;i<a.length;i++){
if(a[i]==0){
out.write(i+1+"");
break;
}
}
out.flush();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
62,
8
],
[
62,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
22,
27
],
[
16,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
28,
38
],
[
38,
39
],
[
39,
40
],
[
28,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
43,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
9,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
]
| [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] ss = br.readLine().split(\" \");\n\t\t\tfor(int i=0; i<ss.length; i++) {\n\t\t\t\tif(ss[i].equals(\"0\")) {\n\t\t\t\t\tSystem.out.print(i+1);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(Exception e) {}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] ss = br.readLine().split(\" \");\n\t\t\tfor(int i=0; i<ss.length; i++) {\n\t\t\t\tif(ss[i].equals(\"0\")) {\n\t\t\t\t\tSystem.out.print(i+1);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(Exception e) {}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] ss = br.readLine().split(\" \");\n\t\t\tfor(int i=0; i<ss.length; i++) {\n\t\t\t\tif(ss[i].equals(\"0\")) {\n\t\t\t\t\tSystem.out.print(i+1);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(Exception e) {}\n\t}",
"main",
"{\n\t\ttry(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] ss = br.readLine().split(\" \");\n\t\t\tfor(int i=0; i<ss.length; i++) {\n\t\t\t\tif(ss[i].equals(\"0\")) {\n\t\t\t\t\tSystem.out.print(i+1);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(Exception e) {}\n\t}",
"try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] ss = br.readLine().split(\" \");\n\t\t\tfor(int i=0; i<ss.length; i++) {\n\t\t\t\tif(ss[i].equals(\"0\")) {\n\t\t\t\t\tSystem.out.print(i+1);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(Exception e) {}",
"catch(Exception e) {}",
"Exception e",
"{}",
"{\n\t\t\tString[] ss = br.readLine().split(\" \");\n\t\t\tfor(int i=0; i<ss.length; i++) {\n\t\t\t\tif(ss[i].equals(\"0\")) {\n\t\t\t\t\tSystem.out.print(i+1);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] ss = br.readLine().split(\" \");",
"ss",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for(int i=0; i<ss.length; i++) {\n\t\t\t\tif(ss[i].equals(\"0\")) {\n\t\t\t\t\tSystem.out.print(i+1);\n\t\t\t\t}\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<ss.length",
"i",
"ss.length",
"ss",
"ss.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tif(ss[i].equals(\"0\")) {\n\t\t\t\t\tSystem.out.print(i+1);\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(ss[i].equals(\"0\")) {\n\t\t\t\t\tSystem.out.print(i+1);\n\t\t\t\t}\n\t\t\t}",
"if(ss[i].equals(\"0\")) {\n\t\t\t\t\tSystem.out.print(i+1);\n\t\t\t\t}",
"ss[i].equals(\"0\")",
"ss[i].equals",
"ss[i]",
"ss",
"i",
"\"0\"",
"{\n\t\t\t\t\tSystem.out.print(i+1);\n\t\t\t\t}",
"System.out.print(i+1)",
"System.out.print",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] ss = br.readLine().split(\" \");\n\t\t\tfor(int i=0; i<ss.length; i++) {\n\t\t\t\tif(ss[i].equals(\"0\")) {\n\t\t\t\t\tSystem.out.print(i+1);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(Exception e) {}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tString[] ss = br.readLine().split(\" \");\n\t\t\tfor(int i=0; i<ss.length; i++) {\n\t\t\t\tif(ss[i].equals(\"0\")) {\n\t\t\t\t\tSystem.out.print(i+1);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(Exception e) {}\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
String[] ss = br.readLine().split(" ");
for(int i=0; i<ss.length; i++) {
if(ss[i].equals("0")) {
System.out.print(i+1);
}
}
} catch(Exception e) {}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
41,
13,
12,
13,
30,
41,
13,
17,
4,
18,
18,
13,
13,
13,
12,
13,
30,
4,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
29,
12,
13,
30,
41,
13,
20,
4,
18,
13,
4,
18,
18,
13,
13,
23,
13,
12,
13,
30,
14,
13,
30,
0,
13,
20,
30,
41,
13,
4,
18,
13,
17,
41,
13,
2,
2,
2,
13,
17,
13,
17,
41,
13,
4,
18,
4,
18,
4,
18,
4,
18,
36,
17,
17,
0,
13,
20,
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,
29,
4,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
181,
8
],
[
181,
9
],
[
9,
10
],
[
9,
11
],
[
181,
12
],
[
12,
13
],
[
12,
14
],
[
181,
15
],
[
15,
16
],
[
181,
17
],
[
17,
18
],
[
181,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
181,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
51,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
60,
69
],
[
181,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
77,
78
],
[
72,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
70,
84
],
[
84,
85
],
[
181,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
89,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
95,
102
],
[
102,
103
],
[
102,
104
],
[
106,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
106,
110
],
[
95,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
113,
122
],
[
113,
123
],
[
95,
124
],
[
124,
125
],
[
124,
126
],
[
181,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
134,
135
],
[
181,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
143,
144
],
[
181,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
149,
152
],
[
152,
153
],
[
181,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
181,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
163,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
162,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
0,
180
],
[
180,
181
],
[
180,
182
]
]
| [
"import java.io.*;// 从这行开始复制,这是第一行\nimport java.util.*;\n\n\npublic class Main {\n\n /**\n * TODO 提交的时候一定要设置为 true\n */\n private boolean submitFlag = true;\n\n private void solve() {\n int ans = 0;\n\n\n System.out.println(ans);\n }\n\n\n private void run() throws IOException {\n setReader();\n\n //TODO 从这里开始读入题目输入\n int numberOfTestcases = 5;\n\n for (int t = 0; t < numberOfTestcases; t++) {\n long a = nextLong();\n if (a == 0) {\n System.out.println(t + 1);\n return;\n }\n }\n\n }\n\n\n// main以及输入输出========================================================================\n\n public static void main(String[] args) throws IOException {\n Main solution = new Main();\n solution.run();\n solution.reader.close();\n }\n\n /**\n * TODO 存档时,改一下moduleName\n */\n String moduleName = \"atcoder-race\";\n\n /**\n * 注意不同题目这里路径要设一下\n *\n * @throws IOException\n */\n private void setReader() throws IOException {\n if (submitFlag) {\n reader = new BufferedReader(new InputStreamReader(System.in));\n } else {\n String projectPath = System.getProperty(\"user.dir\");\n String modulePath = projectPath + \"/\" + moduleName + \"/src/main/java/\";\n String className = this.getClass().getPackage().getName().replace(\".\", \"\\\\\");\n reader = new BufferedReader(new FileReader(modulePath + className + \"\\\\input.txt\"));\n }\n }\n\n private BufferedReader reader;\n private StringTokenizer tokenizer;\n\n private int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n\n private long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n\n private double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n\n private String next() throws IOException {\n return nextToken();\n }\n\n private String nextToken() throws IOException {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n return tokenizer.nextToken();\n }\n}",
"import java.io.*;// 从这行开始复制,这是第一行",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n /**\n * TODO 提交的时候一定要设置为 true\n */\n private boolean submitFlag = true;\n\n private void solve() {\n int ans = 0;\n\n\n System.out.println(ans);\n }\n\n\n private void run() throws IOException {\n setReader();\n\n //TODO 从这里开始读入题目输入\n int numberOfTestcases = 5;\n\n for (int t = 0; t < numberOfTestcases; t++) {\n long a = nextLong();\n if (a == 0) {\n System.out.println(t + 1);\n return;\n }\n }\n\n }\n\n\n// main以及输入输出========================================================================\n\n public static void main(String[] args) throws IOException {\n Main solution = new Main();\n solution.run();\n solution.reader.close();\n }\n\n /**\n * TODO 存档时,改一下moduleName\n */\n String moduleName = \"atcoder-race\";\n\n /**\n * 注意不同题目这里路径要设一下\n *\n * @throws IOException\n */\n private void setReader() throws IOException {\n if (submitFlag) {\n reader = new BufferedReader(new InputStreamReader(System.in));\n } else {\n String projectPath = System.getProperty(\"user.dir\");\n String modulePath = projectPath + \"/\" + moduleName + \"/src/main/java/\";\n String className = this.getClass().getPackage().getName().replace(\".\", \"\\\\\");\n reader = new BufferedReader(new FileReader(modulePath + className + \"\\\\input.txt\"));\n }\n }\n\n private BufferedReader reader;\n private StringTokenizer tokenizer;\n\n private int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n\n private long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n\n private double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n\n private String next() throws IOException {\n return nextToken();\n }\n\n private String nextToken() throws IOException {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n return tokenizer.nextToken();\n }\n}",
"Main",
"/**\n * TODO 提交的时候一定要设置为 true\n */\n private boolean submitFlag = true;",
"submitFlag",
"true",
"/**\n * TODO 存档时,改一下moduleName\n */\n String moduleName = \"atcoder-race\";",
"moduleName",
"\"atcoder-race\"",
"private BufferedReader reader;",
"reader",
"private StringTokenizer tokenizer;",
"tokenizer",
"private void solve() {\n int ans = 0;\n\n\n System.out.println(ans);\n }",
"solve",
"{\n int ans = 0;\n\n\n System.out.println(ans);\n }",
"int ans = 0;",
"ans",
"0",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"private void run() throws IOException {\n setReader();\n\n //TODO 从这里开始读入题目输入\n int numberOfTestcases = 5;\n\n for (int t = 0; t < numberOfTestcases; t++) {\n long a = nextLong();\n if (a == 0) {\n System.out.println(t + 1);\n return;\n }\n }\n\n }",
"run",
"{\n setReader();\n\n //TODO 从这里开始读入题目输入\n int numberOfTestcases = 5;\n\n for (int t = 0; t < numberOfTestcases; t++) {\n long a = nextLong();\n if (a == 0) {\n System.out.println(t + 1);\n return;\n }\n }\n\n }",
"setReader()",
"setReader",
"int numberOfTestcases = 5;",
"numberOfTestcases",
"5",
"for (int t = 0; t < numberOfTestcases; t++) {\n long a = nextLong();\n if (a == 0) {\n System.out.println(t + 1);\n return;\n }\n }",
"int t = 0;",
"int t = 0;",
"t",
"0",
"t < numberOfTestcases",
"t",
"numberOfTestcases",
"t++",
"t++",
"t",
"{\n long a = nextLong();\n if (a == 0) {\n System.out.println(t + 1);\n return;\n }\n }",
"{\n long a = nextLong();\n if (a == 0) {\n System.out.println(t + 1);\n return;\n }\n }",
"long a = nextLong();",
"a",
"nextLong()",
"nextLong",
"if (a == 0) {\n System.out.println(t + 1);\n return;\n }",
"a == 0",
"a",
"0",
"{\n System.out.println(t + 1);\n return;\n }",
"System.out.println(t + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"t + 1",
"t",
"1",
"return;",
"public static void main(String[] args) throws IOException {\n Main solution = new Main();\n solution.run();\n solution.reader.close();\n }",
"main",
"{\n Main solution = new Main();\n solution.run();\n solution.reader.close();\n }",
"Main solution = new Main();",
"solution",
"new Main()",
"solution.run()",
"solution.run",
"solution",
"solution.reader.close()",
"solution.reader.close",
"solution.reader",
"solution",
"solution.reader",
"String[] args",
"args",
"/**\n * 注意不同题目这里路径要设一下\n *\n * @throws IOException\n */\n private void setReader() throws IOException {\n if (submitFlag) {\n reader = new BufferedReader(new InputStreamReader(System.in));\n } else {\n String projectPath = System.getProperty(\"user.dir\");\n String modulePath = projectPath + \"/\" + moduleName + \"/src/main/java/\";\n String className = this.getClass().getPackage().getName().replace(\".\", \"\\\\\");\n reader = new BufferedReader(new FileReader(modulePath + className + \"\\\\input.txt\"));\n }\n }",
"setReader",
"{\n if (submitFlag) {\n reader = new BufferedReader(new InputStreamReader(System.in));\n } else {\n String projectPath = System.getProperty(\"user.dir\");\n String modulePath = projectPath + \"/\" + moduleName + \"/src/main/java/\";\n String className = this.getClass().getPackage().getName().replace(\".\", \"\\\\\");\n reader = new BufferedReader(new FileReader(modulePath + className + \"\\\\input.txt\"));\n }\n }",
"if (submitFlag) {\n reader = new BufferedReader(new InputStreamReader(System.in));\n } else {\n String projectPath = System.getProperty(\"user.dir\");\n String modulePath = projectPath + \"/\" + moduleName + \"/src/main/java/\";\n String className = this.getClass().getPackage().getName().replace(\".\", \"\\\\\");\n reader = new BufferedReader(new FileReader(modulePath + className + \"\\\\input.txt\"));\n }",
"submitFlag",
"{\n reader = new BufferedReader(new InputStreamReader(System.in));\n }",
"reader = new BufferedReader(new InputStreamReader(System.in))",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"{\n String projectPath = System.getProperty(\"user.dir\");\n String modulePath = projectPath + \"/\" + moduleName + \"/src/main/java/\";\n String className = this.getClass().getPackage().getName().replace(\".\", \"\\\\\");\n reader = new BufferedReader(new FileReader(modulePath + className + \"\\\\input.txt\"));\n }",
"String projectPath = System.getProperty(\"user.dir\");",
"projectPath",
"System.getProperty(\"user.dir\")",
"System.getProperty",
"System",
"\"user.dir\"",
"String modulePath = projectPath + \"/\" + moduleName + \"/src/main/java/\";",
"modulePath",
"projectPath + \"/\" + moduleName + \"/src/main/java/\"",
"moduleName",
"projectPath + \"/\" + moduleName + \"/src/main/java/\"",
"projectPath",
"\"/\"",
"moduleName",
"\"/src/main/java/\"",
"String className = this.getClass().getPackage().getName().replace(\".\", \"\\\\\");",
"className",
"this.getClass().getPackage().getName().replace(\".\", \"\\\\\")",
"this.getClass().getPackage().getName().replace",
"this.getClass().getPackage().getName()",
"this.getClass().getPackage().getName",
"this.getClass().getPackage()",
"this.getClass().getPackage",
"this.getClass()",
"this.getClass",
"this",
"\".\"",
"\"\\\\\"",
"reader = new BufferedReader(new FileReader(modulePath + className + \"\\\\input.txt\"))",
"reader",
"new BufferedReader(new FileReader(modulePath + className + \"\\\\input.txt\"))",
"private int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }",
"nextInt",
"{\n return Integer.parseInt(nextToken());\n }",
"return Integer.parseInt(nextToken());",
"Integer.parseInt(nextToken())",
"Integer.parseInt",
"Integer",
"nextToken()",
"nextToken",
"private long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }",
"nextLong",
"{\n return Long.parseLong(nextToken());\n }",
"return Long.parseLong(nextToken());",
"Long.parseLong(nextToken())",
"Long.parseLong",
"Long",
"nextToken()",
"nextToken",
"private double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }",
"nextDouble",
"{\n return Double.parseDouble(nextToken());\n }",
"return Double.parseDouble(nextToken());",
"Double.parseDouble(nextToken())",
"Double.parseDouble",
"Double",
"nextToken()",
"nextToken",
"private String next() throws IOException {\n return nextToken();\n }",
"next",
"{\n return nextToken();\n }",
"return nextToken();",
"nextToken()",
"nextToken",
"private String nextToken() throws IOException {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n return tokenizer.nextToken();\n }",
"nextToken",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n return tokenizer.nextToken();\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public class Main {\n\n /**\n * TODO 提交的时候一定要设置为 true\n */\n private boolean submitFlag = true;\n\n private void solve() {\n int ans = 0;\n\n\n System.out.println(ans);\n }\n\n\n private void run() throws IOException {\n setReader();\n\n //TODO 从这里开始读入题目输入\n int numberOfTestcases = 5;\n\n for (int t = 0; t < numberOfTestcases; t++) {\n long a = nextLong();\n if (a == 0) {\n System.out.println(t + 1);\n return;\n }\n }\n\n }\n\n\n// main以及输入输出========================================================================\n\n public static void main(String[] args) throws IOException {\n Main solution = new Main();\n solution.run();\n solution.reader.close();\n }\n\n /**\n * TODO 存档时,改一下moduleName\n */\n String moduleName = \"atcoder-race\";\n\n /**\n * 注意不同题目这里路径要设一下\n *\n * @throws IOException\n */\n private void setReader() throws IOException {\n if (submitFlag) {\n reader = new BufferedReader(new InputStreamReader(System.in));\n } else {\n String projectPath = System.getProperty(\"user.dir\");\n String modulePath = projectPath + \"/\" + moduleName + \"/src/main/java/\";\n String className = this.getClass().getPackage().getName().replace(\".\", \"\\\\\");\n reader = new BufferedReader(new FileReader(modulePath + className + \"\\\\input.txt\"));\n }\n }\n\n private BufferedReader reader;\n private StringTokenizer tokenizer;\n\n private int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n\n private long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n\n private double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n\n private String next() throws IOException {\n return nextToken();\n }\n\n private String nextToken() throws IOException {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n return tokenizer.nextToken();\n }\n}",
"public class Main {\n\n /**\n * TODO 提交的时候一定要设置为 true\n */\n private boolean submitFlag = true;\n\n private void solve() {\n int ans = 0;\n\n\n System.out.println(ans);\n }\n\n\n private void run() throws IOException {\n setReader();\n\n //TODO 从这里开始读入题目输入\n int numberOfTestcases = 5;\n\n for (int t = 0; t < numberOfTestcases; t++) {\n long a = nextLong();\n if (a == 0) {\n System.out.println(t + 1);\n return;\n }\n }\n\n }\n\n\n// main以及输入输出========================================================================\n\n public static void main(String[] args) throws IOException {\n Main solution = new Main();\n solution.run();\n solution.reader.close();\n }\n\n /**\n * TODO 存档时,改一下moduleName\n */\n String moduleName = \"atcoder-race\";\n\n /**\n * 注意不同题目这里路径要设一下\n *\n * @throws IOException\n */\n private void setReader() throws IOException {\n if (submitFlag) {\n reader = new BufferedReader(new InputStreamReader(System.in));\n } else {\n String projectPath = System.getProperty(\"user.dir\");\n String modulePath = projectPath + \"/\" + moduleName + \"/src/main/java/\";\n String className = this.getClass().getPackage().getName().replace(\".\", \"\\\\\");\n reader = new BufferedReader(new FileReader(modulePath + className + \"\\\\input.txt\"));\n }\n }\n\n private BufferedReader reader;\n private StringTokenizer tokenizer;\n\n private int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n\n private long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n\n private double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n\n private String next() throws IOException {\n return nextToken();\n }\n\n private String nextToken() throws IOException {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n return tokenizer.nextToken();\n }\n}",
"Main"
]
| import java.io.*;// 从这行开始复制,这是第一行
import java.util.*;
public class Main {
/**
* TODO 提交的时候一定要设置为 true
*/
private boolean submitFlag = true;
private void solve() {
int ans = 0;
System.out.println(ans);
}
private void run() throws IOException {
setReader();
//TODO 从这里开始读入题目输入
int numberOfTestcases = 5;
for (int t = 0; t < numberOfTestcases; t++) {
long a = nextLong();
if (a == 0) {
System.out.println(t + 1);
return;
}
}
}
// main以及输入输出========================================================================
public static void main(String[] args) throws IOException {
Main solution = new Main();
solution.run();
solution.reader.close();
}
/**
* TODO 存档时,改一下moduleName
*/
String moduleName = "atcoder-race";
/**
* 注意不同题目这里路径要设一下
*
* @throws IOException
*/
private void setReader() throws IOException {
if (submitFlag) {
reader = new BufferedReader(new InputStreamReader(System.in));
} else {
String projectPath = System.getProperty("user.dir");
String modulePath = projectPath + "/" + moduleName + "/src/main/java/";
String className = this.getClass().getPackage().getName().replace(".", "\\");
reader = new BufferedReader(new FileReader(modulePath + className + "\\input.txt"));
}
}
private BufferedReader reader;
private StringTokenizer tokenizer;
private int nextInt() throws IOException {
return Integer.parseInt(nextToken());
}
private long nextLong() throws IOException {
return Long.parseLong(nextToken());
}
private double nextDouble() throws IOException {
return Double.parseDouble(nextToken());
}
private String next() throws IOException {
return nextToken();
}
private String nextToken() throws IOException {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
tokenizer = new StringTokenizer(reader.readLine());
}
return tokenizer.nextToken();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
4,
18,
13,
17,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
51,
8
],
[
51,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
23,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
11,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
42,
47
],
[
9,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
]
| [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> list=new ArrayList<>();\n for(int i=0;i<5;i++){\n list.add(sc.nextInt());\n }\n System.out.println(list.indexOf(0)+1);\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> list=new ArrayList<>();\n for(int i=0;i<5;i++){\n list.add(sc.nextInt());\n }\n System.out.println(list.indexOf(0)+1);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> list=new ArrayList<>();\n for(int i=0;i<5;i++){\n list.add(sc.nextInt());\n }\n System.out.println(list.indexOf(0)+1);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> list=new ArrayList<>();\n for(int i=0;i<5;i++){\n list.add(sc.nextInt());\n }\n System.out.println(list.indexOf(0)+1);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> list=new ArrayList<>();",
"list",
"new ArrayList<>()",
"for(int i=0;i<5;i++){\n list.add(sc.nextInt());\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n list.add(sc.nextInt());\n }",
"{\n list.add(sc.nextInt());\n }",
"list.add(sc.nextInt())",
"list.add",
"list",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(list.indexOf(0)+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"list.indexOf(0)+1",
"list.indexOf(0)",
"list.indexOf",
"list",
"0",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> list=new ArrayList<>();\n for(int i=0;i<5;i++){\n list.add(sc.nextInt());\n }\n System.out.println(list.indexOf(0)+1);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> list=new ArrayList<>();\n for(int i=0;i<5;i++){\n list.add(sc.nextInt());\n }\n System.out.println(list.indexOf(0)+1);\n }\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<Integer> list=new ArrayList<>();
for(int i=0;i<5;i++){
list.add(sc.nextInt());
}
System.out.println(list.indexOf(0)+1);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
14,
2,
18,
13,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
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
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
23,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
17,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
33,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
45,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
64,
73
],
[
15,
74
],
[
74,
75
],
[
13,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
76,
80
],
[
80,
81
],
[
76,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
76,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
91,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
101,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
90,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
76,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
123,
124
],
[
76,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
132,
133
],
[
76,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
138,
141
],
[
141,
142
],
[
76,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
145,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
149,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
145,
162
],
[
162,
163
]
]
| [
"\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.*;\n\nclass Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n public FastReader() {\n br = new BufferedReader(new\n 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 public static void main(String[] args) {\n FastReader in = new FastReader();\n String[] s =in.nextLine().split(\" \");\n int[] a = new int[5];\n for (int i=0;i<5;i++){\n a[i] = Integer.parseInt(s[i]);\n if(a[i]!=i+1){\n System.out.println(i+1);\n break;\n }\n }\n\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"class Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n public FastReader() {\n br = new BufferedReader(new\n 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 public static void main(String[] args) {\n FastReader in = new FastReader();\n String[] s =in.nextLine().split(\" \");\n int[] a = new int[5];\n for (int i=0;i<5;i++){\n a[i] = Integer.parseInt(s[i]);\n if(a[i]!=i+1){\n System.out.println(i+1);\n break;\n }\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n FastReader in = new FastReader();\n String[] s =in.nextLine().split(\" \");\n int[] a = new int[5];\n for (int i=0;i<5;i++){\n a[i] = Integer.parseInt(s[i]);\n if(a[i]!=i+1){\n System.out.println(i+1);\n break;\n }\n }\n\n }",
"main",
"{\n FastReader in = new FastReader();\n String[] s =in.nextLine().split(\" \");\n int[] a = new int[5];\n for (int i=0;i<5;i++){\n a[i] = Integer.parseInt(s[i]);\n if(a[i]!=i+1){\n System.out.println(i+1);\n break;\n }\n }\n\n }",
"FastReader in = new FastReader();",
"in",
"new FastReader()",
"String[] s =in.nextLine().split(\" \");",
"s",
"in.nextLine().split(\" \")",
"in.nextLine().split",
"in.nextLine()",
"in.nextLine",
"in",
"\" \"",
"int[] a = new int[5];",
"a",
"new int[5]",
"5",
"for (int i=0;i<5;i++){\n a[i] = Integer.parseInt(s[i]);\n if(a[i]!=i+1){\n System.out.println(i+1);\n break;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n a[i] = Integer.parseInt(s[i]);\n if(a[i]!=i+1){\n System.out.println(i+1);\n break;\n }\n }",
"{\n a[i] = Integer.parseInt(s[i]);\n if(a[i]!=i+1){\n System.out.println(i+1);\n break;\n }\n }",
"a[i] = Integer.parseInt(s[i])",
"a[i]",
"a",
"i",
"Integer.parseInt(s[i])",
"Integer.parseInt",
"Integer",
"s[i]",
"s",
"i",
"if(a[i]!=i+1){\n System.out.println(i+1);\n break;\n }",
"a[i]!=i+1",
"a[i]",
"a",
"i",
"i+1",
"i",
"1",
"{\n System.out.println(i+1);\n break;\n }",
"System.out.println(i+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"break;",
"String[] args",
"args",
"static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n public FastReader() {\n br = new BufferedReader(new\n 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 }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"FastReader",
"{\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"br = new BufferedReader(new\n InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n 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"
]
|
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.*;
class Main {
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
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;
}
}
public static void main(String[] args) {
FastReader in = new FastReader();
String[] s =in.nextLine().split(" ");
int[] a = new int[5];
for (int i=0;i<5;i++){
a[i] = Integer.parseInt(s[i]);
if(a[i]!=i+1){
System.out.println(i+1);
break;
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
13,
9,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
13,
3,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
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,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
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
],
[
139,
14
],
[
139,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
35,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
50,
57
],
[
15,
58
],
[
58,
59
],
[
139,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
71,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
76,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
70,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
60,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
98,
99
],
[
60,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
112,
113
],
[
112,
114
],
[
107,
115
],
[
115,
116
],
[
116,
117
],
[
107,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
123,
124
],
[
102,
125
],
[
125,
126
],
[
100,
127
],
[
127,
128
],
[
60,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
136,
137
],
[
0,
138
],
[
138,
139
],
[
138,
140
]
]
| [
"//package com.atcoder.contest170.a;\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int x;\n for(int i=1; i<=5; ++i)\n {\n x = fs.nextInt();\n if(x == i) continue;\n if(x == 0) {\n System.out.println(i);\n break;\n }\n }\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\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.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int x;\n for(int i=1; i<=5; ++i)\n {\n x = fs.nextInt();\n if(x == i) continue;\n if(x == 0) {\n System.out.println(i);\n break;\n }\n }\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int x;\n for(int i=1; i<=5; ++i)\n {\n x = fs.nextInt();\n if(x == i) continue;\n if(x == 0) {\n System.out.println(i);\n break;\n }\n }\n }",
"main",
"{\n FastScanner fs = new FastScanner();\n int x;\n for(int i=1; i<=5; ++i)\n {\n x = fs.nextInt();\n if(x == i) continue;\n if(x == 0) {\n System.out.println(i);\n break;\n }\n }\n }",
"FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"int x;",
"x",
"for(int i=1; i<=5; ++i)\n {\n x = fs.nextInt();\n if(x == i) continue;\n if(x == 0) {\n System.out.println(i);\n break;\n }\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=5",
"i",
"5",
"++i",
"++i",
"i",
"{\n x = fs.nextInt();\n if(x == i) continue;\n if(x == 0) {\n System.out.println(i);\n break;\n }\n }",
"{\n x = fs.nextInt();\n if(x == i) continue;\n if(x == 0) {\n System.out.println(i);\n break;\n }\n }",
"x = fs.nextInt()",
"x",
"fs.nextInt()",
"fs.nextInt",
"fs",
"if(x == i) continue;",
"x == i",
"x",
"i",
"continue;",
"if(x == 0) {\n System.out.println(i);\n break;\n }",
"x == 0",
"x",
"0",
"{\n System.out.println(i);\n break;\n }",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"break;",
"String[] args",
"args",
"static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }",
"FastScanner",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st = new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"next",
"{\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"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",
"int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }",
"readArray",
"{\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) a[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextInt();",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"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",
"public class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int x;\n for(int i=1; i<=5; ++i)\n {\n x = fs.nextInt();\n if(x == i) continue;\n if(x == 0) {\n System.out.println(i);\n break;\n }\n }\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int x;\n for(int i=1; i<=5; ++i)\n {\n x = fs.nextInt();\n if(x == i) continue;\n if(x == 0) {\n System.out.println(i);\n break;\n }\n }\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main"
]
| //package com.atcoder.contest170.a;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastScanner fs = new FastScanner();
int x;
for(int i=1; i<=5; ++i)
{
x = fs.nextInt();
if(x == i) continue;
if(x == 0) {
System.out.println(i);
break;
}
}
}
static class FastScanner {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer("");
String next() {
while (!st.hasMoreTokens())
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
int[] readArray(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++) a[i] = nextInt();
return a;
}
long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
76,
8
],
[
76,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
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
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
11,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
9,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
]
| [
"import java.util.*;\nimport java.util.Arrays;\npublic class Main{\n public static void main(String[] args){\n int [] a = new int [5];\n int x=0 ;\n Scanner sc = new Scanner(System.in);\n for(int i=0;i<5;i++){\n a[i] = sc.nextInt();\n \n }\n for(int i =0;i<5;i++){\n if(a[i]==0){\n x = i+1;\n }\n }\n System.out.println(x);\n\n \n \n }\n \n \n \n \n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main{\n public static void main(String[] args){\n int [] a = new int [5];\n int x=0 ;\n Scanner sc = new Scanner(System.in);\n for(int i=0;i<5;i++){\n a[i] = sc.nextInt();\n \n }\n for(int i =0;i<5;i++){\n if(a[i]==0){\n x = i+1;\n }\n }\n System.out.println(x);\n\n \n \n }\n \n \n \n \n}",
"Main",
"public static void main(String[] args){\n int [] a = new int [5];\n int x=0 ;\n Scanner sc = new Scanner(System.in);\n for(int i=0;i<5;i++){\n a[i] = sc.nextInt();\n \n }\n for(int i =0;i<5;i++){\n if(a[i]==0){\n x = i+1;\n }\n }\n System.out.println(x);\n\n \n \n }",
"main",
"{\n int [] a = new int [5];\n int x=0 ;\n Scanner sc = new Scanner(System.in);\n for(int i=0;i<5;i++){\n a[i] = sc.nextInt();\n \n }\n for(int i =0;i<5;i++){\n if(a[i]==0){\n x = i+1;\n }\n }\n System.out.println(x);\n\n \n \n }",
"int [] a = new int [5];",
"a",
"new int [5]",
"5",
"int x=0 ;",
"x",
"0",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i=0;i<5;i++){\n a[i] = sc.nextInt();\n \n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n a[i] = sc.nextInt();\n \n }",
"{\n a[i] = sc.nextInt();\n \n }",
"a[i] = sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i =0;i<5;i++){\n if(a[i]==0){\n x = i+1;\n }\n }",
"int i =0;",
"int i =0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if(a[i]==0){\n x = i+1;\n }\n }",
"{\n if(a[i]==0){\n x = i+1;\n }\n }",
"if(a[i]==0){\n x = i+1;\n }",
"a[i]==0",
"a[i]",
"a",
"i",
"0",
"{\n x = i+1;\n }",
"x = i+1",
"x",
"i+1",
"i",
"1",
"System.out.println(x)",
"System.out.println",
"System.out",
"System",
"System.out",
"x",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n int [] a = new int [5];\n int x=0 ;\n Scanner sc = new Scanner(System.in);\n for(int i=0;i<5;i++){\n a[i] = sc.nextInt();\n \n }\n for(int i =0;i<5;i++){\n if(a[i]==0){\n x = i+1;\n }\n }\n System.out.println(x);\n\n \n \n }\n \n \n \n \n}",
"public class Main{\n public static void main(String[] args){\n int [] a = new int [5];\n int x=0 ;\n Scanner sc = new Scanner(System.in);\n for(int i=0;i<5;i++){\n a[i] = sc.nextInt();\n \n }\n for(int i =0;i<5;i++){\n if(a[i]==0){\n x = i+1;\n }\n }\n System.out.println(x);\n\n \n \n }\n \n \n \n \n}",
"Main"
]
| import java.util.*;
import java.util.Arrays;
public class Main{
public static void main(String[] args){
int [] a = new int [5];
int x=0 ;
Scanner sc = new Scanner(System.in);
for(int i=0;i<5;i++){
a[i] = sc.nextInt();
}
for(int i =0;i<5;i++){
if(a[i]==0){
x = i+1;
}
}
System.out.println(x);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
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
],
[
63,
11
],
[
63,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
26,
36
],
[
36,
37
],
[
37,
38
],
[
26,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
42,
49
],
[
41,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
50,
59
],
[
12,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String args[]) throws IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString array[] = br.readLine().split(\" \");\n\n\tfor (int i = 0; i < array.length; i++) {\n\t if (Integer.parseInt(array[i]) == 0) {\n\t\tSystem.out.println(i + 1);\n\t\tbreak;\n\t }\n\t}\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String args[]) throws IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString array[] = br.readLine().split(\" \");\n\n\tfor (int i = 0; i < array.length; i++) {\n\t if (Integer.parseInt(array[i]) == 0) {\n\t\tSystem.out.println(i + 1);\n\t\tbreak;\n\t }\n\t}\n }\n}",
"Main",
"public static void main(String args[]) throws IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString array[] = br.readLine().split(\" \");\n\n\tfor (int i = 0; i < array.length; i++) {\n\t if (Integer.parseInt(array[i]) == 0) {\n\t\tSystem.out.println(i + 1);\n\t\tbreak;\n\t }\n\t}\n }",
"main",
"{\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString array[] = br.readLine().split(\" \");\n\n\tfor (int i = 0; i < array.length; i++) {\n\t if (Integer.parseInt(array[i]) == 0) {\n\t\tSystem.out.println(i + 1);\n\t\tbreak;\n\t }\n\t}\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String array[] = br.readLine().split(\" \");",
"array",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for (int i = 0; i < array.length; i++) {\n\t if (Integer.parseInt(array[i]) == 0) {\n\t\tSystem.out.println(i + 1);\n\t\tbreak;\n\t }\n\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t if (Integer.parseInt(array[i]) == 0) {\n\t\tSystem.out.println(i + 1);\n\t\tbreak;\n\t }\n\t}",
"{\n\t if (Integer.parseInt(array[i]) == 0) {\n\t\tSystem.out.println(i + 1);\n\t\tbreak;\n\t }\n\t}",
"if (Integer.parseInt(array[i]) == 0) {\n\t\tSystem.out.println(i + 1);\n\t\tbreak;\n\t }",
"Integer.parseInt(array[i]) == 0",
"Integer.parseInt(array[i])",
"Integer.parseInt",
"Integer",
"array[i]",
"array",
"i",
"0",
"{\n\t\tSystem.out.println(i + 1);\n\t\tbreak;\n\t }",
"System.out.println(i + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"break;",
"String args[]",
"args",
"public class Main {\n public static void main(String args[]) throws IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString array[] = br.readLine().split(\" \");\n\n\tfor (int i = 0; i < array.length; i++) {\n\t if (Integer.parseInt(array[i]) == 0) {\n\t\tSystem.out.println(i + 1);\n\t\tbreak;\n\t }\n\t}\n }\n}",
"public class Main {\n public static void main(String args[]) throws IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString array[] = br.readLine().split(\" \");\n\n\tfor (int i = 0; i < array.length; i++) {\n\t if (Integer.parseInt(array[i]) == 0) {\n\t\tSystem.out.println(i + 1);\n\t\tbreak;\n\t }\n\t}\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String array[] = br.readLine().split(" ");
for (int i = 0; i < array.length; i++) {
if (Integer.parseInt(array[i]) == 0) {
System.out.println(i + 1);
break;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
17,
12,
13,
30,
41,
13,
4,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
29,
12,
13,
30,
0,
13,
20,
41,
13,
4,
18,
13,
17,
14,
2,
13,
17,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
41,
13,
17,
42,
13,
30,
4,
13,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
17,
14,
2,
4,
18,
13,
17,
30,
4,
18,
13,
4,
18,
18,
13,
13,
17,
30,
0,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
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,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
240,
8
],
[
240,
9
],
[
9,
10
],
[
240,
11
],
[
11,
12
],
[
11,
13
],
[
240,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
16,
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
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
41,
50
],
[
240,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
53,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
68,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
53,
78
],
[
78,
79
],
[
78,
80
],
[
53,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
86,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
92,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
98,
102
],
[
97,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
103,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
97,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
51,
117
],
[
117,
118
],
[
240,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
122,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
132,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
121,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
240,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
150,
153
],
[
153,
154
],
[
240,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
159,
162
],
[
162,
163
],
[
240,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
171,
172
],
[
240,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
180,
185
],
[
185,
186
],
[
185,
187
],
[
180,
188
],
[
188,
189
],
[
189,
190
],
[
180,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
192,
196
],
[
196,
197
],
[
175,
198
],
[
198,
199
],
[
173,
200
],
[
200,
201
],
[
240,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
240,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
212,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
217,
222
],
[
222,
223
],
[
222,
224
],
[
217,
225
],
[
225,
226
],
[
226,
227
],
[
217,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
229,
233
],
[
233,
234
],
[
212,
235
],
[
235,
236
],
[
210,
237
],
[
237,
238
],
[
0,
239
],
[
239,
240
],
[
239,
241
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tint[] x = na(5);\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tint[] x = na(5);\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"Main",
"//Switch input source (stdin/file)\n\tprivate static BufferedReader br;",
"br",
"//Input read utility\n\tprivate static StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"private static void solve(){\n\t\t//Implement solution here.\n\t\tint[] x = na(5);\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}",
"solve",
"{\n\t\t//Implement solution here.\n\t\tint[] x = na(5);\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}",
"int[] x = na(5);",
"x",
"na(5)",
"na",
"5",
"for(int i = 0; i < 5; i++) {\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"if(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\treturn;\n\t\t\t}",
"x[i] == 0",
"x[i]",
"x",
"i",
"0",
"{\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\treturn;\n\t\t\t}",
"System.out.println(i + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"return;",
"public static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}",
"main",
"{\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String debugDataPath = System.getenv(\"DD_PATH\");",
"debugDataPath",
"System.getenv(\"DD_PATH\")",
"System.getenv",
"System",
"\"DD_PATH\"",
"if(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"debugDataPath != null",
"debugDataPath",
"null",
"{\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"try{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}",
"br = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))))",
"br",
"new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))))",
"boolean hasNext = true;",
"hasNext",
"true",
"while(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}",
"hasNext",
"{\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}",
"solve()",
"solve",
"try{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}",
"br.mark(1)",
"br.mark",
"br",
"1",
"if(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}",
"br.read() > 0",
"br.read()",
"br.read",
"br",
"0",
"{\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t}",
"br.reset()",
"br.reset",
"br",
"System.out.println(\"---\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"---\"",
"{\n\t\t\t\t\thasNext = false;\n\t\t\t\t}",
"hasNext = false",
"hasNext",
"false",
"String[] args",
"args",
"public static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}",
"next",
"{\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"try {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t}",
"tokenizer = new StringTokenizer(br.readLine())",
"tokenizer",
"new StringTokenizer(br.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}",
"ni",
"{\n\t\treturn Integer.parseInt(next());\n\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}",
"nl",
"{\n\t\treturn Long.parseLong(next());\n\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}",
"nd",
"{\n\t\treturn Double.parseDouble(next());\n\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}",
"na",
"{\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = ni();",
"a[i] = ni()",
"a[i]",
"a",
"i",
"ni()",
"ni",
"return a;",
"a",
"int n",
"n",
"//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}",
"ns",
"{\n\t\treturn next().toCharArray();\n\t}",
"return next().toCharArray();",
"next().toCharArray()",
"next().toCharArray",
"next()",
"next",
"//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}",
"nal",
"{\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nl();",
"a[i] = nl()",
"a[i]",
"a",
"i",
"nl()",
"nl",
"return a;",
"a",
"int n",
"n",
"public class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tint[] x = na(5);\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"public class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tint[] x = na(5);\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
private static void solve(){
//Implement solution here.
int[] x = na(5);
for(int i = 0; i < 5; i++) {
if(x[i] == 0) {
System.out.println(i + 1);
return;
}
}
}
//Switch input source (stdin/file)
private static BufferedReader br;
public static void main(String[] args){
br = new BufferedReader(new InputStreamReader(System.in));
String debugDataPath = System.getenv("DD_PATH");
if(debugDataPath != null){
try{
br = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));
}catch(Exception e){
throw new RuntimeException(e);
}
}
boolean hasNext = true;
while(hasNext){
solve();
try{
br.mark(1);
if(br.read() > 0){
br.reset();
System.out.println("---");
} else {
hasNext = false;
}
}catch(Exception e){
throw new RuntimeException(e);
}
}
}
//Input read utility
private static StringTokenizer tokenizer = null;
public static String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(br.readLine());
} catch (Exception e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
//Get next single int
private static int ni() {
return Integer.parseInt(next());
}
//Get next single long
private static long nl() {
return Long.parseLong(next());
}
//Get next single double
private static double nd() {
return Double.parseDouble(next());
}
//Get next int array from one line
private static int[] na(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = ni();
return a;
}
//Get next char array from one line
private static char[] ns() {
return next().toCharArray();
}
//Get next long array from one line
private static long[] nal(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nl();
return a;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
14,
2,
18,
13,
13,
17,
30,
0,
13,
2,
13,
17,
3,
4,
18,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
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,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
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
],
[
155,
14
],
[
155,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
17,
30
],
[
30,
31
],
[
30,
32
],
[
17,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
33,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
17,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
17,
62
],
[
62,
63
],
[
63,
64
],
[
15,
65
],
[
65,
66
],
[
155,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
78,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
83,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
77,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
67,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
105,
106
],
[
67,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
119,
120
],
[
119,
121
],
[
114,
122
],
[
122,
123
],
[
123,
124
],
[
114,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
109,
132
],
[
132,
133
],
[
107,
134
],
[
134,
135
],
[
67,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
143,
144
],
[
67,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
149,
152
],
[
152,
153
],
[
0,
154
],
[
154,
155
],
[
154,
156
]
]
| [
"/* package codechef; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\nimport java.math.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\npublic 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\tPrintWriter out=new PrintWriter(System.out);\n\tFastScanner fs=new FastScanner();\n\t\tint a[]=fs.readArray(5);\n\tint x=0;\n\tfor(int i=0;i<5;i++)\n\tif(a[i]==0)\n\t{\n\t x=i+1;\n\t break;\n\t}\n\tout.println(x);\n\tout.close();\n\t\t\n\t\n\t}\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tdouble nextDouble(){\n\t\t return Double.parseDouble(next());\n\t\t}\n}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public 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\tPrintWriter out=new PrintWriter(System.out);\n\tFastScanner fs=new FastScanner();\n\t\tint a[]=fs.readArray(5);\n\tint x=0;\n\tfor(int i=0;i<5;i++)\n\tif(a[i]==0)\n\t{\n\t x=i+1;\n\t break;\n\t}\n\tout.println(x);\n\tout.close();\n\t\t\n\t\n\t}\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tdouble nextDouble(){\n\t\t return Double.parseDouble(next());\n\t\t}\n}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\t\tPrintWriter out=new PrintWriter(System.out);\n\tFastScanner fs=new FastScanner();\n\t\tint a[]=fs.readArray(5);\n\tint x=0;\n\tfor(int i=0;i<5;i++)\n\tif(a[i]==0)\n\t{\n\t x=i+1;\n\t break;\n\t}\n\tout.println(x);\n\tout.close();\n\t\t\n\t\n\t}",
"main",
"{\n\t\t// your code goes here\n\t\t\tPrintWriter out=new PrintWriter(System.out);\n\tFastScanner fs=new FastScanner();\n\t\tint a[]=fs.readArray(5);\n\tint x=0;\n\tfor(int i=0;i<5;i++)\n\tif(a[i]==0)\n\t{\n\t x=i+1;\n\t break;\n\t}\n\tout.println(x);\n\tout.close();\n\t\t\n\t\n\t}",
"PrintWriter out=new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"FastScanner fs=new FastScanner();",
"fs",
"new FastScanner()",
"int a[]=fs.readArray(5);",
"a",
"fs.readArray(5)",
"fs.readArray",
"fs",
"5",
"int x=0;",
"x",
"0",
"for(int i=0;i<5;i++)\n\tif(a[i]==0)\n\t{\n\t x=i+1;\n\t break;\n\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"if(a[i]==0)\n\t{\n\t x=i+1;\n\t break;\n\t}",
"if(a[i]==0)\n\t{\n\t x=i+1;\n\t break;\n\t}",
"a[i]==0",
"a[i]",
"a",
"i",
"0",
"{\n\t x=i+1;\n\t break;\n\t}",
"x=i+1",
"x",
"i+1",
"i",
"1",
"break;",
"out.println(x)",
"out.println",
"out",
"x",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tdouble nextDouble(){\n\t\t return Double.parseDouble(next());\n\t\t}\n}",
"FastScanner",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"String next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"while (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}",
"st=new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"int[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"readArray",
"{\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"int[] a=new int[n];",
"a",
"new int[n]",
"n",
"for (int i=0; i<n; i++) a[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextInt();",
"a[i]=nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble(){\n\t\t return Double.parseDouble(next());\n\t\t}",
"nextDouble",
"{\n\t\t return Double.parseDouble(next());\n\t\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public 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\tPrintWriter out=new PrintWriter(System.out);\n\tFastScanner fs=new FastScanner();\n\t\tint a[]=fs.readArray(5);\n\tint x=0;\n\tfor(int i=0;i<5;i++)\n\tif(a[i]==0)\n\t{\n\t x=i+1;\n\t break;\n\t}\n\tout.println(x);\n\tout.close();\n\t\t\n\t\n\t}\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tdouble nextDouble(){\n\t\t return Double.parseDouble(next());\n\t\t}\n}\n}",
"public 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\tPrintWriter out=new PrintWriter(System.out);\n\tFastScanner fs=new FastScanner();\n\t\tint a[]=fs.readArray(5);\n\tint x=0;\n\tfor(int i=0;i<5;i++)\n\tif(a[i]==0)\n\t{\n\t x=i+1;\n\t break;\n\t}\n\tout.println(x);\n\tout.close();\n\t\t\n\t\n\t}\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tdouble nextDouble(){\n\t\t return Double.parseDouble(next());\n\t\t}\n}\n}",
"Main"
]
| /* package codechef; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.math.*;
/* Name of the class has to be "Main" only if the class is public. */
public class Main
{
public static void main (String[] args) throws java.lang.Exception
{
// your code goes here
PrintWriter out=new PrintWriter(System.out);
FastScanner fs=new FastScanner();
int a[]=fs.readArray(5);
int x=0;
for(int i=0;i<5;i++)
if(a[i]==0)
{
x=i+1;
break;
}
out.println(x);
out.close();
}
static class FastScanner {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer("");
String next() {
while (!st.hasMoreTokens())
try {
st=new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
int[] readArray(int n) {
int[] a=new int[n];
for (int i=0; i<n; i++) a[i]=nextInt();
return a;
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble(){
return Double.parseDouble(next());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
13,
13,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
14,
2,
13,
17,
29,
17,
14,
2,
13,
17,
29,
17,
14,
2,
13,
17,
29,
17,
29,
17,
23,
13,
23,
13,
23,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
100,
5
],
[
100,
6
],
[
6,
7
],
[
6,
8
],
[
100,
9
],
[
9,
10
],
[
9,
11
],
[
100,
12
],
[
12,
13
],
[
12,
14
],
[
100,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
17,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
17,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
17,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
51,
54
],
[
51,
55
],
[
51,
56
],
[
51,
57
],
[
15,
58
],
[
58,
59
],
[
100,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
62,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
62,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
62,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
62,
87
],
[
87,
88
],
[
60,
89
],
[
89,
90
],
[
60,
91
],
[
91,
92
],
[
60,
93
],
[
93,
94
],
[
60,
95
],
[
95,
96
],
[
60,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n private static final int MOD = 1_000_000_007;\n private static final String YES = \"Yes\";\n private static final String NO = \"No\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int x1 = sc.nextInt();\n int x2 = sc.nextInt();\n int x3 = sc.nextInt();\n int x4 = sc.nextInt();\n int x5 = sc.nextInt();\n\n System.out.println(solve(x1, x2, x3, x4, x5));\n }\n\n private static int solve(int x1, int x2, int x3, int x4, int x5) {\n if (x1 == 0) return 1;\n if (x2 == 0) return 2;\n if (x3 == 0) return 3;\n if (x4 == 0) return 4;\n\n return 5;\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n private static final int MOD = 1_000_000_007;\n private static final String YES = \"Yes\";\n private static final String NO = \"No\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int x1 = sc.nextInt();\n int x2 = sc.nextInt();\n int x3 = sc.nextInt();\n int x4 = sc.nextInt();\n int x5 = sc.nextInt();\n\n System.out.println(solve(x1, x2, x3, x4, x5));\n }\n\n private static int solve(int x1, int x2, int x3, int x4, int x5) {\n if (x1 == 0) return 1;\n if (x2 == 0) return 2;\n if (x3 == 0) return 3;\n if (x4 == 0) return 4;\n\n return 5;\n }\n}",
"Main",
"private static final int MOD = 1_000_000_007;",
"MOD",
"1_000_000_007",
"private static final String YES = \"Yes\";",
"YES",
"\"Yes\"",
"private static final String NO = \"No\";",
"NO",
"\"No\"",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int x1 = sc.nextInt();\n int x2 = sc.nextInt();\n int x3 = sc.nextInt();\n int x4 = sc.nextInt();\n int x5 = sc.nextInt();\n\n System.out.println(solve(x1, x2, x3, x4, x5));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n int x1 = sc.nextInt();\n int x2 = sc.nextInt();\n int x3 = sc.nextInt();\n int x4 = sc.nextInt();\n int x5 = sc.nextInt();\n\n System.out.println(solve(x1, x2, x3, x4, x5));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x1 = sc.nextInt();",
"x1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x2 = sc.nextInt();",
"x2",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x3 = sc.nextInt();",
"x3",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x4 = sc.nextInt();",
"x4",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x5 = sc.nextInt();",
"x5",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(solve(x1, x2, x3, x4, x5))",
"System.out.println",
"System.out",
"System",
"System.out",
"solve(x1, x2, x3, x4, x5)",
"solve",
"x1",
"x2",
"x3",
"x4",
"x5",
"String[] args",
"args",
"private static int solve(int x1, int x2, int x3, int x4, int x5) {\n if (x1 == 0) return 1;\n if (x2 == 0) return 2;\n if (x3 == 0) return 3;\n if (x4 == 0) return 4;\n\n return 5;\n }",
"solve",
"{\n if (x1 == 0) return 1;\n if (x2 == 0) return 2;\n if (x3 == 0) return 3;\n if (x4 == 0) return 4;\n\n return 5;\n }",
"if (x1 == 0) return 1;",
"x1 == 0",
"x1",
"0",
"return 1;",
"1",
"if (x2 == 0) return 2;",
"x2 == 0",
"x2",
"0",
"return 2;",
"2",
"if (x3 == 0) return 3;",
"x3 == 0",
"x3",
"0",
"return 3;",
"3",
"if (x4 == 0) return 4;",
"x4 == 0",
"x4",
"0",
"return 4;",
"4",
"return 5;",
"5",
"int x1",
"x1",
"int x2",
"x2",
"int x3",
"x3",
"int x4",
"x4",
"int x5",
"x5",
"public class Main {\n private static final int MOD = 1_000_000_007;\n private static final String YES = \"Yes\";\n private static final String NO = \"No\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int x1 = sc.nextInt();\n int x2 = sc.nextInt();\n int x3 = sc.nextInt();\n int x4 = sc.nextInt();\n int x5 = sc.nextInt();\n\n System.out.println(solve(x1, x2, x3, x4, x5));\n }\n\n private static int solve(int x1, int x2, int x3, int x4, int x5) {\n if (x1 == 0) return 1;\n if (x2 == 0) return 2;\n if (x3 == 0) return 3;\n if (x4 == 0) return 4;\n\n return 5;\n }\n}",
"public class Main {\n private static final int MOD = 1_000_000_007;\n private static final String YES = \"Yes\";\n private static final String NO = \"No\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int x1 = sc.nextInt();\n int x2 = sc.nextInt();\n int x3 = sc.nextInt();\n int x4 = sc.nextInt();\n int x5 = sc.nextInt();\n\n System.out.println(solve(x1, x2, x3, x4, x5));\n }\n\n private static int solve(int x1, int x2, int x3, int x4, int x5) {\n if (x1 == 0) return 1;\n if (x2 == 0) return 2;\n if (x3 == 0) return 3;\n if (x4 == 0) return 4;\n\n return 5;\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
private static final int MOD = 1_000_000_007;
private static final String YES = "Yes";
private static final String NO = "No";
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x1 = sc.nextInt();
int x2 = sc.nextInt();
int x3 = sc.nextInt();
int x4 = sc.nextInt();
int x5 = sc.nextInt();
System.out.println(solve(x1, x2, x3, x4, x5));
}
private static int solve(int x1, int x2, int x3, int x4, int x5) {
if (x1 == 0) return 1;
if (x2 == 0) return 2;
if (x3 == 0) return 3;
if (x4 == 0) return 4;
return 5;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
58,
8
],
[
58,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
17,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
37,
44
],
[
36,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
45,
54
],
[
9,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
]
| [
"\nimport java.util.*;\nimport java.io.*;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] cmd=br.readLine().split(\" \");\n\t\tfor(int i=0;i<5;i++)\n\t\t{\n\t\t\tif(Integer.valueOf(cmd[i])==0)\n\t\t\t{\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] cmd=br.readLine().split(\" \");\n\t\tfor(int i=0;i<5;i++)\n\t\t{\n\t\t\tif(Integer.valueOf(cmd[i])==0)\n\t\t\t{\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] cmd=br.readLine().split(\" \");\n\t\tfor(int i=0;i<5;i++)\n\t\t{\n\t\t\tif(Integer.valueOf(cmd[i])==0)\n\t\t\t{\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] cmd=br.readLine().split(\" \");\n\t\tfor(int i=0;i<5;i++)\n\t\t{\n\t\t\tif(Integer.valueOf(cmd[i])==0)\n\t\t\t{\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] cmd=br.readLine().split(\" \");",
"cmd",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for(int i=0;i<5;i++)\n\t\t{\n\t\t\tif(Integer.valueOf(cmd[i])==0)\n\t\t\t{\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tif(Integer.valueOf(cmd[i])==0)\n\t\t\t{\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(Integer.valueOf(cmd[i])==0)\n\t\t\t{\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if(Integer.valueOf(cmd[i])==0)\n\t\t\t{\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}",
"Integer.valueOf(cmd[i])==0",
"Integer.valueOf(cmd[i])",
"Integer.valueOf",
"Integer",
"cmd[i]",
"cmd",
"i",
"0",
"{\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}",
"System.out.println(i+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"break;",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] cmd=br.readLine().split(\" \");\n\t\tfor(int i=0;i<5;i++)\n\t\t{\n\t\t\tif(Integer.valueOf(cmd[i])==0)\n\t\t\t{\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] cmd=br.readLine().split(\" \");\n\t\tfor(int i=0;i<5;i++)\n\t\t{\n\t\t\tif(Integer.valueOf(cmd[i])==0)\n\t\t\t{\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main"
]
|
import java.util.*;
import java.io.*;
public class Main{
public static void main(String[] args) throws IOException {
// TODO Auto-generated method stub
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String[] cmd=br.readLine().split(" ");
for(int i=0;i<5;i++)
{
if(Integer.valueOf(cmd[i])==0)
{
System.out.println(i+1);
break;
}
}
}
}
|
[
7,
6,
12,
13,
30,
29,
2,
18,
13,
17,
18,
13,
17,
23,
13,
23,
13,
6,
12,
13,
30,
14,
2,
18,
13,
17,
18,
13,
17,
29,
40,
17,
29,
17,
23,
13,
23,
13,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
17,
4,
18,
13,
2,
13,
17,
4,
18,
13,
23,
13,
12,
13,
30,
29,
2,
4,
18,
13,
2,
18,
13,
17,
18,
13,
17,
4,
18,
13,
2,
18,
13,
17,
18,
13,
17,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
13,
29,
4,
13,
13,
13,
14,
2,
13,
17,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
41,
13,
17,
0,
13,
13,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
0,
13,
2,
2,
13,
13,
13,
0,
13,
17,
0,
13,
2,
2,
13,
13,
13,
29,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
4,
18,
13,
13,
20,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
4,
18,
13,
13,
20,
29,
13,
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
],
[
2,
3
],
[
2,
4
],
[
4,
5
],
[
5,
6
],
[
6,
7
],
[
7,
8
],
[
7,
9
],
[
6,
10
],
[
10,
11
],
[
10,
12
],
[
2,
13
],
[
13,
14
],
[
2,
15
],
[
15,
16
],
[
0,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
32,
33
],
[
18,
34
],
[
34,
35
],
[
18,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
],
[
0,
50
],
[
508,
51
],
[
508,
52
],
[
52,
53
],
[
52,
54
],
[
508,
55
],
[
55,
56
],
[
55,
57
],
[
508,
58
],
[
58,
59
],
[
58,
60
],
[
508,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
63,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
79,
80
],
[
70,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
84,
88
],
[
83,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
92,
93
],
[
92,
94
],
[
63,
95
],
[
95,
96
],
[
96,
97
],
[
61,
98
],
[
98,
99
],
[
508,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
112,
114
],
[
104,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
122,
123
],
[
122,
124
],
[
100,
125
],
[
125,
126
],
[
100,
127
],
[
127,
128
],
[
508,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
132,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
137,
140
],
[
131,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
145,
146
],
[
141,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
148,
151
],
[
151,
152
],
[
151,
153
],
[
129,
154
],
[
154,
155
],
[
129,
156
],
[
156,
157
],
[
508,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
161,
165
],
[
165,
166
],
[
160,
167
],
[
167,
168
],
[
167,
169
],
[
160,
170
],
[
170,
171
],
[
170,
172
],
[
160,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
173,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
179,
183
],
[
178,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
186,
190
],
[
177,
191
],
[
191,
192
],
[
191,
193
],
[
177,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
196,
200
],
[
160,
201
],
[
201,
202
],
[
158,
203
],
[
203,
204
],
[
158,
205
],
[
205,
206
],
[
158,
207
],
[
207,
208
],
[
508,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
211,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
215,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
222,
224
],
[
215,
225
],
[
225,
226
],
[
226,
227
],
[
215,
228
],
[
229,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
233,
234
],
[
232,
235
],
[
235,
236
],
[
235,
237
],
[
229,
238
],
[
238,
239
],
[
238,
240
],
[
240,
241
],
[
240,
242
],
[
229,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
243,
247
],
[
247,
248
],
[
247,
249
],
[
229,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
250,
254
],
[
211,
255
],
[
255,
256
],
[
209,
257
],
[
257,
258
],
[
508,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
261,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
265,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
272,
274
],
[
265,
275
],
[
275,
276
],
[
276,
277
],
[
265,
278
],
[
279,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
283,
284
],
[
282,
285
],
[
285,
286
],
[
285,
287
],
[
279,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
290,
292
],
[
279,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
293,
297
],
[
297,
298
],
[
297,
299
],
[
279,
300
],
[
300,
301
],
[
301,
302
],
[
301,
303
],
[
300,
304
],
[
261,
305
],
[
305,
306
],
[
259,
307
],
[
307,
308
],
[
508,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
312,
313
],
[
312,
314
],
[
311,
315
],
[
315,
316
],
[
316,
317
],
[
317,
318
],
[
317,
319
],
[
315,
320
],
[
320,
321
],
[
320,
322
],
[
322,
323
],
[
322,
324
],
[
315,
325
],
[
325,
326
],
[
326,
327
],
[
315,
328
],
[
329,
329
],
[
329,
330
],
[
330,
331
],
[
330,
332
],
[
332,
333
],
[
333,
334
],
[
332,
335
],
[
335,
336
],
[
335,
337
],
[
329,
338
],
[
338,
339
],
[
338,
340
],
[
340,
341
],
[
340,
342
],
[
329,
343
],
[
343,
344
],
[
344,
345
],
[
344,
346
],
[
343,
347
],
[
347,
348
],
[
347,
349
],
[
329,
350
],
[
350,
351
],
[
351,
352
],
[
351,
353
],
[
350,
354
],
[
311,
355
],
[
355,
356
],
[
356,
357
],
[
355,
358
],
[
355,
359
],
[
311,
360
],
[
360,
361
],
[
309,
362
],
[
362,
363
],
[
508,
364
],
[
364,
365
],
[
364,
366
],
[
366,
367
],
[
367,
368
],
[
367,
369
],
[
366,
370
],
[
370,
371
],
[
371,
372
],
[
372,
373
],
[
372,
374
],
[
370,
375
],
[
375,
376
],
[
375,
377
],
[
377,
378
],
[
377,
379
],
[
370,
380
],
[
380,
381
],
[
381,
382
],
[
370,
383
],
[
384,
384
],
[
384,
385
],
[
385,
386
],
[
385,
387
],
[
387,
388
],
[
388,
389
],
[
387,
390
],
[
390,
391
],
[
390,
392
],
[
384,
393
],
[
393,
394
],
[
393,
395
],
[
395,
396
],
[
395,
397
],
[
384,
398
],
[
398,
399
],
[
399,
400
],
[
399,
401
],
[
398,
402
],
[
402,
403
],
[
402,
404
],
[
384,
405
],
[
405,
406
],
[
406,
407
],
[
406,
408
],
[
405,
409
],
[
366,
410
],
[
410,
411
],
[
411,
412
],
[
410,
413
],
[
410,
414
],
[
366,
415
],
[
415,
416
],
[
364,
417
],
[
417,
418
],
[
508,
419
],
[
419,
420
],
[
419,
421
],
[
421,
422
],
[
419,
423
],
[
423,
424
],
[
419,
425
],
[
425,
426
],
[
425,
427
],
[
427,
428
],
[
428,
429
],
[
428,
430
],
[
419,
431
],
[
431,
432
],
[
431,
433
],
[
433,
434
],
[
434,
435
],
[
435,
436
],
[
436,
437
],
[
436,
438
],
[
435,
439
],
[
439,
440
],
[
440,
441
],
[
441,
442
],
[
434,
443
],
[
443,
444
],
[
444,
445
],
[
445,
446
],
[
445,
447
],
[
447,
448
],
[
448,
449
],
[
449,
450
],
[
444,
451
],
[
451,
452
],
[
452,
453
],
[
452,
454
],
[
433,
455
],
[
455,
456
],
[
456,
457
],
[
457,
458
],
[
419,
459
],
[
459,
460
],
[
459,
461
],
[
461,
462
],
[
462,
463
],
[
463,
464
],
[
464,
465
],
[
463,
466
],
[
466,
467
],
[
419,
468
],
[
468,
469
],
[
468,
470
],
[
470,
471
],
[
471,
472
],
[
472,
473
],
[
473,
474
],
[
472,
475
],
[
475,
476
],
[
419,
477
],
[
477,
478
],
[
477,
479
],
[
479,
480
],
[
480,
481
],
[
481,
482
],
[
482,
483
],
[
481,
484
],
[
484,
485
],
[
419,
486
],
[
486,
487
],
[
486,
488
],
[
488,
489
],
[
489,
490
],
[
489,
491
],
[
488,
492
],
[
492,
493
],
[
493,
494
],
[
493,
495
],
[
495,
496
],
[
496,
497
],
[
497,
498
],
[
492,
499
],
[
499,
500
],
[
500,
501
],
[
500,
502
],
[
502,
503
],
[
503,
504
],
[
488,
505
],
[
505,
506
],
[
0,
507
],
[
507,
508
],
[
507,
509
]
]
| [
"import java.io.*;\nimport java.util.*;\nimport java.math.*;\nimport java.awt.Point;\n \npublic class Main {\n\tstatic final long MOD = 998244353L;\n\t//static final long INF = 1000000000000000007L;\n\tstatic String letters = \"abcdefghijklmnopqrstuvwxyz\";\n\t//static final long MOD = 1000000007L;\n\tstatic final int INF = 1000000007;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\t/*int Q = sc.ni();\n\t\tfor (int q = 0; q < Q; q++) {\n\t\t\tint N = sc.ni();\n\t\t}*/\n\t\t\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tif (sc.ni() == 0)\n\t\t\t\tpw.println(i+1);\n\t\t}\n\t\t\n\t\tpw.close();\n\t}\n\t\n\tpublic static long dist(long[] p1, long[] p2) {\n\t\treturn (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));\n\t}\n\t\n\t//Find the GCD of two numbers\n\tpublic static long gcd(long a, long b) {\n\t\tif (a < b) return gcd(b,a);\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);\n\t}\n\t\n\t//Fast exponentiation (x^y mod m)\n\tpublic static long power(long x, long y, long m) { \n\t\tif (y < 0) return 0L;\n\t\tlong ans = 1;\n\t\tx %= m;\n\t\twhile (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t} \n\t\treturn ans; \n\t}\n\t\n\tpublic static int[] shuffle(int[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n\tpublic static long[] shuffle(long[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n public static int[][] sort(int[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n public static long[][] sort(long[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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}",
"Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t}",
"@Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }",
"compare",
"{\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }",
"return a[0]-b[0]; //ascending order",
"a[0]-b[0]",
"a[0]",
"a",
"0",
"b[0]",
"b",
"0",
"int[] a",
"a",
"int[] b",
"b",
"Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t}",
"@Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }",
"compare",
"{\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }",
"if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;",
"a[0] < b[0]",
"a[0]",
"a",
"0",
"b[0]",
"b",
"0",
"return -1;",
"-1",
"1",
"return 1;",
"1",
"long[] a",
"a",
"long[] b",
"b",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.awt.Point;",
"Point",
"java.awt",
"public class Main {\n\tstatic final long MOD = 998244353L;\n\t//static final long INF = 1000000000000000007L;\n\tstatic String letters = \"abcdefghijklmnopqrstuvwxyz\";\n\t//static final long MOD = 1000000007L;\n\tstatic final int INF = 1000000007;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\t/*int Q = sc.ni();\n\t\tfor (int q = 0; q < Q; q++) {\n\t\t\tint N = sc.ni();\n\t\t}*/\n\t\t\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tif (sc.ni() == 0)\n\t\t\t\tpw.println(i+1);\n\t\t}\n\t\t\n\t\tpw.close();\n\t}\n\t\n\tpublic static long dist(long[] p1, long[] p2) {\n\t\treturn (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));\n\t}\n\t\n\t//Find the GCD of two numbers\n\tpublic static long gcd(long a, long b) {\n\t\tif (a < b) return gcd(b,a);\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);\n\t}\n\t\n\t//Fast exponentiation (x^y mod m)\n\tpublic static long power(long x, long y, long m) { \n\t\tif (y < 0) return 0L;\n\t\tlong ans = 1;\n\t\tx %= m;\n\t\twhile (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t} \n\t\treturn ans; \n\t}\n\t\n\tpublic static int[] shuffle(int[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n\tpublic static long[] shuffle(long[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n public static int[][] sort(int[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n public static long[][] sort(long[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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}",
"Main",
"static final long MOD = 998244353L;",
"MOD",
"998244353L",
"//static final long INF = 1000000000000000007L;\n\tstatic String letters = \"abcdefghijklmnopqrstuvwxyz\";",
"letters",
"\"abcdefghijklmnopqrstuvwxyz\"",
"//static final long MOD = 1000000007L;\n\tstatic final int INF = 1000000007;",
"INF",
"1000000007",
"public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\t/*int Q = sc.ni();\n\t\tfor (int q = 0; q < Q; q++) {\n\t\t\tint N = sc.ni();\n\t\t}*/\n\t\t\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tif (sc.ni() == 0)\n\t\t\t\tpw.println(i+1);\n\t\t}\n\t\t\n\t\tpw.close();\n\t}",
"main",
"{\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\t/*int Q = sc.ni();\n\t\tfor (int q = 0; q < Q; q++) {\n\t\t\tint N = sc.ni();\n\t\t}*/\n\t\t\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tif (sc.ni() == 0)\n\t\t\t\tpw.println(i+1);\n\t\t}\n\t\t\n\t\tpw.close();\n\t}",
"FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"for (int i = 0; i < 5; i++) {\n\t\t\tif (sc.ni() == 0)\n\t\t\t\tpw.println(i+1);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tif (sc.ni() == 0)\n\t\t\t\tpw.println(i+1);\n\t\t}",
"{\n\t\t\tif (sc.ni() == 0)\n\t\t\t\tpw.println(i+1);\n\t\t}",
"if (sc.ni() == 0)\n\t\t\t\tpw.println(i+1);",
"sc.ni() == 0",
"sc.ni()",
"sc.ni",
"sc",
"0",
"pw.println(i+1)",
"pw.println",
"pw",
"i+1",
"i",
"1",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"public static long dist(long[] p1, long[] p2) {\n\t\treturn (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));\n\t}",
"dist",
"{\n\t\treturn (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));\n\t}",
"return (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));",
"(Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]))",
"Math.abs(p2[0]-p1[0])",
"Math.abs",
"Math",
"p2[0]-p1[0]",
"p2[0]",
"p2",
"0",
"p1[0]",
"p1",
"0",
"Math.abs(p2[1]-p1[1])",
"Math.abs",
"Math",
"p2[1]-p1[1]",
"p2[1]",
"p2",
"1",
"p1[1]",
"p1",
"1",
"long[] p1",
"p1",
"long[] p2",
"p2",
"//Find the GCD of two numbers\n\tpublic static long gcd(long a, long b) {\n\t\tif (a < b) return gcd(b,a);\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);\n\t}",
"gcd",
"{\n\t\tif (a < b) return gcd(b,a);\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);\n\t}",
"if (a < b) return gcd(b,a);",
"a < b",
"a",
"b",
"return gcd(b,a);",
"gcd(b,a)",
"gcd",
"b",
"a",
"if (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);",
"b == 0",
"b",
"0",
"return a;",
"a",
"return gcd(b,a%b);",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"//Fast exponentiation (x^y mod m)\n\tpublic static long power(long x, long y, long m) { \n\t\tif (y < 0) return 0L;\n\t\tlong ans = 1;\n\t\tx %= m;\n\t\twhile (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t} \n\t\treturn ans; \n\t}",
"power",
"{ \n\t\tif (y < 0) return 0L;\n\t\tlong ans = 1;\n\t\tx %= m;\n\t\twhile (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t} \n\t\treturn ans; \n\t}",
"if (y < 0) return 0L;",
"y < 0",
"y",
"0",
"return 0L;",
"0L",
"long ans = 1;",
"ans",
"1",
"x %= m",
"x",
"m",
"while (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t}",
"y > 0",
"y",
"0",
"{ \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t}",
"if(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m;",
"y % 2 == 1",
"y % 2",
"y",
"2",
"1",
"ans = (ans * x) % m",
"ans",
"(ans * x) % m",
"(ans * x)",
"ans",
"x",
"m",
"y /= 2",
"y",
"2",
"x = (x * x) % m",
"x",
"(x * x) % m",
"(x * x)",
"x",
"x",
"m",
"return ans;",
"ans",
"long x",
"x",
"long y",
"y",
"long m",
"m",
"public static int[] shuffle(int[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}",
"shuffle",
"{\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}",
"Random rgen = new Random();",
"rgen",
"new Random()",
"for (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int randomPosition = rgen.nextInt(array.length);",
"randomPosition",
"rgen.nextInt(array.length)",
"rgen.nextInt",
"rgen",
"array.length",
"array",
"array.length",
"int temp = array[i];",
"temp",
"array[i]",
"array",
"i",
"array[i] = array[randomPosition]",
"array[i]",
"array",
"i",
"array[randomPosition]",
"array",
"randomPosition",
"array[randomPosition] = temp",
"array[randomPosition]",
"array",
"randomPosition",
"temp",
"return array;",
"array",
"int[] array",
"array",
"public static long[] shuffle(long[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}",
"shuffle",
"{\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}",
"Random rgen = new Random();",
"rgen",
"new Random()",
"for (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int randomPosition = rgen.nextInt(array.length);",
"randomPosition",
"rgen.nextInt(array.length)",
"rgen.nextInt",
"rgen",
"array.length",
"array",
"array.length",
"long temp = array[i];",
"temp",
"array[i]",
"array",
"i",
"array[i] = array[randomPosition]",
"array[i]",
"array",
"i",
"array[randomPosition]",
"array",
"randomPosition",
"array[randomPosition] = temp",
"array[randomPosition]",
"array",
"randomPosition",
"temp",
"return array;",
"array",
"long[] array",
"array",
"public static int[][] sort(int[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t});\n\t\treturn array;\n\t}",
"sort",
"{\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t});\n\t\treturn array;\n\t}",
"Random rgen = new Random();",
"rgen",
"new Random()",
"for (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int randomPosition = rgen.nextInt(array.length);",
"randomPosition",
"rgen.nextInt(array.length)",
"rgen.nextInt",
"rgen",
"array.length",
"array",
"array.length",
"int[] temp = array[i];",
"temp",
"array[i]",
"array",
"i",
"array[i] = array[randomPosition]",
"array[i]",
"array",
"i",
"array[randomPosition]",
"array",
"randomPosition",
"array[randomPosition] = temp",
"array[randomPosition]",
"array",
"randomPosition",
"temp",
"Arrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t})",
"Arrays.sort",
"Arrays",
"array",
"new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t}",
"return array;",
"array",
"int[][] array",
"array",
"public static long[][] sort(long[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t});\n\t\treturn array;\n\t}",
"sort",
"{\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t});\n\t\treturn array;\n\t}",
"Random rgen = new Random();",
"rgen",
"new Random()",
"for (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int randomPosition = rgen.nextInt(array.length);",
"randomPosition",
"rgen.nextInt(array.length)",
"rgen.nextInt",
"rgen",
"array.length",
"array",
"array.length",
"long[] temp = array[i];",
"temp",
"array[i]",
"array",
"i",
"array[i] = array[randomPosition]",
"array[i]",
"array",
"i",
"array[randomPosition]",
"array",
"randomPosition",
"array[randomPosition] = temp",
"array[randomPosition]",
"array",
"randomPosition",
"temp",
"Arrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t})",
"Arrays.sort",
"Arrays",
"array",
"new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t}",
"return array;",
"array",
"long[][] array",
"array",
"static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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 }",
"FastScanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastScanner() { \n br = new BufferedReader(new InputStreamReader(System.in)); \n }",
"FastScanner",
"{ \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 ni() { \n return Integer.parseInt(next()); \n }",
"ni",
"{ \n return Integer.parseInt(next()); \n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nl() { \n return Long.parseLong(next()); \n }",
"nl",
"{ \n return Long.parseLong(next()); \n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nd() { \n return Double.parseDouble(next()); \n }",
"nd",
"{ \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\tstatic final long MOD = 998244353L;\n\t//static final long INF = 1000000000000000007L;\n\tstatic String letters = \"abcdefghijklmnopqrstuvwxyz\";\n\t//static final long MOD = 1000000007L;\n\tstatic final int INF = 1000000007;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\t/*int Q = sc.ni();\n\t\tfor (int q = 0; q < Q; q++) {\n\t\t\tint N = sc.ni();\n\t\t}*/\n\t\t\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tif (sc.ni() == 0)\n\t\t\t\tpw.println(i+1);\n\t\t}\n\t\t\n\t\tpw.close();\n\t}\n\t\n\tpublic static long dist(long[] p1, long[] p2) {\n\t\treturn (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));\n\t}\n\t\n\t//Find the GCD of two numbers\n\tpublic static long gcd(long a, long b) {\n\t\tif (a < b) return gcd(b,a);\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);\n\t}\n\t\n\t//Fast exponentiation (x^y mod m)\n\tpublic static long power(long x, long y, long m) { \n\t\tif (y < 0) return 0L;\n\t\tlong ans = 1;\n\t\tx %= m;\n\t\twhile (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t} \n\t\treturn ans; \n\t}\n\t\n\tpublic static int[] shuffle(int[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n\tpublic static long[] shuffle(long[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n public static int[][] sort(int[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n public static long[][] sort(long[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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}",
"public class Main {\n\tstatic final long MOD = 998244353L;\n\t//static final long INF = 1000000000000000007L;\n\tstatic String letters = \"abcdefghijklmnopqrstuvwxyz\";\n\t//static final long MOD = 1000000007L;\n\tstatic final int INF = 1000000007;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\t/*int Q = sc.ni();\n\t\tfor (int q = 0; q < Q; q++) {\n\t\t\tint N = sc.ni();\n\t\t}*/\n\t\t\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tif (sc.ni() == 0)\n\t\t\t\tpw.println(i+1);\n\t\t}\n\t\t\n\t\tpw.close();\n\t}\n\t\n\tpublic static long dist(long[] p1, long[] p2) {\n\t\treturn (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));\n\t}\n\t\n\t//Find the GCD of two numbers\n\tpublic static long gcd(long a, long b) {\n\t\tif (a < b) return gcd(b,a);\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);\n\t}\n\t\n\t//Fast exponentiation (x^y mod m)\n\tpublic static long power(long x, long y, long m) { \n\t\tif (y < 0) return 0L;\n\t\tlong ans = 1;\n\t\tx %= m;\n\t\twhile (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t} \n\t\treturn ans; \n\t}\n\t\n\tpublic static int[] shuffle(int[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n\tpublic static long[] shuffle(long[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n public static int[][] sort(int[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n public static long[][] sort(long[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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}",
"Main"
]
| import java.io.*;
import java.util.*;
import java.math.*;
import java.awt.Point;
public class Main {
static final long MOD = 998244353L;
//static final long INF = 1000000000000000007L;
static String letters = "abcdefghijklmnopqrstuvwxyz";
//static final long MOD = 1000000007L;
static final int INF = 1000000007;
public static void main(String[] args) {
FastScanner sc = new FastScanner();
PrintWriter pw = new PrintWriter(System.out);
/*int Q = sc.ni();
for (int q = 0; q < Q; q++) {
int N = sc.ni();
}*/
for (int i = 0; i < 5; i++) {
if (sc.ni() == 0)
pw.println(i+1);
}
pw.close();
}
public static long dist(long[] p1, long[] p2) {
return (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));
}
//Find the GCD of two numbers
public static long gcd(long a, long b) {
if (a < b) return gcd(b,a);
if (b == 0)
return a;
else
return gcd(b,a%b);
}
//Fast exponentiation (x^y mod m)
public static long power(long x, long y, long m) {
if (y < 0) return 0L;
long ans = 1;
x %= m;
while (y > 0) {
if(y % 2 == 1)
ans = (ans * x) % m;
y /= 2;
x = (x * x) % m;
}
return ans;
}
public static int[] shuffle(int[] array) {
Random rgen = new Random();
for (int i = 0; i < array.length; i++) {
int randomPosition = rgen.nextInt(array.length);
int temp = array[i];
array[i] = array[randomPosition];
array[randomPosition] = temp;
}
return array;
}
public static long[] shuffle(long[] array) {
Random rgen = new Random();
for (int i = 0; i < array.length; i++) {
int randomPosition = rgen.nextInt(array.length);
long temp = array[i];
array[i] = array[randomPosition];
array[randomPosition] = temp;
}
return array;
}
public static int[][] sort(int[][] array) {
//Sort an array (immune to quicksort TLE)
Random rgen = new Random();
for (int i = 0; i < array.length; i++) {
int randomPosition = rgen.nextInt(array.length);
int[] temp = array[i];
array[i] = array[randomPosition];
array[randomPosition] = temp;
}
Arrays.sort(array, new Comparator<int[]>() {
@Override
public int compare(int[] a, int[] b) {
return a[0]-b[0]; //ascending order
}
});
return array;
}
public static long[][] sort(long[][] array) {
//Sort an array (immune to quicksort TLE)
Random rgen = new Random();
for (int i = 0; i < array.length; i++) {
int randomPosition = rgen.nextInt(array.length);
long[] temp = array[i];
array[i] = array[randomPosition];
array[randomPosition] = temp;
}
Arrays.sort(array, new Comparator<long[]>() {
@Override
public int compare(long[] a, long[] b) {
if (a[0] < b[0])
return -1;
else
return 1;
}
});
return array;
}
static class FastScanner {
BufferedReader br;
StringTokenizer st;
public FastScanner() {
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 ni() {
return Integer.parseInt(next());
}
long nl() {
return Long.parseLong(next());
}
double nd() {
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,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
13,
3,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
45,
5
],
[
45,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
17,
19
],
[
12,
20
],
[
20,
21
],
[
21,
22
],
[
12,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
34,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
]
| [
"import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main (String args[]) throws Exception{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tfor(int i = 1; i < 6; i++) {\n\t\t\tint x = scan.nextInt();\n\t\t\t\tif(x == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main (String args[]) throws Exception{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tfor(int i = 1; i < 6; i++) {\n\t\t\tint x = scan.nextInt();\n\t\t\t\tif(x == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main (String args[]) throws Exception{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tfor(int i = 1; i < 6; i++) {\n\t\t\tint x = scan.nextInt();\n\t\t\t\tif(x == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tfor(int i = 1; i < 6; i++) {\n\t\t\tint x = scan.nextInt();\n\t\t\t\tif(x == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(int i = 1; i < 6; i++) {\n\t\t\tint x = scan.nextInt();\n\t\t\t\tif(x == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < 6",
"i",
"6",
"i++",
"i++",
"i",
"{\n\t\t\tint x = scan.nextInt();\n\t\t\t\tif(x == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t}",
"{\n\t\t\tint x = scan.nextInt();\n\t\t\t\tif(x == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t}",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(x == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"x == 0",
"x",
"0",
"{\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"break;",
"String args[]",
"args",
"public class Main {\n\tpublic static void main (String args[]) throws Exception{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tfor(int i = 1; i < 6; i++) {\n\t\t\tint x = scan.nextInt();\n\t\t\t\tif(x == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main (String args[]) throws Exception{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tfor(int i = 1; i < 6; i++) {\n\t\t\tint x = scan.nextInt();\n\t\t\t\tif(x == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main (String args[]) throws Exception{
Scanner scan = new Scanner(System.in);
for(int i = 1; i < 6; i++) {
int x = scan.nextInt();
if(x == 0) {
System.out.println(i);
break;
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
39,
17,
17,
17,
17,
17,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
75,
5
],
[
75,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
14,
17
],
[
14,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
44,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
57,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
6,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int[] x={1,2,3,4,5};\n int[] inx=new int[5];\n for(int i=0;i<5;i++){\n inx[i]=sc.nextInt();\n }\n for(int j=0;j<5;j++){\n if(inx[j]==0){\n System.out.println(x[j]);\n }\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int[] x={1,2,3,4,5};\n int[] inx=new int[5];\n for(int i=0;i<5;i++){\n inx[i]=sc.nextInt();\n }\n for(int j=0;j<5;j++){\n if(inx[j]==0){\n System.out.println(x[j]);\n }\n }\n }\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int[] x={1,2,3,4,5};\n int[] inx=new int[5];\n for(int i=0;i<5;i++){\n inx[i]=sc.nextInt();\n }\n for(int j=0;j<5;j++){\n if(inx[j]==0){\n System.out.println(x[j]);\n }\n }\n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n int[] x={1,2,3,4,5};\n int[] inx=new int[5];\n for(int i=0;i<5;i++){\n inx[i]=sc.nextInt();\n }\n for(int j=0;j<5;j++){\n if(inx[j]==0){\n System.out.println(x[j]);\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] x={1,2,3,4,5};",
"x",
"{1,2,3,4,5}",
"1",
"2",
"3",
"4",
"5",
"int[] inx=new int[5];",
"inx",
"new int[5]",
"5",
"for(int i=0;i<5;i++){\n inx[i]=sc.nextInt();\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n inx[i]=sc.nextInt();\n }",
"{\n inx[i]=sc.nextInt();\n }",
"inx[i]=sc.nextInt()",
"inx[i]",
"inx",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int j=0;j<5;j++){\n if(inx[j]==0){\n System.out.println(x[j]);\n }\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<5",
"j",
"5",
"j++",
"j++",
"j",
"{\n if(inx[j]==0){\n System.out.println(x[j]);\n }\n }",
"{\n if(inx[j]==0){\n System.out.println(x[j]);\n }\n }",
"if(inx[j]==0){\n System.out.println(x[j]);\n }",
"inx[j]==0",
"inx[j]",
"inx",
"j",
"0",
"{\n System.out.println(x[j]);\n }",
"System.out.println(x[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"x[j]",
"x",
"j",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int[] x={1,2,3,4,5};\n int[] inx=new int[5];\n for(int i=0;i<5;i++){\n inx[i]=sc.nextInt();\n }\n for(int j=0;j<5;j++){\n if(inx[j]==0){\n System.out.println(x[j]);\n }\n }\n }\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int[] x={1,2,3,4,5};\n int[] inx=new int[5];\n for(int i=0;i<5;i++){\n inx[i]=sc.nextInt();\n }\n for(int j=0;j<5;j++){\n if(inx[j]==0){\n System.out.println(x[j]);\n }\n }\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int[] x={1,2,3,4,5};
int[] inx=new int[5];
for(int i=0;i<5;i++){
inx[i]=sc.nextInt();
}
for(int j=0;j<5;j++){
if(inx[j]==0){
System.out.println(x[j]);
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
14,
2,
4,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
57,
5
],
[
57,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
27,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
35,
40
],
[
34,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
41,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
]
| [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tList<Integer> nums = new ArrayList<Integer>();\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tnums.add(scanner.nextInt());\n\t\t\tif(nums.get(i) == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscanner.close();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tList<Integer> nums = new ArrayList<Integer>();\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tnums.add(scanner.nextInt());\n\t\t\tif(nums.get(i) == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscanner.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tList<Integer> nums = new ArrayList<Integer>();\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tnums.add(scanner.nextInt());\n\t\t\tif(nums.get(i) == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscanner.close();\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tList<Integer> nums = new ArrayList<Integer>();\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tnums.add(scanner.nextInt());\n\t\t\tif(nums.get(i) == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscanner.close();\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"List<Integer> nums = new ArrayList<Integer>();",
"nums",
"new ArrayList<Integer>()",
"for(int i = 0; i < 5; i++) {\n\t\t\tnums.add(scanner.nextInt());\n\t\t\tif(nums.get(i) == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tnums.add(scanner.nextInt());\n\t\t\tif(nums.get(i) == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tnums.add(scanner.nextInt());\n\t\t\tif(nums.get(i) == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"nums.add(scanner.nextInt())",
"nums.add",
"nums",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if(nums.get(i) == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}",
"nums.get(i) == 0",
"nums.get(i)",
"nums.get",
"nums",
"i",
"0",
"{\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}",
"System.out.println(i + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"break;",
"scanner.close()",
"scanner.close",
"scanner",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tList<Integer> nums = new ArrayList<Integer>();\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tnums.add(scanner.nextInt());\n\t\t\tif(nums.get(i) == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscanner.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tList<Integer> nums = new ArrayList<Integer>();\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tnums.add(scanner.nextInt());\n\t\t\tif(nums.get(i) == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscanner.close();\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
List<Integer> nums = new ArrayList<Integer>();
for(int i = 0; i < 5; i++) {
nums.add(scanner.nextInt());
if(nums.get(i) == 0) {
System.out.println(i + 1);
break;
}
}
scanner.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
56,
5
],
[
56,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tint[] num = new int[5];\n\t\tfor(int i=0;i<5;i++){\n\t\t\tnum[i] = sc.nextInt();\n \tif( num[i] != (i+1) ){\n System.out.println( (i+1) );\n }\n\t\t}\n\t\t//System.out.println(ans); \t\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tint[] num = new int[5];\n\t\tfor(int i=0;i<5;i++){\n\t\t\tnum[i] = sc.nextInt();\n \tif( num[i] != (i+1) ){\n System.out.println( (i+1) );\n }\n\t\t}\n\t\t//System.out.println(ans); \t\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tint[] num = new int[5];\n\t\tfor(int i=0;i<5;i++){\n\t\t\tnum[i] = sc.nextInt();\n \tif( num[i] != (i+1) ){\n System.out.println( (i+1) );\n }\n\t\t}\n\t\t//System.out.println(ans); \t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n \tint[] num = new int[5];\n\t\tfor(int i=0;i<5;i++){\n\t\t\tnum[i] = sc.nextInt();\n \tif( num[i] != (i+1) ){\n System.out.println( (i+1) );\n }\n\t\t}\n\t\t//System.out.println(ans); \t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] num = new int[5];",
"num",
"new int[5]",
"5",
"for(int i=0;i<5;i++){\n\t\t\tnum[i] = sc.nextInt();\n \tif( num[i] != (i+1) ){\n System.out.println( (i+1) );\n }\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tnum[i] = sc.nextInt();\n \tif( num[i] != (i+1) ){\n System.out.println( (i+1) );\n }\n\t\t}",
"{\n\t\t\tnum[i] = sc.nextInt();\n \tif( num[i] != (i+1) ){\n System.out.println( (i+1) );\n }\n\t\t}",
"num[i] = sc.nextInt()",
"num[i]",
"num",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if( num[i] != (i+1) ){\n System.out.println( (i+1) );\n }",
"num[i] != (i+1)",
"num[i]",
"num",
"i",
"(i+1)",
"i",
"1",
"{\n System.out.println( (i+1) );\n }",
"System.out.println( (i+1) )",
"System.out.println",
"System.out",
"System",
"System.out",
"(i+1)",
"i",
"1",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tint[] num = new int[5];\n\t\tfor(int i=0;i<5;i++){\n\t\t\tnum[i] = sc.nextInt();\n \tif( num[i] != (i+1) ){\n System.out.println( (i+1) );\n }\n\t\t}\n\t\t//System.out.println(ans); \t\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tint[] num = new int[5];\n\t\tfor(int i=0;i<5;i++){\n\t\t\tnum[i] = sc.nextInt();\n \tif( num[i] != (i+1) ){\n System.out.println( (i+1) );\n }\n\t\t}\n\t\t//System.out.println(ans); \t\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int[] num = new int[5];
for(int i=0;i<5;i++){
num[i] = sc.nextInt();
if( num[i] != (i+1) ){
System.out.println( (i+1) );
}
}
//System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
14,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
64,
5
],
[
64,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
47,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
]
| [
"import java.util.*;\npublic class Main{\n\n public static void main(String []args){\n int arr[]=new int[5];\n Scanner sc=new Scanner(System.in);\n for(int i=0;i<5;i++)\n arr[i]=sc.nextInt();\n for(int i=0;i<5;i++)\n if(arr[i]==0)\n System.out.print(i+1);\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\n public static void main(String []args){\n int arr[]=new int[5];\n Scanner sc=new Scanner(System.in);\n for(int i=0;i<5;i++)\n arr[i]=sc.nextInt();\n for(int i=0;i<5;i++)\n if(arr[i]==0)\n System.out.print(i+1);\n \n }\n}",
"Main",
"public static void main(String []args){\n int arr[]=new int[5];\n Scanner sc=new Scanner(System.in);\n for(int i=0;i<5;i++)\n arr[i]=sc.nextInt();\n for(int i=0;i<5;i++)\n if(arr[i]==0)\n System.out.print(i+1);\n \n }",
"main",
"{\n int arr[]=new int[5];\n Scanner sc=new Scanner(System.in);\n for(int i=0;i<5;i++)\n arr[i]=sc.nextInt();\n for(int i=0;i<5;i++)\n if(arr[i]==0)\n System.out.print(i+1);\n \n }",
"int arr[]=new int[5];",
"arr",
"new int[5]",
"5",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i=0;i<5;i++)\n arr[i]=sc.nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"arr[i]=sc.nextInt();",
"arr[i]=sc.nextInt()",
"arr[i]",
"arr",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i=0;i<5;i++)\n if(arr[i]==0)\n System.out.print(i+1);",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"if(arr[i]==0)\n System.out.print(i+1);",
"if(arr[i]==0)\n System.out.print(i+1);",
"arr[i]==0",
"arr[i]",
"arr",
"i",
"0",
"System.out.print(i+1)",
"System.out.print",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"String []args",
"args",
"public class Main{\n\n public static void main(String []args){\n int arr[]=new int[5];\n Scanner sc=new Scanner(System.in);\n for(int i=0;i<5;i++)\n arr[i]=sc.nextInt();\n for(int i=0;i<5;i++)\n if(arr[i]==0)\n System.out.print(i+1);\n \n }\n}",
"public class Main{\n\n public static void main(String []args){\n int arr[]=new int[5];\n Scanner sc=new Scanner(System.in);\n for(int i=0;i<5;i++)\n arr[i]=sc.nextInt();\n for(int i=0;i<5;i++)\n if(arr[i]==0)\n System.out.print(i+1);\n \n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String []args){
int arr[]=new int[5];
Scanner sc=new Scanner(System.in);
for(int i=0;i<5;i++)
arr[i]=sc.nextInt();
for(int i=0;i<5;i++)
if(arr[i]==0)
System.out.print(i+1);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
29,
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
],
[
56,
11
],
[
56,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
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
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
42,
51
],
[
14,
52
],
[
12,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
]
| [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n \n for(int i=0; i<5; i++){\n int x;\n x = sc.nextInt();\n\n if(x == 0){\n System.out.println(i+1);\n break;\n }\n }\n return;\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n \n for(int i=0; i<5; i++){\n int x;\n x = sc.nextInt();\n\n if(x == 0){\n System.out.println(i+1);\n break;\n }\n }\n return;\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n \n for(int i=0; i<5; i++){\n int x;\n x = sc.nextInt();\n\n if(x == 0){\n System.out.println(i+1);\n break;\n }\n }\n return;\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n \n for(int i=0; i<5; i++){\n int x;\n x = sc.nextInt();\n\n if(x == 0){\n System.out.println(i+1);\n break;\n }\n }\n return;\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i=0; i<5; i++){\n int x;\n x = sc.nextInt();\n\n if(x == 0){\n System.out.println(i+1);\n break;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n int x;\n x = sc.nextInt();\n\n if(x == 0){\n System.out.println(i+1);\n break;\n }\n }",
"{\n int x;\n x = sc.nextInt();\n\n if(x == 0){\n System.out.println(i+1);\n break;\n }\n }",
"int x;",
"x",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x == 0){\n System.out.println(i+1);\n break;\n }",
"x == 0",
"x",
"0",
"{\n System.out.println(i+1);\n break;\n }",
"System.out.println(i+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"break;",
"return;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n \n for(int i=0; i<5; i++){\n int x;\n x = sc.nextInt();\n\n if(x == 0){\n System.out.println(i+1);\n break;\n }\n }\n return;\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n \n for(int i=0; i<5; i++){\n int x;\n x = sc.nextInt();\n\n if(x == 0){\n System.out.println(i+1);\n break;\n }\n }\n return;\n }\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
for(int i=0; i<5; i++){
int x;
x = sc.nextInt();
if(x == 0){
System.out.println(i+1);
break;
}
}
return;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
13,
18,
13,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
13,
2,
13,
17,
29,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
66,
11
],
[
66,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
12,
23
],
[
23,
24
],
[
66,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
53,
60
],
[
25,
61
],
[
61,
62
],
[
25,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
]
| [
"import java.io.InputStream;\nimport java.io.PrintStream;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n for(int i = 0; i < 5; i++) {\n int x = scan.nextInt();\n if(x == 0){\n os.println(i+1);\n return;\n }\n }\n }\n}",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintStream;",
"PrintStream",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n for(int i = 0; i < 5; i++) {\n int x = scan.nextInt();\n if(x == 0){\n os.println(i+1);\n return;\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }",
"main",
"{\n solve(System.in, System.out);\n }",
"solve(System.in, System.out)",
"solve",
"System.in",
"System",
"System.in",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n for(int i = 0; i < 5; i++) {\n int x = scan.nextInt();\n if(x == 0){\n os.println(i+1);\n return;\n }\n }\n }",
"solve",
"{\n // Your code here!\n Scanner scan = new Scanner(is);\n for(int i = 0; i < 5; i++) {\n int x = scan.nextInt();\n if(x == 0){\n os.println(i+1);\n return;\n }\n }\n }",
"Scanner scan = new Scanner(is);",
"scan",
"new Scanner(is)",
"for(int i = 0; i < 5; i++) {\n int x = scan.nextInt();\n if(x == 0){\n os.println(i+1);\n return;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n int x = scan.nextInt();\n if(x == 0){\n os.println(i+1);\n return;\n }\n }",
"{\n int x = scan.nextInt();\n if(x == 0){\n os.println(i+1);\n return;\n }\n }",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(x == 0){\n os.println(i+1);\n return;\n }",
"x == 0",
"x",
"0",
"{\n os.println(i+1);\n return;\n }",
"os.println(i+1)",
"os.println",
"os",
"i+1",
"i",
"1",
"return;",
"InputStream is",
"is",
"PrintStream os",
"os",
"public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n for(int i = 0; i < 5; i++) {\n int x = scan.nextInt();\n if(x == 0){\n os.println(i+1);\n return;\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n for(int i = 0; i < 5; i++) {\n int x = scan.nextInt();\n if(x == 0){\n os.println(i+1);\n return;\n }\n }\n }\n}",
"Main"
]
| import java.io.InputStream;
import java.io.PrintStream;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
solve(System.in, System.out);
}
static void solve(InputStream is, PrintStream os) {
// Your code here!
Scanner scan = new Scanner(is);
for(int i = 0; i < 5; i++) {
int x = scan.nextInt();
if(x == 0){
os.println(i+1);
return;
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
]
| [
"import java.util.*;\npublic class Main { \n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n int o=0;\n \n for(int i=1;i<=5;i++){\n int x=sc.nextInt();\n if(x==0)o=i;\n \t\n }\n System.out.println(o);\n }\n \n}",
"import java.util.*;",
"util.*",
"java",
"public class Main { \n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n int o=0;\n \n for(int i=1;i<=5;i++){\n int x=sc.nextInt();\n if(x==0)o=i;\n \t\n }\n System.out.println(o);\n }\n \n}",
"Main",
"public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n int o=0;\n \n for(int i=1;i<=5;i++){\n int x=sc.nextInt();\n if(x==0)o=i;\n \t\n }\n System.out.println(o);\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n int o=0;\n \n for(int i=1;i<=5;i++){\n int x=sc.nextInt();\n if(x==0)o=i;\n \t\n }\n System.out.println(o);\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int o=0;",
"o",
"0",
"for(int i=1;i<=5;i++){\n int x=sc.nextInt();\n if(x==0)o=i;\n \t\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=5",
"i",
"5",
"i++",
"i++",
"i",
"{\n int x=sc.nextInt();\n if(x==0)o=i;\n \t\n }",
"{\n int x=sc.nextInt();\n if(x==0)o=i;\n \t\n }",
"int x=sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x==0)o=i;",
"x==0",
"x",
"0",
"o=i",
"o",
"i",
"System.out.println(o)",
"System.out.println",
"System.out",
"System",
"System.out",
"o",
"String[] args",
"args",
"public class Main { \n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n int o=0;\n \n for(int i=1;i<=5;i++){\n int x=sc.nextInt();\n if(x==0)o=i;\n \t\n }\n System.out.println(o);\n }\n \n}",
"public class Main { \n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n int o=0;\n \n for(int i=1;i<=5;i++){\n int x=sc.nextInt();\n if(x==0)o=i;\n \t\n }\n System.out.println(o);\n }\n \n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int o=0;
for(int i=1;i<=5;i++){
int x=sc.nextInt();
if(x==0)o=i;
}
System.out.println(o);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
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
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
9,
43
],
[
43,
44
]
]
| [
"/*package whatever //do not write package name here */\n\nimport java.io.*;\nimport java.util.Scanner;\n\nclass Main {\n\tpublic static void main (String[] args) {\n\t Scanner in = new Scanner(System.in);\n\t for(int i=1 ; i<= 5 ; i++) {\n\t int num = in.nextInt();\n\t if(num == 0)\n\t System.out.println(i);\n\t }\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main (String[] args) {\n\t Scanner in = new Scanner(System.in);\n\t for(int i=1 ; i<= 5 ; i++) {\n\t int num = in.nextInt();\n\t if(num == 0)\n\t System.out.println(i);\n\t }\n\t}\n}",
"Main",
"public static void main (String[] args) {\n\t Scanner in = new Scanner(System.in);\n\t for(int i=1 ; i<= 5 ; i++) {\n\t int num = in.nextInt();\n\t if(num == 0)\n\t System.out.println(i);\n\t }\n\t}",
"main",
"{\n\t Scanner in = new Scanner(System.in);\n\t for(int i=1 ; i<= 5 ; i++) {\n\t int num = in.nextInt();\n\t if(num == 0)\n\t System.out.println(i);\n\t }\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"for(int i=1 ; i<= 5 ; i++) {\n\t int num = in.nextInt();\n\t if(num == 0)\n\t System.out.println(i);\n\t }",
"int i=1 ;",
"int i=1 ;",
"i",
"1",
"i<= 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t int num = in.nextInt();\n\t if(num == 0)\n\t System.out.println(i);\n\t }",
"{\n\t int num = in.nextInt();\n\t if(num == 0)\n\t System.out.println(i);\n\t }",
"int num = in.nextInt();",
"num",
"in.nextInt()",
"in.nextInt",
"in",
"if(num == 0)\n\t System.out.println(i);",
"num == 0",
"num",
"0",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args"
]
| /*package whatever //do not write package name here */
import java.io.*;
import java.util.Scanner;
class Main {
public static void main (String[] args) {
Scanner in = new Scanner(System.in);
for(int i=1 ; i<= 5 ; i++) {
int num = in.nextInt();
if(num == 0)
System.out.println(i);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
38,
5,
13,
30,
29,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
18,
13,
13,
41,
13,
4,
18,
13,
17,
4,
18,
18,
13,
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
],
[
82,
11
],
[
82,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
21,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
26,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
26,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
26,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
26,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
12,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
]
| [
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\t\t\t\t\t\t\t\t\t\t\n\npublic class Main{\n\tpublic static void main(String args[]){\n\t\tInputStreamReader rd = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(rd);\n\t\ttry{\n\t\t\t\tArrayList<Integer> al = new ArrayList<Integer>();\n\t\t\t\tString str = br.readLine();\n\t\t\t\tString initial[] = str.split(\" \");\n\t\t\t\tfor(int j=0;j<initial.length;j++){\n\t\t\t\t\tal.add(Integer.parseInt(initial[j]));\n\t\t\t\t}\n\t\t\t\tint pos = al.indexOf(0);\n\t\t\t\tSystem.out.println(pos+1);\n\t\t}\n\t\tcatch(Exception e){\n\t\t\treturn;\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String args[]){\n\t\tInputStreamReader rd = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(rd);\n\t\ttry{\n\t\t\t\tArrayList<Integer> al = new ArrayList<Integer>();\n\t\t\t\tString str = br.readLine();\n\t\t\t\tString initial[] = str.split(\" \");\n\t\t\t\tfor(int j=0;j<initial.length;j++){\n\t\t\t\t\tal.add(Integer.parseInt(initial[j]));\n\t\t\t\t}\n\t\t\t\tint pos = al.indexOf(0);\n\t\t\t\tSystem.out.println(pos+1);\n\t\t}\n\t\tcatch(Exception e){\n\t\t\treturn;\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tInputStreamReader rd = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(rd);\n\t\ttry{\n\t\t\t\tArrayList<Integer> al = new ArrayList<Integer>();\n\t\t\t\tString str = br.readLine();\n\t\t\t\tString initial[] = str.split(\" \");\n\t\t\t\tfor(int j=0;j<initial.length;j++){\n\t\t\t\t\tal.add(Integer.parseInt(initial[j]));\n\t\t\t\t}\n\t\t\t\tint pos = al.indexOf(0);\n\t\t\t\tSystem.out.println(pos+1);\n\t\t}\n\t\tcatch(Exception e){\n\t\t\treturn;\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader rd = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(rd);\n\t\ttry{\n\t\t\t\tArrayList<Integer> al = new ArrayList<Integer>();\n\t\t\t\tString str = br.readLine();\n\t\t\t\tString initial[] = str.split(\" \");\n\t\t\t\tfor(int j=0;j<initial.length;j++){\n\t\t\t\t\tal.add(Integer.parseInt(initial[j]));\n\t\t\t\t}\n\t\t\t\tint pos = al.indexOf(0);\n\t\t\t\tSystem.out.println(pos+1);\n\t\t}\n\t\tcatch(Exception e){\n\t\t\treturn;\n\t\t}\n\t}",
"InputStreamReader rd = new InputStreamReader(System.in);",
"rd",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(rd);",
"br",
"new BufferedReader(rd)",
"try{\n\t\t\t\tArrayList<Integer> al = new ArrayList<Integer>();\n\t\t\t\tString str = br.readLine();\n\t\t\t\tString initial[] = str.split(\" \");\n\t\t\t\tfor(int j=0;j<initial.length;j++){\n\t\t\t\t\tal.add(Integer.parseInt(initial[j]));\n\t\t\t\t}\n\t\t\t\tint pos = al.indexOf(0);\n\t\t\t\tSystem.out.println(pos+1);\n\t\t}\n\t\tcatch(Exception e){\n\t\t\treturn;\n\t\t}",
"catch(Exception e){\n\t\t\treturn;\n\t\t}",
"Exception e",
"{\n\t\t\treturn;\n\t\t}",
"return;",
"{\n\t\t\t\tArrayList<Integer> al = new ArrayList<Integer>();\n\t\t\t\tString str = br.readLine();\n\t\t\t\tString initial[] = str.split(\" \");\n\t\t\t\tfor(int j=0;j<initial.length;j++){\n\t\t\t\t\tal.add(Integer.parseInt(initial[j]));\n\t\t\t\t}\n\t\t\t\tint pos = al.indexOf(0);\n\t\t\t\tSystem.out.println(pos+1);\n\t\t}",
"ArrayList<Integer> al = new ArrayList<Integer>();",
"al",
"new ArrayList<Integer>()",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String initial[] = str.split(\" \");",
"initial",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"for(int j=0;j<initial.length;j++){\n\t\t\t\t\tal.add(Integer.parseInt(initial[j]));\n\t\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<initial.length",
"j",
"initial.length",
"initial",
"initial.length",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tal.add(Integer.parseInt(initial[j]));\n\t\t\t\t}",
"{\n\t\t\t\t\tal.add(Integer.parseInt(initial[j]));\n\t\t\t\t}",
"al.add(Integer.parseInt(initial[j]))",
"al.add",
"al",
"Integer.parseInt(initial[j])",
"Integer.parseInt",
"Integer",
"initial[j]",
"initial",
"j",
"int pos = al.indexOf(0);",
"pos",
"al.indexOf(0)",
"al.indexOf",
"al",
"0",
"System.out.println(pos+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"pos+1",
"pos",
"1",
"String args[]",
"args",
"public class Main{\n\tpublic static void main(String args[]){\n\t\tInputStreamReader rd = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(rd);\n\t\ttry{\n\t\t\t\tArrayList<Integer> al = new ArrayList<Integer>();\n\t\t\t\tString str = br.readLine();\n\t\t\t\tString initial[] = str.split(\" \");\n\t\t\t\tfor(int j=0;j<initial.length;j++){\n\t\t\t\t\tal.add(Integer.parseInt(initial[j]));\n\t\t\t\t}\n\t\t\t\tint pos = al.indexOf(0);\n\t\t\t\tSystem.out.println(pos+1);\n\t\t}\n\t\tcatch(Exception e){\n\t\t\treturn;\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String args[]){\n\t\tInputStreamReader rd = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(rd);\n\t\ttry{\n\t\t\t\tArrayList<Integer> al = new ArrayList<Integer>();\n\t\t\t\tString str = br.readLine();\n\t\t\t\tString initial[] = str.split(\" \");\n\t\t\t\tfor(int j=0;j<initial.length;j++){\n\t\t\t\t\tal.add(Integer.parseInt(initial[j]));\n\t\t\t\t}\n\t\t\t\tint pos = al.indexOf(0);\n\t\t\t\tSystem.out.println(pos+1);\n\t\t}\n\t\tcatch(Exception e){\n\t\t\treturn;\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.*;
import java.lang.*;
import java.io.*;
public class Main{
public static void main(String args[]){
InputStreamReader rd = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(rd);
try{
ArrayList<Integer> al = new ArrayList<Integer>();
String str = br.readLine();
String initial[] = str.split(" ");
for(int j=0;j<initial.length;j++){
al.add(Integer.parseInt(initial[j]));
}
int pos = al.indexOf(0);
System.out.println(pos+1);
}
catch(Exception e){
return;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
0,
18,
13,
17,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
85,
8
],
[
85,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
11,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
11,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
11,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
54,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
67,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
79,
80
],
[
79,
81
],
[
9,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
]
| [
"import java.util.Scanner;\nimport java.lang.*;\n\npublic class Main{\n \n\tpublic static void main(String args[]){\n\n Scanner sc = new Scanner(System.in);\n\tint array[] = new int[5];\n\tarray[0] = sc.nextInt();\n\tarray[1] = sc.nextInt();\n\tarray[2] = sc.nextInt();\n\tarray[3] = sc.nextInt();\n\tarray[4] = sc.nextInt();\n\n\n\n for(int i = 0; i<5; i++){\n \tif(array[i] == 0){\n \tSystem.out.println(i+1);\n }\n \n \n }\n \n \n \n } \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.lang.*;",
"lang.*",
"java",
"public class Main{\n \n\tpublic static void main(String args[]){\n\n Scanner sc = new Scanner(System.in);\n\tint array[] = new int[5];\n\tarray[0] = sc.nextInt();\n\tarray[1] = sc.nextInt();\n\tarray[2] = sc.nextInt();\n\tarray[3] = sc.nextInt();\n\tarray[4] = sc.nextInt();\n\n\n\n for(int i = 0; i<5; i++){\n \tif(array[i] == 0){\n \tSystem.out.println(i+1);\n }\n \n \n }\n \n \n \n } \n}",
"Main",
"public static void main(String args[]){\n\n Scanner sc = new Scanner(System.in);\n\tint array[] = new int[5];\n\tarray[0] = sc.nextInt();\n\tarray[1] = sc.nextInt();\n\tarray[2] = sc.nextInt();\n\tarray[3] = sc.nextInt();\n\tarray[4] = sc.nextInt();\n\n\n\n for(int i = 0; i<5; i++){\n \tif(array[i] == 0){\n \tSystem.out.println(i+1);\n }\n \n \n }\n \n \n \n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n\tint array[] = new int[5];\n\tarray[0] = sc.nextInt();\n\tarray[1] = sc.nextInt();\n\tarray[2] = sc.nextInt();\n\tarray[3] = sc.nextInt();\n\tarray[4] = sc.nextInt();\n\n\n\n for(int i = 0; i<5; i++){\n \tif(array[i] == 0){\n \tSystem.out.println(i+1);\n }\n \n \n }\n \n \n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int array[] = new int[5];",
"array",
"new int[5]",
"5",
"array[0] = sc.nextInt()",
"array[0]",
"array",
"0",
"sc.nextInt()",
"sc.nextInt",
"sc",
"array[1] = sc.nextInt()",
"array[1]",
"array",
"1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"array[2] = sc.nextInt()",
"array[2]",
"array",
"2",
"sc.nextInt()",
"sc.nextInt",
"sc",
"array[3] = sc.nextInt()",
"array[3]",
"array",
"3",
"sc.nextInt()",
"sc.nextInt",
"sc",
"array[4] = sc.nextInt()",
"array[4]",
"array",
"4",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i = 0; i<5; i++){\n \tif(array[i] == 0){\n \tSystem.out.println(i+1);\n }\n \n \n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n \tif(array[i] == 0){\n \tSystem.out.println(i+1);\n }\n \n \n }",
"{\n \tif(array[i] == 0){\n \tSystem.out.println(i+1);\n }\n \n \n }",
"if(array[i] == 0){\n \tSystem.out.println(i+1);\n }",
"array[i] == 0",
"array[i]",
"array",
"i",
"0",
"{\n \tSystem.out.println(i+1);\n }",
"System.out.println(i+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"String args[]",
"args",
"public class Main{\n \n\tpublic static void main(String args[]){\n\n Scanner sc = new Scanner(System.in);\n\tint array[] = new int[5];\n\tarray[0] = sc.nextInt();\n\tarray[1] = sc.nextInt();\n\tarray[2] = sc.nextInt();\n\tarray[3] = sc.nextInt();\n\tarray[4] = sc.nextInt();\n\n\n\n for(int i = 0; i<5; i++){\n \tif(array[i] == 0){\n \tSystem.out.println(i+1);\n }\n \n \n }\n \n \n \n } \n}",
"public class Main{\n \n\tpublic static void main(String args[]){\n\n Scanner sc = new Scanner(System.in);\n\tint array[] = new int[5];\n\tarray[0] = sc.nextInt();\n\tarray[1] = sc.nextInt();\n\tarray[2] = sc.nextInt();\n\tarray[3] = sc.nextInt();\n\tarray[4] = sc.nextInt();\n\n\n\n for(int i = 0; i<5; i++){\n \tif(array[i] == 0){\n \tSystem.out.println(i+1);\n }\n \n \n }\n \n \n \n } \n}",
"Main"
]
| import java.util.Scanner;
import java.lang.*;
public class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int array[] = new int[5];
array[0] = sc.nextInt();
array[1] = sc.nextInt();
array[2] = sc.nextInt();
array[3] = sc.nextInt();
array[4] = sc.nextInt();
for(int i = 0; i<5; i++){
if(array[i] == 0){
System.out.println(i+1);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
17,
13,
4,
18,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
6,
44
],
[
44,
45
]
]
| [
"//package test;\n\nimport java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint sum = 0;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tsum += sc.nextInt();\n\t\t}\n\t\tSystem.out.println(15 - sum);\n\t\tsc.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint sum = 0;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tsum += sc.nextInt();\n\t\t}\n\t\tSystem.out.println(15 - sum);\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint sum = 0;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tsum += sc.nextInt();\n\t\t}\n\t\tSystem.out.println(15 - sum);\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint sum = 0;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tsum += sc.nextInt();\n\t\t}\n\t\tSystem.out.println(15 - sum);\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int sum = 0;",
"sum",
"0",
"for (int i = 0; i < 5; i++) {\n\t\t\tsum += sc.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tsum += sc.nextInt();\n\t\t}",
"{\n\t\t\tsum += sc.nextInt();\n\t\t}",
"sum += sc.nextInt()",
"sum",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(15 - sum)",
"System.out.println",
"System.out",
"System",
"System.out",
"15 - sum",
"15",
"sum",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args"
]
| //package test;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int sum = 0;
for (int i = 0; i < 5; i++) {
sum += sc.nextInt();
}
System.out.println(15 - sum);
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
17,
30,
3,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
45,
5
],
[
45,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
29,
33
],
[
28,
34
],
[
34,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
]
| [
"import java.util.*;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int i = 1;\n for(i=1;i<=5;i++){\n if(sc.nextInt()==0){\n break;\n }\n }\n System.out.println(i);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int i = 1;\n for(i=1;i<=5;i++){\n if(sc.nextInt()==0){\n break;\n }\n }\n System.out.println(i);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int i = 1;\n for(i=1;i<=5;i++){\n if(sc.nextInt()==0){\n break;\n }\n }\n System.out.println(i);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int i = 1;\n for(i=1;i<=5;i++){\n if(sc.nextInt()==0){\n break;\n }\n }\n System.out.println(i);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"for(i=1;i<=5;i++){\n if(sc.nextInt()==0){\n break;\n }\n }",
"i=1;",
"i=1",
"i",
"1",
"i<=5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if(sc.nextInt()==0){\n break;\n }\n }",
"{\n if(sc.nextInt()==0){\n break;\n }\n }",
"if(sc.nextInt()==0){\n break;\n }",
"sc.nextInt()==0",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"{\n break;\n }",
"break;",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int i = 1;\n for(i=1;i<=5;i++){\n if(sc.nextInt()==0){\n break;\n }\n }\n System.out.println(i);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int i = 1;\n for(i=1;i<=5;i++){\n if(sc.nextInt()==0){\n break;\n }\n }\n System.out.println(i);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int i = 1;
for(i=1;i<=5;i++){
if(sc.nextInt()==0){
break;
}
}
System.out.println(i);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
20,
13,
41,
13,
20,
13,
41,
13,
20,
13,
12,
13,
30,
0,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
13,
17,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
4,
18,
18,
13,
13,
17,
12,
13,
30,
4,
18,
18,
13,
13,
17,
12,
13,
30,
4,
18,
18,
13,
13,
17,
12,
13,
30,
4,
18,
18,
13,
13,
17,
12,
13,
30,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
2,
2,
2,
13,
13,
2,
13,
13,
2,
2,
13,
13,
2,
13,
13,
23,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
0,
18,
13,
17,
0,
18,
13,
17,
17,
0,
18,
13,
17,
0,
18,
13,
17,
17,
0,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
2,
18,
13,
2,
13,
17,
13,
13,
0,
18,
13,
13,
2,
13,
2,
2,
18,
13,
2,
13,
13,
2,
13,
13,
13,
0,
18,
13,
13,
2,
2,
18,
13,
2,
13,
17,
18,
13,
13,
13,
12,
13,
30,
14,
2,
2,
2,
13,
13,
2,
13,
17,
2,
13,
17,
29,
17,
29,
2,
2,
18,
13,
13,
2,
2,
18,
13,
13,
18,
13,
2,
13,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
17,
2,
13,
4,
13,
2,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
359,
5
],
[
359,
6
],
[
6,
7
],
[
359,
8
],
[
8,
9
],
[
8,
10
],
[
359,
11
],
[
11,
12
],
[
11,
13
],
[
359,
14
],
[
14,
15
],
[
14,
16
],
[
359,
18
],
[
18,
19
],
[
18,
20
],
[
359,
22
],
[
22,
23
],
[
22,
24
],
[
359,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
45,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
26,
57
],
[
57,
58
],
[
359,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
59,
68
],
[
68,
69
],
[
359,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
70,
79
],
[
79,
80
],
[
359,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
84,
90
],
[
81,
91
],
[
91,
92
],
[
81,
93
],
[
93,
94
],
[
359,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
102,
103
],
[
103,
104
],
[
359,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
112,
113
],
[
113,
114
],
[
359,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
122,
123
],
[
123,
124
],
[
359,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
132,
133
],
[
133,
134
],
[
359,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
139,
142
],
[
142,
143
],
[
143,
144
],
[
359,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
148,
153
],
[
359,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
157,
162
],
[
359,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
166,
171
],
[
359,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
175,
180
],
[
359,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
359,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
191,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
195,
199
],
[
199,
200
],
[
199,
201
],
[
194,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
206,
207
],
[
206,
208
],
[
187,
209
],
[
209,
210
],
[
187,
211
],
[
211,
212
],
[
187,
213
],
[
213,
214
],
[
187,
215
],
[
215,
216
],
[
359,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
220,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
224,
228
],
[
219,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
229,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
233,
237
],
[
219,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
242
],
[
219,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
243,
248
],
[
248,
249
],
[
248,
250
],
[
243,
251
],
[
251,
252
],
[
252,
253
],
[
243,
254
],
[
255,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
256,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
264,
266
],
[
261,
267
],
[
260,
268
],
[
255,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
269,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
276,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
279,
281
],
[
276,
282
],
[
282,
283
],
[
282,
284
],
[
275,
285
],
[
255,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
286,
290
],
[
290,
291
],
[
291,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
294,
296
],
[
291,
297
],
[
297,
298
],
[
297,
299
],
[
290,
300
],
[
359,
301
],
[
301,
302
],
[
301,
303
],
[
303,
304
],
[
304,
305
],
[
306,
306
],
[
306,
307
],
[
307,
308
],
[
307,
309
],
[
306,
310
],
[
310,
311
],
[
310,
312
],
[
306,
313
],
[
313,
314
],
[
313,
315
],
[
304,
316
],
[
316,
317
],
[
303,
318
],
[
318,
319
],
[
319,
320
],
[
320,
321
],
[
321,
322
],
[
321,
323
],
[
320,
324
],
[
324,
325
],
[
325,
326
],
[
326,
327
],
[
326,
328
],
[
325,
329
],
[
329,
330
],
[
329,
331
],
[
331,
332
],
[
331,
333
],
[
324,
334
],
[
319,
335
],
[
301,
336
],
[
336,
337
],
[
301,
338
],
[
338,
339
],
[
359,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
343,
344
],
[
344,
345
],
[
345,
346
],
[
345,
347
],
[
344,
348
],
[
344,
349
],
[
349,
350
],
[
349,
351
],
[
351,
352
],
[
351,
353
],
[
353,
354
],
[
353,
355
],
[
340,
356
],
[
356,
357
],
[
0,
358
],
[
358,
359
],
[
358,
360
]
]
| [
"\nimport java.util.*;\n\npublic class Main {\n static Scanner scanner;\n\n public static void main(String[] args) {\n scanner = new Scanner(System.in);\n for (int i = 1; i <6; i++) {\n if (nextInt() == 0) {\n System.out.println(i);\n }\n }\n }\n\n public static void println(Object o) {\n System.out.println(o);\n }\n\n public static void print(Object o) {\n System.out.print(o);\n }\n\n public static void printf(String format, Object... o) {\n System.out.printf(format, o);\n }\n\n public static int nextInt() {\n return Integer.parseInt(scanner.next());\n }\n\n public static long nextLong() {\n return Long.parseLong(scanner.next());\n }\n\n public static double nextDouble() {\n return Double.parseDouble(scanner.next());\n }\n\n public static short nextShort() {\n return Short.parseShort(scanner.next());\n }\n\n public static float nextFloat() {\n return Float.parseFloat(scanner.next());\n }\n\n public static void printYes() {\n System.out.println(\"Yes\");\n }\n\n public static void printYES() {\n System.out.println(\"YES\");\n }\n\n public static void printNo() {\n System.out.println(\"No\");\n }\n\n public static void printNO() {\n System.out.println(\"NO\");\n }\n\n public static void nextLine() {\n scanner.nextLine();\n }\n\n public static double distance(double x, double y, double x2, double y2) {\n return Math.sqrt((x2 - x) * (x2 - x) + (y2 - y) * (y2 - y));\n }\n\n public static int MOD = 1_000_000_007;\n public static int MAX = 100000;\n public static long[] fac = new long[MAX];\n public static long[] finv = new long[MAX];\n public static long[] inv = new long[MAX];\n\n public static void combinit() {\n fac[0] = fac[1] = 1;\n finv[0] = finv[1] = 1;\n inv[1] = 1;\n for (int i = 2; i < MAX; i++) {\n fac[i] = fac[i - 1] * i % MOD;\n inv[i] = MOD - inv[MOD % i] * (MOD / i) % MOD;\n finv[i] = finv[i - 1] * inv[i] % MOD;\n }\n }\n\n public static long combination(int n, int k) {\n if (n < k || n < 0 || k < 0) return 0;\n return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;\n }\n\n public static long factorial(long n) {\n return n <= 0 ? 1 : n * factorial(n - 1);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n static Scanner scanner;\n\n public static void main(String[] args) {\n scanner = new Scanner(System.in);\n for (int i = 1; i <6; i++) {\n if (nextInt() == 0) {\n System.out.println(i);\n }\n }\n }\n\n public static void println(Object o) {\n System.out.println(o);\n }\n\n public static void print(Object o) {\n System.out.print(o);\n }\n\n public static void printf(String format, Object... o) {\n System.out.printf(format, o);\n }\n\n public static int nextInt() {\n return Integer.parseInt(scanner.next());\n }\n\n public static long nextLong() {\n return Long.parseLong(scanner.next());\n }\n\n public static double nextDouble() {\n return Double.parseDouble(scanner.next());\n }\n\n public static short nextShort() {\n return Short.parseShort(scanner.next());\n }\n\n public static float nextFloat() {\n return Float.parseFloat(scanner.next());\n }\n\n public static void printYes() {\n System.out.println(\"Yes\");\n }\n\n public static void printYES() {\n System.out.println(\"YES\");\n }\n\n public static void printNo() {\n System.out.println(\"No\");\n }\n\n public static void printNO() {\n System.out.println(\"NO\");\n }\n\n public static void nextLine() {\n scanner.nextLine();\n }\n\n public static double distance(double x, double y, double x2, double y2) {\n return Math.sqrt((x2 - x) * (x2 - x) + (y2 - y) * (y2 - y));\n }\n\n public static int MOD = 1_000_000_007;\n public static int MAX = 100000;\n public static long[] fac = new long[MAX];\n public static long[] finv = new long[MAX];\n public static long[] inv = new long[MAX];\n\n public static void combinit() {\n fac[0] = fac[1] = 1;\n finv[0] = finv[1] = 1;\n inv[1] = 1;\n for (int i = 2; i < MAX; i++) {\n fac[i] = fac[i - 1] * i % MOD;\n inv[i] = MOD - inv[MOD % i] * (MOD / i) % MOD;\n finv[i] = finv[i - 1] * inv[i] % MOD;\n }\n }\n\n public static long combination(int n, int k) {\n if (n < k || n < 0 || k < 0) return 0;\n return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;\n }\n\n public static long factorial(long n) {\n return n <= 0 ? 1 : n * factorial(n - 1);\n }\n}",
"Main",
"static Scanner scanner;",
"scanner",
"public static int MOD = 1_000_000_007;",
"MOD",
"1_000_000_007",
"public static int MAX = 100000;",
"MAX",
"100000",
"public static long[] fac = new long[MAX];",
"fac",
"new long[MAX]",
"MAX",
"public static long[] finv = new long[MAX];",
"finv",
"new long[MAX]",
"MAX",
"public static long[] inv = new long[MAX];",
"inv",
"new long[MAX]",
"MAX",
"public static void main(String[] args) {\n scanner = new Scanner(System.in);\n for (int i = 1; i <6; i++) {\n if (nextInt() == 0) {\n System.out.println(i);\n }\n }\n }",
"main",
"{\n scanner = new Scanner(System.in);\n for (int i = 1; i <6; i++) {\n if (nextInt() == 0) {\n System.out.println(i);\n }\n }\n }",
"scanner = new Scanner(System.in)",
"scanner",
"new Scanner(System.in)",
"for (int i = 1; i <6; i++) {\n if (nextInt() == 0) {\n System.out.println(i);\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <6",
"i",
"6",
"i++",
"i++",
"i",
"{\n if (nextInt() == 0) {\n System.out.println(i);\n }\n }",
"{\n if (nextInt() == 0) {\n System.out.println(i);\n }\n }",
"if (nextInt() == 0) {\n System.out.println(i);\n }",
"nextInt() == 0",
"nextInt()",
"nextInt",
"0",
"{\n System.out.println(i);\n }",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"public static void println(Object o) {\n System.out.println(o);\n }",
"println",
"{\n System.out.println(o);\n }",
"System.out.println(o)",
"System.out.println",
"System.out",
"System",
"System.out",
"o",
"Object o",
"o",
"public static void print(Object o) {\n System.out.print(o);\n }",
"print",
"{\n System.out.print(o);\n }",
"System.out.print(o)",
"System.out.print",
"System.out",
"System",
"System.out",
"o",
"Object o",
"o",
"public static void printf(String format, Object... o) {\n System.out.printf(format, o);\n }",
"printf",
"{\n System.out.printf(format, o);\n }",
"System.out.printf(format, o)",
"System.out.printf",
"System.out",
"System",
"System.out",
"format",
"o",
"String format",
"format",
"Object... o",
"o",
"public static int nextInt() {\n return Integer.parseInt(scanner.next());\n }",
"nextInt",
"{\n return Integer.parseInt(scanner.next());\n }",
"return Integer.parseInt(scanner.next());",
"Integer.parseInt(scanner.next())",
"Integer.parseInt",
"Integer",
"scanner.next()",
"scanner.next",
"scanner",
"public static long nextLong() {\n return Long.parseLong(scanner.next());\n }",
"nextLong",
"{\n return Long.parseLong(scanner.next());\n }",
"return Long.parseLong(scanner.next());",
"Long.parseLong(scanner.next())",
"Long.parseLong",
"Long",
"scanner.next()",
"scanner.next",
"scanner",
"public static double nextDouble() {\n return Double.parseDouble(scanner.next());\n }",
"nextDouble",
"{\n return Double.parseDouble(scanner.next());\n }",
"return Double.parseDouble(scanner.next());",
"Double.parseDouble(scanner.next())",
"Double.parseDouble",
"Double",
"scanner.next()",
"scanner.next",
"scanner",
"public static short nextShort() {\n return Short.parseShort(scanner.next());\n }",
"nextShort",
"{\n return Short.parseShort(scanner.next());\n }",
"return Short.parseShort(scanner.next());",
"Short.parseShort(scanner.next())",
"Short.parseShort",
"Short",
"scanner.next()",
"scanner.next",
"scanner",
"public static float nextFloat() {\n return Float.parseFloat(scanner.next());\n }",
"nextFloat",
"{\n return Float.parseFloat(scanner.next());\n }",
"return Float.parseFloat(scanner.next());",
"Float.parseFloat(scanner.next())",
"Float.parseFloat",
"Float",
"scanner.next()",
"scanner.next",
"scanner",
"public static void printYes() {\n System.out.println(\"Yes\");\n }",
"printYes",
"{\n System.out.println(\"Yes\");\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"public static void printYES() {\n System.out.println(\"YES\");\n }",
"printYES",
"{\n System.out.println(\"YES\");\n }",
"System.out.println(\"YES\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"YES\"",
"public static void printNo() {\n System.out.println(\"No\");\n }",
"printNo",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"public static void printNO() {\n System.out.println(\"NO\");\n }",
"printNO",
"{\n System.out.println(\"NO\");\n }",
"System.out.println(\"NO\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"NO\"",
"public static void nextLine() {\n scanner.nextLine();\n }",
"nextLine",
"{\n scanner.nextLine();\n }",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"public static double distance(double x, double y, double x2, double y2) {\n return Math.sqrt((x2 - x) * (x2 - x) + (y2 - y) * (y2 - y));\n }",
"distance",
"{\n return Math.sqrt((x2 - x) * (x2 - x) + (y2 - y) * (y2 - y));\n }",
"return Math.sqrt((x2 - x) * (x2 - x) + (y2 - y) * (y2 - y));",
"Math.sqrt((x2 - x) * (x2 - x) + (y2 - y) * (y2 - y))",
"Math.sqrt",
"Math",
"(x2 - x) * (x2 - x) + (y2 - y) * (y2 - y)",
"(x2 - x) * (x2 - x)",
"(x2 - x)",
"x2",
"x",
"(x2 - x)",
"x2",
"x",
"(y2 - y) * (y2 - y)",
"(y2 - y)",
"y2",
"y",
"(y2 - y)",
"y2",
"y",
"double x",
"x",
"double y",
"y",
"double x2",
"x2",
"double y2",
"y2",
"public static void combinit() {\n fac[0] = fac[1] = 1;\n finv[0] = finv[1] = 1;\n inv[1] = 1;\n for (int i = 2; i < MAX; i++) {\n fac[i] = fac[i - 1] * i % MOD;\n inv[i] = MOD - inv[MOD % i] * (MOD / i) % MOD;\n finv[i] = finv[i - 1] * inv[i] % MOD;\n }\n }",
"combinit",
"{\n fac[0] = fac[1] = 1;\n finv[0] = finv[1] = 1;\n inv[1] = 1;\n for (int i = 2; i < MAX; i++) {\n fac[i] = fac[i - 1] * i % MOD;\n inv[i] = MOD - inv[MOD % i] * (MOD / i) % MOD;\n finv[i] = finv[i - 1] * inv[i] % MOD;\n }\n }",
"fac[0] = fac[1] = 1",
"fac[0]",
"fac",
"0",
"fac[1] = 1",
"fac[1]",
"fac",
"1",
"1",
"finv[0] = finv[1] = 1",
"finv[0]",
"finv",
"0",
"finv[1] = 1",
"finv[1]",
"finv",
"1",
"1",
"inv[1] = 1",
"inv[1]",
"inv",
"1",
"1",
"for (int i = 2; i < MAX; i++) {\n fac[i] = fac[i - 1] * i % MOD;\n inv[i] = MOD - inv[MOD % i] * (MOD / i) % MOD;\n finv[i] = finv[i - 1] * inv[i] % MOD;\n }",
"int i = 2;",
"int i = 2;",
"i",
"2",
"i < MAX",
"i",
"MAX",
"i++",
"i++",
"i",
"{\n fac[i] = fac[i - 1] * i % MOD;\n inv[i] = MOD - inv[MOD % i] * (MOD / i) % MOD;\n finv[i] = finv[i - 1] * inv[i] % MOD;\n }",
"{\n fac[i] = fac[i - 1] * i % MOD;\n inv[i] = MOD - inv[MOD % i] * (MOD / i) % MOD;\n finv[i] = finv[i - 1] * inv[i] % MOD;\n }",
"fac[i] = fac[i - 1] * i % MOD",
"fac[i]",
"fac",
"i",
"fac[i - 1] * i % MOD",
"fac[i - 1] * i",
"fac[i - 1]",
"fac",
"i - 1",
"i",
"1",
"i",
"MOD",
"inv[i] = MOD - inv[MOD % i] * (MOD / i) % MOD",
"inv[i]",
"inv",
"i",
"MOD - inv[MOD % i] * (MOD / i) % MOD",
"MOD",
"inv[MOD % i] * (MOD / i) % MOD",
"inv[MOD % i] * (MOD / i)",
"inv[MOD % i]",
"inv",
"MOD % i",
"MOD",
"i",
"(MOD / i)",
"MOD",
"i",
"MOD",
"finv[i] = finv[i - 1] * inv[i] % MOD",
"finv[i]",
"finv",
"i",
"finv[i - 1] * inv[i] % MOD",
"finv[i - 1] * inv[i]",
"finv[i - 1]",
"finv",
"i - 1",
"i",
"1",
"inv[i]",
"inv",
"i",
"MOD",
"public static long combination(int n, int k) {\n if (n < k || n < 0 || k < 0) return 0;\n return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;\n }",
"combination",
"{\n if (n < k || n < 0 || k < 0) return 0;\n return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;\n }",
"if (n < k || n < 0 || k < 0) return 0;",
"n < k || n < 0 || k < 0",
"n < k || n < 0 || k < 0",
"n < k",
"n",
"k",
"n < 0",
"n",
"0",
"k < 0",
"k",
"0",
"return 0;",
"0",
"return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;",
"fac[n] * (finv[k] * finv[n - k] % MOD) % MOD",
"fac[n] * (finv[k] * finv[n - k] % MOD)",
"fac[n]",
"fac",
"n",
"(finv[k] * finv[n - k] % MOD)",
"finv[k] * finv[n - k]",
"finv[k]",
"finv",
"k",
"finv[n - k]",
"finv",
"n - k",
"n",
"k",
"MOD",
"MOD",
"int n",
"n",
"int k",
"k",
"public static long factorial(long n) {\n return n <= 0 ? 1 : n * factorial(n - 1);\n }",
"factorial",
"{\n return n <= 0 ? 1 : n * factorial(n - 1);\n }",
"return n <= 0 ? 1 : n * factorial(n - 1);",
"n <= 0 ? 1 : n * factorial(n - 1)",
"n <= 0",
"n",
"0",
"1",
"n * factorial(n - 1)",
"n",
"factorial(n - 1)",
"factorial",
"n - 1",
"n",
"1",
"long n",
"n",
"public class Main {\n static Scanner scanner;\n\n public static void main(String[] args) {\n scanner = new Scanner(System.in);\n for (int i = 1; i <6; i++) {\n if (nextInt() == 0) {\n System.out.println(i);\n }\n }\n }\n\n public static void println(Object o) {\n System.out.println(o);\n }\n\n public static void print(Object o) {\n System.out.print(o);\n }\n\n public static void printf(String format, Object... o) {\n System.out.printf(format, o);\n }\n\n public static int nextInt() {\n return Integer.parseInt(scanner.next());\n }\n\n public static long nextLong() {\n return Long.parseLong(scanner.next());\n }\n\n public static double nextDouble() {\n return Double.parseDouble(scanner.next());\n }\n\n public static short nextShort() {\n return Short.parseShort(scanner.next());\n }\n\n public static float nextFloat() {\n return Float.parseFloat(scanner.next());\n }\n\n public static void printYes() {\n System.out.println(\"Yes\");\n }\n\n public static void printYES() {\n System.out.println(\"YES\");\n }\n\n public static void printNo() {\n System.out.println(\"No\");\n }\n\n public static void printNO() {\n System.out.println(\"NO\");\n }\n\n public static void nextLine() {\n scanner.nextLine();\n }\n\n public static double distance(double x, double y, double x2, double y2) {\n return Math.sqrt((x2 - x) * (x2 - x) + (y2 - y) * (y2 - y));\n }\n\n public static int MOD = 1_000_000_007;\n public static int MAX = 100000;\n public static long[] fac = new long[MAX];\n public static long[] finv = new long[MAX];\n public static long[] inv = new long[MAX];\n\n public static void combinit() {\n fac[0] = fac[1] = 1;\n finv[0] = finv[1] = 1;\n inv[1] = 1;\n for (int i = 2; i < MAX; i++) {\n fac[i] = fac[i - 1] * i % MOD;\n inv[i] = MOD - inv[MOD % i] * (MOD / i) % MOD;\n finv[i] = finv[i - 1] * inv[i] % MOD;\n }\n }\n\n public static long combination(int n, int k) {\n if (n < k || n < 0 || k < 0) return 0;\n return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;\n }\n\n public static long factorial(long n) {\n return n <= 0 ? 1 : n * factorial(n - 1);\n }\n}",
"public class Main {\n static Scanner scanner;\n\n public static void main(String[] args) {\n scanner = new Scanner(System.in);\n for (int i = 1; i <6; i++) {\n if (nextInt() == 0) {\n System.out.println(i);\n }\n }\n }\n\n public static void println(Object o) {\n System.out.println(o);\n }\n\n public static void print(Object o) {\n System.out.print(o);\n }\n\n public static void printf(String format, Object... o) {\n System.out.printf(format, o);\n }\n\n public static int nextInt() {\n return Integer.parseInt(scanner.next());\n }\n\n public static long nextLong() {\n return Long.parseLong(scanner.next());\n }\n\n public static double nextDouble() {\n return Double.parseDouble(scanner.next());\n }\n\n public static short nextShort() {\n return Short.parseShort(scanner.next());\n }\n\n public static float nextFloat() {\n return Float.parseFloat(scanner.next());\n }\n\n public static void printYes() {\n System.out.println(\"Yes\");\n }\n\n public static void printYES() {\n System.out.println(\"YES\");\n }\n\n public static void printNo() {\n System.out.println(\"No\");\n }\n\n public static void printNO() {\n System.out.println(\"NO\");\n }\n\n public static void nextLine() {\n scanner.nextLine();\n }\n\n public static double distance(double x, double y, double x2, double y2) {\n return Math.sqrt((x2 - x) * (x2 - x) + (y2 - y) * (y2 - y));\n }\n\n public static int MOD = 1_000_000_007;\n public static int MAX = 100000;\n public static long[] fac = new long[MAX];\n public static long[] finv = new long[MAX];\n public static long[] inv = new long[MAX];\n\n public static void combinit() {\n fac[0] = fac[1] = 1;\n finv[0] = finv[1] = 1;\n inv[1] = 1;\n for (int i = 2; i < MAX; i++) {\n fac[i] = fac[i - 1] * i % MOD;\n inv[i] = MOD - inv[MOD % i] * (MOD / i) % MOD;\n finv[i] = finv[i - 1] * inv[i] % MOD;\n }\n }\n\n public static long combination(int n, int k) {\n if (n < k || n < 0 || k < 0) return 0;\n return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;\n }\n\n public static long factorial(long n) {\n return n <= 0 ? 1 : n * factorial(n - 1);\n }\n}",
"Main"
]
|
import java.util.*;
public class Main {
static Scanner scanner;
public static void main(String[] args) {
scanner = new Scanner(System.in);
for (int i = 1; i <6; i++) {
if (nextInt() == 0) {
System.out.println(i);
}
}
}
public static void println(Object o) {
System.out.println(o);
}
public static void print(Object o) {
System.out.print(o);
}
public static void printf(String format, Object... o) {
System.out.printf(format, o);
}
public static int nextInt() {
return Integer.parseInt(scanner.next());
}
public static long nextLong() {
return Long.parseLong(scanner.next());
}
public static double nextDouble() {
return Double.parseDouble(scanner.next());
}
public static short nextShort() {
return Short.parseShort(scanner.next());
}
public static float nextFloat() {
return Float.parseFloat(scanner.next());
}
public static void printYes() {
System.out.println("Yes");
}
public static void printYES() {
System.out.println("YES");
}
public static void printNo() {
System.out.println("No");
}
public static void printNO() {
System.out.println("NO");
}
public static void nextLine() {
scanner.nextLine();
}
public static double distance(double x, double y, double x2, double y2) {
return Math.sqrt((x2 - x) * (x2 - x) + (y2 - y) * (y2 - y));
}
public static int MOD = 1_000_000_007;
public static int MAX = 100000;
public static long[] fac = new long[MAX];
public static long[] finv = new long[MAX];
public static long[] inv = new long[MAX];
public static void combinit() {
fac[0] = fac[1] = 1;
finv[0] = finv[1] = 1;
inv[1] = 1;
for (int i = 2; i < MAX; i++) {
fac[i] = fac[i - 1] * i % MOD;
inv[i] = MOD - inv[MOD % i] * (MOD / i) % MOD;
finv[i] = finv[i - 1] * inv[i] % MOD;
}
}
public static long combination(int n, int k) {
if (n < k || n < 0 || k < 0) return 0;
return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;
}
public static long factorial(long n) {
return n <= 0 ? 1 : n * factorial(n - 1);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
109,
23
],
[
109,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
26,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
26,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
26,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
26,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
26,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
55,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
66,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
77,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
88,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
24,
106
],
[
106,
107
],
[
0,
108
],
[
108,
109
],
[
108,
110
]
]
| [
"import java.io.BufferedReader;\nimport java.io.*;\nimport java.util.*;\nimport java.util.ArrayList;\nimport java.util.Iterator;\nimport java.util.List;\nimport java.util.Collections;\npublic class Main {\n\tpublic static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n\n if(a == 0){\n System.out.println(1);\n }else if(b == 0){\n System.out.println(2);\n }else if(c == 0){\n System.out.println(3);\n }else if(d == 0){\n System.out.println(4);\n }else{\n System.out.println(5);\n }\n\n \n\n\n \n \n\n\n \n\n\n \n \n\n\n \n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Iterator;",
"Iterator",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"public class Main {\n\tpublic static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n\n if(a == 0){\n System.out.println(1);\n }else if(b == 0){\n System.out.println(2);\n }else if(c == 0){\n System.out.println(3);\n }else if(d == 0){\n System.out.println(4);\n }else{\n System.out.println(5);\n }\n\n \n\n\n \n \n\n\n \n\n\n \n \n\n\n \n\t}\n}",
"Main",
"public static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n\n if(a == 0){\n System.out.println(1);\n }else if(b == 0){\n System.out.println(2);\n }else if(c == 0){\n System.out.println(3);\n }else if(d == 0){\n System.out.println(4);\n }else{\n System.out.println(5);\n }\n\n \n\n\n \n \n\n\n \n\n\n \n \n\n\n \n\t}",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n\n if(a == 0){\n System.out.println(1);\n }else if(b == 0){\n System.out.println(2);\n }else if(c == 0){\n System.out.println(3);\n }else if(d == 0){\n System.out.println(4);\n }else{\n System.out.println(5);\n }\n\n \n\n\n \n \n\n\n \n\n\n \n \n\n\n \n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int 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",
"if(a == 0){\n System.out.println(1);\n }else if(b == 0){\n System.out.println(2);\n }else if(c == 0){\n System.out.println(3);\n }else if(d == 0){\n System.out.println(4);\n }else{\n System.out.println(5);\n }",
"a == 0",
"a",
"0",
"{\n System.out.println(1);\n }",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"if(b == 0){\n System.out.println(2);\n }else if(c == 0){\n System.out.println(3);\n }else if(d == 0){\n System.out.println(4);\n }else{\n System.out.println(5);\n }",
"b == 0",
"b",
"0",
"{\n System.out.println(2);\n }",
"System.out.println(2)",
"System.out.println",
"System.out",
"System",
"System.out",
"2",
"if(c == 0){\n System.out.println(3);\n }else if(d == 0){\n System.out.println(4);\n }else{\n System.out.println(5);\n }",
"c == 0",
"c",
"0",
"{\n System.out.println(3);\n }",
"System.out.println(3)",
"System.out.println",
"System.out",
"System",
"System.out",
"3",
"if(d == 0){\n System.out.println(4);\n }else{\n System.out.println(5);\n }",
"d == 0",
"d",
"0",
"{\n System.out.println(4);\n }",
"System.out.println(4)",
"System.out.println",
"System.out",
"System",
"System.out",
"4",
"{\n System.out.println(5);\n }",
"System.out.println(5)",
"System.out.println",
"System.out",
"System",
"System.out",
"5",
"final String[] args",
"args",
"public class Main {\n\tpublic static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n\n if(a == 0){\n System.out.println(1);\n }else if(b == 0){\n System.out.println(2);\n }else if(c == 0){\n System.out.println(3);\n }else if(d == 0){\n System.out.println(4);\n }else{\n System.out.println(5);\n }\n\n \n\n\n \n \n\n\n \n\n\n \n \n\n\n \n\t}\n}",
"public class Main {\n\tpublic static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n\n if(a == 0){\n System.out.println(1);\n }else if(b == 0){\n System.out.println(2);\n }else if(c == 0){\n System.out.println(3);\n }else if(d == 0){\n System.out.println(4);\n }else{\n System.out.println(5);\n }\n\n \n\n\n \n \n\n\n \n\n\n \n \n\n\n \n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.*;
import java.util.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Collections;
public class Main {
public static void main(final String[] args){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int d = sc.nextInt();
int e = sc.nextInt();
if(a == 0){
System.out.println(1);
}else if(b == 0){
System.out.println(2);
}else if(c == 0){
System.out.println(3);
}else if(d == 0){
System.out.println(4);
}else{
System.out.println(5);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
0,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
40,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
47,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
54,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
61,
68
],
[
68,
69
],
[
68,
70
],
[
8,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
8,
77
],
[
77,
78
],
[
78,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
]
| [
"import java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a =sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n int ans = 0;\n if(a == 0) ans = 1;\n else if(b == 0) ans = 2;\n else if(c == 0) ans = 3;\n else if(d == 0) ans = 4;\n else ans = 5;\n System.out.println(ans);\n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a =sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n int ans = 0;\n if(a == 0) ans = 1;\n else if(b == 0) ans = 2;\n else if(c == 0) ans = 3;\n else if(d == 0) ans = 4;\n else ans = 5;\n System.out.println(ans);\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a =sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n int ans = 0;\n if(a == 0) ans = 1;\n else if(b == 0) ans = 2;\n else if(c == 0) ans = 3;\n else if(d == 0) ans = 4;\n else ans = 5;\n System.out.println(ans);\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int a =sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n int ans = 0;\n if(a == 0) ans = 1;\n else if(b == 0) ans = 2;\n else if(c == 0) ans = 3;\n else if(d == 0) ans = 4;\n else ans = 5;\n System.out.println(ans);\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"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 ans = 0;",
"ans",
"0",
"if(a == 0) ans = 1;\n else if(b == 0) ans = 2;\n else if(c == 0) ans = 3;\n else if(d == 0) ans = 4;\n else ans = 5;",
"a == 0",
"a",
"0",
"ans = 1",
"ans",
"1",
"if(b == 0) ans = 2;\n else if(c == 0) ans = 3;\n else if(d == 0) ans = 4;\n else ans = 5;",
"b == 0",
"b",
"0",
"ans = 2",
"ans",
"2",
"if(c == 0) ans = 3;\n else if(d == 0) ans = 4;\n else ans = 5;",
"c == 0",
"c",
"0",
"ans = 3",
"ans",
"3",
"if(d == 0) ans = 4;\n else ans = 5;",
"d == 0",
"d",
"0",
"ans = 4",
"ans",
"4",
"ans = 5",
"ans",
"5",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a =sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n int ans = 0;\n if(a == 0) ans = 1;\n else if(b == 0) ans = 2;\n else if(c == 0) ans = 3;\n else if(d == 0) ans = 4;\n else ans = 5;\n System.out.println(ans);\n sc.close();\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a =sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n int ans = 0;\n if(a == 0) ans = 1;\n else if(b == 0) ans = 2;\n else if(c == 0) ans = 3;\n else if(d == 0) ans = 4;\n else ans = 5;\n System.out.println(ans);\n sc.close();\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a =sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int d = sc.nextInt();
int e = sc.nextInt();
int ans = 0;
if(a == 0) ans = 1;
else if(b == 0) ans = 2;
else if(c == 0) ans = 3;
else if(d == 0) ans = 4;
else ans = 5;
System.out.println(ans);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
29,
2,
13,
17,
29,
40,
17,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
20,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
89,
5
],
[
89,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
9,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
16,
18
],
[
9,
19
],
[
19,
20
],
[
20,
21
],
[
9,
22
],
[
23,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
6,
38
],
[
38,
39
],
[
89,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
42,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
42,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
42,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
42,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
42,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
42,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
42,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
40,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public int getIdx(int[] arr) {\n for (int i = 0; i < arr.length; i++) {\n if (arr[i] == 0) {\n return i + 1;\n }\n }\n return -1;\n }\n\n public static void main(String[] args) throws Exception {\n Main solution = new Main();\n\n Scanner scanner = new Scanner(System.in);\n int first = scanner.nextInt();\n int second = scanner.nextInt();\n int third = scanner.nextInt();\n int fourth = scanner.nextInt();\n int fifth = scanner.nextInt();\n\n int answer = solution.getIdx(new int[] { first, second, third, fourth, fifth });\n System.out.println(answer);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public int getIdx(int[] arr) {\n for (int i = 0; i < arr.length; i++) {\n if (arr[i] == 0) {\n return i + 1;\n }\n }\n return -1;\n }\n\n public static void main(String[] args) throws Exception {\n Main solution = new Main();\n\n Scanner scanner = new Scanner(System.in);\n int first = scanner.nextInt();\n int second = scanner.nextInt();\n int third = scanner.nextInt();\n int fourth = scanner.nextInt();\n int fifth = scanner.nextInt();\n\n int answer = solution.getIdx(new int[] { first, second, third, fourth, fifth });\n System.out.println(answer);\n }\n}",
"Main",
"public int getIdx(int[] arr) {\n for (int i = 0; i < arr.length; i++) {\n if (arr[i] == 0) {\n return i + 1;\n }\n }\n return -1;\n }",
"getIdx",
"{\n for (int i = 0; i < arr.length; i++) {\n if (arr[i] == 0) {\n return i + 1;\n }\n }\n return -1;\n }",
"for (int i = 0; i < arr.length; i++) {\n if (arr[i] == 0) {\n return i + 1;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\n if (arr[i] == 0) {\n return i + 1;\n }\n }",
"{\n if (arr[i] == 0) {\n return i + 1;\n }\n }",
"if (arr[i] == 0) {\n return i + 1;\n }",
"arr[i] == 0",
"arr[i]",
"arr",
"i",
"0",
"{\n return i + 1;\n }",
"return i + 1;",
"i + 1",
"i",
"1",
"return -1;",
"-1",
"1",
"int[] arr",
"arr",
"public static void main(String[] args) throws Exception {\n Main solution = new Main();\n\n Scanner scanner = new Scanner(System.in);\n int first = scanner.nextInt();\n int second = scanner.nextInt();\n int third = scanner.nextInt();\n int fourth = scanner.nextInt();\n int fifth = scanner.nextInt();\n\n int answer = solution.getIdx(new int[] { first, second, third, fourth, fifth });\n System.out.println(answer);\n }",
"main",
"{\n Main solution = new Main();\n\n Scanner scanner = new Scanner(System.in);\n int first = scanner.nextInt();\n int second = scanner.nextInt();\n int third = scanner.nextInt();\n int fourth = scanner.nextInt();\n int fifth = scanner.nextInt();\n\n int answer = solution.getIdx(new int[] { first, second, third, fourth, fifth });\n System.out.println(answer);\n }",
"Main solution = new Main();",
"solution",
"new Main()",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int first = scanner.nextInt();",
"first",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int second = scanner.nextInt();",
"second",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int third = scanner.nextInt();",
"third",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int fourth = scanner.nextInt();",
"fourth",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int fifth = scanner.nextInt();",
"fifth",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int answer = solution.getIdx(new int[] { first, second, third, fourth, fifth });",
"answer",
"solution.getIdx(new int[] { first, second, third, fourth, fifth })",
"solution.getIdx",
"solution",
"new int[] { first, second, third, fourth, fifth }",
"System.out.println(answer)",
"System.out.println",
"System.out",
"System",
"System.out",
"answer",
"String[] args",
"args",
"public class Main {\n public int getIdx(int[] arr) {\n for (int i = 0; i < arr.length; i++) {\n if (arr[i] == 0) {\n return i + 1;\n }\n }\n return -1;\n }\n\n public static void main(String[] args) throws Exception {\n Main solution = new Main();\n\n Scanner scanner = new Scanner(System.in);\n int first = scanner.nextInt();\n int second = scanner.nextInt();\n int third = scanner.nextInt();\n int fourth = scanner.nextInt();\n int fifth = scanner.nextInt();\n\n int answer = solution.getIdx(new int[] { first, second, third, fourth, fifth });\n System.out.println(answer);\n }\n}",
"public class Main {\n public int getIdx(int[] arr) {\n for (int i = 0; i < arr.length; i++) {\n if (arr[i] == 0) {\n return i + 1;\n }\n }\n return -1;\n }\n\n public static void main(String[] args) throws Exception {\n Main solution = new Main();\n\n Scanner scanner = new Scanner(System.in);\n int first = scanner.nextInt();\n int second = scanner.nextInt();\n int third = scanner.nextInt();\n int fourth = scanner.nextInt();\n int fifth = scanner.nextInt();\n\n int answer = solution.getIdx(new int[] { first, second, third, fourth, fifth });\n System.out.println(answer);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public int getIdx(int[] arr) {
for (int i = 0; i < arr.length; i++) {
if (arr[i] == 0) {
return i + 1;
}
}
return -1;
}
public static void main(String[] args) throws Exception {
Main solution = new Main();
Scanner scanner = new Scanner(System.in);
int first = scanner.nextInt();
int second = scanner.nextInt();
int third = scanner.nextInt();
int fourth = scanner.nextInt();
int fifth = scanner.nextInt();
int answer = solution.getIdx(new int[] { first, second, third, fourth, fifth });
System.out.println(answer);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
60,
5
],
[
60,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
6,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int[] X = new int[5];\n int result = 0;\n\n for (int i = 0; i < 5; i++) {\n X[i] = scanner.nextInt();\n if (X[i] == 0) {\n result = i+1;\n }\n }\n\n System.out.println(result);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int[] X = new int[5];\n int result = 0;\n\n for (int i = 0; i < 5; i++) {\n X[i] = scanner.nextInt();\n if (X[i] == 0) {\n result = i+1;\n }\n }\n\n System.out.println(result);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int[] X = new int[5];\n int result = 0;\n\n for (int i = 0; i < 5; i++) {\n X[i] = scanner.nextInt();\n if (X[i] == 0) {\n result = i+1;\n }\n }\n\n System.out.println(result);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n int[] X = new int[5];\n int result = 0;\n\n for (int i = 0; i < 5; i++) {\n X[i] = scanner.nextInt();\n if (X[i] == 0) {\n result = i+1;\n }\n }\n\n System.out.println(result);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int[] X = new int[5];",
"X",
"new int[5]",
"5",
"int result = 0;",
"result",
"0",
"for (int i = 0; i < 5; i++) {\n X[i] = scanner.nextInt();\n if (X[i] == 0) {\n result = i+1;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n X[i] = scanner.nextInt();\n if (X[i] == 0) {\n result = i+1;\n }\n }",
"{\n X[i] = scanner.nextInt();\n if (X[i] == 0) {\n result = i+1;\n }\n }",
"X[i] = scanner.nextInt()",
"X[i]",
"X",
"i",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (X[i] == 0) {\n result = i+1;\n }",
"X[i] == 0",
"X[i]",
"X",
"i",
"0",
"{\n result = i+1;\n }",
"result = i+1",
"result",
"i+1",
"i",
"1",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int[] X = new int[5];\n int result = 0;\n\n for (int i = 0; i < 5; i++) {\n X[i] = scanner.nextInt();\n if (X[i] == 0) {\n result = i+1;\n }\n }\n\n System.out.println(result);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int[] X = new int[5];\n int result = 0;\n\n for (int i = 0; i < 5; i++) {\n X[i] = scanner.nextInt();\n if (X[i] == 0) {\n result = i+1;\n }\n }\n\n System.out.println(result);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int[] X = new int[5];
int result = 0;
for (int i = 0; i < 5; i++) {
X[i] = scanner.nextInt();
if (X[i] == 0) {
result = i+1;
}
}
System.out.println(result);
}
}
|
[
7,
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,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
4,
18,
4,
18,
13,
13,
17,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
73,
8
],
[
73,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
11,
29
],
[
29,
30
],
[
30,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
11,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
51,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
11,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
9,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
]
| [
"import java.util.LinkedList;\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\n\t\tLinkedList<String> list = new LinkedList<String>();\n\n\t\twhile (sc.hasNext()) {\n\t\t\tlist.add(sc.next());\n\t\t}\n\n\t\tsc.close();\n\n\t\tint ans = 0;\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tif (list.get(i).equals(\"0\")) {\n\t\t\t\tans = i + 1;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t}\n\n}",
"import java.util.LinkedList;",
"LinkedList",
"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\n\t\tLinkedList<String> list = new LinkedList<String>();\n\n\t\twhile (sc.hasNext()) {\n\t\t\tlist.add(sc.next());\n\t\t}\n\n\t\tsc.close();\n\n\t\tint ans = 0;\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tif (list.get(i).equals(\"0\")) {\n\t\t\t\tans = i + 1;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tLinkedList<String> list = new LinkedList<String>();\n\n\t\twhile (sc.hasNext()) {\n\t\t\tlist.add(sc.next());\n\t\t}\n\n\t\tsc.close();\n\n\t\tint ans = 0;\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tif (list.get(i).equals(\"0\")) {\n\t\t\t\tans = i + 1;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tLinkedList<String> list = new LinkedList<String>();\n\n\t\twhile (sc.hasNext()) {\n\t\t\tlist.add(sc.next());\n\t\t}\n\n\t\tsc.close();\n\n\t\tint ans = 0;\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tif (list.get(i).equals(\"0\")) {\n\t\t\t\tans = i + 1;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"LinkedList<String> list = new LinkedList<String>();",
"list",
"new LinkedList<String>()",
"while (sc.hasNext()) {\n\t\t\tlist.add(sc.next());\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tlist.add(sc.next());\n\t\t}",
"list.add(sc.next())",
"list.add",
"list",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"int ans = 0;",
"ans",
"0",
"for (int i = 0; i < list.size(); i++) {\n\t\t\tif (list.get(i).equals(\"0\")) {\n\t\t\t\tans = i + 1;\n\t\t\t}\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\tif (list.get(i).equals(\"0\")) {\n\t\t\t\tans = i + 1;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (list.get(i).equals(\"0\")) {\n\t\t\t\tans = i + 1;\n\t\t\t}\n\t\t}",
"if (list.get(i).equals(\"0\")) {\n\t\t\t\tans = i + 1;\n\t\t\t}",
"list.get(i).equals(\"0\")",
"list.get(i).equals",
"list.get(i)",
"list.get",
"list",
"i",
"\"0\"",
"{\n\t\t\t\tans = i + 1;\n\t\t\t}",
"ans = i + 1",
"ans",
"i + 1",
"i",
"1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tLinkedList<String> list = new LinkedList<String>();\n\n\t\twhile (sc.hasNext()) {\n\t\t\tlist.add(sc.next());\n\t\t}\n\n\t\tsc.close();\n\n\t\tint ans = 0;\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tif (list.get(i).equals(\"0\")) {\n\t\t\t\tans = i + 1;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tLinkedList<String> list = new LinkedList<String>();\n\n\t\twhile (sc.hasNext()) {\n\t\t\tlist.add(sc.next());\n\t\t}\n\n\t\tsc.close();\n\n\t\tint ans = 0;\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tif (list.get(i).equals(\"0\")) {\n\t\t\t\tans = i + 1;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t}\n\n}",
"Main"
]
| import java.util.LinkedList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
LinkedList<String> list = new LinkedList<String>();
while (sc.hasNext()) {
list.add(sc.next());
}
sc.close();
int ans = 0;
for (int i = 0; i < list.size(); i++) {
if (list.get(i).equals("0")) {
ans = i + 1;
}
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
29,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
14,
19
],
[
19,
20
],
[
19,
21
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
26,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
36,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner s = new Scanner(System.in);\n int a;\n for(int i = 0; i < 5; i++){\n a = s.nextInt();\n if(a == 0){\n System.out.println(i + 1);\n return;\n }\n }\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner s = new Scanner(System.in);\n int a;\n for(int i = 0; i < 5; i++){\n a = s.nextInt();\n if(a == 0){\n System.out.println(i + 1);\n return;\n }\n }\n \n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner s = new Scanner(System.in);\n int a;\n for(int i = 0; i < 5; i++){\n a = s.nextInt();\n if(a == 0){\n System.out.println(i + 1);\n return;\n }\n }\n \n }",
"main",
"{\n // Your code here!\n Scanner s = new Scanner(System.in);\n int a;\n for(int i = 0; i < 5; i++){\n a = s.nextInt();\n if(a == 0){\n System.out.println(i + 1);\n return;\n }\n }\n \n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int a;",
"a",
"for(int i = 0; i < 5; i++){\n a = s.nextInt();\n if(a == 0){\n System.out.println(i + 1);\n return;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n a = s.nextInt();\n if(a == 0){\n System.out.println(i + 1);\n return;\n }\n }",
"{\n a = s.nextInt();\n if(a == 0){\n System.out.println(i + 1);\n return;\n }\n }",
"a = s.nextInt()",
"a",
"s.nextInt()",
"s.nextInt",
"s",
"if(a == 0){\n System.out.println(i + 1);\n return;\n }",
"a == 0",
"a",
"0",
"{\n System.out.println(i + 1);\n return;\n }",
"System.out.println(i + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"return;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner s = new Scanner(System.in);\n int a;\n for(int i = 0; i < 5; i++){\n a = s.nextInt();\n if(a == 0){\n System.out.println(i + 1);\n return;\n }\n }\n \n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner s = new Scanner(System.in);\n int a;\n for(int i = 0; i < 5; i++){\n a = s.nextInt();\n if(a == 0){\n System.out.println(i + 1);\n return;\n }\n }\n \n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner s = new Scanner(System.in);
int a;
for(int i = 0; i < 5; i++){
a = s.nextInt();
if(a == 0){
System.out.println(i + 1);
return;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
13,
29,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
17,
0,
13,
20,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
0,
13,
17,
41,
13,
17,
0,
13,
4,
18,
13,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
198,
14
],
[
198,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
15,
24
],
[
24,
25
],
[
198,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
54,
61
],
[
198,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
62,
66
],
[
66,
67
],
[
62,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
62,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
80,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
79,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
62,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
103,
105
],
[
99,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
99,
111
],
[
111,
112
],
[
62,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
120,
121
],
[
62,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
129,
130
],
[
62,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
138,
143
],
[
143,
144
],
[
143,
145
],
[
138,
146
],
[
146,
147
],
[
147,
148
],
[
138,
149
],
[
150,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
151,
155
],
[
155,
156
],
[
133,
157
],
[
157,
158
],
[
131,
159
],
[
159,
160
],
[
62,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
163,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
168,
173
],
[
173,
174
],
[
173,
175
],
[
168,
176
],
[
176,
177
],
[
177,
178
],
[
168,
179
],
[
180,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
181,
185
],
[
185,
186
],
[
163,
187
],
[
187,
188
],
[
161,
189
],
[
189,
190
],
[
62,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
0,
197
],
[
197,
198
],
[
197,
199
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tMain mainObj = new Main();\n\t\tmainObj.solve();\n\t}\n\n\tpublic void solve() throws IOException {\n\t\tFastScanner fs = new FastScanner();\n\t\t\n\t\tfor(int i = 1; i <= 5; i++) {\n\t\t\tint x = fs.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n\t\n\n\tpublic class FastScanner {\n\n\t\tBufferedReader reader;\n\t\tprivate StringTokenizer st;\n\n\t\tpublic FastScanner() {\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}\n\n\t\tpublic int nextInt() throws NumberFormatException, IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws NumberFormatException, IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArr(int n) throws NumberFormatException, IOException {\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic long[] nextLongArr(int n) throws NumberFormatException, IOException {\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic void close() throws IOException {\n\t\t\treader.close();\n\t\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tMain mainObj = new Main();\n\t\tmainObj.solve();\n\t}\n\n\tpublic void solve() throws IOException {\n\t\tFastScanner fs = new FastScanner();\n\t\t\n\t\tfor(int i = 1; i <= 5; i++) {\n\t\t\tint x = fs.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n\t\n\n\tpublic class FastScanner {\n\n\t\tBufferedReader reader;\n\t\tprivate StringTokenizer st;\n\n\t\tpublic FastScanner() {\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}\n\n\t\tpublic int nextInt() throws NumberFormatException, IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws NumberFormatException, IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArr(int n) throws NumberFormatException, IOException {\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic long[] nextLongArr(int n) throws NumberFormatException, IOException {\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic void close() throws IOException {\n\t\t\treader.close();\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tMain mainObj = new Main();\n\t\tmainObj.solve();\n\t}",
"main",
"{\n\t\tMain mainObj = new Main();\n\t\tmainObj.solve();\n\t}",
"Main mainObj = new Main();",
"mainObj",
"new Main()",
"mainObj.solve()",
"mainObj.solve",
"mainObj",
"String[] args",
"args",
"public void solve() throws IOException {\n\t\tFastScanner fs = new FastScanner();\n\t\t\n\t\tfor(int i = 1; i <= 5; i++) {\n\t\t\tint x = fs.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}",
"solve",
"{\n\t\tFastScanner fs = new FastScanner();\n\t\t\n\t\tfor(int i = 1; i <= 5; i++) {\n\t\t\tint x = fs.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}",
"FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"for(int i = 1; i <= 5; i++) {\n\t\t\tint x = fs.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tint x = fs.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"{\n\t\t\tint x = fs.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"int x = fs.nextInt();",
"x",
"fs.nextInt()",
"fs.nextInt",
"fs",
"if(x == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}",
"x == 0",
"x",
"0",
"{\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"return;",
"public class FastScanner {\n\n\t\tBufferedReader reader;\n\t\tprivate StringTokenizer st;\n\n\t\tpublic FastScanner() {\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}\n\n\t\tpublic int nextInt() throws NumberFormatException, IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws NumberFormatException, IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArr(int n) throws NumberFormatException, IOException {\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic long[] nextLongArr(int n) throws NumberFormatException, IOException {\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic void close() throws IOException {\n\t\t\treader.close();\n\t\t}\n\t}",
"FastScanner",
"BufferedReader reader;",
"reader",
"private StringTokenizer st;",
"st",
"public FastScanner() {\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"FastScanner",
"{\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"st = null",
"st",
"null",
"reader = new BufferedReader(new InputStreamReader(System.in))",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"public String next() throws IOException {\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"if (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}",
"st = new StringTokenizer(reader.readLine())",
"st",
"new StringTokenizer(reader.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public String nextLine() throws IOException {\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}",
"nextLine",
"{\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}",
"st = null",
"st",
"null",
"String readLine = null;",
"readLine",
"null",
"readLine = reader.readLine()",
"readLine",
"reader.readLine()",
"reader.readLine",
"reader",
"return readLine;",
"readLine",
"public int nextInt() throws NumberFormatException, IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() throws NumberFormatException, IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public int[] nextIntArr(int n) throws NumberFormatException, IOException {\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}",
"nextIntArr",
"{\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}",
"int[] retArr = new int[n];",
"retArr",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}",
"{\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}",
"retArr[i] = nextInt()",
"retArr[i]",
"retArr",
"i",
"nextInt()",
"nextInt",
"return retArr;",
"retArr",
"int n",
"n",
"public long[] nextLongArr(int n) throws NumberFormatException, IOException {\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}",
"nextLongArr",
"{\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}",
"long[] retArr = new long[n];",
"retArr",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}",
"{\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}",
"retArr[i] = nextLong()",
"retArr[i]",
"retArr",
"i",
"nextLong()",
"nextLong",
"return retArr;",
"retArr",
"int n",
"n",
"public void close() throws IOException {\n\t\t\treader.close();\n\t\t}",
"close",
"{\n\t\t\treader.close();\n\t\t}",
"reader.close()",
"reader.close",
"reader",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tMain mainObj = new Main();\n\t\tmainObj.solve();\n\t}\n\n\tpublic void solve() throws IOException {\n\t\tFastScanner fs = new FastScanner();\n\t\t\n\t\tfor(int i = 1; i <= 5; i++) {\n\t\t\tint x = fs.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n\t\n\n\tpublic class FastScanner {\n\n\t\tBufferedReader reader;\n\t\tprivate StringTokenizer st;\n\n\t\tpublic FastScanner() {\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}\n\n\t\tpublic int nextInt() throws NumberFormatException, IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws NumberFormatException, IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArr(int n) throws NumberFormatException, IOException {\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic long[] nextLongArr(int n) throws NumberFormatException, IOException {\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic void close() throws IOException {\n\t\t\treader.close();\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tMain mainObj = new Main();\n\t\tmainObj.solve();\n\t}\n\n\tpublic void solve() throws IOException {\n\t\tFastScanner fs = new FastScanner();\n\t\t\n\t\tfor(int i = 1; i <= 5; i++) {\n\t\t\tint x = fs.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n\t\n\n\tpublic class FastScanner {\n\n\t\tBufferedReader reader;\n\t\tprivate StringTokenizer st;\n\n\t\tpublic FastScanner() {\n\t\t\tst = null;\n\t\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\tif (st == null || !st.hasMoreElements()) {\n\t\t\t\tst = new StringTokenizer(reader.readLine());\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\tst = null;\n\t\t\tString readLine = null;\n\t\t\treadLine = reader.readLine();\n\t\t\treturn readLine;\n\t\t}\n\n\t\tpublic int nextInt() throws NumberFormatException, IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws NumberFormatException, IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArr(int n) throws NumberFormatException, IOException {\n\t\t\tint[] retArr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextInt();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic long[] nextLongArr(int n) throws NumberFormatException, IOException {\n\t\t\tlong[] retArr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tretArr[i] = nextLong();\n\t\t\t}\n\t\t\treturn retArr;\n\t\t}\n\n\t\tpublic void close() throws IOException {\n\t\t\treader.close();\n\t\t}\n\t}\n\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
Main mainObj = new Main();
mainObj.solve();
}
public void solve() throws IOException {
FastScanner fs = new FastScanner();
for(int i = 1; i <= 5; i++) {
int x = fs.nextInt();
if(x == 0) {
System.out.println(i);
return;
}
}
}
public class FastScanner {
BufferedReader reader;
private StringTokenizer st;
public FastScanner() {
st = null;
reader = new BufferedReader(new InputStreamReader(System.in));
}
public String next() throws IOException {
if (st == null || !st.hasMoreElements()) {
st = new StringTokenizer(reader.readLine());
}
return st.nextToken();
}
public String nextLine() throws IOException {
st = null;
String readLine = null;
readLine = reader.readLine();
return readLine;
}
public int nextInt() throws NumberFormatException, IOException {
return Integer.parseInt(next());
}
public long nextLong() throws NumberFormatException, IOException {
return Long.parseLong(next());
}
public int[] nextIntArr(int n) throws NumberFormatException, IOException {
int[] retArr = new int[n];
for (int i = 0; i < n; i++) {
retArr[i] = nextInt();
}
return retArr;
}
public long[] nextLongArr(int n) throws NumberFormatException, IOException {
long[] retArr = new long[n];
for (int i = 0; i < n; i++) {
retArr[i] = nextLong();
}
return retArr;
}
public void close() throws IOException {
reader.close();
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
13,
9,
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
],
[
56,
8
],
[
56,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
9,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
]
| [
"import java.util.*;\nimport java.math.BigDecimal;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint n,ans = 0;\n \n for(int i = 1;i <= 5;i++){\n\t\t\tn = sc.nextInt();\n if(n == 0){\n ans = i;\n continue;\n }\n }\n\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint n,ans = 0;\n \n for(int i = 1;i <= 5;i++){\n\t\t\tn = sc.nextInt();\n if(n == 0){\n ans = i;\n continue;\n }\n }\n\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint n,ans = 0;\n \n for(int i = 1;i <= 5;i++){\n\t\t\tn = sc.nextInt();\n if(n == 0){\n ans = i;\n continue;\n }\n }\n\n System.out.println(ans);\n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint n,ans = 0;\n \n for(int i = 1;i <= 5;i++){\n\t\t\tn = sc.nextInt();\n if(n == 0){\n ans = i;\n continue;\n }\n }\n\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n",
"n",
"ans = 0;",
"ans",
"0",
"for(int i = 1;i <= 5;i++){\n\t\t\tn = sc.nextInt();\n if(n == 0){\n ans = i;\n continue;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tn = sc.nextInt();\n if(n == 0){\n ans = i;\n continue;\n }\n }",
"{\n\t\t\tn = sc.nextInt();\n if(n == 0){\n ans = i;\n continue;\n }\n }",
"n = sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n == 0){\n ans = i;\n continue;\n }",
"n == 0",
"n",
"0",
"{\n ans = i;\n continue;\n }",
"ans = i",
"ans",
"i",
"continue;",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint n,ans = 0;\n \n for(int i = 1;i <= 5;i++){\n\t\t\tn = sc.nextInt();\n if(n == 0){\n ans = i;\n continue;\n }\n }\n\n System.out.println(ans);\n }\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tint n,ans = 0;\n \n for(int i = 1;i <= 5;i++){\n\t\t\tn = sc.nextInt();\n if(n == 0){\n ans = i;\n continue;\n }\n }\n\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
import java.math.BigDecimal;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// 整数の入力
int n,ans = 0;
for(int i = 1;i <= 5;i++){
n = sc.nextInt();
if(n == 0){
ans = i;
continue;
}
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
17,
30,
41,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
29,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
79,
8
],
[
79,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
23,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
11,
40
],
[
40,
41
],
[
41,
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
],
[
59,
60
],
[
58,
61
],
[
57,
62
],
[
56,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
63,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
63,
75
],
[
9,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
]
| [
"import java.util.ArrayList;\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\tArrayList<Integer> list = new ArrayList<>();\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tlist.add(Integer.parseInt(sc.next()));\n\t\t}\n\t\tsc.close();\n\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tif(list.get(i) == 0) {\n\t\t\t\tint ans = i + 1;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<>();\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tlist.add(Integer.parseInt(sc.next()));\n\t\t}\n\t\tsc.close();\n\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tif(list.get(i) == 0) {\n\t\t\t\tint ans = i + 1;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<>();\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tlist.add(Integer.parseInt(sc.next()));\n\t\t}\n\t\tsc.close();\n\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tif(list.get(i) == 0) {\n\t\t\t\tint ans = i + 1;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<>();\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tlist.add(Integer.parseInt(sc.next()));\n\t\t}\n\t\tsc.close();\n\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tif(list.get(i) == 0) {\n\t\t\t\tint ans = i + 1;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"for(int i = 0; i < 5; i++) {\n\t\t\tlist.add(Integer.parseInt(sc.next()));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tlist.add(Integer.parseInt(sc.next()));\n\t\t}",
"{\n\t\t\tlist.add(Integer.parseInt(sc.next()));\n\t\t}",
"list.add(Integer.parseInt(sc.next()))",
"list.add",
"list",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"for(int i = 0; i < 5; i++) {\n\t\t\tif(list.get(i) == 0) {\n\t\t\t\tint ans = i + 1;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tif(list.get(i) == 0) {\n\t\t\t\tint ans = i + 1;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(list.get(i) == 0) {\n\t\t\t\tint ans = i + 1;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"if(list.get(i) == 0) {\n\t\t\t\tint ans = i + 1;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\treturn;\n\t\t\t}",
"list.get(i) == 0",
"list.get(i)",
"list.get",
"list",
"i",
"0",
"{\n\t\t\t\tint ans = i + 1;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\treturn;\n\t\t\t}",
"int ans = i + 1;",
"ans",
"i + 1",
"i",
"1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"return;",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<>();\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tlist.add(Integer.parseInt(sc.next()));\n\t\t}\n\t\tsc.close();\n\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tif(list.get(i) == 0) {\n\t\t\t\tint ans = i + 1;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<>();\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tlist.add(Integer.parseInt(sc.next()));\n\t\t}\n\t\tsc.close();\n\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tif(list.get(i) == 0) {\n\t\t\t\tint ans = i + 1;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<Integer> list = new ArrayList<>();
for(int i = 0; i < 5; i++) {
list.add(Integer.parseInt(sc.next()));
}
sc.close();
for(int i = 0; i < 5; i++) {
if(list.get(i) == 0) {
int ans = i + 1;
System.out.println(ans);
return;
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
13,
3,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
23,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
6,
51
],
[
51,
52
]
]
| [
"import java.util.*;\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = 0;\n int res = 0;\n for (int a=1; a<=5; a++) {\n x = sc.nextInt();\n if(x == 0){\n res = a;\n break;\n \t}\n }\n System.out.println(res);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = 0;\n int res = 0;\n for (int a=1; a<=5; a++) {\n x = sc.nextInt();\n if(x == 0){\n res = a;\n break;\n \t}\n }\n System.out.println(res);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = 0;\n int res = 0;\n for (int a=1; a<=5; a++) {\n x = sc.nextInt();\n if(x == 0){\n res = a;\n break;\n \t}\n }\n System.out.println(res);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int x = 0;\n int res = 0;\n for (int a=1; a<=5; a++) {\n x = sc.nextInt();\n if(x == 0){\n res = a;\n break;\n \t}\n }\n System.out.println(res);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = 0;",
"x",
"0",
"int res = 0;",
"res",
"0",
"for (int a=1; a<=5; a++) {\n x = sc.nextInt();\n if(x == 0){\n res = a;\n break;\n \t}\n }",
"int a=1;",
"int a=1;",
"a",
"1",
"a<=5",
"a",
"5",
"a++",
"a++",
"a",
"{\n x = sc.nextInt();\n if(x == 0){\n res = a;\n break;\n \t}\n }",
"{\n x = sc.nextInt();\n if(x == 0){\n res = a;\n break;\n \t}\n }",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x == 0){\n res = a;\n break;\n \t}",
"x == 0",
"x",
"0",
"{\n res = a;\n break;\n \t}",
"res = a",
"res",
"a",
"break;",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String[] args",
"args"
]
| import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = 0;
int res = 0;
for (int a=1; a<=5; a++) {
x = sc.nextInt();
if(x == 0){
res = a;
break;
}
}
System.out.println(res);
}
} |
[
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,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
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,
12,
13,
30,
29,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
174,
20
],
[
174,
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
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
64,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
21,
76
],
[
76,
77
],
[
174,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
78,
82
],
[
82,
83
],
[
78,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
78,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
93,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
103,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
92,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
78,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
125,
126
],
[
78,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
134,
135
],
[
78,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
143,
144
],
[
78,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
151,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
147,
164
],
[
164,
165
],
[
78,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
166,
171
],
[
171,
172
],
[
0,
173
],
[
173,
174
],
[
173,
175
]
]
| [
"import java.io.*;\nimport java.io.BufferedReader; \nimport java.io.IOException; \nimport java.io.InputStreamReader; \nimport java.util.StringTokenizer; \nimport java.util.*;\n\n\npublic class Main \n{\n\n\t \n\t static class FastReader \n\t { \n\t BufferedReader br; \n\t StringTokenizer st; \n\t \n\t \n\t public FastReader() \n\t { \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t } \n\t \n\t String next() \n\t { \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t } \n\t \n\t int nextInt() \n\t { \n\t return Integer.parseInt(next()); \n\t } \n\t \n\t long nextLong() \n\t { \n\t return Long.parseLong(next()); \n\t } \n\t \n\t double nextDouble() \n\t { \n\t return Double.parseDouble(next()); \n\t } \n\t \n\t String nextLine() \n\t { \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }\n\n\t\t\tpublic Character charAt(int i) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t} \n\t } \n\n \n\n\t // Complete the hurdleRace function below.\n// public static void solve() {\n// \tFastReader s=new FastReader();\n\n \n public static void main(String[] args) throws IOException {\n \tFastReader s=new FastReader();\n \tint[] ar = new int[6];\n \tfor(int i =1 ;i<=5;i++) {\n \t\tar[i] = s.nextInt();\n \t}\n \tfor(int i =1 ;i<=5;i++) {\n \t\tif(ar[i]==0)System.out.println(i);\n \t}\n \t\n\n \t\n }\t\n}",
"import java.io.*;",
"io.*",
"java",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.util.*;",
"util.*",
"java",
"public class Main \n{\n\n\t \n\t static class FastReader \n\t { \n\t BufferedReader br; \n\t StringTokenizer st; \n\t \n\t \n\t public FastReader() \n\t { \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t } \n\t \n\t String next() \n\t { \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t } \n\t \n\t int nextInt() \n\t { \n\t return Integer.parseInt(next()); \n\t } \n\t \n\t long nextLong() \n\t { \n\t return Long.parseLong(next()); \n\t } \n\t \n\t double nextDouble() \n\t { \n\t return Double.parseDouble(next()); \n\t } \n\t \n\t String nextLine() \n\t { \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }\n\n\t\t\tpublic Character charAt(int i) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t} \n\t } \n\n \n\n\t // Complete the hurdleRace function below.\n// public static void solve() {\n// \tFastReader s=new FastReader();\n\n \n public static void main(String[] args) throws IOException {\n \tFastReader s=new FastReader();\n \tint[] ar = new int[6];\n \tfor(int i =1 ;i<=5;i++) {\n \t\tar[i] = s.nextInt();\n \t}\n \tfor(int i =1 ;i<=5;i++) {\n \t\tif(ar[i]==0)System.out.println(i);\n \t}\n \t\n\n \t\n }\t\n}",
"Main",
"public static void main(String[] args) throws IOException {\n \tFastReader s=new FastReader();\n \tint[] ar = new int[6];\n \tfor(int i =1 ;i<=5;i++) {\n \t\tar[i] = s.nextInt();\n \t}\n \tfor(int i =1 ;i<=5;i++) {\n \t\tif(ar[i]==0)System.out.println(i);\n \t}\n \t\n\n \t\n }",
"main",
"{\n \tFastReader s=new FastReader();\n \tint[] ar = new int[6];\n \tfor(int i =1 ;i<=5;i++) {\n \t\tar[i] = s.nextInt();\n \t}\n \tfor(int i =1 ;i<=5;i++) {\n \t\tif(ar[i]==0)System.out.println(i);\n \t}\n \t\n\n \t\n }",
"FastReader s=new FastReader();",
"s",
"new FastReader()",
"int[] ar = new int[6];",
"ar",
"new int[6]",
"6",
"for(int i =1 ;i<=5;i++) {\n \t\tar[i] = s.nextInt();\n \t}",
"int i =1 ;",
"int i =1 ;",
"i",
"1",
"i<=5",
"i",
"5",
"i++",
"i++",
"i",
"{\n \t\tar[i] = s.nextInt();\n \t}",
"{\n \t\tar[i] = s.nextInt();\n \t}",
"ar[i] = s.nextInt()",
"ar[i]",
"ar",
"i",
"s.nextInt()",
"s.nextInt",
"s",
"for(int i =1 ;i<=5;i++) {\n \t\tif(ar[i]==0)System.out.println(i);\n \t}",
"int i =1 ;",
"int i =1 ;",
"i",
"1",
"i<=5",
"i",
"5",
"i++",
"i++",
"i",
"{\n \t\tif(ar[i]==0)System.out.println(i);\n \t}",
"{\n \t\tif(ar[i]==0)System.out.println(i);\n \t}",
"if(ar[i]==0)System.out.println(i);",
"ar[i]==0",
"ar[i]",
"ar",
"i",
"0",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"static class FastReader \n\t { \n\t BufferedReader br; \n\t StringTokenizer st; \n\t \n\t \n\t public FastReader() \n\t { \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t } \n\t \n\t String next() \n\t { \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t } \n\t \n\t int nextInt() \n\t { \n\t return Integer.parseInt(next()); \n\t } \n\t \n\t long nextLong() \n\t { \n\t return Long.parseLong(next()); \n\t } \n\t \n\t double nextDouble() \n\t { \n\t return Double.parseDouble(next()); \n\t } \n\t \n\t String nextLine() \n\t { \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }\n\n\t\t\tpublic Character charAt(int i) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t} \n\t }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() \n\t { \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t }",
"FastReader",
"{ \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t }",
"br = new BufferedReader(new\n\t InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n\t InputStreamReader(System.in))",
"String next() \n\t { \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t }",
"next",
"{ \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t }",
"while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{ \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t }",
"try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t }",
"catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t }",
"IOException e",
"{ \n\t e.printStackTrace(); \n\t }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{ \n\t st = new StringTokenizer(br.readLine()); \n\t }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() \n\t { \n\t return Integer.parseInt(next()); \n\t }",
"nextInt",
"{ \n\t return Integer.parseInt(next()); \n\t }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() \n\t { \n\t return Long.parseLong(next()); \n\t }",
"nextLong",
"{ \n\t return Long.parseLong(next()); \n\t }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() \n\t { \n\t return Double.parseDouble(next()); \n\t }",
"nextDouble",
"{ \n\t return Double.parseDouble(next()); \n\t }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() \n\t { \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }",
"nextLine",
"{ \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }",
"String str = \"\";",
"str",
"\"\"",
"try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t }",
"catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t }",
"IOException e",
"{ \n\t e.printStackTrace(); \n\t }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{ \n\t str = br.readLine(); \n\t }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public Character charAt(int i) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t}",
"charAt",
"{\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t}",
"return null;",
"null",
"int i",
"i",
"public class Main \n{\n\n\t \n\t static class FastReader \n\t { \n\t BufferedReader br; \n\t StringTokenizer st; \n\t \n\t \n\t public FastReader() \n\t { \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t } \n\t \n\t String next() \n\t { \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t } \n\t \n\t int nextInt() \n\t { \n\t return Integer.parseInt(next()); \n\t } \n\t \n\t long nextLong() \n\t { \n\t return Long.parseLong(next()); \n\t } \n\t \n\t double nextDouble() \n\t { \n\t return Double.parseDouble(next()); \n\t } \n\t \n\t String nextLine() \n\t { \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }\n\n\t\t\tpublic Character charAt(int i) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t} \n\t } \n\n \n\n\t // Complete the hurdleRace function below.\n// public static void solve() {\n// \tFastReader s=new FastReader();\n\n \n public static void main(String[] args) throws IOException {\n \tFastReader s=new FastReader();\n \tint[] ar = new int[6];\n \tfor(int i =1 ;i<=5;i++) {\n \t\tar[i] = s.nextInt();\n \t}\n \tfor(int i =1 ;i<=5;i++) {\n \t\tif(ar[i]==0)System.out.println(i);\n \t}\n \t\n\n \t\n }\t\n}",
"public class Main \n{\n\n\t \n\t static class FastReader \n\t { \n\t BufferedReader br; \n\t StringTokenizer st; \n\t \n\t \n\t public FastReader() \n\t { \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t } \n\t \n\t String next() \n\t { \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t } \n\t \n\t int nextInt() \n\t { \n\t return Integer.parseInt(next()); \n\t } \n\t \n\t long nextLong() \n\t { \n\t return Long.parseLong(next()); \n\t } \n\t \n\t double nextDouble() \n\t { \n\t return Double.parseDouble(next()); \n\t } \n\t \n\t String nextLine() \n\t { \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }\n\n\t\t\tpublic Character charAt(int i) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t} \n\t } \n\n \n\n\t // Complete the hurdleRace function below.\n// public static void solve() {\n// \tFastReader s=new FastReader();\n\n \n public static void main(String[] args) throws IOException {\n \tFastReader s=new FastReader();\n \tint[] ar = new int[6];\n \tfor(int i =1 ;i<=5;i++) {\n \t\tar[i] = s.nextInt();\n \t}\n \tfor(int i =1 ;i<=5;i++) {\n \t\tif(ar[i]==0)System.out.println(i);\n \t}\n \t\n\n \t\n }\t\n}",
"Main"
]
| import java.io.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
import java.util.*;
public class Main
{
static class FastReader
{
BufferedReader br;
StringTokenizer st;
public FastReader()
{
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next()
{
while (st == null || !st.hasMoreTokens())
{
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;
}
public Character charAt(int i) {
// TODO Auto-generated method stub
return null;
}
}
// Complete the hurdleRace function below.
// public static void solve() {
// FastReader s=new FastReader();
public static void main(String[] args) throws IOException {
FastReader s=new FastReader();
int[] ar = new int[6];
for(int i =1 ;i<=5;i++) {
ar[i] = s.nextInt();
}
for(int i =1 ;i<=5;i++) {
if(ar[i]==0)System.out.println(i);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
17,
30,
4,
18,
13,
2,
13,
17,
29,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
18,
36,
13,
20,
23,
13,
12,
13,
30,
4,
18,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
30,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
4,
18,
13,
13,
29,
4,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
6,
13,
12,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
336,
35
],
[
336,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
38,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
38,
49
],
[
49,
50
],
[
49,
51
],
[
38,
52
],
[
52,
53
],
[
52,
54
],
[
38,
55
],
[
55,
56
],
[
55,
57
],
[
38,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
58,
63
],
[
38,
64
],
[
64,
65
],
[
65,
66
],
[
36,
67
],
[
67,
68
],
[
336,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
77,
85
],
[
85,
86
],
[
86,
87
],
[
77,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
91,
95
],
[
90,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
100,
101
],
[
100,
102
],
[
96,
103
],
[
71,
104
],
[
104,
105
],
[
71,
106
],
[
106,
107
],
[
71,
108
],
[
108,
109
],
[
336,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
110,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
114,
120
],
[
120,
121
],
[
110,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
122,
130
],
[
130,
131
],
[
110,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
110,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
141,
144
],
[
138,
145
],
[
145,
146
],
[
336,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
147,
151
],
[
151,
152
],
[
151,
153
],
[
147,
155
],
[
155,
156
],
[
147,
157
],
[
157,
158
],
[
147,
159
],
[
159,
160
],
[
147,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
161,
169
],
[
169,
170
],
[
147,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
174,
179
],
[
179,
180
],
[
180,
181
],
[
173,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
186,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
190,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
200,
201
],
[
199,
202
],
[
186,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
203,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
173,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
147,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
218,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
223,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
218,
232
],
[
232,
233
],
[
232,
234
],
[
218,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
235,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
239,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
218,
248
],
[
248,
249
],
[
248,
250
],
[
218,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
251,
256
],
[
256,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
258,
262
],
[
262,
263
],
[
262,
264
],
[
257,
265
],
[
265,
266
],
[
266,
267
],
[
256,
268
],
[
268,
269
],
[
268,
270
],
[
256,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
273,
275
],
[
256,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
218,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
147,
284
],
[
284,
285
],
[
284,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
287,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
293,
296
],
[
286,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
284,
301
],
[
301,
302
],
[
147,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
306,
307
],
[
310,
308
],
[
320,
309
],
[
317,
310
],
[
310,
311
],
[
311,
312
],
[
311,
313
],
[
310,
314
],
[
314,
315
],
[
314,
316
],
[
317,
317
],
[
317,
318
],
[
317,
319
],
[
320,
320
],
[
320,
321
],
[
320,
322
],
[
310,
323
],
[
323,
324
],
[
323,
325
],
[
325,
326
],
[
303,
327
],
[
327,
328
],
[
147,
329
],
[
329,
330
],
[
329,
331
],
[
331,
332
],
[
331,
333
],
[
333,
334
],
[
0,
335
],
[
335,
336
],
[
335,
337
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.io.BufferedWriter;\nimport java.io.Writer;\nimport java.io.OutputStreamWriter;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n AFiveVariables solver = new AFiveVariables();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class AFiveVariables {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int n = 5;\n for (int i = 0; i < n; i++) {\n if (in.nextInt() == 0) {\n out.println(i + 1);\n return;\n }\n }\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.BufferedWriter;",
"BufferedWriter",
"java.io",
"import java.io.Writer;",
"Writer",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n AFiveVariables solver = new AFiveVariables();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class AFiveVariables {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int n = 5;\n for (int i = 0; i < n; i++) {\n if (in.nextInt() == 0) {\n out.println(i + 1);\n return;\n }\n }\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n AFiveVariables solver = new AFiveVariables();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n AFiveVariables solver = new AFiveVariables();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(inputStream)",
"OutputWriter out = new OutputWriter(outputStream);",
"out",
"new OutputWriter(outputStream)",
"AFiveVariables solver = new AFiveVariables();",
"solver",
"new AFiveVariables()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class AFiveVariables {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int n = 5;\n for (int i = 0; i < n; i++) {\n if (in.nextInt() == 0) {\n out.println(i + 1);\n return;\n }\n }\n }\n\n }",
"AFiveVariables",
"public void solve(int testNumber, InputReader in, OutputWriter out) {\n int n = 5;\n for (int i = 0; i < n; i++) {\n if (in.nextInt() == 0) {\n out.println(i + 1);\n return;\n }\n }\n }",
"solve",
"{\n int n = 5;\n for (int i = 0; i < n; i++) {\n if (in.nextInt() == 0) {\n out.println(i + 1);\n return;\n }\n }\n }",
"int n = 5;",
"n",
"5",
"for (int i = 0; i < n; i++) {\n if (in.nextInt() == 0) {\n out.println(i + 1);\n return;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n if (in.nextInt() == 0) {\n out.println(i + 1);\n return;\n }\n }",
"{\n if (in.nextInt() == 0) {\n out.println(i + 1);\n return;\n }\n }",
"if (in.nextInt() == 0) {\n out.println(i + 1);\n return;\n }",
"in.nextInt() == 0",
"in.nextInt()",
"in.nextInt",
"in",
"0",
"{\n out.println(i + 1);\n return;\n }",
"out.println(i + 1)",
"out.println",
"out",
"i + 1",
"i",
"1",
"return;",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"OutputWriter out",
"out",
"static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\n }\n\n }",
"OutputWriter",
"private final PrintWriter writer;",
"writer",
"public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }",
"OutputWriter",
"{\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }",
"writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"writer",
"new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"OutputStream outputStream",
"outputStream",
"public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }",
"OutputWriter",
"{\n this.writer = new PrintWriter(writer);\n }",
"this.writer = new PrintWriter(writer)",
"this.writer",
"this",
"this.writer",
"new PrintWriter(writer)",
"Writer writer",
"writer",
"public void close() {\n writer.close();\n }",
"close",
"{\n writer.close();\n }",
"writer.close()",
"writer.close",
"writer",
"public void println(long i) {\n writer.println(i);\n }",
"println",
"{\n writer.println(i);\n }",
"writer.println(i)",
"writer.println",
"writer",
"i",
"long i",
"i",
"static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }",
"InputReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"private InputReader.SpaceCharFilter filter;",
"filter",
"public InputReader(InputStream stream) {\n this.stream = stream;\n }",
"InputReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"if (numChars == -1) {\n throw new InputMismatchException();\n }",
"numChars == -1",
"numChars",
"-1",
"1",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (numChars <= 0) {\n return -1;\n }",
"numChars <= 0",
"numChars",
"0",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextInt",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"int res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"isSpaceChar",
"{\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"if (filter != null) {\n return filter.isSpaceChar(c);\n }",
"filter != null",
"filter",
"null",
"{\n return filter.isSpaceChar(c);\n }",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return isWhitespace(c);",
"isWhitespace(c)",
"isWhitespace",
"c",
"int c",
"c",
"public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isWhitespace",
"{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n AFiveVariables solver = new AFiveVariables();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class AFiveVariables {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int n = 5;\n for (int i = 0; i < n; i++) {\n if (in.nextInt() == 0) {\n out.println(i + 1);\n return;\n }\n }\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n AFiveVariables solver = new AFiveVariables();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class AFiveVariables {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int n = 5;\n for (int i = 0; i < n; i++) {\n if (in.nextInt() == 0) {\n out.println(i + 1);\n return;\n }\n }\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.BufferedWriter;
import java.io.Writer;
import java.io.OutputStreamWriter;
import java.util.InputMismatchException;
import java.io.IOException;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
OutputWriter out = new OutputWriter(outputStream);
AFiveVariables solver = new AFiveVariables();
solver.solve(1, in, out);
out.close();
}
static class AFiveVariables {
public void solve(int testNumber, InputReader in, OutputWriter out) {
int n = 5;
for (int i = 0; i < n; i++) {
if (in.nextInt() == 0) {
out.println(i + 1);
return;
}
}
}
}
static class OutputWriter {
private final PrintWriter writer;
public OutputWriter(OutputStream outputStream) {
writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));
}
public OutputWriter(Writer writer) {
this.writer = new PrintWriter(writer);
}
public void close() {
writer.close();
}
public void println(long i) {
writer.println(i);
}
}
static class InputReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private InputReader.SpaceCharFilter filter;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int read() {
if (numChars == -1) {
throw new InputMismatchException();
}
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0) {
return -1;
}
}
return buf[curChar++];
}
public int nextInt() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
int res = 0;
do {
if (c < '0' || c > '9') {
throw new InputMismatchException();
}
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public boolean isSpaceChar(int c) {
if (filter != null) {
return filter.isSpaceChar(c);
}
return isWhitespace(c);
}
public static boolean isWhitespace(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
17,
30,
0,
13,
13,
3,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
48,
5
],
[
48,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
29,
33
],
[
28,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int res=0;\n for(int i=1; i<6; i++){\n if(sc.nextInt()==0){\n res = i;\n break;\n }\n }\n \n System.out.println(res);\n }\n }",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int res=0;\n for(int i=1; i<6; i++){\n if(sc.nextInt()==0){\n res = i;\n break;\n }\n }\n \n System.out.println(res);\n }\n }",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int res=0;\n for(int i=1; i<6; i++){\n if(sc.nextInt()==0){\n res = i;\n break;\n }\n }\n \n System.out.println(res);\n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n int res=0;\n for(int i=1; i<6; i++){\n if(sc.nextInt()==0){\n res = i;\n break;\n }\n }\n \n System.out.println(res);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int res=0;",
"res",
"0",
"for(int i=1; i<6; i++){\n if(sc.nextInt()==0){\n res = i;\n break;\n }\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<6",
"i",
"6",
"i++",
"i++",
"i",
"{\n if(sc.nextInt()==0){\n res = i;\n break;\n }\n }",
"{\n if(sc.nextInt()==0){\n res = i;\n break;\n }\n }",
"if(sc.nextInt()==0){\n res = i;\n break;\n }",
"sc.nextInt()==0",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"{\n res = i;\n break;\n }",
"res = i",
"res",
"i",
"break;",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int res=0;\n for(int i=1; i<6; i++){\n if(sc.nextInt()==0){\n res = i;\n break;\n }\n }\n \n System.out.println(res);\n }\n }",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int res=0;\n for(int i=1; i<6; i++){\n if(sc.nextInt()==0){\n res = i;\n break;\n }\n }\n \n System.out.println(res);\n }\n }",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int res=0;
for(int i=1; i<6; i++){
if(sc.nextInt()==0){
res = i;
break;
}
}
System.out.println(res);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
63,
5
],
[
63,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
]
| [
"import java.util.*;\n\npublic class Main {\npublic static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int[] x = new int[5];\n int ans = 0;\n for(int i=0;i<5;i++) {\n x[i] = scan.nextInt();\n if(x[i] == 0) {\n ans = i + 1;\n }\n } \n\n System.out.println(ans);\n scan.close();\n\n}\n\n};",
"import java.util.*;",
"util.*",
"java",
"public class Main {\npublic static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int[] x = new int[5];\n int ans = 0;\n for(int i=0;i<5;i++) {\n x[i] = scan.nextInt();\n if(x[i] == 0) {\n ans = i + 1;\n }\n } \n\n System.out.println(ans);\n scan.close();\n\n}\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int[] x = new int[5];\n int ans = 0;\n for(int i=0;i<5;i++) {\n x[i] = scan.nextInt();\n if(x[i] == 0) {\n ans = i + 1;\n }\n } \n\n System.out.println(ans);\n scan.close();\n\n}",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int[] x = new int[5];\n int ans = 0;\n for(int i=0;i<5;i++) {\n x[i] = scan.nextInt();\n if(x[i] == 0) {\n ans = i + 1;\n }\n } \n\n System.out.println(ans);\n scan.close();\n\n}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] x = new int[5];",
"x",
"new int[5]",
"5",
"int ans = 0;",
"ans",
"0",
"for(int i=0;i<5;i++) {\n x[i] = scan.nextInt();\n if(x[i] == 0) {\n ans = i + 1;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n x[i] = scan.nextInt();\n if(x[i] == 0) {\n ans = i + 1;\n }\n }",
"{\n x[i] = scan.nextInt();\n if(x[i] == 0) {\n ans = i + 1;\n }\n }",
"x[i] = scan.nextInt()",
"x[i]",
"x",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(x[i] == 0) {\n ans = i + 1;\n }",
"x[i] == 0",
"x[i]",
"x",
"i",
"0",
"{\n ans = i + 1;\n }",
"ans = i + 1",
"ans",
"i + 1",
"i",
"1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\npublic static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int[] x = new int[5];\n int ans = 0;\n for(int i=0;i<5;i++) {\n x[i] = scan.nextInt();\n if(x[i] == 0) {\n ans = i + 1;\n }\n } \n\n System.out.println(ans);\n scan.close();\n\n}\n\n}",
"public class Main {\npublic static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int[] x = new int[5];\n int ans = 0;\n for(int i=0;i<5;i++) {\n x[i] = scan.nextInt();\n if(x[i] == 0) {\n ans = i + 1;\n }\n } \n\n System.out.println(ans);\n scan.close();\n\n}\n\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int[] x = new int[5];
int ans = 0;
for(int i=0;i<5;i++) {
x[i] = scan.nextInt();
if(x[i] == 0) {
ans = i + 1;
}
}
System.out.println(ans);
scan.close();
}
};
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
3,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
13,
17,
30,
29,
4,
13,
13,
2,
13,
13,
30,
29,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
17,
23,
13,
12,
13,
30,
29,
4,
18,
13,
23,
13,
12,
13,
30,
29,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
326,
5
],
[
326,
6
],
[
6,
7
],
[
6,
8
],
[
326,
9
],
[
9,
10
],
[
9,
11
],
[
326,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
36,
43
],
[
12,
44
],
[
44,
45
],
[
326,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
51,
51
],
[
51,
52
],
[
51,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
54,
57
],
[
46,
58
],
[
58,
59
],
[
46,
60
],
[
60,
61
],
[
326,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
65,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
73,
76
],
[
76,
77
],
[
76,
78
],
[
65,
79
],
[
79,
80
],
[
80,
81
],
[
62,
82
],
[
82,
83
],
[
62,
84
],
[
84,
85
],
[
326,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
86,
93
],
[
93,
94
],
[
326,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
95,
102
],
[
102,
103
],
[
326,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
326,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
118,
119
],
[
119,
120
],
[
326,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
128,
129
],
[
129,
130
],
[
326,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
135,
138
],
[
138,
139
],
[
139,
140
],
[
326,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
145,
148
],
[
141,
149
],
[
149,
150
],
[
326,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
151,
158
],
[
158,
159
],
[
326,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
160,
167
],
[
167,
168
],
[
326,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
174,
176
],
[
171,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
179,
181
],
[
171,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
182,
187
],
[
187,
188
],
[
187,
189
],
[
182,
190
],
[
190,
191
],
[
191,
192
],
[
182,
193
],
[
194,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
198,
199
],
[
197,
200
],
[
197,
201
],
[
201,
202
],
[
201,
203
],
[
171,
204
],
[
204,
205
],
[
169,
206
],
[
206,
207
],
[
326,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
213,
215
],
[
210,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
218,
220
],
[
210,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
221,
226
],
[
226,
227
],
[
226,
228
],
[
221,
229
],
[
229,
230
],
[
230,
231
],
[
221,
232
],
[
233,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
237,
238
],
[
236,
239
],
[
236,
240
],
[
240,
241
],
[
240,
242
],
[
210,
243
],
[
243,
244
],
[
208,
245
],
[
245,
246
],
[
326,
247
],
[
247,
248
],
[
247,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
252,
254
],
[
249,
255
],
[
255,
256
],
[
255,
257
],
[
257,
258
],
[
257,
259
],
[
249,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
260,
265
],
[
265,
266
],
[
265,
267
],
[
260,
268
],
[
268,
269
],
[
269,
270
],
[
260,
271
],
[
272,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
276,
277
],
[
275,
278
],
[
275,
279
],
[
279,
280
],
[
279,
281
],
[
249,
282
],
[
282,
283
],
[
247,
284
],
[
284,
285
],
[
326,
286
],
[
286,
287
],
[
286,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
291,
293
],
[
288,
294
],
[
294,
295
],
[
294,
296
],
[
296,
297
],
[
296,
298
],
[
288,
299
],
[
299,
300
],
[
300,
301
],
[
301,
302
],
[
301,
303
],
[
299,
304
],
[
304,
305
],
[
304,
306
],
[
299,
307
],
[
307,
308
],
[
308,
309
],
[
299,
310
],
[
311,
311
],
[
311,
312
],
[
312,
313
],
[
312,
314
],
[
314,
315
],
[
315,
316
],
[
314,
317
],
[
314,
318
],
[
318,
319
],
[
318,
320
],
[
288,
321
],
[
321,
322
],
[
286,
323
],
[
323,
324
],
[
0,
325
],
[
325,
326
],
[
325,
327
]
]
| [
"import java.util.*;\n\n//update 2020/1/1 23:01\n\npublic class Main{\n\n static Scanner sc = new Scanner(System.in);\n static StringBuilder sb = new StringBuilder();\n\n public static void main(String[] args) {\n\n for(int i=1;i<=5;i++){\n int x = nextInt();\n if(x!=i){\n System.out.println(i);\n break;\n }\n }\n\n\n\n\n //System.out.println();\n\n }\n\n static int lcm(int a,int b){\n return a*b*gcd(a,b);\n }\n\n static int gcd(int a,int b){\n if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }\n }\n\n /*\n static String toSmall(String s){\n char c = s.charAt(0);\n //if(Character.isUpperCase(c)){\n if(c<=90){\n c += 32;\n }\n return String.valueOf(c);\n }\n static String toBig(String s){\n char c = s.charAt(0);\n //if(Character.isLowerCase(c)){\n if(c>=97){\n c -= 32;\n }\n return String.valueOf(c);\n }\n */\n\n static String toSmall(String s){\n return s.toLowerCase();\n }\n\n static String toBig(String s){\n return s.toUpperCase();\n }\n\n static String next(){\n return sc.next();\n }\n\n static int nextInt(){\n return Integer.parseInt(sc.next());\n }\n\n static long nextLong(){\n return Long.parseLong(sc.next());\n }\n\n static double nextDouble(){\n return Double.parseDouble(sc.next());\n }\n\n static String[] splitString(String s){\n return s.split(\"\");\n }\n\n static char[] splitChar(String s){\n return s.toCharArray();\n }\n\n static int charToInt(char a){\n return a - 48;\n }\n\n////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n////////////////////////////////////////////\n\n////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n////////////////////////////////////////////\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\n static Scanner sc = new Scanner(System.in);\n static StringBuilder sb = new StringBuilder();\n\n public static void main(String[] args) {\n\n for(int i=1;i<=5;i++){\n int x = nextInt();\n if(x!=i){\n System.out.println(i);\n break;\n }\n }\n\n\n\n\n //System.out.println();\n\n }\n\n static int lcm(int a,int b){\n return a*b*gcd(a,b);\n }\n\n static int gcd(int a,int b){\n if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }\n }\n\n /*\n static String toSmall(String s){\n char c = s.charAt(0);\n //if(Character.isUpperCase(c)){\n if(c<=90){\n c += 32;\n }\n return String.valueOf(c);\n }\n static String toBig(String s){\n char c = s.charAt(0);\n //if(Character.isLowerCase(c)){\n if(c>=97){\n c -= 32;\n }\n return String.valueOf(c);\n }\n */\n\n static String toSmall(String s){\n return s.toLowerCase();\n }\n\n static String toBig(String s){\n return s.toUpperCase();\n }\n\n static String next(){\n return sc.next();\n }\n\n static int nextInt(){\n return Integer.parseInt(sc.next());\n }\n\n static long nextLong(){\n return Long.parseLong(sc.next());\n }\n\n static double nextDouble(){\n return Double.parseDouble(sc.next());\n }\n\n static String[] splitString(String s){\n return s.split(\"\");\n }\n\n static char[] splitChar(String s){\n return s.toCharArray();\n }\n\n static int charToInt(char a){\n return a - 48;\n }\n\n////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n////////////////////////////////////////////\n\n////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n////////////////////////////////////////////\n\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"static StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"public static void main(String[] args) {\n\n for(int i=1;i<=5;i++){\n int x = nextInt();\n if(x!=i){\n System.out.println(i);\n break;\n }\n }\n\n\n\n\n //System.out.println();\n\n }",
"main",
"{\n\n for(int i=1;i<=5;i++){\n int x = nextInt();\n if(x!=i){\n System.out.println(i);\n break;\n }\n }\n\n\n\n\n //System.out.println();\n\n }",
"for(int i=1;i<=5;i++){\n int x = nextInt();\n if(x!=i){\n System.out.println(i);\n break;\n }\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=5",
"i",
"5",
"i++",
"i++",
"i",
"{\n int x = nextInt();\n if(x!=i){\n System.out.println(i);\n break;\n }\n }",
"{\n int x = nextInt();\n if(x!=i){\n System.out.println(i);\n break;\n }\n }",
"int x = nextInt();",
"x",
"nextInt()",
"nextInt",
"if(x!=i){\n System.out.println(i);\n break;\n }",
"x!=i",
"x",
"i",
"{\n System.out.println(i);\n break;\n }",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"break;",
"String[] args",
"args",
"static int lcm(int a,int b){\n return a*b*gcd(a,b);\n }",
"lcm",
"{\n return a*b*gcd(a,b);\n }",
"return a*b*gcd(a,b);",
"a*b*gcd(a,b)",
"a*b*gcd(a,b)",
"a",
"b",
"gcd(a,b)",
"gcd",
"a",
"b",
"int a",
"a",
"int b",
"b",
"static int gcd(int a,int b){\n if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }\n }",
"gcd",
"{\n if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }\n }",
"if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }",
"a%b!=0",
"a%b",
"a",
"b",
"0",
"{\n return gcd(b,a%b);\n }",
"return gcd(b,a%b);",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"{\n return b;\n }",
"return b;",
"b",
"int a",
"a",
"int b",
"b",
"static String toSmall(String s){\n return s.toLowerCase();\n }",
"toSmall",
"{\n return s.toLowerCase();\n }",
"return s.toLowerCase();",
"s.toLowerCase()",
"s.toLowerCase",
"s",
"String s",
"s",
"static String toBig(String s){\n return s.toUpperCase();\n }",
"toBig",
"{\n return s.toUpperCase();\n }",
"return s.toUpperCase();",
"s.toUpperCase()",
"s.toUpperCase",
"s",
"String s",
"s",
"static String next(){\n return sc.next();\n }",
"next",
"{\n return sc.next();\n }",
"return sc.next();",
"sc.next()",
"sc.next",
"sc",
"static int nextInt(){\n return Integer.parseInt(sc.next());\n }",
"nextInt",
"{\n return Integer.parseInt(sc.next());\n }",
"return Integer.parseInt(sc.next());",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"static long nextLong(){\n return Long.parseLong(sc.next());\n }",
"nextLong",
"{\n return Long.parseLong(sc.next());\n }",
"return Long.parseLong(sc.next());",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"static double nextDouble(){\n return Double.parseDouble(sc.next());\n }",
"nextDouble",
"{\n return Double.parseDouble(sc.next());\n }",
"return Double.parseDouble(sc.next());",
"Double.parseDouble(sc.next())",
"Double.parseDouble",
"Double",
"sc.next()",
"sc.next",
"sc",
"static String[] splitString(String s){\n return s.split(\"\");\n }",
"splitString",
"{\n return s.split(\"\");\n }",
"return s.split(\"\");",
"s.split(\"\")",
"s.split",
"s",
"\"\"",
"String s",
"s",
"static char[] splitChar(String s){\n return s.toCharArray();\n }",
"splitChar",
"{\n return s.toCharArray();\n }",
"return s.toCharArray();",
"s.toCharArray()",
"s.toCharArray",
"s",
"String s",
"s",
"static int charToInt(char a){\n return a - 48;\n }",
"charToInt",
"{\n return a - 48;\n }",
"return a - 48;",
"a - 48",
"a",
"48",
"char a",
"a",
"////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }",
"max",
"{\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }",
"int lng = a.length;",
"lng",
"a.length",
"a",
"a.length",
"int max = a[0];",
"max",
"a[0]",
"a",
"0",
"for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<lng",
"i",
"lng",
"i++",
"i++",
"i",
"{\n max = Math.max(max,a[i]);\n }",
"{\n max = Math.max(max,a[i]);\n }",
"max = Math.max(max,a[i])",
"max",
"Math.max(max,a[i])",
"Math.max",
"Math",
"max",
"a[i]",
"a",
"i",
"return max;",
"max",
"int[] a",
"a",
"public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }",
"max",
"{\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }",
"int lng = a.length;",
"lng",
"a.length",
"a",
"a.length",
"long max = a[0];",
"max",
"a[0]",
"a",
"0",
"for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<lng",
"i",
"lng",
"i++",
"i++",
"i",
"{\n max = Math.max(max,a[i]);\n }",
"{\n max = Math.max(max,a[i]);\n }",
"max = Math.max(max,a[i])",
"max",
"Math.max(max,a[i])",
"Math.max",
"Math",
"max",
"a[i]",
"a",
"i",
"return max;",
"max",
"long[] a",
"a",
"////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }",
"min",
"{\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }",
"int lng = a.length;",
"lng",
"a.length",
"a",
"a.length",
"int min = a[0];",
"min",
"a[0]",
"a",
"0",
"for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<lng",
"i",
"lng",
"i++",
"i++",
"i",
"{\n min = Math.min(min,a[i]);\n }",
"{\n min = Math.min(min,a[i]);\n }",
"min = Math.min(min,a[i])",
"min",
"Math.min(min,a[i])",
"Math.min",
"Math",
"min",
"a[i]",
"a",
"i",
"return min;",
"min",
"int[] a",
"a",
"public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }",
"min",
"{\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }",
"int lng = a.length;",
"lng",
"a.length",
"a",
"a.length",
"long min = a[0];",
"min",
"a[0]",
"a",
"0",
"for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<lng",
"i",
"lng",
"i++",
"i++",
"i",
"{\n min = Math.min(min,a[i]);\n }",
"{\n min = Math.min(min,a[i]);\n }",
"min = Math.min(min,a[i])",
"min",
"Math.min(min,a[i])",
"Math.min",
"Math",
"min",
"a[i]",
"a",
"i",
"return min;",
"min",
"long[] a",
"a",
"public class Main{\n\n static Scanner sc = new Scanner(System.in);\n static StringBuilder sb = new StringBuilder();\n\n public static void main(String[] args) {\n\n for(int i=1;i<=5;i++){\n int x = nextInt();\n if(x!=i){\n System.out.println(i);\n break;\n }\n }\n\n\n\n\n //System.out.println();\n\n }\n\n static int lcm(int a,int b){\n return a*b*gcd(a,b);\n }\n\n static int gcd(int a,int b){\n if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }\n }\n\n /*\n static String toSmall(String s){\n char c = s.charAt(0);\n //if(Character.isUpperCase(c)){\n if(c<=90){\n c += 32;\n }\n return String.valueOf(c);\n }\n static String toBig(String s){\n char c = s.charAt(0);\n //if(Character.isLowerCase(c)){\n if(c>=97){\n c -= 32;\n }\n return String.valueOf(c);\n }\n */\n\n static String toSmall(String s){\n return s.toLowerCase();\n }\n\n static String toBig(String s){\n return s.toUpperCase();\n }\n\n static String next(){\n return sc.next();\n }\n\n static int nextInt(){\n return Integer.parseInt(sc.next());\n }\n\n static long nextLong(){\n return Long.parseLong(sc.next());\n }\n\n static double nextDouble(){\n return Double.parseDouble(sc.next());\n }\n\n static String[] splitString(String s){\n return s.split(\"\");\n }\n\n static char[] splitChar(String s){\n return s.toCharArray();\n }\n\n static int charToInt(char a){\n return a - 48;\n }\n\n////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n////////////////////////////////////////////\n\n////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n////////////////////////////////////////////\n\n}",
"public class Main{\n\n static Scanner sc = new Scanner(System.in);\n static StringBuilder sb = new StringBuilder();\n\n public static void main(String[] args) {\n\n for(int i=1;i<=5;i++){\n int x = nextInt();\n if(x!=i){\n System.out.println(i);\n break;\n }\n }\n\n\n\n\n //System.out.println();\n\n }\n\n static int lcm(int a,int b){\n return a*b*gcd(a,b);\n }\n\n static int gcd(int a,int b){\n if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }\n }\n\n /*\n static String toSmall(String s){\n char c = s.charAt(0);\n //if(Character.isUpperCase(c)){\n if(c<=90){\n c += 32;\n }\n return String.valueOf(c);\n }\n static String toBig(String s){\n char c = s.charAt(0);\n //if(Character.isLowerCase(c)){\n if(c>=97){\n c -= 32;\n }\n return String.valueOf(c);\n }\n */\n\n static String toSmall(String s){\n return s.toLowerCase();\n }\n\n static String toBig(String s){\n return s.toUpperCase();\n }\n\n static String next(){\n return sc.next();\n }\n\n static int nextInt(){\n return Integer.parseInt(sc.next());\n }\n\n static long nextLong(){\n return Long.parseLong(sc.next());\n }\n\n static double nextDouble(){\n return Double.parseDouble(sc.next());\n }\n\n static String[] splitString(String s){\n return s.split(\"\");\n }\n\n static char[] splitChar(String s){\n return s.toCharArray();\n }\n\n static int charToInt(char a){\n return a - 48;\n }\n\n////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n////////////////////////////////////////////\n\n////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n////////////////////////////////////////////\n\n}",
"Main"
]
| import java.util.*;
//update 2020/1/1 23:01
public class Main{
static Scanner sc = new Scanner(System.in);
static StringBuilder sb = new StringBuilder();
public static void main(String[] args) {
for(int i=1;i<=5;i++){
int x = nextInt();
if(x!=i){
System.out.println(i);
break;
}
}
//System.out.println();
}
static int lcm(int a,int b){
return a*b*gcd(a,b);
}
static int gcd(int a,int b){
if(a%b!=0){
return gcd(b,a%b);
}
else{
return b;
}
}
/*
static String toSmall(String s){
char c = s.charAt(0);
//if(Character.isUpperCase(c)){
if(c<=90){
c += 32;
}
return String.valueOf(c);
}
static String toBig(String s){
char c = s.charAt(0);
//if(Character.isLowerCase(c)){
if(c>=97){
c -= 32;
}
return String.valueOf(c);
}
*/
static String toSmall(String s){
return s.toLowerCase();
}
static String toBig(String s){
return s.toUpperCase();
}
static String next(){
return sc.next();
}
static int nextInt(){
return Integer.parseInt(sc.next());
}
static long nextLong(){
return Long.parseLong(sc.next());
}
static double nextDouble(){
return Double.parseDouble(sc.next());
}
static String[] splitString(String s){
return s.split("");
}
static char[] splitChar(String s){
return s.toCharArray();
}
static int charToInt(char a){
return a - 48;
}
////////////////////////////////////////////
public static int max(int[] a){
int lng = a.length;
int max = a[0];
for(int i=1;i<lng;i++){
max = Math.max(max,a[i]);
}
return max;
}
public static long max(long[] a){
int lng = a.length;
long max = a[0];
for(int i=1;i<lng;i++){
max = Math.max(max,a[i]);
}
return max;
}
////////////////////////////////////////////
////////////////////////////////////////////
public static int min(int[] a){
int lng = a.length;
int min = a[0];
for(int i=1;i<lng;i++){
min = Math.min(min,a[i]);
}
return min;
}
public static long min(long[] a){
int lng = a.length;
long min = a[0];
for(int i=1;i<lng;i++){
min = Math.min(min,a[i]);
}
return min;
}
////////////////////////////////////////////
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
13,
3,
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
],
[
54,
8
],
[
54,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
23,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
9,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
]
| [
"import java.util.Scanner;\nimport java.util.Arrays;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int ans = 0;\n for(int i = 1; i <= 5; i++){\n int pre = sc.nextInt();\n if(pre == 0){\n ans = i;\n break;\n }\n }\n System.out.println(ans);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int ans = 0;\n for(int i = 1; i <= 5; i++){\n int pre = sc.nextInt();\n if(pre == 0){\n ans = i;\n break;\n }\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int ans = 0;\n for(int i = 1; i <= 5; i++){\n int pre = sc.nextInt();\n if(pre == 0){\n ans = i;\n break;\n }\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int ans = 0;\n for(int i = 1; i <= 5; i++){\n int pre = sc.nextInt();\n if(pre == 0){\n ans = i;\n break;\n }\n }\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int ans = 0;",
"ans",
"0",
"for(int i = 1; i <= 5; i++){\n int pre = sc.nextInt();\n if(pre == 0){\n ans = i;\n break;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n int pre = sc.nextInt();\n if(pre == 0){\n ans = i;\n break;\n }\n }",
"{\n int pre = sc.nextInt();\n if(pre == 0){\n ans = i;\n break;\n }\n }",
"int pre = sc.nextInt();",
"pre",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(pre == 0){\n ans = i;\n break;\n }",
"pre == 0",
"pre",
"0",
"{\n ans = i;\n break;\n }",
"ans = i",
"ans",
"i",
"break;",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int ans = 0;\n for(int i = 1; i <= 5; i++){\n int pre = sc.nextInt();\n if(pre == 0){\n ans = i;\n break;\n }\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int ans = 0;\n for(int i = 1; i <= 5; i++){\n int pre = sc.nextInt();\n if(pre == 0){\n ans = i;\n break;\n }\n }\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.Scanner;
import java.util.Arrays;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int ans = 0;
for(int i = 1; i <= 5; i++){
int pre = sc.nextInt();
if(pre == 0){
ans = i;
break;
}
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
36,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
]
| [
"import java.util.Scanner;\n\npublic class Main\n{\n public static void main(String[] args)\n {\n Scanner k = new Scanner(System.in);\n int arr[] = new int[5];\n\n for(int i=0 ; i< 5; i++)\n {\n arr[i] = k.nextInt();\n if(arr[i] == 0)\n {\n System.out.println(i+1);\n }\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner k = new Scanner(System.in);\n int arr[] = new int[5];\n\n for(int i=0 ; i< 5; i++)\n {\n arr[i] = k.nextInt();\n if(arr[i] == 0)\n {\n System.out.println(i+1);\n }\n }\n }\n}",
"Main",
"public static void main(String[] args)\n {\n Scanner k = new Scanner(System.in);\n int arr[] = new int[5];\n\n for(int i=0 ; i< 5; i++)\n {\n arr[i] = k.nextInt();\n if(arr[i] == 0)\n {\n System.out.println(i+1);\n }\n }\n }",
"main",
"{\n Scanner k = new Scanner(System.in);\n int arr[] = new int[5];\n\n for(int i=0 ; i< 5; i++)\n {\n arr[i] = k.nextInt();\n if(arr[i] == 0)\n {\n System.out.println(i+1);\n }\n }\n }",
"Scanner k = new Scanner(System.in);",
"k",
"new Scanner(System.in)",
"int arr[] = new int[5];",
"arr",
"new int[5]",
"5",
"for(int i=0 ; i< 5; i++)\n {\n arr[i] = k.nextInt();\n if(arr[i] == 0)\n {\n System.out.println(i+1);\n }\n }",
"int i=0 ;",
"int i=0 ;",
"i",
"0",
"i< 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n arr[i] = k.nextInt();\n if(arr[i] == 0)\n {\n System.out.println(i+1);\n }\n }",
"{\n arr[i] = k.nextInt();\n if(arr[i] == 0)\n {\n System.out.println(i+1);\n }\n }",
"arr[i] = k.nextInt()",
"arr[i]",
"arr",
"i",
"k.nextInt()",
"k.nextInt",
"k",
"if(arr[i] == 0)\n {\n System.out.println(i+1);\n }",
"arr[i] == 0",
"arr[i]",
"arr",
"i",
"0",
"{\n System.out.println(i+1);\n }",
"System.out.println(i+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"String[] args",
"args",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner k = new Scanner(System.in);\n int arr[] = new int[5];\n\n for(int i=0 ; i< 5; i++)\n {\n arr[i] = k.nextInt();\n if(arr[i] == 0)\n {\n System.out.println(i+1);\n }\n }\n }\n}",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner k = new Scanner(System.in);\n int arr[] = new int[5];\n\n for(int i=0 ; i< 5; i++)\n {\n arr[i] = k.nextInt();\n if(arr[i] == 0)\n {\n System.out.println(i+1);\n }\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner k = new Scanner(System.in);
int arr[] = new int[5];
for(int i=0 ; i< 5; i++)
{
arr[i] = k.nextInt();
if(arr[i] == 0)
{
System.out.println(i+1);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
51,
5
],
[
51,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
28,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sn = new Scanner(System.in);\n int[] list = new int[5];\n\t\tfor( int i =1; i < 6 ; i++ ){\n\t\t\tint cnt = Integer.parseInt(sn.next());\n\t\t\tif (cnt == 0){\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}\n\t}\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sn = new Scanner(System.in);\n int[] list = new int[5];\n\t\tfor( int i =1; i < 6 ; i++ ){\n\t\t\tint cnt = Integer.parseInt(sn.next());\n\t\t\tif (cnt == 0){\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sn = new Scanner(System.in);\n int[] list = new int[5];\n\t\tfor( int i =1; i < 6 ; i++ ){\n\t\t\tint cnt = Integer.parseInt(sn.next());\n\t\t\tif (cnt == 0){\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sn = new Scanner(System.in);\n int[] list = new int[5];\n\t\tfor( int i =1; i < 6 ; i++ ){\n\t\t\tint cnt = Integer.parseInt(sn.next());\n\t\t\tif (cnt == 0){\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}\n\t}",
"Scanner sn = new Scanner(System.in);",
"sn",
"new Scanner(System.in)",
"int[] list = new int[5];",
"list",
"new int[5]",
"5",
"for( int i =1; i < 6 ; i++ ){\n\t\t\tint cnt = Integer.parseInt(sn.next());\n\t\t\tif (cnt == 0){\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}",
"int i =1;",
"int i =1;",
"i",
"1",
"i < 6",
"i",
"6",
"i++",
"i++",
"i",
"{\n\t\t\tint cnt = Integer.parseInt(sn.next());\n\t\t\tif (cnt == 0){\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}",
"{\n\t\t\tint cnt = Integer.parseInt(sn.next());\n\t\t\tif (cnt == 0){\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}",
"int cnt = Integer.parseInt(sn.next());",
"cnt",
"Integer.parseInt(sn.next())",
"Integer.parseInt",
"Integer",
"sn.next()",
"sn.next",
"sn",
"if (cnt == 0){\n\t\t\t\tSystem.out.println(i);\n\t\t\t}",
"cnt == 0",
"cnt",
"0",
"{\n\t\t\t\tSystem.out.println(i);\n\t\t\t}",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sn = new Scanner(System.in);\n int[] list = new int[5];\n\t\tfor( int i =1; i < 6 ; i++ ){\n\t\t\tint cnt = Integer.parseInt(sn.next());\n\t\t\tif (cnt == 0){\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sn = new Scanner(System.in);\n int[] list = new int[5];\n\t\tfor( int i =1; i < 6 ; i++ ){\n\t\t\tint cnt = Integer.parseInt(sn.next());\n\t\t\tif (cnt == 0){\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sn = new Scanner(System.in);
int[] list = new int[5];
for( int i =1; i < 6 ; i++ ){
int cnt = Integer.parseInt(sn.next());
if (cnt == 0){
System.out.println(i);
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
13,
17,
30,
4,
18,
18,
13,
13,
13,
3,
12,
13,
30,
29,
4,
13,
4,
13,
12,
13,
30,
29,
4,
13,
4,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
4,
13,
17,
30,
0,
13,
20,
0,
13,
20,
4,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
129,
26
],
[
129,
27
],
[
27,
28
],
[
129,
29
],
[
29,
30
],
[
129,
31
],
[
31,
32
],
[
129,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
49,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
54,
61
],
[
129,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
129,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
129,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
81,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
80,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
129,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
104,
108
],
[
108,
109
],
[
108,
110
],
[
101,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
115,
116
],
[
115,
117
],
[
111,
118
],
[
118,
119
],
[
111,
120
],
[
120,
121
],
[
121,
122
],
[
111,
123
],
[
123,
124
],
[
124,
125
],
[
98,
126
],
[
126,
127
],
[
0,
128
],
[
128,
129
],
[
128,
130
]
]
| [
"import static java.lang.Integer.*;\nimport static java.lang.Long.*;\nimport static java.lang.System.*;\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n static void solve() throws Exception {\n for (int i = 1; i <= 5; i++) {\n if (scanInt() == 0) {\n System.out.println(i);\n break;\n }\n }\n }\n\n static int scanInt() throws IOException {\n return parseInt(scanString());\n }\n\n static long scanLong() throws IOException {\n return parseLong(scanString());\n }\n\n static String scanString() throws IOException {\n while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }\n return tok.nextToken();\n }\n\n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n\n public static void main(String[] args) {\n try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }\n }\n}",
"import static java.lang.Integer.*;",
"import static java.lang.Integer.*;",
"import static java.lang.Integer.*;",
"import static java.lang.Long.*;",
"import static java.lang.Long.*;",
"import static java.lang.Long.*;",
"import static java.lang.System.*;",
"import static java.lang.System.*;",
"import static java.lang.System.*;",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n static void solve() throws Exception {\n for (int i = 1; i <= 5; i++) {\n if (scanInt() == 0) {\n System.out.println(i);\n break;\n }\n }\n }\n\n static int scanInt() throws IOException {\n return parseInt(scanString());\n }\n\n static long scanLong() throws IOException {\n return parseLong(scanString());\n }\n\n static String scanString() throws IOException {\n while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }\n return tok.nextToken();\n }\n\n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n\n public static void main(String[] args) {\n try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }\n }\n}",
"Main",
"static BufferedReader in;",
"in",
"static PrintWriter out;",
"out",
"static StringTokenizer tok;",
"tok",
"static void solve() throws Exception {\n for (int i = 1; i <= 5; i++) {\n if (scanInt() == 0) {\n System.out.println(i);\n break;\n }\n }\n }",
"solve",
"{\n for (int i = 1; i <= 5; i++) {\n if (scanInt() == 0) {\n System.out.println(i);\n break;\n }\n }\n }",
"for (int i = 1; i <= 5; i++) {\n if (scanInt() == 0) {\n System.out.println(i);\n break;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if (scanInt() == 0) {\n System.out.println(i);\n break;\n }\n }",
"{\n if (scanInt() == 0) {\n System.out.println(i);\n break;\n }\n }",
"if (scanInt() == 0) {\n System.out.println(i);\n break;\n }",
"scanInt() == 0",
"scanInt()",
"scanInt",
"0",
"{\n System.out.println(i);\n break;\n }",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"break;",
"static int scanInt() throws IOException {\n return parseInt(scanString());\n }",
"scanInt",
"{\n return parseInt(scanString());\n }",
"return parseInt(scanString());",
"parseInt(scanString())",
"parseInt",
"scanString()",
"scanString",
"static long scanLong() throws IOException {\n return parseLong(scanString());\n }",
"scanLong",
"{\n return parseLong(scanString());\n }",
"return parseLong(scanString());",
"parseLong(scanString())",
"parseLong",
"scanString()",
"scanString",
"static String scanString() throws IOException {\n while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }\n return tok.nextToken();\n }",
"scanString",
"{\n while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }\n return tok.nextToken();\n }",
"while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }",
"tok == null || !tok.hasMoreTokens()",
"tok == null",
"tok",
"null",
"!tok.hasMoreTokens()",
"tok.hasMoreTokens()",
"tok.hasMoreTokens",
"tok",
"{\n tok = new StringTokenizer(in.readLine());\n }",
"tok = new StringTokenizer(in.readLine())",
"tok",
"new StringTokenizer(in.readLine())",
"return tok.nextToken();",
"tok.nextToken()",
"tok.nextToken",
"tok",
"public static void main(String[] args) {\n try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }\n }",
"main",
"{\n try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }\n }",
"try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }",
"catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }",
"Throwable e",
"{\n e.printStackTrace();\n exit(1);\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"exit(1)",
"exit",
"1",
"{\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }",
"in = new BufferedReader(new InputStreamReader(System.in))",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"solve()",
"solve",
"in.close()",
"in.close",
"in",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public class Main {\n\n static void solve() throws Exception {\n for (int i = 1; i <= 5; i++) {\n if (scanInt() == 0) {\n System.out.println(i);\n break;\n }\n }\n }\n\n static int scanInt() throws IOException {\n return parseInt(scanString());\n }\n\n static long scanLong() throws IOException {\n return parseLong(scanString());\n }\n\n static String scanString() throws IOException {\n while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }\n return tok.nextToken();\n }\n\n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n\n public static void main(String[] args) {\n try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }\n }\n}",
"public class Main {\n\n static void solve() throws Exception {\n for (int i = 1; i <= 5; i++) {\n if (scanInt() == 0) {\n System.out.println(i);\n break;\n }\n }\n }\n\n static int scanInt() throws IOException {\n return parseInt(scanString());\n }\n\n static long scanLong() throws IOException {\n return parseLong(scanString());\n }\n\n static String scanString() throws IOException {\n while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }\n return tok.nextToken();\n }\n\n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n\n public static void main(String[] args) {\n try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }\n }\n}",
"Main"
]
| import static java.lang.Integer.*;
import static java.lang.Long.*;
import static java.lang.System.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.StringTokenizer;
public class Main {
static void solve() throws Exception {
for (int i = 1; i <= 5; i++) {
if (scanInt() == 0) {
System.out.println(i);
break;
}
}
}
static int scanInt() throws IOException {
return parseInt(scanString());
}
static long scanLong() throws IOException {
return parseLong(scanString());
}
static String scanString() throws IOException {
while (tok == null || !tok.hasMoreTokens()) {
tok = new StringTokenizer(in.readLine());
}
return tok.nextToken();
}
static BufferedReader in;
static PrintWriter out;
static StringTokenizer tok;
public static void main(String[] args) {
try {
in = new BufferedReader(new InputStreamReader(System.in));
out = new PrintWriter(System.out);
solve();
in.close();
out.close();
}
catch (Throwable e) {
e.printStackTrace();
exit(1);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
14,
2,
18,
13,
13,
17,
0,
13,
13,
4,
18,
13,
2,
13,
17,
4,
18,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
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,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
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
],
[
160,
20
],
[
160,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
23,
36
],
[
36,
37
],
[
36,
38
],
[
23,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
23,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
23,
66
],
[
66,
67
],
[
67,
68
],
[
21,
69
],
[
69,
70
],
[
160,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
71,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
82,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
88,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
81,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
71,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
110,
111
],
[
71,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
124,
125
],
[
124,
126
],
[
119,
127
],
[
127,
128
],
[
128,
129
],
[
119,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
135,
136
],
[
114,
137
],
[
137,
138
],
[
112,
139
],
[
139,
140
],
[
71,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
145,
148
],
[
148,
149
],
[
71,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
154,
157
],
[
157,
158
],
[
0,
159
],
[
159,
160
],
[
159,
161
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\nimport java.util.Arrays;\n// Solution Starts here\npublic class Main{\n public static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n int a[]=in.readArray(5);\n int c=0;\n for(int i=0;i<5;i++)\n if(a[i]==0)\n c=i;\n \n out.println(c+1);\n out.close();\n }\n // solution ends here\n static class FastScanner{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer sr = new StringTokenizer(\"\");\n String next(){\n while(!sr.hasMoreTokens()){\n try{\n sr=new StringTokenizer(br.readLine());\n }catch(IOException e){\n e.printStackTrace();\n }\n }\n return sr.nextToken();\n }\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int a[]=new int[n];\n for(int i=0;i<n;i++)\n a[i]=nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n double nextDouble(){\n return Double.parseDouble(next());\n }\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main{\n public static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n int a[]=in.readArray(5);\n int c=0;\n for(int i=0;i<5;i++)\n if(a[i]==0)\n c=i;\n \n out.println(c+1);\n out.close();\n }\n // solution ends here\n static class FastScanner{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer sr = new StringTokenizer(\"\");\n String next(){\n while(!sr.hasMoreTokens()){\n try{\n sr=new StringTokenizer(br.readLine());\n }catch(IOException e){\n e.printStackTrace();\n }\n }\n return sr.nextToken();\n }\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int a[]=new int[n];\n for(int i=0;i<n;i++)\n a[i]=nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n double nextDouble(){\n return Double.parseDouble(next());\n }\n }\n\n}",
"Main",
"public static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n int a[]=in.readArray(5);\n int c=0;\n for(int i=0;i<5;i++)\n if(a[i]==0)\n c=i;\n \n out.println(c+1);\n out.close();\n }",
"main",
"{\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n int a[]=in.readArray(5);\n int c=0;\n for(int i=0;i<5;i++)\n if(a[i]==0)\n c=i;\n \n out.println(c+1);\n out.close();\n }",
"FastScanner in = new FastScanner();",
"in",
"new FastScanner()",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"int a[]=in.readArray(5);",
"a",
"in.readArray(5)",
"in.readArray",
"in",
"5",
"int c=0;",
"c",
"0",
"for(int i=0;i<5;i++)\n if(a[i]==0)\n c=i;",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"if(a[i]==0)\n c=i;",
"if(a[i]==0)\n c=i;",
"a[i]==0",
"a[i]",
"a",
"i",
"0",
"c=i",
"c",
"i",
"out.println(c+1)",
"out.println",
"out",
"c+1",
"c",
"1",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class FastScanner{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer sr = new StringTokenizer(\"\");\n String next(){\n while(!sr.hasMoreTokens()){\n try{\n sr=new StringTokenizer(br.readLine());\n }catch(IOException e){\n e.printStackTrace();\n }\n }\n return sr.nextToken();\n }\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int a[]=new int[n];\n for(int i=0;i<n;i++)\n a[i]=nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n double nextDouble(){\n return Double.parseDouble(next());\n }\n }",
"FastScanner",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer sr = new StringTokenizer(\"\");",
"sr",
"new StringTokenizer(\"\")",
"String next(){\n while(!sr.hasMoreTokens()){\n try{\n sr=new StringTokenizer(br.readLine());\n }catch(IOException e){\n e.printStackTrace();\n }\n }\n return sr.nextToken();\n }",
"next",
"{\n while(!sr.hasMoreTokens()){\n try{\n sr=new StringTokenizer(br.readLine());\n }catch(IOException e){\n e.printStackTrace();\n }\n }\n return sr.nextToken();\n }",
"while(!sr.hasMoreTokens()){\n try{\n sr=new StringTokenizer(br.readLine());\n }catch(IOException e){\n e.printStackTrace();\n }\n }",
"!sr.hasMoreTokens()",
"sr.hasMoreTokens()",
"sr.hasMoreTokens",
"sr",
"{\n try{\n sr=new StringTokenizer(br.readLine());\n }catch(IOException e){\n e.printStackTrace();\n }\n }",
"try{\n sr=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 sr=new StringTokenizer(br.readLine());\n }",
"sr=new StringTokenizer(br.readLine())",
"sr",
"new StringTokenizer(br.readLine())",
"return sr.nextToken();",
"sr.nextToken()",
"sr.nextToken",
"sr",
"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",
"int[] readArray(int n){\n int a[]=new int[n];\n for(int i=0;i<n;i++)\n a[i]=nextInt();\n return a;\n }",
"readArray",
"{\n int a[]=new int[n];\n for(int i=0;i<n;i++)\n a[i]=nextInt();\n return a;\n }",
"int a[]=new int[n];",
"a",
"new int[n]",
"n",
"for(int i=0;i<n;i++)\n a[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextInt();",
"a[i]=nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"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",
"public class Main{\n public static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n int a[]=in.readArray(5);\n int c=0;\n for(int i=0;i<5;i++)\n if(a[i]==0)\n c=i;\n \n out.println(c+1);\n out.close();\n }\n // solution ends here\n static class FastScanner{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer sr = new StringTokenizer(\"\");\n String next(){\n while(!sr.hasMoreTokens()){\n try{\n sr=new StringTokenizer(br.readLine());\n }catch(IOException e){\n e.printStackTrace();\n }\n }\n return sr.nextToken();\n }\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int a[]=new int[n];\n for(int i=0;i<n;i++)\n a[i]=nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n double nextDouble(){\n return Double.parseDouble(next());\n }\n }\n\n}",
"public class Main{\n public static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n int a[]=in.readArray(5);\n int c=0;\n for(int i=0;i<5;i++)\n if(a[i]==0)\n c=i;\n \n out.println(c+1);\n out.close();\n }\n // solution ends here\n static class FastScanner{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer sr = new StringTokenizer(\"\");\n String next(){\n while(!sr.hasMoreTokens()){\n try{\n sr=new StringTokenizer(br.readLine());\n }catch(IOException e){\n e.printStackTrace();\n }\n }\n return sr.nextToken();\n }\n int nextInt(){\n return Integer.parseInt(next());\n }\n int[] readArray(int n){\n int a[]=new int[n];\n for(int i=0;i<n;i++)\n a[i]=nextInt();\n return a;\n }\n long nextLong(){\n return Long.parseLong(next());\n }\n double nextDouble(){\n return Double.parseDouble(next());\n }\n }\n\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.StringTokenizer;
import java.util.Arrays;
// Solution Starts here
public class Main{
public static void main(String[] args) {
FastScanner in = new FastScanner();
PrintWriter out = new PrintWriter(System.out);
int a[]=in.readArray(5);
int c=0;
for(int i=0;i<5;i++)
if(a[i]==0)
c=i;
out.println(c+1);
out.close();
}
// solution ends here
static class FastScanner{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer sr = new StringTokenizer("");
String next(){
while(!sr.hasMoreTokens()){
try{
sr=new StringTokenizer(br.readLine());
}catch(IOException e){
e.printStackTrace();
}
}
return sr.nextToken();
}
int nextInt(){
return Integer.parseInt(next());
}
int[] readArray(int n){
int a[]=new int[n];
for(int i=0;i<n;i++)
a[i]=nextInt();
return a;
}
long nextLong(){
return Long.parseLong(next());
}
double nextDouble(){
return Double.parseDouble(next());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
91,
5
],
[
91,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
37,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
48,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
59,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
70,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
6,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int X1 = sc.nextInt();\n int X2 = sc.nextInt();\n int X3 = sc.nextInt();\n int X4 = sc.nextInt();\n int X5 = sc.nextInt();\n \n if(X1==0){\n\tSystem.out.println(\"1\");\n }else if(X2==0){\n\tSystem.out.println(\"2\"); \n }else if(X3==0){\n\tSystem.out.println(\"3\");\n }else if(X4==0){\n\tSystem.out.println(\"4\");\n }else{ \n\tSystem.out.println(\"5\");\n\t}\n}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int X1 = sc.nextInt();\n int X2 = sc.nextInt();\n int X3 = sc.nextInt();\n int X4 = sc.nextInt();\n int X5 = sc.nextInt();\n \n if(X1==0){\n\tSystem.out.println(\"1\");\n }else if(X2==0){\n\tSystem.out.println(\"2\"); \n }else if(X3==0){\n\tSystem.out.println(\"3\");\n }else if(X4==0){\n\tSystem.out.println(\"4\");\n }else{ \n\tSystem.out.println(\"5\");\n\t}\n}\n}",
"Main",
"public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int X1 = sc.nextInt();\n int X2 = sc.nextInt();\n int X3 = sc.nextInt();\n int X4 = sc.nextInt();\n int X5 = sc.nextInt();\n \n if(X1==0){\n\tSystem.out.println(\"1\");\n }else if(X2==0){\n\tSystem.out.println(\"2\"); \n }else if(X3==0){\n\tSystem.out.println(\"3\");\n }else if(X4==0){\n\tSystem.out.println(\"4\");\n }else{ \n\tSystem.out.println(\"5\");\n\t}\n}",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n int X1 = sc.nextInt();\n int X2 = sc.nextInt();\n int X3 = sc.nextInt();\n int X4 = sc.nextInt();\n int X5 = sc.nextInt();\n \n if(X1==0){\n\tSystem.out.println(\"1\");\n }else if(X2==0){\n\tSystem.out.println(\"2\"); \n }else if(X3==0){\n\tSystem.out.println(\"3\");\n }else if(X4==0){\n\tSystem.out.println(\"4\");\n }else{ \n\tSystem.out.println(\"5\");\n\t}\n}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int X1 = sc.nextInt();",
"X1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int X2 = sc.nextInt();",
"X2",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int X3 = sc.nextInt();",
"X3",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int X4 = sc.nextInt();",
"X4",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int X5 = sc.nextInt();",
"X5",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(X1==0){\n\tSystem.out.println(\"1\");\n }else if(X2==0){\n\tSystem.out.println(\"2\"); \n }else if(X3==0){\n\tSystem.out.println(\"3\");\n }else if(X4==0){\n\tSystem.out.println(\"4\");\n }else{ \n\tSystem.out.println(\"5\");\n\t}",
"X1==0",
"X1",
"0",
"{\n\tSystem.out.println(\"1\");\n }",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"if(X2==0){\n\tSystem.out.println(\"2\"); \n }else if(X3==0){\n\tSystem.out.println(\"3\");\n }else if(X4==0){\n\tSystem.out.println(\"4\");\n }else{ \n\tSystem.out.println(\"5\");\n\t}",
"X2==0",
"X2",
"0",
"{\n\tSystem.out.println(\"2\"); \n }",
"System.out.println(\"2\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"2\"",
"if(X3==0){\n\tSystem.out.println(\"3\");\n }else if(X4==0){\n\tSystem.out.println(\"4\");\n }else{ \n\tSystem.out.println(\"5\");\n\t}",
"X3==0",
"X3",
"0",
"{\n\tSystem.out.println(\"3\");\n }",
"System.out.println(\"3\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"3\"",
"if(X4==0){\n\tSystem.out.println(\"4\");\n }else{ \n\tSystem.out.println(\"5\");\n\t}",
"X4==0",
"X4",
"0",
"{\n\tSystem.out.println(\"4\");\n }",
"System.out.println(\"4\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"4\"",
"{ \n\tSystem.out.println(\"5\");\n\t}",
"System.out.println(\"5\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"5\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int X1 = sc.nextInt();\n int X2 = sc.nextInt();\n int X3 = sc.nextInt();\n int X4 = sc.nextInt();\n int X5 = sc.nextInt();\n \n if(X1==0){\n\tSystem.out.println(\"1\");\n }else if(X2==0){\n\tSystem.out.println(\"2\"); \n }else if(X3==0){\n\tSystem.out.println(\"3\");\n }else if(X4==0){\n\tSystem.out.println(\"4\");\n }else{ \n\tSystem.out.println(\"5\");\n\t}\n}\n}",
"public class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int X1 = sc.nextInt();\n int X2 = sc.nextInt();\n int X3 = sc.nextInt();\n int X4 = sc.nextInt();\n int X5 = sc.nextInt();\n \n if(X1==0){\n\tSystem.out.println(\"1\");\n }else if(X2==0){\n\tSystem.out.println(\"2\"); \n }else if(X3==0){\n\tSystem.out.println(\"3\");\n }else if(X4==0){\n\tSystem.out.println(\"4\");\n }else{ \n\tSystem.out.println(\"5\");\n\t}\n}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int X1 = sc.nextInt();
int X2 = sc.nextInt();
int X3 = sc.nextInt();
int X4 = sc.nextInt();
int X5 = sc.nextInt();
if(X1==0){
System.out.println("1");
}else if(X2==0){
System.out.println("2");
}else if(X3==0){
System.out.println("3");
}else if(X4==0){
System.out.println("4");
}else{
System.out.println("5");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
39,
17,
17,
17,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
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
],
[
125,
17
],
[
125,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
26,
29
],
[
26,
30
],
[
26,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
52,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
18,
67
],
[
67,
68
],
[
125,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
83,
85
],
[
77,
86
],
[
86,
87
],
[
69,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
91,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
101,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
90,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
69,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
122,
123
],
[
0,
124
],
[
124,
125
],
[
124,
126
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tint[] numbers = {0,0,0,0,0};\n\t\tfor (int i= 0; i < 5; i++) {\n\t\t\tnumbers[i] = sc.nextInt();\n\t\t\tif (numbers[i]==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t}\n\t\t}\n\t}\n\t\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tint[] numbers = {0,0,0,0,0};\n\t\tfor (int i= 0; i < 5; i++) {\n\t\t\tnumbers[i] = sc.nextInt();\n\t\t\tif (numbers[i]==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t}\n\t\t}\n\t}\n\t\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tint[] numbers = {0,0,0,0,0};\n\t\tfor (int i= 0; i < 5; i++) {\n\t\t\tnumbers[i] = sc.nextInt();\n\t\t\tif (numbers[i]==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tint[] numbers = {0,0,0,0,0};\n\t\tfor (int i= 0; i < 5; i++) {\n\t\t\tnumbers[i] = sc.nextInt();\n\t\t\tif (numbers[i]==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t}\n\t\t}\n\t}",
"FastScanner sc = new FastScanner(System.in);",
"sc",
"new FastScanner(System.in)",
"int[] numbers = {0,0,0,0,0};",
"numbers",
"{0,0,0,0,0}",
"0",
"0",
"0",
"0",
"0",
"for (int i= 0; i < 5; i++) {\n\t\t\tnumbers[i] = sc.nextInt();\n\t\t\tif (numbers[i]==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t}\n\t\t}",
"int i= 0;",
"int i= 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tnumbers[i] = sc.nextInt();\n\t\t\tif (numbers[i]==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t}\n\t\t}",
"{\n\t\t\tnumbers[i] = sc.nextInt();\n\t\t\tif (numbers[i]==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t}\n\t\t}",
"numbers[i] = sc.nextInt()",
"numbers[i]",
"numbers",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (numbers[i]==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t}",
"numbers[i]==0",
"numbers[i]",
"numbers",
"i",
"0",
"{\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t}",
"System.out.println(i+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"String[] args",
"args",
"private static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}",
"FastScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}",
"FastScanner",
"{\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"tokenizer = null",
"tokenizer",
"null",
"InputStream in",
"in",
"public String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}",
"next",
"{\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}",
"try {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t}",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tint[] numbers = {0,0,0,0,0};\n\t\tfor (int i= 0; i < 5; i++) {\n\t\t\tnumbers[i] = sc.nextInt();\n\t\t\tif (numbers[i]==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t}\n\t\t}\n\t}\n\t\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tint[] numbers = {0,0,0,0,0};\n\t\tfor (int i= 0; i < 5; i++) {\n\t\t\tnumbers[i] = sc.nextInt();\n\t\t\tif (numbers[i]==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t}\n\t\t}\n\t}\n\t\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main{
public static void main(String[] args) {
FastScanner sc = new FastScanner(System.in);
int[] numbers = {0,0,0,0,0};
for (int i= 0; i < 5; i++) {
numbers[i] = sc.nextInt();
if (numbers[i]==0) {
System.out.println(i+1);
}
}
}
private static class FastScanner {
private BufferedReader reader = null;
private StringTokenizer tokenizer = null;
public FastScanner(InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
tokenizer = null;
}
public String next() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public int nextInt() {
return Integer.parseInt(next());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
39,
17,
17,
17,
17,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
70,
5
],
[
70,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
14,
17
],
[
14,
18
],
[
14,
19
],
[
14,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
41,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
54,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
]
| [
"import java.util.Scanner;\n \npublic class Main {\n \n\tpublic static void main(String[] args) {\n \n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint [] x= {0,1,2,3,4,5};\n\t\t\n\t\tfor(int i=1; i<=5; i++) {\n\t\t\tx[i]=sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i=1; i<=5; i++) {\n\t\t\tif(x[i]==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}\n\t\t\n \n\t}\n \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \n\tpublic static void main(String[] args) {\n \n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint [] x= {0,1,2,3,4,5};\n\t\t\n\t\tfor(int i=1; i<=5; i++) {\n\t\t\tx[i]=sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i=1; i<=5; i++) {\n\t\t\tif(x[i]==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}\n\t\t\n \n\t}\n \n}",
"Main",
"public static void main(String[] args) {\n \n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint [] x= {0,1,2,3,4,5};\n\t\t\n\t\tfor(int i=1; i<=5; i++) {\n\t\t\tx[i]=sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i=1; i<=5; i++) {\n\t\t\tif(x[i]==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}\n\t\t\n \n\t}",
"main",
"{\n \n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint [] x= {0,1,2,3,4,5};\n\t\t\n\t\tfor(int i=1; i<=5; i++) {\n\t\t\tx[i]=sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i=1; i<=5; i++) {\n\t\t\tif(x[i]==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}\n\t\t\n \n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int [] x= {0,1,2,3,4,5};",
"x",
"{0,1,2,3,4,5}",
"0",
"1",
"2",
"3",
"4",
"5",
"for(int i=1; i<=5; i++) {\n\t\t\tx[i]=sc.nextInt();\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tx[i]=sc.nextInt();\n\t\t}",
"{\n\t\t\tx[i]=sc.nextInt();\n\t\t}",
"x[i]=sc.nextInt()",
"x[i]",
"x",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i=1; i<=5; i++) {\n\t\t\tif(x[i]==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tif(x[i]==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(x[i]==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}",
"if(x[i]==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}",
"x[i]==0",
"x[i]",
"x",
"i",
"0",
"{\n\t\t\t\tSystem.out.println(i);\n\t\t\t}",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"public class Main {\n \n\tpublic static void main(String[] args) {\n \n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint [] x= {0,1,2,3,4,5};\n\t\t\n\t\tfor(int i=1; i<=5; i++) {\n\t\t\tx[i]=sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i=1; i<=5; i++) {\n\t\t\tif(x[i]==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}\n\t\t\n \n\t}\n \n}",
"public class Main {\n \n\tpublic static void main(String[] args) {\n \n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint [] x= {0,1,2,3,4,5};\n\t\t\n\t\tfor(int i=1; i<=5; i++) {\n\t\t\tx[i]=sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i=1; i<=5; i++) {\n\t\t\tif(x[i]==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}\n\t\t\n \n\t}\n \n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int [] x= {0,1,2,3,4,5};
for(int i=1; i<=5; i++) {
x[i]=sc.nextInt();
}
for(int i=1; i<=5; i++) {
if(x[i]==0) {
System.out.println(i);
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
17,
0,
13,
13,
4,
18,
18,
13,
13,
40,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
29,
33
],
[
28,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int idx = 0;\n for(int i=0;i<5;i++){\n if(sc.nextInt()==0)\n idx = i;\n }\n System.out.println(++idx);\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int idx = 0;\n for(int i=0;i<5;i++){\n if(sc.nextInt()==0)\n idx = i;\n }\n System.out.println(++idx);\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int idx = 0;\n for(int i=0;i<5;i++){\n if(sc.nextInt()==0)\n idx = i;\n }\n System.out.println(++idx);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int idx = 0;\n for(int i=0;i<5;i++){\n if(sc.nextInt()==0)\n idx = i;\n }\n System.out.println(++idx);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int idx = 0;",
"idx",
"0",
"for(int i=0;i<5;i++){\n if(sc.nextInt()==0)\n idx = i;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if(sc.nextInt()==0)\n idx = i;\n }",
"{\n if(sc.nextInt()==0)\n idx = i;\n }",
"if(sc.nextInt()==0)\n idx = i;",
"sc.nextInt()==0",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"idx = i",
"idx",
"i",
"System.out.println(++idx)",
"System.out.println",
"System.out",
"System",
"System.out",
"++idx",
"idx",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int idx = 0;\n for(int i=0;i<5;i++){\n if(sc.nextInt()==0)\n idx = i;\n }\n System.out.println(++idx);\n }\n\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int idx = 0;\n for(int i=0;i<5;i++){\n if(sc.nextInt()==0)\n idx = i;\n }\n System.out.println(++idx);\n }\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int idx = 0;
for(int i=0;i<5;i++){
if(sc.nextInt()==0)
idx = i;
}
System.out.println(++idx);
}
}
|
[
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,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
4,
18,
13,
2,
2,
13,
17,
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
],
[
77,
14
],
[
77,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
28
],
[
28,
29
],
[
28,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
54,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
64,
64
],
[
64,
65
],
[
64,
66
],
[
64,
67
],
[
17,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
15,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint[] x = new int[5];\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(int i=0; i<5; i++) {\n\t\t\tx[i] = Integer.parseInt(st.nextToken());\n\t\t\t\n\t\t\tif(x[i] == 0)\n\t\t\t\tsb.append(i+1 + \"\\n\");\n\t\t}\n\t\t\n\t\tSystem.out.println(sb);\n\t\t\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint[] x = new int[5];\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(int i=0; i<5; i++) {\n\t\t\tx[i] = Integer.parseInt(st.nextToken());\n\t\t\t\n\t\t\tif(x[i] == 0)\n\t\t\t\tsb.append(i+1 + \"\\n\");\n\t\t}\n\t\t\n\t\tSystem.out.println(sb);\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint[] x = new int[5];\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(int i=0; i<5; i++) {\n\t\t\tx[i] = Integer.parseInt(st.nextToken());\n\t\t\t\n\t\t\tif(x[i] == 0)\n\t\t\t\tsb.append(i+1 + \"\\n\");\n\t\t}\n\t\t\n\t\tSystem.out.println(sb);\n\t\t\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint[] x = new int[5];\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(int i=0; i<5; i++) {\n\t\t\tx[i] = Integer.parseInt(st.nextToken());\n\t\t\t\n\t\t\tif(x[i] == 0)\n\t\t\t\tsb.append(i+1 + \"\\n\");\n\t\t}\n\t\t\n\t\tSystem.out.println(sb);\n\t\t\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st = new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"int[] x = new int[5];",
"x",
"new int[5]",
"5",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for(int i=0; i<5; i++) {\n\t\t\tx[i] = Integer.parseInt(st.nextToken());\n\t\t\t\n\t\t\tif(x[i] == 0)\n\t\t\t\tsb.append(i+1 + \"\\n\");\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tx[i] = Integer.parseInt(st.nextToken());\n\t\t\t\n\t\t\tif(x[i] == 0)\n\t\t\t\tsb.append(i+1 + \"\\n\");\n\t\t}",
"{\n\t\t\tx[i] = Integer.parseInt(st.nextToken());\n\t\t\t\n\t\t\tif(x[i] == 0)\n\t\t\t\tsb.append(i+1 + \"\\n\");\n\t\t}",
"x[i] = Integer.parseInt(st.nextToken())",
"x[i]",
"x",
"i",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"if(x[i] == 0)\n\t\t\t\tsb.append(i+1 + \"\\n\");",
"x[i] == 0",
"x[i]",
"x",
"i",
"0",
"sb.append(i+1 + \"\\n\")",
"sb.append",
"sb",
"i+1 + \"\\n\"",
"i+1 + \"\\n\"",
"i",
"1",
"\"\\n\"",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint[] x = new int[5];\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(int i=0; i<5; i++) {\n\t\t\tx[i] = Integer.parseInt(st.nextToken());\n\t\t\t\n\t\t\tif(x[i] == 0)\n\t\t\t\tsb.append(i+1 + \"\\n\");\n\t\t}\n\t\t\n\t\tSystem.out.println(sb);\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint[] x = new int[5];\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(int i=0; i<5; i++) {\n\t\t\tx[i] = Integer.parseInt(st.nextToken());\n\t\t\t\n\t\t\tif(x[i] == 0)\n\t\t\t\tsb.append(i+1 + \"\\n\");\n\t\t}\n\t\t\n\t\tSystem.out.println(sb);\n\t\t\n\t}\n\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(br.readLine());
int[] x = new int[5];
StringBuilder sb = new StringBuilder();
for(int i=0; i<5; i++) {
x[i] = Integer.parseInt(st.nextToken());
if(x[i] == 0)
sb.append(i+1 + "\n");
}
System.out.println(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
0,
13,
13,
4,
18,
18,
13,
13,
2,
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
],
[
162,
17
],
[
162,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
20,
31
],
[
31,
32
],
[
31,
33
],
[
20,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
54,
60
],
[
60,
61
],
[
60,
62
],
[
20,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
18,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
73,
77
],
[
77,
78
],
[
73,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
73,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
88,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
98,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
87,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
73,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
120,
121
],
[
73,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
129,
130
],
[
73,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
135,
138
],
[
138,
139
],
[
73,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
142,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
146,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
142,
159
],
[
159,
160
],
[
0,
161
],
[
161,
162
],
[
161,
163
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.*;\npublic class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tint arr[] = new int[5];\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tarr[i] = sc.nextInt();\n\t\t\tif (arr[i] == 0)\n\t\t\t\tans = i;\n\t\t}\n\t\tSystem.out.println(ans + 1);\n\n\t}\n}\n\n\n\n\n\nclass FastReader {\n\tBufferedReader br;\n\tStringTokenizer st;\n\n\tpublic FastReader() {\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}\n\n\tString next() {\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\n\tint nextInt() {\n\t\treturn Integer.parseInt(next());\n\t}\n\n\tlong nextLong() {\n\t\treturn Long.parseLong(next());\n\t}\n\n\tdouble nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}\n\n\tString nextLine() {\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tint arr[] = new int[5];\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tarr[i] = sc.nextInt();\n\t\t\tif (arr[i] == 0)\n\t\t\t\tans = i;\n\t\t}\n\t\tSystem.out.println(ans + 1);\n\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tint arr[] = new int[5];\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tarr[i] = sc.nextInt();\n\t\t\tif (arr[i] == 0)\n\t\t\t\tans = i;\n\t\t}\n\t\tSystem.out.println(ans + 1);\n\n\t}",
"main",
"{\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tint arr[] = new int[5];\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tarr[i] = sc.nextInt();\n\t\t\tif (arr[i] == 0)\n\t\t\t\tans = i;\n\t\t}\n\t\tSystem.out.println(ans + 1);\n\n\t}",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"int arr[] = new int[5];",
"arr",
"new int[5]",
"5",
"int ans = 0;",
"ans",
"0",
"for (int i = 0; i < 5; i++) {\n\t\t\tarr[i] = sc.nextInt();\n\t\t\tif (arr[i] == 0)\n\t\t\t\tans = i;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tarr[i] = sc.nextInt();\n\t\t\tif (arr[i] == 0)\n\t\t\t\tans = i;\n\t\t}",
"{\n\t\t\tarr[i] = sc.nextInt();\n\t\t\tif (arr[i] == 0)\n\t\t\t\tans = i;\n\t\t}",
"arr[i] = sc.nextInt()",
"arr[i]",
"arr",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (arr[i] == 0)\n\t\t\t\tans = i;",
"arr[i] == 0",
"arr[i]",
"arr",
"i",
"0",
"ans = i",
"ans",
"i",
"System.out.println(ans + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans + 1",
"ans",
"1",
"String[] args",
"args",
"class FastReader {\n\tBufferedReader br;\n\tStringTokenizer st;\n\n\tpublic FastReader() {\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}\n\n\tString next() {\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\n\tint nextInt() {\n\t\treturn Integer.parseInt(next());\n\t}\n\n\tlong nextLong() {\n\t\treturn Long.parseLong(next());\n\t}\n\n\tdouble nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}\n\n\tString nextLine() {\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\n\t}\n}",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}",
"FastReader",
"{\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}",
"br = new BufferedReader(new\n\t\t InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n\t\t InputStreamReader(System.in))",
"String next() {\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}",
"next",
"{\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}",
"while (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"try {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"IOException e",
"{\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t}",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n\t\treturn Integer.parseInt(next());\n\t}",
"nextInt",
"{\n\t\treturn Integer.parseInt(next());\n\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n\t\treturn Long.parseLong(next());\n\t}",
"nextLong",
"{\n\t\treturn Long.parseLong(next());\n\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}",
"nextDouble",
"{\n\t\treturn Double.parseDouble(next());\n\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() {\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\n\t}",
"nextLine",
"{\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\n\t}",
"String str = \"\";",
"str",
"\"\"",
"try {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tstr = br.readLine();\n\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tint arr[] = new int[5];\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tarr[i] = sc.nextInt();\n\t\t\tif (arr[i] == 0)\n\t\t\t\tans = i;\n\t\t}\n\t\tSystem.out.println(ans + 1);\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tint arr[] = new int[5];\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tarr[i] = sc.nextInt();\n\t\t\tif (arr[i] == 0)\n\t\t\t\tans = i;\n\t\t}\n\t\tSystem.out.println(ans + 1);\n\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.*;
public class Main {
public static void main(String[] args)throws IOException {
FastReader sc = new FastReader();
PrintWriter pw = new PrintWriter(System.out);
int arr[] = new int[5];
int ans = 0;
for (int i = 0; i < 5; i++) {
arr[i] = sc.nextInt();
if (arr[i] == 0)
ans = i;
}
System.out.println(ans + 1);
}
}
class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
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,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
94,
5
],
[
94,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
8,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
8,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
8,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
8,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
82,
84
],
[
8,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
6,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner scan = new Scanner(System.in);\n int x1,x2,x3,x4,x5,ans=0;\n x1=scan.nextInt();\n x2=scan.nextInt();\n x3=scan.nextInt();\n x4=scan.nextInt();\n x5=scan.nextInt();\n if(x1==0) ans=1;\n if(x2==0) ans=2;\n if(x3==0) ans=3;\n if(x4==0) ans=4;\n if(x5==0) ans=5;\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner scan = new Scanner(System.in);\n int x1,x2,x3,x4,x5,ans=0;\n x1=scan.nextInt();\n x2=scan.nextInt();\n x3=scan.nextInt();\n x4=scan.nextInt();\n x5=scan.nextInt();\n if(x1==0) ans=1;\n if(x2==0) ans=2;\n if(x3==0) ans=3;\n if(x4==0) ans=4;\n if(x5==0) ans=5;\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner scan = new Scanner(System.in);\n int x1,x2,x3,x4,x5,ans=0;\n x1=scan.nextInt();\n x2=scan.nextInt();\n x3=scan.nextInt();\n x4=scan.nextInt();\n x5=scan.nextInt();\n if(x1==0) ans=1;\n if(x2==0) ans=2;\n if(x3==0) ans=3;\n if(x4==0) ans=4;\n if(x5==0) ans=5;\n System.out.println(ans);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int x1,x2,x3,x4,x5,ans=0;\n x1=scan.nextInt();\n x2=scan.nextInt();\n x3=scan.nextInt();\n x4=scan.nextInt();\n x5=scan.nextInt();\n if(x1==0) ans=1;\n if(x2==0) ans=2;\n if(x3==0) ans=3;\n if(x4==0) ans=4;\n if(x5==0) ans=5;\n System.out.println(ans);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int x1",
"x1",
"x2",
"x2",
"x3",
"x3",
"x4",
"x4",
"x5",
"x5",
"ans=0;",
"ans",
"0",
"x1=scan.nextInt()",
"x1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"x2=scan.nextInt()",
"x2",
"scan.nextInt()",
"scan.nextInt",
"scan",
"x3=scan.nextInt()",
"x3",
"scan.nextInt()",
"scan.nextInt",
"scan",
"x4=scan.nextInt()",
"x4",
"scan.nextInt()",
"scan.nextInt",
"scan",
"x5=scan.nextInt()",
"x5",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(x1==0) ans=1;",
"x1==0",
"x1",
"0",
"ans=1",
"ans",
"1",
"if(x2==0) ans=2;",
"x2==0",
"x2",
"0",
"ans=2",
"ans",
"2",
"if(x3==0) ans=3;",
"x3==0",
"x3",
"0",
"ans=3",
"ans",
"3",
"if(x4==0) ans=4;",
"x4==0",
"x4",
"0",
"ans=4",
"ans",
"4",
"if(x5==0) ans=5;",
"x5==0",
"x5",
"0",
"ans=5",
"ans",
"5",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner scan = new Scanner(System.in);\n int x1,x2,x3,x4,x5,ans=0;\n x1=scan.nextInt();\n x2=scan.nextInt();\n x3=scan.nextInt();\n x4=scan.nextInt();\n x5=scan.nextInt();\n if(x1==0) ans=1;\n if(x2==0) ans=2;\n if(x3==0) ans=3;\n if(x4==0) ans=4;\n if(x5==0) ans=5;\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner scan = new Scanner(System.in);\n int x1,x2,x3,x4,x5,ans=0;\n x1=scan.nextInt();\n x2=scan.nextInt();\n x3=scan.nextInt();\n x4=scan.nextInt();\n x5=scan.nextInt();\n if(x1==0) ans=1;\n if(x2==0) ans=2;\n if(x3==0) ans=3;\n if(x4==0) ans=4;\n if(x5==0) ans=5;\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner scan = new Scanner(System.in);
int x1,x2,x3,x4,x5,ans=0;
x1=scan.nextInt();
x2=scan.nextInt();
x3=scan.nextInt();
x4=scan.nextInt();
x5=scan.nextInt();
if(x1==0) ans=1;
if(x2==0) ans=2;
if(x3==0) ans=3;
if(x4==0) ans=4;
if(x5==0) ans=5;
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
13,
3,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
40,
17,
41,
13,
18,
13,
13,
41,
13,
42,
2,
2,
13,
13,
17,
30,
0,
13,
2,
2,
13,
13,
17,
14,
2,
18,
13,
13,
13,
30,
0,
13,
13,
30,
0,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
40,
17,
41,
13,
4,
18,
13,
41,
13,
42,
2,
2,
13,
13,
17,
30,
0,
13,
2,
2,
13,
13,
17,
14,
2,
4,
18,
13,
13,
13,
30,
0,
13,
13,
30,
0,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
189,
11
],
[
189,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
27,
28
],
[
21,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
14,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
12,
51
],
[
51,
52
],
[
189,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
55,
65
],
[
65,
66
],
[
55,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
67,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
73,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
81,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
81,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
55,
95
],
[
95,
96
],
[
53,
97
],
[
97,
98
],
[
53,
99
],
[
99,
100
],
[
189,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
103,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
103,
113
],
[
113,
114
],
[
103,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
115,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
121,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
130,
135
],
[
129,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
129,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
103,
144
],
[
144,
145
],
[
101,
146
],
[
146,
147
],
[
101,
148
],
[
148,
149
],
[
189,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
158
],
[
154,
159
],
[
159,
160
],
[
159,
161
],
[
159,
162
],
[
162,
163
],
[
162,
164
],
[
150,
165
],
[
165,
166
],
[
150,
167
],
[
167,
168
],
[
189,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
173,
177
],
[
173,
178
],
[
178,
179
],
[
178,
180
],
[
178,
181
],
[
181,
182
],
[
181,
183
],
[
169,
184
],
[
184,
185
],
[
169,
186
],
[
186,
187
],
[
0,
188
],
[
188,
189
],
[
188,
190
]
]
| [
"import java.io.IOException;\nimport java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n//\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString W\t = in.readLine();\n//\t\tint num = Integer.parseInt(W.split(\" \")[0]);\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint ans = 0;\n\t\tfor(int i=1;;i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\n\n\n\t\tSystem.out.println(ans);\n\n\t}\n\n\t//\t//二分探索\n\t//k <= num となる最小の配列要素kのインデックスを返す\n\tstatic private int binarySearch(long num, long[] orderedArray){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedArray.length;\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//二分探索\n\t//k <= num となる最小のList要素kのインデックスを返す\n\tstatic private int binarySearch(long num, ArrayList<Long> orderedList){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedList.size();\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//aとbの最小公倍数を求める\n\tpublic static int gcd(int a, int b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\tpublic static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\n\n\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n//\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString W\t = in.readLine();\n//\t\tint num = Integer.parseInt(W.split(\" \")[0]);\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint ans = 0;\n\t\tfor(int i=1;;i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\n\n\n\t\tSystem.out.println(ans);\n\n\t}\n\n\t//\t//二分探索\n\t//k <= num となる最小の配列要素kのインデックスを返す\n\tstatic private int binarySearch(long num, long[] orderedArray){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedArray.length;\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//二分探索\n\t//k <= num となる最小のList要素kのインデックスを返す\n\tstatic private int binarySearch(long num, ArrayList<Long> orderedList){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedList.size();\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//aとbの最小公倍数を求める\n\tpublic static int gcd(int a, int b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\tpublic static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\n\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n//\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString W\t = in.readLine();\n//\t\tint num = Integer.parseInt(W.split(\" \")[0]);\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint ans = 0;\n\t\tfor(int i=1;;i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\n\n\n\t\tSystem.out.println(ans);\n\n\t}",
"main",
"{\n//\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString W\t = in.readLine();\n//\t\tint num = Integer.parseInt(W.split(\" \")[0]);\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint ans = 0;\n\t\tfor(int i=1;;i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\n\n\n\t\tSystem.out.println(ans);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int ans = 0;",
"ans",
"0",
"for(int i=1;;i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tint x = sc.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tint x = sc.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}",
"x == 0",
"x",
"0",
"{\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}",
"ans = i",
"ans",
"i",
"break;",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"//\t//二分探索\n\t//k <= num となる最小の配列要素kのインデックスを返す\n\tstatic private int binarySearch(long num, long[] orderedArray){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedArray.length;\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}",
"binarySearch",
"{\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedArray.length;\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}",
"int lowerBorder = -1;",
"lowerBorder",
"-1",
"1",
"int upperBorder = orderedArray.length;",
"upperBorder",
"orderedArray.length",
"orderedArray",
"orderedArray.length",
"int mid;",
"mid",
"while(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}",
"upperBorder - lowerBorder >1",
"upperBorder - lowerBorder",
"upperBorder",
"lowerBorder",
"1",
"{\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}",
"mid = (upperBorder + lowerBorder)/2",
"mid",
"(upperBorder + lowerBorder)/2",
"(upperBorder + lowerBorder)",
"upperBorder",
"lowerBorder",
"2",
"if(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}",
"orderedArray[mid]<=num",
"orderedArray[mid]",
"orderedArray",
"mid",
"num",
"{\n\t\t\t\tlowerBorder = mid;\n\t\t\t}",
"lowerBorder = mid",
"lowerBorder",
"mid",
"{\n\t\t\t\tupperBorder = mid;\n\t\t\t}",
"upperBorder = mid",
"upperBorder",
"mid",
"return lowerBorder;",
"lowerBorder",
"long num",
"num",
"long[] orderedArray",
"orderedArray",
"//二分探索\n\t//k <= num となる最小のList要素kのインデックスを返す\n\tstatic private int binarySearch(long num, ArrayList<Long> orderedList){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedList.size();\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}",
"binarySearch",
"{\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedList.size();\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}",
"int lowerBorder = -1;",
"lowerBorder",
"-1",
"1",
"int upperBorder = orderedList.size();",
"upperBorder",
"orderedList.size()",
"orderedList.size",
"orderedList",
"int mid;",
"mid",
"while(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}",
"upperBorder - lowerBorder >1",
"upperBorder - lowerBorder",
"upperBorder",
"lowerBorder",
"1",
"{\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}",
"mid = (upperBorder + lowerBorder)/2",
"mid",
"(upperBorder + lowerBorder)/2",
"(upperBorder + lowerBorder)",
"upperBorder",
"lowerBorder",
"2",
"if(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}",
"orderedList.get(mid)<=num",
"orderedList.get(mid)",
"orderedList.get",
"orderedList",
"mid",
"num",
"{\n\t\t\t\tlowerBorder = mid;\n\t\t\t}",
"lowerBorder = mid",
"lowerBorder",
"mid",
"{\n\t\t\t\tupperBorder = mid;\n\t\t\t}",
"upperBorder = mid",
"upperBorder",
"mid",
"return lowerBorder;",
"lowerBorder",
"long num",
"num",
"ArrayList<Long> orderedList",
"orderedList",
"//aとbの最小公倍数を求める\n\tpublic static int gcd(int a, int b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}",
"gcd",
"{\n return b == 0 ? a: gcd(b, a % b);\n\t}",
"return b == 0 ? a: gcd(b, a % b);",
"b == 0 ? a: gcd(b, a % b)",
"b == 0",
"b",
"0",
"a",
"gcd(b, a % b)",
"gcd",
"b",
"a % b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"public static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}",
"gcd",
"{\n return b == 0 ? a: gcd(b, a % b);\n\t}",
"return b == 0 ? a: gcd(b, a % b);",
"b == 0 ? a: gcd(b, a % b)",
"b == 0",
"b",
"0",
"a",
"gcd(b, a % b)",
"gcd",
"b",
"a % b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n//\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString W\t = in.readLine();\n//\t\tint num = Integer.parseInt(W.split(\" \")[0]);\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint ans = 0;\n\t\tfor(int i=1;;i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\n\n\n\t\tSystem.out.println(ans);\n\n\t}\n\n\t//\t//二分探索\n\t//k <= num となる最小の配列要素kのインデックスを返す\n\tstatic private int binarySearch(long num, long[] orderedArray){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedArray.length;\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//二分探索\n\t//k <= num となる最小のList要素kのインデックスを返す\n\tstatic private int binarySearch(long num, ArrayList<Long> orderedList){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedList.size();\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//aとbの最小公倍数を求める\n\tpublic static int gcd(int a, int b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\tpublic static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\n\n\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n//\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n//\t\tString W\t = in.readLine();\n//\t\tint num = Integer.parseInt(W.split(\" \")[0]);\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint ans = 0;\n\t\tfor(int i=1;;i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\n\n\n\t\tSystem.out.println(ans);\n\n\t}\n\n\t//\t//二分探索\n\t//k <= num となる最小の配列要素kのインデックスを返す\n\tstatic private int binarySearch(long num, long[] orderedArray){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedArray.length;\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedArray[mid]<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//二分探索\n\t//k <= num となる最小のList要素kのインデックスを返す\n\tstatic private int binarySearch(long num, ArrayList<Long> orderedList){\n\t\tint lowerBorder = -1;\n\t\tint upperBorder = orderedList.size();\n\t\tint mid;\n\n\t\twhile(upperBorder - lowerBorder >1) {\n\t\t\tmid = (upperBorder + lowerBorder)/2;\n\t\t\tif(orderedList.get(mid)<=num) {\n\t\t\t\tlowerBorder = mid;\n\t\t\t}else {\n\t\t\t\tupperBorder = mid;\n\t\t\t}\n\t\t}\n\t\treturn lowerBorder;\n\t}\n\n\t//aとbの最小公倍数を求める\n\tpublic static int gcd(int a, int b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\tpublic static long gcd(long a, long b) {\n return b == 0 ? a: gcd(b, a % b);\n\t}\n\n\n\n}",
"Main"
]
| import java.io.IOException;
import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
// BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
// String W = in.readLine();
// int num = Integer.parseInt(W.split(" ")[0]);
Scanner sc = new Scanner(System.in);
int ans = 0;
for(int i=1;;i++) {
int x = sc.nextInt();
if(x == 0) {
ans = i;
break;
}
}
System.out.println(ans);
}
// //二分探索
//k <= num となる最小の配列要素kのインデックスを返す
static private int binarySearch(long num, long[] orderedArray){
int lowerBorder = -1;
int upperBorder = orderedArray.length;
int mid;
while(upperBorder - lowerBorder >1) {
mid = (upperBorder + lowerBorder)/2;
if(orderedArray[mid]<=num) {
lowerBorder = mid;
}else {
upperBorder = mid;
}
}
return lowerBorder;
}
//二分探索
//k <= num となる最小のList要素kのインデックスを返す
static private int binarySearch(long num, ArrayList<Long> orderedList){
int lowerBorder = -1;
int upperBorder = orderedList.size();
int mid;
while(upperBorder - lowerBorder >1) {
mid = (upperBorder + lowerBorder)/2;
if(orderedList.get(mid)<=num) {
lowerBorder = mid;
}else {
upperBorder = mid;
}
}
return lowerBorder;
}
//aとbの最小公倍数を求める
public static int gcd(int a, int b) {
return b == 0 ? a: gcd(b, a % b);
}
public static long gcd(long a, long b) {
return b == 0 ? a: gcd(b, a % b);
}
}
|
[
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,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
13,
3,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
68,
8
],
[
68,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
51,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
57,
64
],
[
9,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
]
| [
"import java.math.BigInteger;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\t\tScanner cin=new Scanner(System.in);\n\t\t\tint q[]=new int[100];\n\t\t\tfor(int i=1;i<=5;++i)q[i]=cin.nextInt();\n\t\t\tfor(int i=1;i<=5;++i) {\n\t\t\t\tif(q[i]==0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t}\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\t\tScanner cin=new Scanner(System.in);\n\t\t\tint q[]=new int[100];\n\t\t\tfor(int i=1;i<=5;++i)q[i]=cin.nextInt();\n\t\t\tfor(int i=1;i<=5;++i) {\n\t\t\t\tif(q[i]==0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\t\tScanner cin=new Scanner(System.in);\n\t\t\tint q[]=new int[100];\n\t\t\tfor(int i=1;i<=5;++i)q[i]=cin.nextInt();\n\t\t\tfor(int i=1;i<=5;++i) {\n\t\t\t\tif(q[i]==0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\t\tScanner cin=new Scanner(System.in);\n\t\t\tint q[]=new int[100];\n\t\t\tfor(int i=1;i<=5;++i)q[i]=cin.nextInt();\n\t\t\tfor(int i=1;i<=5;++i) {\n\t\t\t\tif(q[i]==0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t}",
"Scanner cin=new Scanner(System.in);",
"cin",
"new Scanner(System.in)",
"int q[]=new int[100];",
"q",
"new int[100]",
"100",
"for(int i=1;i<=5;++i)q[i]=cin.nextInt();",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=5",
"i",
"5",
"++i",
"++i",
"i",
"q[i]=cin.nextInt();",
"q[i]=cin.nextInt()",
"q[i]",
"q",
"i",
"cin.nextInt()",
"cin.nextInt",
"cin",
"for(int i=1;i<=5;++i) {\n\t\t\t\tif(q[i]==0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=5",
"i",
"5",
"++i",
"++i",
"i",
"{\n\t\t\t\tif(q[i]==0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(q[i]==0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"if(q[i]==0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"q[i]==0",
"q[i]",
"q",
"i",
"0",
"{\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"break;",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\t\tScanner cin=new Scanner(System.in);\n\t\t\tint q[]=new int[100];\n\t\t\tfor(int i=1;i<=5;++i)q[i]=cin.nextInt();\n\t\t\tfor(int i=1;i<=5;++i) {\n\t\t\t\tif(q[i]==0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\t\tScanner cin=new Scanner(System.in);\n\t\t\tint q[]=new int[100];\n\t\t\tfor(int i=1;i<=5;++i)q[i]=cin.nextInt();\n\t\t\tfor(int i=1;i<=5;++i) {\n\t\t\t\tif(q[i]==0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t}\n}",
"Main"
]
| import java.math.BigInteger;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner cin=new Scanner(System.in);
int q[]=new int[100];
for(int i=1;i<=5;++i)q[i]=cin.nextInt();
for(int i=1;i<=5;++i) {
if(q[i]==0) {
System.out.println(i);
break;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
13,
14,
2,
13,
17,
30,
4,
13,
2,
13,
17,
3,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
17,
4,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
40,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13,
12,
13,
30,
4,
13,
13,
13,
4,
18,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
41,
13,
2,
13,
4,
18,
13,
2,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
17,
2,
17,
4,
13,
2,
13,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
0,
13,
20,
23,
13,
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
],
[
441,
11
],
[
441,
12
],
[
12,
13
],
[
441,
14
],
[
14,
15
],
[
441,
16
],
[
16,
17
],
[
16,
18
],
[
441,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
43,
49
],
[
441,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
52,
59
],
[
59,
60
],
[
59,
61
],
[
52,
62
],
[
62,
63
],
[
52,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
52,
69
],
[
69,
70
],
[
70,
71
],
[
52,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
81,
85
],
[
80,
86
],
[
52,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
50,
92
],
[
92,
93
],
[
441,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
97,
100
],
[
96,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
94,
105
],
[
105,
106
],
[
94,
107
],
[
107,
108
],
[
441,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
120,
121
],
[
120,
122
],
[
115,
123
],
[
123,
124
],
[
124,
125
],
[
115,
126
],
[
127,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
130,
132
],
[
127,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
137,
140
],
[
140,
141
],
[
140,
142
],
[
127,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
147,
148
],
[
147,
149
],
[
127,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
109,
155
],
[
155,
156
],
[
109,
157
],
[
157,
158
],
[
441,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
162,
165
],
[
159,
166
],
[
166,
167
],
[
441,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
171,
174
],
[
168,
175
],
[
175,
176
],
[
441,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
180,
183
],
[
179,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
177,
189
],
[
189,
190
],
[
441,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
441,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
441,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
441,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
441,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
441,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
231,
232
],
[
231,
233
],
[
230,
234
],
[
230,
235
],
[
235,
236
],
[
235,
237
],
[
235,
238
],
[
238,
239
],
[
238,
240
],
[
226,
241
],
[
241,
242
],
[
226,
243
],
[
243,
244
],
[
441,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
248,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
249,
253
],
[
249,
254
],
[
254,
255
],
[
254,
256
],
[
254,
257
],
[
257,
258
],
[
257,
259
],
[
245,
260
],
[
260,
261
],
[
245,
262
],
[
262,
263
],
[
441,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
268,
272
],
[
268,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
279,
281
],
[
264,
282
],
[
282,
283
],
[
441,
284
],
[
284,
285
],
[
284,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
286,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
291,
296
],
[
296,
297
],
[
296,
298
],
[
291,
299
],
[
299,
300
],
[
300,
301
],
[
291,
302
],
[
303,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
304,
308
],
[
308,
309
],
[
286,
310
],
[
310,
311
],
[
284,
312
],
[
312,
313
],
[
441,
314
],
[
314,
315
],
[
314,
316
],
[
316,
317
],
[
317,
318
],
[
317,
319
],
[
316,
321
],
[
321,
322
],
[
322,
323
],
[
323,
324
],
[
323,
325
],
[
321,
326
],
[
326,
327
],
[
326,
328
],
[
321,
329
],
[
329,
330
],
[
330,
331
],
[
321,
332
],
[
333,
333
],
[
333,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
334,
338
],
[
338,
339
],
[
316,
340
],
[
340,
341
],
[
314,
342
],
[
342,
343
],
[
441,
344
],
[
344,
345
],
[
344,
346
],
[
346,
347
],
[
344,
348
],
[
348,
349
],
[
344,
350
],
[
350,
351
],
[
350,
352
],
[
352,
353
],
[
353,
354
],
[
353,
355
],
[
344,
356
],
[
356,
357
],
[
356,
358
],
[
358,
359
],
[
359,
360
],
[
359,
361
],
[
356,
362
],
[
362,
363
],
[
344,
364
],
[
364,
365
],
[
364,
366
],
[
366,
367
],
[
367,
368
],
[
368,
369
],
[
369,
370
],
[
369,
371
],
[
368,
372
],
[
372,
373
],
[
373,
374
],
[
374,
375
],
[
367,
376
],
[
376,
377
],
[
377,
378
],
[
378,
379
],
[
378,
380
],
[
380,
381
],
[
381,
382
],
[
382,
383
],
[
377,
384
],
[
384,
385
],
[
385,
386
],
[
385,
387
],
[
366,
388
],
[
388,
389
],
[
389,
390
],
[
390,
391
],
[
344,
392
],
[
392,
393
],
[
392,
394
],
[
394,
395
],
[
395,
396
],
[
396,
397
],
[
397,
398
],
[
396,
399
],
[
399,
400
],
[
344,
401
],
[
401,
402
],
[
401,
403
],
[
403,
404
],
[
404,
405
],
[
405,
406
],
[
406,
407
],
[
405,
408
],
[
408,
409
],
[
344,
410
],
[
410,
411
],
[
410,
412
],
[
412,
413
],
[
413,
414
],
[
414,
415
],
[
415,
416
],
[
414,
417
],
[
417,
418
],
[
344,
419
],
[
419,
420
],
[
419,
421
],
[
421,
422
],
[
422,
423
],
[
422,
424
],
[
421,
425
],
[
425,
426
],
[
426,
427
],
[
426,
428
],
[
428,
429
],
[
429,
430
],
[
430,
431
],
[
425,
432
],
[
432,
433
],
[
433,
434
],
[
433,
435
],
[
435,
436
],
[
436,
437
],
[
421,
438
],
[
438,
439
],
[
0,
440
],
[
440,
441
],
[
440,
442
]
]
| [
"import java.util.*;\nimport java.io.*;\nimport java.math.*;\n/*\njavac Main.java\njava Main > a.txt\n*/\npublic class Main\n{ \n \n public static void process()throws IOException\n {\n for(int i=0;i<5;i++)\n {\n long x=nl();\n if(x==0)\n {\n pn(i+1);break;\n }\n }\n \n }\n static AnotherReader sc;\n static PrintWriter out;\n public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new AnotherReader();\n boolean oj = true;\n //PrintWriter out=new PrintWriter(\"output\");\n //oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n //if(!oj) sc=new AnotherReader(100);\n \n //int T=ni(); while(T-->0)\n process();\n \n \n long s = System.currentTimeMillis();\n \n out.flush();\n if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");\n System.out.close(); \n }\n static void sort(long arr[],int n)\n {\n shuffle(arr,n);\n Arrays.sort(arr);\n }\n static void shuffle(long arr[],int n)\n {\n Random r=new Random();\n for(int i=0;i<n;i++)\n {\n long temp=arr[i];\n int pos=i+r.nextInt(n-i);\n arr[i]=arr[pos];\n arr[pos]=temp;\n }\n }\n \n static void pn(Object o){out.println(o);}\n static void p(Object o){out.print(o);}\n static void pni(Object o){out.println(o);System.out.flush();}\n static int ni()throws IOException{return sc.nextInt();}\n static long nl()throws IOException{return sc.nextLong();}\n static double nd()throws IOException{return sc.nextDouble();}\n static String nln()throws IOException{return sc.nextLine();}\n static String nn()throws IOException{return sc.next();}\n static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}\n static int[] iarr(int N)throws IOException{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}\n static long[] larr(int N)throws IOException{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}\n static boolean multipleTC=false;\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////\n static class AnotherReader{BufferedReader br; StringTokenizer st;\n AnotherReader()throws FileNotFoundException{\n br=new BufferedReader(new InputStreamReader(System.in));}\n AnotherReader(int a)throws FileNotFoundException{\n br = new BufferedReader(new FileReader(\"input.txt\"));}\n String next()throws IOException{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); } int nextInt() throws IOException{\n return Integer.parseInt(next());}\n long nextLong() throws IOException\n {return Long.parseLong(next());}\n double nextDouble()throws IOException { return Double.parseDouble(next()); }\n String nextLine() throws IOException{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}}\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////////\n}\n \n ",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main\n{ \n \n public static void process()throws IOException\n {\n for(int i=0;i<5;i++)\n {\n long x=nl();\n if(x==0)\n {\n pn(i+1);break;\n }\n }\n \n }\n static AnotherReader sc;\n static PrintWriter out;\n public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new AnotherReader();\n boolean oj = true;\n //PrintWriter out=new PrintWriter(\"output\");\n //oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n //if(!oj) sc=new AnotherReader(100);\n \n //int T=ni(); while(T-->0)\n process();\n \n \n long s = System.currentTimeMillis();\n \n out.flush();\n if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");\n System.out.close(); \n }\n static void sort(long arr[],int n)\n {\n shuffle(arr,n);\n Arrays.sort(arr);\n }\n static void shuffle(long arr[],int n)\n {\n Random r=new Random();\n for(int i=0;i<n;i++)\n {\n long temp=arr[i];\n int pos=i+r.nextInt(n-i);\n arr[i]=arr[pos];\n arr[pos]=temp;\n }\n }\n \n static void pn(Object o){out.println(o);}\n static void p(Object o){out.print(o);}\n static void pni(Object o){out.println(o);System.out.flush();}\n static int ni()throws IOException{return sc.nextInt();}\n static long nl()throws IOException{return sc.nextLong();}\n static double nd()throws IOException{return sc.nextDouble();}\n static String nln()throws IOException{return sc.nextLine();}\n static String nn()throws IOException{return sc.next();}\n static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}\n static int[] iarr(int N)throws IOException{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}\n static long[] larr(int N)throws IOException{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}\n static boolean multipleTC=false;\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////\n static class AnotherReader{BufferedReader br; StringTokenizer st;\n AnotherReader()throws FileNotFoundException{\n br=new BufferedReader(new InputStreamReader(System.in));}\n AnotherReader(int a)throws FileNotFoundException{\n br = new BufferedReader(new FileReader(\"input.txt\"));}\n String next()throws IOException{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); } int nextInt() throws IOException{\n return Integer.parseInt(next());}\n long nextLong() throws IOException\n {return Long.parseLong(next());}\n double nextDouble()throws IOException { return Double.parseDouble(next()); }\n String nextLine() throws IOException{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}}\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////////\n}",
"Main",
"static AnotherReader sc;",
"sc",
"static PrintWriter out;",
"out",
"static boolean multipleTC=false;",
"multipleTC",
"false",
"public static void process()throws IOException\n {\n for(int i=0;i<5;i++)\n {\n long x=nl();\n if(x==0)\n {\n pn(i+1);break;\n }\n }\n \n }",
"process",
"{\n for(int i=0;i<5;i++)\n {\n long x=nl();\n if(x==0)\n {\n pn(i+1);break;\n }\n }\n \n }",
"for(int i=0;i<5;i++)\n {\n long x=nl();\n if(x==0)\n {\n pn(i+1);break;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n long x=nl();\n if(x==0)\n {\n pn(i+1);break;\n }\n }",
"{\n long x=nl();\n if(x==0)\n {\n pn(i+1);break;\n }\n }",
"long x=nl();",
"x",
"nl()",
"nl",
"if(x==0)\n {\n pn(i+1);break;\n }",
"x==0",
"x",
"0",
"{\n pn(i+1);break;\n }",
"pn(i+1)",
"pn",
"i+1",
"i",
"1",
"break;",
"public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new AnotherReader();\n boolean oj = true;\n //PrintWriter out=new PrintWriter(\"output\");\n //oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n //if(!oj) sc=new AnotherReader(100);\n \n //int T=ni(); while(T-->0)\n process();\n \n \n long s = System.currentTimeMillis();\n \n out.flush();\n if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");\n System.out.close(); \n }",
"main",
"{\n out = new PrintWriter(System.out);\n sc=new AnotherReader();\n boolean oj = true;\n //PrintWriter out=new PrintWriter(\"output\");\n //oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n //if(!oj) sc=new AnotherReader(100);\n \n //int T=ni(); while(T-->0)\n process();\n \n \n long s = System.currentTimeMillis();\n \n out.flush();\n if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");\n System.out.close(); \n }",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"sc=new AnotherReader()",
"sc",
"new AnotherReader()",
"boolean oj = true;",
"oj",
"true",
"process()",
"process",
"long s = System.currentTimeMillis();",
"s",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"out.flush()",
"out.flush",
"out",
"if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");",
"!oj",
"oj",
"System.out.println(System.currentTimeMillis()-s+\"ms\")",
"System.out.println",
"System.out",
"System",
"System.out",
"System.currentTimeMillis()-s+\"ms\"",
"System.currentTimeMillis()-s",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"s",
"\"ms\"",
"System.out.close()",
"System.out.close",
"System.out",
"System",
"System.out",
"String[]args",
"args",
"static void sort(long arr[],int n)\n {\n shuffle(arr,n);\n Arrays.sort(arr);\n }",
"sort",
"{\n shuffle(arr,n);\n Arrays.sort(arr);\n }",
"shuffle(arr,n)",
"shuffle",
"arr",
"n",
"Arrays.sort(arr)",
"Arrays.sort",
"Arrays",
"arr",
"long arr[]",
"arr",
"int n",
"n",
"static void shuffle(long arr[],int n)\n {\n Random r=new Random();\n for(int i=0;i<n;i++)\n {\n long temp=arr[i];\n int pos=i+r.nextInt(n-i);\n arr[i]=arr[pos];\n arr[pos]=temp;\n }\n }",
"shuffle",
"{\n Random r=new Random();\n for(int i=0;i<n;i++)\n {\n long temp=arr[i];\n int pos=i+r.nextInt(n-i);\n arr[i]=arr[pos];\n arr[pos]=temp;\n }\n }",
"Random r=new Random();",
"r",
"new Random()",
"for(int i=0;i<n;i++)\n {\n long temp=arr[i];\n int pos=i+r.nextInt(n-i);\n arr[i]=arr[pos];\n arr[pos]=temp;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n long temp=arr[i];\n int pos=i+r.nextInt(n-i);\n arr[i]=arr[pos];\n arr[pos]=temp;\n }",
"{\n long temp=arr[i];\n int pos=i+r.nextInt(n-i);\n arr[i]=arr[pos];\n arr[pos]=temp;\n }",
"long temp=arr[i];",
"temp",
"arr[i]",
"arr",
"i",
"int pos=i+r.nextInt(n-i);",
"pos",
"i+r.nextInt(n-i)",
"i",
"r.nextInt(n-i)",
"r.nextInt",
"r",
"n-i",
"n",
"i",
"arr[i]=arr[pos]",
"arr[i]",
"arr",
"i",
"arr[pos]",
"arr",
"pos",
"arr[pos]=temp",
"arr[pos]",
"arr",
"pos",
"temp",
"long arr[]",
"arr",
"int n",
"n",
"static void pn(Object o){out.println(o);}",
"pn",
"{out.println(o);}",
"out.println(o)",
"out.println",
"out",
"o",
"Object o",
"o",
"static void p(Object o){out.print(o);}",
"p",
"{out.print(o);}",
"out.print(o)",
"out.print",
"out",
"o",
"Object o",
"o",
"static void pni(Object o){out.println(o);System.out.flush();}",
"pni",
"{out.println(o);System.out.flush();}",
"out.println(o)",
"out.println",
"out",
"o",
"System.out.flush()",
"System.out.flush",
"System.out",
"System",
"System.out",
"Object o",
"o",
"static int ni()throws IOException{return sc.nextInt();}",
"ni",
"{return sc.nextInt();}",
"return sc.nextInt();",
"sc.nextInt()",
"sc.nextInt",
"sc",
"static long nl()throws IOException{return sc.nextLong();}",
"nl",
"{return sc.nextLong();}",
"return sc.nextLong();",
"sc.nextLong()",
"sc.nextLong",
"sc",
"static double nd()throws IOException{return sc.nextDouble();}",
"nd",
"{return sc.nextDouble();}",
"return sc.nextDouble();",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"static String nln()throws IOException{return sc.nextLine();}",
"nln",
"{return sc.nextLine();}",
"return sc.nextLine();",
"sc.nextLine()",
"sc.nextLine",
"sc",
"static String nn()throws IOException{return sc.next();}",
"nn",
"{return sc.next();}",
"return sc.next();",
"sc.next()",
"sc.next",
"sc",
"static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}",
"gcd",
"{return (b==0)?a:gcd(b,a%b);}",
"return (b==0)?a:gcd(b,a%b);",
"(b==0)?a:gcd(b,a%b)",
"(b==0)",
"b",
"0",
"a",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}",
"gcd",
"{return (b==0)?a:gcd(b,a%b);}",
"return (b==0)?a:gcd(b,a%b);",
"(b==0)?a:gcd(b,a%b)",
"(b==0)",
"b",
"0",
"a",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}",
"bit",
"{return (n==0)?0:(1+bit(n&(n-1)));}",
"return (n==0)?0:(1+bit(n&(n-1)));",
"(n==0)?0:(1+bit(n&(n-1)))",
"(n==0)",
"n",
"0",
"0",
"(1+bit(n&(n-1)))",
"1",
"bit(n&(n-1))",
"bit",
"n&(n-1)",
"n",
"(n-1)",
"n",
"1",
"long n",
"n",
"static int[] iarr(int N)throws IOException{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}",
"iarr",
"{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}",
"int[]ARR=new int[N];",
"ARR",
"new int[N]",
"N",
"for(int i=0;i<N;i++){ARR[i]=ni();}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<N",
"i",
"N",
"i++",
"i++",
"i",
"{ARR[i]=ni();}",
"{ARR[i]=ni();}",
"ARR[i]=ni()",
"ARR[i]",
"ARR",
"i",
"ni()",
"ni",
"return ARR;",
"ARR",
"int N",
"N",
"static long[] larr(int N)throws IOException{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}",
"larr",
"{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}",
"long[]ARR=new long[N];",
"ARR",
"new long[N]",
"N",
"for(int i=0;i<N;i++){ARR[i]=nl();}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<N",
"i",
"N",
"i++",
"i++",
"i",
"{ARR[i]=nl();}",
"{ARR[i]=nl();}",
"ARR[i]=nl()",
"ARR[i]",
"ARR",
"i",
"nl()",
"nl",
"return ARR;",
"ARR",
"int N",
"N",
" static class AnotherReader{BufferedReader br; StringTokenizer st;\n AnotherReader()throws FileNotFoundException{\n br=new BufferedReader(new InputStreamReader(System.in));}\n AnotherReader(int a)throws FileNotFoundException{\n br = new BufferedReader(new FileReader(\"input.txt\"));}\n String next()throws IOException{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); } int nextInt() throws IOException{\n return Integer.parseInt(next());}\n long nextLong() throws IOException\n {return Long.parseLong(next());}\n double nextDouble()throws IOException { return Double.parseDouble(next()); }\n String nextLine() throws IOException{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}}",
"AnotherReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"AnotherReader()throws FileNotFoundException{\n br=new BufferedReader(new InputStreamReader(System.in));}",
"AnotherReader",
"{\n br=new BufferedReader(new InputStreamReader(System.in));}",
"br=new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"AnotherReader(int a)throws FileNotFoundException{\n br = new BufferedReader(new FileReader(\"input.txt\"));}",
"AnotherReader",
"{\n br = new BufferedReader(new FileReader(\"input.txt\"));}",
"br = new BufferedReader(new FileReader(\"input.txt\"))",
"br",
"new BufferedReader(new FileReader(\"input.txt\"))",
"int a",
"a",
"String next()throws IOException{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); }",
"while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}",
"try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }",
"catch (IOException e){ e.printStackTrace(); }",
"IOException e",
"{ e.printStackTrace(); }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());}",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() throws IOException{\n return Integer.parseInt(next());}",
"nextInt",
"{\n return Integer.parseInt(next());}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() throws IOException\n {return Long.parseLong(next());}",
"nextLong",
"{return Long.parseLong(next());}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble()throws IOException { return Double.parseDouble(next()); }",
"nextDouble",
"{ return Double.parseDouble(next()); }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() throws IOException{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}",
"nextLine",
"{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}",
"String str = \"\";",
"str",
"\"\"",
"try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();}",
"catch (IOException e){\n e.printStackTrace();}",
"IOException e",
"{\n e.printStackTrace();}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main\n{ \n \n public static void process()throws IOException\n {\n for(int i=0;i<5;i++)\n {\n long x=nl();\n if(x==0)\n {\n pn(i+1);break;\n }\n }\n \n }\n static AnotherReader sc;\n static PrintWriter out;\n public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new AnotherReader();\n boolean oj = true;\n //PrintWriter out=new PrintWriter(\"output\");\n //oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n //if(!oj) sc=new AnotherReader(100);\n \n //int T=ni(); while(T-->0)\n process();\n \n \n long s = System.currentTimeMillis();\n \n out.flush();\n if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");\n System.out.close(); \n }\n static void sort(long arr[],int n)\n {\n shuffle(arr,n);\n Arrays.sort(arr);\n }\n static void shuffle(long arr[],int n)\n {\n Random r=new Random();\n for(int i=0;i<n;i++)\n {\n long temp=arr[i];\n int pos=i+r.nextInt(n-i);\n arr[i]=arr[pos];\n arr[pos]=temp;\n }\n }\n \n static void pn(Object o){out.println(o);}\n static void p(Object o){out.print(o);}\n static void pni(Object o){out.println(o);System.out.flush();}\n static int ni()throws IOException{return sc.nextInt();}\n static long nl()throws IOException{return sc.nextLong();}\n static double nd()throws IOException{return sc.nextDouble();}\n static String nln()throws IOException{return sc.nextLine();}\n static String nn()throws IOException{return sc.next();}\n static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}\n static int[] iarr(int N)throws IOException{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}\n static long[] larr(int N)throws IOException{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}\n static boolean multipleTC=false;\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////\n static class AnotherReader{BufferedReader br; StringTokenizer st;\n AnotherReader()throws FileNotFoundException{\n br=new BufferedReader(new InputStreamReader(System.in));}\n AnotherReader(int a)throws FileNotFoundException{\n br = new BufferedReader(new FileReader(\"input.txt\"));}\n String next()throws IOException{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); } int nextInt() throws IOException{\n return Integer.parseInt(next());}\n long nextLong() throws IOException\n {return Long.parseLong(next());}\n double nextDouble()throws IOException { return Double.parseDouble(next()); }\n String nextLine() throws IOException{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}}\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////////\n}",
"public class Main\n{ \n \n public static void process()throws IOException\n {\n for(int i=0;i<5;i++)\n {\n long x=nl();\n if(x==0)\n {\n pn(i+1);break;\n }\n }\n \n }\n static AnotherReader sc;\n static PrintWriter out;\n public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new AnotherReader();\n boolean oj = true;\n //PrintWriter out=new PrintWriter(\"output\");\n //oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n //if(!oj) sc=new AnotherReader(100);\n \n //int T=ni(); while(T-->0)\n process();\n \n \n long s = System.currentTimeMillis();\n \n out.flush();\n if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");\n System.out.close(); \n }\n static void sort(long arr[],int n)\n {\n shuffle(arr,n);\n Arrays.sort(arr);\n }\n static void shuffle(long arr[],int n)\n {\n Random r=new Random();\n for(int i=0;i<n;i++)\n {\n long temp=arr[i];\n int pos=i+r.nextInt(n-i);\n arr[i]=arr[pos];\n arr[pos]=temp;\n }\n }\n \n static void pn(Object o){out.println(o);}\n static void p(Object o){out.print(o);}\n static void pni(Object o){out.println(o);System.out.flush();}\n static int ni()throws IOException{return sc.nextInt();}\n static long nl()throws IOException{return sc.nextLong();}\n static double nd()throws IOException{return sc.nextDouble();}\n static String nln()throws IOException{return sc.nextLine();}\n static String nn()throws IOException{return sc.next();}\n static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}\n static int[] iarr(int N)throws IOException{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}\n static long[] larr(int N)throws IOException{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}\n static boolean multipleTC=false;\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////\n static class AnotherReader{BufferedReader br; StringTokenizer st;\n AnotherReader()throws FileNotFoundException{\n br=new BufferedReader(new InputStreamReader(System.in));}\n AnotherReader(int a)throws FileNotFoundException{\n br = new BufferedReader(new FileReader(\"input.txt\"));}\n String next()throws IOException{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); } int nextInt() throws IOException{\n return Integer.parseInt(next());}\n long nextLong() throws IOException\n {return Long.parseLong(next());}\n double nextDouble()throws IOException { return Double.parseDouble(next()); }\n String nextLine() throws IOException{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}}\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////////\n}",
"Main"
]
| import java.util.*;
import java.io.*;
import java.math.*;
/*
javac Main.java
java Main > a.txt
*/
public class Main
{
public static void process()throws IOException
{
for(int i=0;i<5;i++)
{
long x=nl();
if(x==0)
{
pn(i+1);break;
}
}
}
static AnotherReader sc;
static PrintWriter out;
public static void main(String[]args)throws IOException
{
out = new PrintWriter(System.out);
sc=new AnotherReader();
boolean oj = true;
//PrintWriter out=new PrintWriter("output");
//oj = System.getProperty("ONLINE_JUDGE") != null;
//if(!oj) sc=new AnotherReader(100);
//int T=ni(); while(T-->0)
process();
long s = System.currentTimeMillis();
out.flush();
if(!oj)
System.out.println(System.currentTimeMillis()-s+"ms");
System.out.close();
}
static void sort(long arr[],int n)
{
shuffle(arr,n);
Arrays.sort(arr);
}
static void shuffle(long arr[],int n)
{
Random r=new Random();
for(int i=0;i<n;i++)
{
long temp=arr[i];
int pos=i+r.nextInt(n-i);
arr[i]=arr[pos];
arr[pos]=temp;
}
}
static void pn(Object o){out.println(o);}
static void p(Object o){out.print(o);}
static void pni(Object o){out.println(o);System.out.flush();}
static int ni()throws IOException{return sc.nextInt();}
static long nl()throws IOException{return sc.nextLong();}
static double nd()throws IOException{return sc.nextDouble();}
static String nln()throws IOException{return sc.nextLine();}
static String nn()throws IOException{return sc.next();}
static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}
static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}
static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}
static int[] iarr(int N)throws IOException{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}
static long[] larr(int N)throws IOException{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}
static boolean multipleTC=false;
/////////////////////////////////////////////////////////////////////////////////////////////////////////
static class AnotherReader{BufferedReader br; StringTokenizer st;
AnotherReader()throws FileNotFoundException{
br=new BufferedReader(new InputStreamReader(System.in));}
AnotherReader(int a)throws FileNotFoundException{
br = new BufferedReader(new FileReader("input.txt"));}
String next()throws IOException{
while (st == null || !st.hasMoreElements()) {try{
st = new StringTokenizer(br.readLine());}
catch (IOException e){ e.printStackTrace(); }}
return st.nextToken(); } int nextInt() throws IOException{
return Integer.parseInt(next());}
long nextLong() throws IOException
{return Long.parseLong(next());}
double nextDouble()throws IOException { return Double.parseDouble(next()); }
String nextLine() throws IOException{ 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,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
63,
5
],
[
63,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
]
| [
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] main){\n Scanner sc = new Scanner(System.in);\n int[] x = new int[5];\n int s = 0;\n for(int i = 0 ; i < 5 ; i++ ){\n x[i] = sc.nextInt();\n if(x[i] == 0){\n s = i + 1;\n }\n }\n System.out.println(s);\n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] main){\n Scanner sc = new Scanner(System.in);\n int[] x = new int[5];\n int s = 0;\n for(int i = 0 ; i < 5 ; i++ ){\n x[i] = sc.nextInt();\n if(x[i] == 0){\n s = i + 1;\n }\n }\n System.out.println(s);\n sc.close();\n }\n}",
"Main",
"public static void main(String[] main){\n Scanner sc = new Scanner(System.in);\n int[] x = new int[5];\n int s = 0;\n for(int i = 0 ; i < 5 ; i++ ){\n x[i] = sc.nextInt();\n if(x[i] == 0){\n s = i + 1;\n }\n }\n System.out.println(s);\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int[] x = new int[5];\n int s = 0;\n for(int i = 0 ; i < 5 ; i++ ){\n x[i] = sc.nextInt();\n if(x[i] == 0){\n s = i + 1;\n }\n }\n System.out.println(s);\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] x = new int[5];",
"x",
"new int[5]",
"5",
"int s = 0;",
"s",
"0",
"for(int i = 0 ; i < 5 ; i++ ){\n x[i] = sc.nextInt();\n if(x[i] == 0){\n s = i + 1;\n }\n }",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n x[i] = sc.nextInt();\n if(x[i] == 0){\n s = i + 1;\n }\n }",
"{\n x[i] = sc.nextInt();\n if(x[i] == 0){\n s = i + 1;\n }\n }",
"x[i] = sc.nextInt()",
"x[i]",
"x",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x[i] == 0){\n s = i + 1;\n }",
"x[i] == 0",
"x[i]",
"x",
"i",
"0",
"{\n s = i + 1;\n }",
"s = i + 1",
"s",
"i + 1",
"i",
"1",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"sc.close()",
"sc.close",
"sc",
"String[] main",
"main",
"public class Main {\n public static void main(String[] main){\n Scanner sc = new Scanner(System.in);\n int[] x = new int[5];\n int s = 0;\n for(int i = 0 ; i < 5 ; i++ ){\n x[i] = sc.nextInt();\n if(x[i] == 0){\n s = i + 1;\n }\n }\n System.out.println(s);\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] main){\n Scanner sc = new Scanner(System.in);\n int[] x = new int[5];\n int s = 0;\n for(int i = 0 ; i < 5 ; i++ ){\n x[i] = sc.nextInt();\n if(x[i] == 0){\n s = i + 1;\n }\n }\n System.out.println(s);\n sc.close();\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] main){
Scanner sc = new Scanner(System.in);
int[] x = new int[5];
int s = 0;
for(int i = 0 ; i < 5 ; i++ ){
x[i] = sc.nextInt();
if(x[i] == 0){
s = i + 1;
}
}
System.out.println(s);
sc.close();
}
} |
[
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,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
62,
20
],
[
62,
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
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
49,
58
],
[
21,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
]
| [
"import java.math.BigInteger;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.HashSet;\nimport java.util.Scanner;\nimport java.util.Stack;\n\n/*\n * @author Tanzim Ibn Patowary\n * Created May 29, 2020 9:22:05 PM\n */\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tint x = in.nextInt();\n\t\t\tif (x==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Stack;",
"Stack",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tint x = in.nextInt();\n\t\t\tif (x==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tint x = in.nextInt();\n\t\t\tif (x==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tint x = in.nextInt();\n\t\t\tif (x==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"for (int i = 0; i < 5; i++) {\n\t\t\tint x = in.nextInt();\n\t\t\tif (x==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tint x = in.nextInt();\n\t\t\tif (x==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tint x = in.nextInt();\n\t\t\tif (x==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int x = in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"if (x==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}",
"x==0",
"x",
"0",
"{\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}",
"System.out.println(i+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"break;",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tint x = in.nextInt();\n\t\t\tif (x==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tint x = in.nextInt();\n\t\t\tif (x==0) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
]
| import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Scanner;
import java.util.Stack;
/*
* @author Tanzim Ibn Patowary
* Created May 29, 2020 9:22:05 PM
*/
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
for (int i = 0; i < 5; i++) {
int x = in.nextInt();
if (x==0) {
System.out.println(i+1);
break;
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
18,
13,
13,
13,
40,
13,
0,
18,
13,
13,
2,
13,
17,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
13,
17,
2,
18,
13,
13,
18,
13,
13,
30,
4,
18,
18,
13,
13,
18,
13,
13,
3,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
35,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
8,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
64,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
86,
88
],
[
77,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
95,
96
],
[
95,
97
],
[
89,
98
],
[
77,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
6,
110
],
[
110,
111
]
]
| [
"import java.util.*;\n\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n int[] x = new int[4];\n int[] y = new int[5];\n int c = 0;\n for(int i=0; i<5; i++){\n int a = sc.nextInt();\n if(a!=0){\n x[c] = a;\n c++;\n }\n y[i] = i+1;\n }\n Arrays.sort(x);\n for(int i=0; i<5; i++){\n if(i<4 && x[i]!=y[i]){\n System.out.println(y[i]);\n break;\n }\n else if(i==4){\n System.out.println(5);\n }\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n int[] x = new int[4];\n int[] y = new int[5];\n int c = 0;\n for(int i=0; i<5; i++){\n int a = sc.nextInt();\n if(a!=0){\n x[c] = a;\n c++;\n }\n y[i] = i+1;\n }\n Arrays.sort(x);\n for(int i=0; i<5; i++){\n if(i<4 && x[i]!=y[i]){\n System.out.println(y[i]);\n break;\n }\n else if(i==4){\n System.out.println(5);\n }\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n int[] x = new int[4];\n int[] y = new int[5];\n int c = 0;\n for(int i=0; i<5; i++){\n int a = sc.nextInt();\n if(a!=0){\n x[c] = a;\n c++;\n }\n y[i] = i+1;\n }\n Arrays.sort(x);\n for(int i=0; i<5; i++){\n if(i<4 && x[i]!=y[i]){\n System.out.println(y[i]);\n break;\n }\n else if(i==4){\n System.out.println(5);\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n int[] x = new int[4];\n int[] y = new int[5];\n int c = 0;\n for(int i=0; i<5; i++){\n int a = sc.nextInt();\n if(a!=0){\n x[c] = a;\n c++;\n }\n y[i] = i+1;\n }\n Arrays.sort(x);\n for(int i=0; i<5; i++){\n if(i<4 && x[i]!=y[i]){\n System.out.println(y[i]);\n break;\n }\n else if(i==4){\n System.out.println(5);\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] x = new int[4];",
"x",
"new int[4]",
"4",
"int[] y = new int[5];",
"y",
"new int[5]",
"5",
"int c = 0;",
"c",
"0",
"for(int i=0; i<5; i++){\n int a = sc.nextInt();\n if(a!=0){\n x[c] = a;\n c++;\n }\n y[i] = i+1;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n int a = sc.nextInt();\n if(a!=0){\n x[c] = a;\n c++;\n }\n y[i] = i+1;\n }",
"{\n int a = sc.nextInt();\n if(a!=0){\n x[c] = a;\n c++;\n }\n y[i] = i+1;\n }",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(a!=0){\n x[c] = a;\n c++;\n }",
"a!=0",
"a",
"0",
"{\n x[c] = a;\n c++;\n }",
"x[c] = a",
"x[c]",
"x",
"c",
"a",
"c++",
"c",
"y[i] = i+1",
"y[i]",
"y",
"i",
"i+1",
"i",
"1",
"Arrays.sort(x)",
"Arrays.sort",
"Arrays",
"x",
"for(int i=0; i<5; i++){\n if(i<4 && x[i]!=y[i]){\n System.out.println(y[i]);\n break;\n }\n else if(i==4){\n System.out.println(5);\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if(i<4 && x[i]!=y[i]){\n System.out.println(y[i]);\n break;\n }\n else if(i==4){\n System.out.println(5);\n }\n }",
"{\n if(i<4 && x[i]!=y[i]){\n System.out.println(y[i]);\n break;\n }\n else if(i==4){\n System.out.println(5);\n }\n }",
"if(i<4 && x[i]!=y[i]){\n System.out.println(y[i]);\n break;\n }\n else if(i==4){\n System.out.println(5);\n }",
"i<4 && x[i]!=y[i]",
"i<4",
"i",
"4",
"x[i]!=y[i]",
"x[i]",
"x",
"i",
"y[i]",
"y",
"i",
"{\n System.out.println(y[i]);\n break;\n }",
"System.out.println(y[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"y[i]",
"y",
"i",
"break;",
"if(i==4){\n System.out.println(5);\n }",
"i==4",
"i",
"4",
"{\n System.out.println(5);\n }",
"System.out.println(5)",
"System.out.println",
"System.out",
"System",
"System.out",
"5",
"String[] args",
"args"
]
| import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int[] x = new int[4];
int[] y = new int[5];
int c = 0;
for(int i=0; i<5; i++){
int a = sc.nextInt();
if(a!=0){
x[c] = a;
c++;
}
y[i] = i+1;
}
Arrays.sort(x);
for(int i=0; i<5; i++){
if(i<4 && x[i]!=y[i]){
System.out.println(y[i]);
break;
}
else if(i==4){
System.out.println(5);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
104,
5
],
[
104,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
36,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
49,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
62,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
8,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
75,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
8,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
88,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
6,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] X = new int[5];\n for (int i = 0; i < 5; i++) {\n X[i] = sc.nextInt();\n }\n\n if (X[0] == 0) {\n System.out.println(\"1\");\n }\n if (X[1] == 0) {\n System.out.println(\"2\");\n }\n\n if (X[2] == 0) {\n System.out.println(\"3\");\n }\n\n if (X[3] == 0) {\n System.out.println(\"4\");\n }\n\n if (X[4] == 0) {\n System.out.println(\"5\");\n }\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] X = new int[5];\n for (int i = 0; i < 5; i++) {\n X[i] = sc.nextInt();\n }\n\n if (X[0] == 0) {\n System.out.println(\"1\");\n }\n if (X[1] == 0) {\n System.out.println(\"2\");\n }\n\n if (X[2] == 0) {\n System.out.println(\"3\");\n }\n\n if (X[3] == 0) {\n System.out.println(\"4\");\n }\n\n if (X[4] == 0) {\n System.out.println(\"5\");\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] X = new int[5];\n for (int i = 0; i < 5; i++) {\n X[i] = sc.nextInt();\n }\n\n if (X[0] == 0) {\n System.out.println(\"1\");\n }\n if (X[1] == 0) {\n System.out.println(\"2\");\n }\n\n if (X[2] == 0) {\n System.out.println(\"3\");\n }\n\n if (X[3] == 0) {\n System.out.println(\"4\");\n }\n\n if (X[4] == 0) {\n System.out.println(\"5\");\n }\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int[] X = new int[5];\n for (int i = 0; i < 5; i++) {\n X[i] = sc.nextInt();\n }\n\n if (X[0] == 0) {\n System.out.println(\"1\");\n }\n if (X[1] == 0) {\n System.out.println(\"2\");\n }\n\n if (X[2] == 0) {\n System.out.println(\"3\");\n }\n\n if (X[3] == 0) {\n System.out.println(\"4\");\n }\n\n if (X[4] == 0) {\n System.out.println(\"5\");\n }\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] X = new int[5];",
"X",
"new int[5]",
"5",
"for (int i = 0; i < 5; i++) {\n X[i] = sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n X[i] = sc.nextInt();\n }",
"{\n X[i] = sc.nextInt();\n }",
"X[i] = sc.nextInt()",
"X[i]",
"X",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (X[0] == 0) {\n System.out.println(\"1\");\n }",
"X[0] == 0",
"X[0]",
"X",
"0",
"0",
"{\n System.out.println(\"1\");\n }",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"if (X[1] == 0) {\n System.out.println(\"2\");\n }",
"X[1] == 0",
"X[1]",
"X",
"1",
"0",
"{\n System.out.println(\"2\");\n }",
"System.out.println(\"2\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"2\"",
"if (X[2] == 0) {\n System.out.println(\"3\");\n }",
"X[2] == 0",
"X[2]",
"X",
"2",
"0",
"{\n System.out.println(\"3\");\n }",
"System.out.println(\"3\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"3\"",
"if (X[3] == 0) {\n System.out.println(\"4\");\n }",
"X[3] == 0",
"X[3]",
"X",
"3",
"0",
"{\n System.out.println(\"4\");\n }",
"System.out.println(\"4\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"4\"",
"if (X[4] == 0) {\n System.out.println(\"5\");\n }",
"X[4] == 0",
"X[4]",
"X",
"4",
"0",
"{\n System.out.println(\"5\");\n }",
"System.out.println(\"5\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"5\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] X = new int[5];\n for (int i = 0; i < 5; i++) {\n X[i] = sc.nextInt();\n }\n\n if (X[0] == 0) {\n System.out.println(\"1\");\n }\n if (X[1] == 0) {\n System.out.println(\"2\");\n }\n\n if (X[2] == 0) {\n System.out.println(\"3\");\n }\n\n if (X[3] == 0) {\n System.out.println(\"4\");\n }\n\n if (X[4] == 0) {\n System.out.println(\"5\");\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] X = new int[5];\n for (int i = 0; i < 5; i++) {\n X[i] = sc.nextInt();\n }\n\n if (X[0] == 0) {\n System.out.println(\"1\");\n }\n if (X[1] == 0) {\n System.out.println(\"2\");\n }\n\n if (X[2] == 0) {\n System.out.println(\"3\");\n }\n\n if (X[3] == 0) {\n System.out.println(\"4\");\n }\n\n if (X[4] == 0) {\n System.out.println(\"5\");\n }\n\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] X = new int[5];
for (int i = 0; i < 5; i++) {
X[i] = sc.nextInt();
}
if (X[0] == 0) {
System.out.println("1");
}
if (X[1] == 0) {
System.out.println("2");
}
if (X[2] == 0) {
System.out.println("3");
}
if (X[3] == 0) {
System.out.println("4");
}
if (X[4] == 0) {
System.out.println("5");
}
}
} |
[
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,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
66,
11
],
[
66,
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
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
14,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
12,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
]
| [
"import java.util.*;\nimport java.util.function.*;\nimport java.math.*;\npublic class Main {\n public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] x = new int[5];\n\t\tint index = 0;\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tx[i] = s.nextInt();\n\t\t\tif(x[i] == 0) {\n\t\t\t\tindex = i + 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(index);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.function.*;",
"function.*",
"java.util",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] x = new int[5];\n\t\tint index = 0;\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tx[i] = s.nextInt();\n\t\t\tif(x[i] == 0) {\n\t\t\t\tindex = i + 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(index);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] x = new int[5];\n\t\tint index = 0;\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tx[i] = s.nextInt();\n\t\t\tif(x[i] == 0) {\n\t\t\t\tindex = i + 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(index);\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] x = new int[5];\n\t\tint index = 0;\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tx[i] = s.nextInt();\n\t\t\tif(x[i] == 0) {\n\t\t\t\tindex = i + 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(index);\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int[] x = new int[5];",
"x",
"new int[5]",
"5",
"int index = 0;",
"index",
"0",
"for(int i = 0; i < 5; i++) {\n\t\t\tx[i] = s.nextInt();\n\t\t\tif(x[i] == 0) {\n\t\t\t\tindex = i + 1;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tx[i] = s.nextInt();\n\t\t\tif(x[i] == 0) {\n\t\t\t\tindex = i + 1;\n\t\t\t}\n\t\t}",
"{\n\t\t\tx[i] = s.nextInt();\n\t\t\tif(x[i] == 0) {\n\t\t\t\tindex = i + 1;\n\t\t\t}\n\t\t}",
"x[i] = s.nextInt()",
"x[i]",
"x",
"i",
"s.nextInt()",
"s.nextInt",
"s",
"if(x[i] == 0) {\n\t\t\t\tindex = i + 1;\n\t\t\t}",
"x[i] == 0",
"x[i]",
"x",
"i",
"0",
"{\n\t\t\t\tindex = i + 1;\n\t\t\t}",
"index = i + 1",
"index",
"i + 1",
"i",
"1",
"System.out.println(index)",
"System.out.println",
"System.out",
"System",
"System.out",
"index",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] x = new int[5];\n\t\tint index = 0;\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tx[i] = s.nextInt();\n\t\t\tif(x[i] == 0) {\n\t\t\t\tindex = i + 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(index);\n\t}\n}",
"public class Main {\n public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] x = new int[5];\n\t\tint index = 0;\n\t\tfor(int i = 0; i < 5; i++) {\n\t\t\tx[i] = s.nextInt();\n\t\t\tif(x[i] == 0) {\n\t\t\t\tindex = i + 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(index);\n\t}\n}",
"Main"
]
| import java.util.*;
import java.util.function.*;
import java.math.*;
public class Main {
public static void main(String[] args){
Scanner s = new Scanner(System.in);
int[] x = new int[5];
int index = 0;
for(int i = 0; i < 5; i++) {
x[i] = s.nextInt();
if(x[i] == 0) {
index = i + 1;
}
}
System.out.println(index);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
52,
5
],
[
52,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
22,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
17,
28
],
[
29,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a;\n\t\tint box = 0;\n\t\t\n\t\tfor(int i = 1;i<6;i++) {\n\t\t\ta = scan.nextInt();\n\t\t\tif(a==0) {\n\t\t\t\tbox = i;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(box);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a;\n\t\tint box = 0;\n\t\t\n\t\tfor(int i = 1;i<6;i++) {\n\t\t\ta = scan.nextInt();\n\t\t\tif(a==0) {\n\t\t\t\tbox = i;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(box);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a;\n\t\tint box = 0;\n\t\t\n\t\tfor(int i = 1;i<6;i++) {\n\t\t\ta = scan.nextInt();\n\t\t\tif(a==0) {\n\t\t\t\tbox = i;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(box);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a;\n\t\tint box = 0;\n\t\t\n\t\tfor(int i = 1;i<6;i++) {\n\t\t\ta = scan.nextInt();\n\t\t\tif(a==0) {\n\t\t\t\tbox = i;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(box);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a;",
"a",
"int box = 0;",
"box",
"0",
"for(int i = 1;i<6;i++) {\n\t\t\ta = scan.nextInt();\n\t\t\tif(a==0) {\n\t\t\t\tbox = i;\n\t\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i<6",
"i",
"6",
"i++",
"i++",
"i",
"{\n\t\t\ta = scan.nextInt();\n\t\t\tif(a==0) {\n\t\t\t\tbox = i;\n\t\t\t}\n\t\t}",
"{\n\t\t\ta = scan.nextInt();\n\t\t\tif(a==0) {\n\t\t\t\tbox = i;\n\t\t\t}\n\t\t}",
"a = scan.nextInt()",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(a==0) {\n\t\t\t\tbox = i;\n\t\t\t}",
"a==0",
"a",
"0",
"{\n\t\t\t\tbox = i;\n\t\t\t}",
"box = i",
"box",
"i",
"System.out.print(box)",
"System.out.print",
"System.out",
"System",
"System.out",
"box",
"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 a;\n\t\tint box = 0;\n\t\t\n\t\tfor(int i = 1;i<6;i++) {\n\t\t\ta = scan.nextInt();\n\t\t\tif(a==0) {\n\t\t\t\tbox = i;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(box);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a;\n\t\tint box = 0;\n\t\t\n\t\tfor(int i = 1;i<6;i++) {\n\t\t\ta = scan.nextInt();\n\t\t\tif(a==0) {\n\t\t\t\tbox = i;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(box);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a;
int box = 0;
for(int i = 1;i<6;i++) {
a = scan.nextInt();
if(a==0) {
box = i;
}
}
System.out.print(box);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
0,
13,
17,
14,
40,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
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
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
47,
56
],
[
56,
57
],
[
56,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[5];\n\t\tboolean bl = false;\n\t\tfor(int i = 0; i < x.length; i++) {\n\t\t\tx[i] = sc.nextInt();\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbl = true;\n\t\t\t}\n\t\t}\n\t\tif(!bl)\n\t\t\tSystem.out.println(\"0\");\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[5];\n\t\tboolean bl = false;\n\t\tfor(int i = 0; i < x.length; i++) {\n\t\t\tx[i] = sc.nextInt();\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbl = true;\n\t\t\t}\n\t\t}\n\t\tif(!bl)\n\t\t\tSystem.out.println(\"0\");\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[5];\n\t\tboolean bl = false;\n\t\tfor(int i = 0; i < x.length; i++) {\n\t\t\tx[i] = sc.nextInt();\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbl = true;\n\t\t\t}\n\t\t}\n\t\tif(!bl)\n\t\t\tSystem.out.println(\"0\");\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[5];\n\t\tboolean bl = false;\n\t\tfor(int i = 0; i < x.length; i++) {\n\t\t\tx[i] = sc.nextInt();\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbl = true;\n\t\t\t}\n\t\t}\n\t\tif(!bl)\n\t\t\tSystem.out.println(\"0\");\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x[] = new int[5];",
"x",
"new int[5]",
"5",
"boolean bl = false;",
"bl",
"false",
"for(int i = 0; i < x.length; i++) {\n\t\t\tx[i] = sc.nextInt();\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbl = true;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < x.length",
"i",
"x.length",
"x",
"x.length",
"i++",
"i++",
"i",
"{\n\t\t\tx[i] = sc.nextInt();\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbl = true;\n\t\t\t}\n\t\t}",
"{\n\t\t\tx[i] = sc.nextInt();\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbl = true;\n\t\t\t}\n\t\t}",
"x[i] = sc.nextInt()",
"x[i]",
"x",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbl = true;\n\t\t\t}",
"x[i] == 0",
"x[i]",
"x",
"i",
"0",
"{\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbl = true;\n\t\t\t}",
"System.out.println(i + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"bl = true",
"bl",
"true",
"if(!bl)\n\t\t\tSystem.out.println(\"0\");",
"!bl",
"bl",
"System.out.println(\"0\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"0\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[5];\n\t\tboolean bl = false;\n\t\tfor(int i = 0; i < x.length; i++) {\n\t\t\tx[i] = sc.nextInt();\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbl = true;\n\t\t\t}\n\t\t}\n\t\tif(!bl)\n\t\t\tSystem.out.println(\"0\");\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[5];\n\t\tboolean bl = false;\n\t\tfor(int i = 0; i < x.length; i++) {\n\t\t\tx[i] = sc.nextInt();\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbl = true;\n\t\t\t}\n\t\t}\n\t\tif(!bl)\n\t\t\tSystem.out.println(\"0\");\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x[] = new int[5];
boolean bl = false;
for(int i = 0; i < x.length; i++) {
x[i] = sc.nextInt();
if(x[i] == 0) {
System.out.println(i + 1);
bl = true;
}
}
if(!bl)
System.out.println("0");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
38,
30,
41,
13,
20,
42,
17,
30,
40,
13,
14,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
13,
3,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
39,
5
],
[
39,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
23,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
28,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint i=0;\n\t\ttry (Scanner scn = new Scanner(System.in)) {\n\t\t\twhile(true) {\n\t\t\t\ti++;\n\t\t\t\tif(scn.nextInt() == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint i=0;\n\t\ttry (Scanner scn = new Scanner(System.in)) {\n\t\t\twhile(true) {\n\t\t\t\ti++;\n\t\t\t\tif(scn.nextInt() == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tint i=0;\n\t\ttry (Scanner scn = new Scanner(System.in)) {\n\t\t\twhile(true) {\n\t\t\t\ti++;\n\t\t\t\tif(scn.nextInt() == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tint i=0;\n\t\ttry (Scanner scn = new Scanner(System.in)) {\n\t\t\twhile(true) {\n\t\t\t\ti++;\n\t\t\t\tif(scn.nextInt() == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"int i=0;",
"i",
"0",
"try (Scanner scn = new Scanner(System.in)) {\n\t\t\twhile(true) {\n\t\t\t\ti++;\n\t\t\t\tif(scn.nextInt() == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\twhile(true) {\n\t\t\t\ti++;\n\t\t\t\tif(scn.nextInt() == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"Scanner scn = new Scanner(System.in)",
"Scanner scn = new Scanner(System.in)",
"new Scanner(System.in)",
"while(true) {\n\t\t\t\ti++;\n\t\t\t\tif(scn.nextInt() == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"true",
"{\n\t\t\t\ti++;\n\t\t\t\tif(scn.nextInt() == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"i++",
"i",
"if(scn.nextInt() == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"scn.nextInt() == 0",
"scn.nextInt()",
"scn.nextInt",
"scn",
"0",
"{\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"break;",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint i=0;\n\t\ttry (Scanner scn = new Scanner(System.in)) {\n\t\t\twhile(true) {\n\t\t\t\ti++;\n\t\t\t\tif(scn.nextInt() == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint i=0;\n\t\ttry (Scanner scn = new Scanner(System.in)) {\n\t\t\twhile(true) {\n\t\t\t\ti++;\n\t\t\t\tif(scn.nextInt() == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int i=0;
try (Scanner scn = new Scanner(System.in)) {
while(true) {
i++;
if(scn.nextInt() == 0) {
System.out.println(i);
break;
}
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
17,
30,
40,
13,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
50,
5
],
[
50,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
29,
33
],
[
28,
34
],
[
34,
35
],
[
35,
36
],
[
28,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
]
| [
"import java.util.Scanner;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = 1;\n\t\tfor(int i = 0; i < 5; i++){\n\t\t\tif(sc.nextInt() != 0){\n\t\t\t\ts++;\n\t\t\t}else{\n\t\t\t\ti += 5;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = 1;\n\t\tfor(int i = 0; i < 5; i++){\n\t\t\tif(sc.nextInt() != 0){\n\t\t\t\ts++;\n\t\t\t}else{\n\t\t\t\ti += 5;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = 1;\n\t\tfor(int i = 0; i < 5; i++){\n\t\t\tif(sc.nextInt() != 0){\n\t\t\t\ts++;\n\t\t\t}else{\n\t\t\t\ti += 5;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = 1;\n\t\tfor(int i = 0; i < 5; i++){\n\t\t\tif(sc.nextInt() != 0){\n\t\t\t\ts++;\n\t\t\t}else{\n\t\t\t\ti += 5;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int s = 1;",
"s",
"1",
"for(int i = 0; i < 5; i++){\n\t\t\tif(sc.nextInt() != 0){\n\t\t\t\ts++;\n\t\t\t}else{\n\t\t\t\ti += 5;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tif(sc.nextInt() != 0){\n\t\t\t\ts++;\n\t\t\t}else{\n\t\t\t\ti += 5;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(sc.nextInt() != 0){\n\t\t\t\ts++;\n\t\t\t}else{\n\t\t\t\ti += 5;\n\t\t\t}\n\t\t}",
"if(sc.nextInt() != 0){\n\t\t\t\ts++;\n\t\t\t}else{\n\t\t\t\ti += 5;\n\t\t\t}",
"sc.nextInt() != 0",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"{\n\t\t\t\ts++;\n\t\t\t}",
"s++",
"s",
"{\n\t\t\t\ti += 5;\n\t\t\t}",
"i += 5",
"i",
"5",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = 1;\n\t\tfor(int i = 0; i < 5; i++){\n\t\t\tif(sc.nextInt() != 0){\n\t\t\t\ts++;\n\t\t\t}else{\n\t\t\t\ti += 5;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint s = 1;\n\t\tfor(int i = 0; i < 5; i++){\n\t\t\tif(sc.nextInt() != 0){\n\t\t\t\ts++;\n\t\t\t}else{\n\t\t\t\ti += 5;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int s = 1;
for(int i = 0; i < 5; i++){
if(sc.nextInt() != 0){
s++;
}else{
i += 5;
}
}
System.out.println(s);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
91,
5
],
[
91,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
37,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
48,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
59,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
70,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
6,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x1 = sc.nextInt();\n\t\tint x2 = sc.nextInt();\n\t\tint x3 = sc.nextInt();\n\t\tint x4 = sc.nextInt();\n\t\tint x5 = sc.nextInt();\n\t\tif (x1 == 0) {\n\t\t\tSystem.out.println(1);\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(2);\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(3);\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else {\n\t\t\tSystem.out.println(5);\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\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x1 = sc.nextInt();\n\t\tint x2 = sc.nextInt();\n\t\tint x3 = sc.nextInt();\n\t\tint x4 = sc.nextInt();\n\t\tint x5 = sc.nextInt();\n\t\tif (x1 == 0) {\n\t\t\tSystem.out.println(1);\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(2);\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(3);\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else {\n\t\t\tSystem.out.println(5);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x1 = sc.nextInt();\n\t\tint x2 = sc.nextInt();\n\t\tint x3 = sc.nextInt();\n\t\tint x4 = sc.nextInt();\n\t\tint x5 = sc.nextInt();\n\t\tif (x1 == 0) {\n\t\t\tSystem.out.println(1);\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(2);\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(3);\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else {\n\t\t\tSystem.out.println(5);\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x1 = sc.nextInt();\n\t\tint x2 = sc.nextInt();\n\t\tint x3 = sc.nextInt();\n\t\tint x4 = sc.nextInt();\n\t\tint x5 = sc.nextInt();\n\t\tif (x1 == 0) {\n\t\t\tSystem.out.println(1);\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(2);\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(3);\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else {\n\t\t\tSystem.out.println(5);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x1 = sc.nextInt();",
"x1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x2 = sc.nextInt();",
"x2",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x3 = sc.nextInt();",
"x3",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x4 = sc.nextInt();",
"x4",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x5 = sc.nextInt();",
"x5",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (x1 == 0) {\n\t\t\tSystem.out.println(1);\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(2);\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(3);\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else {\n\t\t\tSystem.out.println(5);\n\t\t}",
"x1 == 0",
"x1",
"0",
"{\n\t\t\tSystem.out.println(1);\n\t\t}",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"if (x2 == 0) {\n\t\t\tSystem.out.println(2);\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(3);\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else {\n\t\t\tSystem.out.println(5);\n\t\t}",
"x2 == 0",
"x2",
"0",
"{\n\t\t\tSystem.out.println(2);\n\t\t}",
"System.out.println(2)",
"System.out.println",
"System.out",
"System",
"System.out",
"2",
"if (x3 == 0) {\n\t\t\tSystem.out.println(3);\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else {\n\t\t\tSystem.out.println(5);\n\t\t}",
"x3 == 0",
"x3",
"0",
"{\n\t\t\tSystem.out.println(3);\n\t\t}",
"System.out.println(3)",
"System.out.println",
"System.out",
"System",
"System.out",
"3",
"if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else {\n\t\t\tSystem.out.println(5);\n\t\t}",
"x4 == 0",
"x4",
"0",
"{\n\t\t\tSystem.out.println(4);\n\t\t}",
"System.out.println(4)",
"System.out.println",
"System.out",
"System",
"System.out",
"4",
"{\n\t\t\tSystem.out.println(5);\n\t\t}",
"System.out.println(5)",
"System.out.println",
"System.out",
"System",
"System.out",
"5",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x1 = sc.nextInt();\n\t\tint x2 = sc.nextInt();\n\t\tint x3 = sc.nextInt();\n\t\tint x4 = sc.nextInt();\n\t\tint x5 = sc.nextInt();\n\t\tif (x1 == 0) {\n\t\t\tSystem.out.println(1);\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(2);\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(3);\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else {\n\t\t\tSystem.out.println(5);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x1 = sc.nextInt();\n\t\tint x2 = sc.nextInt();\n\t\tint x3 = sc.nextInt();\n\t\tint x4 = sc.nextInt();\n\t\tint x5 = sc.nextInt();\n\t\tif (x1 == 0) {\n\t\t\tSystem.out.println(1);\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(2);\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(3);\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else {\n\t\t\tSystem.out.println(5);\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc = new Scanner(System.in);
int x1 = sc.nextInt();
int x2 = sc.nextInt();
int x3 = sc.nextInt();
int x4 = sc.nextInt();
int x5 = sc.nextInt();
if (x1 == 0) {
System.out.println(1);
} else if (x2 == 0) {
System.out.println(2);
} else if (x3 == 0) {
System.out.println(3);
} else if (x4 == 0) {
System.out.println(4);
} else {
System.out.println(5);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
13,
13,
3,
12,
13,
30,
4,
18,
13,
4,
18,
13,
12,
13,
30,
38,
30,
41,
13,
20,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
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,
4,
18,
13,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
153,
23
],
[
153,
24
],
[
24,
25
],
[
24,
26
],
[
153,
27
],
[
27,
28
],
[
27,
29
],
[
153,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
33,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
55,
60
],
[
153,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
153,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
79,
80
],
[
70,
81
],
[
81,
82
],
[
153,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
83,
87
],
[
87,
88
],
[
83,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
95,
97
],
[
89,
98
],
[
98,
99
],
[
83,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
103,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
113,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
102,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
83,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
134,
135
],
[
83,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
143,
144
],
[
83,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
153,
151
],
[
0,
152
],
[
152,
153
],
[
152,
154
]
]
| [
"\nimport java.io.BufferedReader;\nimport java.io.Closeable;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main implements Closeable {\n\n private InputReader in = new InputReader(System.in);\n private PrintWriter out = new PrintWriter(System.out);\n\n public void solve() {\n for (int i = 1; i <= 5; i++) {\n int next = in.ni();\n if (next == 0) {\n out.println(i);\n break;\n }\n }\n }\n\n @Override\n public void close() throws IOException {\n in.close();\n out.close();\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int ni() {\n return Integer.parseInt(next());\n }\n\n public long nl() {\n return Long.parseLong(next());\n }\n\n public void close() throws IOException {\n reader.close();\n }\n }\n\n public static void main(String[] args) throws IOException {\n try (Main instance = new Main()) {\n instance.solve();\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.Closeable;",
"Closeable",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main implements Closeable {\n\n private InputReader in = new InputReader(System.in);\n private PrintWriter out = new PrintWriter(System.out);\n\n public void solve() {\n for (int i = 1; i <= 5; i++) {\n int next = in.ni();\n if (next == 0) {\n out.println(i);\n break;\n }\n }\n }\n\n @Override\n public void close() throws IOException {\n in.close();\n out.close();\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int ni() {\n return Integer.parseInt(next());\n }\n\n public long nl() {\n return Long.parseLong(next());\n }\n\n public void close() throws IOException {\n reader.close();\n }\n }\n\n public static void main(String[] args) throws IOException {\n try (Main instance = new Main()) {\n instance.solve();\n }\n }\n}",
"Main",
"private InputReader in = new InputReader(System.in);",
"in",
"new InputReader(System.in)",
"private PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"public void solve() {\n for (int i = 1; i <= 5; i++) {\n int next = in.ni();\n if (next == 0) {\n out.println(i);\n break;\n }\n }\n }",
"solve",
"{\n for (int i = 1; i <= 5; i++) {\n int next = in.ni();\n if (next == 0) {\n out.println(i);\n break;\n }\n }\n }",
"for (int i = 1; i <= 5; i++) {\n int next = in.ni();\n if (next == 0) {\n out.println(i);\n break;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n int next = in.ni();\n if (next == 0) {\n out.println(i);\n break;\n }\n }",
"{\n int next = in.ni();\n if (next == 0) {\n out.println(i);\n break;\n }\n }",
"int next = in.ni();",
"next",
"in.ni()",
"in.ni",
"in",
"if (next == 0) {\n out.println(i);\n break;\n }",
"next == 0",
"next",
"0",
"{\n out.println(i);\n break;\n }",
"out.println(i)",
"out.println",
"out",
"i",
"break;",
"@Override\n public void close() throws IOException {\n in.close();\n out.close();\n }",
"close",
"{\n in.close();\n out.close();\n }",
"in.close()",
"in.close",
"in",
"out.close()",
"out.close",
"out",
"public static void main(String[] args) throws IOException {\n try (Main instance = new Main()) {\n instance.solve();\n }\n }",
"main",
"{\n try (Main instance = new Main()) {\n instance.solve();\n }\n }",
"try (Main instance = new Main()) {\n instance.solve();\n }",
"{\n instance.solve();\n }",
"Main instance = new Main()",
"Main instance = new Main()",
"new Main()",
"instance.solve()",
"instance.solve",
"instance",
"String[] args",
"args",
"static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int ni() {\n return Integer.parseInt(next());\n }\n\n public long nl() {\n return Long.parseLong(next());\n }\n\n public void close() throws IOException {\n reader.close();\n }\n }",
"InputReader",
"public BufferedReader reader;",
"reader",
"public StringTokenizer tokenizer;",
"tokenizer",
"public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }",
"InputReader",
"{\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }",
"reader = new BufferedReader(new InputStreamReader(stream), 32768)",
"reader",
"new BufferedReader(new InputStreamReader(stream), 32768)",
"tokenizer = null",
"tokenizer",
"null",
"InputStream stream",
"stream",
"public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"next",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public int ni() {\n return Integer.parseInt(next());\n }",
"ni",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nl() {\n return Long.parseLong(next());\n }",
"nl",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public void close() throws IOException {\n reader.close();\n }",
"close",
"{\n reader.close();\n }",
"reader.close()",
"reader.close",
"reader",
"Closeable",
"public class Main implements Closeable {\n\n private InputReader in = new InputReader(System.in);\n private PrintWriter out = new PrintWriter(System.out);\n\n public void solve() {\n for (int i = 1; i <= 5; i++) {\n int next = in.ni();\n if (next == 0) {\n out.println(i);\n break;\n }\n }\n }\n\n @Override\n public void close() throws IOException {\n in.close();\n out.close();\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int ni() {\n return Integer.parseInt(next());\n }\n\n public long nl() {\n return Long.parseLong(next());\n }\n\n public void close() throws IOException {\n reader.close();\n }\n }\n\n public static void main(String[] args) throws IOException {\n try (Main instance = new Main()) {\n instance.solve();\n }\n }\n}",
"public class Main implements Closeable {\n\n private InputReader in = new InputReader(System.in);\n private PrintWriter out = new PrintWriter(System.out);\n\n public void solve() {\n for (int i = 1; i <= 5; i++) {\n int next = in.ni();\n if (next == 0) {\n out.println(i);\n break;\n }\n }\n }\n\n @Override\n public void close() throws IOException {\n in.close();\n out.close();\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int ni() {\n return Integer.parseInt(next());\n }\n\n public long nl() {\n return Long.parseLong(next());\n }\n\n public void close() throws IOException {\n reader.close();\n }\n }\n\n public static void main(String[] args) throws IOException {\n try (Main instance = new Main()) {\n instance.solve();\n }\n }\n}",
"Main"
]
|
import java.io.BufferedReader;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.StringTokenizer;
public class Main implements Closeable {
private InputReader in = new InputReader(System.in);
private PrintWriter out = new PrintWriter(System.out);
public void solve() {
for (int i = 1; i <= 5; i++) {
int next = in.ni();
if (next == 0) {
out.println(i);
break;
}
}
}
@Override
public void close() throws IOException {
in.close();
out.close();
}
static class InputReader {
public BufferedReader reader;
public StringTokenizer tokenizer;
public InputReader(InputStream stream) {
reader = new BufferedReader(new InputStreamReader(stream), 32768);
tokenizer = null;
}
public String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public int ni() {
return Integer.parseInt(next());
}
public long nl() {
return Long.parseLong(next());
}
public void close() throws IOException {
reader.close();
}
}
public static void main(String[] args) throws IOException {
try (Main instance = new Main()) {
instance.solve();
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
70,
5
],
[
70,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
48,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn = new Scanner(System.in);\n\t\tint[] arr = new int[5];\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tarr[i] = scn.nextInt();\n\t\t}\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tint a = arr[i];\n\t\t\tif (a == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn = new Scanner(System.in);\n\t\tint[] arr = new int[5];\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tarr[i] = scn.nextInt();\n\t\t}\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tint a = arr[i];\n\t\t\tif (a == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn = new Scanner(System.in);\n\t\tint[] arr = new int[5];\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tarr[i] = scn.nextInt();\n\t\t}\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tint a = arr[i];\n\t\t\tif (a == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn = new Scanner(System.in);\n\t\tint[] arr = new int[5];\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tarr[i] = scn.nextInt();\n\t\t}\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tint a = arr[i];\n\t\t\tif (a == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t}\n\t\t}\n\t}",
"Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"int[] arr = new int[5];",
"arr",
"new int[5]",
"5",
"for (int i = 0; i < 5; i++) {\n\t\t\tarr[i] = scn.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tarr[i] = scn.nextInt();\n\t\t}",
"{\n\t\t\tarr[i] = scn.nextInt();\n\t\t}",
"arr[i] = scn.nextInt()",
"arr[i]",
"arr",
"i",
"scn.nextInt()",
"scn.nextInt",
"scn",
"for (int i = 0; i < 5; i++) {\n\t\t\tint a = arr[i];\n\t\t\tif (a == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tint a = arr[i];\n\t\t\tif (a == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t}\n\t\t}",
"{\n\t\t\tint a = arr[i];\n\t\t\tif (a == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t}\n\t\t}",
"int a = arr[i];",
"a",
"arr[i]",
"arr",
"i",
"if (a == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t}",
"a == 0",
"a",
"0",
"{\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t}",
"System.out.println(i + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn = new Scanner(System.in);\n\t\tint[] arr = new int[5];\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tarr[i] = scn.nextInt();\n\t\t}\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tint a = arr[i];\n\t\t\tif (a == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn = new Scanner(System.in);\n\t\tint[] arr = new int[5];\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tarr[i] = scn.nextInt();\n\t\t}\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tint a = arr[i];\n\t\t\tif (a == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scn = new Scanner(System.in);
int[] arr = new int[5];
for (int i = 0; i < 5; i++) {
arr[i] = scn.nextInt();
}
for (int i = 0; i < 5; i++) {
int a = arr[i];
if (a == 0) {
System.out.println(i + 1);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
17,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
55,
5
],
[
55,
6
],
[
6,
7
],
[
6,
8
],
[
55,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
13,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
13,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
9,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tprivate static final int N = 5;\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint result = 0;\n\t\t\tfor (int i = 1; i <= N; i++) {\n\t\t\t\tint a = scanner.nextInt();\n\t\t\t\tif (0 == a) {\n\t\t\t\t\tresult = i;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tprivate static final int N = 5;\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint result = 0;\n\t\t\tfor (int i = 1; i <= N; i++) {\n\t\t\t\tint a = scanner.nextInt();\n\t\t\t\tif (0 == a) {\n\t\t\t\t\tresult = i;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}\n\t}\n}",
"Main",
"private static final int N = 5;",
"N",
"5",
"public static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint result = 0;\n\t\t\tfor (int i = 1; i <= N; i++) {\n\t\t\t\tint a = scanner.nextInt();\n\t\t\t\tif (0 == a) {\n\t\t\t\t\tresult = i;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}\n\t}",
"main",
"{\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint result = 0;\n\t\t\tfor (int i = 1; i <= N; i++) {\n\t\t\t\tint a = scanner.nextInt();\n\t\t\t\tif (0 == a) {\n\t\t\t\t\tresult = i;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}\n\t}",
"try (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint result = 0;\n\t\t\tfor (int i = 1; i <= N; i++) {\n\t\t\t\tint a = scanner.nextInt();\n\t\t\t\tif (0 == a) {\n\t\t\t\t\tresult = i;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}",
"{\n\t\t\tint result = 0;\n\t\t\tfor (int i = 1; i <= N; i++) {\n\t\t\t\tint a = scanner.nextInt();\n\t\t\t\tif (0 == a) {\n\t\t\t\t\tresult = i;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}",
"Scanner scanner = new Scanner(System.in)",
"Scanner scanner = new Scanner(System.in)",
"new Scanner(System.in)",
"int result = 0;",
"result",
"0",
"for (int i = 1; i <= N; i++) {\n\t\t\t\tint a = scanner.nextInt();\n\t\t\t\tif (0 == a) {\n\t\t\t\t\tresult = i;\n\t\t\t\t}\n\t\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t\t\tint a = scanner.nextInt();\n\t\t\t\tif (0 == a) {\n\t\t\t\t\tresult = i;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tint a = scanner.nextInt();\n\t\t\t\tif (0 == a) {\n\t\t\t\t\tresult = i;\n\t\t\t\t}\n\t\t\t}",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (0 == a) {\n\t\t\t\t\tresult = i;\n\t\t\t\t}",
"0 == a",
"0",
"a",
"{\n\t\t\t\t\tresult = i;\n\t\t\t\t}",
"result = i",
"result",
"i",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n\n\tprivate static final int N = 5;\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint result = 0;\n\t\t\tfor (int i = 1; i <= N; i++) {\n\t\t\t\tint a = scanner.nextInt();\n\t\t\t\tif (0 == a) {\n\t\t\t\t\tresult = i;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tprivate static final int N = 5;\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint result = 0;\n\t\t\tfor (int i = 1; i <= N; i++) {\n\t\t\t\tint a = scanner.nextInt();\n\t\t\t\tif (0 == a) {\n\t\t\t\t\tresult = i;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
private static final int N = 5;
public static void main(String[] args) {
try (Scanner scanner = new Scanner(System.in)) {
int result = 0;
for (int i = 1; i <= N; i++) {
int a = scanner.nextInt();
if (0 == a) {
result = i;
}
}
System.out.println(result);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
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,
17,
0,
13,
2,
13,
17,
4,
18,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
29,
4,
18,
13,
29,
4,
18,
13,
17,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
155,
8
],
[
155,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
11,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
11,
56
],
[
56,
57
],
[
57,
58
],
[
9,
59
],
[
59,
60
],
[
155,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
69,
78
],
[
78,
79
],
[
61,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
83,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
93,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
82,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
61,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
110,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
120,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
109,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
132,
135
],
[
61,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
143,
144
],
[
61,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
149,
152
],
[
152,
153
],
[
0,
154
],
[
154,
155
],
[
154,
156
]
]
| [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n int[] N = new int[5];\n int ans = 0;\n for(int i=0; i<5; i++) {\n int n = sc.nextInt();\n if(n == 0) ans = i + 1;\n }\n out.println(ans);\n\n out.flush();\n\n }\n\n static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n int[] N = new int[5];\n int ans = 0;\n for(int i=0; i<5; i++) {\n int n = sc.nextInt();\n if(n == 0) ans = i + 1;\n }\n out.println(ans);\n\n out.flush();\n\n }\n\n static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n int[] N = new int[5];\n int ans = 0;\n for(int i=0; i<5; i++) {\n int n = sc.nextInt();\n if(n == 0) ans = i + 1;\n }\n out.println(ans);\n\n out.flush();\n\n }",
"main",
"{\n FastScanner sc = new FastScanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n int[] N = new int[5];\n int ans = 0;\n for(int i=0; i<5; i++) {\n int n = sc.nextInt();\n if(n == 0) ans = i + 1;\n }\n out.println(ans);\n\n out.flush();\n\n }",
"FastScanner sc = new FastScanner(System.in);",
"sc",
"new FastScanner(System.in)",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"int[] N = new int[5];",
"N",
"new int[5]",
"5",
"int ans = 0;",
"ans",
"0",
"for(int i=0; i<5; i++) {\n int n = sc.nextInt();\n if(n == 0) ans = i + 1;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n int n = sc.nextInt();\n if(n == 0) ans = i + 1;\n }",
"{\n int n = sc.nextInt();\n if(n == 0) ans = i + 1;\n }",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n == 0) ans = i + 1;",
"n == 0",
"n",
"0",
"ans = i + 1",
"ans",
"i + 1",
"i",
"1",
"out.println(ans)",
"out.println",
"out",
"ans",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }",
"FastScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }",
"FastScanner",
"{\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"tokenizer = null",
"tokenizer",
"null",
"InputStream in",
"in",
"public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"next",
"{\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }",
"nextLine",
"{\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n return reader.readLine();\n }",
"return reader.readLine();",
"reader.readLine()",
"reader.readLine",
"reader",
"return tokenizer.nextToken(\"\\n\");",
"tokenizer.nextToken(\"\\n\")",
"tokenizer.nextToken",
"tokenizer",
"\"\\n\"",
"public 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",
"public 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",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n int[] N = new int[5];\n int ans = 0;\n for(int i=0; i<5; i++) {\n int n = sc.nextInt();\n if(n == 0) ans = i + 1;\n }\n out.println(ans);\n\n out.flush();\n\n }\n\n static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n int[] N = new int[5];\n int ans = 0;\n for(int i=0; i<5; i++) {\n int n = sc.nextInt();\n if(n == 0) ans = i + 1;\n }\n out.println(ans);\n\n out.flush();\n\n }\n\n static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
FastScanner sc = new FastScanner(System.in);
PrintWriter out = new PrintWriter(System.out);
int[] N = new int[5];
int ans = 0;
for(int i=0; i<5; i++) {
int n = sc.nextInt();
if(n == 0) ans = i + 1;
}
out.println(ans);
out.flush();
}
static class FastScanner {
private BufferedReader reader = null;
private StringTokenizer tokenizer = null;
public FastScanner(InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
tokenizer = null;
}
public String next() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public String nextLine() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
return reader.readLine();
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken("\n");
}
public long nextLong() {
return Long.parseLong(next());
}
public int nextInt() {
return Integer.parseInt(next());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
17,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
39,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
50,
56
],
[
6,
57
],
[
57,
58
]
]
| [
"import java.util.*;\nclass Main{\n public static void main(String[]args){\n Scanner sc=new Scanner(System.in);\n int b=0;\n int[] a=new int[5];\n for(int i=0;i<5;i++){\n a[i]=sc.nextInt();\n if(a[i]==0) b=i+1;\n }\n System.out.printf(\"%d\",b);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[]args){\n Scanner sc=new Scanner(System.in);\n int b=0;\n int[] a=new int[5];\n for(int i=0;i<5;i++){\n a[i]=sc.nextInt();\n if(a[i]==0) b=i+1;\n }\n System.out.printf(\"%d\",b);\n }\n}",
"Main",
"public static void main(String[]args){\n Scanner sc=new Scanner(System.in);\n int b=0;\n int[] a=new int[5];\n for(int i=0;i<5;i++){\n a[i]=sc.nextInt();\n if(a[i]==0) b=i+1;\n }\n System.out.printf(\"%d\",b);\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n int b=0;\n int[] a=new int[5];\n for(int i=0;i<5;i++){\n a[i]=sc.nextInt();\n if(a[i]==0) b=i+1;\n }\n System.out.printf(\"%d\",b);\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int b=0;",
"b",
"0",
"int[] a=new int[5];",
"a",
"new int[5]",
"5",
"for(int i=0;i<5;i++){\n a[i]=sc.nextInt();\n if(a[i]==0) b=i+1;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n a[i]=sc.nextInt();\n if(a[i]==0) b=i+1;\n }",
"{\n a[i]=sc.nextInt();\n if(a[i]==0) b=i+1;\n }",
"a[i]=sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(a[i]==0) b=i+1;",
"a[i]==0",
"a[i]",
"a",
"i",
"0",
"b=i+1",
"b",
"i+1",
"i",
"1",
"System.out.printf(\"%d\",b)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d\"",
"b",
"String[]args",
"args"
]
| import java.util.*;
class Main{
public static void main(String[]args){
Scanner sc=new Scanner(System.in);
int b=0;
int[] a=new int[5];
for(int i=0;i<5;i++){
a[i]=sc.nextInt();
if(a[i]==0) b=i+1;
}
System.out.printf("%d",b);
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.