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,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] |
[
"import java.util.*;\npublic class Main\n{\n public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n long a=sc.nextLong();\n int t=0;\n long p=100;\n while(a>p)\n {\n p=p+p/100;\n t++;\n }\n System.out.println(t);\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n long a=sc.nextLong();\n int t=0;\n long p=100;\n while(a>p)\n {\n p=p+p/100;\n t++;\n }\n System.out.println(t);\n \n }\n}",
"Main",
"public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n long a=sc.nextLong();\n int t=0;\n long p=100;\n while(a>p)\n {\n p=p+p/100;\n t++;\n }\n System.out.println(t);\n \n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n long a=sc.nextLong();\n int t=0;\n long p=100;\n while(a>p)\n {\n p=p+p/100;\n t++;\n }\n System.out.println(t);\n \n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a=sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int t=0;",
"t",
"0",
"long p=100;",
"p",
"100",
"while(a>p)\n {\n p=p+p/100;\n t++;\n }",
"a>p",
"a",
"p",
"{\n p=p+p/100;\n t++;\n }",
"p=p+p/100",
"p",
"p+p/100",
"p",
"p/100",
"p",
"100",
"t++",
"t",
"System.out.println(t)",
"System.out.println",
"System.out",
"System",
"System.out",
"t",
"String[] args",
"args",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n long a=sc.nextLong();\n int t=0;\n long p=100;\n while(a>p)\n {\n p=p+p/100;\n t++;\n }\n System.out.println(t);\n \n }\n}",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n long a=sc.nextLong();\n int t=0;\n long p=100;\n while(a>p)\n {\n p=p+p/100;\n t++;\n }\n System.out.println(t);\n \n }\n}",
"Main"
] |
import java.util.*;
public class Main
{
public static void main(String[] args)
{
Scanner sc=new Scanner(System.in);
long a=sc.nextLong();
int t=0;
long p=100;
while(a>p)
{
p=p+p/100;
t++;
}
System.out.println(t);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long yokin = 100;\n long n = 0;\n\n while (yokin < x) {\n yokin = (long) ((double) yokin * 1.01);\n n++;\n }\n\n System.out.print(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 long x = sc.nextLong();\n long yokin = 100;\n long n = 0;\n\n while (yokin < x) {\n yokin = (long) ((double) yokin * 1.01);\n n++;\n }\n\n System.out.print(n);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long yokin = 100;\n long n = 0;\n\n while (yokin < x) {\n yokin = (long) ((double) yokin * 1.01);\n n++;\n }\n\n System.out.print(n);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long yokin = 100;\n long n = 0;\n\n while (yokin < x) {\n yokin = (long) ((double) yokin * 1.01);\n n++;\n }\n\n System.out.print(n);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long yokin = 100;",
"yokin",
"100",
"long n = 0;",
"n",
"0",
"while (yokin < x) {\n yokin = (long) ((double) yokin * 1.01);\n n++;\n }",
"yokin < x",
"yokin",
"x",
"{\n yokin = (long) ((double) yokin * 1.01);\n n++;\n }",
"yokin = (long) ((double) yokin * 1.01)",
"yokin",
"(long) ((double) yokin * 1.01)",
"(double) yokin",
"1.01",
"n++",
"n",
"System.out.print(n)",
"System.out.print",
"System.out",
"System",
"System.out",
"n",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long yokin = 100;\n long n = 0;\n\n while (yokin < x) {\n yokin = (long) ((double) yokin * 1.01);\n n++;\n }\n\n System.out.print(n);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long yokin = 100;\n long n = 0;\n\n while (yokin < x) {\n yokin = (long) ((double) yokin * 1.01);\n n++;\n }\n\n System.out.print(n);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
long yokin = 100;
long n = 0;
while (yokin < x) {
yokin = (long) ((double) yokin * 1.01);
n++;
}
System.out.print(n);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
3,
0,
13,
2,
13,
17,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
20,
28
],
[
29,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
34,
41
],
[
29,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] |
[
"import java.util.Scanner;\n \npublic class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n final long x = sc.nextLong();\n long l = 100;\n for(int i=0;;i++){\n if(l >= x){\n System.out.println(i);\n break;\n }\n l += l / 100;\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n final long x = sc.nextLong();\n long l = 100;\n for(int i=0;;i++){\n if(l >= x){\n System.out.println(i);\n break;\n }\n l += l / 100;\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n final long x = sc.nextLong();\n long l = 100;\n for(int i=0;;i++){\n if(l >= x){\n System.out.println(i);\n break;\n }\n l += l / 100;\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n final long x = sc.nextLong();\n long l = 100;\n for(int i=0;;i++){\n if(l >= x){\n System.out.println(i);\n break;\n }\n l += l / 100;\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long l = 100;",
"l",
"100",
"for(int i=0;;i++){\n if(l >= x){\n System.out.println(i);\n break;\n }\n l += l / 100;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i++",
"i++",
"i",
"{\n if(l >= x){\n System.out.println(i);\n break;\n }\n l += l / 100;\n }",
"{\n if(l >= x){\n System.out.println(i);\n break;\n }\n l += l / 100;\n }",
"if(l >= x){\n System.out.println(i);\n break;\n }",
"l >= x",
"l",
"x",
"{\n System.out.println(i);\n break;\n }",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"break;",
"l += l / 100",
"l",
"l / 100",
"l",
"100",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n final long x = sc.nextLong();\n long l = 100;\n for(int i=0;;i++){\n if(l >= x){\n System.out.println(i);\n break;\n }\n l += l / 100;\n }\n }\n}",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n final long x = sc.nextLong();\n long l = 100;\n for(int i=0;;i++){\n if(l >= x){\n System.out.println(i);\n break;\n }\n l += l / 100;\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
final long x = sc.nextLong();
long l = 100;
for(int i=0;;i++){
if(l >= x){
System.out.println(i);
break;
}
l += l / 100;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
4,
18,
13,
17,
41,
13,
20,
41,
13,
17,
42,
2,
4,
18,
4,
18,
13,
4,
18,
13,
17,
13,
40,
17,
30,
0,
13,
4,
18,
4,
18,
13,
4,
18,
13,
17,
0,
13,
20,
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
],
[
78,
11
],
[
78,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
14,
32
],
[
32,
33
],
[
32,
34
],
[
14,
35
],
[
35,
36
],
[
35,
37
],
[
14,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
40,
49
],
[
39,
50
],
[
50,
51
],
[
38,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
52,
64
],
[
64,
65
],
[
64,
66
],
[
52,
67
],
[
67,
68
],
[
14,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
12,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
] |
[
"import java.math.BigDecimal;\nimport java.math.BigInteger;\nimport java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString K = (sc.next());\n\t\tBigDecimal X = new BigDecimal(K);\n\t\tBigInteger t = BigInteger.valueOf(100);\n\t\tBigDecimal T = new BigDecimal(t);\n\t\tint year = 1;\n\t\twhile ((T.multiply(BigDecimal.valueOf(1.01))).compareTo(X) == -1) {\n\t\t\tt = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger();\n\t\t\tT = new BigDecimal(t);\n\t\t\tyear++;\n\t\t}\n\t\tSystem.out.println(year);\n\t}\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"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\tString K = (sc.next());\n\t\tBigDecimal X = new BigDecimal(K);\n\t\tBigInteger t = BigInteger.valueOf(100);\n\t\tBigDecimal T = new BigDecimal(t);\n\t\tint year = 1;\n\t\twhile ((T.multiply(BigDecimal.valueOf(1.01))).compareTo(X) == -1) {\n\t\t\tt = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger();\n\t\t\tT = new BigDecimal(t);\n\t\t\tyear++;\n\t\t}\n\t\tSystem.out.println(year);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString K = (sc.next());\n\t\tBigDecimal X = new BigDecimal(K);\n\t\tBigInteger t = BigInteger.valueOf(100);\n\t\tBigDecimal T = new BigDecimal(t);\n\t\tint year = 1;\n\t\twhile ((T.multiply(BigDecimal.valueOf(1.01))).compareTo(X) == -1) {\n\t\t\tt = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger();\n\t\t\tT = new BigDecimal(t);\n\t\t\tyear++;\n\t\t}\n\t\tSystem.out.println(year);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString K = (sc.next());\n\t\tBigDecimal X = new BigDecimal(K);\n\t\tBigInteger t = BigInteger.valueOf(100);\n\t\tBigDecimal T = new BigDecimal(t);\n\t\tint year = 1;\n\t\twhile ((T.multiply(BigDecimal.valueOf(1.01))).compareTo(X) == -1) {\n\t\t\tt = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger();\n\t\t\tT = new BigDecimal(t);\n\t\t\tyear++;\n\t\t}\n\t\tSystem.out.println(year);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String K = (sc.next());",
"K",
"(sc.next())",
"sc.next",
"sc",
"BigDecimal X = new BigDecimal(K);",
"X",
"new BigDecimal(K)",
"BigInteger t = BigInteger.valueOf(100);",
"t",
"BigInteger.valueOf(100)",
"BigInteger.valueOf",
"BigInteger",
"100",
"BigDecimal T = new BigDecimal(t);",
"T",
"new BigDecimal(t)",
"int year = 1;",
"year",
"1",
"while ((T.multiply(BigDecimal.valueOf(1.01))).compareTo(X) == -1) {\n\t\t\tt = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger();\n\t\t\tT = new BigDecimal(t);\n\t\t\tyear++;\n\t\t}",
"(T.multiply(BigDecimal.valueOf(1.01))).compareTo(X) == -1",
"(T.multiply(BigDecimal.valueOf(1.01))).compareTo(X)",
"(T.multiply(BigDecimal.valueOf(1.01))).compareTo",
"(T.multiply(BigDecimal.valueOf(1.01)))",
"T.multiply",
"T",
"BigDecimal.valueOf(1.01)",
"BigDecimal.valueOf",
"BigDecimal",
"1.01",
"X",
"-1",
"1",
"{\n\t\t\tt = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger();\n\t\t\tT = new BigDecimal(t);\n\t\t\tyear++;\n\t\t}",
"t = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger()",
"t",
"(T.multiply(BigDecimal.valueOf(1.01))).toBigInteger()",
"(T.multiply(BigDecimal.valueOf(1.01))).toBigInteger",
"(T.multiply(BigDecimal.valueOf(1.01)))",
"T.multiply",
"T",
"BigDecimal.valueOf(1.01)",
"BigDecimal.valueOf",
"BigDecimal",
"1.01",
"T = new BigDecimal(t)",
"T",
"new BigDecimal(t)",
"year++",
"year",
"System.out.println(year)",
"System.out.println",
"System.out",
"System",
"System.out",
"year",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString K = (sc.next());\n\t\tBigDecimal X = new BigDecimal(K);\n\t\tBigInteger t = BigInteger.valueOf(100);\n\t\tBigDecimal T = new BigDecimal(t);\n\t\tint year = 1;\n\t\twhile ((T.multiply(BigDecimal.valueOf(1.01))).compareTo(X) == -1) {\n\t\t\tt = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger();\n\t\t\tT = new BigDecimal(t);\n\t\t\tyear++;\n\t\t}\n\t\tSystem.out.println(year);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString K = (sc.next());\n\t\tBigDecimal X = new BigDecimal(K);\n\t\tBigInteger t = BigInteger.valueOf(100);\n\t\tBigDecimal T = new BigDecimal(t);\n\t\tint year = 1;\n\t\twhile ((T.multiply(BigDecimal.valueOf(1.01))).compareTo(X) == -1) {\n\t\t\tt = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger();\n\t\t\tT = new BigDecimal(t);\n\t\t\tyear++;\n\t\t}\n\t\tSystem.out.println(year);\n\t}\n}",
"Main"
] |
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String K = (sc.next());
BigDecimal X = new BigDecimal(K);
BigInteger t = BigInteger.valueOf(100);
BigDecimal T = new BigDecimal(t);
int year = 1;
while ((T.multiply(BigDecimal.valueOf(1.01))).compareTo(X) == -1) {
t = (T.multiply(BigDecimal.valueOf(1.01))).toBigInteger();
T = new BigDecimal(t);
year++;
}
System.out.println(year);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n\n long money = 100;\n long cou = 0;\n while(money<X){\n money = (long)(money*1.01);\n cou++;\n }\n System.out.println(cou); \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 long X = sc.nextLong();\n\n long money = 100;\n long cou = 0;\n while(money<X){\n money = (long)(money*1.01);\n cou++;\n }\n System.out.println(cou); \n }\n}",
"Main",
"public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n\n long money = 100;\n long cou = 0;\n while(money<X){\n money = (long)(money*1.01);\n cou++;\n }\n System.out.println(cou); \n }",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n\n long money = 100;\n long cou = 0;\n while(money<X){\n money = (long)(money*1.01);\n cou++;\n }\n System.out.println(cou); \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long money = 100;",
"money",
"100",
"long cou = 0;",
"cou",
"0",
"while(money<X){\n money = (long)(money*1.01);\n cou++;\n }",
"money<X",
"money",
"X",
"{\n money = (long)(money*1.01);\n cou++;\n }",
"money = (long)(money*1.01)",
"money",
"(long)(money*1.01)",
"money",
"1.01",
"cou++",
"cou",
"System.out.println(cou)",
"System.out.println",
"System.out",
"System",
"System.out",
"cou",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n\n long money = 100;\n long cou = 0;\n while(money<X){\n money = (long)(money*1.01);\n cou++;\n }\n System.out.println(cou); \n }\n}",
"public class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n\n long money = 100;\n long cou = 0;\n while(money<X){\n money = (long)(money*1.01);\n cou++;\n }\n System.out.println(cou); \n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long X = sc.nextLong();
long money = 100;
long cou = 0;
while(money<X){
money = (long)(money*1.01);
cou++;
}
System.out.println(cou);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
53,
5
],
[
53,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
30,
42
],
[
42,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
6,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] |
[
"import java.util.Scanner;\n\n/**\n * Main\n */\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long X = sc.nextLong();\n long count = 0;\n double Yokin = 100;\n double Kinri = 1.01;\n\n while (Yokin < X) {\n Yokin = Yokin*Kinri;\n Yokin = Math.floor(Yokin);\n count++;\n }\n System.out.println(count);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long X = sc.nextLong();\n long count = 0;\n double Yokin = 100;\n double Kinri = 1.01;\n\n while (Yokin < X) {\n Yokin = Yokin*Kinri;\n Yokin = Math.floor(Yokin);\n count++;\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long X = sc.nextLong();\n long count = 0;\n double Yokin = 100;\n double Kinri = 1.01;\n\n while (Yokin < X) {\n Yokin = Yokin*Kinri;\n Yokin = Math.floor(Yokin);\n count++;\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n long X = sc.nextLong();\n long count = 0;\n double Yokin = 100;\n double Kinri = 1.01;\n\n while (Yokin < X) {\n Yokin = Yokin*Kinri;\n Yokin = Math.floor(Yokin);\n count++;\n }\n System.out.println(count);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long count = 0;",
"count",
"0",
"double Yokin = 100;",
"Yokin",
"100",
"double Kinri = 1.01;",
"Kinri",
"1.01",
"while (Yokin < X) {\n Yokin = Yokin*Kinri;\n Yokin = Math.floor(Yokin);\n count++;\n }",
"Yokin < X",
"Yokin",
"X",
"{\n Yokin = Yokin*Kinri;\n Yokin = Math.floor(Yokin);\n count++;\n }",
"Yokin = Yokin*Kinri",
"Yokin",
"Yokin*Kinri",
"Yokin",
"Kinri",
"Yokin = Math.floor(Yokin)",
"Yokin",
"Math.floor(Yokin)",
"Math.floor",
"Math",
"Yokin",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long X = sc.nextLong();\n long count = 0;\n double Yokin = 100;\n double Kinri = 1.01;\n\n while (Yokin < X) {\n Yokin = Yokin*Kinri;\n Yokin = Math.floor(Yokin);\n count++;\n }\n System.out.println(count);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long X = sc.nextLong();\n long count = 0;\n double Yokin = 100;\n double Kinri = 1.01;\n\n while (Yokin < X) {\n Yokin = Yokin*Kinri;\n Yokin = Math.floor(Yokin);\n count++;\n }\n System.out.println(count);\n }\n}",
"Main"
] |
import java.util.Scanner;
/**
* Main
*/
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long X = sc.nextLong();
long count = 0;
double Yokin = 100;
double Kinri = 1.01;
while (Yokin < X) {
Yokin = Yokin*Kinri;
Yokin = Math.floor(Yokin);
count++;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
4,
18,
13,
2,
13,
17,
40,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
27,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] |
[
"//package atcoder;\n \nimport java.util.*;\n \npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong rishi = 100;\n\t\tlong count = 0;\n\t\t//System.out.println(Math.pow(1.01, 2));\n\t\twhile(rishi<X) {\n\t\t\trishi = (long) Math.floor(rishi*1.01);\n\t\t\tcount ++;\n\t\t\t//System.out.println(count);\n\t\t}\n\t\tSystem.out.println(count);\n\t\t}\n\t\t\n\t}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong rishi = 100;\n\t\tlong count = 0;\n\t\t//System.out.println(Math.pow(1.01, 2));\n\t\twhile(rishi<X) {\n\t\t\trishi = (long) Math.floor(rishi*1.01);\n\t\t\tcount ++;\n\t\t\t//System.out.println(count);\n\t\t}\n\t\tSystem.out.println(count);\n\t\t}\n\t\t\n\t}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong rishi = 100;\n\t\tlong count = 0;\n\t\t//System.out.println(Math.pow(1.01, 2));\n\t\twhile(rishi<X) {\n\t\t\trishi = (long) Math.floor(rishi*1.01);\n\t\t\tcount ++;\n\t\t\t//System.out.println(count);\n\t\t}\n\t\tSystem.out.println(count);\n\t\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong rishi = 100;\n\t\tlong count = 0;\n\t\t//System.out.println(Math.pow(1.01, 2));\n\t\twhile(rishi<X) {\n\t\t\trishi = (long) Math.floor(rishi*1.01);\n\t\t\tcount ++;\n\t\t\t//System.out.println(count);\n\t\t}\n\t\tSystem.out.println(count);\n\t\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long rishi = 100;",
"rishi",
"100",
"long count = 0;",
"count",
"0",
"while(rishi<X) {\n\t\t\trishi = (long) Math.floor(rishi*1.01);\n\t\t\tcount ++;\n\t\t\t//System.out.println(count);\n\t\t}",
"rishi<X",
"rishi",
"X",
"{\n\t\t\trishi = (long) Math.floor(rishi*1.01);\n\t\t\tcount ++;\n\t\t\t//System.out.println(count);\n\t\t}",
"rishi = (long) Math.floor(rishi*1.01)",
"rishi",
"(long) Math.floor(rishi*1.01)",
"Math.floor",
"Math",
"rishi*1.01",
"rishi",
"1.01",
"count ++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong rishi = 100;\n\t\tlong count = 0;\n\t\t//System.out.println(Math.pow(1.01, 2));\n\t\twhile(rishi<X) {\n\t\t\trishi = (long) Math.floor(rishi*1.01);\n\t\t\tcount ++;\n\t\t\t//System.out.println(count);\n\t\t}\n\t\tSystem.out.println(count);\n\t\t}\n\t\t\n\t}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong rishi = 100;\n\t\tlong count = 0;\n\t\t//System.out.println(Math.pow(1.01, 2));\n\t\twhile(rishi<X) {\n\t\t\trishi = (long) Math.floor(rishi*1.01);\n\t\t\tcount ++;\n\t\t\t//System.out.println(count);\n\t\t}\n\t\tSystem.out.println(count);\n\t\t}\n\t\t\n\t}",
"Main"
] |
//package atcoder;
import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long X = sc.nextLong();
long rishi = 100;
long count = 0;
//System.out.println(Math.pow(1.01, 2));
while(rishi<X) {
rishi = (long) Math.floor(rishi*1.01);
count ++;
//System.out.println(count);
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
4,
18,
13,
2,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
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,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
33,
42
],
[
42,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] |
[
"import java.util.Scanner;\n\n\npublic class Main {\n\n\n//\tfinal int MOD = 1000000007;\n\n\n\tpublic static void main(String[] args) {\n\n\t\tlong ans = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean f = false;\n\n\t\tlong n = sc.nextLong();\n\n\n\t\t//-------------------------------------------------------------------------------------\n\n\t\tdouble k = 100;\n\t\tdouble r = 1.01;\n\n\t\tdo {\n\t\t\tk = Math.floor(k * r);\n\t\t\tans++;\n\t\t} while(k < n);\n\n\t\t//-------------------------------------------------------------------------------------\n\n//\t\tfor(int i = 0; i < n; i++) {\n//\t\t\tSystem.out.println(ans[i]);\n//\t\t}\n\n//\t\tif(f) {\n//\t\t\tSystem.out.println(\"OK\");\n//\t\t} else {\n//\t\t\tSystem.out.println(\"NG\");\n//\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t\tsc.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\n//\tfinal int MOD = 1000000007;\n\n\n\tpublic static void main(String[] args) {\n\n\t\tlong ans = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean f = false;\n\n\t\tlong n = sc.nextLong();\n\n\n\t\t//-------------------------------------------------------------------------------------\n\n\t\tdouble k = 100;\n\t\tdouble r = 1.01;\n\n\t\tdo {\n\t\t\tk = Math.floor(k * r);\n\t\t\tans++;\n\t\t} while(k < n);\n\n\t\t//-------------------------------------------------------------------------------------\n\n//\t\tfor(int i = 0; i < n; i++) {\n//\t\t\tSystem.out.println(ans[i]);\n//\t\t}\n\n//\t\tif(f) {\n//\t\t\tSystem.out.println(\"OK\");\n//\t\t} else {\n//\t\t\tSystem.out.println(\"NG\");\n//\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tlong ans = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean f = false;\n\n\t\tlong n = sc.nextLong();\n\n\n\t\t//-------------------------------------------------------------------------------------\n\n\t\tdouble k = 100;\n\t\tdouble r = 1.01;\n\n\t\tdo {\n\t\t\tk = Math.floor(k * r);\n\t\t\tans++;\n\t\t} while(k < n);\n\n\t\t//-------------------------------------------------------------------------------------\n\n//\t\tfor(int i = 0; i < n; i++) {\n//\t\t\tSystem.out.println(ans[i]);\n//\t\t}\n\n//\t\tif(f) {\n//\t\t\tSystem.out.println(\"OK\");\n//\t\t} else {\n//\t\t\tSystem.out.println(\"NG\");\n//\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t\tsc.close();\n\t}",
"main",
"{\n\n\t\tlong ans = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean f = false;\n\n\t\tlong n = sc.nextLong();\n\n\n\t\t//-------------------------------------------------------------------------------------\n\n\t\tdouble k = 100;\n\t\tdouble r = 1.01;\n\n\t\tdo {\n\t\t\tk = Math.floor(k * r);\n\t\t\tans++;\n\t\t} while(k < n);\n\n\t\t//-------------------------------------------------------------------------------------\n\n//\t\tfor(int i = 0; i < n; i++) {\n//\t\t\tSystem.out.println(ans[i]);\n//\t\t}\n\n//\t\tif(f) {\n//\t\t\tSystem.out.println(\"OK\");\n//\t\t} else {\n//\t\t\tSystem.out.println(\"NG\");\n//\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t\tsc.close();\n\t}",
"long ans = 0;",
"ans",
"0",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"boolean f = false;",
"f",
"false",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double k = 100;",
"k",
"100",
"double r = 1.01;",
"r",
"1.01",
"do {\n\t\t\tk = Math.floor(k * r);\n\t\t\tans++;\n\t\t} while(k < n);",
"k < n",
"k",
"n",
"{\n\t\t\tk = Math.floor(k * r);\n\t\t\tans++;\n\t\t}",
"k = Math.floor(k * r)",
"k",
"Math.floor(k * r)",
"Math.floor",
"Math",
"k * r",
"k",
"r",
"ans++",
"ans",
"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\n//\tfinal int MOD = 1000000007;\n\n\n\tpublic static void main(String[] args) {\n\n\t\tlong ans = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean f = false;\n\n\t\tlong n = sc.nextLong();\n\n\n\t\t//-------------------------------------------------------------------------------------\n\n\t\tdouble k = 100;\n\t\tdouble r = 1.01;\n\n\t\tdo {\n\t\t\tk = Math.floor(k * r);\n\t\t\tans++;\n\t\t} while(k < n);\n\n\t\t//-------------------------------------------------------------------------------------\n\n//\t\tfor(int i = 0; i < n; i++) {\n//\t\t\tSystem.out.println(ans[i]);\n//\t\t}\n\n//\t\tif(f) {\n//\t\t\tSystem.out.println(\"OK\");\n//\t\t} else {\n//\t\t\tSystem.out.println(\"NG\");\n//\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\n\n//\tfinal int MOD = 1000000007;\n\n\n\tpublic static void main(String[] args) {\n\n\t\tlong ans = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean f = false;\n\n\t\tlong n = sc.nextLong();\n\n\n\t\t//-------------------------------------------------------------------------------------\n\n\t\tdouble k = 100;\n\t\tdouble r = 1.01;\n\n\t\tdo {\n\t\t\tk = Math.floor(k * r);\n\t\t\tans++;\n\t\t} while(k < n);\n\n\t\t//-------------------------------------------------------------------------------------\n\n//\t\tfor(int i = 0; i < n; i++) {\n//\t\t\tSystem.out.println(ans[i]);\n//\t\t}\n\n//\t\tif(f) {\n//\t\t\tSystem.out.println(\"OK\");\n//\t\t} else {\n//\t\t\tSystem.out.println(\"NG\");\n//\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t\tsc.close();\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
// final int MOD = 1000000007;
public static void main(String[] args) {
long ans = 0;
Scanner sc = new Scanner(System.in);
boolean f = false;
long n = sc.nextLong();
//-------------------------------------------------------------------------------------
double k = 100;
double r = 1.01;
do {
k = Math.floor(k * r);
ans++;
} while(k < n);
//-------------------------------------------------------------------------------------
// for(int i = 0; i < n; i++) {
// System.out.println(ans[i]);
// }
// if(f) {
// System.out.println("OK");
// } else {
// System.out.println("NG");
// }
System.out.println(ans);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
13,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
0,
13,
4,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
53,
5
],
[
53,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
30,
42
],
[
42,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
6,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] |
[
"import java.util.Scanner;\n \npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n long X=sc.nextLong();\n int count=0;\n int N=100;\n double money=N;\n while (money<X) {\n \tmoney=money*1.01;\n \tmoney=Math.floor(money);\n \tcount++;\n }\n System.out.println(count);\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 \n long X=sc.nextLong();\n int count=0;\n int N=100;\n double money=N;\n while (money<X) {\n \tmoney=money*1.01;\n \tmoney=Math.floor(money);\n \tcount++;\n }\n System.out.println(count);\n }}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n long X=sc.nextLong();\n int count=0;\n int N=100;\n double money=N;\n while (money<X) {\n \tmoney=money*1.01;\n \tmoney=Math.floor(money);\n \tcount++;\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n long X=sc.nextLong();\n int count=0;\n int N=100;\n double money=N;\n while (money<X) {\n \tmoney=money*1.01;\n \tmoney=Math.floor(money);\n \tcount++;\n }\n System.out.println(count);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X=sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int count=0;",
"count",
"0",
"int N=100;",
"N",
"100",
"double money=N;",
"money",
"N",
"while (money<X) {\n \tmoney=money*1.01;\n \tmoney=Math.floor(money);\n \tcount++;\n }",
"money<X",
"money",
"X",
"{\n \tmoney=money*1.01;\n \tmoney=Math.floor(money);\n \tcount++;\n }",
"money=money*1.01",
"money",
"money*1.01",
"money",
"1.01",
"money=Math.floor(money)",
"money",
"Math.floor(money)",
"Math.floor",
"Math",
"money",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n long X=sc.nextLong();\n int count=0;\n int N=100;\n double money=N;\n while (money<X) {\n \tmoney=money*1.01;\n \tmoney=Math.floor(money);\n \tcount++;\n }\n System.out.println(count);\n }}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n long X=sc.nextLong();\n int count=0;\n int N=100;\n double money=N;\n while (money<X) {\n \tmoney=money*1.01;\n \tmoney=Math.floor(money);\n \tcount++;\n }\n System.out.println(count);\n }}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long X=sc.nextLong();
int count=0;
int N=100;
double money=N;
while (money<X) {
money=money*1.01;
money=Math.floor(money);
count++;
}
System.out.println(count);
}}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
17,
42,
17,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
3,
0,
13,
2,
13,
17,
40,
13,
4,
18,
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,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
30,
37
],
[
25,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
25,
43
],
[
43,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"import 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\tlong yokin = 100;\n\t\t// 目標金額\n\t\tlong purpose = sc.nextLong();\n\t\t// 経過年度\n\t\tint year = 0;\n\n\t\twhile(true) {\n\t\t\tif(yokin >= purpose) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tyokin = (long) (yokin * 1.01);\n\t\t\tyear++;\n\t\t}\n\n\t\tsc.close();\n\t}\n\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\n\t\tlong yokin = 100;\n\t\t// 目標金額\n\t\tlong purpose = sc.nextLong();\n\t\t// 経過年度\n\t\tint year = 0;\n\n\t\twhile(true) {\n\t\t\tif(yokin >= purpose) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tyokin = (long) (yokin * 1.01);\n\t\t\tyear++;\n\t\t}\n\n\t\tsc.close();\n\t}\n\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong yokin = 100;\n\t\t// 目標金額\n\t\tlong purpose = sc.nextLong();\n\t\t// 経過年度\n\t\tint year = 0;\n\n\t\twhile(true) {\n\t\t\tif(yokin >= purpose) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tyokin = (long) (yokin * 1.01);\n\t\t\tyear++;\n\t\t}\n\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong yokin = 100;\n\t\t// 目標金額\n\t\tlong purpose = sc.nextLong();\n\t\t// 経過年度\n\t\tint year = 0;\n\n\t\twhile(true) {\n\t\t\tif(yokin >= purpose) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tyokin = (long) (yokin * 1.01);\n\t\t\tyear++;\n\t\t}\n\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long yokin = 100;",
"yokin",
"100",
"long purpose = sc.nextLong();",
"purpose",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int year = 0;",
"year",
"0",
"while(true) {\n\t\t\tif(yokin >= purpose) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tyokin = (long) (yokin * 1.01);\n\t\t\tyear++;\n\t\t}",
"true",
"{\n\t\t\tif(yokin >= purpose) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tyokin = (long) (yokin * 1.01);\n\t\t\tyear++;\n\t\t}",
"if(yokin >= purpose) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tbreak;\n\t\t\t}",
"yokin >= purpose",
"yokin",
"purpose",
"{\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tbreak;\n\t\t\t}",
"System.out.println(year)",
"System.out.println",
"System.out",
"System",
"System.out",
"year",
"break;",
"yokin = (long) (yokin * 1.01)",
"yokin",
"(long) (yokin * 1.01)",
"yokin",
"1.01",
"year++",
"year",
"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\n\t\tlong yokin = 100;\n\t\t// 目標金額\n\t\tlong purpose = sc.nextLong();\n\t\t// 経過年度\n\t\tint year = 0;\n\n\t\twhile(true) {\n\t\t\tif(yokin >= purpose) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tyokin = (long) (yokin * 1.01);\n\t\t\tyear++;\n\t\t}\n\n\t\tsc.close();\n\t}\n\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong yokin = 100;\n\t\t// 目標金額\n\t\tlong purpose = sc.nextLong();\n\t\t// 経過年度\n\t\tint year = 0;\n\n\t\twhile(true) {\n\t\t\tif(yokin >= purpose) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tyokin = (long) (yokin * 1.01);\n\t\t\tyear++;\n\t\t}\n\n\t\tsc.close();\n\t}\n\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long yokin = 100;
// 目標金額
long purpose = sc.nextLong();
// 経過年度
int year = 0;
while(true) {
if(yokin >= purpose) {
System.out.println(year);
break;
}
yokin = (long) (yokin * 1.01);
year++;
}
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
0,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong X;\n\t\tX = sc.nextLong();\n\t\tint i=0;\n\t\tlong p=100;\n\t\t\twhile(p<X) {\n\t\t\t\tp*=1.01;\n\t\t\t\ti++;\n\t\t\t}\n\t\tSystem.out.println(i);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong X;\n\t\tX = sc.nextLong();\n\t\tint i=0;\n\t\tlong p=100;\n\t\t\twhile(p<X) {\n\t\t\t\tp*=1.01;\n\t\t\t\ti++;\n\t\t\t}\n\t\tSystem.out.println(i);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong X;\n\t\tX = sc.nextLong();\n\t\tint i=0;\n\t\tlong p=100;\n\t\t\twhile(p<X) {\n\t\t\t\tp*=1.01;\n\t\t\t\ti++;\n\t\t\t}\n\t\tSystem.out.println(i);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong X;\n\t\tX = sc.nextLong();\n\t\tint i=0;\n\t\tlong p=100;\n\t\t\twhile(p<X) {\n\t\t\t\tp*=1.01;\n\t\t\t\ti++;\n\t\t\t}\n\t\tSystem.out.println(i);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X;",
"X",
"X = sc.nextLong()",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int i=0;",
"i",
"0",
"long p=100;",
"p",
"100",
"while(p<X) {\n\t\t\t\tp*=1.01;\n\t\t\t\ti++;\n\t\t\t}",
"p<X",
"p",
"X",
"{\n\t\t\t\tp*=1.01;\n\t\t\t\ti++;\n\t\t\t}",
"p*=1.01",
"p",
"1.01",
"i++",
"i",
"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 sc = new Scanner(System.in);\n\n\t\tlong X;\n\t\tX = sc.nextLong();\n\t\tint i=0;\n\t\tlong p=100;\n\t\t\twhile(p<X) {\n\t\t\t\tp*=1.01;\n\t\t\t\ti++;\n\t\t\t}\n\t\tSystem.out.println(i);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong X;\n\t\tX = sc.nextLong();\n\t\tint i=0;\n\t\tlong p=100;\n\t\t\twhile(p<X) {\n\t\t\t\tp*=1.01;\n\t\t\t\ti++;\n\t\t\t}\n\t\tSystem.out.println(i);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long X;
X = sc.nextLong();
int i=0;
long p=100;
while(p<X) {
p*=1.01;
i++;
}
System.out.println(i);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
40,
13,
41,
13,
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
],
[
47,
5
],
[
47,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
27,
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;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long num = 100;\n int count = 0;\n while(num < x){\n count ++;\n double t = num * 1.01;\n num = (long)t;\n }\n System.out.println(count);\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 long x = sc.nextLong();\n long num = 100;\n int count = 0;\n while(num < x){\n count ++;\n double t = num * 1.01;\n num = (long)t;\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long num = 100;\n int count = 0;\n while(num < x){\n count ++;\n double t = num * 1.01;\n num = (long)t;\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long num = 100;\n int count = 0;\n while(num < x){\n count ++;\n double t = num * 1.01;\n num = (long)t;\n }\n System.out.println(count);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long num = 100;",
"num",
"100",
"int count = 0;",
"count",
"0",
"while(num < x){\n count ++;\n double t = num * 1.01;\n num = (long)t;\n }",
"num < x",
"num",
"x",
"{\n count ++;\n double t = num * 1.01;\n num = (long)t;\n }",
"count ++",
"count",
"double t = num * 1.01;",
"t",
"num * 1.01",
"num",
"1.01",
"num = (long)t",
"num",
"(long)t",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long num = 100;\n int count = 0;\n while(num < x){\n count ++;\n double t = num * 1.01;\n num = (long)t;\n }\n System.out.println(count);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long num = 100;\n int count = 0;\n while(num < x){\n count ++;\n double t = num * 1.01;\n num = (long)t;\n }\n System.out.println(count);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
long num = 100;
int count = 0;
while(num < x){
count ++;
double t = num * 1.01;
num = (long)t;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
]
] |
[
"import java.util.*;\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n Long price = 100L;\n int year = 0;\n while(price<N){\n price += price/100;\n year++;\n }\n System.out.print(year);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n Long price = 100L;\n int year = 0;\n while(price<N){\n price += price/100;\n year++;\n }\n System.out.print(year);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n Long price = 100L;\n int year = 0;\n while(price<N){\n price += price/100;\n year++;\n }\n System.out.print(year);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n Long price = 100L;\n int year = 0;\n while(price<N){\n price += price/100;\n year++;\n }\n System.out.print(year);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"Long price = 100L;",
"price",
"100L",
"int year = 0;",
"year",
"0",
"while(price<N){\n price += price/100;\n year++;\n }",
"price<N",
"price",
"N",
"{\n price += price/100;\n year++;\n }",
"price += price/100",
"price",
"price/100",
"price",
"100",
"year++",
"year",
"System.out.print(year)",
"System.out.print",
"System.out",
"System",
"System.out",
"year",
"String[] args",
"args"
] |
import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
Long price = 100L;
int year = 0;
while(price<N){
price += price/100;
year++;
}
System.out.print(year);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
11,
1,
30,
30,
0,
13,
17,
40,
13,
14,
2,
13,
13,
3,
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
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
29,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
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.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n long target = Long.valueOf(sc.next());\n long yen = 100;\n int count = 0;\n\n for(;;) {\n yen *= 1.01;\n count++;\n if(yen >= target) break;\n }\n System.out.println(count);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n long target = Long.valueOf(sc.next());\n long yen = 100;\n int count = 0;\n\n for(;;) {\n yen *= 1.01;\n count++;\n if(yen >= target) break;\n }\n System.out.println(count);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n long target = Long.valueOf(sc.next());\n long yen = 100;\n int count = 0;\n\n for(;;) {\n yen *= 1.01;\n count++;\n if(yen >= target) break;\n }\n System.out.println(count);\n\t}",
"main",
"{\n\t Scanner sc = new Scanner(System.in);\n long target = Long.valueOf(sc.next());\n long yen = 100;\n int count = 0;\n\n for(;;) {\n yen *= 1.01;\n count++;\n if(yen >= target) break;\n }\n System.out.println(count);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long target = Long.valueOf(sc.next());",
"target",
"Long.valueOf(sc.next())",
"Long.valueOf",
"Long",
"sc.next()",
"sc.next",
"sc",
"long yen = 100;",
"yen",
"100",
"int count = 0;",
"count",
"0",
"for(;;) {\n yen *= 1.01;\n count++;\n if(yen >= target) break;\n }",
";",
"{\n yen *= 1.01;\n count++;\n if(yen >= target) break;\n }",
"{\n yen *= 1.01;\n count++;\n if(yen >= target) break;\n }",
"yen *= 1.01",
"yen",
"1.01",
"count++",
"count",
"if(yen >= target) break;",
"yen >= target",
"yen",
"target",
"break;",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n long target = Long.valueOf(sc.next());\n long yen = 100;\n int count = 0;\n\n for(;;) {\n yen *= 1.01;\n count++;\n if(yen >= target) break;\n }\n System.out.println(count);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n long target = Long.valueOf(sc.next());\n long yen = 100;\n int count = 0;\n\n for(;;) {\n yen *= 1.01;\n count++;\n if(yen >= target) break;\n }\n System.out.println(count);\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long target = Long.valueOf(sc.next());
long yen = 100;
int count = 0;
for(;;) {
yen *= 1.01;
count++;
if(yen >= target) break;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
4,
18,
13,
2,
13,
17,
40,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
27,
36
],
[
36,
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;\n\npublic class Main {\n public static void main(final String args[]) {\n Scanner scan = new Scanner(System.in);\n double X = scan.nextDouble();\n double K = 100;\n int i = 0;\n while(X > K){\n K = Math.floor(K * 1.01);\n i++;\n }\n System.out.println(i);\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(final String args[]) {\n Scanner scan = new Scanner(System.in);\n double X = scan.nextDouble();\n double K = 100;\n int i = 0;\n while(X > K){\n K = Math.floor(K * 1.01);\n i++;\n }\n System.out.println(i);\n\n }\n}",
"Main",
"public static void main(final String args[]) {\n Scanner scan = new Scanner(System.in);\n double X = scan.nextDouble();\n double K = 100;\n int i = 0;\n while(X > K){\n K = Math.floor(K * 1.01);\n i++;\n }\n System.out.println(i);\n\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n double X = scan.nextDouble();\n double K = 100;\n int i = 0;\n while(X > K){\n K = Math.floor(K * 1.01);\n i++;\n }\n System.out.println(i);\n\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double X = scan.nextDouble();",
"X",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"double K = 100;",
"K",
"100",
"int i = 0;",
"i",
"0",
"while(X > K){\n K = Math.floor(K * 1.01);\n i++;\n }",
"X > K",
"X",
"K",
"{\n K = Math.floor(K * 1.01);\n i++;\n }",
"K = Math.floor(K * 1.01)",
"K",
"Math.floor(K * 1.01)",
"Math.floor",
"Math",
"K * 1.01",
"K",
"1.01",
"i++",
"i",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"final String args[]",
"args",
"public class Main {\n public static void main(final String args[]) {\n Scanner scan = new Scanner(System.in);\n double X = scan.nextDouble();\n double K = 100;\n int i = 0;\n while(X > K){\n K = Math.floor(K * 1.01);\n i++;\n }\n System.out.println(i);\n\n }\n}",
"public class Main {\n public static void main(final String args[]) {\n Scanner scan = new Scanner(System.in);\n double X = scan.nextDouble();\n double K = 100;\n int i = 0;\n while(X > K){\n K = Math.floor(K * 1.01);\n i++;\n }\n System.out.println(i);\n\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(final String args[]) {
Scanner scan = new Scanner(System.in);
double X = scan.nextDouble();
double K = 100;
int i = 0;
while(X > K){
K = Math.floor(K * 1.01);
i++;
}
System.out.println(i);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
30,
4,
18,
18,
13,
13,
13,
29,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
62,
5
],
[
62,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
43,
49
],
[
49,
50
],
[
39,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
51,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong X = Long.parseLong(scan.nextLine());\n\t\tlong P = 100;\n\t\tint cnt = 0;\n\n\t\tfor (int i = 0; i < 3800; i++){\n\t\t\tif (X > P){\n\t\t\t\tP += P / 100;\n\t\t\t\tcnt++;\n\t\t\t}else {\n\t\t\t\tSystem.out.println(cnt);\n\t\t\t\treturn;\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\tScanner scan = new Scanner(System.in);\n\t\tlong X = Long.parseLong(scan.nextLine());\n\t\tlong P = 100;\n\t\tint cnt = 0;\n\n\t\tfor (int i = 0; i < 3800; i++){\n\t\t\tif (X > P){\n\t\t\t\tP += P / 100;\n\t\t\t\tcnt++;\n\t\t\t}else {\n\t\t\t\tSystem.out.println(cnt);\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 scan = new Scanner(System.in);\n\t\tlong X = Long.parseLong(scan.nextLine());\n\t\tlong P = 100;\n\t\tint cnt = 0;\n\n\t\tfor (int i = 0; i < 3800; i++){\n\t\t\tif (X > P){\n\t\t\t\tP += P / 100;\n\t\t\t\tcnt++;\n\t\t\t}else {\n\t\t\t\tSystem.out.println(cnt);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong X = Long.parseLong(scan.nextLine());\n\t\tlong P = 100;\n\t\tint cnt = 0;\n\n\t\tfor (int i = 0; i < 3800; i++){\n\t\t\tif (X > P){\n\t\t\t\tP += P / 100;\n\t\t\t\tcnt++;\n\t\t\t}else {\n\t\t\t\tSystem.out.println(cnt);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long X = Long.parseLong(scan.nextLine());",
"X",
"Long.parseLong(scan.nextLine())",
"Long.parseLong",
"Long",
"scan.nextLine()",
"scan.nextLine",
"scan",
"long P = 100;",
"P",
"100",
"int cnt = 0;",
"cnt",
"0",
"for (int i = 0; i < 3800; i++){\n\t\t\tif (X > P){\n\t\t\t\tP += P / 100;\n\t\t\t\tcnt++;\n\t\t\t}else {\n\t\t\t\tSystem.out.println(cnt);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3800",
"i",
"3800",
"i++",
"i++",
"i",
"{\n\t\t\tif (X > P){\n\t\t\t\tP += P / 100;\n\t\t\t\tcnt++;\n\t\t\t}else {\n\t\t\t\tSystem.out.println(cnt);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (X > P){\n\t\t\t\tP += P / 100;\n\t\t\t\tcnt++;\n\t\t\t}else {\n\t\t\t\tSystem.out.println(cnt);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"if (X > P){\n\t\t\t\tP += P / 100;\n\t\t\t\tcnt++;\n\t\t\t}else {\n\t\t\t\tSystem.out.println(cnt);\n\t\t\t\treturn;\n\t\t\t}",
"X > P",
"X",
"P",
"{\n\t\t\t\tP += P / 100;\n\t\t\t\tcnt++;\n\t\t\t}",
"P += P / 100",
"P",
"P / 100",
"P",
"100",
"cnt++",
"cnt",
"{\n\t\t\t\tSystem.out.println(cnt);\n\t\t\t\treturn;\n\t\t\t}",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"return;",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong X = Long.parseLong(scan.nextLine());\n\t\tlong P = 100;\n\t\tint cnt = 0;\n\n\t\tfor (int i = 0; i < 3800; i++){\n\t\t\tif (X > P){\n\t\t\t\tP += P / 100;\n\t\t\t\tcnt++;\n\t\t\t}else {\n\t\t\t\tSystem.out.println(cnt);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong X = Long.parseLong(scan.nextLine());\n\t\tlong P = 100;\n\t\tint cnt = 0;\n\n\t\tfor (int i = 0; i < 3800; i++){\n\t\t\tif (X > P){\n\t\t\t\tP += P / 100;\n\t\t\t\tcnt++;\n\t\t\t}else {\n\t\t\t\tSystem.out.println(cnt);\n\t\t\t\treturn;\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 scan = new Scanner(System.in);
long X = Long.parseLong(scan.nextLine());
long P = 100;
int cnt = 0;
for (int i = 0; i < 3800; i++){
if (X > P){
P += P / 100;
cnt++;
}else {
System.out.println(cnt);
return;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
2,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
2,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
40,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
17,
14,
2,
13,
13,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
120,
11
],
[
120,
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
],
[
28,
29
],
[
28,
30
],
[
21,
31
],
[
31,
32
],
[
32,
33
],
[
21,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
36,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
36,
48
],
[
48,
49
],
[
49,
50
],
[
36,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
53,
60
],
[
60,
61
],
[
60,
62
],
[
53,
63
],
[
63,
64
],
[
64,
65
],
[
53,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
12,
70
],
[
70,
71
],
[
120,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
74,
83
],
[
83,
84
],
[
83,
85
],
[
74,
86
],
[
86,
87
],
[
86,
88
],
[
74,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
94,
95
],
[
94,
96
],
[
89,
97
],
[
97,
98
],
[
98,
99
],
[
89,
100
],
[
101,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
109,
116
],
[
72,
117
],
[
117,
118
],
[
0,
119
],
[
119,
120
],
[
119,
121
]
] |
[
"import java.lang.reflect.Array;\nimport java.text.SimpleDateFormat;\nimport java.util.*;\n\npublic class Main {\n\n private static void nCombination3(int c) {\n int count = c;\n int num = 0;\n for (int i = 0; i < count - 2; i++) {\n for (int j = i + 1; j < count - 1; j++) {\n for (int k = j + 1; k < count; k++) {\n num++;\n }\n }\n }\n }\n\n\n\n public static void main(String[] args) {\n // write your code here\n Scanner sc=new Scanner(System.in);\n double X=sc.nextDouble();\n boolean flag = false;\n long temp = 100;\n for(int i=1;i<=100000;i++){\n temp *= 1.01;\n if(temp>=X){\n System.out.println(i);\n break;\n }\n }\n\n\n\n\n\n }\n}",
"import java.lang.reflect.Array;",
"Array",
"java.lang.reflect",
"import java.text.SimpleDateFormat;",
"SimpleDateFormat",
"java.text",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n private static void nCombination3(int c) {\n int count = c;\n int num = 0;\n for (int i = 0; i < count - 2; i++) {\n for (int j = i + 1; j < count - 1; j++) {\n for (int k = j + 1; k < count; k++) {\n num++;\n }\n }\n }\n }\n\n\n\n public static void main(String[] args) {\n // write your code here\n Scanner sc=new Scanner(System.in);\n double X=sc.nextDouble();\n boolean flag = false;\n long temp = 100;\n for(int i=1;i<=100000;i++){\n temp *= 1.01;\n if(temp>=X){\n System.out.println(i);\n break;\n }\n }\n\n\n\n\n\n }\n}",
"Main",
"private static void nCombination3(int c) {\n int count = c;\n int num = 0;\n for (int i = 0; i < count - 2; i++) {\n for (int j = i + 1; j < count - 1; j++) {\n for (int k = j + 1; k < count; k++) {\n num++;\n }\n }\n }\n }",
"nCombination3",
"{\n int count = c;\n int num = 0;\n for (int i = 0; i < count - 2; i++) {\n for (int j = i + 1; j < count - 1; j++) {\n for (int k = j + 1; k < count; k++) {\n num++;\n }\n }\n }\n }",
"int count = c;",
"count",
"c",
"int num = 0;",
"num",
"0",
"for (int i = 0; i < count - 2; i++) {\n for (int j = i + 1; j < count - 1; j++) {\n for (int k = j + 1; k < count; k++) {\n num++;\n }\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < count - 2",
"i",
"count - 2",
"count",
"2",
"i++",
"i++",
"i",
"{\n for (int j = i + 1; j < count - 1; j++) {\n for (int k = j + 1; k < count; k++) {\n num++;\n }\n }\n }",
"{\n for (int j = i + 1; j < count - 1; j++) {\n for (int k = j + 1; k < count; k++) {\n num++;\n }\n }\n }",
"for (int j = i + 1; j < count - 1; j++) {\n for (int k = j + 1; k < count; k++) {\n num++;\n }\n }",
"int j = i + 1;",
"int j = i + 1;",
"j",
"i + 1",
"i",
"1",
"j < count - 1",
"j",
"count - 1",
"count",
"1",
"j++",
"j++",
"j",
"{\n for (int k = j + 1; k < count; k++) {\n num++;\n }\n }",
"{\n for (int k = j + 1; k < count; k++) {\n num++;\n }\n }",
"for (int k = j + 1; k < count; k++) {\n num++;\n }",
"int k = j + 1;",
"int k = j + 1;",
"k",
"j + 1",
"j",
"1",
"k < count",
"k",
"count",
"k++",
"k++",
"k",
"{\n num++;\n }",
"{\n num++;\n }",
"num++",
"num",
"int c",
"c",
"public static void main(String[] args) {\n // write your code here\n Scanner sc=new Scanner(System.in);\n double X=sc.nextDouble();\n boolean flag = false;\n long temp = 100;\n for(int i=1;i<=100000;i++){\n temp *= 1.01;\n if(temp>=X){\n System.out.println(i);\n break;\n }\n }\n\n\n\n\n\n }",
"main",
"{\n // write your code here\n Scanner sc=new Scanner(System.in);\n double X=sc.nextDouble();\n boolean flag = false;\n long temp = 100;\n for(int i=1;i<=100000;i++){\n temp *= 1.01;\n if(temp>=X){\n System.out.println(i);\n break;\n }\n }\n\n\n\n\n\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double X=sc.nextDouble();",
"X",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"boolean flag = false;",
"flag",
"false",
"long temp = 100;",
"temp",
"100",
"for(int i=1;i<=100000;i++){\n temp *= 1.01;\n if(temp>=X){\n System.out.println(i);\n break;\n }\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=100000",
"i",
"100000",
"i++",
"i++",
"i",
"{\n temp *= 1.01;\n if(temp>=X){\n System.out.println(i);\n break;\n }\n }",
"{\n temp *= 1.01;\n if(temp>=X){\n System.out.println(i);\n break;\n }\n }",
"temp *= 1.01",
"temp",
"1.01",
"if(temp>=X){\n System.out.println(i);\n break;\n }",
"temp>=X",
"temp",
"X",
"{\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\n private static void nCombination3(int c) {\n int count = c;\n int num = 0;\n for (int i = 0; i < count - 2; i++) {\n for (int j = i + 1; j < count - 1; j++) {\n for (int k = j + 1; k < count; k++) {\n num++;\n }\n }\n }\n }\n\n\n\n public static void main(String[] args) {\n // write your code here\n Scanner sc=new Scanner(System.in);\n double X=sc.nextDouble();\n boolean flag = false;\n long temp = 100;\n for(int i=1;i<=100000;i++){\n temp *= 1.01;\n if(temp>=X){\n System.out.println(i);\n break;\n }\n }\n\n\n\n\n\n }\n}",
"public class Main {\n\n private static void nCombination3(int c) {\n int count = c;\n int num = 0;\n for (int i = 0; i < count - 2; i++) {\n for (int j = i + 1; j < count - 1; j++) {\n for (int k = j + 1; k < count; k++) {\n num++;\n }\n }\n }\n }\n\n\n\n public static void main(String[] args) {\n // write your code here\n Scanner sc=new Scanner(System.in);\n double X=sc.nextDouble();\n boolean flag = false;\n long temp = 100;\n for(int i=1;i<=100000;i++){\n temp *= 1.01;\n if(temp>=X){\n System.out.println(i);\n break;\n }\n }\n\n\n\n\n\n }\n}",
"Main"
] |
import java.lang.reflect.Array;
import java.text.SimpleDateFormat;
import java.util.*;
public class Main {
private static void nCombination3(int c) {
int count = c;
int num = 0;
for (int i = 0; i < count - 2; i++) {
for (int j = i + 1; j < count - 1; j++) {
for (int k = j + 1; k < count; k++) {
num++;
}
}
}
}
public static void main(String[] args) {
// write your code here
Scanner sc=new Scanner(System.in);
double X=sc.nextDouble();
boolean flag = false;
long temp = 100;
for(int i=1;i<=100000;i++){
temp *= 1.01;
if(temp>=X){
System.out.println(i);
break;
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
4,
18,
13,
2,
13,
17,
40,
13,
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
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
30,
39
],
[
39,
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;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = Long.parseLong(sc.next());\n long deposit = 100;\n int yearCount = 0;\n \n while(deposit < x){\n deposit += Math.floor(deposit*0.01);\n yearCount++;\n }\n \n System.out.println(yearCount);\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 long x = Long.parseLong(sc.next());\n long deposit = 100;\n int yearCount = 0;\n \n while(deposit < x){\n deposit += Math.floor(deposit*0.01);\n yearCount++;\n }\n \n System.out.println(yearCount);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = Long.parseLong(sc.next());\n long deposit = 100;\n int yearCount = 0;\n \n while(deposit < x){\n deposit += Math.floor(deposit*0.01);\n yearCount++;\n }\n \n System.out.println(yearCount);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x = Long.parseLong(sc.next());\n long deposit = 100;\n int yearCount = 0;\n \n while(deposit < x){\n deposit += Math.floor(deposit*0.01);\n yearCount++;\n }\n \n System.out.println(yearCount);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = Long.parseLong(sc.next());",
"x",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"long deposit = 100;",
"deposit",
"100",
"int yearCount = 0;",
"yearCount",
"0",
"while(deposit < x){\n deposit += Math.floor(deposit*0.01);\n yearCount++;\n }",
"deposit < x",
"deposit",
"x",
"{\n deposit += Math.floor(deposit*0.01);\n yearCount++;\n }",
"deposit += Math.floor(deposit*0.01)",
"deposit",
"Math.floor(deposit*0.01)",
"Math.floor",
"Math",
"deposit*0.01",
"deposit",
"0.01",
"yearCount++",
"yearCount",
"System.out.println(yearCount)",
"System.out.println",
"System.out",
"System",
"System.out",
"yearCount",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = Long.parseLong(sc.next());\n long deposit = 100;\n int yearCount = 0;\n \n while(deposit < x){\n deposit += Math.floor(deposit*0.01);\n yearCount++;\n }\n \n System.out.println(yearCount);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = Long.parseLong(sc.next());\n long deposit = 100;\n int yearCount = 0;\n \n while(deposit < x){\n deposit += Math.floor(deposit*0.01);\n yearCount++;\n }\n \n System.out.println(yearCount);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long x = Long.parseLong(sc.next());
long deposit = 100;
int yearCount = 0;
while(deposit < x){
deposit += Math.floor(deposit*0.01);
yearCount++;
}
System.out.println(yearCount);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
2,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
13,
17,
0,
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
],
[
14,
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
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
32,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
45,
54
],
[
54,
55
],
[
54,
56
],
[
6,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] |
[
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n double a = 100;\n \n for(long i = 0; i < X;i++){\n a = Math.floor(a * 1.01);\n if(a >= X){\n System.out.print(i + 1);\n i = X;\n }\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 long X = sc.nextLong();\n double a = 100;\n \n for(long i = 0; i < X;i++){\n a = Math.floor(a * 1.01);\n if(a >= X){\n System.out.print(i + 1);\n i = X;\n }\n }\n \n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n double a = 100;\n \n for(long i = 0; i < X;i++){\n a = Math.floor(a * 1.01);\n if(a >= X){\n System.out.print(i + 1);\n i = X;\n }\n }\n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n double a = 100;\n \n for(long i = 0; i < X;i++){\n a = Math.floor(a * 1.01);\n if(a >= X){\n System.out.print(i + 1);\n i = X;\n }\n }\n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double a = 100;",
"a",
"100",
"for(long i = 0; i < X;i++){\n a = Math.floor(a * 1.01);\n if(a >= X){\n System.out.print(i + 1);\n i = X;\n }\n }",
"long i = 0;",
"long i = 0;",
"i",
"0",
"i < X",
"i",
"X",
"i++",
"i++",
"i",
"{\n a = Math.floor(a * 1.01);\n if(a >= X){\n System.out.print(i + 1);\n i = X;\n }\n }",
"{\n a = Math.floor(a * 1.01);\n if(a >= X){\n System.out.print(i + 1);\n i = X;\n }\n }",
"a = Math.floor(a * 1.01)",
"a",
"Math.floor(a * 1.01)",
"Math.floor",
"Math",
"a * 1.01",
"a",
"1.01",
"if(a >= X){\n System.out.print(i + 1);\n i = X;\n }",
"a >= X",
"a",
"X",
"{\n System.out.print(i + 1);\n i = X;\n }",
"System.out.print(i + 1)",
"System.out.print",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"i = X",
"i",
"X",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n double a = 100;\n \n for(long i = 0; i < X;i++){\n a = Math.floor(a * 1.01);\n if(a >= X){\n System.out.print(i + 1);\n i = X;\n }\n }\n \n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n double a = 100;\n \n for(long i = 0; i < X;i++){\n a = Math.floor(a * 1.01);\n if(a >= X){\n System.out.print(i + 1);\n i = X;\n }\n }\n \n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long X = sc.nextLong();
double a = 100;
for(long i = 0; i < X;i++){
a = Math.floor(a * 1.01);
if(a >= X){
System.out.print(i + 1);
i = X;
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
30,
36
],
[
36,
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;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n final long X = sc.nextLong();\n sc.close();\n int counter = 0;\n long now = 100;\n while(now<X) {\n \tnow += (long)(now/100);\n \tcounter++;\n }\n System.out.println(counter);\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 final long X = sc.nextLong();\n sc.close();\n int counter = 0;\n long now = 100;\n while(now<X) {\n \tnow += (long)(now/100);\n \tcounter++;\n }\n System.out.println(counter);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n final long X = sc.nextLong();\n sc.close();\n int counter = 0;\n long now = 100;\n while(now<X) {\n \tnow += (long)(now/100);\n \tcounter++;\n }\n System.out.println(counter);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n final long X = sc.nextLong();\n sc.close();\n int counter = 0;\n long now = 100;\n while(now<X) {\n \tnow += (long)(now/100);\n \tcounter++;\n }\n System.out.println(counter);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"sc.close()",
"sc.close",
"sc",
"int counter = 0;",
"counter",
"0",
"long now = 100;",
"now",
"100",
"while(now<X) {\n \tnow += (long)(now/100);\n \tcounter++;\n }",
"now<X",
"now",
"X",
"{\n \tnow += (long)(now/100);\n \tcounter++;\n }",
"now += (long)(now/100)",
"now",
"(long)(now/100)",
"now",
"100",
"counter++",
"counter",
"System.out.println(counter)",
"System.out.println",
"System.out",
"System",
"System.out",
"counter",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n final long X = sc.nextLong();\n sc.close();\n int counter = 0;\n long now = 100;\n while(now<X) {\n \tnow += (long)(now/100);\n \tcounter++;\n }\n System.out.println(counter);\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n final long X = sc.nextLong();\n sc.close();\n int counter = 0;\n long now = 100;\n while(now<X) {\n \tnow += (long)(now/100);\n \tcounter++;\n }\n System.out.println(counter);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
final long X = sc.nextLong();
sc.close();
int counter = 0;
long now = 100;
while(now<X) {
now += (long)(now/100);
counter++;
}
System.out.println(counter);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
29,
0,
13,
2,
13,
17,
40,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
30,
37
],
[
25,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
25,
43
],
[
43,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n final Scanner sc = new Scanner(System.in);\n\n final long x = sc.nextLong();\n\n long ans = 0;\n long money = 100;\n while (true) {\n if (money >= x) {\n System.out.println(ans);\n return;\n }\n\n money += money * 0.01;\n ans++;\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n final Scanner sc = new Scanner(System.in);\n\n final long x = sc.nextLong();\n\n long ans = 0;\n long money = 100;\n while (true) {\n if (money >= x) {\n System.out.println(ans);\n return;\n }\n\n money += money * 0.01;\n ans++;\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n final Scanner sc = new Scanner(System.in);\n\n final long x = sc.nextLong();\n\n long ans = 0;\n long money = 100;\n while (true) {\n if (money >= x) {\n System.out.println(ans);\n return;\n }\n\n money += money * 0.01;\n ans++;\n }\n }",
"main",
"{\n final Scanner sc = new Scanner(System.in);\n\n final long x = sc.nextLong();\n\n long ans = 0;\n long money = 100;\n while (true) {\n if (money >= x) {\n System.out.println(ans);\n return;\n }\n\n money += money * 0.01;\n ans++;\n }\n }",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long ans = 0;",
"ans",
"0",
"long money = 100;",
"money",
"100",
"while (true) {\n if (money >= x) {\n System.out.println(ans);\n return;\n }\n\n money += money * 0.01;\n ans++;\n }",
"true",
"{\n if (money >= x) {\n System.out.println(ans);\n return;\n }\n\n money += money * 0.01;\n ans++;\n }",
"if (money >= x) {\n System.out.println(ans);\n return;\n }",
"money >= x",
"money",
"x",
"{\n System.out.println(ans);\n return;\n }",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"return;",
"money += money * 0.01",
"money",
"money * 0.01",
"money",
"0.01",
"ans++",
"ans",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n final Scanner sc = new Scanner(System.in);\n\n final long x = sc.nextLong();\n\n long ans = 0;\n long money = 100;\n while (true) {\n if (money >= x) {\n System.out.println(ans);\n return;\n }\n\n money += money * 0.01;\n ans++;\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n final Scanner sc = new Scanner(System.in);\n\n final long x = sc.nextLong();\n\n long ans = 0;\n long money = 100;\n while (true) {\n if (money >= x) {\n System.out.println(ans);\n return;\n }\n\n money += money * 0.01;\n ans++;\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
final Scanner sc = new Scanner(System.in);
final long x = sc.nextLong();
long ans = 0;
long money = 100;
while (true) {
if (money >= x) {
System.out.println(ans);
return;
}
money += money * 0.01;
ans++;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
13,
30,
0,
13,
4,
18,
13,
2,
17,
13,
40,
13,
14,
2,
13,
13,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
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,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
28,
37
],
[
37,
38
],
[
28,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] |
[
"import java.util.Scanner;\n\n/*\n問題文\n高橋くんはAtCoder銀行に 100 円を預けています。\nAtCoder銀行では、毎年預金額の 1 % の利子がつきます(複利、小数点以下切り捨て)。\n\n利子以外の要因で預金額が変化することはないと仮定したとき、高橋くんの預金額が初めて\nX 円以上になるのは何年後でしょうか。\n\n制約\n101≤X≤10^18\n入力はすべて整数\n*/\n\npublic class Main {\n public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n double def = 100;\n long x = sc.nextLong();\n\n boolean flg = true;\n int count = 0;\n while(flg) {\n def = Math.floor(1.01 * def);\n count++;\n if (x <= def) {\n flg = false;\n }\n }\n\n System.out.println(count);\n }\n}",
"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 double def = 100;\n long x = sc.nextLong();\n\n boolean flg = true;\n int count = 0;\n while(flg) {\n def = Math.floor(1.01 * def);\n count++;\n if (x <= def) {\n flg = false;\n }\n }\n\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n double def = 100;\n long x = sc.nextLong();\n\n boolean flg = true;\n int count = 0;\n while(flg) {\n def = Math.floor(1.01 * def);\n count++;\n if (x <= def) {\n flg = false;\n }\n }\n\n System.out.println(count);\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n double def = 100;\n long x = sc.nextLong();\n\n boolean flg = true;\n int count = 0;\n while(flg) {\n def = Math.floor(1.01 * def);\n count++;\n if (x <= def) {\n flg = false;\n }\n }\n\n System.out.println(count);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double def = 100;",
"def",
"100",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"boolean flg = true;",
"flg",
"true",
"int count = 0;",
"count",
"0",
"while(flg) {\n def = Math.floor(1.01 * def);\n count++;\n if (x <= def) {\n flg = false;\n }\n }",
"flg",
"{\n def = Math.floor(1.01 * def);\n count++;\n if (x <= def) {\n flg = false;\n }\n }",
"def = Math.floor(1.01 * def)",
"def",
"Math.floor(1.01 * def)",
"Math.floor",
"Math",
"1.01 * def",
"1.01",
"def",
"count++",
"count",
"if (x <= def) {\n flg = false;\n }",
"x <= def",
"x",
"def",
"{\n flg = false;\n }",
"flg = false",
"flg",
"false",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n double def = 100;\n long x = sc.nextLong();\n\n boolean flg = true;\n int count = 0;\n while(flg) {\n def = Math.floor(1.01 * def);\n count++;\n if (x <= def) {\n flg = false;\n }\n }\n\n System.out.println(count);\n }\n}",
"public class Main {\n public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n double def = 100;\n long x = sc.nextLong();\n\n boolean flg = true;\n int count = 0;\n while(flg) {\n def = Math.floor(1.01 * def);\n count++;\n if (x <= def) {\n flg = false;\n }\n }\n\n System.out.println(count);\n }\n}",
"Main"
] |
import java.util.Scanner;
/*
問題文
高橋くんはAtCoder銀行に 100 円を預けています。
AtCoder銀行では、毎年預金額の 1 % の利子がつきます(複利、小数点以下切り捨て)。
利子以外の要因で預金額が変化することはないと仮定したとき、高橋くんの預金額が初めて
X 円以上になるのは何年後でしょうか。
制約
101≤X≤10^18
入力はすべて整数
*/
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
double def = 100;
long x = sc.nextLong();
boolean flg = true;
int count = 0;
while(flg) {
def = Math.floor(1.01 * def);
count++;
if (x <= def) {
flg = false;
}
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
11,
1,
2,
13,
13,
30,
30,
0,
13,
2,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
12,
13,
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,
4,
13,
17,
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,
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,
12,
13,
30,
4,
18,
13,
17,
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
],
[
248,
15
],
[
15,
16
],
[
248,
17
],
[
17,
18
],
[
248,
19
],
[
19,
20
],
[
19,
21
],
[
248,
22
],
[
22,
23
],
[
248,
24
],
[
24,
25
],
[
248,
26
],
[
26,
27
],
[
248,
28
],
[
28,
29
],
[
248,
30
],
[
30,
31
],
[
248,
32
],
[
32,
33
],
[
248,
34
],
[
34,
35
],
[
248,
36
],
[
36,
37
],
[
248,
38
],
[
38,
39
],
[
248,
40
],
[
40,
41
],
[
248,
42
],
[
42,
43
],
[
248,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
46,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
46,
58
],
[
58,
59
],
[
58,
60
],
[
46,
61
],
[
61,
62
],
[
61,
63
],
[
46,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
46,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
46,
86
],
[
86,
87
],
[
87,
88
],
[
44,
89
],
[
89,
90
],
[
248,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
91,
95
],
[
95,
96
],
[
91,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
97,
103
],
[
103,
104
],
[
91,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
105,
111
],
[
111,
112
],
[
91,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
116,
125
],
[
125,
126
],
[
125,
127
],
[
115,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
91,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
91,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
146,
147
],
[
91,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
152,
155
],
[
155,
156
],
[
91,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
161,
165
],
[
91,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
170,
173
],
[
173,
174
],
[
91,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
182,
187
],
[
187,
188
],
[
187,
189
],
[
182,
190
],
[
190,
191
],
[
191,
192
],
[
182,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
194,
198
],
[
198,
199
],
[
177,
200
],
[
200,
201
],
[
175,
202
],
[
202,
203
],
[
91,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
206,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
211,
216
],
[
216,
217
],
[
216,
218
],
[
211,
219
],
[
219,
220
],
[
220,
221
],
[
211,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
223,
227
],
[
227,
228
],
[
206,
229
],
[
229,
230
],
[
204,
231
],
[
231,
232
],
[
91,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
236,
237
],
[
237,
238
],
[
238,
239
],
[
91,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
243,
244
],
[
244,
245
],
[
243,
246
],
[
0,
247
],
[
247,
248
],
[
247,
249
]
] |
[
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\tstatic PrintWriter out;\n\tstatic StringBuilder sb;\n\tstatic int n, m, k;\n\tstatic long mod = 998244353;\n\tstatic Boolean[][][] memo;\n\tstatic String s;\n\tstatic HashSet<Integer> nodes;\n\tstatic ArrayList<Integer>[] ad;\n\tstatic boolean[] vis, taken;\n\tstatic int[] occ, ans;\n\tstatic TreeSet<Long> al;\n\tstatic long[] val;\n\tstatic char[] b;\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tlong n = sc.nextLong();\n\t\tint ans = 0;\n\t\tlong x = 100;\n\t\tfor (; x < n;) {\n x=x+x/100;\n ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t\tout.flush();\n\t}\n\n\tstatic class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n\n\t\tpublic Long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextArrInt(int n) throws IOException {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextArrLong(int n) throws IOException {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tstatic PrintWriter out;\n\tstatic StringBuilder sb;\n\tstatic int n, m, k;\n\tstatic long mod = 998244353;\n\tstatic Boolean[][][] memo;\n\tstatic String s;\n\tstatic HashSet<Integer> nodes;\n\tstatic ArrayList<Integer>[] ad;\n\tstatic boolean[] vis, taken;\n\tstatic int[] occ, ans;\n\tstatic TreeSet<Long> al;\n\tstatic long[] val;\n\tstatic char[] b;\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tlong n = sc.nextLong();\n\t\tint ans = 0;\n\t\tlong x = 100;\n\t\tfor (; x < n;) {\n x=x+x/100;\n ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t\tout.flush();\n\t}\n\n\tstatic class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n\n\t\tpublic Long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextArrInt(int n) throws IOException {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextArrLong(int n) throws IOException {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n}",
"Main",
"static PrintWriter out;",
"out",
"static StringBuilder sb;",
"sb",
"static int n",
"n",
"m",
"m",
"k;",
"k",
"static long mod = 998244353;",
"mod",
"998244353",
"static Boolean[][][] memo;",
"memo",
"static String s;",
"s",
"static HashSet<Integer> nodes;",
"nodes",
"static ArrayList<Integer>[] ad;",
"ad",
"static boolean[] vis",
"vis",
"taken;",
"taken",
"static int[] occ",
"occ",
"ans;",
"ans",
"static TreeSet<Long> al;",
"al",
"static long[] val;",
"val",
"static char[] b;",
"b",
"public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tlong n = sc.nextLong();\n\t\tint ans = 0;\n\t\tlong x = 100;\n\t\tfor (; x < n;) {\n x=x+x/100;\n ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t\tout.flush();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tlong n = sc.nextLong();\n\t\tint ans = 0;\n\t\tlong x = 100;\n\t\tfor (; x < n;) {\n x=x+x/100;\n ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t\tout.flush();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int ans = 0;",
"ans",
"0",
"long x = 100;",
"x",
"100",
"for (; x < n;) {\n x=x+x/100;\n ans++;\n\t\t}",
";",
"x < n",
"x",
"n",
"{\n x=x+x/100;\n ans++;\n\t\t}",
"{\n x=x+x/100;\n ans++;\n\t\t}",
"x=x+x/100",
"x",
"x+x/100",
"x",
"x/100",
"x",
"100",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"static class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n\n\t\tpublic Long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextArrInt(int n) throws IOException {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextArrLong(int n) throws IOException {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}",
"Scanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}",
"Scanner",
"{\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}",
"br = new BufferedReader(new InputStreamReader(system))",
"br",
"new BufferedReader(new InputStreamReader(system))",
"InputStream system",
"system",
"public Scanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}",
"Scanner",
"{\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}",
"br = new BufferedReader(new FileReader(file))",
"br",
"new BufferedReader(new FileReader(file))",
"String file",
"file",
"public String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}",
"while (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}",
"nextLine",
"{\n\t\t\treturn br.readLine();\n\t\t}",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public int nextInt() throws 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 double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"nextDouble",
"{\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}",
"nextChar",
"{\n\t\t\treturn next().charAt(0);\n\t\t}",
"return next().charAt(0);",
"next().charAt(0)",
"next().charAt",
"next()",
"next",
"0",
"public Long nextLong() throws 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[] nextArrInt(int n) throws IOException {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}",
"nextArrInt",
"{\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[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++)\n\t\t\t\ta[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",
"public long[] nextArrLong(int n) throws IOException {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}",
"nextArrLong",
"{\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextLong();",
"a[i] = nextLong()",
"a[i]",
"a",
"i",
"nextLong()",
"nextLong",
"return a;",
"a",
"int n",
"n",
"public boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}",
"ready",
"{\n\t\t\treturn br.ready();\n\t\t}",
"return br.ready();",
"br.ready()",
"br.ready",
"br",
"public void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}",
"waitForInput",
"{\n\t\t\tThread.sleep(3000);\n\t\t}",
"Thread.sleep(3000)",
"Thread.sleep",
"Thread",
"3000",
"public class Main {\n\tstatic PrintWriter out;\n\tstatic StringBuilder sb;\n\tstatic int n, m, k;\n\tstatic long mod = 998244353;\n\tstatic Boolean[][][] memo;\n\tstatic String s;\n\tstatic HashSet<Integer> nodes;\n\tstatic ArrayList<Integer>[] ad;\n\tstatic boolean[] vis, taken;\n\tstatic int[] occ, ans;\n\tstatic TreeSet<Long> al;\n\tstatic long[] val;\n\tstatic char[] b;\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tlong n = sc.nextLong();\n\t\tint ans = 0;\n\t\tlong x = 100;\n\t\tfor (; x < n;) {\n x=x+x/100;\n ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t\tout.flush();\n\t}\n\n\tstatic class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n\n\t\tpublic Long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextArrInt(int n) throws IOException {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextArrLong(int n) throws IOException {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n}",
"public class Main {\n\tstatic PrintWriter out;\n\tstatic StringBuilder sb;\n\tstatic int n, m, k;\n\tstatic long mod = 998244353;\n\tstatic Boolean[][][] memo;\n\tstatic String s;\n\tstatic HashSet<Integer> nodes;\n\tstatic ArrayList<Integer>[] ad;\n\tstatic boolean[] vis, taken;\n\tstatic int[] occ, ans;\n\tstatic TreeSet<Long> al;\n\tstatic long[] val;\n\tstatic char[] b;\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tlong n = sc.nextLong();\n\t\tint ans = 0;\n\t\tlong x = 100;\n\t\tfor (; x < n;) {\n x=x+x/100;\n ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t\tout.flush();\n\t}\n\n\tstatic class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n\n\t\tpublic Long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextArrInt(int n) throws IOException {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextArrLong(int n) throws IOException {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
static PrintWriter out;
static StringBuilder sb;
static int n, m, k;
static long mod = 998244353;
static Boolean[][][] memo;
static String s;
static HashSet<Integer> nodes;
static ArrayList<Integer>[] ad;
static boolean[] vis, taken;
static int[] occ, ans;
static TreeSet<Long> al;
static long[] val;
static char[] b;
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
out = new PrintWriter(System.out);
long n = sc.nextLong();
int ans = 0;
long x = 100;
for (; x < n;) {
x=x+x/100;
ans++;
}
System.out.println(ans);
out.flush();
}
static class Scanner {
StringTokenizer st;
BufferedReader br;
public Scanner(InputStream system) {
br = new BufferedReader(new InputStreamReader(system));
}
public Scanner(String file) throws Exception {
br = new BufferedReader(new FileReader(file));
}
public String next() throws IOException {
while (st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine());
return st.nextToken();
}
public String nextLine() throws IOException {
return br.readLine();
}
public int nextInt() throws IOException {
return Integer.parseInt(next());
}
public double nextDouble() throws IOException {
return Double.parseDouble(next());
}
public char nextChar() throws IOException {
return next().charAt(0);
}
public Long nextLong() throws IOException {
return Long.parseLong(next());
}
public int[] nextArrInt(int n) throws IOException {
int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = nextInt();
return a;
}
public long[] nextArrLong(int n) throws IOException {
long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nextLong();
return a;
}
public boolean ready() throws IOException {
return br.ready();
}
public void waitForInput() throws InterruptedException {
Thread.sleep(3000);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
4,
18,
13,
13,
0,
13,
2,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
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
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
33,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
33,
45
],
[
45,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = Long.parseLong(sc.next());\n double money = 100.0;\n double rate = 1.01;\n\n int count = 0;\n while(money <= X) {\n // 小数点以下切り捨て\n money = Math.floor(money);\n money = money * rate;\n count++;\n }\n System.out.println(count);\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 long X = Long.parseLong(sc.next());\n double money = 100.0;\n double rate = 1.01;\n\n int count = 0;\n while(money <= X) {\n // 小数点以下切り捨て\n money = Math.floor(money);\n money = money * rate;\n count++;\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = Long.parseLong(sc.next());\n double money = 100.0;\n double rate = 1.01;\n\n int count = 0;\n while(money <= X) {\n // 小数点以下切り捨て\n money = Math.floor(money);\n money = money * rate;\n count++;\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long X = Long.parseLong(sc.next());\n double money = 100.0;\n double rate = 1.01;\n\n int count = 0;\n while(money <= X) {\n // 小数点以下切り捨て\n money = Math.floor(money);\n money = money * rate;\n count++;\n }\n System.out.println(count);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = Long.parseLong(sc.next());",
"X",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"double money = 100.0;",
"money",
"100.0",
"double rate = 1.01;",
"rate",
"1.01",
"int count = 0;",
"count",
"0",
"while(money <= X) {\n // 小数点以下切り捨て\n money = Math.floor(money);\n money = money * rate;\n count++;\n }",
"money <= X",
"money",
"X",
"{\n // 小数点以下切り捨て\n money = Math.floor(money);\n money = money * rate;\n count++;\n }",
"money = Math.floor(money)",
"money",
"Math.floor(money)",
"Math.floor",
"Math",
"money",
"money = money * rate",
"money",
"money * rate",
"money",
"rate",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = Long.parseLong(sc.next());\n double money = 100.0;\n double rate = 1.01;\n\n int count = 0;\n while(money <= X) {\n // 小数点以下切り捨て\n money = Math.floor(money);\n money = money * rate;\n count++;\n }\n System.out.println(count);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = Long.parseLong(sc.next());\n double money = 100.0;\n double rate = 1.01;\n\n int count = 0;\n while(money <= X) {\n // 小数点以下切り捨て\n money = Math.floor(money);\n money = money * rate;\n count++;\n }\n System.out.println(count);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long X = Long.parseLong(sc.next());
double money = 100.0;
double rate = 1.01;
int count = 0;
while(money <= X) {
// 小数点以下切り捨て
money = Math.floor(money);
money = money * rate;
count++;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
2,
17,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
40,
13,
0,
13,
2,
13,
17,
14,
2,
13,
13,
3,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
2,
13,
13,
2,
17,
17,
41,
13,
13,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
2,
13,
13,
2,
17,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
2,
13,
13,
2,
17,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
0,
13,
2,
17,
17,
29,
2,
13,
2,
17,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
166,
5
],
[
166,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
8,
10
],
[
166,
11
],
[
11,
12
],
[
11,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
13,
22
],
[
22,
23
],
[
22,
24
],
[
13,
25
],
[
25,
26
],
[
25,
27
],
[
13,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
13,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
11,
49
],
[
49,
50
],
[
166,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
53,
60
],
[
60,
61
],
[
60,
62
],
[
53,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
63,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
82,
84
],
[
53,
85
],
[
85,
86
],
[
85,
87
],
[
53,
88
],
[
88,
89
],
[
88,
90
],
[
53,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
96,
97
],
[
96,
98
],
[
91,
99
],
[
99,
100
],
[
100,
101
],
[
91,
102
],
[
103,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
110,
112
],
[
53,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
122,
124
],
[
113,
125
],
[
125,
126
],
[
126,
127
],
[
113,
128
],
[
129,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
132,
136
],
[
136,
137
],
[
136,
138
],
[
53,
139
],
[
139,
140
],
[
51,
141
],
[
141,
142
],
[
51,
143
],
[
143,
144
],
[
166,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
148,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
154,
156
],
[
147,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
160,
162
],
[
145,
163
],
[
163,
164
],
[
0,
165
],
[
165,
166
],
[
165,
167
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tstatic long bignum = 1000000000+7;\n\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong();\n\t\tlong counter = 0;\n\t\tlong org = 100;\n\t\t\n\t\twhile(true) {\n\t\t\tcounter++;\n\t\t\torg = (long)(org*1.01);\n\t\t\tif(org>=x)break;\n\t\t}\n\n\t\tSystem.out.println(counter);\n\n\t}\n\n\tstatic long divn(int target, int times) {//10_9+7のあまり累乗版\n\t\tint sqtimes = (int)Math.sqrt(times);\n\t\tlong ans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\tlong holder = ans;\n\t\tans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}\n\t\tfor(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\treturn ans;\n\t}\n\n\tstatic long div(long a) {//10_9+7のあまり\n\t\tif(a<0)a+=1000000000+7;\n\t\treturn a%(1000000000+7);\n\t}\n\n}\n/*\nclass City{\n\tint order;\n\tint prefecture;\n\tint year;\n\tint number;\n\tCity(int order,int prefecture, int year){\n\t\tthis.order = order;\n\t\tthis.prefecture = prefecture;\n\t\tthis.year = year;\n\t}\n}\n*/",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tstatic long bignum = 1000000000+7;\n\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong();\n\t\tlong counter = 0;\n\t\tlong org = 100;\n\t\t\n\t\twhile(true) {\n\t\t\tcounter++;\n\t\t\torg = (long)(org*1.01);\n\t\t\tif(org>=x)break;\n\t\t}\n\n\t\tSystem.out.println(counter);\n\n\t}\n\n\tstatic long divn(int target, int times) {//10_9+7のあまり累乗版\n\t\tint sqtimes = (int)Math.sqrt(times);\n\t\tlong ans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\tlong holder = ans;\n\t\tans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}\n\t\tfor(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\treturn ans;\n\t}\n\n\tstatic long div(long a) {//10_9+7のあまり\n\t\tif(a<0)a+=1000000000+7;\n\t\treturn a%(1000000000+7);\n\t}\n\n}",
"Main",
"static long bignum = 1000000000+7;",
"bignum",
"1000000000+7",
"1000000000",
"7",
"public static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong();\n\t\tlong counter = 0;\n\t\tlong org = 100;\n\t\t\n\t\twhile(true) {\n\t\t\tcounter++;\n\t\t\torg = (long)(org*1.01);\n\t\t\tif(org>=x)break;\n\t\t}\n\n\t\tSystem.out.println(counter);\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong();\n\t\tlong counter = 0;\n\t\tlong org = 100;\n\t\t\n\t\twhile(true) {\n\t\t\tcounter++;\n\t\t\torg = (long)(org*1.01);\n\t\t\tif(org>=x)break;\n\t\t}\n\n\t\tSystem.out.println(counter);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long counter = 0;",
"counter",
"0",
"long org = 100;",
"org",
"100",
"while(true) {\n\t\t\tcounter++;\n\t\t\torg = (long)(org*1.01);\n\t\t\tif(org>=x)break;\n\t\t}",
"true",
"{\n\t\t\tcounter++;\n\t\t\torg = (long)(org*1.01);\n\t\t\tif(org>=x)break;\n\t\t}",
"counter++",
"counter",
"org = (long)(org*1.01)",
"org",
"(long)(org*1.01)",
"org",
"1.01",
"if(org>=x)break;",
"org>=x",
"org",
"x",
"break;",
"System.out.println(counter)",
"System.out.println",
"System.out",
"System",
"System.out",
"counter",
"String[] args",
"args",
"static long divn(int target, int times) {//10_9+7のあまり累乗版\n\t\tint sqtimes = (int)Math.sqrt(times);\n\t\tlong ans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\tlong holder = ans;\n\t\tans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}\n\t\tfor(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\treturn ans;\n\t}",
"divn",
"{//10_9+7のあまり累乗版\n\t\tint sqtimes = (int)Math.sqrt(times);\n\t\tlong ans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\tlong holder = ans;\n\t\tans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}\n\t\tfor(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\treturn ans;\n\t}",
"int sqtimes = (int)Math.sqrt(times);",
"sqtimes",
"(int)Math.sqrt(times)",
"Math.sqrt",
"Math",
"times",
"long ans = 1;",
"ans",
"1",
"for(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}",
"int i =0;",
"int i =0;",
"i",
"0",
"i<sqtimes",
"i",
"sqtimes",
"i++",
"i++",
"i",
"{\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}",
"{\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}",
"ans = (ans * target)%(1000000000+7)",
"ans",
"(ans * target)%(1000000000+7)",
"(ans * target)",
"ans",
"target",
"(1000000000+7)",
"1000000000",
"7",
"long holder = ans;",
"holder",
"ans",
"ans = 1",
"ans",
"1",
"for(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}",
"int i =0;",
"int i =0;",
"i",
"0",
"i<sqtimes",
"i",
"sqtimes",
"i++",
"i++",
"i",
"{\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}",
"{\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}",
"ans = (ans*holder)%(1000000000+7)",
"ans",
"(ans*holder)%(1000000000+7)",
"(ans*holder)",
"ans",
"holder",
"(1000000000+7)",
"1000000000",
"7",
"for(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<times - sqtimes*sqtimes",
"i",
"times - sqtimes*sqtimes",
"times",
"sqtimes*sqtimes",
"sqtimes",
"sqtimes",
"i++",
"i++",
"i",
"{\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}",
"{\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}",
"ans = (ans * target)%(1000000000+7)",
"ans",
"(ans * target)%(1000000000+7)",
"(ans * target)",
"ans",
"target",
"(1000000000+7)",
"1000000000",
"7",
"return ans;",
"ans",
"int target",
"target",
"int times",
"times",
"static long div(long a) {//10_9+7のあまり\n\t\tif(a<0)a+=1000000000+7;\n\t\treturn a%(1000000000+7);\n\t}",
"div",
"{//10_9+7のあまり\n\t\tif(a<0)a+=1000000000+7;\n\t\treturn a%(1000000000+7);\n\t}",
"if(a<0)a+=1000000000+7;",
"a<0",
"a",
"0",
"a+=1000000000+7",
"a",
"1000000000+7",
"1000000000",
"7",
"return a%(1000000000+7);",
"a%(1000000000+7)",
"a",
"(1000000000+7)",
"1000000000",
"7",
"long a",
"a",
"public class Main {\n\n\tstatic long bignum = 1000000000+7;\n\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong();\n\t\tlong counter = 0;\n\t\tlong org = 100;\n\t\t\n\t\twhile(true) {\n\t\t\tcounter++;\n\t\t\torg = (long)(org*1.01);\n\t\t\tif(org>=x)break;\n\t\t}\n\n\t\tSystem.out.println(counter);\n\n\t}\n\n\tstatic long divn(int target, int times) {//10_9+7のあまり累乗版\n\t\tint sqtimes = (int)Math.sqrt(times);\n\t\tlong ans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\tlong holder = ans;\n\t\tans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}\n\t\tfor(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\treturn ans;\n\t}\n\n\tstatic long div(long a) {//10_9+7のあまり\n\t\tif(a<0)a+=1000000000+7;\n\t\treturn a%(1000000000+7);\n\t}\n\n}",
"public class Main {\n\n\tstatic long bignum = 1000000000+7;\n\n\tpublic static void main(String[] args){\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong();\n\t\tlong counter = 0;\n\t\tlong org = 100;\n\t\t\n\t\twhile(true) {\n\t\t\tcounter++;\n\t\t\torg = (long)(org*1.01);\n\t\t\tif(org>=x)break;\n\t\t}\n\n\t\tSystem.out.println(counter);\n\n\t}\n\n\tstatic long divn(int target, int times) {//10_9+7のあまり累乗版\n\t\tint sqtimes = (int)Math.sqrt(times);\n\t\tlong ans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\tlong holder = ans;\n\t\tans = 1;\n\t\tfor(int i =0;i<sqtimes;i++) {\n\t\t\tans = (ans*holder)%(1000000000+7);\n\t\t}\n\t\tfor(int i=0;i<times - sqtimes*sqtimes;i++) {\n\t\t\tans = (ans * target)%(1000000000+7);\n\t\t}\n\t\treturn ans;\n\t}\n\n\tstatic long div(long a) {//10_9+7のあまり\n\t\tif(a<0)a+=1000000000+7;\n\t\treturn a%(1000000000+7);\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
static long bignum = 1000000000+7;
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
long counter = 0;
long org = 100;
while(true) {
counter++;
org = (long)(org*1.01);
if(org>=x)break;
}
System.out.println(counter);
}
static long divn(int target, int times) {//10_9+7のあまり累乗版
int sqtimes = (int)Math.sqrt(times);
long ans = 1;
for(int i =0;i<sqtimes;i++) {
ans = (ans * target)%(1000000000+7);
}
long holder = ans;
ans = 1;
for(int i =0;i<sqtimes;i++) {
ans = (ans*holder)%(1000000000+7);
}
for(int i=0;i<times - sqtimes*sqtimes;i++) {
ans = (ans * target)%(1000000000+7);
}
return ans;
}
static long div(long a) {//10_9+7のあまり
if(a<0)a+=1000000000+7;
return a%(1000000000+7);
}
}
/*
class City{
int order;
int prefecture;
int year;
int number;
City(int order,int prefecture, int year){
this.order = order;
this.prefecture = prefecture;
this.year = year;
}
}
*/
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
11,
1,
30,
30,
0,
13,
4,
18,
13,
2,
13,
17,
40,
13,
14,
2,
13,
13,
3,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
26,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
32,
34
],
[
26,
35
],
[
35,
36
],
[
26,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"// 問題URL\n// https://atcoder.jp/contests/abc165/tasks/abc165_b\n\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n //コード\n Scanner scanner = new Scanner(System.in);\n Long n = scanner.nextLong();\n\n //System.out.println(n / 100L);\n Long count = 0L;\n Long result = 100L;\n for(;;) {\n result += ((long)Math.floor(result*0.01));\n count++;\n if(result >= n) break;;\n }\n\n\n System.out.println(count);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n //コード\n Scanner scanner = new Scanner(System.in);\n Long n = scanner.nextLong();\n\n //System.out.println(n / 100L);\n Long count = 0L;\n Long result = 100L;\n for(;;) {\n result += ((long)Math.floor(result*0.01));\n count++;\n if(result >= n) break;;\n }\n\n\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n //コード\n Scanner scanner = new Scanner(System.in);\n Long n = scanner.nextLong();\n\n //System.out.println(n / 100L);\n Long count = 0L;\n Long result = 100L;\n for(;;) {\n result += ((long)Math.floor(result*0.01));\n count++;\n if(result >= n) break;;\n }\n\n\n System.out.println(count);\n }",
"main",
"{\n //コード\n Scanner scanner = new Scanner(System.in);\n Long n = scanner.nextLong();\n\n //System.out.println(n / 100L);\n Long count = 0L;\n Long result = 100L;\n for(;;) {\n result += ((long)Math.floor(result*0.01));\n count++;\n if(result >= n) break;;\n }\n\n\n System.out.println(count);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"Long n = scanner.nextLong();",
"n",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"Long count = 0L;",
"count",
"0L",
"Long result = 100L;",
"result",
"100L",
"for(;;) {\n result += ((long)Math.floor(result*0.01));\n count++;\n if(result >= n) break;;\n }",
";",
"{\n result += ((long)Math.floor(result*0.01));\n count++;\n if(result >= n) break;;\n }",
"{\n result += ((long)Math.floor(result*0.01));\n count++;\n if(result >= n) break;;\n }",
"result += ((long)Math.floor(result*0.01))",
"result",
"((long)Math.floor(result*0.01))",
"Math.floor",
"Math",
"result*0.01",
"result",
"0.01",
"count++",
"count",
"if(result >= n) break;",
"result >= n",
"result",
"n",
"break;",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n //コード\n Scanner scanner = new Scanner(System.in);\n Long n = scanner.nextLong();\n\n //System.out.println(n / 100L);\n Long count = 0L;\n Long result = 100L;\n for(;;) {\n result += ((long)Math.floor(result*0.01));\n count++;\n if(result >= n) break;;\n }\n\n\n System.out.println(count);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n //コード\n Scanner scanner = new Scanner(System.in);\n Long n = scanner.nextLong();\n\n //System.out.println(n / 100L);\n Long count = 0L;\n Long result = 100L;\n for(;;) {\n result += ((long)Math.floor(result*0.01));\n count++;\n if(result >= n) break;;\n }\n\n\n System.out.println(count);\n }\n}",
"Main"
] |
// 問題URL
// https://atcoder.jp/contests/abc165/tasks/abc165_b
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
//コード
Scanner scanner = new Scanner(System.in);
Long n = scanner.nextLong();
//System.out.println(n / 100L);
Long count = 0L;
Long result = 100L;
for(;;) {
result += ((long)Math.floor(result*0.01));
count++;
if(result >= n) break;;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
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,
17,
11,
1,
41,
13,
17,
2,
2,
13,
13,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
2,
13,
13,
17,
2,
2,
13,
13,
17,
0,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
41,
13,
2,
17,
13,
0,
13,
2,
13,
13,
40,
13,
4,
18,
13,
13,
4,
18,
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,
6,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
20,
12,
13,
30,
4,
18,
13,
2,
17,
13,
23,
13,
12,
13,
30,
4,
13,
13,
4,
18,
13,
17,
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
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
],
[
0,
70
],
[
292,
71
],
[
292,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
78,
90
],
[
90,
91
],
[
91,
92
],
[
78,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
96,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
95,
107
],
[
107,
108
],
[
107,
109
],
[
74,
110
],
[
110,
111
],
[
72,
112
],
[
112,
113
],
[
72,
114
],
[
114,
115
],
[
292,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
122,
123
],
[
122,
124
],
[
118,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
118,
130
],
[
130,
131
],
[
130,
132
],
[
118,
133
],
[
133,
134
],
[
133,
135
],
[
118,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
136,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
143,
145
],
[
140,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
148,
150
],
[
140,
151
],
[
151,
152
],
[
118,
153
],
[
153,
154
],
[
154,
155
],
[
153,
156
],
[
118,
157
],
[
157,
158
],
[
158,
159
],
[
116,
160
],
[
160,
161
],
[
292,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
162,
166
],
[
166,
167
],
[
162,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
162,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
178,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
177,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
187,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
176,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
162,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
206,
209
],
[
209,
210
],
[
162,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
215,
218
],
[
218,
219
],
[
162,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
224,
227
],
[
227,
228
],
[
162,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
231,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
235,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
245,
246
],
[
246,
247
],
[
231,
248
],
[
248,
249
],
[
292,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
250,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
257,
258
],
[
258,
259
],
[
258,
260
],
[
257,
261
],
[
250,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
265,
266
],
[
266,
267
],
[
265,
268
],
[
268,
269
],
[
268,
270
],
[
262,
271
],
[
271,
272
],
[
250,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
275,
279
],
[
279,
280
],
[
280,
281
],
[
279,
282
],
[
273,
283
],
[
283,
284
],
[
250,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
288,
289
],
[
289,
290
],
[
0,
291
],
[
291,
292
],
[
291,
293
]
] |
[
"import java.io.BufferedOutputStream;\nimport java.io.BufferedReader;\nimport java.io.BufferedWriter;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.OutputStream;\nimport java.io.OutputStreamWriter;\nimport java.util.Scanner;\nimport java.lang.*;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collection;\nimport java.util.Collections;\nimport static java.util.Collections.list;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.Iterator;\nimport java.util.Random;\nimport java.util.Set;\nimport java.util.StringTokenizer;\nimport java.util.TreeSet;\npublic class Main {\n \n \n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n \n static class BufPrint\n {\n final BufferedWriter bw;\n public BufPrint()\n {\n this.bw=new BufferedWriter(new OutputStreamWriter(System.out));\n }\n public void print(Object object)throws IOException\n {\n bw.append(\"\"+object);\n }\n public void println(Object object)throws IOException\n {\n print(object);\n bw.append(\"\\n\");\n }\n public void close()throws IOException\n {\n bw.close();\n }\n }\n \n\n public static int GCD(int l,int r) {\n int gcd=1;\n for(int i = 1; i <= l && i <= r; ++i)\n {\n if(l % i==0 && r % i==0)\n gcd = i;\n }\n return gcd;\n}\n \n public static void main(String[] args) throws IOException{\n \n FastReader sc=new FastReader(); \n BufPrint bp=new BufPrint();\n \n long k=sc.nextLong();\n long ans=100;\n int c=0;\n while(ans<k)\n {\n double ans1=(.01*ans);\n ans=ans+(long)ans1;\n\n c++;\n }\n bp.println(c);\n\n\n\n bp.close();\n \n }\n \n}",
"import java.io.BufferedOutputStream;",
"BufferedOutputStream",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.BufferedWriter;",
"BufferedWriter",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.lang.*;",
"lang.*",
"java",
"import java.nio.file.Files;",
"Files",
"java.nio.file",
"import java.nio.file.Paths;",
"Paths",
"java.nio.file",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collection;",
"Collection",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import static java.util.Collections.list;",
"import static java.util.Collections.list;",
"import static java.util.Collections.list;",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.Iterator;",
"Iterator",
"java.util",
"import java.util.Random;",
"Random",
"java.util",
"import java.util.Set;",
"Set",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.util.TreeSet;",
"TreeSet",
"java.util",
"public class Main {\n \n \n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n \n static class BufPrint\n {\n final BufferedWriter bw;\n public BufPrint()\n {\n this.bw=new BufferedWriter(new OutputStreamWriter(System.out));\n }\n public void print(Object object)throws IOException\n {\n bw.append(\"\"+object);\n }\n public void println(Object object)throws IOException\n {\n print(object);\n bw.append(\"\\n\");\n }\n public void close()throws IOException\n {\n bw.close();\n }\n }\n \n\n public static int GCD(int l,int r) {\n int gcd=1;\n for(int i = 1; i <= l && i <= r; ++i)\n {\n if(l % i==0 && r % i==0)\n gcd = i;\n }\n return gcd;\n}\n \n public static void main(String[] args) throws IOException{\n \n FastReader sc=new FastReader(); \n BufPrint bp=new BufPrint();\n \n long k=sc.nextLong();\n long ans=100;\n int c=0;\n while(ans<k)\n {\n double ans1=(.01*ans);\n ans=ans+(long)ans1;\n\n c++;\n }\n bp.println(c);\n\n\n\n bp.close();\n \n }\n \n}",
"Main",
"public static int GCD(int l,int r) {\n int gcd=1;\n for(int i = 1; i <= l && i <= r; ++i)\n {\n if(l % i==0 && r % i==0)\n gcd = i;\n }\n return gcd;\n}",
"GCD",
"{\n int gcd=1;\n for(int i = 1; i <= l && i <= r; ++i)\n {\n if(l % i==0 && r % i==0)\n gcd = i;\n }\n return gcd;\n}",
"int gcd=1;",
"gcd",
"1",
"for(int i = 1; i <= l && i <= r; ++i)\n {\n if(l % i==0 && r % i==0)\n gcd = i;\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= l && i <= r",
"i <= l",
"i",
"l",
"i <= r",
"i",
"r",
"++i",
"++i",
"i",
"{\n if(l % i==0 && r % i==0)\n gcd = i;\n }",
"{\n if(l % i==0 && r % i==0)\n gcd = i;\n }",
"if(l % i==0 && r % i==0)\n gcd = i;",
"l % i==0 && r % i==0",
"l % i==0",
"l % i",
"l",
"i",
"0",
"r % i==0",
"r % i",
"r",
"i",
"0",
"gcd = i",
"gcd",
"i",
"return gcd;",
"gcd",
"int l",
"l",
"int r",
"r",
"public static void main(String[] args) throws IOException{\n \n FastReader sc=new FastReader(); \n BufPrint bp=new BufPrint();\n \n long k=sc.nextLong();\n long ans=100;\n int c=0;\n while(ans<k)\n {\n double ans1=(.01*ans);\n ans=ans+(long)ans1;\n\n c++;\n }\n bp.println(c);\n\n\n\n bp.close();\n \n }",
"main",
"{\n \n FastReader sc=new FastReader(); \n BufPrint bp=new BufPrint();\n \n long k=sc.nextLong();\n long ans=100;\n int c=0;\n while(ans<k)\n {\n double ans1=(.01*ans);\n ans=ans+(long)ans1;\n\n c++;\n }\n bp.println(c);\n\n\n\n bp.close();\n \n }",
"FastReader sc=new FastReader();",
"sc",
"new FastReader()",
"BufPrint bp=new BufPrint();",
"bp",
"new BufPrint()",
"long k=sc.nextLong();",
"k",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long ans=100;",
"ans",
"100",
"int c=0;",
"c",
"0",
"while(ans<k)\n {\n double ans1=(.01*ans);\n ans=ans+(long)ans1;\n\n c++;\n }",
"ans<k",
"ans",
"k",
"{\n double ans1=(.01*ans);\n ans=ans+(long)ans1;\n\n c++;\n }",
"double ans1=(.01*ans);",
"ans1",
"(.01*ans)",
".01",
"ans",
"ans=ans+(long)ans1",
"ans",
"ans+(long)ans1",
"ans",
"(long)ans1",
"c++",
"c",
"bp.println(c)",
"bp.println",
"bp",
"c",
"bp.close()",
"bp.close",
"bp",
"String[] args",
"args",
"static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() \n { \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 { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }",
"next",
"{ \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }",
"while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{ \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n }",
"try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n }",
"catch (IOException e) \n { \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 { \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 { \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 { \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 { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }",
"nextLine",
"{ \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }",
"String str = \"\";",
"str",
"\"\"",
"try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n }",
"catch (IOException e) \n { \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",
"static class BufPrint\n {\n final BufferedWriter bw;\n public BufPrint()\n {\n this.bw=new BufferedWriter(new OutputStreamWriter(System.out));\n }\n public void print(Object object)throws IOException\n {\n bw.append(\"\"+object);\n }\n public void println(Object object)throws IOException\n {\n print(object);\n bw.append(\"\\n\");\n }\n public void close()throws IOException\n {\n bw.close();\n }\n }",
"BufPrint",
"final BufferedWriter bw;",
"bw",
"public BufPrint()\n {\n this.bw=new BufferedWriter(new OutputStreamWriter(System.out));\n }",
"BufPrint",
"{\n this.bw=new BufferedWriter(new OutputStreamWriter(System.out));\n }",
"this.bw=new BufferedWriter(new OutputStreamWriter(System.out))",
"this.bw",
"this",
"this.bw",
"new BufferedWriter(new OutputStreamWriter(System.out))",
"public void print(Object object)throws IOException\n {\n bw.append(\"\"+object);\n }",
"print",
"{\n bw.append(\"\"+object);\n }",
"bw.append(\"\"+object)",
"bw.append",
"bw",
"\"\"+object",
"\"\"",
"object",
"Object object",
"object",
"public void println(Object object)throws IOException\n {\n print(object);\n bw.append(\"\\n\");\n }",
"println",
"{\n print(object);\n bw.append(\"\\n\");\n }",
"print(object)",
"print",
"object",
"bw.append(\"\\n\")",
"bw.append",
"bw",
"\"\\n\"",
"Object object",
"object",
"public void close()throws IOException\n {\n bw.close();\n }",
"close",
"{\n bw.close();\n }",
"bw.close()",
"bw.close",
"bw",
"public class Main {\n \n \n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n \n static class BufPrint\n {\n final BufferedWriter bw;\n public BufPrint()\n {\n this.bw=new BufferedWriter(new OutputStreamWriter(System.out));\n }\n public void print(Object object)throws IOException\n {\n bw.append(\"\"+object);\n }\n public void println(Object object)throws IOException\n {\n print(object);\n bw.append(\"\\n\");\n }\n public void close()throws IOException\n {\n bw.close();\n }\n }\n \n\n public static int GCD(int l,int r) {\n int gcd=1;\n for(int i = 1; i <= l && i <= r; ++i)\n {\n if(l % i==0 && r % i==0)\n gcd = i;\n }\n return gcd;\n}\n \n public static void main(String[] args) throws IOException{\n \n FastReader sc=new FastReader(); \n BufPrint bp=new BufPrint();\n \n long k=sc.nextLong();\n long ans=100;\n int c=0;\n while(ans<k)\n {\n double ans1=(.01*ans);\n ans=ans+(long)ans1;\n\n c++;\n }\n bp.println(c);\n\n\n\n bp.close();\n \n }\n \n}",
"public class Main {\n \n \n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n \n static class BufPrint\n {\n final BufferedWriter bw;\n public BufPrint()\n {\n this.bw=new BufferedWriter(new OutputStreamWriter(System.out));\n }\n public void print(Object object)throws IOException\n {\n bw.append(\"\"+object);\n }\n public void println(Object object)throws IOException\n {\n print(object);\n bw.append(\"\\n\");\n }\n public void close()throws IOException\n {\n bw.close();\n }\n }\n \n\n public static int GCD(int l,int r) {\n int gcd=1;\n for(int i = 1; i <= l && i <= r; ++i)\n {\n if(l % i==0 && r % i==0)\n gcd = i;\n }\n return gcd;\n}\n \n public static void main(String[] args) throws IOException{\n \n FastReader sc=new FastReader(); \n BufPrint bp=new BufPrint();\n \n long k=sc.nextLong();\n long ans=100;\n int c=0;\n while(ans<k)\n {\n double ans1=(.01*ans);\n ans=ans+(long)ans1;\n\n c++;\n }\n bp.println(c);\n\n\n\n bp.close();\n \n }\n \n}",
"Main"
] |
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.util.Scanner;
import java.lang.*;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import static java.util.Collections.list;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Random;
import java.util.Set;
import java.util.StringTokenizer;
import java.util.TreeSet;
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.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;
}
}
static class BufPrint
{
final BufferedWriter bw;
public BufPrint()
{
this.bw=new BufferedWriter(new OutputStreamWriter(System.out));
}
public void print(Object object)throws IOException
{
bw.append(""+object);
}
public void println(Object object)throws IOException
{
print(object);
bw.append("\n");
}
public void close()throws IOException
{
bw.close();
}
}
public static int GCD(int l,int r) {
int gcd=1;
for(int i = 1; i <= l && i <= r; ++i)
{
if(l % i==0 && r % i==0)
gcd = i;
}
return gcd;
}
public static void main(String[] args) throws IOException{
FastReader sc=new FastReader();
BufPrint bp=new BufPrint();
long k=sc.nextLong();
long ans=100;
int c=0;
while(ans<k)
{
double ans1=(.01*ans);
ans=ans+(long)ans1;
c++;
}
bp.println(c);
bp.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
2,
13,
17,
40,
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
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
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.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner sc = new Scanner(System.in);\n String line1 = sc.nextLine();\n \n double x = Double.parseDouble(line1);\n \n long yokin = 100;\n int count = 0;\n while(yokin < x)\n {\n yokin = yokin + (long)(yokin * 0.01);\n count++;\n }\n \n System.out.println(count);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner sc = new Scanner(System.in);\n String line1 = sc.nextLine();\n \n double x = Double.parseDouble(line1);\n \n long yokin = 100;\n int count = 0;\n while(yokin < x)\n {\n yokin = yokin + (long)(yokin * 0.01);\n count++;\n }\n \n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n \n Scanner sc = new Scanner(System.in);\n String line1 = sc.nextLine();\n \n double x = Double.parseDouble(line1);\n \n long yokin = 100;\n int count = 0;\n while(yokin < x)\n {\n yokin = yokin + (long)(yokin * 0.01);\n count++;\n }\n \n System.out.println(count);\n }",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n String line1 = sc.nextLine();\n \n double x = Double.parseDouble(line1);\n \n long yokin = 100;\n int count = 0;\n while(yokin < x)\n {\n yokin = yokin + (long)(yokin * 0.01);\n count++;\n }\n \n System.out.println(count);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String line1 = sc.nextLine();",
"line1",
"sc.nextLine()",
"sc.nextLine",
"sc",
"double x = Double.parseDouble(line1);",
"x",
"Double.parseDouble(line1)",
"Double.parseDouble",
"Double",
"line1",
"long yokin = 100;",
"yokin",
"100",
"int count = 0;",
"count",
"0",
"while(yokin < x)\n {\n yokin = yokin + (long)(yokin * 0.01);\n count++;\n }",
"yokin < x",
"yokin",
"x",
"{\n yokin = yokin + (long)(yokin * 0.01);\n count++;\n }",
"yokin = yokin + (long)(yokin * 0.01)",
"yokin",
"yokin + (long)(yokin * 0.01)",
"yokin",
"(long)(yokin * 0.01)",
"yokin",
"0.01",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner sc = new Scanner(System.in);\n String line1 = sc.nextLine();\n \n double x = Double.parseDouble(line1);\n \n long yokin = 100;\n int count = 0;\n while(yokin < x)\n {\n yokin = yokin + (long)(yokin * 0.01);\n count++;\n }\n \n System.out.println(count);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner sc = new Scanner(System.in);\n String line1 = sc.nextLine();\n \n double x = Double.parseDouble(line1);\n \n long yokin = 100;\n int count = 0;\n while(yokin < x)\n {\n yokin = yokin + (long)(yokin * 0.01);\n count++;\n }\n \n System.out.println(count);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
String line1 = sc.nextLine();
double x = Double.parseDouble(line1);
long yokin = 100;
int count = 0;
while(yokin < x)
{
yokin = yokin + (long)(yokin * 0.01);
count++;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
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
],
[
56,
5
],
[
56,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
38,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] |
[
"import java.util.Scanner;\n\n// https://atcoder.jp/contests/abc165/tasks/abc165_b\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tsc.close();\n\n\n\n\t\tint ans = 1;\n\t\tlong a = 100L;\n\t\tfor(int i=1;a<x;i++) {\n\t\t\ta = (long) (a*1.01);\n\t\t\tans = i;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tsc.close();\n\n\n\n\t\tint ans = 1;\n\t\tlong a = 100L;\n\t\tfor(int i=1;a<x;i++) {\n\t\t\ta = (long) (a*1.01);\n\t\t\tans = i;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tsc.close();\n\n\n\n\t\tint ans = 1;\n\t\tlong a = 100L;\n\t\tfor(int i=1;a<x;i++) {\n\t\t\ta = (long) (a*1.01);\n\t\t\tans = i;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tsc.close();\n\n\n\n\t\tint ans = 1;\n\t\tlong a = 100L;\n\t\tfor(int i=1;a<x;i++) {\n\t\t\ta = (long) (a*1.01);\n\t\t\tans = i;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"sc.close()",
"sc.close",
"sc",
"int ans = 1;",
"ans",
"1",
"long a = 100L;",
"a",
"100L",
"for(int i=1;a<x;i++) {\n\t\t\ta = (long) (a*1.01);\n\t\t\tans = i;\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"a<x",
"a",
"x",
"i++",
"i++",
"i",
"{\n\t\t\ta = (long) (a*1.01);\n\t\t\tans = i;\n\t\t}",
"{\n\t\t\ta = (long) (a*1.01);\n\t\t\tans = i;\n\t\t}",
"a = (long) (a*1.01)",
"a",
"(long) (a*1.01)",
"a",
"1.01",
"ans = i",
"ans",
"i",
"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\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tsc.close();\n\n\n\n\t\tint ans = 1;\n\t\tlong a = 100L;\n\t\tfor(int i=1;a<x;i++) {\n\t\t\ta = (long) (a*1.01);\n\t\t\tans = i;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tsc.close();\n\n\n\n\t\tint ans = 1;\n\t\tlong a = 100L;\n\t\tfor(int i=1;a<x;i++) {\n\t\t\ta = (long) (a*1.01);\n\t\t\tans = i;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
// https://atcoder.jp/contests/abc165/tasks/abc165_b
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
sc.close();
int ans = 1;
long a = 100L;
for(int i=1;a<x;i++) {
a = (long) (a*1.01);
ans = i;
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
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
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n long X = scanner.nextLong();\n long A = 100;\n int Y = 0;\n \n while(A<X){\n A *= 1.01;\n Y++;\n }\n \n System.out.println(Y);\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n long X = scanner.nextLong();\n long A = 100;\n int Y = 0;\n \n while(A<X){\n A *= 1.01;\n Y++;\n }\n \n System.out.println(Y);\n \n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n long X = scanner.nextLong();\n long A = 100;\n int Y = 0;\n \n while(A<X){\n A *= 1.01;\n Y++;\n }\n \n System.out.println(Y);\n \n }",
"main",
"{\n \n Scanner scanner = new Scanner(System.in);\n long X = scanner.nextLong();\n long A = 100;\n int Y = 0;\n \n while(A<X){\n A *= 1.01;\n Y++;\n }\n \n System.out.println(Y);\n \n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"long X = scanner.nextLong();",
"X",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"long A = 100;",
"A",
"100",
"int Y = 0;",
"Y",
"0",
"while(A<X){\n A *= 1.01;\n Y++;\n }",
"A<X",
"A",
"X",
"{\n A *= 1.01;\n Y++;\n }",
"A *= 1.01",
"A",
"1.01",
"Y++",
"Y",
"System.out.println(Y)",
"System.out.println",
"System.out",
"System",
"System.out",
"Y",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n long X = scanner.nextLong();\n long A = 100;\n int Y = 0;\n \n while(A<X){\n A *= 1.01;\n Y++;\n }\n \n System.out.println(Y);\n \n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n long X = scanner.nextLong();\n long A = 100;\n int Y = 0;\n \n while(A<X){\n A *= 1.01;\n Y++;\n }\n \n System.out.println(Y);\n \n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner scanner = new Scanner(System.in);
long X = scanner.nextLong();
long A = 100;
int Y = 0;
while(A<X){
A *= 1.01;
Y++;
}
System.out.println(Y);
}
}
|
[
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,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
66,
14
],
[
66,
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
],
[
29,
30
],
[
30,
31
],
[
17,
32
],
[
32,
33
],
[
33,
34
],
[
17,
35
],
[
35,
36
],
[
35,
37
],
[
17,
38
],
[
38,
39
],
[
38,
40
],
[
17,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
45,
51
],
[
51,
52
],
[
17,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
17,
60
],
[
60,
61
],
[
61,
62
],
[
15,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] |
[
"import java.io.BufferedReader;\nimport java.io.BufferedWriter;\nimport java.io.InputStreamReader;\nimport java.io.OutputStreamWriter;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n long x = Long.parseLong(br.readLine());\n\n br.close();\n\n long now = 100;\n int ans = 0;\n\n while (now < x) {\n now = (long) (now * 1.01);\n ans++;\n }\n\n bw.write(String.valueOf(ans));\n\n bw.flush();\n\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.BufferedWriter;",
"BufferedWriter",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n long x = Long.parseLong(br.readLine());\n\n br.close();\n\n long now = 100;\n int ans = 0;\n\n while (now < x) {\n now = (long) (now * 1.01);\n ans++;\n }\n\n bw.write(String.valueOf(ans));\n\n bw.flush();\n\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n long x = Long.parseLong(br.readLine());\n\n br.close();\n\n long now = 100;\n int ans = 0;\n\n while (now < x) {\n now = (long) (now * 1.01);\n ans++;\n }\n\n bw.write(String.valueOf(ans));\n\n bw.flush();\n\n }",
"main",
"{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n long x = Long.parseLong(br.readLine());\n\n br.close();\n\n long now = 100;\n int ans = 0;\n\n while (now < x) {\n now = (long) (now * 1.01);\n ans++;\n }\n\n bw.write(String.valueOf(ans));\n\n bw.flush();\n\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));",
"bw",
"new BufferedWriter(new OutputStreamWriter(System.out))",
"long x = Long.parseLong(br.readLine());",
"x",
"Long.parseLong(br.readLine())",
"Long.parseLong",
"Long",
"br.readLine()",
"br.readLine",
"br",
"br.close()",
"br.close",
"br",
"long now = 100;",
"now",
"100",
"int ans = 0;",
"ans",
"0",
"while (now < x) {\n now = (long) (now * 1.01);\n ans++;\n }",
"now < x",
"now",
"x",
"{\n now = (long) (now * 1.01);\n ans++;\n }",
"now = (long) (now * 1.01)",
"now",
"(long) (now * 1.01)",
"now",
"1.01",
"ans++",
"ans",
"bw.write(String.valueOf(ans))",
"bw.write",
"bw",
"String.valueOf(ans)",
"String.valueOf",
"String",
"ans",
"bw.flush()",
"bw.flush",
"bw",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n long x = Long.parseLong(br.readLine());\n\n br.close();\n\n long now = 100;\n int ans = 0;\n\n while (now < x) {\n now = (long) (now * 1.01);\n ans++;\n }\n\n bw.write(String.valueOf(ans));\n\n bw.flush();\n\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n long x = Long.parseLong(br.readLine());\n\n br.close();\n\n long now = 100;\n int ans = 0;\n\n while (now < x) {\n now = (long) (now * 1.01);\n ans++;\n }\n\n bw.write(String.valueOf(ans));\n\n bw.flush();\n\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
long x = Long.parseLong(br.readLine());
br.close();
long now = 100;
int ans = 0;
while (now < x) {
now = (long) (now * 1.01);
ans++;
}
bw.write(String.valueOf(ans));
bw.flush();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
2,
17,
17,
41,
13,
17,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
13,
0,
13,
13,
40,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
0,
13,
17,
0,
13,
4,
18,
4,
18,
13,
17,
0,
13,
18,
13,
13,
12,
13,
30,
0,
13,
17,
0,
13,
4,
18,
4,
18,
13,
17,
0,
13,
18,
13,
13,
12,
13,
30,
14,
2,
13,
13,
4,
13,
29,
4,
18,
13,
18,
13,
40,
13,
12,
13,
30,
14,
2,
13,
13,
4,
13,
29,
4,
18,
13,
18,
13,
40,
13,
12,
13,
30,
14,
2,
13,
13,
4,
13,
29,
4,
18,
13,
18,
13,
40,
13,
12,
13,
30,
14,
2,
13,
13,
4,
13,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
40,
13,
29,
13,
23,
13,
12,
13,
30,
0,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
20,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
2,
13,
13,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
13,
17,
29,
2,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
14,
2,
13,
17,
29,
13,
41,
13,
17,
41,
13,
41,
13,
0,
13,
8,
2,
13,
13,
13,
13,
0,
13,
8,
2,
13,
13,
13,
13,
0,
13,
13,
42,
2,
2,
13,
13,
17,
30,
0,
13,
2,
13,
13,
0,
13,
13,
0,
13,
13,
29,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
2,
13,
2,
13,
17,
41,
13,
2,
13,
2,
13,
17,
29,
2,
2,
17,
13,
13,
12,
13,
30,
41,
13,
13,
29,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
17,
13,
17,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
2,
13,
2,
13,
17,
41,
13,
2,
13,
2,
13,
17,
29,
2,
2,
17,
13,
13,
12,
13,
30,
41,
13,
13,
29,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
17,
13,
17,
13,
17,
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
],
[
553,
17
],
[
553,
18
],
[
18,
19
],
[
18,
20
],
[
553,
21
],
[
21,
22
],
[
21,
23
],
[
553,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
553,
29
],
[
29,
30
],
[
29,
31
],
[
553,
32
],
[
32,
33
],
[
553,
34
],
[
34,
35
],
[
34,
36
],
[
553,
37
],
[
37,
38
],
[
37,
39
],
[
553,
40
],
[
40,
41
],
[
553,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
52,
54
],
[
44,
55
],
[
55,
56
],
[
55,
57
],
[
44,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
62,
68
],
[
68,
69
],
[
68,
70
],
[
62,
71
],
[
71,
72
],
[
44,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
44,
77
],
[
77,
78
],
[
78,
79
],
[
44,
80
],
[
80,
81
],
[
81,
82
],
[
42,
83
],
[
83,
84
],
[
553,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
93,
98
],
[
87,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
101,
103
],
[
553,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
112,
117
],
[
106,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
120,
122
],
[
553,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
125,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
553,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
147,
148
],
[
142,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
150,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
553,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
160,
164
],
[
164,
165
],
[
159,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
167,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
553,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
181
],
[
181,
182
],
[
176,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
553,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
190,
194
],
[
194,
195
],
[
195,
196
],
[
194,
197
],
[
197,
198
],
[
198,
199
],
[
197,
200
],
[
188,
201
],
[
201,
202
],
[
553,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
209,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
216,
218
],
[
213,
219
],
[
219,
220
],
[
205,
221
],
[
221,
222
],
[
203,
223
],
[
223,
224
],
[
553,
225
],
[
225,
226
],
[
225,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
227,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
232,
237
],
[
237,
238
],
[
237,
239
],
[
232,
240
],
[
240,
241
],
[
241,
242
],
[
232,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
244,
248
],
[
225,
249
],
[
249,
250
],
[
553,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
254,
259
],
[
251,
260
],
[
260,
261
],
[
251,
262
],
[
262,
263
],
[
553,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
267,
272
],
[
272,
273
],
[
273,
274
],
[
272,
275
],
[
264,
276
],
[
276,
277
],
[
553,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
280,
284
],
[
284,
285
],
[
284,
286
],
[
286,
287
],
[
286,
288
],
[
280,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
289,
293
],
[
293,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
296,
298
],
[
295,
299
],
[
294,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
303,
304
],
[
303,
305
],
[
302,
306
],
[
293,
307
],
[
307,
308
],
[
307,
309
],
[
309,
310
],
[
310,
311
],
[
310,
312
],
[
309,
313
],
[
293,
314
],
[
314,
315
],
[
314,
316
],
[
316,
317
],
[
316,
318
],
[
280,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
278,
323
],
[
323,
324
],
[
278,
325
],
[
325,
326
],
[
278,
327
],
[
327,
328
],
[
553,
329
],
[
329,
330
],
[
329,
331
],
[
331,
332
],
[
332,
333
],
[
333,
334
],
[
333,
335
],
[
332,
336
],
[
336,
337
],
[
331,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
338,
342
],
[
342,
343
],
[
331,
344
],
[
344,
345
],
[
344,
346
],
[
331,
347
],
[
347,
348
],
[
331,
349
],
[
349,
350
],
[
331,
351
],
[
351,
352
],
[
351,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
353,
357
],
[
353,
358
],
[
331,
359
],
[
359,
360
],
[
359,
361
],
[
361,
362
],
[
362,
363
],
[
362,
364
],
[
361,
365
],
[
361,
366
],
[
331,
367
],
[
367,
368
],
[
367,
369
],
[
331,
370
],
[
370,
371
],
[
371,
372
],
[
372,
373
],
[
372,
374
],
[
371,
375
],
[
370,
376
],
[
376,
377
],
[
377,
378
],
[
377,
379
],
[
379,
380
],
[
379,
381
],
[
376,
382
],
[
382,
383
],
[
382,
384
],
[
376,
385
],
[
385,
386
],
[
385,
387
],
[
331,
388
],
[
388,
389
],
[
329,
390
],
[
390,
391
],
[
329,
392
],
[
392,
393
],
[
553,
394
],
[
394,
395
],
[
394,
396
],
[
396,
397
],
[
394,
398
],
[
398,
399
],
[
394,
400
],
[
400,
401
],
[
400,
402
],
[
402,
403
],
[
403,
404
],
[
404,
405
],
[
404,
406
],
[
403,
407
],
[
402,
408
],
[
408,
409
],
[
409,
410
],
[
409,
411
],
[
408,
412
],
[
400,
413
],
[
413,
414
],
[
400,
415
],
[
415,
416
],
[
394,
417
],
[
417,
418
],
[
417,
419
],
[
419,
420
],
[
420,
421
],
[
420,
422
],
[
422,
423
],
[
422,
424
],
[
424,
425
],
[
424,
426
],
[
419,
427
],
[
427,
428
],
[
427,
429
],
[
429,
430
],
[
429,
431
],
[
431,
432
],
[
431,
433
],
[
419,
434
],
[
434,
435
],
[
435,
436
],
[
436,
437
],
[
436,
438
],
[
435,
439
],
[
394,
440
],
[
440,
441
],
[
440,
442
],
[
442,
443
],
[
443,
444
],
[
443,
445
],
[
442,
446
],
[
446,
447
],
[
447,
448
],
[
448,
449
],
[
448,
450
],
[
450,
451
],
[
450,
452
],
[
447,
453
],
[
453,
454
],
[
453,
455
],
[
455,
456
],
[
455,
457
],
[
440,
458
],
[
458,
459
],
[
394,
460
],
[
460,
461
],
[
460,
462
],
[
462,
463
],
[
463,
464
],
[
467,
465
],
[
465,
466
],
[
466,
467
],
[
467,
468
],
[
467,
469
],
[
466,
470
],
[
465,
471
],
[
467,
472
],
[
553,
473
],
[
473,
474
],
[
473,
475
],
[
475,
476
],
[
473,
477
],
[
477,
478
],
[
473,
479
],
[
479,
480
],
[
479,
481
],
[
481,
482
],
[
482,
483
],
[
483,
484
],
[
483,
485
],
[
482,
486
],
[
481,
487
],
[
487,
488
],
[
488,
489
],
[
488,
490
],
[
487,
491
],
[
479,
492
],
[
492,
493
],
[
479,
494
],
[
494,
495
],
[
473,
496
],
[
496,
497
],
[
496,
498
],
[
498,
499
],
[
499,
500
],
[
499,
501
],
[
501,
502
],
[
501,
503
],
[
503,
504
],
[
503,
505
],
[
498,
506
],
[
506,
507
],
[
506,
508
],
[
508,
509
],
[
508,
510
],
[
510,
511
],
[
510,
512
],
[
498,
513
],
[
513,
514
],
[
514,
515
],
[
515,
516
],
[
515,
517
],
[
514,
518
],
[
473,
519
],
[
519,
520
],
[
519,
521
],
[
521,
522
],
[
522,
523
],
[
522,
524
],
[
521,
525
],
[
525,
526
],
[
526,
527
],
[
527,
528
],
[
527,
529
],
[
529,
530
],
[
529,
531
],
[
526,
532
],
[
532,
533
],
[
532,
534
],
[
534,
535
],
[
534,
536
],
[
519,
537
],
[
537,
538
],
[
473,
539
],
[
539,
540
],
[
539,
541
],
[
541,
542
],
[
542,
543
],
[
546,
544
],
[
544,
545
],
[
545,
546
],
[
546,
547
],
[
546,
548
],
[
545,
549
],
[
544,
550
],
[
546,
551
],
[
0,
552
],
[
552,
553
],
[
552,
554
]
] |
[
"/*****Author: Satyajeet Singh, Delhi Technological University************************************/\n import java.io.*;\n import java.util.*;\n import java.text.*; \n import java.lang.*;\n import java.math.*;\npublic class Main{\n/*********************************************Constants******************************************/\n static PrintWriter out=new PrintWriter(new OutputStreamWriter(System.out)); \n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n static long mod=(long)1e9+7;\n static long mod1=998244353;\n static ArrayList<Integer> graph[];\n static int pptr=0,pptrmax=0;\n static String st[];\n/*****************************************Solution Begins***************************************/\n public static void main(String args[]) throws Exception{\n long x=pl();\n double p=100;\n double r=1.01;\n long ans=0;\n while(p<x){\n p=p*r;\n p=(long)p;\n ans++;\n }\n out.println(ans);\n/****************************************Solution Ends**************************************************/\n out.flush();\n out.close();\n }\n/****************************************Template Begins************************************************/\n static void nl() throws Exception{\n pptr=0;\n st=br.readLine().split(\" \");\n pptrmax=st.length;\n }\n static void nls() throws Exception{\n pptr=0;\n st=br.readLine().split(\"\");\n pptrmax=st.length;\n }\n static int pi() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Integer.parseInt(st[pptr++]);\n }\n static long pl() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Long.parseLong(st[pptr++]);\n }\n static double pd() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Double.parseDouble(st[pptr++]);\n }\n static String ps() throws Exception{\n if(pptr==pptrmax)\n nl();\n return st[pptr++];\n }\n/***************************************Precision Printing**********************************************/\n static void printPrecision(double d){\n DecimalFormat ft = new DecimalFormat(\"0.000000000000\"); \n out.print(ft.format(d));\n }\n/**************************************Bit Manipulation**************************************************/\n static int countBit(long mask){\n int ans=0;\n while(mask!=0){\n mask&=(mask-1);\n ans++;\n }\n return ans;\n }\n/******************************************Graph*********************************************************/\n static void Makegraph(int n){\n graph=new ArrayList[n];\n for(int i=0;i<n;i++)\n graph[i]=new ArrayList<>();\n }\n static void addEdge(int a,int b){\n graph[a].add(b);\n }\n // static void addEdge(int a,int b,int c){\n // graph[a].add(new Pair(b,c));\n // } \n/*********************************************PAIR********************************************************/\n static class Pair{\n int u;\n int v;\n public Pair(int u, int v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pair other = (Pair) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }\n/******************************************Long Pair*******************************************************/\n static class Pairl{\n long u;\n long v;\n public Pairl(long u, long v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pairl other = (Pairl) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }\n/*****************************************DEBUG***********************************************************/\n public static void debug(Object... o){\n System.out.println(Arrays.deepToString(o));\n }\n/************************************MODULAR EXPONENTIATION***********************************************/\n static long modulo(long a,long b,long c){\n long x=1,y=a%c;\n while(b > 0){\n if(b%2 == 1)\n x=(x*y)%c;\n y = (y*y)%c;\n b = b>>1;\n }\n return x%c;\n }\n/********************************************GCD**********************************************************/\n static long gcd(long x, long y){\n if(x==0)\n return y;\n if(y==0)\n return x;\n long r=0, a, b;\n a = (x > y) ? x : y; \n b = (x < y) ? x : y;\n r = b;\n while(a % b != 0){\n r = a % b;\n a = b;\n b = r;\n }\n return r;\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.text.*;",
"text.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main{\n/*********************************************Constants******************************************/\n static PrintWriter out=new PrintWriter(new OutputStreamWriter(System.out)); \n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n static long mod=(long)1e9+7;\n static long mod1=998244353;\n static ArrayList<Integer> graph[];\n static int pptr=0,pptrmax=0;\n static String st[];\n/*****************************************Solution Begins***************************************/\n public static void main(String args[]) throws Exception{\n long x=pl();\n double p=100;\n double r=1.01;\n long ans=0;\n while(p<x){\n p=p*r;\n p=(long)p;\n ans++;\n }\n out.println(ans);\n/****************************************Solution Ends**************************************************/\n out.flush();\n out.close();\n }\n/****************************************Template Begins************************************************/\n static void nl() throws Exception{\n pptr=0;\n st=br.readLine().split(\" \");\n pptrmax=st.length;\n }\n static void nls() throws Exception{\n pptr=0;\n st=br.readLine().split(\"\");\n pptrmax=st.length;\n }\n static int pi() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Integer.parseInt(st[pptr++]);\n }\n static long pl() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Long.parseLong(st[pptr++]);\n }\n static double pd() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Double.parseDouble(st[pptr++]);\n }\n static String ps() throws Exception{\n if(pptr==pptrmax)\n nl();\n return st[pptr++];\n }\n/***************************************Precision Printing**********************************************/\n static void printPrecision(double d){\n DecimalFormat ft = new DecimalFormat(\"0.000000000000\"); \n out.print(ft.format(d));\n }\n/**************************************Bit Manipulation**************************************************/\n static int countBit(long mask){\n int ans=0;\n while(mask!=0){\n mask&=(mask-1);\n ans++;\n }\n return ans;\n }\n/******************************************Graph*********************************************************/\n static void Makegraph(int n){\n graph=new ArrayList[n];\n for(int i=0;i<n;i++)\n graph[i]=new ArrayList<>();\n }\n static void addEdge(int a,int b){\n graph[a].add(b);\n }\n // static void addEdge(int a,int b,int c){\n // graph[a].add(new Pair(b,c));\n // } \n/*********************************************PAIR********************************************************/\n static class Pair{\n int u;\n int v;\n public Pair(int u, int v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pair other = (Pair) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }\n/******************************************Long Pair*******************************************************/\n static class Pairl{\n long u;\n long v;\n public Pairl(long u, long v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pairl other = (Pairl) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }\n/*****************************************DEBUG***********************************************************/\n public static void debug(Object... o){\n System.out.println(Arrays.deepToString(o));\n }\n/************************************MODULAR EXPONENTIATION***********************************************/\n static long modulo(long a,long b,long c){\n long x=1,y=a%c;\n while(b > 0){\n if(b%2 == 1)\n x=(x*y)%c;\n y = (y*y)%c;\n b = b>>1;\n }\n return x%c;\n }\n/********************************************GCD**********************************************************/\n static long gcd(long x, long y){\n if(x==0)\n return y;\n if(y==0)\n return x;\n long r=0, a, b;\n a = (x > y) ? x : y; \n b = (x < y) ? x : y;\n r = b;\n while(a % b != 0){\n r = a % b;\n a = b;\n b = r;\n }\n return r;\n }\n}",
"Main",
"/*********************************************Constants******************************************/\n static PrintWriter out=new PrintWriter(new OutputStreamWriter(System.out));",
"out",
"new PrintWriter(new OutputStreamWriter(System.out))",
"static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"static long mod=(long)1e9+7;",
"mod",
"(long)1e9+7",
"(long)1e9",
"7",
"static long mod1=998244353;",
"mod1",
"998244353",
"static ArrayList<Integer> graph[];",
"graph",
"static int pptr=0",
"pptr",
"0",
"pptrmax=0;",
"pptrmax",
"0",
"static String st[];",
"st",
"/*****************************************Solution Begins***************************************/\n public static void main(String args[]) throws Exception{\n long x=pl();\n double p=100;\n double r=1.01;\n long ans=0;\n while(p<x){\n p=p*r;\n p=(long)p;\n ans++;\n }\n out.println(ans);\n/****************************************Solution Ends**************************************************/\n out.flush();\n out.close();\n }",
"main",
"{\n long x=pl();\n double p=100;\n double r=1.01;\n long ans=0;\n while(p<x){\n p=p*r;\n p=(long)p;\n ans++;\n }\n out.println(ans);\n/****************************************Solution Ends**************************************************/\n out.flush();\n out.close();\n }",
"long x=pl();",
"x",
"pl()",
"pl",
"double p=100;",
"p",
"100",
"double r=1.01;",
"r",
"1.01",
"long ans=0;",
"ans",
"0",
"while(p<x){\n p=p*r;\n p=(long)p;\n ans++;\n }",
"p<x",
"p",
"x",
"{\n p=p*r;\n p=(long)p;\n ans++;\n }",
"p=p*r",
"p",
"p*r",
"p",
"r",
"p=(long)p",
"p",
"(long)p",
"ans++",
"ans",
"out.println(ans)",
"out.println",
"out",
"ans",
"out.flush()",
"out.flush",
"out",
"out.close()",
"out.close",
"out",
"String args[]",
"args",
"/****************************************Template Begins************************************************/\n static void nl() throws Exception{\n pptr=0;\n st=br.readLine().split(\" \");\n pptrmax=st.length;\n }",
"nl",
"{\n pptr=0;\n st=br.readLine().split(\" \");\n pptrmax=st.length;\n }",
"pptr=0",
"pptr",
"0",
"st=br.readLine().split(\" \")",
"st",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"pptrmax=st.length",
"pptrmax",
"st.length",
"st",
"st.length",
"static void nls() throws Exception{\n pptr=0;\n st=br.readLine().split(\"\");\n pptrmax=st.length;\n }",
"nls",
"{\n pptr=0;\n st=br.readLine().split(\"\");\n pptrmax=st.length;\n }",
"pptr=0",
"pptr",
"0",
"st=br.readLine().split(\"\")",
"st",
"br.readLine().split(\"\")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\"\"",
"pptrmax=st.length",
"pptrmax",
"st.length",
"st",
"st.length",
"static int pi() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Integer.parseInt(st[pptr++]);\n }",
"pi",
"{\n if(pptr==pptrmax)\n nl();\n return Integer.parseInt(st[pptr++]);\n }",
"if(pptr==pptrmax)\n nl();",
"pptr==pptrmax",
"pptr",
"pptrmax",
"nl()",
"nl",
"return Integer.parseInt(st[pptr++]);",
"Integer.parseInt(st[pptr++])",
"Integer.parseInt",
"Integer",
"st[pptr++]",
"st",
"pptr++",
"pptr",
"static long pl() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Long.parseLong(st[pptr++]);\n }",
"pl",
"{\n if(pptr==pptrmax)\n nl();\n return Long.parseLong(st[pptr++]);\n }",
"if(pptr==pptrmax)\n nl();",
"pptr==pptrmax",
"pptr",
"pptrmax",
"nl()",
"nl",
"return Long.parseLong(st[pptr++]);",
"Long.parseLong(st[pptr++])",
"Long.parseLong",
"Long",
"st[pptr++]",
"st",
"pptr++",
"pptr",
"static double pd() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Double.parseDouble(st[pptr++]);\n }",
"pd",
"{\n if(pptr==pptrmax)\n nl();\n return Double.parseDouble(st[pptr++]);\n }",
"if(pptr==pptrmax)\n nl();",
"pptr==pptrmax",
"pptr",
"pptrmax",
"nl()",
"nl",
"return Double.parseDouble(st[pptr++]);",
"Double.parseDouble(st[pptr++])",
"Double.parseDouble",
"Double",
"st[pptr++]",
"st",
"pptr++",
"pptr",
"static String ps() throws Exception{\n if(pptr==pptrmax)\n nl();\n return st[pptr++];\n }",
"ps",
"{\n if(pptr==pptrmax)\n nl();\n return st[pptr++];\n }",
"if(pptr==pptrmax)\n nl();",
"pptr==pptrmax",
"pptr",
"pptrmax",
"nl()",
"nl",
"return st[pptr++];",
"st[pptr++]",
"st",
"pptr++",
"pptr",
"/***************************************Precision Printing**********************************************/\n static void printPrecision(double d){\n DecimalFormat ft = new DecimalFormat(\"0.000000000000\"); \n out.print(ft.format(d));\n }",
"printPrecision",
"{\n DecimalFormat ft = new DecimalFormat(\"0.000000000000\"); \n out.print(ft.format(d));\n }",
"DecimalFormat ft = new DecimalFormat(\"0.000000000000\");",
"ft",
"new DecimalFormat(\"0.000000000000\")",
"out.print(ft.format(d))",
"out.print",
"out",
"ft.format(d)",
"ft.format",
"ft",
"d",
"double d",
"d",
"/**************************************Bit Manipulation**************************************************/\n static int countBit(long mask){\n int ans=0;\n while(mask!=0){\n mask&=(mask-1);\n ans++;\n }\n return ans;\n }",
"countBit",
"{\n int ans=0;\n while(mask!=0){\n mask&=(mask-1);\n ans++;\n }\n return ans;\n }",
"int ans=0;",
"ans",
"0",
"while(mask!=0){\n mask&=(mask-1);\n ans++;\n }",
"mask!=0",
"mask",
"0",
"{\n mask&=(mask-1);\n ans++;\n }",
"mask&=(mask-1)",
"mask",
"(mask-1)",
"mask",
"1",
"ans++",
"ans",
"return ans;",
"ans",
"long mask",
"mask",
"/******************************************Graph*********************************************************/\n static void Makegraph(int n){\n graph=new ArrayList[n];\n for(int i=0;i<n;i++)\n graph[i]=new ArrayList<>();\n }",
"Makegraph",
"{\n graph=new ArrayList[n];\n for(int i=0;i<n;i++)\n graph[i]=new ArrayList<>();\n }",
"graph=new ArrayList[n]",
"graph",
"new ArrayList[n]",
"n",
"for(int i=0;i<n;i++)\n graph[i]=new ArrayList<>();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"graph[i]=new ArrayList<>();",
"graph[i]=new ArrayList<>()",
"graph[i]",
"graph",
"i",
"new ArrayList<>()",
"int n",
"n",
"static void addEdge(int a,int b){\n graph[a].add(b);\n }",
"addEdge",
"{\n graph[a].add(b);\n }",
"graph[a].add(b)",
"graph[a].add",
"graph[a]",
"graph",
"a",
"b",
"int a",
"a",
"int b",
"b",
"/*****************************************DEBUG***********************************************************/\n public static void debug(Object... o){\n System.out.println(Arrays.deepToString(o));\n }",
"debug",
"{\n System.out.println(Arrays.deepToString(o));\n }",
"System.out.println(Arrays.deepToString(o))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.deepToString(o)",
"Arrays.deepToString",
"Arrays",
"o",
"Object... o",
"o",
"/************************************MODULAR EXPONENTIATION***********************************************/\n static long modulo(long a,long b,long c){\n long x=1,y=a%c;\n while(b > 0){\n if(b%2 == 1)\n x=(x*y)%c;\n y = (y*y)%c;\n b = b>>1;\n }\n return x%c;\n }",
"modulo",
"{\n long x=1,y=a%c;\n while(b > 0){\n if(b%2 == 1)\n x=(x*y)%c;\n y = (y*y)%c;\n b = b>>1;\n }\n return x%c;\n }",
"long x=1",
"x",
"1",
"y=a%c;",
"y",
"a%c",
"a",
"c",
"while(b > 0){\n if(b%2 == 1)\n x=(x*y)%c;\n y = (y*y)%c;\n b = b>>1;\n }",
"b > 0",
"b",
"0",
"{\n if(b%2 == 1)\n x=(x*y)%c;\n y = (y*y)%c;\n b = b>>1;\n }",
"if(b%2 == 1)\n x=(x*y)%c;",
"b%2 == 1",
"b%2",
"b",
"2",
"1",
"x=(x*y)%c",
"x",
"(x*y)%c",
"(x*y)",
"x",
"y",
"c",
"y = (y*y)%c",
"y",
"(y*y)%c",
"(y*y)",
"y",
"y",
"c",
"b = b>>1",
"b",
"b>>1",
"b",
"1",
"return x%c;",
"x%c",
"x",
"c",
"long a",
"a",
"long b",
"b",
"long c",
"c",
"/********************************************GCD**********************************************************/\n static long gcd(long x, long y){\n if(x==0)\n return y;\n if(y==0)\n return x;\n long r=0, a, b;\n a = (x > y) ? x : y; \n b = (x < y) ? x : y;\n r = b;\n while(a % b != 0){\n r = a % b;\n a = b;\n b = r;\n }\n return r;\n }",
"gcd",
"{\n if(x==0)\n return y;\n if(y==0)\n return x;\n long r=0, a, b;\n a = (x > y) ? x : y; \n b = (x < y) ? x : y;\n r = b;\n while(a % b != 0){\n r = a % b;\n a = b;\n b = r;\n }\n return r;\n }",
"if(x==0)\n return y;",
"x==0",
"x",
"0",
"return y;",
"y",
"if(y==0)\n return x;",
"y==0",
"y",
"0",
"return x;",
"x",
"long r=0",
"r",
"0",
"a",
"a",
"b;",
"b",
"a = (x > y) ? x : y",
"a",
"(x > y) ? x : y",
"(x > y)",
"x",
"y",
"x",
"y",
"b = (x < y) ? x : y",
"b",
"(x < y) ? x : y",
"(x < y)",
"x",
"y",
"x",
"y",
"r = b",
"r",
"b",
"while(a % b != 0){\n r = a % b;\n a = b;\n b = r;\n }",
"a % b != 0",
"a % b",
"a",
"b",
"0",
"{\n r = a % b;\n a = b;\n b = r;\n }",
"r = a % b",
"r",
"a % b",
"a",
"b",
"a = b",
"a",
"b",
"b = r",
"b",
"r",
"return r;",
"r",
"long x",
"x",
"long y",
"y",
" static class Pair{\n int u;\n int v;\n public Pair(int u, int v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pair other = (Pair) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }",
"Pair",
"int u;",
"u",
"int v;",
"v",
"public Pair(int u, int v) {\n this.u = u;\n this.v = v;\n }",
"Pair",
"{\n this.u = u;\n this.v = v;\n }",
"this.u = u",
"this.u",
"this",
"this.u",
"u",
"this.v = v",
"this.v",
"this",
"this.v",
"v",
"int u",
"u",
"int v",
"v",
"public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }",
"hashCode",
"{\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }",
"int hu = (int) (u ^ (u >>> 32));",
"hu",
"(int) (u ^ (u >>> 32))",
"u",
"(u >>> 32)",
"u",
"32",
"int hv = (int) (v ^ (v >>> 32));",
"hv",
"(int) (v ^ (v >>> 32))",
"v",
"(v >>> 32)",
"v",
"32",
"return 31 * hu + hv;",
"31 * hu + hv",
"31 * hu",
"31",
"hu",
"hv",
"public boolean equals(Object o) {\n Pair other = (Pair) o;\n return u == other.u && v == other.v;\n }",
"equals",
"{\n Pair other = (Pair) o;\n return u == other.u && v == other.v;\n }",
"Pair other = (Pair) o;",
"other",
"(Pair) o",
"return u == other.u && v == other.v;",
"u == other.u && v == other.v",
"u == other.u",
"u",
"other.u",
"other",
"other.u",
"v == other.v",
"v",
"other.v",
"other",
"other.v",
"Object o",
"o",
"public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }",
"toString",
"{\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }",
"return \"[u=\" + u + \", v=\" + v + \"]\";",
"\"[u=\" + u + \", v=\" + v + \"]\"",
"v",
"\", v=\"",
"\"[u=\" + u + \", v=\" + v + \"]\"",
"\"[u=\"",
"u",
"\", v=\"",
"v",
"\"]\"",
" static class Pairl{\n long u;\n long v;\n public Pairl(long u, long v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pairl other = (Pairl) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }",
"Pairl",
"long u;",
"u",
"long v;",
"v",
"public Pairl(long u, long v) {\n this.u = u;\n this.v = v;\n }",
"Pairl",
"{\n this.u = u;\n this.v = v;\n }",
"this.u = u",
"this.u",
"this",
"this.u",
"u",
"this.v = v",
"this.v",
"this",
"this.v",
"v",
"long u",
"u",
"long v",
"v",
"public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }",
"hashCode",
"{\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }",
"int hu = (int) (u ^ (u >>> 32));",
"hu",
"(int) (u ^ (u >>> 32))",
"u",
"(u >>> 32)",
"u",
"32",
"int hv = (int) (v ^ (v >>> 32));",
"hv",
"(int) (v ^ (v >>> 32))",
"v",
"(v >>> 32)",
"v",
"32",
"return 31 * hu + hv;",
"31 * hu + hv",
"31 * hu",
"31",
"hu",
"hv",
"public boolean equals(Object o) {\n Pairl other = (Pairl) o;\n return u == other.u && v == other.v;\n }",
"equals",
"{\n Pairl other = (Pairl) o;\n return u == other.u && v == other.v;\n }",
"Pairl other = (Pairl) o;",
"other",
"(Pairl) o",
"return u == other.u && v == other.v;",
"u == other.u && v == other.v",
"u == other.u",
"u",
"other.u",
"other",
"other.u",
"v == other.v",
"v",
"other.v",
"other",
"other.v",
"Object o",
"o",
"public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }",
"toString",
"{\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }",
"return \"[u=\" + u + \", v=\" + v + \"]\";",
"\"[u=\" + u + \", v=\" + v + \"]\"",
"v",
"\", v=\"",
"\"[u=\" + u + \", v=\" + v + \"]\"",
"\"[u=\"",
"u",
"\", v=\"",
"v",
"\"]\"",
"public class Main{\n/*********************************************Constants******************************************/\n static PrintWriter out=new PrintWriter(new OutputStreamWriter(System.out)); \n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n static long mod=(long)1e9+7;\n static long mod1=998244353;\n static ArrayList<Integer> graph[];\n static int pptr=0,pptrmax=0;\n static String st[];\n/*****************************************Solution Begins***************************************/\n public static void main(String args[]) throws Exception{\n long x=pl();\n double p=100;\n double r=1.01;\n long ans=0;\n while(p<x){\n p=p*r;\n p=(long)p;\n ans++;\n }\n out.println(ans);\n/****************************************Solution Ends**************************************************/\n out.flush();\n out.close();\n }\n/****************************************Template Begins************************************************/\n static void nl() throws Exception{\n pptr=0;\n st=br.readLine().split(\" \");\n pptrmax=st.length;\n }\n static void nls() throws Exception{\n pptr=0;\n st=br.readLine().split(\"\");\n pptrmax=st.length;\n }\n static int pi() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Integer.parseInt(st[pptr++]);\n }\n static long pl() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Long.parseLong(st[pptr++]);\n }\n static double pd() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Double.parseDouble(st[pptr++]);\n }\n static String ps() throws Exception{\n if(pptr==pptrmax)\n nl();\n return st[pptr++];\n }\n/***************************************Precision Printing**********************************************/\n static void printPrecision(double d){\n DecimalFormat ft = new DecimalFormat(\"0.000000000000\"); \n out.print(ft.format(d));\n }\n/**************************************Bit Manipulation**************************************************/\n static int countBit(long mask){\n int ans=0;\n while(mask!=0){\n mask&=(mask-1);\n ans++;\n }\n return ans;\n }\n/******************************************Graph*********************************************************/\n static void Makegraph(int n){\n graph=new ArrayList[n];\n for(int i=0;i<n;i++)\n graph[i]=new ArrayList<>();\n }\n static void addEdge(int a,int b){\n graph[a].add(b);\n }\n // static void addEdge(int a,int b,int c){\n // graph[a].add(new Pair(b,c));\n // } \n/*********************************************PAIR********************************************************/\n static class Pair{\n int u;\n int v;\n public Pair(int u, int v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pair other = (Pair) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }\n/******************************************Long Pair*******************************************************/\n static class Pairl{\n long u;\n long v;\n public Pairl(long u, long v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pairl other = (Pairl) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }\n/*****************************************DEBUG***********************************************************/\n public static void debug(Object... o){\n System.out.println(Arrays.deepToString(o));\n }\n/************************************MODULAR EXPONENTIATION***********************************************/\n static long modulo(long a,long b,long c){\n long x=1,y=a%c;\n while(b > 0){\n if(b%2 == 1)\n x=(x*y)%c;\n y = (y*y)%c;\n b = b>>1;\n }\n return x%c;\n }\n/********************************************GCD**********************************************************/\n static long gcd(long x, long y){\n if(x==0)\n return y;\n if(y==0)\n return x;\n long r=0, a, b;\n a = (x > y) ? x : y; \n b = (x < y) ? x : y;\n r = b;\n while(a % b != 0){\n r = a % b;\n a = b;\n b = r;\n }\n return r;\n }\n}",
"public class Main{\n/*********************************************Constants******************************************/\n static PrintWriter out=new PrintWriter(new OutputStreamWriter(System.out)); \n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n static long mod=(long)1e9+7;\n static long mod1=998244353;\n static ArrayList<Integer> graph[];\n static int pptr=0,pptrmax=0;\n static String st[];\n/*****************************************Solution Begins***************************************/\n public static void main(String args[]) throws Exception{\n long x=pl();\n double p=100;\n double r=1.01;\n long ans=0;\n while(p<x){\n p=p*r;\n p=(long)p;\n ans++;\n }\n out.println(ans);\n/****************************************Solution Ends**************************************************/\n out.flush();\n out.close();\n }\n/****************************************Template Begins************************************************/\n static void nl() throws Exception{\n pptr=0;\n st=br.readLine().split(\" \");\n pptrmax=st.length;\n }\n static void nls() throws Exception{\n pptr=0;\n st=br.readLine().split(\"\");\n pptrmax=st.length;\n }\n static int pi() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Integer.parseInt(st[pptr++]);\n }\n static long pl() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Long.parseLong(st[pptr++]);\n }\n static double pd() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Double.parseDouble(st[pptr++]);\n }\n static String ps() throws Exception{\n if(pptr==pptrmax)\n nl();\n return st[pptr++];\n }\n/***************************************Precision Printing**********************************************/\n static void printPrecision(double d){\n DecimalFormat ft = new DecimalFormat(\"0.000000000000\"); \n out.print(ft.format(d));\n }\n/**************************************Bit Manipulation**************************************************/\n static int countBit(long mask){\n int ans=0;\n while(mask!=0){\n mask&=(mask-1);\n ans++;\n }\n return ans;\n }\n/******************************************Graph*********************************************************/\n static void Makegraph(int n){\n graph=new ArrayList[n];\n for(int i=0;i<n;i++)\n graph[i]=new ArrayList<>();\n }\n static void addEdge(int a,int b){\n graph[a].add(b);\n }\n // static void addEdge(int a,int b,int c){\n // graph[a].add(new Pair(b,c));\n // } \n/*********************************************PAIR********************************************************/\n static class Pair{\n int u;\n int v;\n public Pair(int u, int v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pair other = (Pair) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }\n/******************************************Long Pair*******************************************************/\n static class Pairl{\n long u;\n long v;\n public Pairl(long u, long v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pairl other = (Pairl) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }\n/*****************************************DEBUG***********************************************************/\n public static void debug(Object... o){\n System.out.println(Arrays.deepToString(o));\n }\n/************************************MODULAR EXPONENTIATION***********************************************/\n static long modulo(long a,long b,long c){\n long x=1,y=a%c;\n while(b > 0){\n if(b%2 == 1)\n x=(x*y)%c;\n y = (y*y)%c;\n b = b>>1;\n }\n return x%c;\n }\n/********************************************GCD**********************************************************/\n static long gcd(long x, long y){\n if(x==0)\n return y;\n if(y==0)\n return x;\n long r=0, a, b;\n a = (x > y) ? x : y; \n b = (x < y) ? x : y;\n r = b;\n while(a % b != 0){\n r = a % b;\n a = b;\n b = r;\n }\n return r;\n }\n}",
"Main"
] |
/*****Author: Satyajeet Singh, Delhi Technological University************************************/
import java.io.*;
import java.util.*;
import java.text.*;
import java.lang.*;
import java.math.*;
public class Main{
/*********************************************Constants******************************************/
static PrintWriter out=new PrintWriter(new OutputStreamWriter(System.out));
static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
static long mod=(long)1e9+7;
static long mod1=998244353;
static ArrayList<Integer> graph[];
static int pptr=0,pptrmax=0;
static String st[];
/*****************************************Solution Begins***************************************/
public static void main(String args[]) throws Exception{
long x=pl();
double p=100;
double r=1.01;
long ans=0;
while(p<x){
p=p*r;
p=(long)p;
ans++;
}
out.println(ans);
/****************************************Solution Ends**************************************************/
out.flush();
out.close();
}
/****************************************Template Begins************************************************/
static void nl() throws Exception{
pptr=0;
st=br.readLine().split(" ");
pptrmax=st.length;
}
static void nls() throws Exception{
pptr=0;
st=br.readLine().split("");
pptrmax=st.length;
}
static int pi() throws Exception{
if(pptr==pptrmax)
nl();
return Integer.parseInt(st[pptr++]);
}
static long pl() throws Exception{
if(pptr==pptrmax)
nl();
return Long.parseLong(st[pptr++]);
}
static double pd() throws Exception{
if(pptr==pptrmax)
nl();
return Double.parseDouble(st[pptr++]);
}
static String ps() throws Exception{
if(pptr==pptrmax)
nl();
return st[pptr++];
}
/***************************************Precision Printing**********************************************/
static void printPrecision(double d){
DecimalFormat ft = new DecimalFormat("0.000000000000");
out.print(ft.format(d));
}
/**************************************Bit Manipulation**************************************************/
static int countBit(long mask){
int ans=0;
while(mask!=0){
mask&=(mask-1);
ans++;
}
return ans;
}
/******************************************Graph*********************************************************/
static void Makegraph(int n){
graph=new ArrayList[n];
for(int i=0;i<n;i++)
graph[i]=new ArrayList<>();
}
static void addEdge(int a,int b){
graph[a].add(b);
}
// static void addEdge(int a,int b,int c){
// graph[a].add(new Pair(b,c));
// }
/*********************************************PAIR********************************************************/
static class Pair{
int u;
int v;
public Pair(int u, int v) {
this.u = u;
this.v = v;
}
public int hashCode() {
int hu = (int) (u ^ (u >>> 32));
int hv = (int) (v ^ (v >>> 32));
return 31 * hu + hv;
}
public boolean equals(Object o) {
Pair other = (Pair) o;
return u == other.u && v == other.v;
}
public String toString() {
return "[u=" + u + ", v=" + v + "]";
}
}
/******************************************Long Pair*******************************************************/
static class Pairl{
long u;
long v;
public Pairl(long u, long v) {
this.u = u;
this.v = v;
}
public int hashCode() {
int hu = (int) (u ^ (u >>> 32));
int hv = (int) (v ^ (v >>> 32));
return 31 * hu + hv;
}
public boolean equals(Object o) {
Pairl other = (Pairl) o;
return u == other.u && v == other.v;
}
public String toString() {
return "[u=" + u + ", v=" + v + "]";
}
}
/*****************************************DEBUG***********************************************************/
public static void debug(Object... o){
System.out.println(Arrays.deepToString(o));
}
/************************************MODULAR EXPONENTIATION***********************************************/
static long modulo(long a,long b,long c){
long x=1,y=a%c;
while(b > 0){
if(b%2 == 1)
x=(x*y)%c;
y = (y*y)%c;
b = b>>1;
}
return x%c;
}
/********************************************GCD**********************************************************/
static long gcd(long x, long y){
if(x==0)
return y;
if(y==0)
return x;
long r=0, a, b;
a = (x > y) ? x : y;
b = (x < y) ? x : y;
r = b;
while(a % b != 0){
r = a % b;
a = b;
b = r;
}
return r;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
30,
41,
13,
20,
4,
18,
20,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
40,
13,
0,
13,
17,
14,
2,
13,
13,
30,
4,
18,
13,
13,
29,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
29,
18,
13,
40,
13,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
40,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
37,
20,
29,
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,
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
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
22,
29
],
[
29,
30
],
[
30,
31
],
[
15,
32
],
[
32,
33
],
[
13,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
34,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
42,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
40,
53
],
[
53,
54
],
[
40,
55
],
[
55,
56
],
[
34,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
59,
65
],
[
65,
66
],
[
65,
67
],
[
59,
68
],
[
68,
69
],
[
68,
70
],
[
59,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
76,
78
],
[
73,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
83,
88
],
[
13,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
89,
96
],
[
96,
97
],
[
96,
98
],
[
89,
100
],
[
100,
101
],
[
100,
102
],
[
89,
103
],
[
103,
104
],
[
103,
105
],
[
89,
106
],
[
106,
107
],
[
106,
108
],
[
89,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
112,
116
],
[
116,
117
],
[
117,
118
],
[
112,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
123,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
119,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
141
],
[
141,
142
],
[
142,
143
],
[
111,
144
],
[
144,
145
],
[
89,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
149,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
149,
157
],
[
157,
158
],
[
158,
159
],
[
89,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
168,
169
],
[
168,
170
],
[
160,
171
],
[
171,
172
],
[
89,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
177,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
183,
185
],
[
176,
186
],
[
186,
187
],
[
175,
188
],
[
188,
189
],
[
189,
190
],
[
89,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
194,
198
],
[
198,
199
],
[
193,
200
],
[
200,
201
],
[
200,
202
],
[
193,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
193,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
212,
215
],
[
211,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
193,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
89,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
227,
231
],
[
231,
232
],
[
226,
233
],
[
233,
234
],
[
233,
235
],
[
226,
236
],
[
236,
237
],
[
236,
238
],
[
226,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
226,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
243,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
247,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
226,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
256,
260
],
[
260,
261
],
[
260,
262
],
[
255,
263
],
[
263,
264
],
[
264,
265
],
[
226,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
270,
274
],
[
274,
275
],
[
274,
276
],
[
269,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
277,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
283,
285
],
[
269,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
287,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
286,
296
],
[
296,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
298,
302
],
[
286,
303
],
[
303,
304
],
[
304,
305
],
[
268,
306
],
[
306,
307
],
[
306,
308
],
[
308,
309
],
[
89,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
313,
314
],
[
313,
315
],
[
315,
316
],
[
312,
317
],
[
317,
318
],
[
318,
319
],
[
319,
320
],
[
319,
321
],
[
321,
322
],
[
321,
323
],
[
318,
324
],
[
324,
325
],
[
324,
326
],
[
326,
327
],
[
326,
328
],
[
317,
329
],
[
329,
330
],
[
312,
331
],
[
331,
332
],
[
89,
333
],
[
333,
334
],
[
333,
335
],
[
335,
336
],
[
336,
337
],
[
337,
338
],
[
338,
339
],
[
337,
340
],
[
340,
341
],
[
89,
342
],
[
342,
343
],
[
342,
344
],
[
344,
345
],
[
345,
346
],
[
345,
347
],
[
344,
349
],
[
349,
350
],
[
350,
351
],
[
351,
352
],
[
351,
353
],
[
349,
354
],
[
354,
355
],
[
354,
356
],
[
349,
357
],
[
357,
358
],
[
358,
359
],
[
349,
360
],
[
360,
361
],
[
361,
362
],
[
362,
363
],
[
362,
364
],
[
361,
365
],
[
365,
366
],
[
344,
367
],
[
367,
368
],
[
342,
369
],
[
369,
370
],
[
89,
371
],
[
371,
372
],
[
371,
373
],
[
373,
374
],
[
374,
375
],
[
374,
376
],
[
373,
378
],
[
378,
379
],
[
379,
380
],
[
380,
381
],
[
380,
382
],
[
378,
383
],
[
383,
384
],
[
383,
385
],
[
378,
386
],
[
386,
387
],
[
387,
388
],
[
378,
389
],
[
389,
390
],
[
390,
391
],
[
391,
392
],
[
391,
393
],
[
390,
394
],
[
394,
395
],
[
373,
396
],
[
396,
397
],
[
371,
398
],
[
398,
399
]
] |
[
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.NoSuchElementException;\n\nclass Main {\n\n static class Solver {\n final FastScanner sc;\n final PrintWriter writer;\n\n Solver(final FastScanner sc, final PrintWriter writer) {\n this.sc = sc;\n this.writer = writer;\n }\n\n void run() {\n long x = sc.nextLong();\n long amount = 100;\n int year = 0;\n while (true) {\n year++;\n amount *= 1.01;\n if (amount >= x) {\n writer.println(year);\n return;\n }\n }\n }\n }\n\n public static void main(final String[] args) {\n final FastScanner sc = new FastScanner();\n try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }\n }\n\n // FastScanner\n static class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n public FastScanner() {\n }\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }\n\n private boolean isPrintableChar(final int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n final long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(final int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(final int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"class Main {\n\n static class Solver {\n final FastScanner sc;\n final PrintWriter writer;\n\n Solver(final FastScanner sc, final PrintWriter writer) {\n this.sc = sc;\n this.writer = writer;\n }\n\n void run() {\n long x = sc.nextLong();\n long amount = 100;\n int year = 0;\n while (true) {\n year++;\n amount *= 1.01;\n if (amount >= x) {\n writer.println(year);\n return;\n }\n }\n }\n }\n\n public static void main(final String[] args) {\n final FastScanner sc = new FastScanner();\n try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }\n }\n\n // FastScanner\n static class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n public FastScanner() {\n }\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }\n\n private boolean isPrintableChar(final int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n final long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(final int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(final int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n}",
"Main",
"public static void main(final String[] args) {\n final FastScanner sc = new FastScanner();\n try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }\n }",
"main",
"{\n final FastScanner sc = new FastScanner();\n try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }\n }",
"final FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }",
"{\n new Solver(sc, w).run();\n w.flush();\n }",
"final PrintWriter w = new PrintWriter(System.out)",
"final PrintWriter w = new PrintWriter(System.out)",
"new PrintWriter(System.out)",
"new Solver(sc, w).run()",
"new Solver(sc, w).run",
"new Solver(sc, w)",
"w.flush()",
"w.flush",
"w",
"final String[] args",
"args",
"static class Solver {\n final FastScanner sc;\n final PrintWriter writer;\n\n Solver(final FastScanner sc, final PrintWriter writer) {\n this.sc = sc;\n this.writer = writer;\n }\n\n void run() {\n long x = sc.nextLong();\n long amount = 100;\n int year = 0;\n while (true) {\n year++;\n amount *= 1.01;\n if (amount >= x) {\n writer.println(year);\n return;\n }\n }\n }\n }",
"Solver",
"final FastScanner sc;",
"sc",
"final PrintWriter writer;",
"writer",
"Solver(final FastScanner sc, final PrintWriter writer) {\n this.sc = sc;\n this.writer = writer;\n }",
"Solver",
"{\n this.sc = sc;\n this.writer = writer;\n }",
"this.sc = sc",
"this.sc",
"this",
"this.sc",
"sc",
"this.writer = writer",
"this.writer",
"this",
"this.writer",
"writer",
"final FastScanner sc",
"sc",
"final PrintWriter writer",
"writer",
"void run() {\n long x = sc.nextLong();\n long amount = 100;\n int year = 0;\n while (true) {\n year++;\n amount *= 1.01;\n if (amount >= x) {\n writer.println(year);\n return;\n }\n }\n }",
"run",
"{\n long x = sc.nextLong();\n long amount = 100;\n int year = 0;\n while (true) {\n year++;\n amount *= 1.01;\n if (amount >= x) {\n writer.println(year);\n return;\n }\n }\n }",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long amount = 100;",
"amount",
"100",
"int year = 0;",
"year",
"0",
"while (true) {\n year++;\n amount *= 1.01;\n if (amount >= x) {\n writer.println(year);\n return;\n }\n }",
"true",
"{\n year++;\n amount *= 1.01;\n if (amount >= x) {\n writer.println(year);\n return;\n }\n }",
"year++",
"year",
"amount *= 1.01",
"amount",
"1.01",
"if (amount >= x) {\n writer.println(year);\n return;\n }",
"amount >= x",
"amount",
"x",
"{\n writer.println(year);\n return;\n }",
"writer.println(year)",
"writer.println",
"writer",
"year",
"return;",
"static class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n public FastScanner() {\n }\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }\n\n private boolean isPrintableChar(final int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n final long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(final int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(final int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"public FastScanner() {\n }",
"FastScanner",
"{\n }",
"private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"hasNextByte",
"{\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr < buflen",
"ptr",
"buflen",
"{\n return true;\n }",
"return true;",
"true",
"{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr = 0",
"ptr",
"0",
"try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }",
"catch (final IOException e) {\n e.printStackTrace();\n }",
"final IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n buflen = in.read(buffer);\n }",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n return false;\n }",
"buflen <= 0",
"buflen",
"0",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }",
"readByte",
"{\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }",
"if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private boolean isPrintableChar(final int c) {\n return 33 <= c && c <= 126;\n }",
"isPrintableChar",
"{\n return 33 <= c && c <= 126;\n }",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"final int c",
"c",
"public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }",
"hasNext",
"{\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }",
"while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"ptr++",
"ptr",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"next",
"{\n if (!hasNext())\n throw new NoSuchElementException();\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"if (!hasNext())\n throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"final StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n sb.appendCodePoint(b);\n b = readByte();\n }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public long nextLong() {\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"nextLong",
"{\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"if (!hasNext())\n throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n minus = true;\n b = readByte();\n }",
"b == '-'",
"b",
"'-'",
"{\n minus = true;\n b = readByte();\n }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"true",
"{\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n n *= 10;\n n += b - '0';\n }",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n return minus ? -n : n;\n }",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n final long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }",
"nextInt",
"{\n final long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }",
"final long nl = nextLong();",
"nl",
"nextLong()",
"nextLong",
"if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();",
"nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE",
"nl < Integer.MIN_VALUE",
"nl",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"nl > Integer.MAX_VALUE",
"nl",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) nl;",
"(int) nl",
"public 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 int[] nextIntArray(final int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }",
"nextIntArray",
"{\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }",
"final 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",
"final int n",
"n",
"public long[] nextLongArray(final int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }",
"nextLongArray",
"{\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }",
"final long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n a[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextLong();",
"a[i] = nextLong()",
"a[i]",
"a",
"i",
"nextLong()",
"nextLong",
"return a;",
"a",
"final int n",
"n"
] |
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.NoSuchElementException;
class Main {
static class Solver {
final FastScanner sc;
final PrintWriter writer;
Solver(final FastScanner sc, final PrintWriter writer) {
this.sc = sc;
this.writer = writer;
}
void run() {
long x = sc.nextLong();
long amount = 100;
int year = 0;
while (true) {
year++;
amount *= 1.01;
if (amount >= x) {
writer.println(year);
return;
}
}
}
}
public static void main(final String[] args) {
final FastScanner sc = new FastScanner();
try (final PrintWriter w = new PrintWriter(System.out)) {
new Solver(sc, w).run();
w.flush();
}
}
// FastScanner
static class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
public FastScanner() {
}
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
} else {
ptr = 0;
try {
buflen = in.read(buffer);
} catch (final IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() {
if (hasNextByte())
return buffer[ptr++];
else
return -1;
}
private boolean isPrintableChar(final int c) {
return 33 <= c && c <= 126;
}
public boolean hasNext() {
while (hasNextByte() && !isPrintableChar(buffer[ptr]))
ptr++;
return hasNextByte();
}
public String next() {
if (!hasNext())
throw new NoSuchElementException();
final StringBuilder sb = new StringBuilder();
int b = readByte();
while (isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public long nextLong() {
if (!hasNext())
throw new NoSuchElementException();
long n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while (true) {
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
} else if (b == -1 || !isPrintableChar(b)) {
return minus ? -n : n;
} else {
throw new NumberFormatException();
}
b = readByte();
}
}
public int nextInt() {
final long nl = nextLong();
if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)
throw new NumberFormatException();
return (int) nl;
}
public double nextDouble() {
return Double.parseDouble(next());
}
public int[] nextIntArray(final int n) {
final int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = nextInt();
return a;
}
public long[] nextLongArray(final int n) {
final long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nextLong();
return a;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
4,
18,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
59,
8
],
[
59,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
11,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
36,
45
],
[
45,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
9,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] |
[
"import java.util.*;\nimport java.lang.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner sc = new Scanner(System.in);\n String x = sc.next();\n\t\tlong X = Long.valueOf(x);\n\t\tdouble arg = 100;\n\t\tint ans = 0;\n\n while(arg < X) {\n\t\t\targ = Math.floor(arg * 1.01);\n\t\t\tans++;\n }\n\n\t\tSystem.out.println(ans);\n\n sc.close();\n } \n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner sc = new Scanner(System.in);\n String x = sc.next();\n\t\tlong X = Long.valueOf(x);\n\t\tdouble arg = 100;\n\t\tint ans = 0;\n\n while(arg < X) {\n\t\t\targ = Math.floor(arg * 1.01);\n\t\t\tans++;\n }\n\n\t\tSystem.out.println(ans);\n\n sc.close();\n } \n}",
"Main",
"public static void main(String[] args) throws Exception {\n \n Scanner sc = new Scanner(System.in);\n String x = sc.next();\n\t\tlong X = Long.valueOf(x);\n\t\tdouble arg = 100;\n\t\tint ans = 0;\n\n while(arg < X) {\n\t\t\targ = Math.floor(arg * 1.01);\n\t\t\tans++;\n }\n\n\t\tSystem.out.println(ans);\n\n sc.close();\n }",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n String x = sc.next();\n\t\tlong X = Long.valueOf(x);\n\t\tdouble arg = 100;\n\t\tint ans = 0;\n\n while(arg < X) {\n\t\t\targ = Math.floor(arg * 1.01);\n\t\t\tans++;\n }\n\n\t\tSystem.out.println(ans);\n\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String x = sc.next();",
"x",
"sc.next()",
"sc.next",
"sc",
"long X = Long.valueOf(x);",
"X",
"Long.valueOf(x)",
"Long.valueOf",
"Long",
"x",
"double arg = 100;",
"arg",
"100",
"int ans = 0;",
"ans",
"0",
"while(arg < X) {\n\t\t\targ = Math.floor(arg * 1.01);\n\t\t\tans++;\n }",
"arg < X",
"arg",
"X",
"{\n\t\t\targ = Math.floor(arg * 1.01);\n\t\t\tans++;\n }",
"arg = Math.floor(arg * 1.01)",
"arg",
"Math.floor(arg * 1.01)",
"Math.floor",
"Math",
"arg * 1.01",
"arg",
"1.01",
"ans++",
"ans",
"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) throws Exception {\n \n Scanner sc = new Scanner(System.in);\n String x = sc.next();\n\t\tlong X = Long.valueOf(x);\n\t\tdouble arg = 100;\n\t\tint ans = 0;\n\n while(arg < X) {\n\t\t\targ = Math.floor(arg * 1.01);\n\t\t\tans++;\n }\n\n\t\tSystem.out.println(ans);\n\n sc.close();\n } \n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner sc = new Scanner(System.in);\n String x = sc.next();\n\t\tlong X = Long.valueOf(x);\n\t\tdouble arg = 100;\n\t\tint ans = 0;\n\n while(arg < X) {\n\t\t\targ = Math.floor(arg * 1.01);\n\t\t\tans++;\n }\n\n\t\tSystem.out.println(ans);\n\n sc.close();\n } \n}",
"Main"
] |
import java.util.*;
import java.lang.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
String x = sc.next();
long X = Long.valueOf(x);
double arg = 100;
int ans = 0;
while(arg < X) {
arg = Math.floor(arg * 1.01);
ans++;
}
System.out.println(ans);
sc.close();
}
}
|
[
7,
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,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
30,
29,
18,
13,
40,
13,
30,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
40,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
37,
20,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
38,
5,
13,
30,
30,
4,
18,
13,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
10,
15
],
[
15,
16
],
[
15,
17
],
[
10,
18
],
[
18,
19
],
[
18,
20
],
[
10,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
23,
32
],
[
32,
33
],
[
32,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
23,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
23,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
23,
54
],
[
54,
55
],
[
55,
56
],
[
21,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
59,
66
],
[
66,
67
],
[
66,
68
],
[
59,
70
],
[
70,
71
],
[
70,
72
],
[
59,
73
],
[
73,
74
],
[
73,
75
],
[
59,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
84,
85
],
[
79,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
90,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
86,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
109,
110
],
[
78,
111
],
[
111,
112
],
[
59,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
116,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
59,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
137,
138
],
[
137,
139
],
[
129,
140
],
[
140,
141
],
[
59,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
146,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
152,
154
],
[
145,
155
],
[
155,
156
],
[
144,
157
],
[
157,
158
],
[
158,
159
],
[
59,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
163,
167
],
[
167,
168
],
[
162,
169
],
[
169,
170
],
[
169,
171
],
[
162,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
162,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
176,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
181,
184
],
[
180,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
162,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
59,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
196,
200
],
[
200,
201
],
[
195,
202
],
[
202,
203
],
[
202,
204
],
[
195,
205
],
[
205,
206
],
[
205,
207
],
[
195,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
195,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
212,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
216,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
195,
224
],
[
224,
225
],
[
225,
226
],
[
226,
227
],
[
226,
228
],
[
225,
229
],
[
229,
230
],
[
229,
231
],
[
224,
232
],
[
232,
233
],
[
233,
234
],
[
195,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
239,
243
],
[
243,
244
],
[
243,
245
],
[
238,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
246,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
252,
254
],
[
238,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
256,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
255,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
267,
271
],
[
255,
272
],
[
272,
273
],
[
273,
274
],
[
237,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
59,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
281,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
290,
292
],
[
287,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
295,
297
],
[
286,
298
],
[
298,
299
],
[
281,
300
],
[
300,
301
],
[
59,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
306,
309
],
[
309,
310
],
[
59,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
314,
315
],
[
315,
316
],
[
315,
317
],
[
314,
318
],
[
318,
319
],
[
319,
320
],
[
320,
321
],
[
59,
322
]
] |
[
"import java.io.*;\nimport java.util.*;\nimport java.util.stream.*;\n\nclass Main{\n\tstatic final long MOD = 1_000_000_007; // 10^9+7\n static final int MAX = 2_147_483_646; // intMax \n static final int INF = 1_000_000_000; // 10^9 \n public static void main(String[] args) throws Exception {\n\t\thayami saori = new hayami();\n\t\tlong x = saori.saorihayami();\n\t\tlong y = 100;\n\t\tint n = 0;\n\t\twhile(x > y){\n\t\t\ty *= 1.01;\n\t\t\tn++;\n\t\t}\n\t\tSystem.out.println(n);\n\t\t\n\t\tsaori.close();\n }\n}\n\nclass hayami implements Closeable {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] hayami = new byte[1024];\n\tprivate int Hayami = 0;\n\tprivate int saori = 0;\n\tprivate boolean HayamiSaori() {\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int SaoriHayami() { \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}\n\tprivate static boolean hayami_saori(int hayami) { \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}\n\tpublic boolean hayamisaori() { \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}\n\tpublic String nextHayami() {\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}\n\tpublic long saorihayami() {//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}\n\tpublic int saori_hayami() {//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}\n\tpublic double Hayamin() { //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}\n\tpublic void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }\n \n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.util.stream.*;",
"stream.*",
"java.util",
"class Main{\n\tstatic final long MOD = 1_000_000_007; // 10^9+7\n static final int MAX = 2_147_483_646; // intMax \n static final int INF = 1_000_000_000; // 10^9 \n public static void main(String[] args) throws Exception {\n\t\thayami saori = new hayami();\n\t\tlong x = saori.saorihayami();\n\t\tlong y = 100;\n\t\tint n = 0;\n\t\twhile(x > y){\n\t\t\ty *= 1.01;\n\t\t\tn++;\n\t\t}\n\t\tSystem.out.println(n);\n\t\t\n\t\tsaori.close();\n }\n}",
"Main",
"static final long MOD = 1_000_000_007; // 10^9+7",
"MOD",
"1_000_000_007",
"static final int MAX = 2_147_483_646; // intMax ",
"MAX",
"2_147_483_646",
"static final int INF = 1_000_000_000; // 10^9 ",
"INF",
"1_000_000_000",
"public static void main(String[] args) throws Exception {\n\t\thayami saori = new hayami();\n\t\tlong x = saori.saorihayami();\n\t\tlong y = 100;\n\t\tint n = 0;\n\t\twhile(x > y){\n\t\t\ty *= 1.01;\n\t\t\tn++;\n\t\t}\n\t\tSystem.out.println(n);\n\t\t\n\t\tsaori.close();\n }",
"main",
"{\n\t\thayami saori = new hayami();\n\t\tlong x = saori.saorihayami();\n\t\tlong y = 100;\n\t\tint n = 0;\n\t\twhile(x > y){\n\t\t\ty *= 1.01;\n\t\t\tn++;\n\t\t}\n\t\tSystem.out.println(n);\n\t\t\n\t\tsaori.close();\n }",
"hayami saori = new hayami();",
"saori",
"new hayami()",
"long x = saori.saorihayami();",
"x",
"saori.saorihayami()",
"saori.saorihayami",
"saori",
"long y = 100;",
"y",
"100",
"int n = 0;",
"n",
"0",
"while(x > y){\n\t\t\ty *= 1.01;\n\t\t\tn++;\n\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\ty *= 1.01;\n\t\t\tn++;\n\t\t}",
"y *= 1.01",
"y",
"1.01",
"n++",
"n",
"System.out.println(n)",
"System.out.println",
"System.out",
"System",
"System.out",
"n",
"saori.close()",
"saori.close",
"saori",
"String[] args",
"args",
"class hayami implements Closeable {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] hayami = new byte[1024];\n\tprivate int Hayami = 0;\n\tprivate int saori = 0;\n\tprivate boolean HayamiSaori() {\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int SaoriHayami() { \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}\n\tprivate static boolean hayami_saori(int hayami) { \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}\n\tpublic boolean hayamisaori() { \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}\n\tpublic String nextHayami() {\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}\n\tpublic long saorihayami() {//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}\n\tpublic int saori_hayami() {//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}\n\tpublic double Hayamin() { //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}\n\tpublic void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }\n \n}",
"hayami",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] hayami = new byte[1024];",
"hayami",
"new byte[1024]",
"1024",
"private int Hayami = 0;",
"Hayami",
"0",
"private int saori = 0;",
"saori",
"0",
"private boolean HayamiSaori() {\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"HayamiSaori",
"{\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"if (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}",
"Hayami < saori",
"Hayami",
"saori",
"{\n\t\t\treturn true;\n\t\t}",
"return true;",
"true",
"{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}",
"Hayami = 0",
"Hayami",
"0",
"try {\n\t\t\t\tsaori = in.read(hayami);\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\tsaori = in.read(hayami);\n\t\t\t}",
"saori = in.read(hayami)",
"saori",
"in.read(hayami)",
"in.read",
"in",
"hayami",
"if (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}",
"saori <= 0",
"saori",
"0",
"{\n\t\t\t\treturn false;\n\t\t\t}",
"return false;",
"false",
"return true;",
"true",
"private int SaoriHayami() { \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}",
"SaoriHayami",
"{ \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}",
"if (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }",
"HayamiSaori()",
"HayamiSaori",
"{\n return hayami[Hayami++];\n }",
"return hayami[Hayami++];",
"hayami[Hayami++]",
"hayami",
"Hayami++",
"Hayami",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"private static boolean hayami_saori(int hayami) { \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}",
"hayami_saori",
"{ \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}",
"return 33 <= hayami && hayami <= 126;",
"33 <= hayami && hayami <= 126",
"33 <= hayami",
"33",
"hayami",
"hayami <= 126",
"hayami",
"126",
"int hayami",
"hayami",
"public boolean hayamisaori() { \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}",
"hayamisaori",
"{ \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}",
"while(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++;",
"HayamiSaori() && !hayami_saori(hayami[Hayami])",
"HayamiSaori()",
"HayamiSaori",
"!hayami_saori(hayami[Hayami])",
"hayami_saori(hayami[Hayami])",
"hayami_saori",
"hayami[Hayami]",
"hayami",
"Hayami",
"Hayami++",
"Hayami",
"return HayamiSaori();",
"HayamiSaori()",
"HayamiSaori",
"public String nextHayami() {\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}",
"nextHayami",
"{\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}",
"if (!hayamisaori()) throw new NoSuchElementException();",
"!hayamisaori()",
"hayamisaori()",
"hayamisaori",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder hayamin = new StringBuilder();",
"hayamin",
"new StringBuilder()",
"int saori = SaoriHayami();",
"saori",
"SaoriHayami()",
"SaoriHayami",
"while(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"hayami_saori(saori)",
"hayami_saori",
"saori",
"{\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"hayamin.appendCodePoint(saori)",
"hayamin.appendCodePoint",
"hayamin",
"saori",
"saori = SaoriHayami()",
"saori",
"SaoriHayami()",
"SaoriHayami",
"return hayamin.toString();",
"hayamin.toString()",
"hayamin.toString",
"hayamin",
"public long saorihayami() {//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}",
"saorihayami",
"{//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}",
"if (!hayamisaori()) throw new NoSuchElementException();",
"!hayamisaori()",
"hayamisaori()",
"hayamisaori",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long hayami = 0;",
"hayami",
"0",
"boolean misao = false;",
"misao",
"false",
"int saori = SaoriHayami();",
"saori",
"SaoriHayami()",
"SaoriHayami",
"if (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"saori == '-'",
"saori",
"'-'",
"{\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"misao = true",
"misao",
"true",
"saori = SaoriHayami()",
"saori",
"SaoriHayami()",
"SaoriHayami",
"if (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"saori < '0' || '9' < saori",
"saori < '0'",
"saori",
"'0'",
"'9' < saori",
"'9'",
"saori",
"{\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"true",
"{\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"if ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"'0' <= saori && saori <= '9'",
"'0' <= saori",
"'0'",
"saori",
"saori <= '9'",
"saori",
"'9'",
"{\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}",
"hayami *= 10",
"hayami",
"10",
"hayami += saori - '0'",
"hayami",
"saori - '0'",
"saori",
"'0'",
"if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"saori == -1 || !hayami_saori(saori)",
"saori == -1",
"saori",
"-1",
"1",
"!hayami_saori(saori)",
"hayami_saori(saori)",
"hayami_saori",
"saori",
"{\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}",
"return misao ? -hayami : hayami;",
"misao ? -hayami : hayami",
"misao",
"-hayami",
"hayami",
"hayami",
"{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"throw new NumberFormatException();",
"new NumberFormatException()",
"saori = SaoriHayami()",
"saori",
"SaoriHayami()",
"SaoriHayami",
"public int saori_hayami() {//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}",
"saori_hayami",
"{//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}",
"long hayami = saorihayami();",
"hayami",
"saorihayami()",
"saorihayami",
"if (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();",
"hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE",
"hayami < Integer.MIN_VALUE",
"hayami",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"hayami > Integer.MAX_VALUE",
"hayami",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) hayami;",
"(int) hayami",
"public double Hayamin() { //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}",
"Hayamin",
"{ //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}",
"return Double.parseDouble(nextHayami());",
"Double.parseDouble(nextHayami())",
"Double.parseDouble",
"Double",
"nextHayami()",
"nextHayami",
"public void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }",
"close",
"{\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }",
"try {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}",
"catch (IOException e) {\n\t\t}",
"IOException e",
"{\n\t\t}",
"{\n\t\t\tin.close();\n\t\t}",
"in.close()",
"in.close",
"in",
"Closeable"
] |
import java.io.*;
import java.util.*;
import java.util.stream.*;
class Main{
static final long MOD = 1_000_000_007; // 10^9+7
static final int MAX = 2_147_483_646; // intMax
static final int INF = 1_000_000_000; // 10^9
public static void main(String[] args) throws Exception {
hayami saori = new hayami();
long x = saori.saorihayami();
long y = 100;
int n = 0;
while(x > y){
y *= 1.01;
n++;
}
System.out.println(n);
saori.close();
}
}
class hayami implements Closeable {
private final InputStream in = System.in;
private final byte[] hayami = new byte[1024];
private int Hayami = 0;
private int saori = 0;
private boolean HayamiSaori() {
if (Hayami < saori) {
return true;
}else{
Hayami = 0;
try {
saori = in.read(hayami);
} catch (IOException e) {
e.printStackTrace();
}
if (saori <= 0) {
return false;
}
}
return true;
}
private int SaoriHayami() {
if (HayamiSaori()) {
return hayami[Hayami++];
}else{
return -1;
}
}
private static boolean hayami_saori(int hayami) {
return 33 <= hayami && hayami <= 126;
}
public boolean hayamisaori() {
while(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();
}
public String nextHayami() {
if (!hayamisaori()) throw new NoSuchElementException();
StringBuilder hayamin = new StringBuilder();
int saori = SaoriHayami();
while(hayami_saori(saori)) {
hayamin.appendCodePoint(saori);
saori = SaoriHayami();
}
return hayamin.toString();
}
public long saorihayami() {//nextLong
if (!hayamisaori()) throw new NoSuchElementException();
long hayami = 0;
boolean misao = false;
int saori = SaoriHayami();
if (saori == '-') {
misao = true;
saori = SaoriHayami();
}
if (saori < '0' || '9' < saori) {
throw new NumberFormatException();
}
while(true){
if ('0' <= saori && saori <= '9') {
hayami *= 10;
hayami += saori - '0';
}else if(saori == -1 || !hayami_saori(saori)){
return misao ? -hayami : hayami;
}else{
throw new NumberFormatException();
}
saori = SaoriHayami();
}
}
public int saori_hayami() {//nextInt
long hayami = saorihayami();
if (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();
return (int) hayami;
}
public double Hayamin() { //nextDouble
return Double.parseDouble(nextHayami());
}
public void close() {
try {
in.close();
} catch (IOException e) {
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
40,
13,
0,
13,
4,
18,
13,
2,
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
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
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
]
] |
[
"\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tLong X = Long.parseLong(scanner.next());\n\t\tDouble num = 100.0;\n\t\tint year= 0;\n\t\tdo {\n\t\t\tyear++;\n\t\t\tnum = Math.floor(num * 1.01);\n\t\t} while (num < X);\n\t\tSystem.out.println(year);\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 scanner = new Scanner(System.in);\n\n\t\tLong X = Long.parseLong(scanner.next());\n\t\tDouble num = 100.0;\n\t\tint year= 0;\n\t\tdo {\n\t\t\tyear++;\n\t\t\tnum = Math.floor(num * 1.01);\n\t\t} while (num < X);\n\t\tSystem.out.println(year);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tLong X = Long.parseLong(scanner.next());\n\t\tDouble num = 100.0;\n\t\tint year= 0;\n\t\tdo {\n\t\t\tyear++;\n\t\t\tnum = Math.floor(num * 1.01);\n\t\t} while (num < X);\n\t\tSystem.out.println(year);\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tLong X = Long.parseLong(scanner.next());\n\t\tDouble num = 100.0;\n\t\tint year= 0;\n\t\tdo {\n\t\t\tyear++;\n\t\t\tnum = Math.floor(num * 1.01);\n\t\t} while (num < X);\n\t\tSystem.out.println(year);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"Long X = Long.parseLong(scanner.next());",
"X",
"Long.parseLong(scanner.next())",
"Long.parseLong",
"Long",
"scanner.next()",
"scanner.next",
"scanner",
"Double num = 100.0;",
"num",
"100.0",
"int year= 0;",
"year",
"0",
"do {\n\t\t\tyear++;\n\t\t\tnum = Math.floor(num * 1.01);\n\t\t} while (num < X);",
"num < X",
"num",
"X",
"{\n\t\t\tyear++;\n\t\t\tnum = Math.floor(num * 1.01);\n\t\t}",
"year++",
"year",
"num = Math.floor(num * 1.01)",
"num",
"Math.floor(num * 1.01)",
"Math.floor",
"Math",
"num * 1.01",
"num",
"1.01",
"System.out.println(year)",
"System.out.println",
"System.out",
"System",
"System.out",
"year",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tLong X = Long.parseLong(scanner.next());\n\t\tDouble num = 100.0;\n\t\tint year= 0;\n\t\tdo {\n\t\t\tyear++;\n\t\t\tnum = Math.floor(num * 1.01);\n\t\t} while (num < X);\n\t\tSystem.out.println(year);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tLong X = Long.parseLong(scanner.next());\n\t\tDouble num = 100.0;\n\t\tint year= 0;\n\t\tdo {\n\t\t\tyear++;\n\t\t\tnum = Math.floor(num * 1.01);\n\t\t} while (num < X);\n\t\tSystem.out.println(year);\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
Long X = Long.parseLong(scanner.next());
Double num = 100.0;
int year= 0;
do {
year++;
num = Math.floor(num * 1.01);
} while (num < X);
System.out.println(year);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
4,
18,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
4,
18,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
27,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] |
[
"\n\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong count = 0;\n\t\tlong h = 100L;\n\n\t\twhile(h < x) {\n\t\t\th = (long)Math.floor(h * 1.01);\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t\tsc.close();\n\n\n\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong count = 0;\n\t\tlong h = 100L;\n\n\t\twhile(h < x) {\n\t\t\th = (long)Math.floor(h * 1.01);\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t\tsc.close();\n\n\n\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong count = 0;\n\t\tlong h = 100L;\n\n\t\twhile(h < x) {\n\t\t\th = (long)Math.floor(h * 1.01);\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t\tsc.close();\n\n\n\n\n\t}",
"main",
"{\n\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong count = 0;\n\t\tlong h = 100L;\n\n\t\twhile(h < x) {\n\t\t\th = (long)Math.floor(h * 1.01);\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t\tsc.close();\n\n\n\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long count = 0;",
"count",
"0",
"long h = 100L;",
"h",
"100L",
"while(h < x) {\n\t\t\th = (long)Math.floor(h * 1.01);\n\t\t\tcount++;\n\t\t}",
"h < x",
"h",
"x",
"{\n\t\t\th = (long)Math.floor(h * 1.01);\n\t\t\tcount++;\n\t\t}",
"h = (long)Math.floor(h * 1.01)",
"h",
"(long)Math.floor(h * 1.01)",
"Math.floor",
"Math",
"h * 1.01",
"h",
"1.01",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong count = 0;\n\t\tlong h = 100L;\n\n\t\twhile(h < x) {\n\t\t\th = (long)Math.floor(h * 1.01);\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t\tsc.close();\n\n\n\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong count = 0;\n\t\tlong h = 100L;\n\n\t\twhile(h < x) {\n\t\t\th = (long)Math.floor(h * 1.01);\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t\tsc.close();\n\n\n\n\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
long count = 0;
long h = 100L;
while(h < x) {
h = (long)Math.floor(h * 1.01);
count++;
}
System.out.println(count);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
42,
17,
30,
0,
13,
2,
17,
13,
40,
13,
14,
2,
13,
13,
30,
3,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
57,
5
],
[
57,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
34,
40
],
[
40,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
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) {\n long count =0;\n long kazu=0;\n long number=100;\n Scanner scan = new Scanner(System.in);\n String a = scan.next();\n long n=Long.parseLong(a);\n while (true){\n number=(long)(1.01*number);\n //System.out.println(number);\n count++;\n if(number>=n){\n break;\n }\n }\n System.out.println(count);\n }\n}\n",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n long count =0;\n long kazu=0;\n long number=100;\n Scanner scan = new Scanner(System.in);\n String a = scan.next();\n long n=Long.parseLong(a);\n while (true){\n number=(long)(1.01*number);\n //System.out.println(number);\n count++;\n if(number>=n){\n break;\n }\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n long count =0;\n long kazu=0;\n long number=100;\n Scanner scan = new Scanner(System.in);\n String a = scan.next();\n long n=Long.parseLong(a);\n while (true){\n number=(long)(1.01*number);\n //System.out.println(number);\n count++;\n if(number>=n){\n break;\n }\n }\n System.out.println(count);\n }",
"main",
"{\n long count =0;\n long kazu=0;\n long number=100;\n Scanner scan = new Scanner(System.in);\n String a = scan.next();\n long n=Long.parseLong(a);\n while (true){\n number=(long)(1.01*number);\n //System.out.println(number);\n count++;\n if(number>=n){\n break;\n }\n }\n System.out.println(count);\n }",
"long count =0;",
"count",
"0",
"long kazu=0;",
"kazu",
"0",
"long number=100;",
"number",
"100",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String a = scan.next();",
"a",
"scan.next()",
"scan.next",
"scan",
"long n=Long.parseLong(a);",
"n",
"Long.parseLong(a)",
"Long.parseLong",
"Long",
"a",
"while (true){\n number=(long)(1.01*number);\n //System.out.println(number);\n count++;\n if(number>=n){\n break;\n }\n }",
"true",
"{\n number=(long)(1.01*number);\n //System.out.println(number);\n count++;\n if(number>=n){\n break;\n }\n }",
"number=(long)(1.01*number)",
"number",
"(long)(1.01*number)",
"1.01",
"number",
"count++",
"count",
"if(number>=n){\n break;\n }",
"number>=n",
"number",
"n",
"{\n break;\n }",
"break;",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n long count =0;\n long kazu=0;\n long number=100;\n Scanner scan = new Scanner(System.in);\n String a = scan.next();\n long n=Long.parseLong(a);\n while (true){\n number=(long)(1.01*number);\n //System.out.println(number);\n count++;\n if(number>=n){\n break;\n }\n }\n System.out.println(count);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n long count =0;\n long kazu=0;\n long number=100;\n Scanner scan = new Scanner(System.in);\n String a = scan.next();\n long n=Long.parseLong(a);\n while (true){\n number=(long)(1.01*number);\n //System.out.println(number);\n count++;\n if(number>=n){\n break;\n }\n }\n System.out.println(count);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
long count =0;
long kazu=0;
long number=100;
Scanner scan = new Scanner(System.in);
String a = scan.next();
long n=Long.parseLong(a);
while (true){
number=(long)(1.01*number);
//System.out.println(number);
count++;
if(number>=n){
break;
}
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
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
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tlong X = s.nextLong();\n\t long money =100;\n\t\tlong Xyear =0;\n\t\twhile( money < X ) {\n\t\t\tmoney *= 1.01;\n\t\t\tXyear++;\n\t\t}\n\t\tSystem.out.println(Xyear);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tlong X = s.nextLong();\n\t long money =100;\n\t\tlong Xyear =0;\n\t\twhile( money < X ) {\n\t\t\tmoney *= 1.01;\n\t\t\tXyear++;\n\t\t}\n\t\tSystem.out.println(Xyear);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tlong X = s.nextLong();\n\t long money =100;\n\t\tlong Xyear =0;\n\t\twhile( money < X ) {\n\t\t\tmoney *= 1.01;\n\t\t\tXyear++;\n\t\t}\n\t\tSystem.out.println(Xyear);\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tlong X = s.nextLong();\n\t long money =100;\n\t\tlong Xyear =0;\n\t\twhile( money < X ) {\n\t\t\tmoney *= 1.01;\n\t\t\tXyear++;\n\t\t}\n\t\tSystem.out.println(Xyear);\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"long X = s.nextLong();",
"X",
"s.nextLong()",
"s.nextLong",
"s",
"long money =100;",
"money",
"100",
"long Xyear =0;",
"Xyear",
"0",
"while( money < X ) {\n\t\t\tmoney *= 1.01;\n\t\t\tXyear++;\n\t\t}",
"money < X",
"money",
"X",
"{\n\t\t\tmoney *= 1.01;\n\t\t\tXyear++;\n\t\t}",
"money *= 1.01",
"money",
"1.01",
"Xyear++",
"Xyear",
"System.out.println(Xyear)",
"System.out.println",
"System.out",
"System",
"System.out",
"Xyear",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tlong X = s.nextLong();\n\t long money =100;\n\t\tlong Xyear =0;\n\t\twhile( money < X ) {\n\t\t\tmoney *= 1.01;\n\t\t\tXyear++;\n\t\t}\n\t\tSystem.out.println(Xyear);\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tlong X = s.nextLong();\n\t long money =100;\n\t\tlong Xyear =0;\n\t\twhile( money < X ) {\n\t\t\tmoney *= 1.01;\n\t\t\tXyear++;\n\t\t}\n\t\tSystem.out.println(Xyear);\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
long X = s.nextLong();
long money =100;
long Xyear =0;
while( money < X ) {
money *= 1.01;
Xyear++;
}
System.out.println(Xyear);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
41,
13,
14,
2,
2,
13,
13,
17,
30,
14,
2,
13,
17,
30,
0,
13,
13,
40,
13,
30,
0,
13,
4,
18,
13,
4,
18,
13,
2,
2,
17,
2,
13,
17,
13,
17,
0,
13,
2,
13,
13,
0,
13,
13,
30,
0,
13,
4,
18,
13,
4,
18,
13,
2,
2,
13,
13,
13,
17,
0,
13,
2,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
29,
18,
13,
40,
13,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
40,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
37,
20,
29,
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
],
[
364,
8
],
[
364,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
32,
38
],
[
38,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
40,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
66,
72
],
[
60,
73
],
[
57,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
57,
79
],
[
79,
80
],
[
79,
81
],
[
40,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
85,
96
],
[
82,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
99,
101
],
[
82,
102
],
[
102,
103
],
[
102,
104
],
[
11,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
9,
111
],
[
111,
112
],
[
0,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
117,
119
],
[
113,
120
],
[
120,
121
],
[
120,
122
],
[
113,
124
],
[
124,
125
],
[
124,
126
],
[
113,
127
],
[
127,
128
],
[
127,
129
],
[
113,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
137,
138
],
[
138,
139
],
[
133,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
144,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
154,
157
],
[
140,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
162
],
[
162,
163
],
[
163,
164
],
[
132,
165
],
[
165,
166
],
[
113,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
170,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
170,
178
],
[
178,
179
],
[
179,
180
],
[
113,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
185,
189
],
[
189,
190
],
[
189,
191
],
[
181,
192
],
[
192,
193
],
[
113,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
198,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
204,
206
],
[
197,
207
],
[
207,
208
],
[
196,
209
],
[
209,
210
],
[
210,
211
],
[
113,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
215,
219
],
[
219,
220
],
[
214,
221
],
[
221,
222
],
[
221,
223
],
[
214,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
214,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
228,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
233,
236
],
[
232,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
214,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
113,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
248,
249
],
[
249,
250
],
[
250,
251
],
[
248,
252
],
[
252,
253
],
[
247,
254
],
[
254,
255
],
[
254,
256
],
[
247,
257
],
[
257,
258
],
[
257,
259
],
[
247,
260
],
[
260,
261
],
[
260,
262
],
[
262,
263
],
[
247,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
264,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
268,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
247,
276
],
[
276,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
277,
281
],
[
281,
282
],
[
281,
283
],
[
276,
284
],
[
284,
285
],
[
285,
286
],
[
247,
287
],
[
287,
288
],
[
287,
289
],
[
289,
290
],
[
290,
291
],
[
291,
292
],
[
292,
293
],
[
292,
294
],
[
291,
295
],
[
295,
296
],
[
295,
297
],
[
290,
298
],
[
298,
299
],
[
299,
300
],
[
299,
301
],
[
298,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
304,
306
],
[
290,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
308,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
307,
317
],
[
317,
318
],
[
318,
319
],
[
319,
320
],
[
319,
321
],
[
321,
322
],
[
319,
323
],
[
307,
324
],
[
324,
325
],
[
325,
326
],
[
289,
327
],
[
327,
328
],
[
327,
329
],
[
329,
330
],
[
113,
331
],
[
331,
332
],
[
331,
333
],
[
333,
334
],
[
334,
335
],
[
334,
336
],
[
336,
337
],
[
333,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
342,
344
],
[
339,
345
],
[
345,
346
],
[
345,
347
],
[
347,
348
],
[
347,
349
],
[
338,
350
],
[
350,
351
],
[
333,
352
],
[
352,
353
],
[
113,
354
],
[
354,
355
],
[
354,
356
],
[
356,
357
],
[
357,
358
],
[
358,
359
],
[
359,
360
],
[
358,
361
],
[
361,
362
],
[
0,
363
],
[
363,
364
],
[
363,
365
]
] |
[
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs = new FastScanner();\n\t\tlong x = fs.nextLong();\n\t\tlong rishi;\n\t\tlong year = 0;\n\t\tlong money = 100;\n\t\twhile (money < x) {\n\t\t\trishi = money / 100;\n\t\t\tint temp;\n\t\t\tif (x - money > 100) {\n\t\t\t\tif (money >= 10000) {\n\t\t\t\t\tmoney += rishi;\n\t\t\t\t\tyear++;\n\t\t\t\t} else {\n\t\t\t\t\ttemp = (int) (Math.max(Math.ceil((100 - money % 100) / rishi), 1));\n\t\t\t\t\tmoney += rishi * temp;\n\t\t\t\t\tyear += temp;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\ttemp = (int) (Math.max(Math.ceil((x - money) / rishi), 1));\n\t\t\t\tmoney += rishi * temp;\n\t\t\t\tyear += temp;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(year);\n\t}\n}\n\nclass FastScanner {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] buffer = new byte[1024];\n\tprivate int ptr = 0;\n\tprivate int buflen = 0;\n\n\tprivate boolean hasNextByte() {\n\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\n\tprivate int readByte() {\n\t\tif (hasNextByte())\n\t\t\treturn buffer[ptr++];\n\t\telse\n\t\t\treturn -1;\n\t}\n\n\tprivate static boolean isPrintableChar(int c) {\n\t\treturn 33 <= c && c <= 126;\n\t}\n\n\tpublic boolean hasNext() {\n\t\twhile (hasNextByte() && !isPrintableChar(buffer[ptr]))\n\t\t\tptr++;\n\t\treturn hasNextByte();\n\t}\n\n\tpublic String next() {\n\t\tif (!hasNext())\n\t\t\tthrow new NoSuchElementException();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile (isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}\n\n\tpublic long nextLong() {\n\t\tif (!hasNext())\n\t\t\tthrow new NoSuchElementException();\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile (true) {\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t} else if (b == -1 || !isPrintableChar(b)) {\n\t\t\t\treturn minus ? -n : n;\n\t\t\t} else {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\n\tpublic int nextInt() {\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n\t\t\tthrow new NumberFormatException();\n\t\treturn (int) nl;\n\t}\n\n\tpublic double nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs = new FastScanner();\n\t\tlong x = fs.nextLong();\n\t\tlong rishi;\n\t\tlong year = 0;\n\t\tlong money = 100;\n\t\twhile (money < x) {\n\t\t\trishi = money / 100;\n\t\t\tint temp;\n\t\t\tif (x - money > 100) {\n\t\t\t\tif (money >= 10000) {\n\t\t\t\t\tmoney += rishi;\n\t\t\t\t\tyear++;\n\t\t\t\t} else {\n\t\t\t\t\ttemp = (int) (Math.max(Math.ceil((100 - money % 100) / rishi), 1));\n\t\t\t\t\tmoney += rishi * temp;\n\t\t\t\t\tyear += temp;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\ttemp = (int) (Math.max(Math.ceil((x - money) / rishi), 1));\n\t\t\t\tmoney += rishi * temp;\n\t\t\t\tyear += temp;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(year);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tFastScanner fs = new FastScanner();\n\t\tlong x = fs.nextLong();\n\t\tlong rishi;\n\t\tlong year = 0;\n\t\tlong money = 100;\n\t\twhile (money < x) {\n\t\t\trishi = money / 100;\n\t\t\tint temp;\n\t\t\tif (x - money > 100) {\n\t\t\t\tif (money >= 10000) {\n\t\t\t\t\tmoney += rishi;\n\t\t\t\t\tyear++;\n\t\t\t\t} else {\n\t\t\t\t\ttemp = (int) (Math.max(Math.ceil((100 - money % 100) / rishi), 1));\n\t\t\t\t\tmoney += rishi * temp;\n\t\t\t\t\tyear += temp;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\ttemp = (int) (Math.max(Math.ceil((x - money) / rishi), 1));\n\t\t\t\tmoney += rishi * temp;\n\t\t\t\tyear += temp;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(year);\n\t}",
"main",
"{\n\t\tFastScanner fs = new FastScanner();\n\t\tlong x = fs.nextLong();\n\t\tlong rishi;\n\t\tlong year = 0;\n\t\tlong money = 100;\n\t\twhile (money < x) {\n\t\t\trishi = money / 100;\n\t\t\tint temp;\n\t\t\tif (x - money > 100) {\n\t\t\t\tif (money >= 10000) {\n\t\t\t\t\tmoney += rishi;\n\t\t\t\t\tyear++;\n\t\t\t\t} else {\n\t\t\t\t\ttemp = (int) (Math.max(Math.ceil((100 - money % 100) / rishi), 1));\n\t\t\t\t\tmoney += rishi * temp;\n\t\t\t\t\tyear += temp;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\ttemp = (int) (Math.max(Math.ceil((x - money) / rishi), 1));\n\t\t\t\tmoney += rishi * temp;\n\t\t\t\tyear += temp;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(year);\n\t}",
"FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"long x = fs.nextLong();",
"x",
"fs.nextLong()",
"fs.nextLong",
"fs",
"long rishi;",
"rishi",
"long year = 0;",
"year",
"0",
"long money = 100;",
"money",
"100",
"while (money < x) {\n\t\t\trishi = money / 100;\n\t\t\tint temp;\n\t\t\tif (x - money > 100) {\n\t\t\t\tif (money >= 10000) {\n\t\t\t\t\tmoney += rishi;\n\t\t\t\t\tyear++;\n\t\t\t\t} else {\n\t\t\t\t\ttemp = (int) (Math.max(Math.ceil((100 - money % 100) / rishi), 1));\n\t\t\t\t\tmoney += rishi * temp;\n\t\t\t\t\tyear += temp;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\ttemp = (int) (Math.max(Math.ceil((x - money) / rishi), 1));\n\t\t\t\tmoney += rishi * temp;\n\t\t\t\tyear += temp;\n\t\t\t}\n\t\t}",
"money < x",
"money",
"x",
"{\n\t\t\trishi = money / 100;\n\t\t\tint temp;\n\t\t\tif (x - money > 100) {\n\t\t\t\tif (money >= 10000) {\n\t\t\t\t\tmoney += rishi;\n\t\t\t\t\tyear++;\n\t\t\t\t} else {\n\t\t\t\t\ttemp = (int) (Math.max(Math.ceil((100 - money % 100) / rishi), 1));\n\t\t\t\t\tmoney += rishi * temp;\n\t\t\t\t\tyear += temp;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\ttemp = (int) (Math.max(Math.ceil((x - money) / rishi), 1));\n\t\t\t\tmoney += rishi * temp;\n\t\t\t\tyear += temp;\n\t\t\t}\n\t\t}",
"rishi = money / 100",
"rishi",
"money / 100",
"money",
"100",
"int temp;",
"temp",
"if (x - money > 100) {\n\t\t\t\tif (money >= 10000) {\n\t\t\t\t\tmoney += rishi;\n\t\t\t\t\tyear++;\n\t\t\t\t} else {\n\t\t\t\t\ttemp = (int) (Math.max(Math.ceil((100 - money % 100) / rishi), 1));\n\t\t\t\t\tmoney += rishi * temp;\n\t\t\t\t\tyear += temp;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\ttemp = (int) (Math.max(Math.ceil((x - money) / rishi), 1));\n\t\t\t\tmoney += rishi * temp;\n\t\t\t\tyear += temp;\n\t\t\t}",
"x - money > 100",
"x - money",
"x",
"money",
"100",
"{\n\t\t\t\tif (money >= 10000) {\n\t\t\t\t\tmoney += rishi;\n\t\t\t\t\tyear++;\n\t\t\t\t} else {\n\t\t\t\t\ttemp = (int) (Math.max(Math.ceil((100 - money % 100) / rishi), 1));\n\t\t\t\t\tmoney += rishi * temp;\n\t\t\t\t\tyear += temp;\n\t\t\t\t}\n\t\t\t}",
"if (money >= 10000) {\n\t\t\t\t\tmoney += rishi;\n\t\t\t\t\tyear++;\n\t\t\t\t} else {\n\t\t\t\t\ttemp = (int) (Math.max(Math.ceil((100 - money % 100) / rishi), 1));\n\t\t\t\t\tmoney += rishi * temp;\n\t\t\t\t\tyear += temp;\n\t\t\t\t}",
"money >= 10000",
"money",
"10000",
"{\n\t\t\t\t\tmoney += rishi;\n\t\t\t\t\tyear++;\n\t\t\t\t}",
"money += rishi",
"money",
"rishi",
"year++",
"year",
"{\n\t\t\t\t\ttemp = (int) (Math.max(Math.ceil((100 - money % 100) / rishi), 1));\n\t\t\t\t\tmoney += rishi * temp;\n\t\t\t\t\tyear += temp;\n\t\t\t\t}",
"temp = (int) (Math.max(Math.ceil((100 - money % 100) / rishi), 1))",
"temp",
"(int) (Math.max(Math.ceil((100 - money % 100) / rishi), 1))",
"Math.max",
"Math",
"Math.ceil((100 - money % 100) / rishi)",
"Math.ceil",
"Math",
"(100 - money % 100) / rishi",
"(100 - money % 100)",
"100",
"money % 100",
"money",
"100",
"rishi",
"1",
"money += rishi * temp",
"money",
"rishi * temp",
"rishi",
"temp",
"year += temp",
"year",
"temp",
"{\n\t\t\t\ttemp = (int) (Math.max(Math.ceil((x - money) / rishi), 1));\n\t\t\t\tmoney += rishi * temp;\n\t\t\t\tyear += temp;\n\t\t\t}",
"temp = (int) (Math.max(Math.ceil((x - money) / rishi), 1))",
"temp",
"(int) (Math.max(Math.ceil((x - money) / rishi), 1))",
"Math.max",
"Math",
"Math.ceil((x - money) / rishi)",
"Math.ceil",
"Math",
"(x - money) / rishi",
"(x - money)",
"x",
"money",
"rishi",
"1",
"money += rishi * temp",
"money",
"rishi * temp",
"rishi",
"temp",
"year += temp",
"year",
"temp",
"System.out.println(year)",
"System.out.println",
"System.out",
"System",
"System.out",
"year",
"String[] args",
"args",
"class FastScanner {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] buffer = new byte[1024];\n\tprivate int ptr = 0;\n\tprivate int buflen = 0;\n\n\tprivate boolean hasNextByte() {\n\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\n\tprivate int readByte() {\n\t\tif (hasNextByte())\n\t\t\treturn buffer[ptr++];\n\t\telse\n\t\t\treturn -1;\n\t}\n\n\tprivate static boolean isPrintableChar(int c) {\n\t\treturn 33 <= c && c <= 126;\n\t}\n\n\tpublic boolean hasNext() {\n\t\twhile (hasNextByte() && !isPrintableChar(buffer[ptr]))\n\t\t\tptr++;\n\t\treturn hasNextByte();\n\t}\n\n\tpublic String next() {\n\t\tif (!hasNext())\n\t\t\tthrow new NoSuchElementException();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile (isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}\n\n\tpublic long nextLong() {\n\t\tif (!hasNext())\n\t\t\tthrow new NoSuchElementException();\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile (true) {\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t} else if (b == -1 || !isPrintableChar(b)) {\n\t\t\t\treturn minus ? -n : n;\n\t\t\t} else {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\n\tpublic int nextInt() {\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n\t\t\tthrow new NumberFormatException();\n\t\treturn (int) nl;\n\t}\n\n\tpublic double nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}\n}",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"private boolean hasNextByte() {\n\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"hasNextByte",
"{\n\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"if (ptr < buflen) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}",
"ptr < buflen",
"ptr",
"buflen",
"{\n\t\t\treturn true;\n\t\t}",
"return true;",
"true",
"{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}",
"ptr = 0",
"ptr",
"0",
"try {\n\t\t\t\tbuflen = in.read(buffer);\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\tbuflen = in.read(buffer);\n\t\t\t}",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}",
"buflen <= 0",
"buflen",
"0",
"{\n\t\t\t\treturn false;\n\t\t\t}",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n\t\tif (hasNextByte())\n\t\t\treturn buffer[ptr++];\n\t\telse\n\t\t\treturn -1;\n\t}",
"readByte",
"{\n\t\tif (hasNextByte())\n\t\t\treturn buffer[ptr++];\n\t\telse\n\t\t\treturn -1;\n\t}",
"if (hasNextByte())\n\t\t\treturn buffer[ptr++];\n\t\telse\n\t\t\treturn -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) {\n\t\treturn 33 <= c && c <= 126;\n\t}",
"isPrintableChar",
"{\n\t\treturn 33 <= c && c <= 126;\n\t}",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"public boolean hasNext() {\n\t\twhile (hasNextByte() && !isPrintableChar(buffer[ptr]))\n\t\t\tptr++;\n\t\treturn hasNextByte();\n\t}",
"hasNext",
"{\n\t\twhile (hasNextByte() && !isPrintableChar(buffer[ptr]))\n\t\t\tptr++;\n\t\treturn hasNextByte();\n\t}",
"while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n\t\t\tptr++;",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"ptr++",
"ptr",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n\t\tif (!hasNext())\n\t\t\tthrow new NoSuchElementException();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile (isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}",
"next",
"{\n\t\tif (!hasNext())\n\t\t\tthrow new NoSuchElementException();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile (isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}",
"if (!hasNext())\n\t\t\tthrow new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public long nextLong() {\n\t\tif (!hasNext())\n\t\t\tthrow new NoSuchElementException();\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile (true) {\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t} else if (b == -1 || !isPrintableChar(b)) {\n\t\t\t\treturn minus ? -n : n;\n\t\t\t} else {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}",
"nextLong",
"{\n\t\tif (!hasNext())\n\t\t\tthrow new NoSuchElementException();\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile (true) {\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t} else if (b == -1 || !isPrintableChar(b)) {\n\t\t\t\treturn minus ? -n : n;\n\t\t\t} else {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}",
"if (!hasNext())\n\t\t\tthrow new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}",
"b == '-'",
"b",
"'-'",
"{\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while (true) {\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t} else if (b == -1 || !isPrintableChar(b)) {\n\t\t\t\treturn minus ? -n : n;\n\t\t\t} else {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}",
"true",
"{\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t} else if (b == -1 || !isPrintableChar(b)) {\n\t\t\t\treturn minus ? -n : n;\n\t\t\t} else {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}",
"if ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t} else if (b == -1 || !isPrintableChar(b)) {\n\t\t\t\treturn minus ? -n : n;\n\t\t\t} else {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if (b == -1 || !isPrintableChar(b)) {\n\t\t\t\treturn minus ? -n : n;\n\t\t\t} else {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n\t\t\tthrow new NumberFormatException();\n\t\treturn (int) nl;\n\t}",
"nextInt",
"{\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n\t\t\tthrow new NumberFormatException();\n\t\treturn (int) nl;\n\t}",
"long nl = nextLong();",
"nl",
"nextLong()",
"nextLong",
"if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n\t\t\tthrow new NumberFormatException();",
"nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE",
"nl < Integer.MIN_VALUE",
"nl",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"nl > Integer.MAX_VALUE",
"nl",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) nl;",
"(int) nl",
"public 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",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs = new FastScanner();\n\t\tlong x = fs.nextLong();\n\t\tlong rishi;\n\t\tlong year = 0;\n\t\tlong money = 100;\n\t\twhile (money < x) {\n\t\t\trishi = money / 100;\n\t\t\tint temp;\n\t\t\tif (x - money > 100) {\n\t\t\t\tif (money >= 10000) {\n\t\t\t\t\tmoney += rishi;\n\t\t\t\t\tyear++;\n\t\t\t\t} else {\n\t\t\t\t\ttemp = (int) (Math.max(Math.ceil((100 - money % 100) / rishi), 1));\n\t\t\t\t\tmoney += rishi * temp;\n\t\t\t\t\tyear += temp;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\ttemp = (int) (Math.max(Math.ceil((x - money) / rishi), 1));\n\t\t\t\tmoney += rishi * temp;\n\t\t\t\tyear += temp;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(year);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs = new FastScanner();\n\t\tlong x = fs.nextLong();\n\t\tlong rishi;\n\t\tlong year = 0;\n\t\tlong money = 100;\n\t\twhile (money < x) {\n\t\t\trishi = money / 100;\n\t\t\tint temp;\n\t\t\tif (x - money > 100) {\n\t\t\t\tif (money >= 10000) {\n\t\t\t\t\tmoney += rishi;\n\t\t\t\t\tyear++;\n\t\t\t\t} else {\n\t\t\t\t\ttemp = (int) (Math.max(Math.ceil((100 - money % 100) / rishi), 1));\n\t\t\t\t\tmoney += rishi * temp;\n\t\t\t\t\tyear += temp;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\ttemp = (int) (Math.max(Math.ceil((x - money) / rishi), 1));\n\t\t\t\tmoney += rishi * temp;\n\t\t\t\tyear += temp;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(year);\n\t}\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
FastScanner fs = new FastScanner();
long x = fs.nextLong();
long rishi;
long year = 0;
long money = 100;
while (money < x) {
rishi = money / 100;
int temp;
if (x - money > 100) {
if (money >= 10000) {
money += rishi;
year++;
} else {
temp = (int) (Math.max(Math.ceil((100 - money % 100) / rishi), 1));
money += rishi * temp;
year += temp;
}
} else {
temp = (int) (Math.max(Math.ceil((x - money) / rishi), 1));
money += rishi * temp;
year += temp;
}
}
System.out.println(year);
}
}
class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
} else {
ptr = 0;
try {
buflen = in.read(buffer);
} catch (IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() {
if (hasNextByte())
return buffer[ptr++];
else
return -1;
}
private static boolean isPrintableChar(int c) {
return 33 <= c && c <= 126;
}
public boolean hasNext() {
while (hasNextByte() && !isPrintableChar(buffer[ptr]))
ptr++;
return hasNextByte();
}
public String next() {
if (!hasNext())
throw new NoSuchElementException();
StringBuilder sb = new StringBuilder();
int b = readByte();
while (isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public long nextLong() {
if (!hasNext())
throw new NoSuchElementException();
long n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while (true) {
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
} else if (b == -1 || !isPrintableChar(b)) {
return minus ? -n : n;
} else {
throw new NumberFormatException();
}
b = readByte();
}
}
public int nextInt() {
long nl = nextLong();
if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)
throw new NumberFormatException();
return (int) nl;
}
public 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,
17,
41,
13,
17,
11,
1,
41,
13,
13,
2,
13,
13,
1,
0,
13,
2,
13,
17,
40,
13,
30,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
3,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
31,
37
],
[
37,
38
],
[
23,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
45,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] |
[
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong bank = 100;\n\t\tlong count = 0;\n\t\tfor(long i = bank;i < X;bank += bank / 100,count++) {\n\t\t\tif(bank >= X) {\n\t\t\t\tSystem.out.println(count);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong bank = 100;\n\t\tlong count = 0;\n\t\tfor(long i = bank;i < X;bank += bank / 100,count++) {\n\t\t\tif(bank >= X) {\n\t\t\t\tSystem.out.println(count);\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 sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong bank = 100;\n\t\tlong count = 0;\n\t\tfor(long i = bank;i < X;bank += bank / 100,count++) {\n\t\t\tif(bank >= X) {\n\t\t\t\tSystem.out.println(count);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong bank = 100;\n\t\tlong count = 0;\n\t\tfor(long i = bank;i < X;bank += bank / 100,count++) {\n\t\t\tif(bank >= X) {\n\t\t\t\tSystem.out.println(count);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long bank = 100;",
"bank",
"100",
"long count = 0;",
"count",
"0",
"for(long i = bank;i < X;bank += bank / 100,count++) {\n\t\t\tif(bank >= X) {\n\t\t\t\tSystem.out.println(count);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"long i = bank;",
"long i = bank;",
"i",
"bank",
"i < X",
"i",
"X",
"bank += bank / 100,count++",
"bank += bank / 100",
"bank",
"bank / 100",
"bank",
"100",
"count++",
"count",
"{\n\t\t\tif(bank >= X) {\n\t\t\t\tSystem.out.println(count);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(bank >= X) {\n\t\t\t\tSystem.out.println(count);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if(bank >= X) {\n\t\t\t\tSystem.out.println(count);\n\t\t\t\tbreak;\n\t\t\t}",
"bank >= X",
"bank",
"X",
"{\n\t\t\t\tSystem.out.println(count);\n\t\t\t\tbreak;\n\t\t\t}",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"break;",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong bank = 100;\n\t\tlong count = 0;\n\t\tfor(long i = bank;i < X;bank += bank / 100,count++) {\n\t\t\tif(bank >= X) {\n\t\t\t\tSystem.out.println(count);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main{\n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong bank = 100;\n\t\tlong count = 0;\n\t\tfor(long i = bank;i < X;bank += bank / 100,count++) {\n\t\t\tif(bank >= X) {\n\t\t\t\tSystem.out.println(count);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long X = sc.nextLong();
long bank = 100;
long count = 0;
for(long i = bank;i < X;bank += bank / 100,count++) {
if(bank >= X) {
System.out.println(count);
break;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
3,
0,
13,
2,
13,
17,
40,
13,
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
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
33,
40
],
[
28,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
28,
46
],
[
46,
47
],
[
9,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"import java.util.*;\nimport java.math.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n\n long d = 100;\n int count = 0;\n\n while (true) {\n if (d >= x) {\n System.out.println(count);\n break;\n }\n d += d*0.01;\n count++;\n }\n\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n\n long d = 100;\n int count = 0;\n\n while (true) {\n if (d >= x) {\n System.out.println(count);\n break;\n }\n d += d*0.01;\n count++;\n }\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n\n long d = 100;\n int count = 0;\n\n while (true) {\n if (d >= x) {\n System.out.println(count);\n break;\n }\n d += d*0.01;\n count++;\n }\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n\n long d = 100;\n int count = 0;\n\n while (true) {\n if (d >= x) {\n System.out.println(count);\n break;\n }\n d += d*0.01;\n count++;\n }\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d = 100;",
"d",
"100",
"int count = 0;",
"count",
"0",
"while (true) {\n if (d >= x) {\n System.out.println(count);\n break;\n }\n d += d*0.01;\n count++;\n }",
"true",
"{\n if (d >= x) {\n System.out.println(count);\n break;\n }\n d += d*0.01;\n count++;\n }",
"if (d >= x) {\n System.out.println(count);\n break;\n }",
"d >= x",
"d",
"x",
"{\n System.out.println(count);\n break;\n }",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"break;",
"d += d*0.01",
"d",
"d*0.01",
"d",
"0.01",
"count++",
"count",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n\n long d = 100;\n int count = 0;\n\n while (true) {\n if (d >= x) {\n System.out.println(count);\n break;\n }\n d += d*0.01;\n count++;\n }\n\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n\n long d = 100;\n int count = 0;\n\n while (true) {\n if (d >= x) {\n System.out.println(count);\n break;\n }\n d += d*0.01;\n count++;\n }\n\n }\n\n}",
"Main"
] |
import java.util.*;
import java.math.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
long d = 100;
int count = 0;
while (true) {
if (d >= x) {
System.out.println(count);
break;
}
d += d*0.01;
count++;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
3,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
43,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong();\n\t\tlong dep = 100;\n\t\tdouble rate = 1.01;\n\n\t\tfor(int i = 1; i <= 4000; i++) {\n\t\t\tdep *= 1.01;\n\t\t\tif(dep >= x) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\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\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong();\n\t\tlong dep = 100;\n\t\tdouble rate = 1.01;\n\n\t\tfor(int i = 1; i <= 4000; i++) {\n\t\t\tdep *= 1.01;\n\t\t\tif(dep >= x) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong();\n\t\tlong dep = 100;\n\t\tdouble rate = 1.01;\n\n\t\tfor(int i = 1; i <= 4000; i++) {\n\t\t\tdep *= 1.01;\n\t\t\tif(dep >= x) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong();\n\t\tlong dep = 100;\n\t\tdouble rate = 1.01;\n\n\t\tfor(int i = 1; i <= 4000; i++) {\n\t\t\tdep *= 1.01;\n\t\t\tif(dep >= x) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long dep = 100;",
"dep",
"100",
"double rate = 1.01;",
"rate",
"1.01",
"for(int i = 1; i <= 4000; i++) {\n\t\t\tdep *= 1.01;\n\t\t\tif(dep >= x) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 4000",
"i",
"4000",
"i++",
"i++",
"i",
"{\n\t\t\tdep *= 1.01;\n\t\t\tif(dep >= x) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tdep *= 1.01;\n\t\t\tif(dep >= x) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"dep *= 1.01",
"dep",
"1.01",
"if(dep >= x) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}",
"dep >= x",
"dep",
"x",
"{\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\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\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong();\n\t\tlong dep = 100;\n\t\tdouble rate = 1.01;\n\n\t\tfor(int i = 1; i <= 4000; i++) {\n\t\t\tdep *= 1.01;\n\t\t\tif(dep >= x) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\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\tlong x = sc.nextLong();\n\t\tlong dep = 100;\n\t\tdouble rate = 1.01;\n\n\t\tfor(int i = 1; i <= 4000; i++) {\n\t\t\tdep *= 1.01;\n\t\t\tif(dep >= x) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\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);
long x = sc.nextLong();
long dep = 100;
double rate = 1.01;
for(int i = 1; i <= 4000; i++) {
dep *= 1.01;
if(dep >= x) {
System.out.println(i);
break;
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
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
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
33,
39
],
[
39,
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;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = Long.parseLong(sc.next());\n\t\tsc.close();\n\n\t\tlong sum = 100;\n\t\tint count = 0;\n\t\tdo {\n\t\t\tsum = (long) (sum * 1.01);\n\t\t\tcount++;\n\n\t\t} while (sum < X);\n\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = Long.parseLong(sc.next());\n\t\tsc.close();\n\n\t\tlong sum = 100;\n\t\tint count = 0;\n\t\tdo {\n\t\t\tsum = (long) (sum * 1.01);\n\t\t\tcount++;\n\n\t\t} while (sum < X);\n\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = Long.parseLong(sc.next());\n\t\tsc.close();\n\n\t\tlong sum = 100;\n\t\tint count = 0;\n\t\tdo {\n\t\t\tsum = (long) (sum * 1.01);\n\t\t\tcount++;\n\n\t\t} while (sum < X);\n\n\t\tSystem.out.println(count);\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = Long.parseLong(sc.next());\n\t\tsc.close();\n\n\t\tlong sum = 100;\n\t\tint count = 0;\n\t\tdo {\n\t\t\tsum = (long) (sum * 1.01);\n\t\t\tcount++;\n\n\t\t} while (sum < X);\n\n\t\tSystem.out.println(count);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = Long.parseLong(sc.next());",
"X",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"long sum = 100;",
"sum",
"100",
"int count = 0;",
"count",
"0",
"do {\n\t\t\tsum = (long) (sum * 1.01);\n\t\t\tcount++;\n\n\t\t} while (sum < X);",
"sum < X",
"sum",
"X",
"{\n\t\t\tsum = (long) (sum * 1.01);\n\t\t\tcount++;\n\n\t\t}",
"sum = (long) (sum * 1.01)",
"sum",
"(long) (sum * 1.01)",
"sum",
"1.01",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = Long.parseLong(sc.next());\n\t\tsc.close();\n\n\t\tlong sum = 100;\n\t\tint count = 0;\n\t\tdo {\n\t\t\tsum = (long) (sum * 1.01);\n\t\t\tcount++;\n\n\t\t} while (sum < X);\n\n\t\tSystem.out.println(count);\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\t\tlong X = Long.parseLong(sc.next());\n\t\tsc.close();\n\n\t\tlong sum = 100;\n\t\tint count = 0;\n\t\tdo {\n\t\t\tsum = (long) (sum * 1.01);\n\t\t\tcount++;\n\n\t\t} while (sum < X);\n\n\t\tSystem.out.println(count);\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);
long X = Long.parseLong(sc.next());
sc.close();
long sum = 100;
int count = 0;
do {
sum = (long) (sum * 1.01);
count++;
} while (sum < X);
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
4,
18,
13,
13,
17,
30,
0,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
17,
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
],
[
60,
8
],
[
60,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
30,
35
],
[
29,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
36,
49
],
[
49,
50
],
[
11,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
9,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] |
[
"\nimport java.math.BigInteger;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n BigInteger a=BigInteger.valueOf(100);\n BigInteger x=sc.nextBigInteger();\n int count=0;\n while (a.compareTo(x)<0){\n a= a.add(a.divide(BigInteger.valueOf(100)));\n count++;\n }\n System.out.println(count);\n }\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"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 BigInteger a=BigInteger.valueOf(100);\n BigInteger x=sc.nextBigInteger();\n int count=0;\n while (a.compareTo(x)<0){\n a= a.add(a.divide(BigInteger.valueOf(100)));\n count++;\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n BigInteger a=BigInteger.valueOf(100);\n BigInteger x=sc.nextBigInteger();\n int count=0;\n while (a.compareTo(x)<0){\n a= a.add(a.divide(BigInteger.valueOf(100)));\n count++;\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n BigInteger a=BigInteger.valueOf(100);\n BigInteger x=sc.nextBigInteger();\n int count=0;\n while (a.compareTo(x)<0){\n a= a.add(a.divide(BigInteger.valueOf(100)));\n count++;\n }\n System.out.println(count);\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigInteger a=BigInteger.valueOf(100);",
"a",
"BigInteger.valueOf(100)",
"BigInteger.valueOf",
"BigInteger",
"100",
"BigInteger x=sc.nextBigInteger();",
"x",
"sc.nextBigInteger()",
"sc.nextBigInteger",
"sc",
"int count=0;",
"count",
"0",
"while (a.compareTo(x)<0){\n a= a.add(a.divide(BigInteger.valueOf(100)));\n count++;\n }",
"a.compareTo(x)<0",
"a.compareTo(x)",
"a.compareTo",
"a",
"x",
"0",
"{\n a= a.add(a.divide(BigInteger.valueOf(100)));\n count++;\n }",
"a= a.add(a.divide(BigInteger.valueOf(100)))",
"a",
"a.add(a.divide(BigInteger.valueOf(100)))",
"a.add",
"a",
"a.divide(BigInteger.valueOf(100))",
"a.divide",
"a",
"BigInteger.valueOf(100)",
"BigInteger.valueOf",
"BigInteger",
"100",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n BigInteger a=BigInteger.valueOf(100);\n BigInteger x=sc.nextBigInteger();\n int count=0;\n while (a.compareTo(x)<0){\n a= a.add(a.divide(BigInteger.valueOf(100)));\n count++;\n }\n System.out.println(count);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n BigInteger a=BigInteger.valueOf(100);\n BigInteger x=sc.nextBigInteger();\n int count=0;\n while (a.compareTo(x)<0){\n a= a.add(a.divide(BigInteger.valueOf(100)));\n count++;\n }\n System.out.println(count);\n }\n}",
"Main"
] |
import java.math.BigInteger;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
BigInteger a=BigInteger.valueOf(100);
BigInteger x=sc.nextBigInteger();
int count=0;
while (a.compareTo(x)<0){
a= a.add(a.divide(BigInteger.valueOf(100)));
count++;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
2,
13,
13,
17,
41,
13,
4,
13,
13,
14,
2,
13,
13,
30,
0,
13,
2,
13,
17,
30,
0,
13,
2,
13,
17,
41,
13,
39,
13,
13,
13,
4,
18,
13,
13,
14,
2,
13,
4,
13,
18,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
17,
14,
2,
13,
4,
13,
18,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
17,
14,
2,
13,
4,
13,
18,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
158,
8
],
[
158,
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
],
[
11,
31
],
[
31,
32
],
[
9,
33
],
[
33,
34
],
[
158,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
37,
49
],
[
49,
50
],
[
49,
51
],
[
37,
52
],
[
52,
53
],
[
52,
54
],
[
37,
55
],
[
55,
56
],
[
55,
57
],
[
37,
58
],
[
58,
59
],
[
58,
60
],
[
37,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
65,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
65,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
78,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
37,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
96,
98
],
[
96,
99
],
[
37,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
37,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
109,
111
],
[
104,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
118,
119
],
[
118,
120
],
[
104,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
126,
128
],
[
121,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
130,
135
],
[
135,
136
],
[
135,
137
],
[
121,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
143,
145
],
[
138,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
147,
152
],
[
152,
153
],
[
152,
154
],
[
35,
155
],
[
155,
156
],
[
0,
157
],
[
157,
158
],
[
157,
159
]
] |
[
"import java.util.Arrays;\nimport java.util.Scanner;\npublic class Main {\n\n\tpublic static long method(long c){\n\t\tlong checker = 100;\n\t\tfor (int i = 0; i < c; i++){\n\t\t\t//checker = (long) Math.floor(checker * (1 + 0.01));\n\t\t\tchecker *= 1.01;\n\t\t}\n\t\treturn checker;\n\t}\n\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong X = Long.parseLong(scan.nextLine());\n\t\tlong year = 0;\n\t\tlong head = 0;\n\t\tlong tail = 3760;\n\t\tlong center = 0;\n\n\t\twhile (head <= tail){\n\t\t\tcenter = (head + tail) / 2;\n\t\t\tlong checker = method(center);\n\t\t\t// = (long) Math.floor(100 * Math.pow((1 + 0.01), center));\n\t\t\t//System.out.println(checker);\n\t\t\tif (checker > X) {\n\t\t\t\ttail = center - 1;\n\t\t\t}else {\n\t\t\t\thead = center + 1;\n\t\t\t}\n\t\t}\n\n\t\t//System.out.println(head +\" \"+ center +\" \"+ tail);\n\n\t\tlong[] arr = {head, center, tail};\n\t\tArrays.sort(arr);\n\n\t\tif (X <= method(arr[0])){\n\t\t\tSystem.out.println(arr[0]);\n\t\t}else if (X <= method(arr[1])){\n\t\t\tSystem.out.println(arr[1]);\n\t\t}else if (X <= method(arr[2])){\n\t\t\tSystem.out.println(arr[2]);\n\t\t}\n\t}\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static long method(long c){\n\t\tlong checker = 100;\n\t\tfor (int i = 0; i < c; i++){\n\t\t\t//checker = (long) Math.floor(checker * (1 + 0.01));\n\t\t\tchecker *= 1.01;\n\t\t}\n\t\treturn checker;\n\t}\n\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong X = Long.parseLong(scan.nextLine());\n\t\tlong year = 0;\n\t\tlong head = 0;\n\t\tlong tail = 3760;\n\t\tlong center = 0;\n\n\t\twhile (head <= tail){\n\t\t\tcenter = (head + tail) / 2;\n\t\t\tlong checker = method(center);\n\t\t\t// = (long) Math.floor(100 * Math.pow((1 + 0.01), center));\n\t\t\t//System.out.println(checker);\n\t\t\tif (checker > X) {\n\t\t\t\ttail = center - 1;\n\t\t\t}else {\n\t\t\t\thead = center + 1;\n\t\t\t}\n\t\t}\n\n\t\t//System.out.println(head +\" \"+ center +\" \"+ tail);\n\n\t\tlong[] arr = {head, center, tail};\n\t\tArrays.sort(arr);\n\n\t\tif (X <= method(arr[0])){\n\t\t\tSystem.out.println(arr[0]);\n\t\t}else if (X <= method(arr[1])){\n\t\t\tSystem.out.println(arr[1]);\n\t\t}else if (X <= method(arr[2])){\n\t\t\tSystem.out.println(arr[2]);\n\t\t}\n\t}\n}",
"Main",
"public static long method(long c){\n\t\tlong checker = 100;\n\t\tfor (int i = 0; i < c; i++){\n\t\t\t//checker = (long) Math.floor(checker * (1 + 0.01));\n\t\t\tchecker *= 1.01;\n\t\t}\n\t\treturn checker;\n\t}",
"method",
"{\n\t\tlong checker = 100;\n\t\tfor (int i = 0; i < c; i++){\n\t\t\t//checker = (long) Math.floor(checker * (1 + 0.01));\n\t\t\tchecker *= 1.01;\n\t\t}\n\t\treturn checker;\n\t}",
"long checker = 100;",
"checker",
"100",
"for (int i = 0; i < c; i++){\n\t\t\t//checker = (long) Math.floor(checker * (1 + 0.01));\n\t\t\tchecker *= 1.01;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < c",
"i",
"c",
"i++",
"i++",
"i",
"{\n\t\t\t//checker = (long) Math.floor(checker * (1 + 0.01));\n\t\t\tchecker *= 1.01;\n\t\t}",
"{\n\t\t\t//checker = (long) Math.floor(checker * (1 + 0.01));\n\t\t\tchecker *= 1.01;\n\t\t}",
"checker *= 1.01",
"checker",
"1.01",
"return checker;",
"checker",
"long c",
"c",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong X = Long.parseLong(scan.nextLine());\n\t\tlong year = 0;\n\t\tlong head = 0;\n\t\tlong tail = 3760;\n\t\tlong center = 0;\n\n\t\twhile (head <= tail){\n\t\t\tcenter = (head + tail) / 2;\n\t\t\tlong checker = method(center);\n\t\t\t// = (long) Math.floor(100 * Math.pow((1 + 0.01), center));\n\t\t\t//System.out.println(checker);\n\t\t\tif (checker > X) {\n\t\t\t\ttail = center - 1;\n\t\t\t}else {\n\t\t\t\thead = center + 1;\n\t\t\t}\n\t\t}\n\n\t\t//System.out.println(head +\" \"+ center +\" \"+ tail);\n\n\t\tlong[] arr = {head, center, tail};\n\t\tArrays.sort(arr);\n\n\t\tif (X <= method(arr[0])){\n\t\t\tSystem.out.println(arr[0]);\n\t\t}else if (X <= method(arr[1])){\n\t\t\tSystem.out.println(arr[1]);\n\t\t}else if (X <= method(arr[2])){\n\t\t\tSystem.out.println(arr[2]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong X = Long.parseLong(scan.nextLine());\n\t\tlong year = 0;\n\t\tlong head = 0;\n\t\tlong tail = 3760;\n\t\tlong center = 0;\n\n\t\twhile (head <= tail){\n\t\t\tcenter = (head + tail) / 2;\n\t\t\tlong checker = method(center);\n\t\t\t// = (long) Math.floor(100 * Math.pow((1 + 0.01), center));\n\t\t\t//System.out.println(checker);\n\t\t\tif (checker > X) {\n\t\t\t\ttail = center - 1;\n\t\t\t}else {\n\t\t\t\thead = center + 1;\n\t\t\t}\n\t\t}\n\n\t\t//System.out.println(head +\" \"+ center +\" \"+ tail);\n\n\t\tlong[] arr = {head, center, tail};\n\t\tArrays.sort(arr);\n\n\t\tif (X <= method(arr[0])){\n\t\t\tSystem.out.println(arr[0]);\n\t\t}else if (X <= method(arr[1])){\n\t\t\tSystem.out.println(arr[1]);\n\t\t}else if (X <= method(arr[2])){\n\t\t\tSystem.out.println(arr[2]);\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long X = Long.parseLong(scan.nextLine());",
"X",
"Long.parseLong(scan.nextLine())",
"Long.parseLong",
"Long",
"scan.nextLine()",
"scan.nextLine",
"scan",
"long year = 0;",
"year",
"0",
"long head = 0;",
"head",
"0",
"long tail = 3760;",
"tail",
"3760",
"long center = 0;",
"center",
"0",
"while (head <= tail){\n\t\t\tcenter = (head + tail) / 2;\n\t\t\tlong checker = method(center);\n\t\t\t// = (long) Math.floor(100 * Math.pow((1 + 0.01), center));\n\t\t\t//System.out.println(checker);\n\t\t\tif (checker > X) {\n\t\t\t\ttail = center - 1;\n\t\t\t}else {\n\t\t\t\thead = center + 1;\n\t\t\t}\n\t\t}",
"head <= tail",
"head",
"tail",
"{\n\t\t\tcenter = (head + tail) / 2;\n\t\t\tlong checker = method(center);\n\t\t\t// = (long) Math.floor(100 * Math.pow((1 + 0.01), center));\n\t\t\t//System.out.println(checker);\n\t\t\tif (checker > X) {\n\t\t\t\ttail = center - 1;\n\t\t\t}else {\n\t\t\t\thead = center + 1;\n\t\t\t}\n\t\t}",
"center = (head + tail) / 2",
"center",
"(head + tail) / 2",
"(head + tail)",
"head",
"tail",
"2",
"long checker = method(center);",
"checker",
"method(center)",
"method",
"center",
"if (checker > X) {\n\t\t\t\ttail = center - 1;\n\t\t\t}else {\n\t\t\t\thead = center + 1;\n\t\t\t}",
"checker > X",
"checker",
"X",
"{\n\t\t\t\ttail = center - 1;\n\t\t\t}",
"tail = center - 1",
"tail",
"center - 1",
"center",
"1",
"{\n\t\t\t\thead = center + 1;\n\t\t\t}",
"head = center + 1",
"head",
"center + 1",
"center",
"1",
"long[] arr = {head, center, tail};",
"arr",
"{head, center, tail}",
"head",
"center",
"tail",
"Arrays.sort(arr)",
"Arrays.sort",
"Arrays",
"arr",
"if (X <= method(arr[0])){\n\t\t\tSystem.out.println(arr[0]);\n\t\t}else if (X <= method(arr[1])){\n\t\t\tSystem.out.println(arr[1]);\n\t\t}else if (X <= method(arr[2])){\n\t\t\tSystem.out.println(arr[2]);\n\t\t}",
"X <= method(arr[0])",
"X",
"method(arr[0])",
"method",
"arr[0]",
"arr",
"0",
"{\n\t\t\tSystem.out.println(arr[0]);\n\t\t}",
"System.out.println(arr[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"arr[0]",
"arr",
"0",
"if (X <= method(arr[1])){\n\t\t\tSystem.out.println(arr[1]);\n\t\t}else if (X <= method(arr[2])){\n\t\t\tSystem.out.println(arr[2]);\n\t\t}",
"X <= method(arr[1])",
"X",
"method(arr[1])",
"method",
"arr[1]",
"arr",
"1",
"{\n\t\t\tSystem.out.println(arr[1]);\n\t\t}",
"System.out.println(arr[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"arr[1]",
"arr",
"1",
"if (X <= method(arr[2])){\n\t\t\tSystem.out.println(arr[2]);\n\t\t}",
"X <= method(arr[2])",
"X",
"method(arr[2])",
"method",
"arr[2]",
"arr",
"2",
"{\n\t\t\tSystem.out.println(arr[2]);\n\t\t}",
"System.out.println(arr[2])",
"System.out.println",
"System.out",
"System",
"System.out",
"arr[2]",
"arr",
"2",
"String[] args",
"args",
"public class Main {\n\n\tpublic static long method(long c){\n\t\tlong checker = 100;\n\t\tfor (int i = 0; i < c; i++){\n\t\t\t//checker = (long) Math.floor(checker * (1 + 0.01));\n\t\t\tchecker *= 1.01;\n\t\t}\n\t\treturn checker;\n\t}\n\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong X = Long.parseLong(scan.nextLine());\n\t\tlong year = 0;\n\t\tlong head = 0;\n\t\tlong tail = 3760;\n\t\tlong center = 0;\n\n\t\twhile (head <= tail){\n\t\t\tcenter = (head + tail) / 2;\n\t\t\tlong checker = method(center);\n\t\t\t// = (long) Math.floor(100 * Math.pow((1 + 0.01), center));\n\t\t\t//System.out.println(checker);\n\t\t\tif (checker > X) {\n\t\t\t\ttail = center - 1;\n\t\t\t}else {\n\t\t\t\thead = center + 1;\n\t\t\t}\n\t\t}\n\n\t\t//System.out.println(head +\" \"+ center +\" \"+ tail);\n\n\t\tlong[] arr = {head, center, tail};\n\t\tArrays.sort(arr);\n\n\t\tif (X <= method(arr[0])){\n\t\t\tSystem.out.println(arr[0]);\n\t\t}else if (X <= method(arr[1])){\n\t\t\tSystem.out.println(arr[1]);\n\t\t}else if (X <= method(arr[2])){\n\t\t\tSystem.out.println(arr[2]);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static long method(long c){\n\t\tlong checker = 100;\n\t\tfor (int i = 0; i < c; i++){\n\t\t\t//checker = (long) Math.floor(checker * (1 + 0.01));\n\t\t\tchecker *= 1.01;\n\t\t}\n\t\treturn checker;\n\t}\n\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong X = Long.parseLong(scan.nextLine());\n\t\tlong year = 0;\n\t\tlong head = 0;\n\t\tlong tail = 3760;\n\t\tlong center = 0;\n\n\t\twhile (head <= tail){\n\t\t\tcenter = (head + tail) / 2;\n\t\t\tlong checker = method(center);\n\t\t\t// = (long) Math.floor(100 * Math.pow((1 + 0.01), center));\n\t\t\t//System.out.println(checker);\n\t\t\tif (checker > X) {\n\t\t\t\ttail = center - 1;\n\t\t\t}else {\n\t\t\t\thead = center + 1;\n\t\t\t}\n\t\t}\n\n\t\t//System.out.println(head +\" \"+ center +\" \"+ tail);\n\n\t\tlong[] arr = {head, center, tail};\n\t\tArrays.sort(arr);\n\n\t\tif (X <= method(arr[0])){\n\t\t\tSystem.out.println(arr[0]);\n\t\t}else if (X <= method(arr[1])){\n\t\t\tSystem.out.println(arr[1]);\n\t\t}else if (X <= method(arr[2])){\n\t\t\tSystem.out.println(arr[2]);\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static long method(long c){
long checker = 100;
for (int i = 0; i < c; i++){
//checker = (long) Math.floor(checker * (1 + 0.01));
checker *= 1.01;
}
return checker;
}
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
long X = Long.parseLong(scan.nextLine());
long year = 0;
long head = 0;
long tail = 3760;
long center = 0;
while (head <= tail){
center = (head + tail) / 2;
long checker = method(center);
// = (long) Math.floor(100 * Math.pow((1 + 0.01), center));
//System.out.println(checker);
if (checker > X) {
tail = center - 1;
}else {
head = center + 1;
}
}
//System.out.println(head +" "+ center +" "+ tail);
long[] arr = {head, center, tail};
Arrays.sort(arr);
if (X <= method(arr[0])){
System.out.println(arr[0]);
}else if (X <= method(arr[1])){
System.out.println(arr[1]);
}else if (X <= method(arr[2])){
System.out.println(arr[2]);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
42,
2,
13,
13,
30,
0,
13,
2,
13,
4,
18,
13,
2,
13,
17,
40,
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
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
27,
38
],
[
38,
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 double t=100;\n int sum=0;\n long k=sc.nextLong();\n while(t<k){\n t= t+Math.floor(t*0.01);\n sum++;\n }\n System.out.println(sum);\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 double t=100;\n int sum=0;\n long k=sc.nextLong();\n while(t<k){\n t= t+Math.floor(t*0.01);\n sum++;\n }\n System.out.println(sum);\n }\n}",
"Main",
"public static void main(String []args){\n Scanner sc=new Scanner(System.in);\n double t=100;\n int sum=0;\n long k=sc.nextLong();\n while(t<k){\n t= t+Math.floor(t*0.01);\n sum++;\n }\n System.out.println(sum);\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n double t=100;\n int sum=0;\n long k=sc.nextLong();\n while(t<k){\n t= t+Math.floor(t*0.01);\n sum++;\n }\n System.out.println(sum);\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double t=100;",
"t",
"100",
"int sum=0;",
"sum",
"0",
"long k=sc.nextLong();",
"k",
"sc.nextLong()",
"sc.nextLong",
"sc",
"while(t<k){\n t= t+Math.floor(t*0.01);\n sum++;\n }",
"t<k",
"t",
"k",
"{\n t= t+Math.floor(t*0.01);\n sum++;\n }",
"t= t+Math.floor(t*0.01)",
"t",
"t+Math.floor(t*0.01)",
"t",
"Math.floor(t*0.01)",
"Math.floor",
"Math",
"t*0.01",
"t",
"0.01",
"sum++",
"sum",
"System.out.println(sum)",
"System.out.println",
"System.out",
"System",
"System.out",
"sum",
"String []args",
"args",
"public class Main{\n public static void main(String []args){\n Scanner sc=new Scanner(System.in);\n double t=100;\n int sum=0;\n long k=sc.nextLong();\n while(t<k){\n t= t+Math.floor(t*0.01);\n sum++;\n }\n System.out.println(sum);\n }\n}",
"public class Main{\n public static void main(String []args){\n Scanner sc=new Scanner(System.in);\n double t=100;\n int sum=0;\n long k=sc.nextLong();\n while(t<k){\n t= t+Math.floor(t*0.01);\n sum++;\n }\n System.out.println(sum);\n }\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String []args){
Scanner sc=new Scanner(System.in);
double t=100;
int sum=0;
long k=sc.nextLong();
while(t<k){
t= t+Math.floor(t*0.01);
sum++;
}
System.out.println(sum);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
29,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
8,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] |
[
"\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\n\t\tScanner cin = new Scanner(System.in);\n\t\tlong X = cin.nextLong();\n\t\tlong deposit = 100,count = 0;\n\t\t\n\t\twhile(deposit<X) {\n\t\t\tdeposit += deposit/100;\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t\treturn;\n\t\t\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tScanner cin = new Scanner(System.in);\n\t\tlong X = cin.nextLong();\n\t\tlong deposit = 100,count = 0;\n\t\t\n\t\twhile(deposit<X) {\n\t\t\tdeposit += deposit/100;\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t\treturn;\n\t\t\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tScanner cin = new Scanner(System.in);\n\t\tlong X = cin.nextLong();\n\t\tlong deposit = 100,count = 0;\n\t\t\n\t\twhile(deposit<X) {\n\t\t\tdeposit += deposit/100;\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t\treturn;\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tScanner cin = new Scanner(System.in);\n\t\tlong X = cin.nextLong();\n\t\tlong deposit = 100,count = 0;\n\t\t\n\t\twhile(deposit<X) {\n\t\t\tdeposit += deposit/100;\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t\treturn;\n\t\t\n\t\t\n\t}",
"Scanner cin = new Scanner(System.in);",
"cin",
"new Scanner(System.in)",
"long X = cin.nextLong();",
"X",
"cin.nextLong()",
"cin.nextLong",
"cin",
"long deposit = 100",
"deposit",
"100",
"count = 0;",
"count",
"0",
"while(deposit<X) {\n\t\t\tdeposit += deposit/100;\n\t\t\tcount++;\n\t\t}",
"deposit<X",
"deposit",
"X",
"{\n\t\t\tdeposit += deposit/100;\n\t\t\tcount++;\n\t\t}",
"deposit += deposit/100",
"deposit",
"deposit/100",
"deposit",
"100",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"return;",
"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\n\t\tScanner cin = new Scanner(System.in);\n\t\tlong X = cin.nextLong();\n\t\tlong deposit = 100,count = 0;\n\t\t\n\t\twhile(deposit<X) {\n\t\t\tdeposit += deposit/100;\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t\treturn;\n\t\t\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tScanner cin = new Scanner(System.in);\n\t\tlong X = cin.nextLong();\n\t\tlong deposit = 100,count = 0;\n\t\t\n\t\twhile(deposit<X) {\n\t\t\tdeposit += deposit/100;\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t\treturn;\n\t\t\n\t\t\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner cin = new Scanner(System.in);
long X = cin.nextLong();
long deposit = 100,count = 0;
while(deposit<X) {
deposit += deposit/100;
count++;
}
System.out.println(count);
return;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
4,
18,
13,
17,
5,
13,
30,
4,
18,
13,
4,
18,
13,
17,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
14,
2,
13,
13,
30,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
0,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
2,
2,
13,
17,
2,
13,
17,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
15,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
15,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
36,
48
],
[
48,
49
],
[
48,
50
],
[
36,
51
],
[
51,
52
],
[
51,
53
],
[
36,
54
],
[
54,
55
],
[
54,
56
],
[
36,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
61,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
61,
72
],
[
72,
73
],
[
72,
74
],
[
36,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
79,
91
],
[
91,
92
],
[
36,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
12,
99
],
[
99,
100
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n public static void main(final String[] args) throws Exception {\n\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in));) {\n long N = Long.parseLong(br.readLine());\n long condition = 90000000000000000L;\n long ans = 0;\n long base = 100;\n if (condition < N) {\n N = N / 10000000000000L;\n base = condition / 10000000000000L;\n ans = 3517;\n }\n while (base < N) {\n base = (base * 100 + (base * 1)) / 100;\n ans++;\n }\n\n System.out.println(ans);\n } catch (IOException | NumberFormatException e) {\n e.printStackTrace();\n System.exit(0);\n } catch (final Exception e) {\n e.printStackTrace();\n System.exit(0);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n public static void main(final String[] args) throws Exception {\n\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in));) {\n long N = Long.parseLong(br.readLine());\n long condition = 90000000000000000L;\n long ans = 0;\n long base = 100;\n if (condition < N) {\n N = N / 10000000000000L;\n base = condition / 10000000000000L;\n ans = 3517;\n }\n while (base < N) {\n base = (base * 100 + (base * 1)) / 100;\n ans++;\n }\n\n System.out.println(ans);\n } catch (IOException | NumberFormatException e) {\n e.printStackTrace();\n System.exit(0);\n } catch (final Exception e) {\n e.printStackTrace();\n System.exit(0);\n }\n }\n}",
"Main",
"public static void main(final String[] args) throws Exception {\n\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in));) {\n long N = Long.parseLong(br.readLine());\n long condition = 90000000000000000L;\n long ans = 0;\n long base = 100;\n if (condition < N) {\n N = N / 10000000000000L;\n base = condition / 10000000000000L;\n ans = 3517;\n }\n while (base < N) {\n base = (base * 100 + (base * 1)) / 100;\n ans++;\n }\n\n System.out.println(ans);\n } catch (IOException | NumberFormatException e) {\n e.printStackTrace();\n System.exit(0);\n } catch (final Exception e) {\n e.printStackTrace();\n System.exit(0);\n }\n }",
"main",
"{\n\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in));) {\n long N = Long.parseLong(br.readLine());\n long condition = 90000000000000000L;\n long ans = 0;\n long base = 100;\n if (condition < N) {\n N = N / 10000000000000L;\n base = condition / 10000000000000L;\n ans = 3517;\n }\n while (base < N) {\n base = (base * 100 + (base * 1)) / 100;\n ans++;\n }\n\n System.out.println(ans);\n } catch (IOException | NumberFormatException e) {\n e.printStackTrace();\n System.exit(0);\n } catch (final Exception e) {\n e.printStackTrace();\n System.exit(0);\n }\n }",
"try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in));) {\n long N = Long.parseLong(br.readLine());\n long condition = 90000000000000000L;\n long ans = 0;\n long base = 100;\n if (condition < N) {\n N = N / 10000000000000L;\n base = condition / 10000000000000L;\n ans = 3517;\n }\n while (base < N) {\n base = (base * 100 + (base * 1)) / 100;\n ans++;\n }\n\n System.out.println(ans);\n } catch (IOException | NumberFormatException e) {\n e.printStackTrace();\n System.exit(0);\n } catch (final Exception e) {\n e.printStackTrace();\n System.exit(0);\n }",
"catch (IOException | NumberFormatException e) {\n e.printStackTrace();\n System.exit(0);\n }",
"IOException | NumberFormatException e",
"{\n e.printStackTrace();\n System.exit(0);\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"System.exit(0)",
"System.exit",
"System",
"0",
"catch (final Exception e) {\n e.printStackTrace();\n System.exit(0);\n }",
"final Exception e",
"{\n e.printStackTrace();\n System.exit(0);\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n long N = Long.parseLong(br.readLine());\n long condition = 90000000000000000L;\n long ans = 0;\n long base = 100;\n if (condition < N) {\n N = N / 10000000000000L;\n base = condition / 10000000000000L;\n ans = 3517;\n }\n while (base < N) {\n base = (base * 100 + (base * 1)) / 100;\n ans++;\n }\n\n System.out.println(ans);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"new BufferedReader(new InputStreamReader(System.in))",
"long N = Long.parseLong(br.readLine());",
"N",
"Long.parseLong(br.readLine())",
"Long.parseLong",
"Long",
"br.readLine()",
"br.readLine",
"br",
"long condition = 90000000000000000L;",
"condition",
"90000000000000000L",
"long ans = 0;",
"ans",
"0",
"long base = 100;",
"base",
"100",
"if (condition < N) {\n N = N / 10000000000000L;\n base = condition / 10000000000000L;\n ans = 3517;\n }",
"condition < N",
"condition",
"N",
"{\n N = N / 10000000000000L;\n base = condition / 10000000000000L;\n ans = 3517;\n }",
"N = N / 10000000000000L",
"N",
"N / 10000000000000L",
"N",
"10000000000000L",
"base = condition / 10000000000000L",
"base",
"condition / 10000000000000L",
"condition",
"10000000000000L",
"ans = 3517",
"ans",
"3517",
"while (base < N) {\n base = (base * 100 + (base * 1)) / 100;\n ans++;\n }",
"base < N",
"base",
"N",
"{\n base = (base * 100 + (base * 1)) / 100;\n ans++;\n }",
"base = (base * 100 + (base * 1)) / 100",
"base",
"(base * 100 + (base * 1)) / 100",
"(base * 100 + (base * 1))",
"base * 100",
"base",
"100",
"(base * 1)",
"base",
"1",
"100",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"final String[] args",
"args"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(final String[] args) throws Exception {
try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in));) {
long N = Long.parseLong(br.readLine());
long condition = 90000000000000000L;
long ans = 0;
long base = 100;
if (condition < N) {
N = N / 10000000000000L;
base = condition / 10000000000000L;
ans = 3517;
}
while (base < N) {
base = (base * 100 + (base * 1)) / 100;
ans++;
}
System.out.println(ans);
} catch (IOException | NumberFormatException e) {
e.printStackTrace();
System.exit(0);
} catch (final Exception e) {
e.printStackTrace();
System.exit(0);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
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,
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,
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,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
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,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
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,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
29,
4,
18,
13,
13,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
12,
13,
30,
29,
2,
2,
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
],
[
413,
11
],
[
413,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
14,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
33,
39
],
[
39,
40
],
[
14,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
12,
47
],
[
47,
48
],
[
413,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
49,
57
],
[
57,
58
],
[
49,
59
],
[
59,
60
],
[
49,
61
],
[
61,
62
],
[
49,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
63,
71
],
[
71,
72
],
[
49,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
76,
81
],
[
81,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
91,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
87,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
109,
110
],
[
75,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
49,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
118,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
118,
132
],
[
132,
133
],
[
132,
134
],
[
118,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
139,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
118,
148
],
[
148,
149
],
[
148,
150
],
[
118,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
151,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
162
],
[
162,
163
],
[
162,
164
],
[
157,
165
],
[
165,
166
],
[
156,
167
],
[
167,
168
],
[
167,
169
],
[
156,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
172,
174
],
[
156,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
118,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
49,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
185,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
190,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
185,
199
],
[
199,
200
],
[
199,
201
],
[
185,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
206,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
185,
215
],
[
215,
216
],
[
215,
217
],
[
185,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
218,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
226,
227
],
[
226,
228
],
[
225,
229
],
[
229,
230
],
[
229,
231
],
[
224,
232
],
[
232,
233
],
[
223,
234
],
[
234,
235
],
[
234,
236
],
[
223,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
239,
241
],
[
223,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
185,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
49,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
252,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
257,
262
],
[
262,
263
],
[
262,
264
],
[
257,
265
],
[
265,
266
],
[
266,
267
],
[
257,
268
],
[
269,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
270,
274
],
[
274,
275
],
[
252,
276
],
[
276,
277
],
[
250,
278
],
[
278,
279
],
[
49,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
282,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
287,
291
],
[
291,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
282,
296
],
[
296,
297
],
[
296,
298
],
[
282,
299
],
[
299,
300
],
[
300,
301
],
[
301,
302
],
[
301,
303
],
[
299,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
305,
308
],
[
304,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
282,
313
],
[
313,
314
],
[
314,
315
],
[
315,
316
],
[
49,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
322,
323
],
[
319,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
324,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
319,
332
],
[
332,
333
],
[
332,
334
],
[
319,
335
],
[
335,
336
],
[
336,
337
],
[
337,
338
],
[
337,
339
],
[
335,
340
],
[
340,
341
],
[
341,
342
],
[
342,
343
],
[
341,
344
],
[
340,
345
],
[
345,
346
],
[
345,
347
],
[
347,
348
],
[
319,
349
],
[
349,
350
],
[
350,
351
],
[
351,
352
],
[
49,
353
],
[
353,
354
],
[
353,
355
],
[
355,
356
],
[
356,
357
],
[
357,
358
],
[
357,
359
],
[
356,
360
],
[
360,
361
],
[
361,
362
],
[
362,
363
],
[
361,
364
],
[
355,
365
],
[
365,
366
],
[
369,
367
],
[
379,
368
],
[
376,
369
],
[
369,
370
],
[
370,
371
],
[
370,
372
],
[
369,
373
],
[
373,
374
],
[
373,
375
],
[
376,
376
],
[
376,
377
],
[
376,
378
],
[
379,
379
],
[
379,
380
],
[
379,
381
],
[
369,
382
],
[
382,
383
],
[
382,
384
],
[
384,
385
],
[
353,
386
],
[
386,
387
],
[
49,
388
],
[
388,
389
],
[
388,
390
],
[
390,
391
],
[
391,
392
],
[
393,
393
],
[
393,
394
],
[
394,
395
],
[
394,
396
],
[
393,
397
],
[
397,
398
],
[
397,
399
],
[
393,
400
],
[
400,
401
],
[
400,
402
],
[
402,
403
],
[
388,
404
],
[
404,
405
],
[
49,
406
],
[
406,
407
],
[
406,
408
],
[
408,
409
],
[
408,
410
],
[
410,
411
],
[
0,
412
],
[
412,
413
],
[
412,
414
]
] |
[
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.util.InputMismatchException;\n\npublic class Main {\n\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n\n long x = in.nextLong();\n\n long p = 100;\n long years = 0;\n while (p < x) {\n p += p/100;\n years++;\n }\n System.out.println(years);\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1) throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0) return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c)) c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n\n long x = in.nextLong();\n\n long p = 100;\n long years = 0;\n while (p < x) {\n p += p/100;\n years++;\n }\n System.out.println(years);\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1) throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0) return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c)) c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n\n long x = in.nextLong();\n\n long p = 100;\n long years = 0;\n while (p < x) {\n p += p/100;\n years++;\n }\n System.out.println(years);\n }",
"main",
"{\n InputReader in = new InputReader(System.in);\n\n long x = in.nextLong();\n\n long p = 100;\n long years = 0;\n while (p < x) {\n p += p/100;\n years++;\n }\n System.out.println(years);\n }",
"InputReader in = new InputReader(System.in);",
"in",
"new InputReader(System.in)",
"long x = in.nextLong();",
"x",
"in.nextLong()",
"in.nextLong",
"in",
"long p = 100;",
"p",
"100",
"long years = 0;",
"years",
"0",
"while (p < x) {\n p += p/100;\n years++;\n }",
"p < x",
"p",
"x",
"{\n p += p/100;\n years++;\n }",
"p += p/100",
"p",
"p/100",
"p",
"100",
"years++",
"years",
"System.out.println(years)",
"System.out.println",
"System.out",
"System",
"System.out",
"years",
"String[] args",
"args",
"static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1) throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0) return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c)) c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }",
"InputReader",
"private final InputStream stream;",
"stream",
"private final byte[] buf = new byte[8192];",
"buf",
"new byte[8192]",
"8192",
"private int curChar",
"curChar",
"snumChars;",
"snumChars",
"private 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 snext() {\n if (snumChars == -1) throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0) return -1;\n }\n return buf[curChar++];\n }",
"snext",
"{\n if (snumChars == -1) throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0) return -1;\n }\n return buf[curChar++];\n }",
"if (snumChars == -1) throw new InputMismatchException();",
"snumChars == -1",
"snumChars",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0) return -1;\n }",
"curChar >= snumChars",
"curChar",
"snumChars",
"{\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0) return -1;\n }",
"curChar = 0",
"curChar",
"0",
"try {\n snumChars = 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 snumChars = stream.read(buf);\n }",
"snumChars = stream.read(buf)",
"snumChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (snumChars <= 0) return -1;",
"snumChars <= 0",
"snumChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextInt",
"{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c)) {\n c = snext();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = snext();\n }",
"c = snext()",
"c",
"snext()",
"snext",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = snext();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = snext();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = snext()",
"c",
"snext()",
"snext",
"int res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n }",
"if (c < '0' || c > '9') throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = snext()",
"c",
"snext()",
"snext",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextLong",
"{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c)) {\n c = snext();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = snext();\n }",
"c = snext()",
"c",
"snext()",
"snext",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = snext();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = snext();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = snext()",
"c",
"snext()",
"snext",
"long res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n }",
"if (c < '0' || c > '9') throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = snext()",
"c",
"snext()",
"snext",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }",
"nextIntArray",
"{\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\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();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = nextInt();\n }",
"{\n a[i] = nextInt();\n }",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"readString",
"{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c)) {\n c = snext();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = snext();\n }",
"c = snext()",
"c",
"snext()",
"snext",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res.appendCodePoint(c);\n c = snext();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = snext()",
"c",
"snext()",
"snext",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public String nextLine() {\n int c = snext();\n while (isSpaceChar(c)) c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }",
"nextLine",
"{\n int c = snext();\n while (isSpaceChar(c)) c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c)) c = snext();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = snext()",
"c",
"snext()",
"snext",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));",
"!isEndOfLine(c)",
"isEndOfLine(c)",
"isEndOfLine",
"c",
"{\n res.appendCodePoint(c);\n c = snext();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = snext()",
"c",
"snext()",
"snext",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public boolean isSpaceChar(int c) {\n if (filter != null) return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n if (filter != null) return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"if (filter != null) return filter.isSpaceChar(c);",
"filter != null",
"filter",
"null",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"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",
"private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"isEndOfLine",
"{\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"return c == '\\n' || c == '\\r' || c == -1;",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"public class Main {\n\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n\n long x = in.nextLong();\n\n long p = 100;\n long years = 0;\n while (p < x) {\n p += p/100;\n years++;\n }\n System.out.println(years);\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1) throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0) return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c)) c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n\n long x = in.nextLong();\n\n long p = 100;\n long years = 0;\n while (p < x) {\n p += p/100;\n years++;\n }\n System.out.println(years);\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1) throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0) return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c)) c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"Main"
] |
import java.io.IOException;
import java.io.InputStream;
import java.util.InputMismatchException;
public class Main {
public static void main(String[] args) {
InputReader in = new InputReader(System.in);
long x = in.nextLong();
long p = 100;
long years = 0;
while (p < x) {
p += p/100;
years++;
}
System.out.println(years);
}
static class InputReader {
private final InputStream stream;
private final byte[] buf = new byte[8192];
private int curChar, snumChars;
private SpaceCharFilter filter;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int snext() {
if (snumChars == -1) throw new InputMismatchException();
if (curChar >= snumChars) {
curChar = 0;
try {
snumChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (snumChars <= 0) return -1;
}
return buf[curChar++];
}
public int nextInt() {
int c = snext();
while (isSpaceChar(c)) {
c = snext();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = snext();
}
int res = 0;
do {
if (c < '0' || c > '9') throw new InputMismatchException();
res *= 10;
res += c - '0';
c = snext();
} while (!isSpaceChar(c));
return res * sgn;
}
public long nextLong() {
int c = snext();
while (isSpaceChar(c)) {
c = snext();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = snext();
}
long res = 0;
do {
if (c < '0' || c > '9') throw new InputMismatchException();
res *= 10;
res += c - '0';
c = snext();
} while (!isSpaceChar(c));
return res * sgn;
}
public int[] nextIntArray(int n) {
int a[] = new int[n];
for (int i = 0; i < n; i++) {
a[i] = nextInt();
}
return a;
}
public String readString() {
int c = snext();
while (isSpaceChar(c)) {
c = snext();
}
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = snext();
} while (!isSpaceChar(c));
return res.toString();
}
public String nextLine() {
int c = snext();
while (isSpaceChar(c)) c = snext();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = snext();
} while (!isEndOfLine(c));
return res.toString();
}
public boolean isSpaceChar(int c) {
if (filter != null) return filter.isSpaceChar(c);
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
private boolean isEndOfLine(int c) {
return c == '\n' || c == '\r' || c == -1;
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
40,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
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
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"\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\tlong x = sc.nextLong();\n\t\tlong money = 100;\n\t\tlong cnt = 0;\n\t\twhile(money < x) {\n\t\t\tcnt++;\n\t\t\tmoney *= 1.01;\n\t\t}\n\t\tSystem.out.println(cnt);\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong money = 100;\n\t\tlong cnt = 0;\n\t\twhile(money < x) {\n\t\t\tcnt++;\n\t\t\tmoney *= 1.01;\n\t\t}\n\t\tSystem.out.println(cnt);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong money = 100;\n\t\tlong cnt = 0;\n\t\twhile(money < x) {\n\t\t\tcnt++;\n\t\t\tmoney *= 1.01;\n\t\t}\n\t\tSystem.out.println(cnt);\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong money = 100;\n\t\tlong cnt = 0;\n\t\twhile(money < x) {\n\t\t\tcnt++;\n\t\t\tmoney *= 1.01;\n\t\t}\n\t\tSystem.out.println(cnt);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long money = 100;",
"money",
"100",
"long cnt = 0;",
"cnt",
"0",
"while(money < x) {\n\t\t\tcnt++;\n\t\t\tmoney *= 1.01;\n\t\t}",
"money < x",
"money",
"x",
"{\n\t\t\tcnt++;\n\t\t\tmoney *= 1.01;\n\t\t}",
"cnt++",
"cnt",
"money *= 1.01",
"money",
"1.01",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong money = 100;\n\t\tlong cnt = 0;\n\t\twhile(money < x) {\n\t\t\tcnt++;\n\t\t\tmoney *= 1.01;\n\t\t}\n\t\tSystem.out.println(cnt);\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\t\tlong x = sc.nextLong();\n\t\tlong money = 100;\n\t\tlong cnt = 0;\n\t\twhile(money < x) {\n\t\t\tcnt++;\n\t\t\tmoney *= 1.01;\n\t\t}\n\t\tSystem.out.println(cnt);\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);
long x = sc.nextLong();
long money = 100;
long cnt = 0;
while(money < x) {
cnt++;
money *= 1.01;
}
System.out.println(cnt);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
40,
13,
0,
13,
4,
18,
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
],
[
50,
5
],
[
50,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] |
[
"import 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\tlong X = sc.nextLong();\n\n\t\t// 結果の出力\n\t\tint count = 0;\n\t\tdouble deposit = 100;\n\t\twhile (X > deposit) {\n\t\t\tcount++;\n\t\t\tdeposit = Math.floor(deposit * 1.01);\n\t\t}\n\t\tSystem.out.println(count);\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\tlong X = sc.nextLong();\n\n\t\t// 結果の出力\n\t\tint count = 0;\n\t\tdouble deposit = 100;\n\t\twhile (X > deposit) {\n\t\t\tcount++;\n\t\t\tdeposit = Math.floor(deposit * 1.01);\n\t\t}\n\t\tSystem.out.println(count);\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\tlong X = sc.nextLong();\n\n\t\t// 結果の出力\n\t\tint count = 0;\n\t\tdouble deposit = 100;\n\t\twhile (X > deposit) {\n\t\t\tcount++;\n\t\t\tdeposit = Math.floor(deposit * 1.01);\n\t\t}\n\t\tSystem.out.println(count);\n\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// 入力値の取得\n\t\tlong X = sc.nextLong();\n\n\t\t// 結果の出力\n\t\tint count = 0;\n\t\tdouble deposit = 100;\n\t\twhile (X > deposit) {\n\t\t\tcount++;\n\t\t\tdeposit = Math.floor(deposit * 1.01);\n\t\t}\n\t\tSystem.out.println(count);\n\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int count = 0;",
"count",
"0",
"double deposit = 100;",
"deposit",
"100",
"while (X > deposit) {\n\t\t\tcount++;\n\t\t\tdeposit = Math.floor(deposit * 1.01);\n\t\t}",
"X > deposit",
"X",
"deposit",
"{\n\t\t\tcount++;\n\t\t\tdeposit = Math.floor(deposit * 1.01);\n\t\t}",
"count++",
"count",
"deposit = Math.floor(deposit * 1.01)",
"deposit",
"Math.floor(deposit * 1.01)",
"Math.floor",
"Math",
"deposit * 1.01",
"deposit",
"1.01",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"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\tlong X = sc.nextLong();\n\n\t\t// 結果の出力\n\t\tint count = 0;\n\t\tdouble deposit = 100;\n\t\twhile (X > deposit) {\n\t\t\tcount++;\n\t\t\tdeposit = Math.floor(deposit * 1.01);\n\t\t}\n\t\tSystem.out.println(count);\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\tlong X = sc.nextLong();\n\n\t\t// 結果の出力\n\t\tint count = 0;\n\t\tdouble deposit = 100;\n\t\twhile (X > deposit) {\n\t\t\tcount++;\n\t\t\tdeposit = Math.floor(deposit * 1.01);\n\t\t}\n\t\tSystem.out.println(count);\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);
// 入力値の取得
long X = sc.nextLong();
// 結果の出力
int count = 0;
double deposit = 100;
while (X > deposit) {
count++;
deposit = Math.floor(deposit * 1.01);
}
System.out.println(count);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
4,
18,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] |
[
"import 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\tlong x = sc.nextLong();\n\t\tlong now = 100;\n\t\tlong ans = 0;\n\n\t\twhile (now < x) {\n\t\t\tnow += now / 100;\n\t\t\tans++;\n\t\t}\n\n\t\tSystem.out.println(ans);\n\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\tlong x = sc.nextLong();\n\t\tlong now = 100;\n\t\tlong ans = 0;\n\n\t\twhile (now < x) {\n\t\t\tnow += now / 100;\n\t\t\tans++;\n\t\t}\n\n\t\tSystem.out.println(ans);\n\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\tlong x = sc.nextLong();\n\t\tlong now = 100;\n\t\tlong ans = 0;\n\n\t\twhile (now < x) {\n\t\t\tnow += now / 100;\n\t\t\tans++;\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong now = 100;\n\t\tlong ans = 0;\n\n\t\twhile (now < x) {\n\t\t\tnow += now / 100;\n\t\t\tans++;\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long now = 100;",
"now",
"100",
"long ans = 0;",
"ans",
"0",
"while (now < x) {\n\t\t\tnow += now / 100;\n\t\t\tans++;\n\t\t}",
"now < x",
"now",
"x",
"{\n\t\t\tnow += now / 100;\n\t\t\tans++;\n\t\t}",
"now += now / 100",
"now",
"now / 100",
"now",
"100",
"ans++",
"ans",
"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\tlong x = sc.nextLong();\n\t\tlong now = 100;\n\t\tlong ans = 0;\n\n\t\twhile (now < x) {\n\t\t\tnow += now / 100;\n\t\t\tans++;\n\t\t}\n\n\t\tSystem.out.println(ans);\n\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\tlong x = sc.nextLong();\n\t\tlong now = 100;\n\t\tlong ans = 0;\n\n\t\twhile (now < x) {\n\t\t\tnow += now / 100;\n\t\t\tans++;\n\t\t}\n\n\t\tSystem.out.println(ans);\n\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);
long x = sc.nextLong();
long now = 100;
long ans = 0;
while (now < x) {
now += now / 100;
ans++;
}
System.out.println(ans);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
0,
13,
2,
13,
13,
40,
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
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
30,
41
],
[
41,
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.*;\n\npublic class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long goal = 100;\n int count = 0;\n \tdouble av = 0;\n while(goal < X){\n \tav = goal / 100;\n goal = goal + (long)(av);\n count++;\n }\n System.out.println(count);\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 long X = sc.nextLong();\n long goal = 100;\n int count = 0;\n \tdouble av = 0;\n while(goal < X){\n \tav = goal / 100;\n goal = goal + (long)(av);\n count++;\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long goal = 100;\n int count = 0;\n \tdouble av = 0;\n while(goal < X){\n \tav = goal / 100;\n goal = goal + (long)(av);\n count++;\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long goal = 100;\n int count = 0;\n \tdouble av = 0;\n while(goal < X){\n \tav = goal / 100;\n goal = goal + (long)(av);\n count++;\n }\n System.out.println(count);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long goal = 100;",
"goal",
"100",
"int count = 0;",
"count",
"0",
"double av = 0;",
"av",
"0",
"while(goal < X){\n \tav = goal / 100;\n goal = goal + (long)(av);\n count++;\n }",
"goal < X",
"goal",
"X",
"{\n \tav = goal / 100;\n goal = goal + (long)(av);\n count++;\n }",
"av = goal / 100",
"av",
"goal / 100",
"goal",
"100",
"goal = goal + (long)(av)",
"goal",
"goal + (long)(av)",
"goal",
"(long)(av)",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long goal = 100;\n int count = 0;\n \tdouble av = 0;\n while(goal < X){\n \tav = goal / 100;\n goal = goal + (long)(av);\n count++;\n }\n System.out.println(count);\n }\n}",
"public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long goal = 100;\n int count = 0;\n \tdouble av = 0;\n while(goal < X){\n \tav = goal / 100;\n goal = goal + (long)(av);\n count++;\n }\n System.out.println(count);\n }\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long X = sc.nextLong();
long goal = 100;
int count = 0;
double av = 0;
while(goal < X){
av = goal / 100;
goal = goal + (long)(av);
count++;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong amount = 100;\n\t\tlong res = 0;\n\t\twhile(amount<X) {\n\t\t\tamount+=amount/100;\n\t\t\tres++;\n\t\t}\n\t\tSystem.out.println(res);\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 sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong amount = 100;\n\t\tlong res = 0;\n\t\twhile(amount<X) {\n\t\t\tamount+=amount/100;\n\t\t\tres++;\n\t\t}\n\t\tSystem.out.println(res);\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong amount = 100;\n\t\tlong res = 0;\n\t\twhile(amount<X) {\n\t\t\tamount+=amount/100;\n\t\t\tres++;\n\t\t}\n\t\tSystem.out.println(res);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong amount = 100;\n\t\tlong res = 0;\n\t\twhile(amount<X) {\n\t\t\tamount+=amount/100;\n\t\t\tres++;\n\t\t}\n\t\tSystem.out.println(res);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long amount = 100;",
"amount",
"100",
"long res = 0;",
"res",
"0",
"while(amount<X) {\n\t\t\tamount+=amount/100;\n\t\t\tres++;\n\t\t}",
"amount<X",
"amount",
"X",
"{\n\t\t\tamount+=amount/100;\n\t\t\tres++;\n\t\t}",
"amount+=amount/100",
"amount",
"amount/100",
"amount",
"100",
"res++",
"res",
"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) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong amount = 100;\n\t\tlong res = 0;\n\t\twhile(amount<X) {\n\t\t\tamount+=amount/100;\n\t\t\tres++;\n\t\t}\n\t\tSystem.out.println(res);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong amount = 100;\n\t\tlong res = 0;\n\t\twhile(amount<X) {\n\t\t\tamount+=amount/100;\n\t\t\tres++;\n\t\t}\n\t\tSystem.out.println(res);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
long X = sc.nextLong();
long amount = 100;
long res = 0;
while(amount<X) {
amount+=amount/100;
res++;
}
System.out.println(res);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
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,
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
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
29,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
51,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] |
[
"//B\nimport java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString xs = sc.next();\n \tlong x = Long.parseLong(xs);\n\t\tlong count = 100;\n\t\tint max = 10000000;\n\t\t\n\t\tfor (int i = 0; i < max; i++) {\n\t\t\tcount = (long)((double)count * 1.01);\n\t\t\tif (count >= x) {\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.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString xs = sc.next();\n \tlong x = Long.parseLong(xs);\n\t\tlong count = 100;\n\t\tint max = 10000000;\n\t\t\n\t\tfor (int i = 0; i < max; i++) {\n\t\t\tcount = (long)((double)count * 1.01);\n\t\t\tif (count >= x) {\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 sc = new Scanner(System.in);\n\t\tString xs = sc.next();\n \tlong x = Long.parseLong(xs);\n\t\tlong count = 100;\n\t\tint max = 10000000;\n\t\t\n\t\tfor (int i = 0; i < max; i++) {\n\t\t\tcount = (long)((double)count * 1.01);\n\t\t\tif (count >= x) {\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 sc = new Scanner(System.in);\n\t\tString xs = sc.next();\n \tlong x = Long.parseLong(xs);\n\t\tlong count = 100;\n\t\tint max = 10000000;\n\t\t\n\t\tfor (int i = 0; i < max; i++) {\n\t\t\tcount = (long)((double)count * 1.01);\n\t\t\tif (count >= x) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String xs = sc.next();",
"xs",
"sc.next()",
"sc.next",
"sc",
"long x = Long.parseLong(xs);",
"x",
"Long.parseLong(xs)",
"Long.parseLong",
"Long",
"xs",
"long count = 100;",
"count",
"100",
"int max = 10000000;",
"max",
"10000000",
"for (int i = 0; i < max; i++) {\n\t\t\tcount = (long)((double)count * 1.01);\n\t\t\tif (count >= x) {\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 < max",
"i",
"max",
"i++",
"i++",
"i",
"{\n\t\t\tcount = (long)((double)count * 1.01);\n\t\t\tif (count >= x) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tcount = (long)((double)count * 1.01);\n\t\t\tif (count >= x) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"count = (long)((double)count * 1.01)",
"count",
"(long)((double)count * 1.01)",
"(double)count",
"1.01",
"if (count >= x) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}",
"count >= x",
"count",
"x",
"{\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 sc = new Scanner(System.in);\n\t\tString xs = sc.next();\n \tlong x = Long.parseLong(xs);\n\t\tlong count = 100;\n\t\tint max = 10000000;\n\t\t\n\t\tfor (int i = 0; i < max; i++) {\n\t\t\tcount = (long)((double)count * 1.01);\n\t\t\tif (count >= x) {\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 sc = new Scanner(System.in);\n\t\tString xs = sc.next();\n \tlong x = Long.parseLong(xs);\n\t\tlong count = 100;\n\t\tint max = 10000000;\n\t\t\n\t\tfor (int i = 0; i < max; i++) {\n\t\t\tcount = (long)((double)count * 1.01);\n\t\t\tif (count >= x) {\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"
] |
//B
import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String xs = sc.next();
long x = Long.parseLong(xs);
long count = 100;
int max = 10000000;
for (int i = 0; i < max; i++) {
count = (long)((double)count * 1.01);
if (count >= x) {
System.out.println(i + 1);
break;
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
13,
30,
40,
13,
0,
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
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
32,
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;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tlong sum = 100;\n\t\tdouble rate = 1.01;\n\t\tlong x;\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tx = scan.nextLong();\n\n\t\tint i = 0;\n\t\twhile(sum < x) {\n\t\t\ti++;\n\t\t\tsum *= rate;\n\t\t}\n\n\t\tSystem.out.println(i);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tlong sum = 100;\n\t\tdouble rate = 1.01;\n\t\tlong x;\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tx = scan.nextLong();\n\n\t\tint i = 0;\n\t\twhile(sum < x) {\n\t\t\ti++;\n\t\t\tsum *= rate;\n\t\t}\n\n\t\tSystem.out.println(i);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tlong sum = 100;\n\t\tdouble rate = 1.01;\n\t\tlong x;\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tx = scan.nextLong();\n\n\t\tint i = 0;\n\t\twhile(sum < x) {\n\t\t\ti++;\n\t\t\tsum *= rate;\n\t\t}\n\n\t\tSystem.out.println(i);\n\t}",
"main",
"{\n\t\tlong sum = 100;\n\t\tdouble rate = 1.01;\n\t\tlong x;\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tx = scan.nextLong();\n\n\t\tint i = 0;\n\t\twhile(sum < x) {\n\t\t\ti++;\n\t\t\tsum *= rate;\n\t\t}\n\n\t\tSystem.out.println(i);\n\t}",
"long sum = 100;",
"sum",
"100",
"double rate = 1.01;",
"rate",
"1.01",
"long x;",
"x",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"x = scan.nextLong()",
"x",
"scan.nextLong()",
"scan.nextLong",
"scan",
"int i = 0;",
"i",
"0",
"while(sum < x) {\n\t\t\ti++;\n\t\t\tsum *= rate;\n\t\t}",
"sum < x",
"sum",
"x",
"{\n\t\t\ti++;\n\t\t\tsum *= rate;\n\t\t}",
"i++",
"i",
"sum *= rate",
"sum",
"rate",
"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\tlong sum = 100;\n\t\tdouble rate = 1.01;\n\t\tlong x;\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tx = scan.nextLong();\n\n\t\tint i = 0;\n\t\twhile(sum < x) {\n\t\t\ti++;\n\t\t\tsum *= rate;\n\t\t}\n\n\t\tSystem.out.println(i);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tlong sum = 100;\n\t\tdouble rate = 1.01;\n\t\tlong x;\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tx = scan.nextLong();\n\n\t\tint i = 0;\n\t\twhile(sum < x) {\n\t\t\ti++;\n\t\t\tsum *= rate;\n\t\t}\n\n\t\tSystem.out.println(i);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
long sum = 100;
double rate = 1.01;
long x;
Scanner scan = new Scanner(System.in);
x = scan.nextLong();
int i = 0;
while(sum < x) {
i++;
sum *= rate;
}
System.out.println(i);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
17,
42,
2,
40,
13,
17,
4,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
12,
13,
30,
29,
8,
2,
13,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
13,
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,
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
],
[
201,
14
],
[
201,
15
],
[
15,
16
],
[
15,
17
],
[
201,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
24,
29
],
[
29,
30
],
[
18,
31
],
[
31,
32
],
[
201,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
35,
44
],
[
44,
45
],
[
44,
46
],
[
35,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
57,
58
],
[
35,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
201,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
69,
74
],
[
65,
75
],
[
75,
76
],
[
65,
77
],
[
77,
78
],
[
201,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
83,
88
],
[
79,
89
],
[
89,
90
],
[
79,
91
],
[
91,
92
],
[
201,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
97,
102
],
[
102,
103
],
[
102,
104
],
[
102,
105
],
[
105,
106
],
[
105,
107
],
[
93,
108
],
[
108,
109
],
[
93,
110
],
[
110,
111
],
[
201,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
112,
116
],
[
116,
117
],
[
112,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
112,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
127,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
137,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
126,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
112,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
156,
159
],
[
159,
160
],
[
112,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
165,
168
],
[
168,
169
],
[
112,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
174,
177
],
[
177,
178
],
[
112,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
181,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
185,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
196,
197
],
[
181,
198
],
[
198,
199
],
[
0,
200
],
[
200,
201
],
[
200,
202
]
] |
[
"//package code;\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\n/**\n *\n * @author Milo\n */\npublic class Main {\n \n static FastReader in = new FastReader();\n public static void main(String[] args) {\n int t = 1; //in.nextInt();\n while (t-- > 0)\n solve();\n }\n \n public static void solve() {\n long n = in.nextLong();\n long st = 100;\n int c = 0;\n while(st < n){\n st += (st / 100);\n c++;\n }\n System.out.println(c);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n \n public static int max(int a, int b) {\n return a > b ? a : b;\n }\n \n public static int min(int a, int b) {\n return a < b ? a : b;\n }\n \n public static int gcd(int a, int b) {\n return b == 0 ? a : gcd(b, (a % b));\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 static FastReader in = new FastReader();\n public static void main(String[] args) {\n int t = 1; //in.nextInt();\n while (t-- > 0)\n solve();\n }\n \n public static void solve() {\n long n = in.nextLong();\n long st = 100;\n int c = 0;\n while(st < n){\n st += (st / 100);\n c++;\n }\n System.out.println(c);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n \n public static int max(int a, int b) {\n return a > b ? a : b;\n }\n \n public static int min(int a, int b) {\n return a < b ? a : b;\n }\n \n public static int gcd(int a, int b) {\n return b == 0 ? a : gcd(b, (a % b));\n }\n}",
"Main",
"static FastReader in = new FastReader();",
"in",
"new FastReader()",
"public static void main(String[] args) {\n int t = 1; //in.nextInt();\n while (t-- > 0)\n solve();\n }",
"main",
"{\n int t = 1; //in.nextInt();\n while (t-- > 0)\n solve();\n }",
"int t = 1;",
"t",
"1",
"while (t-- > 0)\n solve();",
"t-- > 0",
"t--",
"t",
"0",
"solve()",
"solve",
"String[] args",
"args",
"public static void solve() {\n long n = in.nextLong();\n long st = 100;\n int c = 0;\n while(st < n){\n st += (st / 100);\n c++;\n }\n System.out.println(c);\n }",
"solve",
"{\n long n = in.nextLong();\n long st = 100;\n int c = 0;\n while(st < n){\n st += (st / 100);\n c++;\n }\n System.out.println(c);\n }",
"long n = in.nextLong();",
"n",
"in.nextLong()",
"in.nextLong",
"in",
"long st = 100;",
"st",
"100",
"int c = 0;",
"c",
"0",
"while(st < n){\n st += (st / 100);\n c++;\n }",
"st < n",
"st",
"n",
"{\n st += (st / 100);\n c++;\n }",
"st += (st / 100)",
"st",
"(st / 100)",
"st",
"100",
"c++",
"c",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"public static int max(int a, int b) {\n return a > b ? a : b;\n }",
"max",
"{\n return a > b ? a : b;\n }",
"return a > b ? a : b;",
"a > b ? a : b",
"a > b",
"a",
"b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"public static int min(int a, int b) {\n return a < b ? a : b;\n }",
"min",
"{\n return a < b ? a : b;\n }",
"return a < b ? a : b;",
"a < b ? a : b",
"a < b",
"a",
"b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"public static int gcd(int a, int b) {\n return b == 0 ? a : gcd(b, (a % b));\n }",
"gcd",
"{\n return b == 0 ? a : gcd(b, (a % b));\n }",
"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 class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"FastReader",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n \n static FastReader in = new FastReader();\n public static void main(String[] args) {\n int t = 1; //in.nextInt();\n while (t-- > 0)\n solve();\n }\n \n public static void solve() {\n long n = in.nextLong();\n long st = 100;\n int c = 0;\n while(st < n){\n st += (st / 100);\n c++;\n }\n System.out.println(c);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n \n public static int max(int a, int b) {\n return a > b ? a : b;\n }\n \n public static int min(int a, int b) {\n return a < b ? a : b;\n }\n \n public static int gcd(int a, int b) {\n return b == 0 ? a : gcd(b, (a % b));\n }\n}",
"public class Main {\n \n static FastReader in = new FastReader();\n public static void main(String[] args) {\n int t = 1; //in.nextInt();\n while (t-- > 0)\n solve();\n }\n \n public static void solve() {\n long n = in.nextLong();\n long st = 100;\n int c = 0;\n while(st < n){\n st += (st / 100);\n c++;\n }\n System.out.println(c);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n \n public static int max(int a, int b) {\n return a > b ? a : b;\n }\n \n public static int min(int a, int b) {\n return a < b ? a : b;\n }\n \n public static int gcd(int a, int b) {\n return b == 0 ? a : gcd(b, (a % b));\n }\n}",
"Main"
] |
//package code;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
/**
*
* @author Milo
*/
public class Main {
static FastReader in = new FastReader();
public static void main(String[] args) {
int t = 1; //in.nextInt();
while (t-- > 0)
solve();
}
public static void solve() {
long n = in.nextLong();
long st = 100;
int c = 0;
while(st < n){
st += (st / 100);
c++;
}
System.out.println(c);
}
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 int max(int a, int b) {
return a > b ? a : b;
}
public static int min(int a, int b) {
return a < b ? a : b;
}
public static int gcd(int a, int b) {
return b == 0 ? a : gcd(b, (a % b));
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tlong i = stdIn.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\n\t\twhile (money < i) {\n\t\t\tmoney = (long) (money * 1.01);\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\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 stdIn = new Scanner(System.in);\n\n\t\tlong i = stdIn.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\n\t\twhile (money < i) {\n\t\t\tmoney = (long) (money * 1.01);\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tlong i = stdIn.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\n\t\twhile (money < i) {\n\t\t\tmoney = (long) (money * 1.01);\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}",
"main",
"{\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tlong i = stdIn.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\n\t\twhile (money < i) {\n\t\t\tmoney = (long) (money * 1.01);\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"long i = stdIn.nextLong();",
"i",
"stdIn.nextLong()",
"stdIn.nextLong",
"stdIn",
"long money = 100;",
"money",
"100",
"int count = 0;",
"count",
"0",
"while (money < i) {\n\t\t\tmoney = (long) (money * 1.01);\n\t\t\tcount++;\n\t\t}",
"money < i",
"money",
"i",
"{\n\t\t\tmoney = (long) (money * 1.01);\n\t\t\tcount++;\n\t\t}",
"money = (long) (money * 1.01)",
"money",
"(long) (money * 1.01)",
"money",
"1.01",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tlong i = stdIn.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\n\t\twhile (money < i) {\n\t\t\tmoney = (long) (money * 1.01);\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tlong i = stdIn.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\n\t\twhile (money < i) {\n\t\t\tmoney = (long) (money * 1.01);\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
long i = stdIn.nextLong();
long money = 100;
int count = 0;
while (money < i) {
money = (long) (money * 1.01);
count++;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
17,
0,
13,
17,
0,
13,
4,
18,
13,
13,
14,
2,
13,
13,
30,
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
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
30,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
30,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
11,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
9,
55
],
[
55,
56
]
] |
[
"import java.lang.Math;\nimport java.util.Scanner;\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n double interest = 100;\n int year = 0;\n while (interest < n){ \n year += 1;\n interest *= 1.01;\n interest = Math.floor(interest);\n if (interest >= n){\n break;\n }\n }\n System.out.println(year);\n }\n}",
"import java.lang.Math;",
"Math",
"java.lang",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n double interest = 100;\n int year = 0;\n while (interest < n){ \n year += 1;\n interest *= 1.01;\n interest = Math.floor(interest);\n if (interest >= n){\n break;\n }\n }\n System.out.println(year);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n double interest = 100;\n int year = 0;\n while (interest < n){ \n year += 1;\n interest *= 1.01;\n interest = Math.floor(interest);\n if (interest >= n){\n break;\n }\n }\n System.out.println(year);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n double interest = 100;\n int year = 0;\n while (interest < n){ \n year += 1;\n interest *= 1.01;\n interest = Math.floor(interest);\n if (interest >= n){\n break;\n }\n }\n System.out.println(year);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double interest = 100;",
"interest",
"100",
"int year = 0;",
"year",
"0",
"while (interest < n){ \n year += 1;\n interest *= 1.01;\n interest = Math.floor(interest);\n if (interest >= n){\n break;\n }\n }",
"interest < n",
"interest",
"n",
"{ \n year += 1;\n interest *= 1.01;\n interest = Math.floor(interest);\n if (interest >= n){\n break;\n }\n }",
"year += 1",
"year",
"1",
"interest *= 1.01",
"interest",
"1.01",
"interest = Math.floor(interest)",
"interest",
"Math.floor(interest)",
"Math.floor",
"Math",
"interest",
"if (interest >= n){\n break;\n }",
"interest >= n",
"interest",
"n",
"{\n break;\n }",
"break;",
"System.out.println(year)",
"System.out.println",
"System.out",
"System",
"System.out",
"year",
"String[] args",
"args"
] |
import java.lang.Math;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
double interest = 100;
int year = 0;
while (interest < n){
year += 1;
interest *= 1.01;
interest = Math.floor(interest);
if (interest >= n){
break;
}
}
System.out.println(year);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
0,
13,
2,
13,
4,
18,
13,
2,
13,
17,
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
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
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;\n\npublic class Main {\n public static void main(String[] args) {\n //コード\n \tScanner sc = new Scanner(System.in);\n// \tFile file = new File(\"src/in.txt\");\n// \tScanner sc = new Scanner(file);\n \tlong X = sc.nextLong();\n \tint year = 0;\n \tlong sum = 100;\n\n \twhile(sum < X) {\n \t\tyear = year + 1;\n \t\tsum = (long) (sum + Math.floor(sum * 0.01));\n \t}\n \tSystem.out.println(year);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n //コード\n \tScanner sc = new Scanner(System.in);\n// \tFile file = new File(\"src/in.txt\");\n// \tScanner sc = new Scanner(file);\n \tlong X = sc.nextLong();\n \tint year = 0;\n \tlong sum = 100;\n\n \twhile(sum < X) {\n \t\tyear = year + 1;\n \t\tsum = (long) (sum + Math.floor(sum * 0.01));\n \t}\n \tSystem.out.println(year);\n }\n}",
"Main",
"public static void main(String[] args) {\n //コード\n \tScanner sc = new Scanner(System.in);\n// \tFile file = new File(\"src/in.txt\");\n// \tScanner sc = new Scanner(file);\n \tlong X = sc.nextLong();\n \tint year = 0;\n \tlong sum = 100;\n\n \twhile(sum < X) {\n \t\tyear = year + 1;\n \t\tsum = (long) (sum + Math.floor(sum * 0.01));\n \t}\n \tSystem.out.println(year);\n }",
"main",
"{\n //コード\n \tScanner sc = new Scanner(System.in);\n// \tFile file = new File(\"src/in.txt\");\n// \tScanner sc = new Scanner(file);\n \tlong X = sc.nextLong();\n \tint year = 0;\n \tlong sum = 100;\n\n \twhile(sum < X) {\n \t\tyear = year + 1;\n \t\tsum = (long) (sum + Math.floor(sum * 0.01));\n \t}\n \tSystem.out.println(year);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int year = 0;",
"year",
"0",
"long sum = 100;",
"sum",
"100",
"while(sum < X) {\n \t\tyear = year + 1;\n \t\tsum = (long) (sum + Math.floor(sum * 0.01));\n \t}",
"sum < X",
"sum",
"X",
"{\n \t\tyear = year + 1;\n \t\tsum = (long) (sum + Math.floor(sum * 0.01));\n \t}",
"year = year + 1",
"year",
"year + 1",
"year",
"1",
"sum = (long) (sum + Math.floor(sum * 0.01))",
"sum",
"(long) (sum + Math.floor(sum * 0.01))",
"sum",
"Math.floor(sum * 0.01)",
"Math.floor",
"Math",
"sum * 0.01",
"sum",
"0.01",
"System.out.println(year)",
"System.out.println",
"System.out",
"System",
"System.out",
"year",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n //コード\n \tScanner sc = new Scanner(System.in);\n// \tFile file = new File(\"src/in.txt\");\n// \tScanner sc = new Scanner(file);\n \tlong X = sc.nextLong();\n \tint year = 0;\n \tlong sum = 100;\n\n \twhile(sum < X) {\n \t\tyear = year + 1;\n \t\tsum = (long) (sum + Math.floor(sum * 0.01));\n \t}\n \tSystem.out.println(year);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n //コード\n \tScanner sc = new Scanner(System.in);\n// \tFile file = new File(\"src/in.txt\");\n// \tScanner sc = new Scanner(file);\n \tlong X = sc.nextLong();\n \tint year = 0;\n \tlong sum = 100;\n\n \twhile(sum < X) {\n \t\tyear = year + 1;\n \t\tsum = (long) (sum + Math.floor(sum * 0.01));\n \t}\n \tSystem.out.println(year);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
//コード
Scanner sc = new Scanner(System.in);
// File file = new File("src/in.txt");
// Scanner sc = new Scanner(file);
long X = sc.nextLong();
int year = 0;
long sum = 100;
while(sum < X) {
year = year + 1;
sum = (long) (sum + Math.floor(sum * 0.01));
}
System.out.println(year);
}
}
|
[
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,
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,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
13,
13,
23,
13,
23,
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,
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,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
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,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
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,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
29,
4,
18,
13,
13,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
12,
13,
30,
29,
4,
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
],
[
375,
20
],
[
375,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
23,
34
],
[
34,
35
],
[
34,
36
],
[
23,
37
],
[
37,
38
],
[
37,
39
],
[
23,
40
],
[
40,
41
],
[
40,
42
],
[
23,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
43,
47
],
[
43,
48
],
[
23,
49
],
[
49,
50
],
[
50,
51
],
[
21,
52
],
[
52,
53
],
[
375,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
58,
64
],
[
64,
65
],
[
64,
66
],
[
58,
67
],
[
67,
68
],
[
67,
69
],
[
58,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
74,
80
],
[
80,
81
],
[
58,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
56,
86
],
[
86,
87
],
[
56,
88
],
[
88,
89
],
[
56,
90
],
[
90,
91
],
[
375,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
92,
96
],
[
96,
97
],
[
96,
98
],
[
92,
100
],
[
100,
101
],
[
92,
102
],
[
102,
103
],
[
92,
104
],
[
104,
105
],
[
92,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
106,
114
],
[
114,
115
],
[
92,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
119,
124
],
[
124,
125
],
[
118,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
134,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
130,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
151,
152
],
[
152,
153
],
[
118,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
92,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
161,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
166,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
161,
174
],
[
174,
175
],
[
174,
176
],
[
161,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
181,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
161,
190
],
[
190,
191
],
[
190,
192
],
[
161,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
193,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
204,
205
],
[
204,
206
],
[
199,
207
],
[
207,
208
],
[
198,
209
],
[
209,
210
],
[
209,
211
],
[
198,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
214,
216
],
[
198,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
161,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
92,
225
],
[
225,
226
],
[
225,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
227,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
232,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
227,
240
],
[
240,
241
],
[
240,
242
],
[
227,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
243,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
247,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
227,
256
],
[
256,
257
],
[
256,
258
],
[
227,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
259,
264
],
[
264,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
266,
270
],
[
270,
271
],
[
270,
272
],
[
265,
273
],
[
273,
274
],
[
264,
275
],
[
275,
276
],
[
275,
277
],
[
264,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
280,
282
],
[
264,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
227,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
92,
291
],
[
291,
292
],
[
291,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
296,
297
],
[
293,
298
],
[
298,
299
],
[
299,
300
],
[
299,
301
],
[
298,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
293,
306
],
[
306,
307
],
[
306,
308
],
[
293,
309
],
[
309,
310
],
[
310,
311
],
[
311,
312
],
[
311,
313
],
[
309,
314
],
[
314,
315
],
[
315,
316
],
[
316,
317
],
[
315,
318
],
[
314,
319
],
[
319,
320
],
[
319,
321
],
[
321,
322
],
[
293,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
92,
327
],
[
327,
328
],
[
327,
329
],
[
329,
330
],
[
330,
331
],
[
331,
332
],
[
331,
333
],
[
330,
334
],
[
334,
335
],
[
335,
336
],
[
336,
337
],
[
335,
338
],
[
329,
339
],
[
339,
340
],
[
343,
341
],
[
353,
342
],
[
350,
343
],
[
343,
344
],
[
344,
345
],
[
344,
346
],
[
343,
347
],
[
347,
348
],
[
347,
349
],
[
350,
350
],
[
350,
351
],
[
350,
352
],
[
353,
353
],
[
353,
354
],
[
353,
355
],
[
343,
356
],
[
356,
357
],
[
356,
358
],
[
358,
359
],
[
327,
360
],
[
360,
361
],
[
92,
362
],
[
362,
363
],
[
362,
364
],
[
364,
365
],
[
365,
366
],
[
366,
367
],
[
92,
368
],
[
368,
369
],
[
368,
370
],
[
370,
371
],
[
370,
372
],
[
372,
373
],
[
0,
374
],
[
374,
375
],
[
374,
376
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.InputMismatchException;\nimport java.util.*;\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author Manan Patel\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 PrintWriter w = new PrintWriter(outputStream);\n Solution solver = new Solution();\n //int testCount = Integer.parseInt(in.next());\n //for (int i = 1; i <= testCount; i++)\n solver.solve(1 , in, w);\n w.close();\n }\n\n static class Solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n long n = sc.nextLong();\n long ans = 100;\n long cnt = 0;\n while(ans < n){\n ans += ans / 100;\n cnt++;\n }\n w.println(cnt);\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\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\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.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.util.*;",
"util.*",
"java",
"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 PrintWriter w = new PrintWriter(outputStream);\n Solution solver = new Solution();\n //int testCount = Integer.parseInt(in.next());\n //for (int i = 1; i <= testCount; i++)\n solver.solve(1 , in, w);\n w.close();\n }\n\n static class Solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n long n = sc.nextLong();\n long ans = 100;\n long cnt = 0;\n while(ans < n){\n ans += ans / 100;\n cnt++;\n }\n w.println(cnt);\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\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\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 PrintWriter w = new PrintWriter(outputStream);\n Solution solver = new Solution();\n //int testCount = Integer.parseInt(in.next());\n //for (int i = 1; i <= testCount; i++)\n solver.solve(1 , in, w);\n w.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n Solution solver = new Solution();\n //int testCount = Integer.parseInt(in.next());\n //for (int i = 1; i <= testCount; i++)\n solver.solve(1 , in, w);\n w.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)",
"PrintWriter w = new PrintWriter(outputStream);",
"w",
"new PrintWriter(outputStream)",
"Solution solver = new Solution();",
"solver",
"new Solution()",
"solver.solve(1 , in, w)",
"solver.solve",
"solver",
"1",
"in",
"w",
"w.close()",
"w.close",
"w",
"String[] args",
"args",
"static class Solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n long n = sc.nextLong();\n long ans = 100;\n long cnt = 0;\n while(ans < n){\n ans += ans / 100;\n cnt++;\n }\n w.println(cnt);\n }\n }",
"Solution",
"public void solve(int tc, InputReader sc, PrintWriter w) {\n long n = sc.nextLong();\n long ans = 100;\n long cnt = 0;\n while(ans < n){\n ans += ans / 100;\n cnt++;\n }\n w.println(cnt);\n }",
"solve",
"{\n long n = sc.nextLong();\n long ans = 100;\n long cnt = 0;\n while(ans < n){\n ans += ans / 100;\n cnt++;\n }\n w.println(cnt);\n }",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long ans = 100;",
"ans",
"100",
"long cnt = 0;",
"cnt",
"0",
"while(ans < n){\n ans += ans / 100;\n cnt++;\n }",
"ans < n",
"ans",
"n",
"{\n ans += ans / 100;\n cnt++;\n }",
"ans += ans / 100",
"ans",
"ans / 100",
"ans",
"100",
"cnt++",
"cnt",
"w.println(cnt)",
"w.println",
"w",
"cnt",
"int tc",
"tc",
"InputReader sc",
"sc",
"PrintWriter w",
"w",
"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\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\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\n if (numChars <= 0)\n return -1;\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\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"if (numChars == -1)\n throw new InputMismatchException();",
"numChars == -1",
"numChars",
"-1",
"1",
"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\n if (numChars <= 0)\n return -1;\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\n if (numChars <= 0)\n return -1;\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;",
"numChars <= 0",
"numChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }",
"nextInt",
"{\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"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 res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9')\n throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"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 long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextLong",
"{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"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",
"long res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9')\n throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"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 String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }",
"readString",
"{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res.appendCodePoint(c);\n c = read();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"if (filter != null)\n return filter.isSpaceChar(c);",
"filter != null",
"filter",
"null",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"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 String next() {\n return readString();\n }",
"next",
"{\n return readString();\n }",
"return readString();",
"readString()",
"readString",
"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 PrintWriter w = new PrintWriter(outputStream);\n Solution solver = new Solution();\n //int testCount = Integer.parseInt(in.next());\n //for (int i = 1; i <= testCount; i++)\n solver.solve(1 , in, w);\n w.close();\n }\n\n static class Solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n long n = sc.nextLong();\n long ans = 100;\n long cnt = 0;\n while(ans < n){\n ans += ans / 100;\n cnt++;\n }\n w.println(cnt);\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\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\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 PrintWriter w = new PrintWriter(outputStream);\n Solution solver = new Solution();\n //int testCount = Integer.parseInt(in.next());\n //for (int i = 1; i <= testCount; i++)\n solver.solve(1 , in, w);\n w.close();\n }\n\n static class Solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n long n = sc.nextLong();\n long ans = 100;\n long cnt = 0;\n while(ans < n){\n ans += ans / 100;\n cnt++;\n }\n w.println(cnt);\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\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.InputMismatchException;
import java.util.*;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author Manan Patel
*/
public class Main{
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter w = new PrintWriter(outputStream);
Solution solver = new Solution();
//int testCount = Integer.parseInt(in.next());
//for (int i = 1; i <= testCount; i++)
solver.solve(1 , in, w);
w.close();
}
static class Solution {
public void solve(int tc, InputReader sc, PrintWriter w) {
long n = sc.nextLong();
long ans = 100;
long cnt = 0;
while(ans < n){
ans += ans / 100;
cnt++;
}
w.println(cnt);
}
}
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 long nextLong() {
int c = read();
while (isSpaceChar(c))
c = read();
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
long 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 String readString() {
int c = read();
while (isSpaceChar(c))
c = read();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
}
while (!isSpaceChar(c));
return res.toString();
}
public boolean isSpaceChar(int c) {
if (filter != null)
return filter.isSpaceChar(c);
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public String next() {
return readString();
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
3,
0,
13,
2,
13,
17,
40,
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
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
33,
40
],
[
28,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
28,
46
],
[
46,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n double N = Double.parseDouble(sc.next());\n\tlong takahashi = 100L;\n int count = 0;\n\n while(true) {\n \tif(takahashi>=N) {\n \t\tSystem.out.println(count);\n \t\tbreak;\n \t}\n \ttakahashi = (long) (takahashi * 1.01);\n \tcount++;\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n double N = Double.parseDouble(sc.next());\n\tlong takahashi = 100L;\n int count = 0;\n\n while(true) {\n \tif(takahashi>=N) {\n \t\tSystem.out.println(count);\n \t\tbreak;\n \t}\n \ttakahashi = (long) (takahashi * 1.01);\n \tcount++;\n }\n }\n}",
"Main",
"public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n double N = Double.parseDouble(sc.next());\n\tlong takahashi = 100L;\n int count = 0;\n\n while(true) {\n \tif(takahashi>=N) {\n \t\tSystem.out.println(count);\n \t\tbreak;\n \t}\n \ttakahashi = (long) (takahashi * 1.01);\n \tcount++;\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n double N = Double.parseDouble(sc.next());\n\tlong takahashi = 100L;\n int count = 0;\n\n while(true) {\n \tif(takahashi>=N) {\n \t\tSystem.out.println(count);\n \t\tbreak;\n \t}\n \ttakahashi = (long) (takahashi * 1.01);\n \tcount++;\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double N = Double.parseDouble(sc.next());",
"N",
"Double.parseDouble(sc.next())",
"Double.parseDouble",
"Double",
"sc.next()",
"sc.next",
"sc",
"long takahashi = 100L;",
"takahashi",
"100L",
"int count = 0;",
"count",
"0",
"while(true) {\n \tif(takahashi>=N) {\n \t\tSystem.out.println(count);\n \t\tbreak;\n \t}\n \ttakahashi = (long) (takahashi * 1.01);\n \tcount++;\n }",
"true",
"{\n \tif(takahashi>=N) {\n \t\tSystem.out.println(count);\n \t\tbreak;\n \t}\n \ttakahashi = (long) (takahashi * 1.01);\n \tcount++;\n }",
"if(takahashi>=N) {\n \t\tSystem.out.println(count);\n \t\tbreak;\n \t}",
"takahashi>=N",
"takahashi",
"N",
"{\n \t\tSystem.out.println(count);\n \t\tbreak;\n \t}",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"break;",
"takahashi = (long) (takahashi * 1.01)",
"takahashi",
"(long) (takahashi * 1.01)",
"takahashi",
"1.01",
"count++",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n double N = Double.parseDouble(sc.next());\n\tlong takahashi = 100L;\n int count = 0;\n\n while(true) {\n \tif(takahashi>=N) {\n \t\tSystem.out.println(count);\n \t\tbreak;\n \t}\n \ttakahashi = (long) (takahashi * 1.01);\n \tcount++;\n }\n }\n}",
"public class Main {\n public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n double N = Double.parseDouble(sc.next());\n\tlong takahashi = 100L;\n int count = 0;\n\n while(true) {\n \tif(takahashi>=N) {\n \t\tSystem.out.println(count);\n \t\tbreak;\n \t}\n \ttakahashi = (long) (takahashi * 1.01);\n \tcount++;\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args ) throws Exception {
Scanner sc = new Scanner(System.in);
double N = Double.parseDouble(sc.next());
long takahashi = 100L;
int count = 0;
while(true) {
if(takahashi>=N) {
System.out.println(count);
break;
}
takahashi = (long) (takahashi * 1.01);
count++;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
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,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
4,
13,
13,
4,
18,
13,
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,
4,
13,
13,
4,
18,
13,
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,
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,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
4,
13,
17,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
4,
18,
13,
17,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
433,
8
],
[
433,
9
],
[
9,
10
],
[
433,
11
],
[
11,
12
],
[
433,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
19,
21
],
[
15,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
15,
27
],
[
27,
28
],
[
27,
29
],
[
15,
30
],
[
30,
31
],
[
30,
32
],
[
15,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
37,
43
],
[
43,
44
],
[
15,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
15,
49
],
[
49,
50
],
[
50,
51
],
[
13,
52
],
[
52,
53
],
[
433,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
57,
67
],
[
67,
68
],
[
68,
69
],
[
57,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
71,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
71,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
90,
92
],
[
71,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
54,
98
],
[
98,
99
],
[
433,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
110,
112
],
[
103,
113
],
[
113,
114
],
[
114,
115
],
[
103,
116
],
[
117,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
120,
124
],
[
124,
125
],
[
124,
126
],
[
117,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
129,
131
],
[
117,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
132,
136
],
[
136,
137
],
[
136,
138
],
[
117,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
100,
144
],
[
144,
145
],
[
433,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
146,
150
],
[
150,
151
],
[
146,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
152,
158
],
[
158,
159
],
[
146,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
160,
166
],
[
166,
167
],
[
146,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
172,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
171,
180
],
[
180,
181
],
[
180,
182
],
[
170,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
146,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
189,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
194,
199
],
[
199,
200
],
[
199,
201
],
[
194,
202
],
[
202,
203
],
[
203,
204
],
[
194,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
206,
210
],
[
210,
211
],
[
189,
212
],
[
212,
213
],
[
187,
214
],
[
214,
215
],
[
146,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
218,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
223,
228
],
[
228,
229
],
[
228,
230
],
[
223,
231
],
[
231,
232
],
[
232,
233
],
[
223,
234
],
[
234,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
235,
239
],
[
239,
240
],
[
218,
241
],
[
241,
242
],
[
216,
243
],
[
243,
244
],
[
146,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
247,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
252,
257
],
[
257,
258
],
[
257,
259
],
[
252,
260
],
[
260,
261
],
[
261,
262
],
[
252,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
264,
268
],
[
268,
269
],
[
247,
270
],
[
270,
271
],
[
270,
272
],
[
247,
273
],
[
273,
274
],
[
274,
275
],
[
273,
276
],
[
247,
277
],
[
277,
278
],
[
245,
279
],
[
279,
280
],
[
146,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
284,
285
],
[
284,
286
],
[
283,
288
],
[
288,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
288,
293
],
[
293,
294
],
[
293,
295
],
[
288,
296
],
[
296,
297
],
[
297,
298
],
[
288,
299
],
[
299,
300
],
[
300,
301
],
[
301,
302
],
[
301,
303
],
[
300,
304
],
[
304,
305
],
[
283,
306
],
[
306,
307
],
[
306,
308
],
[
283,
309
],
[
309,
310
],
[
310,
311
],
[
309,
312
],
[
283,
313
],
[
313,
314
],
[
281,
315
],
[
315,
316
],
[
146,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
319,
324
],
[
324,
325
],
[
325,
326
],
[
326,
327
],
[
326,
328
],
[
324,
329
],
[
329,
330
],
[
329,
331
],
[
324,
332
],
[
332,
333
],
[
333,
334
],
[
324,
335
],
[
335,
336
],
[
336,
337
],
[
337,
338
],
[
337,
339
],
[
336,
340
],
[
340,
341
],
[
319,
342
],
[
342,
343
],
[
317,
344
],
[
344,
345
],
[
146,
346
],
[
346,
347
],
[
346,
348
],
[
348,
349
],
[
349,
350
],
[
349,
351
],
[
348,
353
],
[
353,
354
],
[
354,
355
],
[
355,
356
],
[
355,
357
],
[
353,
358
],
[
358,
359
],
[
358,
360
],
[
353,
361
],
[
361,
362
],
[
362,
363
],
[
353,
364
],
[
364,
365
],
[
365,
366
],
[
366,
367
],
[
366,
368
],
[
365,
369
],
[
369,
370
],
[
348,
371
],
[
371,
372
],
[
346,
373
],
[
373,
374
],
[
146,
375
],
[
375,
376
],
[
375,
377
],
[
377,
378
],
[
378,
379
],
[
379,
380
],
[
380,
381
],
[
146,
382
],
[
382,
383
],
[
382,
384
],
[
384,
385
],
[
385,
386
],
[
386,
387
],
[
387,
388
],
[
386,
389
],
[
389,
390
],
[
146,
391
],
[
391,
392
],
[
391,
393
],
[
393,
394
],
[
394,
395
],
[
395,
396
],
[
396,
397
],
[
395,
398
],
[
398,
399
],
[
146,
400
],
[
400,
401
],
[
400,
402
],
[
402,
403
],
[
403,
404
],
[
404,
405
],
[
405,
406
],
[
406,
407
],
[
404,
408
],
[
146,
409
],
[
409,
410
],
[
409,
411
],
[
411,
412
],
[
412,
413
],
[
413,
414
],
[
414,
415
],
[
413,
416
],
[
416,
417
],
[
146,
418
],
[
418,
419
],
[
418,
420
],
[
420,
421
],
[
421,
422
],
[
422,
423
],
[
423,
424
],
[
146,
425
],
[
425,
426
],
[
425,
427
],
[
427,
428
],
[
428,
429
],
[
429,
430
],
[
428,
431
],
[
0,
432
],
[
432,
433
],
[
432,
434
]
] |
[
"import java.io.*;\nimport java.util.*;\n\npublic class Main{\n\t\n\tpublic static void main(String[] args) throws Exception{\n\t\tpw=new PrintWriter(System.out);\n\t\tsc = new MScanner(System.in);\n\t\tlong x=sc.nextLong();\n\t\tlong cur=100;\n\t\tlong ans=0;\n\t\twhile(cur<x) {\n\t\t\tcur+=(cur/100);\n\t\t\tans++;\n\t\t}\n\t\tpw.println(ans);\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\t\n\tpublic static void main(String[] args) throws Exception{\n\t\tpw=new PrintWriter(System.out);\n\t\tsc = new MScanner(System.in);\n\t\tlong x=sc.nextLong();\n\t\tlong cur=100;\n\t\tlong ans=0;\n\t\twhile(cur<x) {\n\t\t\tcur+=(cur/100);\n\t\t\tans++;\n\t\t}\n\t\tpw.println(ans);\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"Main",
"static PrintWriter pw;",
"pw",
"static MScanner sc;",
"sc",
"public static void main(String[] args) throws Exception{\n\t\tpw=new PrintWriter(System.out);\n\t\tsc = new MScanner(System.in);\n\t\tlong x=sc.nextLong();\n\t\tlong cur=100;\n\t\tlong ans=0;\n\t\twhile(cur<x) {\n\t\t\tcur+=(cur/100);\n\t\t\tans++;\n\t\t}\n\t\tpw.println(ans);\n\t\tpw.flush();\n\t}",
"main",
"{\n\t\tpw=new PrintWriter(System.out);\n\t\tsc = new MScanner(System.in);\n\t\tlong x=sc.nextLong();\n\t\tlong cur=100;\n\t\tlong ans=0;\n\t\twhile(cur<x) {\n\t\t\tcur+=(cur/100);\n\t\t\tans++;\n\t\t}\n\t\tpw.println(ans);\n\t\tpw.flush();\n\t}",
"pw=new PrintWriter(System.out)",
"pw",
"new PrintWriter(System.out)",
"sc = new MScanner(System.in)",
"sc",
"new MScanner(System.in)",
"long x=sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long cur=100;",
"cur",
"100",
"long ans=0;",
"ans",
"0",
"while(cur<x) {\n\t\t\tcur+=(cur/100);\n\t\t\tans++;\n\t\t}",
"cur<x",
"cur",
"x",
"{\n\t\t\tcur+=(cur/100);\n\t\t\tans++;\n\t\t}",
"cur+=(cur/100)",
"cur",
"(cur/100)",
"cur",
"100",
"ans++",
"ans",
"pw.println(ans)",
"pw.println",
"pw",
"ans",
"pw.flush()",
"pw.flush",
"pw",
"String[] args",
"args",
"static void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"shuffle",
"{\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"for(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<in.length",
"i",
"in.length",
"in",
"in.length",
"i++",
"i++",
"i",
"{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int idx=(int)(Math.random()*in.length);",
"idx",
"(int)(Math.random()*in.length)",
"Math.random()",
"Math.random",
"Math",
"in.length",
"in",
"in.length",
"int tmp=in[i];",
"tmp",
"in[i]",
"in",
"i",
"in[i]=in[idx]",
"in[i]",
"in",
"i",
"in[idx]",
"in",
"idx",
"in[idx]=tmp",
"in[idx]",
"in",
"idx",
"tmp",
"int[]in",
"in",
"static void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"shuffle",
"{\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"for(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<in.length",
"i",
"in.length",
"in",
"in.length",
"i++",
"i++",
"i",
"{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int idx=(int)(Math.random()*in.length);",
"idx",
"(int)(Math.random()*in.length)",
"Math.random()",
"Math.random",
"Math",
"in.length",
"in",
"in.length",
"long tmp=in[i];",
"tmp",
"in[i]",
"in",
"i",
"in[i]=in[idx]",
"in[i]",
"in",
"i",
"in[idx]",
"in",
"idx",
"in[idx]=tmp",
"in[idx]",
"in",
"idx",
"tmp",
"long[]in",
"in",
"static class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}",
"MScanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}",
"MScanner",
"{\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}",
"br = new BufferedReader(new InputStreamReader(system))",
"br",
"new BufferedReader(new InputStreamReader(system))",
"InputStream system",
"system",
"public MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}",
"MScanner",
"{\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}",
"br = new BufferedReader(new FileReader(file))",
"br",
"new BufferedReader(new FileReader(file))",
"String file",
"file",
"public String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}",
"while (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"intArr",
"{\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"int[]in=new int[n];",
"in",
"new int[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextInt();",
"in[i]=nextInt()",
"in[i]",
"in",
"i",
"nextInt()",
"nextInt",
"return in;",
"in",
"int n",
"n",
"public long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"longArr",
"{\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"long[]in=new long[n];",
"in",
"new long[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextLong();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextLong();",
"in[i]=nextLong()",
"in[i]",
"in",
"i",
"nextLong()",
"nextLong",
"return in;",
"in",
"int n",
"n",
"public int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"intSortedArr",
"{\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"int[]in=new int[n];",
"in",
"new int[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextInt();",
"in[i]=nextInt()",
"in[i]",
"in",
"i",
"nextInt()",
"nextInt",
"shuffle(in)",
"shuffle",
"in",
"Arrays.sort(in)",
"Arrays.sort",
"Arrays",
"in",
"return in;",
"in",
"int n",
"n",
"public long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"longSortedArr",
"{\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"long[]in=new long[n];",
"in",
"new long[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextLong();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextLong();",
"in[i]=nextLong()",
"in[i]",
"in",
"i",
"nextLong()",
"nextLong",
"shuffle(in)",
"shuffle",
"in",
"Arrays.sort(in)",
"Arrays.sort",
"Arrays",
"in",
"return in;",
"in",
"int n",
"n",
"public Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"IntegerArr",
"{\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"Integer[]in=new Integer[n];",
"in",
"new Integer[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextInt();",
"in[i]=nextInt()",
"in[i]",
"in",
"i",
"nextInt()",
"nextInt",
"return in;",
"in",
"int n",
"n",
"public Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"LongArr",
"{\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"Long[]in=new Long[n];",
"in",
"new Long[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextLong();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextLong();",
"in[i]=nextLong()",
"in[i]",
"in",
"i",
"nextLong()",
"nextLong",
"return in;",
"in",
"int n",
"n",
"public String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}",
"nextLine",
"{\n\t\t\treturn br.readLine();\n\t\t}",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public int nextInt() throws 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 double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"nextDouble",
"{\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}",
"nextChar",
"{\n\t\t\treturn next().charAt(0);\n\t\t}",
"return next().charAt(0);",
"next().charAt(0)",
"next().charAt",
"next()",
"next",
"0",
"public long nextLong() throws 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 boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}",
"ready",
"{\n\t\t\treturn br.ready();\n\t\t}",
"return br.ready();",
"br.ready()",
"br.ready",
"br",
"public void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}",
"waitForInput",
"{\n\t\t\tThread.sleep(3000);\n\t\t}",
"Thread.sleep(3000)",
"Thread.sleep",
"Thread",
"3000",
"public class Main{\n\t\n\tpublic static void main(String[] args) throws Exception{\n\t\tpw=new PrintWriter(System.out);\n\t\tsc = new MScanner(System.in);\n\t\tlong x=sc.nextLong();\n\t\tlong cur=100;\n\t\tlong ans=0;\n\t\twhile(cur<x) {\n\t\t\tcur+=(cur/100);\n\t\t\tans++;\n\t\t}\n\t\tpw.println(ans);\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"public class Main{\n\t\n\tpublic static void main(String[] args) throws Exception{\n\t\tpw=new PrintWriter(System.out);\n\t\tsc = new MScanner(System.in);\n\t\tlong x=sc.nextLong();\n\t\tlong cur=100;\n\t\tlong ans=0;\n\t\twhile(cur<x) {\n\t\t\tcur+=(cur/100);\n\t\t\tans++;\n\t\t}\n\t\tpw.println(ans);\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main{
public static void main(String[] args) throws Exception{
pw=new PrintWriter(System.out);
sc = new MScanner(System.in);
long x=sc.nextLong();
long cur=100;
long ans=0;
while(cur<x) {
cur+=(cur/100);
ans++;
}
pw.println(ans);
pw.flush();
}
static PrintWriter pw;
static MScanner sc;
static class MScanner {
StringTokenizer st;
BufferedReader br;
public MScanner(InputStream system) {
br = new BufferedReader(new InputStreamReader(system));
}
public MScanner(String file) throws Exception {
br = new BufferedReader(new FileReader(file));
}
public String next() throws IOException {
while (st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine());
return st.nextToken();
}
public int[] intArr(int n) throws IOException {
int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();
return in;
}
public long[] longArr(int n) throws IOException {
long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();
return in;
}
public int[] intSortedArr(int n) throws IOException {
int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();
shuffle(in);
Arrays.sort(in);
return in;
}
public long[] longSortedArr(int n) throws IOException {
long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();
shuffle(in);
Arrays.sort(in);
return in;
}
public Integer[] IntegerArr(int n) throws IOException {
Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();
return in;
}
public Long[] LongArr(int n) throws IOException {
Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();
return in;
}
public String nextLine() throws IOException {
return br.readLine();
}
public int nextInt() throws IOException {
return Integer.parseInt(next());
}
public double nextDouble() throws IOException {
return Double.parseDouble(next());
}
public char nextChar() throws IOException {
return next().charAt(0);
}
public long nextLong() throws IOException {
return Long.parseLong(next());
}
public boolean ready() throws IOException {
return br.ready();
}
public void waitForInput() throws InterruptedException {
Thread.sleep(3000);
}
}
static void shuffle(int[]in) {
for(int i=0;i<in.length;i++) {
int idx=(int)(Math.random()*in.length);
int tmp=in[i];
in[i]=in[idx];
in[idx]=tmp;
}
}
static void shuffle(long[]in) {
for(int i=0;i<in.length;i++) {
int idx=(int)(Math.random()*in.length);
long tmp=in[i];
in[i]=in[idx];
in[idx]=tmp;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
0,
13,
17,
0,
13,
4,
18,
13,
13,
40,
13,
14,
2,
13,
13,
30,
3,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
58,
5
],
[
58,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
28,
38
],
[
38,
39
],
[
28,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
6,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n double str = Double.parseDouble((String)scan.next());\n int count=0;\n double total=100;\n \n while(true){\n total *= 1.01;\n total = Math.floor(total);\n count++;\n if(str <= total){\n break;\n }\n }\n \n System.out.println(count);\n scan.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n double str = Double.parseDouble((String)scan.next());\n int count=0;\n double total=100;\n \n while(true){\n total *= 1.01;\n total = Math.floor(total);\n count++;\n if(str <= total){\n break;\n }\n }\n \n System.out.println(count);\n scan.close();\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n double str = Double.parseDouble((String)scan.next());\n int count=0;\n double total=100;\n \n while(true){\n total *= 1.01;\n total = Math.floor(total);\n count++;\n if(str <= total){\n break;\n }\n }\n \n System.out.println(count);\n scan.close();\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n double str = Double.parseDouble((String)scan.next());\n int count=0;\n double total=100;\n \n while(true){\n total *= 1.01;\n total = Math.floor(total);\n count++;\n if(str <= total){\n break;\n }\n }\n \n System.out.println(count);\n scan.close();\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"double str = Double.parseDouble((String)scan.next());",
"str",
"Double.parseDouble((String)scan.next())",
"Double.parseDouble",
"Double",
"(String)scan.next()",
"scan.next",
"scan",
"int count=0;",
"count",
"0",
"double total=100;",
"total",
"100",
"while(true){\n total *= 1.01;\n total = Math.floor(total);\n count++;\n if(str <= total){\n break;\n }\n }",
"true",
"{\n total *= 1.01;\n total = Math.floor(total);\n count++;\n if(str <= total){\n break;\n }\n }",
"total *= 1.01",
"total",
"1.01",
"total = Math.floor(total)",
"total",
"Math.floor(total)",
"Math.floor",
"Math",
"total",
"count++",
"count",
"if(str <= total){\n break;\n }",
"str <= total",
"str",
"total",
"{\n break;\n }",
"break;",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n double str = Double.parseDouble((String)scan.next());\n int count=0;\n double total=100;\n \n while(true){\n total *= 1.01;\n total = Math.floor(total);\n count++;\n if(str <= total){\n break;\n }\n }\n \n System.out.println(count);\n scan.close();\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n double str = Double.parseDouble((String)scan.next());\n int count=0;\n double total=100;\n \n while(true){\n total *= 1.01;\n total = Math.floor(total);\n count++;\n if(str <= total){\n break;\n }\n }\n \n System.out.println(count);\n scan.close();\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
double str = Double.parseDouble((String)scan.next());
int count=0;
double total=100;
while(true){
total *= 1.01;
total = Math.floor(total);
count++;
if(str <= total){
break;
}
}
System.out.println(count);
scan.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n long X = scan.nextLong();\n int year= 0;\n long money=100;\n while(money<X){\n money= (long) (money*1.01);\n year++;\n }\n System.out.println(year);\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n long X = scan.nextLong();\n int year= 0;\n long money=100;\n while(money<X){\n money= (long) (money*1.01);\n year++;\n }\n System.out.println(year);\n }\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n long X = scan.nextLong();\n int year= 0;\n long money=100;\n while(money<X){\n money= (long) (money*1.01);\n year++;\n }\n System.out.println(year);\n }",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\n long X = scan.nextLong();\n int year= 0;\n long money=100;\n while(money<X){\n money= (long) (money*1.01);\n year++;\n }\n System.out.println(year);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long X = scan.nextLong();",
"X",
"scan.nextLong()",
"scan.nextLong",
"scan",
"int year= 0;",
"year",
"0",
"long money=100;",
"money",
"100",
"while(money<X){\n money= (long) (money*1.01);\n year++;\n }",
"money<X",
"money",
"X",
"{\n money= (long) (money*1.01);\n year++;\n }",
"money= (long) (money*1.01)",
"money",
"(long) (money*1.01)",
"money",
"1.01",
"year++",
"year",
"System.out.println(year)",
"System.out.println",
"System.out",
"System",
"System.out",
"year",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n long X = scan.nextLong();\n int year= 0;\n long money=100;\n while(money<X){\n money= (long) (money*1.01);\n year++;\n }\n System.out.println(year);\n }\n}",
"public class Main {\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n long X = scan.nextLong();\n int year= 0;\n long money=100;\n while(money<X){\n money= (long) (money*1.01);\n year++;\n }\n System.out.println(year);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
long X = scan.nextLong();
int year= 0;
long money=100;
while(money<X){
money= (long) (money*1.01);
year++;
}
System.out.println(year);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
13,
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
],
[
57,
8
],
[
57,
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
],
[
23,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
11,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
36,
42
],
[
42,
43
],
[
11,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
11,
48
],
[
48,
49
],
[
49,
50
],
[
11,
51
],
[
51,
52
],
[
52,
53
],
[
9,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] |
[
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\t// ------------------------------------------------\n\t\tlong x = Long.parseLong(sc.next());\n\n\t\tint ret = 0;\n\t\tlong kane = 100;\n\t\twhile (kane < x) {\n\t\t\tkane += kane / 100;\n\t\t\tret++;\n\t\t}\n\n\t\tout.println(ret);\n\n\t\t// ------------------------------------------------\n\t\tsc.close();\n\t\tout.flush();\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\t// ------------------------------------------------\n\t\tlong x = Long.parseLong(sc.next());\n\n\t\tint ret = 0;\n\t\tlong kane = 100;\n\t\twhile (kane < x) {\n\t\t\tkane += kane / 100;\n\t\t\tret++;\n\t\t}\n\n\t\tout.println(ret);\n\n\t\t// ------------------------------------------------\n\t\tsc.close();\n\t\tout.flush();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\t// ------------------------------------------------\n\t\tlong x = Long.parseLong(sc.next());\n\n\t\tint ret = 0;\n\t\tlong kane = 100;\n\t\twhile (kane < x) {\n\t\t\tkane += kane / 100;\n\t\t\tret++;\n\t\t}\n\n\t\tout.println(ret);\n\n\t\t// ------------------------------------------------\n\t\tsc.close();\n\t\tout.flush();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\t// ------------------------------------------------\n\t\tlong x = Long.parseLong(sc.next());\n\n\t\tint ret = 0;\n\t\tlong kane = 100;\n\t\twhile (kane < x) {\n\t\t\tkane += kane / 100;\n\t\t\tret++;\n\t\t}\n\n\t\tout.println(ret);\n\n\t\t// ------------------------------------------------\n\t\tsc.close();\n\t\tout.flush();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"long x = Long.parseLong(sc.next());",
"x",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"int ret = 0;",
"ret",
"0",
"long kane = 100;",
"kane",
"100",
"while (kane < x) {\n\t\t\tkane += kane / 100;\n\t\t\tret++;\n\t\t}",
"kane < x",
"kane",
"x",
"{\n\t\t\tkane += kane / 100;\n\t\t\tret++;\n\t\t}",
"kane += kane / 100",
"kane",
"kane / 100",
"kane",
"100",
"ret++",
"ret",
"out.println(ret)",
"out.println",
"out",
"ret",
"sc.close()",
"sc.close",
"sc",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\t// ------------------------------------------------\n\t\tlong x = Long.parseLong(sc.next());\n\n\t\tint ret = 0;\n\t\tlong kane = 100;\n\t\twhile (kane < x) {\n\t\t\tkane += kane / 100;\n\t\t\tret++;\n\t\t}\n\n\t\tout.println(ret);\n\n\t\t// ------------------------------------------------\n\t\tsc.close();\n\t\tout.flush();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\t// ------------------------------------------------\n\t\tlong x = Long.parseLong(sc.next());\n\n\t\tint ret = 0;\n\t\tlong kane = 100;\n\t\twhile (kane < x) {\n\t\t\tkane += kane / 100;\n\t\t\tret++;\n\t\t}\n\n\t\tout.println(ret);\n\n\t\t// ------------------------------------------------\n\t\tsc.close();\n\t\tout.flush();\n\t}\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
PrintWriter out = new PrintWriter(System.out);
// ------------------------------------------------
long x = Long.parseLong(sc.next());
int ret = 0;
long kane = 100;
while (kane < x) {
kane += kane / 100;
ret++;
}
out.println(ret);
// ------------------------------------------------
sc.close();
out.flush();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
41,
13,
2,
13,
17,
0,
13,
13,
40,
13,
14,
2,
13,
13,
30,
4,
18,
13,
13,
3,
23,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
18,
13,
13,
13,
2,
18,
13,
13,
13,
30,
29,
17,
29,
17,
23,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
13,
30,
0,
13,
4,
18,
13,
13,
0,
13,
13,
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
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
259,
8
],
[
259,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
26,
30
],
[
11,
31
],
[
31,
32
],
[
32,
33
],
[
9,
34
],
[
34,
35
],
[
0,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
40,
46
],
[
46,
47
],
[
46,
48
],
[
40,
49
],
[
49,
50
],
[
49,
51
],
[
40,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
54,
60
],
[
60,
61
],
[
60,
62
],
[
54,
63
],
[
63,
64
],
[
54,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
69,
74
],
[
38,
75
],
[
75,
76
],
[
38,
77
],
[
77,
78
],
[
36,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
82,
92
],
[
92,
93
],
[
93,
94
],
[
82,
95
],
[
96,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
98,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
97,
109
],
[
109,
110
],
[
110,
111
],
[
81,
112
],
[
112,
113
],
[
79,
114
],
[
114,
115
],
[
79,
116
],
[
116,
117
],
[
79,
118
],
[
118,
119
],
[
79,
120
],
[
120,
121
],
[
36,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
127,
130
],
[
124,
131
],
[
131,
132
],
[
131,
133
],
[
124,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
134,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
134,
144
],
[
144,
145
],
[
145,
146
],
[
134,
147
],
[
148,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
151,
154
],
[
150,
155
],
[
149,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
159,
162
],
[
156,
163
],
[
163,
164
],
[
163,
165
],
[
124,
166
],
[
166,
167
],
[
122,
168
],
[
168,
169
],
[
0,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
170,
174
],
[
174,
175
],
[
170,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
170,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
186,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
185,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
195,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
184,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
170,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
214,
217
],
[
217,
218
],
[
170,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
223,
226
],
[
226,
227
],
[
170,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
232,
235
],
[
235,
236
],
[
170,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
239,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
247,
248
],
[
248,
249
],
[
243,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
239,
256
],
[
256,
257
],
[
0,
258
],
[
258,
259
],
[
258,
260
]
] |
[
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n OutputStream outputStream = System.out;\n PrintWriter out = new PrintWriter(outputStream);\n FastReader in = new FastReader();\n test a=new test();\n a.solve(in,out);\n out.close();\n }\n}\nclass test{\n public void solve(FastReader in, PrintWriter out){\n long x=in.nextLong();\n long b =100;\n long c=0;\n while(true){\n long i=b/100;\n b+=i;\n c++;\n if(b>=x){\n out.println(c);\n break;\n }\n }\n }\n public boolean src(int a[],int b[],int k,int l){\n for(int i=0;i<a.length;i++){\n if(a[i]==k && b[i]==l){\n return true;\n }\n }\n return false;\n }\n public int search(ArrayList<Integer> my){\n int max=my.get(0);\n int k=0;\n for(int i=1;i<my.size();i++){\n if(my.get(i)>max){\n max=my.get(i);\n k=i;\n }\n }\n return k;\n }\n}\n\nclass FastReader{\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader(){\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 }\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 String nextLine(){\n String str=\"\";\n try{\n str=br.readLine();\n }\n catch(IOException e){\n e.printStackTrace();\n }\n return str;\n }\n}\n",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws IOException {\n OutputStream outputStream = System.out;\n PrintWriter out = new PrintWriter(outputStream);\n FastReader in = new FastReader();\n test a=new test();\n a.solve(in,out);\n out.close();\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n OutputStream outputStream = System.out;\n PrintWriter out = new PrintWriter(outputStream);\n FastReader in = new FastReader();\n test a=new test();\n a.solve(in,out);\n out.close();\n }",
"main",
"{\n OutputStream outputStream = System.out;\n PrintWriter out = new PrintWriter(outputStream);\n FastReader in = new FastReader();\n test a=new test();\n a.solve(in,out);\n out.close();\n }",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"FastReader in = new FastReader();",
"in",
"new FastReader()",
"test a=new test();",
"a",
"new test()",
"a.solve(in,out)",
"a.solve",
"a",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"class test{\n public void solve(FastReader in, PrintWriter out){\n long x=in.nextLong();\n long b =100;\n long c=0;\n while(true){\n long i=b/100;\n b+=i;\n c++;\n if(b>=x){\n out.println(c);\n break;\n }\n }\n }\n public boolean src(int a[],int b[],int k,int l){\n for(int i=0;i<a.length;i++){\n if(a[i]==k && b[i]==l){\n return true;\n }\n }\n return false;\n }\n public int search(ArrayList<Integer> my){\n int max=my.get(0);\n int k=0;\n for(int i=1;i<my.size();i++){\n if(my.get(i)>max){\n max=my.get(i);\n k=i;\n }\n }\n return k;\n }\n}",
"test",
"public void solve(FastReader in, PrintWriter out){\n long x=in.nextLong();\n long b =100;\n long c=0;\n while(true){\n long i=b/100;\n b+=i;\n c++;\n if(b>=x){\n out.println(c);\n break;\n }\n }\n }",
"solve",
"{\n long x=in.nextLong();\n long b =100;\n long c=0;\n while(true){\n long i=b/100;\n b+=i;\n c++;\n if(b>=x){\n out.println(c);\n break;\n }\n }\n }",
"long x=in.nextLong();",
"x",
"in.nextLong()",
"in.nextLong",
"in",
"long b =100;",
"b",
"100",
"long c=0;",
"c",
"0",
"while(true){\n long i=b/100;\n b+=i;\n c++;\n if(b>=x){\n out.println(c);\n break;\n }\n }",
"true",
"{\n long i=b/100;\n b+=i;\n c++;\n if(b>=x){\n out.println(c);\n break;\n }\n }",
"long i=b/100;",
"i",
"b/100",
"b",
"100",
"b+=i",
"b",
"i",
"c++",
"c",
"if(b>=x){\n out.println(c);\n break;\n }",
"b>=x",
"b",
"x",
"{\n out.println(c);\n break;\n }",
"out.println(c)",
"out.println",
"out",
"c",
"break;",
"FastReader in",
"in",
"PrintWriter out",
"out",
"public boolean src(int a[],int b[],int k,int l){\n for(int i=0;i<a.length;i++){\n if(a[i]==k && b[i]==l){\n return true;\n }\n }\n return false;\n }",
"src",
"{\n for(int i=0;i<a.length;i++){\n if(a[i]==k && b[i]==l){\n return true;\n }\n }\n return false;\n }",
"for(int i=0;i<a.length;i++){\n if(a[i]==k && b[i]==l){\n return true;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n if(a[i]==k && b[i]==l){\n return true;\n }\n }",
"{\n if(a[i]==k && b[i]==l){\n return true;\n }\n }",
"if(a[i]==k && b[i]==l){\n return true;\n }",
"a[i]==k && b[i]==l",
"a[i]==k",
"a[i]",
"a",
"i",
"k",
"b[i]==l",
"b[i]",
"b",
"i",
"l",
"{\n return true;\n }",
"return true;",
"true",
"return false;",
"false",
"int a[]",
"a",
"int b[]",
"b",
"int k",
"k",
"int l",
"l",
"public int search(ArrayList<Integer> my){\n int max=my.get(0);\n int k=0;\n for(int i=1;i<my.size();i++){\n if(my.get(i)>max){\n max=my.get(i);\n k=i;\n }\n }\n return k;\n }",
"search",
"{\n int max=my.get(0);\n int k=0;\n for(int i=1;i<my.size();i++){\n if(my.get(i)>max){\n max=my.get(i);\n k=i;\n }\n }\n return k;\n }",
"int max=my.get(0);",
"max",
"my.get(0)",
"my.get",
"my",
"0",
"int k=0;",
"k",
"0",
"for(int i=1;i<my.size();i++){\n if(my.get(i)>max){\n max=my.get(i);\n k=i;\n }\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<my.size()",
"i",
"my.size()",
"my.size",
"my",
"i++",
"i++",
"i",
"{\n if(my.get(i)>max){\n max=my.get(i);\n k=i;\n }\n }",
"{\n if(my.get(i)>max){\n max=my.get(i);\n k=i;\n }\n }",
"if(my.get(i)>max){\n max=my.get(i);\n k=i;\n }",
"my.get(i)>max",
"my.get(i)",
"my.get",
"my",
"i",
"max",
"{\n max=my.get(i);\n k=i;\n }",
"max=my.get(i)",
"max",
"my.get(i)",
"my.get",
"my",
"i",
"k=i",
"k",
"i",
"return k;",
"k",
"ArrayList<Integer> my",
"my",
"class FastReader{\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader(){\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 }\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 String nextLine(){\n String str=\"\";\n try{\n str=br.readLine();\n }\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 InputStreamReader(System.in));\n }",
"FastReader",
"{\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 }\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 }\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 }\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 }\n catch(IOException e){\n e.printStackTrace();\n }\n }",
"try{\n st=new StringTokenizer(br.readLine());\n }\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 }\n catch(IOException e){\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str=\"\";\n try{\n str=br.readLine();\n }\n catch(IOException e){\n e.printStackTrace();\n }\n return str;\n }",
"String str=\"\";",
"str",
"\"\"",
"try{\n str=br.readLine();\n }\n catch(IOException e){\n e.printStackTrace();\n }",
"catch(IOException e){\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str=br.readLine();\n }",
"str=br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n public static void main(String[] args) throws IOException {\n OutputStream outputStream = System.out;\n PrintWriter out = new PrintWriter(outputStream);\n FastReader in = new FastReader();\n test a=new test();\n a.solve(in,out);\n out.close();\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n OutputStream outputStream = System.out;\n PrintWriter out = new PrintWriter(outputStream);\n FastReader in = new FastReader();\n test a=new test();\n a.solve(in,out);\n out.close();\n }\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws IOException {
OutputStream outputStream = System.out;
PrintWriter out = new PrintWriter(outputStream);
FastReader in = new FastReader();
test a=new test();
a.solve(in,out);
out.close();
}
}
class test{
public void solve(FastReader in, PrintWriter out){
long x=in.nextLong();
long b =100;
long c=0;
while(true){
long i=b/100;
b+=i;
c++;
if(b>=x){
out.println(c);
break;
}
}
}
public boolean src(int a[],int b[],int k,int l){
for(int i=0;i<a.length;i++){
if(a[i]==k && b[i]==l){
return true;
}
}
return false;
}
public int search(ArrayList<Integer> my){
int max=my.get(0);
int k=0;
for(int i=1;i<my.size();i++){
if(my.get(i)>max){
max=my.get(i);
k=i;
}
}
return k;
}
}
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,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
13,
13,
30,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
2,
17,
13,
40,
13,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
30,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
30,
49
],
[
49,
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\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong X = sc.nextLong();\n\n\t\tint i = 0;\n\t\tint flag = 0;\n\t\tLong K = (long) 100;\n\n\t\twhile(flag == 0) {\n\t\t\tif(K >= X) {\n\t\t\t\tflag = 1;\n\t\t\t\ti = i - 1;\n\t\t\t}\n\t\t\tK = (long)(1.01*K);\n\t\t\ti++;\n\t\t}\n\n\t\tSystem.out.println(i);\n\t}\n\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\tLong X = sc.nextLong();\n\n\t\tint i = 0;\n\t\tint flag = 0;\n\t\tLong K = (long) 100;\n\n\t\twhile(flag == 0) {\n\t\t\tif(K >= X) {\n\t\t\t\tflag = 1;\n\t\t\t\ti = i - 1;\n\t\t\t}\n\t\t\tK = (long)(1.01*K);\n\t\t\ti++;\n\t\t}\n\n\t\tSystem.out.println(i);\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\tLong X = sc.nextLong();\n\n\t\tint i = 0;\n\t\tint flag = 0;\n\t\tLong K = (long) 100;\n\n\t\twhile(flag == 0) {\n\t\t\tif(K >= X) {\n\t\t\t\tflag = 1;\n\t\t\t\ti = i - 1;\n\t\t\t}\n\t\t\tK = (long)(1.01*K);\n\t\t\ti++;\n\t\t}\n\n\t\tSystem.out.println(i);\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong X = sc.nextLong();\n\n\t\tint i = 0;\n\t\tint flag = 0;\n\t\tLong K = (long) 100;\n\n\t\twhile(flag == 0) {\n\t\t\tif(K >= X) {\n\t\t\t\tflag = 1;\n\t\t\t\ti = i - 1;\n\t\t\t}\n\t\t\tK = (long)(1.01*K);\n\t\t\ti++;\n\t\t}\n\n\t\tSystem.out.println(i);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int i = 0;",
"i",
"0",
"int flag = 0;",
"flag",
"0",
"Long K = (long) 100;",
"K",
"(long) 100",
"while(flag == 0) {\n\t\t\tif(K >= X) {\n\t\t\t\tflag = 1;\n\t\t\t\ti = i - 1;\n\t\t\t}\n\t\t\tK = (long)(1.01*K);\n\t\t\ti++;\n\t\t}",
"flag == 0",
"flag",
"0",
"{\n\t\t\tif(K >= X) {\n\t\t\t\tflag = 1;\n\t\t\t\ti = i - 1;\n\t\t\t}\n\t\t\tK = (long)(1.01*K);\n\t\t\ti++;\n\t\t}",
"if(K >= X) {\n\t\t\t\tflag = 1;\n\t\t\t\ti = i - 1;\n\t\t\t}",
"K >= X",
"K",
"X",
"{\n\t\t\t\tflag = 1;\n\t\t\t\ti = i - 1;\n\t\t\t}",
"flag = 1",
"flag",
"1",
"i = i - 1",
"i",
"i - 1",
"i",
"1",
"K = (long)(1.01*K)",
"K",
"(long)(1.01*K)",
"1.01",
"K",
"i++",
"i",
"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\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong X = sc.nextLong();\n\n\t\tint i = 0;\n\t\tint flag = 0;\n\t\tLong K = (long) 100;\n\n\t\twhile(flag == 0) {\n\t\t\tif(K >= X) {\n\t\t\t\tflag = 1;\n\t\t\t\ti = i - 1;\n\t\t\t}\n\t\t\tK = (long)(1.01*K);\n\t\t\ti++;\n\t\t}\n\n\t\tSystem.out.println(i);\n\t}\n\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\tLong X = sc.nextLong();\n\n\t\tint i = 0;\n\t\tint flag = 0;\n\t\tLong K = (long) 100;\n\n\t\twhile(flag == 0) {\n\t\t\tif(K >= X) {\n\t\t\t\tflag = 1;\n\t\t\t\ti = i - 1;\n\t\t\t}\n\t\t\tK = (long)(1.01*K);\n\t\t\ti++;\n\t\t}\n\n\t\tSystem.out.println(i);\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);
Long X = sc.nextLong();
int i = 0;
int flag = 0;
Long K = (long) 100;
while(flag == 0) {
if(K >= X) {
flag = 1;
i = i - 1;
}
K = (long)(1.01*K);
i++;
}
System.out.println(i);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
2,
13,
17,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
27,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n\n long money = 100;\n long cou = 0;\n while(money<X){\n money = money/100 + money;\n cou++;\n }\n System.out.println(cou);\n }\n}",
"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 long X = sc.nextLong();\n\n long money = 100;\n long cou = 0;\n while(money<X){\n money = money/100 + money;\n cou++;\n }\n System.out.println(cou);\n }\n}",
"Main",
"public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n\n long money = 100;\n long cou = 0;\n while(money<X){\n money = money/100 + money;\n cou++;\n }\n System.out.println(cou);\n }",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n\n long money = 100;\n long cou = 0;\n while(money<X){\n money = money/100 + money;\n cou++;\n }\n System.out.println(cou);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long money = 100;",
"money",
"100",
"long cou = 0;",
"cou",
"0",
"while(money<X){\n money = money/100 + money;\n cou++;\n }",
"money<X",
"money",
"X",
"{\n money = money/100 + money;\n cou++;\n }",
"money = money/100 + money",
"money",
"money/100 + money",
"money/100",
"money",
"100",
"money",
"cou++",
"cou",
"System.out.println(cou)",
"System.out.println",
"System.out",
"System",
"System.out",
"cou",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n\n long money = 100;\n long cou = 0;\n while(money<X){\n money = money/100 + money;\n cou++;\n }\n System.out.println(cou);\n }\n}",
"public class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n\n long money = 100;\n long cou = 0;\n while(money<X){\n money = money/100 + money;\n cou++;\n }\n System.out.println(cou);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long X = sc.nextLong();
long money = 100;
long cou = 0;
while(money<X){
money = money/100 + money;
cou++;
}
System.out.println(cou);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
4,
18,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
4,
18,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
27,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] |
[
"\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong X = scan.nextLong();\n\t\tlong cash = 100;\n\t\tint year = 0;\n\n\t\twhile(cash < X) {\n\t\t\tcash = (long) Math.floor(cash * 1.01);\n\t\t\tyear++;\n\t\t}\n\n\t\tSystem.out.println(year);\n\t\tscan.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong X = scan.nextLong();\n\t\tlong cash = 100;\n\t\tint year = 0;\n\n\t\twhile(cash < X) {\n\t\t\tcash = (long) Math.floor(cash * 1.01);\n\t\t\tyear++;\n\t\t}\n\n\t\tSystem.out.println(year);\n\t\tscan.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong X = scan.nextLong();\n\t\tlong cash = 100;\n\t\tint year = 0;\n\n\t\twhile(cash < X) {\n\t\t\tcash = (long) Math.floor(cash * 1.01);\n\t\t\tyear++;\n\t\t}\n\n\t\tSystem.out.println(year);\n\t\tscan.close();\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong X = scan.nextLong();\n\t\tlong cash = 100;\n\t\tint year = 0;\n\n\t\twhile(cash < X) {\n\t\t\tcash = (long) Math.floor(cash * 1.01);\n\t\t\tyear++;\n\t\t}\n\n\t\tSystem.out.println(year);\n\t\tscan.close();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long X = scan.nextLong();",
"X",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long cash = 100;",
"cash",
"100",
"int year = 0;",
"year",
"0",
"while(cash < X) {\n\t\t\tcash = (long) Math.floor(cash * 1.01);\n\t\t\tyear++;\n\t\t}",
"cash < X",
"cash",
"X",
"{\n\t\t\tcash = (long) Math.floor(cash * 1.01);\n\t\t\tyear++;\n\t\t}",
"cash = (long) Math.floor(cash * 1.01)",
"cash",
"(long) Math.floor(cash * 1.01)",
"Math.floor",
"Math",
"cash * 1.01",
"cash",
"1.01",
"year++",
"year",
"System.out.println(year)",
"System.out.println",
"System.out",
"System",
"System.out",
"year",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong X = scan.nextLong();\n\t\tlong cash = 100;\n\t\tint year = 0;\n\n\t\twhile(cash < X) {\n\t\t\tcash = (long) Math.floor(cash * 1.01);\n\t\t\tyear++;\n\t\t}\n\n\t\tSystem.out.println(year);\n\t\tscan.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong X = scan.nextLong();\n\t\tlong cash = 100;\n\t\tint year = 0;\n\n\t\twhile(cash < X) {\n\t\t\tcash = (long) Math.floor(cash * 1.01);\n\t\t\tyear++;\n\t\t}\n\n\t\tSystem.out.println(year);\n\t\tscan.close();\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
long X = scan.nextLong();
long cash = 100;
int year = 0;
while(cash < X) {
cash = (long) Math.floor(cash * 1.01);
year++;
}
System.out.println(year);
scan.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
41,
13,
17,
41,
13,
17,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
2,
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
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long X = scan.nextLong();\n \tint year;\n double rate=0.01;\n long money=100;\n for(year=0; money < X; year++){\n \t\t\tmoney += Math.floor((double)money*rate);\n \t}\n\t\t\n\t\tSystem.out.println(year);\n\t\t\t\n\t\t}\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 long X = scan.nextLong();\n \tint year;\n double rate=0.01;\n long money=100;\n for(year=0; money < X; year++){\n \t\t\tmoney += Math.floor((double)money*rate);\n \t}\n\t\t\n\t\tSystem.out.println(year);\n\t\t\t\n\t\t}\n }",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long X = scan.nextLong();\n \tint year;\n double rate=0.01;\n long money=100;\n for(year=0; money < X; year++){\n \t\t\tmoney += Math.floor((double)money*rate);\n \t}\n\t\t\n\t\tSystem.out.println(year);\n\t\t\t\n\t\t}",
"main",
"{\n Scanner scan = new Scanner(System.in);\n long X = scan.nextLong();\n \tint year;\n double rate=0.01;\n long money=100;\n for(year=0; money < X; year++){\n \t\t\tmoney += Math.floor((double)money*rate);\n \t}\n\t\t\n\t\tSystem.out.println(year);\n\t\t\t\n\t\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long X = scan.nextLong();",
"X",
"scan.nextLong()",
"scan.nextLong",
"scan",
"int year;",
"year",
"double rate=0.01;",
"rate",
"0.01",
"long money=100;",
"money",
"100",
"for(year=0; money < X; year++){\n \t\t\tmoney += Math.floor((double)money*rate);\n \t}",
"year=0;",
"year=0",
"year",
"0",
"money < X",
"money",
"X",
"year++",
"year++",
"year",
"{\n \t\t\tmoney += Math.floor((double)money*rate);\n \t}",
"{\n \t\t\tmoney += Math.floor((double)money*rate);\n \t}",
"money += Math.floor((double)money*rate)",
"money",
"Math.floor((double)money*rate)",
"Math.floor",
"Math",
"(double)money*rate",
"(double)money",
"rate",
"System.out.println(year)",
"System.out.println",
"System.out",
"System",
"System.out",
"year",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long X = scan.nextLong();\n \tint year;\n double rate=0.01;\n long money=100;\n for(year=0; money < X; year++){\n \t\t\tmoney += Math.floor((double)money*rate);\n \t}\n\t\t\n\t\tSystem.out.println(year);\n\t\t\t\n\t\t}\n }",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long X = scan.nextLong();\n \tint year;\n double rate=0.01;\n long money=100;\n for(year=0; money < X; year++){\n \t\t\tmoney += Math.floor((double)money*rate);\n \t}\n\t\t\n\t\tSystem.out.println(year);\n\t\t\t\n\t\t}\n }",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
long X = scan.nextLong();
int year;
double rate=0.01;
long money=100;
for(year=0; money < X; year++){
money += Math.floor((double)money*rate);
}
System.out.println(year);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
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
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
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 sc = new Scanner(System.in);\n long k = sc.nextLong();\n long total = 100;\n int count = 0;\n while(total < k) {\n total *= 1.01;\n count++;\n }\n System.out.println(count);\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 long k = sc.nextLong();\n long total = 100;\n int count = 0;\n while(total < k) {\n total *= 1.01;\n count++;\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long k = sc.nextLong();\n long total = 100;\n int count = 0;\n while(total < k) {\n total *= 1.01;\n count++;\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long k = sc.nextLong();\n long total = 100;\n int count = 0;\n while(total < k) {\n total *= 1.01;\n count++;\n }\n System.out.println(count);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long k = sc.nextLong();",
"k",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long total = 100;",
"total",
"100",
"int count = 0;",
"count",
"0",
"while(total < k) {\n total *= 1.01;\n count++;\n }",
"total < k",
"total",
"k",
"{\n total *= 1.01;\n count++;\n }",
"total *= 1.01",
"total",
"1.01",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long k = sc.nextLong();\n long total = 100;\n int count = 0;\n while(total < k) {\n total *= 1.01;\n count++;\n }\n System.out.println(count);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long k = sc.nextLong();\n long total = 100;\n int count = 0;\n while(total < k) {\n total *= 1.01;\n count++;\n }\n System.out.println(count);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long k = sc.nextLong();
long total = 100;
int count = 0;
while(total < k) {
total *= 1.01;
count++;
}
System.out.println(count);
}
}
|
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
2,
13,
17,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
51,
2
],
[
51,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
5,
14
],
[
14,
15
],
[
14,
16
],
[
5,
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
],
[
33,
35
],
[
32,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
3,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"\tpublic class Main {\n\t\t \n\t\tpublic static void main(String[] args) {\n\t \n\t\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\t\n\t\t\n\t\t\tlong x = scan.nextLong();\n\t\t\tlong m = 100;\n\t\t\t\n\t\t\tfor(int i = 1 ; m < x; i++) {\n\t\t\t\tm = m / 100 + m ;\n\t\t\t\tif (m >= x) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t}\n\t\t\t}\n\t \n\t\t}\n\t \n\t}",
"public class Main {\n\t\t \n\t\tpublic static void main(String[] args) {\n\t \n\t\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\t\n\t\t\n\t\t\tlong x = scan.nextLong();\n\t\t\tlong m = 100;\n\t\t\t\n\t\t\tfor(int i = 1 ; m < x; i++) {\n\t\t\t\tm = m / 100 + m ;\n\t\t\t\tif (m >= x) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t}\n\t\t\t}\n\t \n\t\t}\n\t \n\t}",
"Main",
"public static void main(String[] args) {\n\t \n\t\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\t\n\t\t\n\t\t\tlong x = scan.nextLong();\n\t\t\tlong m = 100;\n\t\t\t\n\t\t\tfor(int i = 1 ; m < x; i++) {\n\t\t\t\tm = m / 100 + m ;\n\t\t\t\tif (m >= x) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t}\n\t\t\t}\n\t \n\t\t}",
"main",
"{\n\t \n\t\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\t\n\t\t\n\t\t\tlong x = scan.nextLong();\n\t\t\tlong m = 100;\n\t\t\t\n\t\t\tfor(int i = 1 ; m < x; i++) {\n\t\t\t\tm = m / 100 + m ;\n\t\t\t\tif (m >= x) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t}\n\t\t\t}\n\t \n\t\t}",
"java.util.Scanner scan = new java.util.Scanner(System.in);",
"scan",
"new java.util.Scanner(System.in)",
"long x = scan.nextLong();",
"x",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long m = 100;",
"m",
"100",
"for(int i = 1 ; m < x; i++) {\n\t\t\t\tm = m / 100 + m ;\n\t\t\t\tif (m >= x) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t}\n\t\t\t}",
"int i = 1 ;",
"int i = 1 ;",
"i",
"1",
"m < x",
"m",
"x",
"i++",
"i++",
"i",
"{\n\t\t\t\tm = m / 100 + m ;\n\t\t\t\tif (m >= x) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tm = m / 100 + m ;\n\t\t\t\tif (m >= x) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t}\n\t\t\t}",
"m = m / 100 + m",
"m",
"m / 100 + m",
"m / 100",
"m",
"100",
"m",
"if (m >= x) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t}",
"m >= x",
"m",
"x",
"{\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t}",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"public class Main {\n\t\t \n\t\tpublic static void main(String[] args) {\n\t \n\t\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\t\n\t\t\n\t\t\tlong x = scan.nextLong();\n\t\t\tlong m = 100;\n\t\t\t\n\t\t\tfor(int i = 1 ; m < x; i++) {\n\t\t\t\tm = m / 100 + m ;\n\t\t\t\tif (m >= x) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t}\n\t\t\t}\n\t \n\t\t}\n\t \n\t}",
"public class Main {\n\t\t \n\t\tpublic static void main(String[] args) {\n\t \n\t\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\t\n\t\t\n\t\t\tlong x = scan.nextLong();\n\t\t\tlong m = 100;\n\t\t\t\n\t\t\tfor(int i = 1 ; m < x; i++) {\n\t\t\t\tm = m / 100 + m ;\n\t\t\t\tif (m >= x) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t}\n\t\t\t}\n\t \n\t\t}\n\t \n\t}",
"Main"
] |
public class Main {
public static void main(String[] args) {
java.util.Scanner scan = new java.util.Scanner(System.in);
long x = scan.nextLong();
long m = 100;
for(int i = 1 ; m < x; i++) {
m = m / 100 + m ;
if (m >= x) {
System.out.println(i);
}
}
}
}
|
[
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,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
4,
18,
13,
17,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
14,
2,
2,
2,
2,
13,
17,
17,
2,
13,
17,
2,
13,
17,
29,
17,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
13,
1,
0,
13,
17,
30,
30,
14,
2,
2,
13,
13,
17,
29,
17,
29,
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
],
[
198,
14
],
[
198,
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
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
17,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
43
],
[
36,
44
],
[
44,
45
],
[
17,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
15,
52
],
[
52,
53
],
[
198,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
57,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
65,
71
],
[
71,
72
],
[
71,
73
],
[
64,
74
],
[
74,
75
],
[
74,
76
],
[
63,
77
],
[
77,
78
],
[
63,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
80,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
80,
95
],
[
96,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
97,
103
],
[
103,
104
],
[
79,
105
],
[
105,
106
],
[
54,
107
],
[
107,
108
],
[
198,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
109,
113
],
[
113,
114
],
[
109,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
109,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
124,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
134,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
123,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
109,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
153,
156
],
[
156,
157
],
[
109,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
162,
165
],
[
165,
166
],
[
109,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
171,
174
],
[
174,
175
],
[
109,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
178,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
182,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
193,
194
],
[
178,
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 public static void main(String[] args) {\n FastReader s = new FastReader();\n long T = s.nextLong();\n long t =0;\n long amount=100;\n while(T>amount){\n amount*=Math.pow(1.01,1);\n t++;\n }\n System.out.println(t);\n }\n\n private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\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}",
"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 FastReader s = new FastReader();\n long T = s.nextLong();\n long t =0;\n long amount=100;\n while(T>amount){\n amount*=Math.pow(1.01,1);\n t++;\n }\n System.out.println(t);\n }\n\n private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\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}",
"Main",
"public static void main(String[] args) {\n FastReader s = new FastReader();\n long T = s.nextLong();\n long t =0;\n long amount=100;\n while(T>amount){\n amount*=Math.pow(1.01,1);\n t++;\n }\n System.out.println(t);\n }",
"main",
"{\n FastReader s = new FastReader();\n long T = s.nextLong();\n long t =0;\n long amount=100;\n while(T>amount){\n amount*=Math.pow(1.01,1);\n t++;\n }\n System.out.println(t);\n }",
"FastReader s = new FastReader();",
"s",
"new FastReader()",
"long T = s.nextLong();",
"T",
"s.nextLong()",
"s.nextLong",
"s",
"long t =0;",
"t",
"0",
"long amount=100;",
"amount",
"100",
"while(T>amount){\n amount*=Math.pow(1.01,1);\n t++;\n }",
"T>amount",
"T",
"amount",
"{\n amount*=Math.pow(1.01,1);\n t++;\n }",
"amount*=Math.pow(1.01,1)",
"amount",
"Math.pow(1.01,1)",
"Math.pow",
"Math",
"1.01",
"1",
"t++",
"t",
"System.out.println(t)",
"System.out.println",
"System.out",
"System",
"System.out",
"t",
"String[] args",
"args",
"private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }",
"isPrime",
"{\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }",
"if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }",
"n == 2",
"n",
"2",
"return true;",
"true",
"if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }",
"(n % 2 == 0 && n > 2) || n < 2",
"(n % 2 == 0 && n > 2)",
"n % 2 == 0",
"n % 2",
"n",
"2",
"0",
"n > 2",
"n",
"2",
"n < 2",
"n",
"2",
"return false;",
"false",
"{\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }",
"for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }",
"int i = 3;",
"int i = 3;",
"i",
"3",
"i <= (int) Math.sqrt(n)",
"i",
"(int) Math.sqrt(n)",
"Math.sqrt",
"Math",
"n",
"i += 2",
"i += 2",
"i",
"2",
"{\n if (n % i == 0)\n return false;\n }",
"{\n if (n % i == 0)\n return false;\n }",
"if (n % i == 0)\n return false;",
"n % i == 0",
"n % i",
"n",
"i",
"0",
"return false;",
"false",
"return true;",
"true",
"int n",
"n",
"static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\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",
"public class Main {\n public static void main(String[] args) {\n FastReader s = new FastReader();\n long T = s.nextLong();\n long t =0;\n long amount=100;\n while(T>amount){\n amount*=Math.pow(1.01,1);\n t++;\n }\n System.out.println(t);\n }\n\n private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\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 class Main {\n public static void main(String[] args) {\n FastReader s = new FastReader();\n long T = s.nextLong();\n long t =0;\n long amount=100;\n while(T>amount){\n amount*=Math.pow(1.01,1);\n t++;\n }\n System.out.println(t);\n }\n\n private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\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}",
"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) {
FastReader s = new FastReader();
long T = s.nextLong();
long t =0;
long amount=100;
while(T>amount){
amount*=Math.pow(1.01,1);
t++;
}
System.out.println(t);
}
private static boolean isPrime(int n) {
if (n == 2)
return true;
else if ((n % 2 == 0 && n > 2) || n < 2)
return false;
else {
for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {
if (n % i == 0)
return false;
}
return true;
}
}
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;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
17,
0,
13,
2,
13,
17,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
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.Scanner;\npublic class Main {\n\n public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n \n //入力\n long X = sc.nextLong();//目標額\n long money = 100;\n long year =0; \n \n //預金額が目標額以上になるまで\n while(money<X){\n money *= 1.01;\n year =year+1;\n }\n System.out.println(year);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n \n //入力\n long X = sc.nextLong();//目標額\n long money = 100;\n long year =0; \n \n //預金額が目標額以上になるまで\n while(money<X){\n money *= 1.01;\n year =year+1;\n }\n System.out.println(year);\n }\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n \n //入力\n long X = sc.nextLong();//目標額\n long money = 100;\n long year =0; \n \n //預金額が目標額以上になるまで\n while(money<X){\n money *= 1.01;\n year =year+1;\n }\n System.out.println(year);\n }",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n \n //入力\n long X = sc.nextLong();//目標額\n long money = 100;\n long year =0; \n \n //預金額が目標額以上になるまで\n while(money<X){\n money *= 1.01;\n year =year+1;\n }\n System.out.println(year);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long money = 100;",
"money",
"100",
"long year =0;",
"year",
"0",
"while(money<X){\n money *= 1.01;\n year =year+1;\n }",
"money<X",
"money",
"X",
"{\n money *= 1.01;\n year =year+1;\n }",
"money *= 1.01",
"money",
"1.01",
"year =year+1",
"year",
"year+1",
"year",
"1",
"System.out.println(year)",
"System.out.println",
"System.out",
"System",
"System.out",
"year",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n \n //入力\n long X = sc.nextLong();//目標額\n long money = 100;\n long year =0; \n \n //預金額が目標額以上になるまで\n while(money<X){\n money *= 1.01;\n year =year+1;\n }\n System.out.println(year);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n \n //入力\n long X = sc.nextLong();//目標額\n long money = 100;\n long year =0; \n \n //預金額が目標額以上になるまで\n while(money<X){\n money *= 1.01;\n year =year+1;\n }\n System.out.println(year);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
//入力
long X = sc.nextLong();//目標額
long money = 100;
long year =0;
//預金額が目標額以上になるまで
while(money<X){
money *= 1.01;
year =year+1;
}
System.out.println(year);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
3,
0,
13,
2,
13,
17,
40,
13,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
4,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
10,
19
],
[
19,
20
],
[
19,
21
],
[
10,
22
],
[
22,
23
],
[
22,
24
],
[
10,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
32,
39
],
[
27,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
27,
45
],
[
45,
46
],
[
8,
47
],
[
47,
48
]
] |
[
"import java.util.*;\n\nclass Main {\n private static Scanner sc;\n\n public static void main(final String[] args) {\n sc = new Scanner(System.in);\n long a = sc.nextLong(),ans = 0,num = 100;\n while(true){\n if(num >= a){\n System.out.println(ans);\n break;\n } \n num += num/100;\n ans++;\n }\n }\n}\n\n\n\n\n\n",
"import java.util.*;",
"util.*",
"java",
"class Main {\n private static Scanner sc;\n\n public static void main(final String[] args) {\n sc = new Scanner(System.in);\n long a = sc.nextLong(),ans = 0,num = 100;\n while(true){\n if(num >= a){\n System.out.println(ans);\n break;\n } \n num += num/100;\n ans++;\n }\n }\n}",
"Main",
"private static Scanner sc;",
"sc",
"public static void main(final String[] args) {\n sc = new Scanner(System.in);\n long a = sc.nextLong(),ans = 0,num = 100;\n while(true){\n if(num >= a){\n System.out.println(ans);\n break;\n } \n num += num/100;\n ans++;\n }\n }",
"main",
"{\n sc = new Scanner(System.in);\n long a = sc.nextLong(),ans = 0,num = 100;\n while(true){\n if(num >= a){\n System.out.println(ans);\n break;\n } \n num += num/100;\n ans++;\n }\n }",
"sc = new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong()",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"ans = 0",
"ans",
"0",
"num = 100;",
"num",
"100",
"while(true){\n if(num >= a){\n System.out.println(ans);\n break;\n } \n num += num/100;\n ans++;\n }",
"true",
"{\n if(num >= a){\n System.out.println(ans);\n break;\n } \n num += num/100;\n ans++;\n }",
"if(num >= a){\n System.out.println(ans);\n break;\n }",
"num >= a",
"num",
"a",
"{\n System.out.println(ans);\n break;\n }",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"break;",
"num += num/100",
"num",
"num/100",
"num",
"100",
"ans++",
"ans",
"final String[] args",
"args"
] |
import java.util.*;
class Main {
private static Scanner sc;
public static void main(final String[] args) {
sc = new Scanner(System.in);
long a = sc.nextLong(),ans = 0,num = 100;
while(true){
if(num >= a){
System.out.println(ans);
break;
}
num += num/100;
ans++;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
17,
30,
0,
13,
17,
40,
13,
0,
13,
2,
13,
17,
0,
13,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
3,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
28,
39
],
[
39,
40
],
[
39,
41
],
[
28,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
46,
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 Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long start = 100;\n long interest = 0;\n long count = 0;\n while(true){\n \tinterest = 0;\n \tcount++;\n interest += (start/100);\n start += interest;\n if(X <= start){\n System.out.println(count);\n \tbreak;\n }\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long start = 100;\n long interest = 0;\n long count = 0;\n while(true){\n \tinterest = 0;\n \tcount++;\n interest += (start/100);\n start += interest;\n if(X <= start){\n System.out.println(count);\n \tbreak;\n }\n }\n }\n}",
"Main",
"public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long start = 100;\n long interest = 0;\n long count = 0;\n while(true){\n \tinterest = 0;\n \tcount++;\n interest += (start/100);\n start += interest;\n if(X <= start){\n System.out.println(count);\n \tbreak;\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long start = 100;\n long interest = 0;\n long count = 0;\n while(true){\n \tinterest = 0;\n \tcount++;\n interest += (start/100);\n start += interest;\n if(X <= start){\n System.out.println(count);\n \tbreak;\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long start = 100;",
"start",
"100",
"long interest = 0;",
"interest",
"0",
"long count = 0;",
"count",
"0",
"while(true){\n \tinterest = 0;\n \tcount++;\n interest += (start/100);\n start += interest;\n if(X <= start){\n System.out.println(count);\n \tbreak;\n }\n }",
"true",
"{\n \tinterest = 0;\n \tcount++;\n interest += (start/100);\n start += interest;\n if(X <= start){\n System.out.println(count);\n \tbreak;\n }\n }",
"interest = 0",
"interest",
"0",
"count++",
"count",
"interest += (start/100)",
"interest",
"(start/100)",
"start",
"100",
"start += interest",
"start",
"interest",
"if(X <= start){\n System.out.println(count);\n \tbreak;\n }",
"X <= start",
"X",
"start",
"{\n System.out.println(count);\n \tbreak;\n }",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"break;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long start = 100;\n long interest = 0;\n long count = 0;\n while(true){\n \tinterest = 0;\n \tcount++;\n interest += (start/100);\n start += interest;\n if(X <= start){\n System.out.println(count);\n \tbreak;\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long start = 100;\n long interest = 0;\n long count = 0;\n while(true){\n \tinterest = 0;\n \tcount++;\n interest += (start/100);\n start += interest;\n if(X <= start){\n System.out.println(count);\n \tbreak;\n }\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args ) throws Exception {
Scanner sc = new Scanner(System.in);
long X = sc.nextLong();
long start = 100;
long interest = 0;
long count = 0;
while(true){
interest = 0;
count++;
interest += (start/100);
start += interest;
if(X <= start){
System.out.println(count);
break;
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
0,
13,
17,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
0,
13,
17,
30,
4,
18,
18,
13,
13,
13,
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
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
32,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint year;\n\t\tlong money;\n\t\tdouble X;\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tX = Double.parseDouble(sc.next());\n\t\tsc.close();\n\t\t\n\t\tmoney = 100;\n\t\tfor(year = 0;money < X;year++,money *= 1.01);\n\t\t\n\t\tSystem.out.println(year);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint year;\n\t\tlong money;\n\t\tdouble X;\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tX = Double.parseDouble(sc.next());\n\t\tsc.close();\n\t\t\n\t\tmoney = 100;\n\t\tfor(year = 0;money < X;year++,money *= 1.01);\n\t\t\n\t\tSystem.out.println(year);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tint year;\n\t\tlong money;\n\t\tdouble X;\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tX = Double.parseDouble(sc.next());\n\t\tsc.close();\n\t\t\n\t\tmoney = 100;\n\t\tfor(year = 0;money < X;year++,money *= 1.01);\n\t\t\n\t\tSystem.out.println(year);\n\t}",
"main",
"{\n\t\tint year;\n\t\tlong money;\n\t\tdouble X;\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tX = Double.parseDouble(sc.next());\n\t\tsc.close();\n\t\t\n\t\tmoney = 100;\n\t\tfor(year = 0;money < X;year++,money *= 1.01);\n\t\t\n\t\tSystem.out.println(year);\n\t}",
"int year;",
"year",
"long money;",
"money",
"double X;",
"X",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"X = Double.parseDouble(sc.next())",
"X",
"Double.parseDouble(sc.next())",
"Double.parseDouble",
"Double",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"money = 100",
"money",
"100",
"for(year = 0;money < X;year++,money *= 1.01);",
"year = 0;",
"year = 0",
"year",
"0",
"money < X",
"money",
"X",
"year++,money *= 1.01",
"year++",
"year",
"money *= 1.01",
"money",
"1.01",
";",
"System.out.println(year)",
"System.out.println",
"System.out",
"System",
"System.out",
"year",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint year;\n\t\tlong money;\n\t\tdouble X;\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tX = Double.parseDouble(sc.next());\n\t\tsc.close();\n\t\t\n\t\tmoney = 100;\n\t\tfor(year = 0;money < X;year++,money *= 1.01);\n\t\t\n\t\tSystem.out.println(year);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint year;\n\t\tlong money;\n\t\tdouble X;\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tX = Double.parseDouble(sc.next());\n\t\tsc.close();\n\t\t\n\t\tmoney = 100;\n\t\tfor(year = 0;money < X;year++,money *= 1.01);\n\t\t\n\t\tSystem.out.println(year);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int year;
long money;
double X;
Scanner sc = new Scanner(System.in);
X = Double.parseDouble(sc.next());
sc.close();
money = 100;
for(year = 0;money < X;year++,money *= 1.01);
System.out.println(year);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
25,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
9,
45
],
[
45,
46
]
] |
[
"import java.util.Scanner;\nimport java.util.Arrays;\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int S=sc.nextInt();\n int W=sc.nextInt();\n if (W-S>=0) {\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\"); \n }\n\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int S=sc.nextInt();\n int W=sc.nextInt();\n if (W-S>=0) {\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\"); \n }\n\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int S=sc.nextInt();\n int W=sc.nextInt();\n if (W-S>=0) {\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\"); \n }\n\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int S=sc.nextInt();\n int W=sc.nextInt();\n if (W-S>=0) {\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\"); \n }\n\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int S=sc.nextInt();",
"S",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int W=sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (W-S>=0) {\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\"); \n }",
"W-S>=0",
"W-S",
"W",
"S",
"0",
"{\n System.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n System.out.println(\"safe\"); \n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args"
] |
import java.util.Scanner;
import java.util.Arrays;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int S=sc.nextInt();
int W=sc.nextInt();
if (W-S>=0) {
System.out.println("unsafe");
}else{
System.out.println("safe");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
4,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
10,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
10,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
24,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
8,
40
],
[
40,
41
]
] |
[
"import java.util.*;\n\nclass Main {\n private static Scanner sc;\n\n public static void main(final String[] args) {\n sc = new Scanner(System.in);\n int K = sc.nextInt(),A = sc.nextInt();\n if(K <= A)System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }\n}\n\n\n\n\n\n",
"import java.util.*;",
"util.*",
"java",
"class Main {\n private static Scanner sc;\n\n public static void main(final String[] args) {\n sc = new Scanner(System.in);\n int K = sc.nextInt(),A = sc.nextInt();\n if(K <= A)System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }\n}",
"Main",
"private static Scanner sc;",
"sc",
"public static void main(final String[] args) {\n sc = new Scanner(System.in);\n int K = sc.nextInt(),A = sc.nextInt();\n if(K <= A)System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }",
"main",
"{\n sc = new Scanner(System.in);\n int K = sc.nextInt(),A = sc.nextInt();\n if(K <= A)System.out.println(\"unsafe\");\n else System.out.println(\"safe\");\n }",
"sc = new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"int K = sc.nextInt()",
"K",
"sc.nextInt()",
"sc.nextInt",
"sc",
"A = sc.nextInt();",
"A",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(K <= A)System.out.println(\"unsafe\");\n else System.out.println(\"safe\");",
"K <= A",
"K",
"A",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"final String[] args",
"args"
] |
import java.util.*;
class Main {
private static Scanner sc;
public static void main(final String[] args) {
sc = new Scanner(System.in);
int K = sc.nextInt(),A = sc.nextInt();
if(K <= A)System.out.println("unsafe");
else System.out.println("safe");
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
13,
13,
17,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
39,
8
],
[
39,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
30,
35
],
[
9,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
] |
[
"import java.util.*;\nimport java.util.stream.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n\t // write your code here\n Scanner sc = new Scanner(System.in);\n int sheeps = sc.nextInt();\n int wolves = sc.nextInt();\n System.out.println(sheeps <= wolves ? \"unsafe\" : \"safe\");\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.stream.*;",
"stream.*",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n\t // write your code here\n Scanner sc = new Scanner(System.in);\n int sheeps = sc.nextInt();\n int wolves = sc.nextInt();\n System.out.println(sheeps <= wolves ? \"unsafe\" : \"safe\");\n }\n}",
"Main",
"public static void main(String[] args) {\n\t // write your code here\n Scanner sc = new Scanner(System.in);\n int sheeps = sc.nextInt();\n int wolves = sc.nextInt();\n System.out.println(sheeps <= wolves ? \"unsafe\" : \"safe\");\n }",
"main",
"{\n\t // write your code here\n Scanner sc = new Scanner(System.in);\n int sheeps = sc.nextInt();\n int wolves = sc.nextInt();\n System.out.println(sheeps <= wolves ? \"unsafe\" : \"safe\");\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int sheeps = sc.nextInt();",
"sheeps",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int wolves = sc.nextInt();",
"wolves",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(sheeps <= wolves ? \"unsafe\" : \"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"sheeps <= wolves ? \"unsafe\" : \"safe\"",
"sheeps <= wolves",
"sheeps",
"wolves",
"\"unsafe\"",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n\t // write your code here\n Scanner sc = new Scanner(System.in);\n int sheeps = sc.nextInt();\n int wolves = sc.nextInt();\n System.out.println(sheeps <= wolves ? \"unsafe\" : \"safe\");\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n\t // write your code here\n Scanner sc = new Scanner(System.in);\n int sheeps = sc.nextInt();\n int wolves = sc.nextInt();\n System.out.println(sheeps <= wolves ? \"unsafe\" : \"safe\");\n }\n}",
"Main"
] |
import java.util.*;
import java.util.stream.*;
public class Main {
public static void main(String[] args) {
// write your code here
Scanner sc = new Scanner(System.in);
int sheeps = sc.nextInt();
int wolves = sc.nextInt();
System.out.println(sheeps <= wolves ? "unsafe" : "safe");
}
}
|
[
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,
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,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
13,
17,
30,
4,
18,
13,
17,
23,
13,
23,
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,
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
],
[
146,
23
],
[
146,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
26,
37
],
[
37,
38
],
[
37,
39
],
[
26,
40
],
[
40,
41
],
[
40,
42
],
[
26,
43
],
[
43,
44
],
[
43,
45
],
[
26,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
46,
51
],
[
26,
52
],
[
52,
53
],
[
53,
54
],
[
24,
55
],
[
55,
56
],
[
146,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
61,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
72,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
59,
86
],
[
86,
87
],
[
59,
88
],
[
88,
89
],
[
59,
90
],
[
90,
91
],
[
146,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
92,
96
],
[
96,
97
],
[
92,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
104,
106
],
[
98,
107
],
[
107,
108
],
[
92,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
112,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
122,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
111,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
92,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
143,
144
],
[
0,
145
],
[
145,
146
],
[
145,
147
]
] |
[
"//package beginner164.a;\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\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 PrintWriter out = new PrintWriter(outputStream);\n TaskA solver = new TaskA();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskA {\n public void solve(long testNumber, InputReader in, PrintWriter out) {\n int sheep = in.nextInt();\n int wolves = in.nextInt();\n if (wolves >= sheep) {\n out.println(\"unsafe\");\n } else {\n out.println(\"safe\");\n }\n }\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 nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"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 PrintWriter out = new PrintWriter(outputStream);\n TaskA solver = new TaskA();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskA {\n public void solve(long testNumber, InputReader in, PrintWriter out) {\n int sheep = in.nextInt();\n int wolves = in.nextInt();\n if (wolves >= sheep) {\n out.println(\"unsafe\");\n } else {\n out.println(\"safe\");\n }\n }\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 nextInt() {\n return Integer.parseInt(next());\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 PrintWriter out = new PrintWriter(outputStream);\n TaskA solver = new TaskA();\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 PrintWriter out = new PrintWriter(outputStream);\n TaskA solver = new TaskA();\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)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"TaskA solver = new TaskA();",
"solver",
"new TaskA()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class TaskA {\n public void solve(long testNumber, InputReader in, PrintWriter out) {\n int sheep = in.nextInt();\n int wolves = in.nextInt();\n if (wolves >= sheep) {\n out.println(\"unsafe\");\n } else {\n out.println(\"safe\");\n }\n }\n }",
"TaskA",
"public void solve(long testNumber, InputReader in, PrintWriter out) {\n int sheep = in.nextInt();\n int wolves = in.nextInt();\n if (wolves >= sheep) {\n out.println(\"unsafe\");\n } else {\n out.println(\"safe\");\n }\n }",
"solve",
"{\n int sheep = in.nextInt();\n int wolves = in.nextInt();\n if (wolves >= sheep) {\n out.println(\"unsafe\");\n } else {\n out.println(\"safe\");\n }\n }",
"int sheep = in.nextInt();",
"sheep",
"in.nextInt()",
"in.nextInt",
"in",
"int wolves = in.nextInt();",
"wolves",
"in.nextInt()",
"in.nextInt",
"in",
"if (wolves >= sheep) {\n out.println(\"unsafe\");\n } else {\n out.println(\"safe\");\n }",
"wolves >= sheep",
"wolves",
"sheep",
"{\n out.println(\"unsafe\");\n }",
"out.println(\"unsafe\")",
"out.println",
"out",
"\"unsafe\"",
"{\n out.println(\"safe\");\n }",
"out.println(\"safe\")",
"out.println",
"out",
"\"safe\"",
"long testNumber",
"testNumber",
"InputReader in",
"in",
"PrintWriter out",
"out",
"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 nextInt() {\n return Integer.parseInt(next());\n }\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 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 public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskA solver = new TaskA();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskA {\n public void solve(long testNumber, InputReader in, PrintWriter out) {\n int sheep = in.nextInt();\n int wolves = in.nextInt();\n if (wolves >= sheep) {\n out.println(\"unsafe\");\n } else {\n out.println(\"safe\");\n }\n }\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 nextInt() {\n return Integer.parseInt(next());\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 PrintWriter out = new PrintWriter(outputStream);\n TaskA solver = new TaskA();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskA {\n public void solve(long testNumber, InputReader in, PrintWriter out) {\n int sheep = in.nextInt();\n int wolves = in.nextInt();\n if (wolves >= sheep) {\n out.println(\"unsafe\");\n } else {\n out.println(\"safe\");\n }\n }\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 nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"Main"
] |
//package beginner164.a;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
TaskA solver = new TaskA();
solver.solve(1, in, out);
out.close();
}
static class TaskA {
public void solve(long testNumber, InputReader in, PrintWriter out) {
int sheep = in.nextInt();
int wolves = in.nextInt();
if (wolves >= sheep) {
out.println("unsafe");
} else {
out.println("safe");
}
}
}
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 nextInt() {
return Integer.parseInt(next());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
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
],
[
46,
5
],
[
46,
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
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n int S = scanner.nextInt();\n int W = scanner.nextInt();\n\n if(W >= S){\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n\n scanner.close();\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n int S = scanner.nextInt();\n int W = scanner.nextInt();\n\n if(W >= S){\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n\n scanner.close();\n }\n\n}",
"Main",
"public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n int S = scanner.nextInt();\n int W = scanner.nextInt();\n\n if(W >= S){\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n\n scanner.close();\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int S = scanner.nextInt();\n int W = scanner.nextInt();\n\n if(W >= S){\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n\n scanner.close();\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int S = scanner.nextInt();",
"S",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int W = scanner.nextInt();",
"W",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if(W >= S){\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }",
"W >= S",
"W",
"S",
"{\n System.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n System.out.println(\"safe\");\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"scanner.close()",
"scanner.close",
"scanner",
"String args[]",
"args",
"public class Main {\n\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n int S = scanner.nextInt();\n int W = scanner.nextInt();\n\n if(W >= S){\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n\n scanner.close();\n }\n\n}",
"public class Main {\n\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n int S = scanner.nextInt();\n int W = scanner.nextInt();\n\n if(W >= S){\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n\n scanner.close();\n }\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String args[]){
Scanner scanner = new Scanner(System.in);
int S = scanner.nextInt();
int W = scanner.nextInt();
if(W >= S){
System.out.println("unsafe");
} else {
System.out.println("safe");
}
scanner.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
13,
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
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
28,
39
],
[
39,
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\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint s = Integer.parseInt(scan.next());\n\t\tint w = Integer.parseInt(scan.next());\n\t\tif (s<=w){\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}else{\n\t\t\tSystem.out.print(\"safe\");\n\t\t}\n\n\n\t}\n}\n//end",
"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\tint s = Integer.parseInt(scan.next());\n\t\tint w = Integer.parseInt(scan.next());\n\t\tif (s<=w){\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}else{\n\t\t\tSystem.out.print(\"safe\");\n\t\t}\n\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint s = Integer.parseInt(scan.next());\n\t\tint w = Integer.parseInt(scan.next());\n\t\tif (s<=w){\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}else{\n\t\t\tSystem.out.print(\"safe\");\n\t\t}\n\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint s = Integer.parseInt(scan.next());\n\t\tint w = Integer.parseInt(scan.next());\n\t\tif (s<=w){\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}else{\n\t\t\tSystem.out.print(\"safe\");\n\t\t}\n\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int s = Integer.parseInt(scan.next());",
"s",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"int w = Integer.parseInt(scan.next());",
"w",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"if (s<=w){\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}else{\n\t\t\tSystem.out.print(\"safe\");\n\t\t}",
"s<=w",
"s",
"w",
"{\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}",
"System.out.print(\"unsafe\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n\t\t\tSystem.out.print(\"safe\");\n\t\t}",
"System.out.print(\"safe\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint s = Integer.parseInt(scan.next());\n\t\tint w = Integer.parseInt(scan.next());\n\t\tif (s<=w){\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}else{\n\t\t\tSystem.out.print(\"safe\");\n\t\t}\n\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint s = Integer.parseInt(scan.next());\n\t\tint w = Integer.parseInt(scan.next());\n\t\tif (s<=w){\n\t\t\tSystem.out.print(\"unsafe\");\n\t\t}else{\n\t\t\tSystem.out.print(\"safe\");\n\t\t}\n\n\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int s = Integer.parseInt(scan.next());
int w = Integer.parseInt(scan.next());
if (s<=w){
System.out.print("unsafe");
}else{
System.out.print("safe");
}
}
}
//end
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
12,
13,
30,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
86,
11
],
[
86,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
25,
26
],
[
14,
27
],
[
27,
28
],
[
28,
29
],
[
12,
30
],
[
30,
31
],
[
86,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
37,
42
],
[
34,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
34,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
34,
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
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
32,
77
],
[
77,
78
],
[
86,
79
],
[
79,
80
],
[
79,
81
],
[
86,
82
],
[
82,
83
],
[
82,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] |
[
"import java.util.*;\nimport java.io.*;\nimport java.nio.charset.StandardCharsets;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t\tBufferedReader in = new BufferedReader(reader);\n\t\tMain ins = new Main(in);\n\t\tins.calc();\n\t\tins.showResult();\n\t}\n\n\tMain(BufferedReader in) throws IOException {\n\t\tString[] tokens = in.readLine().split(\" \");\n\t\tint S = Integer.parseInt(tokens[0]);\n\t\tint W = Integer.parseInt(tokens[1]);\n\t\tif (W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}\n\n\tvoid calc() {\n\t}\n\n\tvoid showResult() {\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.nio.charset.StandardCharsets;",
"StandardCharsets",
"java.nio.charset",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t\tBufferedReader in = new BufferedReader(reader);\n\t\tMain ins = new Main(in);\n\t\tins.calc();\n\t\tins.showResult();\n\t}\n\n\tMain(BufferedReader in) throws IOException {\n\t\tString[] tokens = in.readLine().split(\" \");\n\t\tint S = Integer.parseInt(tokens[0]);\n\t\tint W = Integer.parseInt(tokens[1]);\n\t\tif (W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}\n\n\tvoid calc() {\n\t}\n\n\tvoid showResult() {\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tInputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t\tBufferedReader in = new BufferedReader(reader);\n\t\tMain ins = new Main(in);\n\t\tins.calc();\n\t\tins.showResult();\n\t}",
"main",
"{\n\t\tInputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t\tBufferedReader in = new BufferedReader(reader);\n\t\tMain ins = new Main(in);\n\t\tins.calc();\n\t\tins.showResult();\n\t}",
"InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);",
"reader",
"new InputStreamReader(System.in, StandardCharsets.UTF_8)",
"BufferedReader in = new BufferedReader(reader);",
"in",
"new BufferedReader(reader)",
"Main ins = new Main(in);",
"ins",
"new Main(in)",
"ins.calc()",
"ins.calc",
"ins",
"ins.showResult()",
"ins.showResult",
"ins",
"String[] args",
"args",
"Main(BufferedReader in) throws IOException {\n\t\tString[] tokens = in.readLine().split(\" \");\n\t\tint S = Integer.parseInt(tokens[0]);\n\t\tint W = Integer.parseInt(tokens[1]);\n\t\tif (W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}",
"Main",
"{\n\t\tString[] tokens = in.readLine().split(\" \");\n\t\tint S = Integer.parseInt(tokens[0]);\n\t\tint W = Integer.parseInt(tokens[1]);\n\t\tif (W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}",
"String[] tokens = in.readLine().split(\" \");",
"tokens",
"in.readLine().split(\" \")",
"in.readLine().split",
"in.readLine()",
"in.readLine",
"in",
"\" \"",
"int S = Integer.parseInt(tokens[0]);",
"S",
"Integer.parseInt(tokens[0])",
"Integer.parseInt",
"Integer",
"tokens[0]",
"tokens",
"0",
"int W = Integer.parseInt(tokens[1]);",
"W",
"Integer.parseInt(tokens[1])",
"Integer.parseInt",
"Integer",
"tokens[1]",
"tokens",
"1",
"if (W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"W >= S",
"W",
"S",
"{\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"BufferedReader in",
"in",
"void calc() {\n\t}",
"calc",
"{\n\t}",
"void showResult() {\n\t}",
"showResult",
"{\n\t}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t\tBufferedReader in = new BufferedReader(reader);\n\t\tMain ins = new Main(in);\n\t\tins.calc();\n\t\tins.showResult();\n\t}\n\n\tMain(BufferedReader in) throws IOException {\n\t\tString[] tokens = in.readLine().split(\" \");\n\t\tint S = Integer.parseInt(tokens[0]);\n\t\tint W = Integer.parseInt(tokens[1]);\n\t\tif (W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}\n\n\tvoid calc() {\n\t}\n\n\tvoid showResult() {\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t\tBufferedReader in = new BufferedReader(reader);\n\t\tMain ins = new Main(in);\n\t\tins.calc();\n\t\tins.showResult();\n\t}\n\n\tMain(BufferedReader in) throws IOException {\n\t\tString[] tokens = in.readLine().split(\" \");\n\t\tint S = Integer.parseInt(tokens[0]);\n\t\tint W = Integer.parseInt(tokens[1]);\n\t\tif (W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t} else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}\n\n\tvoid calc() {\n\t}\n\n\tvoid showResult() {\n\t}\n\n}",
"Main"
] |
import java.util.*;
import java.io.*;
import java.nio.charset.StandardCharsets;
public class Main {
public static void main(String[] args) throws IOException {
InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
BufferedReader in = new BufferedReader(reader);
Main ins = new Main(in);
ins.calc();
ins.showResult();
}
Main(BufferedReader in) throws IOException {
String[] tokens = in.readLine().split(" ");
int S = Integer.parseInt(tokens[0]);
int W = Integer.parseInt(tokens[1]);
if (W >= S) {
System.out.println("unsafe");
} else {
System.out.println("safe");
}
}
void calc() {
}
void showResult() {
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
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
],
[
43,
5
],
[
43,
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
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint S = scanner.nextInt();\n\t\tint W = scanner.nextInt();\n\n\t\tif(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint S = scanner.nextInt();\n\t\tint W = scanner.nextInt();\n\n\t\tif(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint S = scanner.nextInt();\n\t\tint W = scanner.nextInt();\n\n\t\tif(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint S = scanner.nextInt();\n\t\tint W = scanner.nextInt();\n\n\t\tif(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int S = scanner.nextInt();",
"S",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int W = scanner.nextInt();",
"W",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"W >= S",
"W",
"S",
"{\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint S = scanner.nextInt();\n\t\tint W = scanner.nextInt();\n\n\t\tif(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint S = scanner.nextInt();\n\t\tint W = scanner.nextInt();\n\n\t\tif(W >= S) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int S = scanner.nextInt();
int W = scanner.nextInt();
if(W >= S) {
System.out.println("unsafe");
}else {
System.out.println("safe");
}
}
}
|
[
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,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
149,
23
],
[
149,
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
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
40,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
24,
58
],
[
58,
59
],
[
149,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
60,
64
],
[
64,
65
],
[
60,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
60,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
75,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
85,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
74,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
60,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
107,
108
],
[
60,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
113,
116
],
[
116,
117
],
[
60,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
125,
126
],
[
60,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
133,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
129,
146
],
[
146,
147
],
[
0,
148
],
[
148,
149
],
[
148,
150
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.lang.reflect.Array;\nimport java.util.Scanner;\nimport java.util.StringTokenizer;\nimport java.util.*;\n\npublic class Main {\n\n static class FastReader{\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader(){\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 }\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 String nextLine(){\n String str=\"\";\n try{\n str=br.readLine();\n }\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 int s=in.nextInt();\n int w =in.nextInt();\n if(w>=s){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\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.lang.reflect.Array;",
"Array",
"java.lang.reflect",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n static class FastReader{\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader(){\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 }\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 String nextLine(){\n String str=\"\";\n try{\n str=br.readLine();\n }\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 int s=in.nextInt();\n int w =in.nextInt();\n if(w>=s){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n FastReader in = new FastReader();\n int s=in.nextInt();\n int w =in.nextInt();\n if(w>=s){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n }",
"main",
"{\n FastReader in = new FastReader();\n int s=in.nextInt();\n int w =in.nextInt();\n if(w>=s){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n }",
"FastReader in = new FastReader();",
"in",
"new FastReader()",
"int s=in.nextInt();",
"s",
"in.nextInt()",
"in.nextInt",
"in",
"int w =in.nextInt();",
"w",
"in.nextInt()",
"in.nextInt",
"in",
"if(w>=s){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }",
"w>=s",
"w",
"s",
"{\n System.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n System.out.println(\"safe\");\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"static class FastReader{\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader(){\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 }\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 String nextLine(){\n String str=\"\";\n try{\n str=br.readLine();\n }\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 InputStreamReader(System.in));\n }",
"FastReader",
"{\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 }\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 }\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 }\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 }\n catch(IOException e){\n e.printStackTrace();\n }\n }",
"try{\n st=new StringTokenizer(br.readLine());\n }\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 }\n catch(IOException e){\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str=\"\";\n try{\n str=br.readLine();\n }\n catch(IOException e){\n e.printStackTrace();\n }\n return str;\n }",
"String str=\"\";",
"str",
"\"\"",
"try{\n str=br.readLine();\n }\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\n static class FastReader{\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader(){\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 }\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 String nextLine(){\n String str=\"\";\n try{\n str=br.readLine();\n }\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 int s=in.nextInt();\n int w =in.nextInt();\n if(w>=s){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n }\n}",
"public class Main {\n\n static class FastReader{\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader(){\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 }\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 String nextLine(){\n String str=\"\";\n try{\n str=br.readLine();\n }\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 int s=in.nextInt();\n int w =in.nextInt();\n if(w>=s){\n System.out.println(\"unsafe\");\n }else{\n System.out.println(\"safe\");\n }\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.lang.reflect.Array;
import java.util.Scanner;
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.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();
int s=in.nextInt();
int w =in.nextInt();
if(w>=s){
System.out.println("unsafe");
}else{
System.out.println("safe");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
13,
17,
17,
23,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
8,
31
],
[
31,
32
],
[
32,
33
],
[
6,
34
],
[
34,
35
],
[
51,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
40,
45
],
[
36,
46
],
[
46,
47
],
[
36,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int S = sc.nextInt();\n int W = sc.nextInt();\n\n System.out.println(solve(S, W));\n\n sc.close();\n }\n\n static String solve(int S, int W) {\n return (S > W) ? \"safe\" : \"unsafe\";\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\n int S = sc.nextInt();\n int W = sc.nextInt();\n\n System.out.println(solve(S, W));\n\n sc.close();\n }\n\n static String solve(int S, int W) {\n return (S > W) ? \"safe\" : \"unsafe\";\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int S = sc.nextInt();\n int W = sc.nextInt();\n\n System.out.println(solve(S, W));\n\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n int S = sc.nextInt();\n int W = sc.nextInt();\n\n System.out.println(solve(S, W));\n\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int S = sc.nextInt();",
"S",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int W = sc.nextInt();",
"W",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(solve(S, W))",
"System.out.println",
"System.out",
"System",
"System.out",
"solve(S, W)",
"solve",
"S",
"W",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"static String solve(int S, int W) {\n return (S > W) ? \"safe\" : \"unsafe\";\n }",
"solve",
"{\n return (S > W) ? \"safe\" : \"unsafe\";\n }",
"return (S > W) ? \"safe\" : \"unsafe\";",
"(S > W) ? \"safe\" : \"unsafe\"",
"(S > W)",
"S",
"W",
"\"safe\"",
"\"unsafe\"",
"int S",
"S",
"int W",
"W",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int S = sc.nextInt();\n int W = sc.nextInt();\n\n System.out.println(solve(S, W));\n\n sc.close();\n }\n\n static String solve(int S, int W) {\n return (S > W) ? \"safe\" : \"unsafe\";\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int S = sc.nextInt();\n int W = sc.nextInt();\n\n System.out.println(solve(S, W));\n\n sc.close();\n }\n\n static String solve(int S, int W) {\n return (S > W) ? \"safe\" : \"unsafe\";\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int S = sc.nextInt();
int W = sc.nextInt();
System.out.println(solve(S, W));
sc.close();
}
static String solve(int S, int W) {
return (S > W) ? "safe" : "unsafe";
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
13,
17,
30,
4,
18,
13,
17,
4,
18,
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
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
138,
8
],
[
138,
9
],
[
9,
10
],
[
138,
11
],
[
11,
12
],
[
11,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
13,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
13,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
13,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
30,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
13,
44
],
[
44,
45
],
[
45,
46
],
[
11,
47
],
[
47,
48
],
[
138,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
49,
53
],
[
53,
54
],
[
49,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
49,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
64,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
74,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
63,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
49,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
96,
97
],
[
49,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
105,
106
],
[
49,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
114,
115
],
[
49,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
122,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
118,
135
],
[
135,
136
],
[
0,
137
],
[
137,
138
],
[
137,
139
]
] |
[
"import java.io.*;\nimport java.util.*;\n \npublic class Main {\n \n \n public static void main(String[] args) throws Exception {\n \n FastReader fs = new FastReader();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = fs.nextInt();\n int w = fs.nextInt();\n \n if(w>=n){\n out.println(\"unsafe\");\n }else{\n out.println(\"safe\");\n }\n \n out.close();\n \n }\n \n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n \n //-----------MyScanner class for faster input----------\n public static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n //--------------------------------------------------------\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n \n \n public static void main(String[] args) throws Exception {\n \n FastReader fs = new FastReader();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = fs.nextInt();\n int w = fs.nextInt();\n \n if(w>=n){\n out.println(\"unsafe\");\n }else{\n out.println(\"safe\");\n }\n \n out.close();\n \n }\n \n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n \n //-----------MyScanner class for faster input----------\n public static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n //--------------------------------------------------------\n}",
"Main",
"//-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;",
"out",
"public static void main(String[] args) throws Exception {\n \n FastReader fs = new FastReader();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = fs.nextInt();\n int w = fs.nextInt();\n \n if(w>=n){\n out.println(\"unsafe\");\n }else{\n out.println(\"safe\");\n }\n \n out.close();\n \n }",
"main",
"{\n \n FastReader fs = new FastReader();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = fs.nextInt();\n int w = fs.nextInt();\n \n if(w>=n){\n out.println(\"unsafe\");\n }else{\n out.println(\"safe\");\n }\n \n out.close();\n \n }",
"FastReader fs = new FastReader();",
"fs",
"new FastReader()",
"out = new PrintWriter(new BufferedOutputStream(System.out))",
"out",
"new PrintWriter(new BufferedOutputStream(System.out))",
"int n = fs.nextInt();",
"n",
"fs.nextInt()",
"fs.nextInt",
"fs",
"int w = fs.nextInt();",
"w",
"fs.nextInt()",
"fs.nextInt",
"fs",
"if(w>=n){\n out.println(\"unsafe\");\n }else{\n out.println(\"safe\");\n }",
"w>=n",
"w",
"n",
"{\n out.println(\"unsafe\");\n }",
"out.println(\"unsafe\")",
"out.println",
"out",
"\"unsafe\"",
"{\n out.println(\"safe\");\n }",
"out.println(\"safe\")",
"out.println",
"out",
"\"safe\"",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"FastReader",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n \n \n public static void main(String[] args) throws Exception {\n \n FastReader fs = new FastReader();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = fs.nextInt();\n int w = fs.nextInt();\n \n if(w>=n){\n out.println(\"unsafe\");\n }else{\n out.println(\"safe\");\n }\n \n out.close();\n \n }\n \n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n \n //-----------MyScanner class for faster input----------\n public static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n //--------------------------------------------------------\n}",
"public class Main {\n \n \n public static void main(String[] args) throws Exception {\n \n FastReader fs = new FastReader();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = fs.nextInt();\n int w = fs.nextInt();\n \n if(w>=n){\n out.println(\"unsafe\");\n }else{\n out.println(\"safe\");\n }\n \n out.close();\n \n }\n \n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n \n //-----------MyScanner class for faster input----------\n public static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n //--------------------------------------------------------\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
FastReader fs = new FastReader();
out = new PrintWriter(new BufferedOutputStream(System.out));
int n = fs.nextInt();
int w = fs.nextInt();
if(w>=n){
out.println("unsafe");
}else{
out.println("safe");
}
out.close();
}
//-----------PrintWriter for faster output---------------------------------
public static PrintWriter out;
//-----------MyScanner class for faster input----------
public 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;
}
}
//--------------------------------------------------------
}
|
[
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,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
8,
2,
13,
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
],
[
59,
11
],
[
59,
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
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
14,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
44,
49
],
[
14,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
12,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] |
[
"import java.util.Scanner;\nimport java.util.Arrays;\nimport java.util.List;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t\tString[] array = sc.nextLine().split(\" \");\n\t\tint sheep = Integer.parseInt(array[0]);\n\t\tint wolves = Integer.parseInt(array[1]);\n\t\tString result = sheep <= wolves ? \"unsafe\" : \"safe\";\n\t System.out.println(result);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t\tString[] array = sc.nextLine().split(\" \");\n\t\tint sheep = Integer.parseInt(array[0]);\n\t\tint wolves = Integer.parseInt(array[1]);\n\t\tString result = sheep <= wolves ? \"unsafe\" : \"safe\";\n\t System.out.println(result);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t\tString[] array = sc.nextLine().split(\" \");\n\t\tint sheep = Integer.parseInt(array[0]);\n\t\tint wolves = Integer.parseInt(array[1]);\n\t\tString result = sheep <= wolves ? \"unsafe\" : \"safe\";\n\t System.out.println(result);\n\t}",
"main",
"{\n\t Scanner sc = new Scanner(System.in);\n\t\tString[] array = sc.nextLine().split(\" \");\n\t\tint sheep = Integer.parseInt(array[0]);\n\t\tint wolves = Integer.parseInt(array[1]);\n\t\tString result = sheep <= wolves ? \"unsafe\" : \"safe\";\n\t System.out.println(result);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String[] array = sc.nextLine().split(\" \");",
"array",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"int sheep = Integer.parseInt(array[0]);",
"sheep",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"int wolves = Integer.parseInt(array[1]);",
"wolves",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"String result = sheep <= wolves ? \"unsafe\" : \"safe\";",
"result",
"sheep <= wolves ? \"unsafe\" : \"safe\"",
"sheep <= wolves",
"sheep",
"wolves",
"\"unsafe\"",
"\"safe\"",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t\tString[] array = sc.nextLine().split(\" \");\n\t\tint sheep = Integer.parseInt(array[0]);\n\t\tint wolves = Integer.parseInt(array[1]);\n\t\tString result = sheep <= wolves ? \"unsafe\" : \"safe\";\n\t System.out.println(result);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t\tString[] array = sc.nextLine().split(\" \");\n\t\tint sheep = Integer.parseInt(array[0]);\n\t\tint wolves = Integer.parseInt(array[1]);\n\t\tString result = sheep <= wolves ? \"unsafe\" : \"safe\";\n\t System.out.println(result);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
import java.util.Arrays;
import java.util.List;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String[] array = sc.nextLine().split(" ");
int sheep = Integer.parseInt(array[0]);
int wolves = Integer.parseInt(array[1]);
String result = sheep <= wolves ? "unsafe" : "safe";
System.out.println(result);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
41,
5
],
[
41,
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
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
22,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
6,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
] |
[
"/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choose Tools | Templates\n * and open the template in the editor.\n */\n\n\nimport java.util.*;\n\n/**\n *\n * @author Admin\n */\npublic class Main {\n \n \n public static void main(String args[])\n {\n Scanner s=new Scanner(System.in);\n \n int ss=s.nextInt();\n \n int w=s.nextInt();\n \n if(ss>w)\n System.out.println(\"safe\");\n else\n System.out.println(\"unsafe\");\n \n \n \n \n \n }\n \n \n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n \n \n public static void main(String args[])\n {\n Scanner s=new Scanner(System.in);\n \n int ss=s.nextInt();\n \n int w=s.nextInt();\n \n if(ss>w)\n System.out.println(\"safe\");\n else\n System.out.println(\"unsafe\");\n \n \n \n \n \n }\n \n \n}",
"Main",
"public static void main(String args[])\n {\n Scanner s=new Scanner(System.in);\n \n int ss=s.nextInt();\n \n int w=s.nextInt();\n \n if(ss>w)\n System.out.println(\"safe\");\n else\n System.out.println(\"unsafe\");\n \n \n \n \n \n }",
"main",
"{\n Scanner s=new Scanner(System.in);\n \n int ss=s.nextInt();\n \n int w=s.nextInt();\n \n if(ss>w)\n System.out.println(\"safe\");\n else\n System.out.println(\"unsafe\");\n \n \n \n \n \n }",
"Scanner s=new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int ss=s.nextInt();",
"ss",
"s.nextInt()",
"s.nextInt",
"s",
"int w=s.nextInt();",
"w",
"s.nextInt()",
"s.nextInt",
"s",
"if(ss>w)\n System.out.println(\"safe\");\n else\n System.out.println(\"unsafe\");",
"ss>w",
"ss",
"w",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"String args[]",
"args",
"public class Main {\n \n \n public static void main(String args[])\n {\n Scanner s=new Scanner(System.in);\n \n int ss=s.nextInt();\n \n int w=s.nextInt();\n \n if(ss>w)\n System.out.println(\"safe\");\n else\n System.out.println(\"unsafe\");\n \n \n \n \n \n }\n \n \n}",
"public class Main {\n \n \n public static void main(String args[])\n {\n Scanner s=new Scanner(System.in);\n \n int ss=s.nextInt();\n \n int w=s.nextInt();\n \n if(ss>w)\n System.out.println(\"safe\");\n else\n System.out.println(\"unsafe\");\n \n \n \n \n \n }\n \n \n}",
"Main"
] |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.util.*;
/**
*
* @author Admin
*/
public class Main {
public static void main(String args[])
{
Scanner s=new Scanner(System.in);
int ss=s.nextInt();
int w=s.nextInt();
if(ss>w)
System.out.println("safe");
else
System.out.println("unsafe");
}
}
|
[
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,
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,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
8,
2,
13,
13,
17,
17,
23,
13,
23,
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,
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,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
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,
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,
29,
4,
18,
13,
13,
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
],
[
262,
23
],
[
262,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
26,
37
],
[
37,
38
],
[
37,
39
],
[
26,
40
],
[
40,
41
],
[
40,
42
],
[
26,
43
],
[
43,
44
],
[
43,
45
],
[
26,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
46,
51
],
[
26,
52
],
[
52,
53
],
[
53,
54
],
[
24,
55
],
[
55,
56
],
[
262,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
61,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
75,
80
],
[
59,
81
],
[
81,
82
],
[
59,
83
],
[
83,
84
],
[
59,
85
],
[
85,
86
],
[
262,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
87,
91
],
[
91,
92
],
[
91,
93
],
[
87,
95
],
[
95,
96
],
[
87,
97
],
[
97,
98
],
[
87,
99
],
[
99,
100
],
[
87,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
101,
109
],
[
109,
110
],
[
87,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
114,
119
],
[
119,
120
],
[
113,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
129,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
138,
141
],
[
125,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
142,
146
],
[
146,
147
],
[
147,
148
],
[
113,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
87,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
156,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
161,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
156,
169
],
[
169,
170
],
[
169,
171
],
[
156,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
172,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
176,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
156,
185
],
[
185,
186
],
[
185,
187
],
[
156,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
188,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
195,
199
],
[
199,
200
],
[
199,
201
],
[
194,
202
],
[
202,
203
],
[
193,
204
],
[
204,
205
],
[
204,
206
],
[
193,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
209,
211
],
[
193,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
156,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
87,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
223,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
228,
231
],
[
222,
232
],
[
232,
233
],
[
236,
234
],
[
246,
235
],
[
243,
236
],
[
236,
237
],
[
237,
238
],
[
237,
239
],
[
236,
240
],
[
240,
241
],
[
240,
242
],
[
243,
243
],
[
243,
244
],
[
243,
245
],
[
246,
246
],
[
246,
247
],
[
246,
248
],
[
236,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
220,
253
],
[
253,
254
],
[
87,
255
],
[
255,
256
],
[
255,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
0,
261
],
[
261,
262
],
[
261,
263
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\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 *\n * @author Pranay2516\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Task {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n int s = in.nextInt(), w = in.nextInt();\n out.println(w >= s ? \"unsafe\" : \"safe\");\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n\n curChar = 0;\n\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n\n return buf[curChar++];\n }\n\n public int nextInt() {\n\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n\n if (filter != null)\n return filter.isSpaceChar(c);\n\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.PrintWriter;",
"PrintWriter",
"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 FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Task {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n int s = in.nextInt(), w = in.nextInt();\n out.println(w >= s ? \"unsafe\" : \"safe\");\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n\n curChar = 0;\n\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n\n return buf[curChar++];\n }\n\n public int nextInt() {\n\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n\n if (filter != null)\n return filter.isSpaceChar(c);\n\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 FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\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",
"FastReader in = new FastReader(inputStream);",
"in",
"new FastReader(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"Task solver = new Task();",
"solver",
"new Task()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Task {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n int s = in.nextInt(), w = in.nextInt();\n out.println(w >= s ? \"unsafe\" : \"safe\");\n }\n\n }",
"Task",
"public void solve(int testNumber, FastReader in, PrintWriter out) {\n int s = in.nextInt(), w = in.nextInt();\n out.println(w >= s ? \"unsafe\" : \"safe\");\n }",
"solve",
"{\n int s = in.nextInt(), w = in.nextInt();\n out.println(w >= s ? \"unsafe\" : \"safe\");\n }",
"int s = in.nextInt()",
"s",
"in.nextInt()",
"in.nextInt",
"in",
"w = in.nextInt();",
"w",
"in.nextInt()",
"in.nextInt",
"in",
"out.println(w >= s ? \"unsafe\" : \"safe\")",
"out.println",
"out",
"w >= s ? \"unsafe\" : \"safe\"",
"w >= s",
"w",
"s",
"\"unsafe\"",
"\"safe\"",
"int testNumber",
"testNumber",
"FastReader in",
"in",
"PrintWriter out",
"out",
"static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n\n curChar = 0;\n\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n\n return buf[curChar++];\n }\n\n public int nextInt() {\n\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n\n if (filter != null)\n return filter.isSpaceChar(c);\n\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 }",
"FastReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"private FastReader.SpaceCharFilter filter;",
"filter",
"public FastReader(InputStream stream) {\n this.stream = stream;\n }",
"FastReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int read() {\n\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n\n curChar = 0;\n\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n\n return buf[curChar++];\n }",
"read",
"{\n\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n\n curChar = 0;\n\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n\n return buf[curChar++];\n }",
"if (numChars == -1)\n throw new InputMismatchException();",
"numChars == -1",
"numChars",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n\n curChar = 0;\n\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n\n curChar = 0;\n\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\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;",
"numChars <= 0",
"numChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int nextInt() {\n\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }",
"nextInt",
"{\n\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"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 }\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();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"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\n if (filter != null)\n return filter.isSpaceChar(c);\n\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n\n if (filter != null)\n return filter.isSpaceChar(c);\n\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"if (filter != null)\n return filter.isSpaceChar(c);",
"filter != null",
"filter",
"null",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"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 FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Task {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n int s = in.nextInt(), w = in.nextInt();\n out.println(w >= s ? \"unsafe\" : \"safe\");\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n\n curChar = 0;\n\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n\n return buf[curChar++];\n }\n\n public int nextInt() {\n\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n\n if (filter != null)\n return filter.isSpaceChar(c);\n\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 FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Task {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n int s = in.nextInt(), w = in.nextInt();\n out.println(w >= s ? \"unsafe\" : \"safe\");\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n\n curChar = 0;\n\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n\n return buf[curChar++];\n }\n\n public int nextInt() {\n\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n\n if (filter != null)\n return filter.isSpaceChar(c);\n\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.PrintWriter;
import java.util.InputMismatchException;
import java.io.IOException;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author Pranay2516
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
FastReader in = new FastReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
Task solver = new Task();
solver.solve(1, in, out);
out.close();
}
static class Task {
public void solve(int testNumber, FastReader in, PrintWriter out) {
int s = in.nextInt(), w = in.nextInt();
out.println(w >= s ? "unsafe" : "safe");
}
}
static class FastReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private FastReader.SpaceCharFilter filter;
public FastReader(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 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,
41,
13,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
13,
13,
17,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
21,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
37,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] |
[
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint s,w;\n\t\ts = Integer.parseInt(scan.next());\n\t\tw = Integer.parseInt(scan.next());\n\t\tSystem.out.println(w >= s?\"unsafe\":\"safe\");\n\t}\n\n}\n//end",
"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\tint s,w;\n\t\ts = Integer.parseInt(scan.next());\n\t\tw = Integer.parseInt(scan.next());\n\t\tSystem.out.println(w >= s?\"unsafe\":\"safe\");\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint s,w;\n\t\ts = Integer.parseInt(scan.next());\n\t\tw = Integer.parseInt(scan.next());\n\t\tSystem.out.println(w >= s?\"unsafe\":\"safe\");\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint s,w;\n\t\ts = Integer.parseInt(scan.next());\n\t\tw = Integer.parseInt(scan.next());\n\t\tSystem.out.println(w >= s?\"unsafe\":\"safe\");\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int s",
"s",
"w;",
"w",
"s = Integer.parseInt(scan.next())",
"s",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"w = Integer.parseInt(scan.next())",
"w",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"System.out.println(w >= s?\"unsafe\":\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"w >= s?\"unsafe\":\"safe\"",
"w >= s",
"w",
"s",
"\"unsafe\"",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint s,w;\n\t\ts = Integer.parseInt(scan.next());\n\t\tw = Integer.parseInt(scan.next());\n\t\tSystem.out.println(w >= s?\"unsafe\":\"safe\");\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint s,w;\n\t\ts = Integer.parseInt(scan.next());\n\t\tw = Integer.parseInt(scan.next());\n\t\tSystem.out.println(w >= s?\"unsafe\":\"safe\");\n\t}\n\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int s,w;
s = Integer.parseInt(scan.next());
w = Integer.parseInt(scan.next());
System.out.println(w >= s?"unsafe":"safe");
}
}
//end
|
[
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,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
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
],
[
140,
14
],
[
140,
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
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
31,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
15,
49
],
[
49,
50
],
[
140,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
51,
55
],
[
55,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
51,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
66,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
76,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
65,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
51,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
98,
99
],
[
51,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
107,
108
],
[
51,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
113,
116
],
[
116,
117
],
[
51,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
124,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
120,
137
],
[
137,
138
],
[
0,
139
],
[
139,
140
],
[
139,
141
]
] |
[
"//package april2020;\n\nimport java.util.*;\nimport java.lang.*;\nimport java.math.*;\nimport java.io.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tFastReader scn = new FastReader();\n\t\t\n\t\tint s = scn.nextInt();\n\t\tint w = scn.nextInt();\n\t\t\n\t\tif(w>=s) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}\n\tstatic class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tFastReader scn = new FastReader();\n\t\t\n\t\tint s = scn.nextInt();\n\t\tint w = scn.nextInt();\n\t\t\n\t\tif(w>=s) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}\n\tstatic class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n }\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tFastReader scn = new FastReader();\n\t\t\n\t\tint s = scn.nextInt();\n\t\tint w = scn.nextInt();\n\t\t\n\t\tif(w>=s) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tFastReader scn = new FastReader();\n\t\t\n\t\tint s = scn.nextInt();\n\t\tint w = scn.nextInt();\n\t\t\n\t\tif(w>=s) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}",
"FastReader scn = new FastReader();",
"scn",
"new FastReader()",
"int s = scn.nextInt();",
"s",
"scn.nextInt()",
"scn.nextInt",
"scn",
"int w = scn.nextInt();",
"w",
"scn.nextInt()",
"scn.nextInt",
"scn",
"if(w>=s) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"w>=s",
"w",
"s",
"{\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n\t\t\tSystem.out.println(\"safe\");\n\t\t}",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() \n { \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 { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }",
"next",
"{ \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }",
"while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{ \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n }",
"try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n }",
"catch (IOException e) \n { \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 { \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 { \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 { \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 { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }",
"nextLine",
"{ \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }",
"String str = \"\";",
"str",
"\"\"",
"try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n }",
"catch (IOException e) \n { \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\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tFastReader scn = new FastReader();\n\t\t\n\t\tint s = scn.nextInt();\n\t\tint w = scn.nextInt();\n\t\t\n\t\tif(w>=s) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}\n\tstatic class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n }\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tFastReader scn = new FastReader();\n\t\t\n\t\tint s = scn.nextInt();\n\t\tint w = scn.nextInt();\n\t\t\n\t\tif(w>=s) {\n\t\t\tSystem.out.println(\"unsafe\");\n\t\t}else {\n\t\t\tSystem.out.println(\"safe\");\n\t\t}\n\t}\n\tstatic class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n }\n\n}",
"Main"
] |
//package april2020;
import java.util.*;
import java.lang.*;
import java.math.*;
import java.io.*;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
FastReader scn = new FastReader();
int s = scn.nextInt();
int w = scn.nextInt();
if(w>=s) {
System.out.println("unsafe");
}else {
System.out.println("safe");
}
}
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;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
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
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
26,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sn = new Scanner(System.in);\n \n int s = sn.nextInt();\n int w = sn.nextInt();\n \n if(s <= w) {\n System.out.print(\"unsafe\");\n return;\n }\n \n System.out.print(\"safe\");\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sn = new Scanner(System.in);\n \n int s = sn.nextInt();\n int w = sn.nextInt();\n \n if(s <= w) {\n System.out.print(\"unsafe\");\n return;\n }\n \n System.out.print(\"safe\");\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sn = new Scanner(System.in);\n \n int s = sn.nextInt();\n int w = sn.nextInt();\n \n if(s <= w) {\n System.out.print(\"unsafe\");\n return;\n }\n \n System.out.print(\"safe\");\n }",
"main",
"{\n Scanner sn = new Scanner(System.in);\n \n int s = sn.nextInt();\n int w = sn.nextInt();\n \n if(s <= w) {\n System.out.print(\"unsafe\");\n return;\n }\n \n System.out.print(\"safe\");\n }",
"Scanner sn = new Scanner(System.in);",
"sn",
"new Scanner(System.in)",
"int s = sn.nextInt();",
"s",
"sn.nextInt()",
"sn.nextInt",
"sn",
"int w = sn.nextInt();",
"w",
"sn.nextInt()",
"sn.nextInt",
"sn",
"if(s <= w) {\n System.out.print(\"unsafe\");\n return;\n }",
"s <= w",
"s",
"w",
"{\n System.out.print(\"unsafe\");\n return;\n }",
"System.out.print(\"unsafe\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"return;",
"System.out.print(\"safe\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sn = new Scanner(System.in);\n \n int s = sn.nextInt();\n int w = sn.nextInt();\n \n if(s <= w) {\n System.out.print(\"unsafe\");\n return;\n }\n \n System.out.print(\"safe\");\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sn = new Scanner(System.in);\n \n int s = sn.nextInt();\n int w = sn.nextInt();\n \n if(s <= w) {\n System.out.print(\"unsafe\");\n return;\n }\n \n System.out.print(\"safe\");\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sn = new Scanner(System.in);
int s = sn.nextInt();
int w = sn.nextInt();
if(s <= w) {
System.out.print("unsafe");
return;
}
System.out.print("safe");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
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
],
[
43,
5
],
[
43,
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
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] |
[
"import java.util.*;\n\n\npublic class Main {\n public static void main(String[] args) \n {\n Scanner sc=new Scanner(System.in);\n int sheep=sc.nextInt(); //羊の数\n int wolves=sc.nextInt(); //狼の数\n \n if(sheep>wolves)\n {\n System.out.println(\"safe\"); //襲われない\n }\n else\n {\n System.out.println(\"unsafe\"); //襲われる\n }\n \n }\n}\n\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 sheep=sc.nextInt(); //羊の数\n int wolves=sc.nextInt(); //狼の数\n \n if(sheep>wolves)\n {\n System.out.println(\"safe\"); //襲われない\n }\n else\n {\n System.out.println(\"unsafe\"); //襲われる\n }\n \n }\n}",
"Main",
"public static void main(String[] args) \n {\n Scanner sc=new Scanner(System.in);\n int sheep=sc.nextInt(); //羊の数\n int wolves=sc.nextInt(); //狼の数\n \n if(sheep>wolves)\n {\n System.out.println(\"safe\"); //襲われない\n }\n else\n {\n System.out.println(\"unsafe\"); //襲われる\n }\n \n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n int sheep=sc.nextInt(); //羊の数\n int wolves=sc.nextInt(); //狼の数\n \n if(sheep>wolves)\n {\n System.out.println(\"safe\"); //襲われない\n }\n else\n {\n System.out.println(\"unsafe\"); //襲われる\n }\n \n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int sheep=sc.nextInt();",
"sheep",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int wolves=sc.nextInt();",
"wolves",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(sheep>wolves)\n {\n System.out.println(\"safe\"); //襲われない\n }\n else\n {\n System.out.println(\"unsafe\"); //襲われる\n }",
"sheep>wolves",
"sheep",
"wolves",
"{\n System.out.println(\"safe\"); //襲われない\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"{\n System.out.println(\"unsafe\"); //襲われる\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) \n {\n Scanner sc=new Scanner(System.in);\n int sheep=sc.nextInt(); //羊の数\n int wolves=sc.nextInt(); //狼の数\n \n if(sheep>wolves)\n {\n System.out.println(\"safe\"); //襲われない\n }\n else\n {\n System.out.println(\"unsafe\"); //襲われる\n }\n \n }\n}",
"public class Main {\n public static void main(String[] args) \n {\n Scanner sc=new Scanner(System.in);\n int sheep=sc.nextInt(); //羊の数\n int wolves=sc.nextInt(); //狼の数\n \n if(sheep>wolves)\n {\n System.out.println(\"safe\"); //襲われない\n }\n else\n {\n System.out.println(\"unsafe\"); //襲われる\n }\n \n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args)
{
Scanner sc=new Scanner(System.in);
int sheep=sc.nextInt(); //羊の数
int wolves=sc.nextInt(); //狼の数
if(sheep>wolves)
{
System.out.println("safe"); //襲われない
}
else
{
System.out.println("unsafe"); //襲われる
}
}
}
|
[
7,
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,
4,
18,
18,
13,
13,
8,
2,
13,
13,
17,
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
],
[
42,
11
],
[
42,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
33,
38
],
[
12,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.io.*;\nimport java.math.*;\nimport java.util.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint A = input.nextInt();\n\t\tint B = input.nextInt();\n\t\tSystem.out.println(A<=B? \"unsafe\":\"safe\");\n\t}\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint A = input.nextInt();\n\t\tint B = input.nextInt();\n\t\tSystem.out.println(A<=B? \"unsafe\":\"safe\");\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint A = input.nextInt();\n\t\tint B = input.nextInt();\n\t\tSystem.out.println(A<=B? \"unsafe\":\"safe\");\n\t}",
"main",
"{\n\t\tScanner input = new Scanner(System.in);\n\t\tint A = input.nextInt();\n\t\tint B = input.nextInt();\n\t\tSystem.out.println(A<=B? \"unsafe\":\"safe\");\n\t}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"int A = input.nextInt();",
"A",
"input.nextInt()",
"input.nextInt",
"input",
"int B = input.nextInt();",
"B",
"input.nextInt()",
"input.nextInt",
"input",
"System.out.println(A<=B? \"unsafe\":\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"A<=B? \"unsafe\":\"safe\"",
"A<=B",
"A",
"B",
"\"unsafe\"",
"\"safe\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint A = input.nextInt();\n\t\tint B = input.nextInt();\n\t\tSystem.out.println(A<=B? \"unsafe\":\"safe\");\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint A = input.nextInt();\n\t\tint B = input.nextInt();\n\t\tSystem.out.println(A<=B? \"unsafe\":\"safe\");\n\t}\n\n}",
"Main"
] |
import java.io.*;
import java.math.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int A = input.nextInt();
int B = input.nextInt();
System.out.println(A<=B? "unsafe":"safe");
}
}
|
[
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,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
13,
13,
17,
17,
23,
13,
6,
13,
41,
13,
41,
13,
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,
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,
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
],
[
177,
17
],
[
177,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
20,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
39,
44
],
[
18,
45
],
[
45,
46
],
[
177,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
47,
51
],
[
51,
52
],
[
47,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
53,
62
],
[
62,
63
],
[
47,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
67,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
77,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
66,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
47,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
94,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
104,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
93,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
47,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
124,
127
],
[
127,
128
],
[
47,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
136,
137
],
[
47,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
145,
146
],
[
47,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
149,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
154,
159
],
[
159,
160
],
[
159,
161
],
[
154,
162
],
[
162,
163
],
[
163,
164
],
[
154,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
166,
170
],
[
170,
171
],
[
149,
172
],
[
172,
173
],
[
147,
174
],
[
174,
175
],
[
0,
176
],
[
176,
177
],
[
176,
178
]
] |
[
"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\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tSystem.out.println(n <= m ? \"unsafe\" : \"safe\");\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\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 String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn 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\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\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\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tSystem.out.println(n <= m ? \"unsafe\" : \"safe\");\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\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 String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn 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\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tSystem.out.println(n <= m ? \"unsafe\" : \"safe\");\n\t}",
"main",
"{\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tSystem.out.println(n <= m ? \"unsafe\" : \"safe\");\n\t}",
"FastScanner sc = new FastScanner(System.in);",
"sc",
"new FastScanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int m = sc.nextInt();",
"m",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(n <= m ? \"unsafe\" : \"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"n <= m ? \"unsafe\" : \"safe\"",
"n <= m",
"n",
"m",
"\"unsafe\"",
"\"safe\"",
"String[] args",
"args",
"static class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\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 String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn 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\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}",
"FastScanner",
"private BufferedReader reader;",
"reader",
"private StringTokenizer tokenizer;",
"tokenizer",
"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 String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn 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\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}",
"nextLine",
"{\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn 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\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn 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\treturn 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\treturn 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\treturn reader.readLine();\n\t\t\t\t}",
"return reader.readLine();",
"reader.readLine()",
"reader.readLine",
"reader",
"return tokenizer.nextToken(\"\\n\");",
"tokenizer.nextToken(\"\\n\")",
"tokenizer.nextToken",
"tokenizer",
"\"\\n\"",
"public 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",
"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 double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"nextDouble",
"{\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}",
"nextLongArray",
"{\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextLong();",
"a[i] = nextLong()",
"a[i]",
"a",
"i",
"nextLong()",
"nextLong",
"return a;",
"a",
"int n",
"n",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tSystem.out.println(n <= m ? \"unsafe\" : \"safe\");\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\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 String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn 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\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tSystem.out.println(n <= m ? \"unsafe\" : \"safe\");\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\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 String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn 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\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\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 n = sc.nextInt();
int m = sc.nextInt();
System.out.println(n <= m ? "unsafe" : "safe");
}
static class FastScanner {
private BufferedReader reader;
private StringTokenizer tokenizer;
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());
}
public double nextDouble() {
return Double.parseDouble(next());
}
public long[] nextLongArray(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nextLong();
return a;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
38,
30,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
20,
23,
13,
12,
13,
30,
29,
4,
18,
36,
12,
13,
30,
29,
4,
18,
13,
4,
18,
36,
12,
13,
30,
29,
4,
18,
13,
4,
18,
36,
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,
18,
36,
29,
13,
23,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
18,
36,
13,
4,
18,
4,
18,
18,
36,
13,
17,
0,
18,
36,
13,
17,
12,
13,
30,
14,
40,
4,
13,
30,
4,
18,
36,
29,
18,
18,
36,
13,
40,
18,
36,
13,
12,
13,
30,
29,
2,
2,
18,
36,
13,
17,
2,
18,
18,
36,
13,
13,
18,
36,
13,
12,
13,
30,
14,
2,
18,
36,
13,
17,
30,
38,
5,
13,
30,
4,
18,
13,
30,
4,
18,
18,
36,
13,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
216,
5
],
[
216,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
28,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
6,
46
],
[
46,
47
],
[
216,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
48,
52
],
[
52,
53
],
[
48,
54
],
[
54,
55
],
[
48,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
56,
64
],
[
64,
65
],
[
48,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
48,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
80,
81
],
[
81,
82
],
[
48,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
90,
91
],
[
91,
92
],
[
48,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
105,
106
],
[
105,
107
],
[
100,
108
],
[
108,
109
],
[
109,
110
],
[
100,
111
],
[
112,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
118,
119
],
[
95,
120
],
[
120,
121
],
[
93,
122
],
[
122,
123
],
[
48,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
127,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
139,
146
],
[
126,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
48,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
155,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
154,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
48,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
181
],
[
176,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
183,
187
],
[
182,
188
],
[
188,
189
],
[
188,
190
],
[
48,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
195,
199
],
[
194,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
201,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
48,
214
],
[
0,
215
],
[
215,
216
],
[
215,
217
]
] |
[
"import java.io.*;\n\npublic class Main {\n public static void main(String[] args) {\n int S;\n int W;\n\n try (InputScanner is = new InputScanner(System.in)) {\n S = is.ni();\n W = is.ni();\n }\n\n if (W >= S) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n }\n\n //-------------------------------------------------------------------\n public static class InputScanner implements Closeable {\n private final BufferedReader br;\n private String[] element;\n private int elementIndex;\n\n public InputScanner(InputStream is) {\n this.br = new BufferedReader(new InputStreamReader(is));\n }\n\n public String next() {\n return this.nextElement();\n }\n\n //next int\n public int ni() {\n return Integer.parseInt(this.nextElement());\n }\n\n //next long\n public long li() {\n return Long.parseLong(this.nextElement());\n }\n\n //next int array\n public int[] nia(int n) {\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = this.ni();\n }\n return arr;\n }\n\n private void readLine() {\n try {\n this.element = this.br.readLine().split(\"\\\\s\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n this.elementIndex = 0;\n }\n\n private String nextElement() {\n if (!hasElement()) {\n this.readLine();\n }\n return this.element[this.elementIndex++];\n }\n\n private boolean hasElement() {\n return this.element != null && this.element.length > this.elementIndex;\n }\n\n @Override\n public void close() {\n if (this.br != null) {\n try {\n this.br.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n }\n//-------------------------------------------------------------------\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) {\n int S;\n int W;\n\n try (InputScanner is = new InputScanner(System.in)) {\n S = is.ni();\n W = is.ni();\n }\n\n if (W >= S) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n }\n\n //-------------------------------------------------------------------\n public static class InputScanner implements Closeable {\n private final BufferedReader br;\n private String[] element;\n private int elementIndex;\n\n public InputScanner(InputStream is) {\n this.br = new BufferedReader(new InputStreamReader(is));\n }\n\n public String next() {\n return this.nextElement();\n }\n\n //next int\n public int ni() {\n return Integer.parseInt(this.nextElement());\n }\n\n //next long\n public long li() {\n return Long.parseLong(this.nextElement());\n }\n\n //next int array\n public int[] nia(int n) {\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = this.ni();\n }\n return arr;\n }\n\n private void readLine() {\n try {\n this.element = this.br.readLine().split(\"\\\\s\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n this.elementIndex = 0;\n }\n\n private String nextElement() {\n if (!hasElement()) {\n this.readLine();\n }\n return this.element[this.elementIndex++];\n }\n\n private boolean hasElement() {\n return this.element != null && this.element.length > this.elementIndex;\n }\n\n @Override\n public void close() {\n if (this.br != null) {\n try {\n this.br.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n }\n//-------------------------------------------------------------------\n}",
"Main",
"public static void main(String[] args) {\n int S;\n int W;\n\n try (InputScanner is = new InputScanner(System.in)) {\n S = is.ni();\n W = is.ni();\n }\n\n if (W >= S) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n }",
"main",
"{\n int S;\n int W;\n\n try (InputScanner is = new InputScanner(System.in)) {\n S = is.ni();\n W = is.ni();\n }\n\n if (W >= S) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n }",
"int S;",
"S",
"int W;",
"W",
"try (InputScanner is = new InputScanner(System.in)) {\n S = is.ni();\n W = is.ni();\n }",
"{\n S = is.ni();\n W = is.ni();\n }",
"InputScanner is = new InputScanner(System.in)",
"InputScanner is = new InputScanner(System.in)",
"new InputScanner(System.in)",
"S = is.ni()",
"S",
"is.ni()",
"is.ni",
"is",
"W = is.ni()",
"W",
"is.ni()",
"is.ni",
"is",
"if (W >= S) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }",
"W >= S",
"W",
"S",
"{\n System.out.println(\"unsafe\");\n }",
"System.out.println(\"unsafe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"unsafe\"",
"{\n System.out.println(\"safe\");\n }",
"System.out.println(\"safe\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"safe\"",
"String[] args",
"args",
"public static class InputScanner implements Closeable {\n private final BufferedReader br;\n private String[] element;\n private int elementIndex;\n\n public InputScanner(InputStream is) {\n this.br = new BufferedReader(new InputStreamReader(is));\n }\n\n public String next() {\n return this.nextElement();\n }\n\n //next int\n public int ni() {\n return Integer.parseInt(this.nextElement());\n }\n\n //next long\n public long li() {\n return Long.parseLong(this.nextElement());\n }\n\n //next int array\n public int[] nia(int n) {\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = this.ni();\n }\n return arr;\n }\n\n private void readLine() {\n try {\n this.element = this.br.readLine().split(\"\\\\s\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n this.elementIndex = 0;\n }\n\n private String nextElement() {\n if (!hasElement()) {\n this.readLine();\n }\n return this.element[this.elementIndex++];\n }\n\n private boolean hasElement() {\n return this.element != null && this.element.length > this.elementIndex;\n }\n\n @Override\n public void close() {\n if (this.br != null) {\n try {\n this.br.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n }",
"InputScanner",
"private final BufferedReader br;",
"br",
"private String[] element;",
"element",
"private int elementIndex;",
"elementIndex",
"public InputScanner(InputStream is) {\n this.br = new BufferedReader(new InputStreamReader(is));\n }",
"InputScanner",
"{\n this.br = new BufferedReader(new InputStreamReader(is));\n }",
"this.br = new BufferedReader(new InputStreamReader(is))",
"this.br",
"this",
"this.br",
"new BufferedReader(new InputStreamReader(is))",
"InputStream is",
"is",
"public String next() {\n return this.nextElement();\n }",
"next",
"{\n return this.nextElement();\n }",
"return this.nextElement();",
"this.nextElement()",
"this.nextElement",
"this",
"//next int\n public int ni() {\n return Integer.parseInt(this.nextElement());\n }",
"ni",
"{\n return Integer.parseInt(this.nextElement());\n }",
"return Integer.parseInt(this.nextElement());",
"Integer.parseInt(this.nextElement())",
"Integer.parseInt",
"Integer",
"this.nextElement()",
"this.nextElement",
"this",
"//next long\n public long li() {\n return Long.parseLong(this.nextElement());\n }",
"li",
"{\n return Long.parseLong(this.nextElement());\n }",
"return Long.parseLong(this.nextElement());",
"Long.parseLong(this.nextElement())",
"Long.parseLong",
"Long",
"this.nextElement()",
"this.nextElement",
"this",
"//next int array\n public int[] nia(int n) {\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = this.ni();\n }\n return arr;\n }",
"nia",
"{\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = this.ni();\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] = this.ni();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n arr[i] = this.ni();\n }",
"{\n arr[i] = this.ni();\n }",
"arr[i] = this.ni()",
"arr[i]",
"arr",
"i",
"this.ni()",
"this.ni",
"this",
"return arr;",
"arr",
"int n",
"n",
"private void readLine() {\n try {\n this.element = this.br.readLine().split(\"\\\\s\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n this.elementIndex = 0;\n }",
"readLine",
"{\n try {\n this.element = this.br.readLine().split(\"\\\\s\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n this.elementIndex = 0;\n }",
"try {\n this.element = this.br.readLine().split(\"\\\\s\");\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 this.element = this.br.readLine().split(\"\\\\s\");\n }",
"this.element = this.br.readLine().split(\"\\\\s\")",
"this.element",
"this",
"this.element",
"this.br.readLine().split(\"\\\\s\")",
"this.br.readLine().split",
"this.br.readLine()",
"this.br.readLine",
"this.br",
"this",
"this.br",
"\"\\\\s\"",
"this.elementIndex = 0",
"this.elementIndex",
"this",
"this.elementIndex",
"0",
"private String nextElement() {\n if (!hasElement()) {\n this.readLine();\n }\n return this.element[this.elementIndex++];\n }",
"nextElement",
"{\n if (!hasElement()) {\n this.readLine();\n }\n return this.element[this.elementIndex++];\n }",
"if (!hasElement()) {\n this.readLine();\n }",
"!hasElement()",
"hasElement()",
"hasElement",
"{\n this.readLine();\n }",
"this.readLine()",
"this.readLine",
"this",
"return this.element[this.elementIndex++];",
"this.element[this.elementIndex++]",
"this.element",
"this",
"this.element",
"this.elementIndex++",
"this.elementIndex",
"this",
"this.elementIndex",
"private boolean hasElement() {\n return this.element != null && this.element.length > this.elementIndex;\n }",
"hasElement",
"{\n return this.element != null && this.element.length > this.elementIndex;\n }",
"return this.element != null && this.element.length > this.elementIndex;",
"this.element != null && this.element.length > this.elementIndex",
"this.element != null",
"this.element",
"this",
"this.element",
"null",
"this.element.length > this.elementIndex",
"this.element.length",
"this.element",
"this",
"this.element",
"this.element.length",
"this.elementIndex",
"this",
"this.elementIndex",
"@Override\n public void close() {\n if (this.br != null) {\n try {\n this.br.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }",
"close",
"{\n if (this.br != null) {\n try {\n this.br.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }",
"if (this.br != null) {\n try {\n this.br.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"this.br != null",
"this.br",
"this",
"this.br",
"null",
"{\n try {\n this.br.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n this.br.close();\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 this.br.close();\n }",
"this.br.close()",
"this.br.close",
"this.br",
"this",
"this.br",
"Closeable",
"public class Main {\n public static void main(String[] args) {\n int S;\n int W;\n\n try (InputScanner is = new InputScanner(System.in)) {\n S = is.ni();\n W = is.ni();\n }\n\n if (W >= S) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n }\n\n //-------------------------------------------------------------------\n public static class InputScanner implements Closeable {\n private final BufferedReader br;\n private String[] element;\n private int elementIndex;\n\n public InputScanner(InputStream is) {\n this.br = new BufferedReader(new InputStreamReader(is));\n }\n\n public String next() {\n return this.nextElement();\n }\n\n //next int\n public int ni() {\n return Integer.parseInt(this.nextElement());\n }\n\n //next long\n public long li() {\n return Long.parseLong(this.nextElement());\n }\n\n //next int array\n public int[] nia(int n) {\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = this.ni();\n }\n return arr;\n }\n\n private void readLine() {\n try {\n this.element = this.br.readLine().split(\"\\\\s\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n this.elementIndex = 0;\n }\n\n private String nextElement() {\n if (!hasElement()) {\n this.readLine();\n }\n return this.element[this.elementIndex++];\n }\n\n private boolean hasElement() {\n return this.element != null && this.element.length > this.elementIndex;\n }\n\n @Override\n public void close() {\n if (this.br != null) {\n try {\n this.br.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n }\n//-------------------------------------------------------------------\n}",
"public class Main {\n public static void main(String[] args) {\n int S;\n int W;\n\n try (InputScanner is = new InputScanner(System.in)) {\n S = is.ni();\n W = is.ni();\n }\n\n if (W >= S) {\n System.out.println(\"unsafe\");\n } else {\n System.out.println(\"safe\");\n }\n\n }\n\n //-------------------------------------------------------------------\n public static class InputScanner implements Closeable {\n private final BufferedReader br;\n private String[] element;\n private int elementIndex;\n\n public InputScanner(InputStream is) {\n this.br = new BufferedReader(new InputStreamReader(is));\n }\n\n public String next() {\n return this.nextElement();\n }\n\n //next int\n public int ni() {\n return Integer.parseInt(this.nextElement());\n }\n\n //next long\n public long li() {\n return Long.parseLong(this.nextElement());\n }\n\n //next int array\n public int[] nia(int n) {\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = this.ni();\n }\n return arr;\n }\n\n private void readLine() {\n try {\n this.element = this.br.readLine().split(\"\\\\s\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n this.elementIndex = 0;\n }\n\n private String nextElement() {\n if (!hasElement()) {\n this.readLine();\n }\n return this.element[this.elementIndex++];\n }\n\n private boolean hasElement() {\n return this.element != null && this.element.length > this.elementIndex;\n }\n\n @Override\n public void close() {\n if (this.br != null) {\n try {\n this.br.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n }\n//-------------------------------------------------------------------\n}",
"Main"
] |
import java.io.*;
public class Main {
public static void main(String[] args) {
int S;
int W;
try (InputScanner is = new InputScanner(System.in)) {
S = is.ni();
W = is.ni();
}
if (W >= S) {
System.out.println("unsafe");
} else {
System.out.println("safe");
}
}
//-------------------------------------------------------------------
public static class InputScanner implements Closeable {
private final BufferedReader br;
private String[] element;
private int elementIndex;
public InputScanner(InputStream is) {
this.br = new BufferedReader(new InputStreamReader(is));
}
public String next() {
return this.nextElement();
}
//next int
public int ni() {
return Integer.parseInt(this.nextElement());
}
//next long
public long li() {
return Long.parseLong(this.nextElement());
}
//next int array
public int[] nia(int n) {
int[] arr = new int[n];
for (int i = 0; i < n; i++) {
arr[i] = this.ni();
}
return arr;
}
private void readLine() {
try {
this.element = this.br.readLine().split("\\s");
} catch (IOException e) {
e.printStackTrace();
}
this.elementIndex = 0;
}
private String nextElement() {
if (!hasElement()) {
this.readLine();
}
return this.element[this.elementIndex++];
}
private boolean hasElement() {
return this.element != null && this.element.length > this.elementIndex;
}
@Override
public void close() {
if (this.br != null) {
try {
this.br.close();
} catch (IOException e) {
e.printStackTrace();
}
}
}
}
//-------------------------------------------------------------------
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.