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,
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 scanner = new Scanner(System.in);\n\n long X = scanner.nextLong();\n long a = 100;\n int t = 0;\n while (a < X) {\n a += a / 100;\n t++;\n }\n System.out.println(t);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long X = scanner.nextLong();\n long a = 100;\n int t = 0;\n while (a < X) {\n a += a / 100;\n t++;\n }\n System.out.println(t);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long X = scanner.nextLong();\n long a = 100;\n int t = 0;\n while (a < X) {\n a += a / 100;\n t++;\n }\n System.out.println(t);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n long X = scanner.nextLong();\n long a = 100;\n int t = 0;\n while (a < X) {\n a += a / 100;\n t++;\n }\n System.out.println(t);\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 t = 0;",
"t",
"0",
"while (a < X) {\n a += a / 100;\n t++;\n }",
"a < X",
"a",
"X",
"{\n a += a / 100;\n t++;\n }",
"a += a / 100",
"a",
"a / 100",
"a",
"100",
"t++",
"t",
"System.out.println(t)",
"System.out.println",
"System.out",
"System",
"System.out",
"t",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long X = scanner.nextLong();\n long a = 100;\n int t = 0;\n while (a < X) {\n a += a / 100;\n t++;\n }\n System.out.println(t);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long X = scanner.nextLong();\n long a = 100;\n int t = 0;\n while (a < X) {\n a += a / 100;\n t++;\n }\n System.out.println(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 = scanner.nextLong();
long a = 100;
int t = 0;
while (a < X) {
a += a / 100;
t++;
}
System.out.println(t);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
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,
41,
13,
2,
2,
13,
17,
17,
0,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
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,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
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
],
[
241,
14
],
[
241,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
20,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
17,
28
],
[
28,
29
],
[
28,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
17,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
37,
41
],
[
37,
42
],
[
17,
43
],
[
43,
44
],
[
44,
45
],
[
15,
46
],
[
46,
47
],
[
241,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
52,
58
],
[
58,
59
],
[
58,
60
],
[
52,
61
],
[
61,
62
],
[
61,
63
],
[
52,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
68,
76
],
[
76,
77
],
[
76,
78
],
[
68,
79
],
[
79,
80
],
[
52,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
50,
87
],
[
87,
88
],
[
50,
89
],
[
89,
90
],
[
50,
91
],
[
91,
92
],
[
241,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
93,
97
],
[
97,
98
],
[
97,
99
],
[
93,
101
],
[
101,
102
],
[
93,
103
],
[
103,
104
],
[
93,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
105,
113
],
[
113,
114
],
[
93,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
118,
123
],
[
123,
124
],
[
117,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
133,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
129,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
150,
151
],
[
151,
152
],
[
117,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
93,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
160,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
160,
173
],
[
173,
174
],
[
173,
175
],
[
160,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
176,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
180,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
160,
189
],
[
189,
190
],
[
189,
191
],
[
160,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
192,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
197,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
203,
205
],
[
197,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
160,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
93,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
217,
218
],
[
221,
219
],
[
231,
220
],
[
228,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
221,
225
],
[
225,
226
],
[
225,
227
],
[
228,
228
],
[
228,
229
],
[
228,
230
],
[
231,
231
],
[
231,
232
],
[
231,
233
],
[
221,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
214,
238
],
[
238,
239
],
[
0,
240
],
[
240,
241
],
[
240,
242
]
] |
[
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author Spandan Mishra\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 B1 solver = new B1();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B1 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n long aim = in.readLong();\n long pv = 100;\n long time = 0;\n while (pv < aim) {\n long fv = (long) (pv * 101.0 / 100);\n pv = fv;\n time++;\n }\n\n System.out.println(time);\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\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public long readLong() {\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 do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n }\n}\n",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"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 B1 solver = new B1();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B1 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n long aim = in.readLong();\n long pv = 100;\n long time = 0;\n while (pv < aim) {\n long fv = (long) (pv * 101.0 / 100);\n pv = fv;\n time++;\n }\n\n System.out.println(time);\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\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public long readLong() {\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 do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\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 B1 solver = new B1();\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 B1 solver = new B1();\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)",
"B1 solver = new B1();",
"solver",
"new B1()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class B1 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n long aim = in.readLong();\n long pv = 100;\n long time = 0;\n while (pv < aim) {\n long fv = (long) (pv * 101.0 / 100);\n pv = fv;\n time++;\n }\n\n System.out.println(time);\n }\n\n }",
"B1",
"public void solve(int testNumber, InputReader in, PrintWriter out) {\n long aim = in.readLong();\n long pv = 100;\n long time = 0;\n while (pv < aim) {\n long fv = (long) (pv * 101.0 / 100);\n pv = fv;\n time++;\n }\n\n System.out.println(time);\n }",
"solve",
"{\n long aim = in.readLong();\n long pv = 100;\n long time = 0;\n while (pv < aim) {\n long fv = (long) (pv * 101.0 / 100);\n pv = fv;\n time++;\n }\n\n System.out.println(time);\n }",
"long aim = in.readLong();",
"aim",
"in.readLong()",
"in.readLong",
"in",
"long pv = 100;",
"pv",
"100",
"long time = 0;",
"time",
"0",
"while (pv < aim) {\n long fv = (long) (pv * 101.0 / 100);\n pv = fv;\n time++;\n }",
"pv < aim",
"pv",
"aim",
"{\n long fv = (long) (pv * 101.0 / 100);\n pv = fv;\n time++;\n }",
"long fv = (long) (pv * 101.0 / 100);",
"fv",
"(long) (pv * 101.0 / 100)",
"pv * 101.0",
"pv",
"101.0",
"100",
"pv = fv",
"pv",
"fv",
"time++",
"time",
"System.out.println(time)",
"System.out.println",
"System.out",
"System",
"System.out",
"time",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"PrintWriter out",
"out",
"static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public long readLong() {\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 do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\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",
"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 RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1)\n throw new RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"if (numChars == -1)\n throw new RuntimeException();",
"numChars == -1",
"numChars",
"-1",
"1",
"throw new RuntimeException();",
"new RuntimeException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\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 RuntimeException();\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 RuntimeException();\n }",
"catch (IOException e) {\n throw new RuntimeException();\n }",
"IOException e",
"{\n throw new RuntimeException();\n }",
"throw new RuntimeException();",
"new RuntimeException()",
"{\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 long readLong() {\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 do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"readLong",
"{\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 do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res *= 10;\n res += c - '0';\n c = read();\n }",
"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 return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public 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 B1 solver = new B1();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B1 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n long aim = in.readLong();\n long pv = 100;\n long time = 0;\n while (pv < aim) {\n long fv = (long) (pv * 101.0 / 100);\n pv = fv;\n time++;\n }\n\n System.out.println(time);\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\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public long readLong() {\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 do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\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 B1 solver = new B1();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B1 {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n long aim = in.readLong();\n long pv = 100;\n long time = 0;\n while (pv < aim) {\n long fv = (long) (pv * 101.0 / 100);\n pv = fv;\n time++;\n }\n\n System.out.println(time);\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\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new RuntimeException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new RuntimeException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public long readLong() {\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 do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n }\n}",
"Main"
] |
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author Spandan Mishra
*/
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);
B1 solver = new B1();
solver.solve(1, in, out);
out.close();
}
static class B1 {
public void solve(int testNumber, InputReader in, PrintWriter out) {
long aim = in.readLong();
long pv = 100;
long time = 0;
while (pv < aim) {
long fv = (long) (pv * 101.0 / 100);
pv = fv;
time++;
}
System.out.println(time);
}
}
static class InputReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int read() {
if (numChars == -1)
throw new RuntimeException();
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new RuntimeException();
}
if (numChars <= 0)
return -1;
}
return buf[curChar++];
}
public long readLong() {
int c = read();
while (isSpaceChar(c))
c = read();
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
long res = 0;
do {
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public boolean isSpaceChar(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
}
}
|
[
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,
2,
13,
17,
14,
2,
13,
13,
3,
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
],
[
23,
25
],
[
26,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
26,
37
],
[
37,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
6,
45
],
[
45,
46
]
] |
[
"import java.util.Scanner;\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = 100;\n\t\tint c = 1;\n\t\tfor(;;) {\n\t\t\tb += b/100;\n\t\t\tif(a <= b) break;\n\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = 100;\n\t\tint c = 1;\n\t\tfor(;;) {\n\t\t\tb += b/100;\n\t\t\tif(a <= b) break;\n\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = 100;\n\t\tint c = 1;\n\t\tfor(;;) {\n\t\t\tb += b/100;\n\t\t\tif(a <= b) break;\n\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = 100;\n\t\tint c = 1;\n\t\tfor(;;) {\n\t\t\tb += b/100;\n\t\t\tif(a <= b) break;\n\t\t\tc++;\n\t\t}\n\t\tSystem.out.println(c);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = 100;",
"b",
"100",
"int c = 1;",
"c",
"1",
"for(;;) {\n\t\t\tb += b/100;\n\t\t\tif(a <= b) break;\n\t\t\tc++;\n\t\t}",
";",
"{\n\t\t\tb += b/100;\n\t\t\tif(a <= b) break;\n\t\t\tc++;\n\t\t}",
"{\n\t\t\tb += b/100;\n\t\t\tif(a <= b) break;\n\t\t\tc++;\n\t\t}",
"b += b/100",
"b",
"b/100",
"b",
"100",
"if(a <= b) break;",
"a <= b",
"a",
"b",
"break;",
"c++",
"c",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String[] args",
"args"
] |
import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = 100;
int c = 1;
for(;;) {
b += b/100;
if(a <= b) break;
c++;
}
System.out.println(c);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
47,
8
],
[
47,
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
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
30,
36
],
[
36,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
9,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] |
[
"import java.util.*;\nimport java.math.BigInteger;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long money = 100;\n long goal = sc.nextLong();\n int count = 0;\n while (money < goal) {\n money += money / 100;\n count++;\n }\n System.out.println(count);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long money = 100;\n long goal = sc.nextLong();\n int count = 0;\n while (money < goal) {\n money += money / 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 long money = 100;\n long goal = sc.nextLong();\n int count = 0;\n while (money < goal) {\n money += money / 100;\n count++;\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long money = 100;\n long goal = sc.nextLong();\n int count = 0;\n while (money < goal) {\n money += money / 100;\n count++;\n }\n System.out.println(count);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long money = 100;",
"money",
"100",
"long goal = sc.nextLong();",
"goal",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int count = 0;",
"count",
"0",
"while (money < goal) {\n money += money / 100;\n count++;\n }",
"money < goal",
"money",
"goal",
"{\n money += money / 100;\n count++;\n }",
"money += money / 100",
"money",
"money / 100",
"money",
"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 long money = 100;\n long goal = sc.nextLong();\n int count = 0;\n while (money < goal) {\n money += money / 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 long money = 100;\n long goal = sc.nextLong();\n int count = 0;\n while (money < goal) {\n money += money / 100;\n count++;\n }\n System.out.println(count);\n }\n}",
"Main"
] |
import java.util.*;
import java.math.BigInteger;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long money = 100;
long goal = sc.nextLong();
int count = 0;
while (money < goal) {
money += money / 100;
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,
12,
13,
30,
4,
18,
20,
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
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
50,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] |
[
"import java.util.*;\n\npublic class Main{\n void solve(){\n Scanner scan = new Scanner(System.in);\n long x = scan.nextLong();\n long b = 100;\n int out = 0;\n while(b < x){\n b += b / 100;\n out++;\n }\n System.out.println(out);\n }\n\n public static void main(String[] args){\n new Main().solve();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n void solve(){\n Scanner scan = new Scanner(System.in);\n long x = scan.nextLong();\n long b = 100;\n int out = 0;\n while(b < x){\n b += b / 100;\n out++;\n }\n System.out.println(out);\n }\n\n public static void main(String[] args){\n new Main().solve();\n }\n}",
"Main",
"void solve(){\n Scanner scan = new Scanner(System.in);\n long x = scan.nextLong();\n long b = 100;\n int out = 0;\n while(b < x){\n b += b / 100;\n out++;\n }\n System.out.println(out);\n }",
"solve",
"{\n Scanner scan = new Scanner(System.in);\n long x = scan.nextLong();\n long b = 100;\n int out = 0;\n while(b < x){\n b += b / 100;\n out++;\n }\n System.out.println(out);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long x = scan.nextLong();",
"x",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long b = 100;",
"b",
"100",
"int out = 0;",
"out",
"0",
"while(b < x){\n b += b / 100;\n out++;\n }",
"b < x",
"b",
"x",
"{\n b += b / 100;\n out++;\n }",
"b += b / 100",
"b",
"b / 100",
"b",
"100",
"out++",
"out",
"System.out.println(out)",
"System.out.println",
"System.out",
"System",
"System.out",
"out",
"public static void main(String[] args){\n new Main().solve();\n }",
"main",
"{\n new Main().solve();\n }",
"new Main().solve()",
"new Main().solve",
"new Main()",
"String[] args",
"args",
"public class Main{\n void solve(){\n Scanner scan = new Scanner(System.in);\n long x = scan.nextLong();\n long b = 100;\n int out = 0;\n while(b < x){\n b += b / 100;\n out++;\n }\n System.out.println(out);\n }\n\n public static void main(String[] args){\n new Main().solve();\n }\n}",
"public class Main{\n void solve(){\n Scanner scan = new Scanner(System.in);\n long x = scan.nextLong();\n long b = 100;\n int out = 0;\n while(b < x){\n b += b / 100;\n out++;\n }\n System.out.println(out);\n }\n\n public static void main(String[] args){\n new Main().solve();\n }\n}",
"Main"
] |
import java.util.*;
public class Main{
void solve(){
Scanner scan = new Scanner(System.in);
long x = scan.nextLong();
long b = 100;
int out = 0;
while(b < x){
b += b / 100;
out++;
}
System.out.println(out);
}
public static void main(String[] args){
new Main().solve();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
17,
42,
2,
4,
18,
13,
13,
17,
30,
0,
13,
4,
18,
4,
18,
13,
13,
17,
18,
13,
13,
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
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
11,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
11,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
34,
39
],
[
33,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
43,
49
],
[
43,
50
],
[
50,
51
],
[
50,
52
],
[
40,
53
],
[
53,
54
],
[
11,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
9,
61
],
[
61,
62
]
] |
[
"import java.util.*;\nimport java.math.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigDecimal X = new BigDecimal(sc.next());\n int ans = 0;\n BigDecimal RATE = BigDecimal.valueOf(1.01);\n BigDecimal deposit = BigDecimal.valueOf(100);\n while (deposit.compareTo(X) < 0) {\n deposit = deposit.multiply(RATE).setScale(0, RoundingMode.DOWN);\n ans++;\n }\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigDecimal X = new BigDecimal(sc.next());\n int ans = 0;\n BigDecimal RATE = BigDecimal.valueOf(1.01);\n BigDecimal deposit = BigDecimal.valueOf(100);\n while (deposit.compareTo(X) < 0) {\n deposit = deposit.multiply(RATE).setScale(0, RoundingMode.DOWN);\n ans++;\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigDecimal X = new BigDecimal(sc.next());\n int ans = 0;\n BigDecimal RATE = BigDecimal.valueOf(1.01);\n BigDecimal deposit = BigDecimal.valueOf(100);\n while (deposit.compareTo(X) < 0) {\n deposit = deposit.multiply(RATE).setScale(0, RoundingMode.DOWN);\n ans++;\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n BigDecimal X = new BigDecimal(sc.next());\n int ans = 0;\n BigDecimal RATE = BigDecimal.valueOf(1.01);\n BigDecimal deposit = BigDecimal.valueOf(100);\n while (deposit.compareTo(X) < 0) {\n deposit = deposit.multiply(RATE).setScale(0, RoundingMode.DOWN);\n ans++;\n }\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigDecimal X = new BigDecimal(sc.next());",
"X",
"new BigDecimal(sc.next())",
"int ans = 0;",
"ans",
"0",
"BigDecimal RATE = BigDecimal.valueOf(1.01);",
"RATE",
"BigDecimal.valueOf(1.01)",
"BigDecimal.valueOf",
"BigDecimal",
"1.01",
"BigDecimal deposit = BigDecimal.valueOf(100);",
"deposit",
"BigDecimal.valueOf(100)",
"BigDecimal.valueOf",
"BigDecimal",
"100",
"while (deposit.compareTo(X) < 0) {\n deposit = deposit.multiply(RATE).setScale(0, RoundingMode.DOWN);\n ans++;\n }",
"deposit.compareTo(X) < 0",
"deposit.compareTo(X)",
"deposit.compareTo",
"deposit",
"X",
"0",
"{\n deposit = deposit.multiply(RATE).setScale(0, RoundingMode.DOWN);\n ans++;\n }",
"deposit = deposit.multiply(RATE).setScale(0, RoundingMode.DOWN)",
"deposit",
"deposit.multiply(RATE).setScale(0, RoundingMode.DOWN)",
"deposit.multiply(RATE).setScale",
"deposit.multiply(RATE)",
"deposit.multiply",
"deposit",
"RATE",
"0",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
] |
import java.util.*;
import java.math.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
BigDecimal X = new BigDecimal(sc.next());
int ans = 0;
BigDecimal RATE = BigDecimal.valueOf(1.01);
BigDecimal deposit = BigDecimal.valueOf(100);
while (deposit.compareTo(X) < 0) {
deposit = deposit.multiply(RATE).setScale(0, RoundingMode.DOWN);
ans++;
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
2,
13,
13,
13,
23,
13,
23,
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,
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
],
[
167,
17
],
[
167,
18
],
[
18,
19
],
[
18,
20
],
[
167,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
23,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
21,
37
],
[
37,
38
],
[
21,
39
],
[
39,
40
],
[
167,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
43,
52
],
[
52,
53
],
[
52,
54
],
[
43,
55
],
[
55,
56
],
[
55,
57
],
[
43,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
62,
68
],
[
68,
69
],
[
43,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
41,
76
],
[
76,
77
],
[
167,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
78,
82
],
[
82,
83
],
[
78,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
78,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
93,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
103,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
92,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
78,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
125,
126
],
[
78,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
134,
135
],
[
78,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
143,
144
],
[
78,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
151,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
147,
164
],
[
164,
165
],
[
0,
166
],
[
166,
167
],
[
166,
168
]
] |
[
"import java.io.*;\n\nimport java.math.BigInteger;\nimport java.util.*;\n\nimport java.util.ArrayList;\n\nimport java.util.Scanner;\n\n\npublic class Main {\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 static final int mod = 1000000007;\n\n public static int gcd(int a, int b)\n {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }\n\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x=sc.nextLong();\n long p=100;\n long y=0;\n\n while(p<x)\n {\n p+=p/100;\n y++;\n }\n System.out.println(y);\n\n }\n}\n\n\n\n\n\n\n",
"import java.io.*;",
"io.*",
"java",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.*;",
"util.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\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 static final int mod = 1000000007;\n\n public static int gcd(int a, int b)\n {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }\n\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x=sc.nextLong();\n long p=100;\n long y=0;\n\n while(p<x)\n {\n p+=p/100;\n y++;\n }\n System.out.println(y);\n\n }\n}",
"Main",
"static final int mod = 1000000007;",
"mod",
"1000000007",
"public static int gcd(int a, int b)\n {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }",
"gcd",
"{\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }",
"if (a == 0)\n return b;",
"a == 0",
"a",
"0",
"return b;",
"b",
"return gcd(b % a, a);",
"gcd(b % a, a)",
"gcd",
"b % a",
"b",
"a",
"a",
"int a",
"a",
"int b",
"b",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x=sc.nextLong();\n long p=100;\n long y=0;\n\n while(p<x)\n {\n p+=p/100;\n y++;\n }\n System.out.println(y);\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x=sc.nextLong();\n long p=100;\n long y=0;\n\n while(p<x)\n {\n p+=p/100;\n y++;\n }\n System.out.println(y);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x=sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long p=100;",
"p",
"100",
"long y=0;",
"y",
"0",
"while(p<x)\n {\n p+=p/100;\n y++;\n }",
"p<x",
"p",
"x",
"{\n p+=p/100;\n y++;\n }",
"p+=p/100",
"p",
"p/100",
"p",
"100",
"y++",
"y",
"System.out.println(y)",
"System.out.println",
"System.out",
"System",
"System.out",
"y",
"String[] args",
"args",
"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\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 static final int mod = 1000000007;\n\n public static int gcd(int a, int b)\n {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }\n\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x=sc.nextLong();\n long p=100;\n long y=0;\n\n while(p<x)\n {\n p+=p/100;\n y++;\n }\n System.out.println(y);\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\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 static final int mod = 1000000007;\n\n public static int gcd(int a, int b)\n {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }\n\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x=sc.nextLong();\n long p=100;\n long y=0;\n\n while(p<x)\n {\n p+=p/100;\n y++;\n }\n System.out.println(y);\n\n }\n}",
"Main"
] |
import java.io.*;
import java.math.BigInteger;
import java.util.*;
import java.util.ArrayList;
import java.util.Scanner;
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 final int mod = 1000000007;
public static int gcd(int a, int b)
{
if (a == 0)
return b;
return gcd(b % a, a);
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long x=sc.nextLong();
long p=100;
long y=0;
while(p<x)
{
p+=p/100;
y++;
}
System.out.println(y);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
4,
18,
13,
13,
17,
18,
13,
13,
14,
2,
2,
4,
18,
13,
13,
17,
2,
4,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
13,
3,
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
],
[
80,
11
],
[
80,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
14,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
42,
48
],
[
42,
49
],
[
49,
50
],
[
49,
51
],
[
39,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
54,
59
],
[
53,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
60,
65
],
[
52,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
66,
73
],
[
14,
74
],
[
74,
75
],
[
75,
76
],
[
12,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] |
[
"import java.math.BigDecimal;\nimport java.sql.Array;\nimport java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n \t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tBigDecimal bd1 = new BigDecimal(sc.next());\n\t\tBigDecimal bd = new BigDecimal(\"100\");\n\t\tBigDecimal bd2 = new BigDecimal(\"1.01\");\n\t\tfor (int i = 1; i < 10000; i++) {\n\t\t\tbd = bd.multiply(bd2).setScale(0, BigDecimal.ROUND_DOWN);\n\t\t\tif (bd.compareTo(bd1)==1||bd.compareTo(bd1)==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}\t\n\t\t}\n\t\tsc.close();\n }\t\n\t\t\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.sql.Array;",
"Array",
"java.sql",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n \t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tBigDecimal bd1 = new BigDecimal(sc.next());\n\t\tBigDecimal bd = new BigDecimal(\"100\");\n\t\tBigDecimal bd2 = new BigDecimal(\"1.01\");\n\t\tfor (int i = 1; i < 10000; i++) {\n\t\t\tbd = bd.multiply(bd2).setScale(0, BigDecimal.ROUND_DOWN);\n\t\t\tif (bd.compareTo(bd1)==1||bd.compareTo(bd1)==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}\t\n\t\t}\n\t\tsc.close();\n }\t\n\t\t\n}",
"Main",
"public static void main(String[] args){\n \t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tBigDecimal bd1 = new BigDecimal(sc.next());\n\t\tBigDecimal bd = new BigDecimal(\"100\");\n\t\tBigDecimal bd2 = new BigDecimal(\"1.01\");\n\t\tfor (int i = 1; i < 10000; i++) {\n\t\t\tbd = bd.multiply(bd2).setScale(0, BigDecimal.ROUND_DOWN);\n\t\t\tif (bd.compareTo(bd1)==1||bd.compareTo(bd1)==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}\t\n\t\t}\n\t\tsc.close();\n }",
"main",
"{\n \t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tBigDecimal bd1 = new BigDecimal(sc.next());\n\t\tBigDecimal bd = new BigDecimal(\"100\");\n\t\tBigDecimal bd2 = new BigDecimal(\"1.01\");\n\t\tfor (int i = 1; i < 10000; i++) {\n\t\t\tbd = bd.multiply(bd2).setScale(0, BigDecimal.ROUND_DOWN);\n\t\t\tif (bd.compareTo(bd1)==1||bd.compareTo(bd1)==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}\t\n\t\t}\n\t\tsc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigDecimal bd1 = new BigDecimal(sc.next());",
"bd1",
"new BigDecimal(sc.next())",
"BigDecimal bd = new BigDecimal(\"100\");",
"bd",
"new BigDecimal(\"100\")",
"BigDecimal bd2 = new BigDecimal(\"1.01\");",
"bd2",
"new BigDecimal(\"1.01\")",
"for (int i = 1; i < 10000; i++) {\n\t\t\tbd = bd.multiply(bd2).setScale(0, BigDecimal.ROUND_DOWN);\n\t\t\tif (bd.compareTo(bd1)==1||bd.compareTo(bd1)==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}\t\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < 10000",
"i",
"10000",
"i++",
"i++",
"i",
"{\n\t\t\tbd = bd.multiply(bd2).setScale(0, BigDecimal.ROUND_DOWN);\n\t\t\tif (bd.compareTo(bd1)==1||bd.compareTo(bd1)==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}\t\n\t\t}",
"{\n\t\t\tbd = bd.multiply(bd2).setScale(0, BigDecimal.ROUND_DOWN);\n\t\t\tif (bd.compareTo(bd1)==1||bd.compareTo(bd1)==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}\t\n\t\t}",
"bd = bd.multiply(bd2).setScale(0, BigDecimal.ROUND_DOWN)",
"bd",
"bd.multiply(bd2).setScale(0, BigDecimal.ROUND_DOWN)",
"bd.multiply(bd2).setScale",
"bd.multiply(bd2)",
"bd.multiply",
"bd",
"bd2",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"if (bd.compareTo(bd1)==1||bd.compareTo(bd1)==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}",
"bd.compareTo(bd1)==1||bd.compareTo(bd1)==0",
"bd.compareTo(bd1)==1",
"bd.compareTo(bd1)",
"bd.compareTo",
"bd",
"bd1",
"1",
"bd.compareTo(bd1)==0",
"bd.compareTo(bd1)",
"bd.compareTo",
"bd",
"bd1",
"0",
"{\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;",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n \t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tBigDecimal bd1 = new BigDecimal(sc.next());\n\t\tBigDecimal bd = new BigDecimal(\"100\");\n\t\tBigDecimal bd2 = new BigDecimal(\"1.01\");\n\t\tfor (int i = 1; i < 10000; i++) {\n\t\t\tbd = bd.multiply(bd2).setScale(0, BigDecimal.ROUND_DOWN);\n\t\t\tif (bd.compareTo(bd1)==1||bd.compareTo(bd1)==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}\t\n\t\t}\n\t\tsc.close();\n }\t\n\t\t\n}",
"public class Main {\n\tpublic static void main(String[] args){\n \t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tBigDecimal bd1 = new BigDecimal(sc.next());\n\t\tBigDecimal bd = new BigDecimal(\"100\");\n\t\tBigDecimal bd2 = new BigDecimal(\"1.01\");\n\t\tfor (int i = 1; i < 10000; i++) {\n\t\t\tbd = bd.multiply(bd2).setScale(0, BigDecimal.ROUND_DOWN);\n\t\t\tif (bd.compareTo(bd1)==1||bd.compareTo(bd1)==0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tbreak;\n\t\t\t}\t\n\t\t}\n\t\tsc.close();\n }\t\n\t\t\n}",
"Main"
] |
import java.math.BigDecimal;
import java.sql.Array;
import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
BigDecimal bd1 = new BigDecimal(sc.next());
BigDecimal bd = new BigDecimal("100");
BigDecimal bd2 = new BigDecimal("1.01");
for (int i = 1; i < 10000; i++) {
bd = bd.multiply(bd2).setScale(0, BigDecimal.ROUND_DOWN);
if (bd.compareTo(bd1)==1||bd.compareTo(bd1)==0) {
System.out.println(i);
break;
}
}
sc.close();
}
}
|
[
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,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
14,
2,
13,
13,
30,
0,
13,
13,
3,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
62,
8
],
[
62,
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
],
[
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
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
9,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] |
[
"import java.lang.reflect.Array;\nimport 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 nen = 0;\n long yen = 100;\n for (int i = 1; i <= x; i++) {\n yen = (long)(yen * 1.01);\n if (yen >= x) {\n nen = i;\n break;\n }\n }\n System.out.println(nen);\n }\n}\n",
"import java.lang.reflect.Array;",
"Array",
"java.lang.reflect",
"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 nen = 0;\n long yen = 100;\n for (int i = 1; i <= x; i++) {\n yen = (long)(yen * 1.01);\n if (yen >= x) {\n nen = i;\n break;\n }\n }\n System.out.println(nen);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long nen = 0;\n long yen = 100;\n for (int i = 1; i <= x; i++) {\n yen = (long)(yen * 1.01);\n if (yen >= x) {\n nen = i;\n break;\n }\n }\n System.out.println(nen);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long nen = 0;\n long yen = 100;\n for (int i = 1; i <= x; i++) {\n yen = (long)(yen * 1.01);\n if (yen >= x) {\n nen = i;\n break;\n }\n }\n System.out.println(nen);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long nen = 0;",
"nen",
"0",
"long yen = 100;",
"yen",
"100",
"for (int i = 1; i <= x; i++) {\n yen = (long)(yen * 1.01);\n if (yen >= x) {\n nen = i;\n break;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= x",
"i",
"x",
"i++",
"i++",
"i",
"{\n yen = (long)(yen * 1.01);\n if (yen >= x) {\n nen = i;\n break;\n }\n }",
"{\n yen = (long)(yen * 1.01);\n if (yen >= x) {\n nen = i;\n break;\n }\n }",
"yen = (long)(yen * 1.01)",
"yen",
"(long)(yen * 1.01)",
"yen",
"1.01",
"if (yen >= x) {\n nen = i;\n break;\n }",
"yen >= x",
"yen",
"x",
"{\n nen = i;\n break;\n }",
"nen = i",
"nen",
"i",
"break;",
"System.out.println(nen)",
"System.out.println",
"System.out",
"System",
"System.out",
"nen",
"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 nen = 0;\n long yen = 100;\n for (int i = 1; i <= x; i++) {\n yen = (long)(yen * 1.01);\n if (yen >= x) {\n nen = i;\n break;\n }\n }\n System.out.println(nen);\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 nen = 0;\n long yen = 100;\n for (int i = 1; i <= x; i++) {\n yen = (long)(yen * 1.01);\n if (yen >= x) {\n nen = i;\n break;\n }\n }\n System.out.println(nen);\n }\n}",
"Main"
] |
import java.lang.reflect.Array;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
long nen = 0;
long yen = 100;
for (int i = 1; i <= x; i++) {
yen = (long)(yen * 1.01);
if (yen >= x) {
nen = i;
break;
}
}
System.out.println(nen);
}
}
|
[
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,
2,
17,
17,
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
],
[
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
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble x = sc.nextDouble();\n\t\tdouble money = 100;\n\t\tdouble answer = 0;\n\t\twhile(money < x) {\n\t\t\tanswer++;\n\t\t\tmoney = Math.floor(money * ((double)101 /(double)100));\n\t\t}\n\n\t\tSystem.out.println((int)answer);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble x = sc.nextDouble();\n\t\tdouble money = 100;\n\t\tdouble answer = 0;\n\t\twhile(money < x) {\n\t\t\tanswer++;\n\t\t\tmoney = Math.floor(money * ((double)101 /(double)100));\n\t\t}\n\n\t\tSystem.out.println((int)answer);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble x = sc.nextDouble();\n\t\tdouble money = 100;\n\t\tdouble answer = 0;\n\t\twhile(money < x) {\n\t\t\tanswer++;\n\t\t\tmoney = Math.floor(money * ((double)101 /(double)100));\n\t\t}\n\n\t\tSystem.out.println((int)answer);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble x = sc.nextDouble();\n\t\tdouble money = 100;\n\t\tdouble answer = 0;\n\t\twhile(money < x) {\n\t\t\tanswer++;\n\t\t\tmoney = Math.floor(money * ((double)101 /(double)100));\n\t\t}\n\n\t\tSystem.out.println((int)answer);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double x = sc.nextDouble();",
"x",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"double money = 100;",
"money",
"100",
"double answer = 0;",
"answer",
"0",
"while(money < x) {\n\t\t\tanswer++;\n\t\t\tmoney = Math.floor(money * ((double)101 /(double)100));\n\t\t}",
"money < x",
"money",
"x",
"{\n\t\t\tanswer++;\n\t\t\tmoney = Math.floor(money * ((double)101 /(double)100));\n\t\t}",
"answer++",
"answer",
"money = Math.floor(money * ((double)101 /(double)100))",
"money",
"Math.floor(money * ((double)101 /(double)100))",
"Math.floor",
"Math",
"money * ((double)101 /(double)100)",
"money",
"((double)101 /(double)100)",
"(double)101",
"(double)100",
"System.out.println((int)answer)",
"System.out.println",
"System.out",
"System",
"System.out",
"(int)answer",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble x = sc.nextDouble();\n\t\tdouble money = 100;\n\t\tdouble answer = 0;\n\t\twhile(money < x) {\n\t\t\tanswer++;\n\t\t\tmoney = Math.floor(money * ((double)101 /(double)100));\n\t\t}\n\n\t\tSystem.out.println((int)answer);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble x = sc.nextDouble();\n\t\tdouble money = 100;\n\t\tdouble answer = 0;\n\t\twhile(money < x) {\n\t\t\tanswer++;\n\t\t\tmoney = Math.floor(money * ((double)101 /(double)100));\n\t\t}\n\n\t\tSystem.out.println((int)answer);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double x = sc.nextDouble();
double money = 100;
double answer = 0;
while(money < x) {
answer++;
money = Math.floor(money * ((double)101 /(double)100));
}
System.out.println((int)answer);
}
}
|
[
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,
30,
30,
0,
13,
2,
13,
17,
40,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
29,
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
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
29,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
29,
35
],
[
35,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
41,
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 Scanner in = new Scanner(System.in);\n long n=in.nextLong();\n int num=0;\n for(long i=100;i<n;){\n i+=i/100;\n num++;\n\n if(i>=n){\n System.out.println(num);\n return;\n }\n\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n long n=in.nextLong();\n int num=0;\n for(long i=100;i<n;){\n i+=i/100;\n num++;\n\n if(i>=n){\n System.out.println(num);\n return;\n }\n\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n long n=in.nextLong();\n int num=0;\n for(long i=100;i<n;){\n i+=i/100;\n num++;\n\n if(i>=n){\n System.out.println(num);\n return;\n }\n\n }\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n long n=in.nextLong();\n int num=0;\n for(long i=100;i<n;){\n i+=i/100;\n num++;\n\n if(i>=n){\n System.out.println(num);\n return;\n }\n\n }\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"long n=in.nextLong();",
"n",
"in.nextLong()",
"in.nextLong",
"in",
"int num=0;",
"num",
"0",
"for(long i=100;i<n;){\n i+=i/100;\n num++;\n\n if(i>=n){\n System.out.println(num);\n return;\n }\n\n }",
"long i=100;",
"long i=100;",
"i",
"100",
"i<n",
"i",
"n",
"{\n i+=i/100;\n num++;\n\n if(i>=n){\n System.out.println(num);\n return;\n }\n\n }",
"{\n i+=i/100;\n num++;\n\n if(i>=n){\n System.out.println(num);\n return;\n }\n\n }",
"i+=i/100",
"i",
"i/100",
"i",
"100",
"num++",
"num",
"if(i>=n){\n System.out.println(num);\n return;\n }",
"i>=n",
"i",
"n",
"{\n System.out.println(num);\n return;\n }",
"System.out.println(num)",
"System.out.println",
"System.out",
"System",
"System.out",
"num",
"return;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n long n=in.nextLong();\n int num=0;\n for(long i=100;i<n;){\n i+=i/100;\n num++;\n\n if(i>=n){\n System.out.println(num);\n return;\n }\n\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n long n=in.nextLong();\n int num=0;\n for(long i=100;i<n;){\n i+=i/100;\n num++;\n\n if(i>=n){\n System.out.println(num);\n return;\n }\n\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
long n=in.nextLong();
int num=0;
for(long i=100;i<n;){
i+=i/100;
num++;
if(i>=n){
System.out.println(num);
return;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
11,
1,
1,
40,
13,
30,
30,
0,
13,
17,
14,
2,
13,
13,
30,
3,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
20,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
18,
13,
13,
4,
18,
13,
13,
29,
4,
18,
13,
17,
4,
18,
13,
2,
4,
18,
13,
4,
18,
13,
17,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
18,
13,
13,
4,
18,
13,
13,
29,
4,
18,
13,
17,
4,
18,
13,
2,
4,
18,
13,
4,
18,
13,
17,
23,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
18,
13,
13,
17,
30,
37,
20,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
8,
2,
13,
18,
13,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
18,
13,
13,
17,
30,
37,
20,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
8,
2,
13,
18,
13,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
18,
13,
13,
17,
30,
37,
20,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
8,
2,
13,
18,
13,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
18,
13,
13,
17,
30,
37,
20,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
8,
2,
13,
18,
13,
13,
13,
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,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
488,
14
],
[
488,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
17,
19
],
[
488,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
488,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
27,
36
],
[
36,
37
],
[
37,
38
],
[
27,
39
],
[
39,
40
],
[
39,
41
],
[
27,
42
],
[
42,
43
],
[
42,
44
],
[
27,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
45,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
27,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
25,
65
],
[
65,
66
],
[
488,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
67,
74
],
[
74,
75
],
[
488,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
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
],
[
97,
100
],
[
100,
101
],
[
100,
102
],
[
96,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
78,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
108,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
115,
119
],
[
119,
120
],
[
120,
121
],
[
112,
122
],
[
76,
123
],
[
123,
124
],
[
76,
125
],
[
125,
126
],
[
488,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
133,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
140,
142
],
[
133,
143
],
[
143,
144
],
[
144,
145
],
[
133,
146
],
[
147,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
148,
151
],
[
151,
152
],
[
151,
153
],
[
147,
154
],
[
154,
155
],
[
155,
156
],
[
154,
157
],
[
129,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
159,
162
],
[
159,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
166,
170
],
[
170,
171
],
[
171,
172
],
[
163,
173
],
[
127,
174
],
[
174,
175
],
[
127,
176
],
[
176,
177
],
[
488,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
186,
190
],
[
181,
191
],
[
191,
192
],
[
192,
193
],
[
180,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
196,
198
],
[
180,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
199,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
206,
208
],
[
199,
209
],
[
209,
210
],
[
210,
211
],
[
199,
212
],
[
213,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
219,
221
],
[
216,
222
],
[
216,
223
],
[
223,
224
],
[
223,
225
],
[
180,
226
],
[
226,
227
],
[
178,
228
],
[
228,
229
],
[
488,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
234,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
242
],
[
233,
243
],
[
243,
244
],
[
244,
245
],
[
232,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
248,
250
],
[
232,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
251,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
258,
260
],
[
251,
261
],
[
261,
262
],
[
262,
263
],
[
251,
264
],
[
265,
265
],
[
265,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
271,
273
],
[
268,
274
],
[
268,
275
],
[
275,
276
],
[
275,
277
],
[
232,
278
],
[
278,
279
],
[
230,
280
],
[
280,
281
],
[
488,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
286,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
290,
294
],
[
285,
295
],
[
295,
296
],
[
296,
297
],
[
284,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
300,
302
],
[
284,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
303,
308
],
[
308,
309
],
[
308,
310
],
[
310,
311
],
[
310,
312
],
[
303,
313
],
[
313,
314
],
[
314,
315
],
[
303,
316
],
[
317,
317
],
[
317,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
321,
322
],
[
321,
323
],
[
323,
324
],
[
323,
325
],
[
320,
326
],
[
320,
327
],
[
327,
328
],
[
327,
329
],
[
284,
330
],
[
330,
331
],
[
282,
332
],
[
332,
333
],
[
488,
334
],
[
334,
335
],
[
334,
336
],
[
336,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
338,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
342,
346
],
[
337,
347
],
[
347,
348
],
[
348,
349
],
[
336,
350
],
[
350,
351
],
[
350,
352
],
[
352,
353
],
[
352,
354
],
[
336,
355
],
[
355,
356
],
[
356,
357
],
[
357,
358
],
[
357,
359
],
[
355,
360
],
[
360,
361
],
[
360,
362
],
[
362,
363
],
[
362,
364
],
[
355,
365
],
[
365,
366
],
[
366,
367
],
[
355,
368
],
[
369,
369
],
[
369,
370
],
[
370,
371
],
[
370,
372
],
[
372,
373
],
[
373,
374
],
[
373,
375
],
[
375,
376
],
[
375,
377
],
[
372,
378
],
[
372,
379
],
[
379,
380
],
[
379,
381
],
[
336,
382
],
[
382,
383
],
[
334,
384
],
[
384,
385
],
[
488,
386
],
[
386,
387
],
[
386,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
388,
393
],
[
393,
394
],
[
394,
395
],
[
395,
396
],
[
395,
397
],
[
393,
398
],
[
398,
399
],
[
398,
400
],
[
393,
401
],
[
401,
402
],
[
402,
403
],
[
393,
404
],
[
405,
405
],
[
405,
406
],
[
406,
407
],
[
407,
408
],
[
407,
409
],
[
406,
410
],
[
410,
411
],
[
411,
412
],
[
388,
413
],
[
413,
414
],
[
386,
415
],
[
415,
416
],
[
386,
417
],
[
417,
418
],
[
488,
419
],
[
419,
420
],
[
419,
421
],
[
421,
422
],
[
422,
423
],
[
422,
424
],
[
421,
426
],
[
426,
427
],
[
427,
428
],
[
428,
429
],
[
428,
430
],
[
426,
431
],
[
431,
432
],
[
431,
433
],
[
426,
434
],
[
434,
435
],
[
435,
436
],
[
426,
437
],
[
438,
438
],
[
438,
439
],
[
439,
440
],
[
440,
441
],
[
440,
442
],
[
439,
443
],
[
443,
444
],
[
444,
445
],
[
421,
446
],
[
446,
447
],
[
419,
448
],
[
448,
449
],
[
419,
450
],
[
450,
451
],
[
488,
452
],
[
452,
453
],
[
452,
454
],
[
454,
455
],
[
455,
456
],
[
455,
457
],
[
458,
459
],
[
458,
460
],
[
454,
461
],
[
461,
462
],
[
462,
463
],
[
463,
464
],
[
463,
465
],
[
461,
466
],
[
466,
467
],
[
466,
468
],
[
461,
469
],
[
469,
470
],
[
470,
471
],
[
461,
472
],
[
473,
473
],
[
473,
474
],
[
474,
475
],
[
475,
476
],
[
475,
477
],
[
474,
478
],
[
478,
479
],
[
479,
480
],
[
454,
481
],
[
481,
482
],
[
452,
483
],
[
483,
484
],
[
452,
485
],
[
485,
486
],
[
0,
487
],
[
487,
488
],
[
487,
489
]
] |
[
"import java.io.InputStream;\nimport java.io.PrintStream;\nimport java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\tInputStream in = System.in;\n\tPrintStream out = System.out;\n\n\tpublic void _main(String[] args) {\n\t\tScanner sc = new Scanner(in);\n\n\t\tlong X = sc.nextLong();\n\t\t\n\t\tsc.close();\n\n\t\tlong ans = 100;\n\t\tint y = 1;\n\t\tfor(;;y++) {\n\t\t\tans *= 1.01;\n\t\t\t\n\t\t\tif(ans >= X) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tout.println(y);\n\t\t\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main()._main(args);\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, int[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, long[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int max(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long max(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int min(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long min(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray(Scanner sc, int n) {\n\t\tint[] result = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long[] nextLongArray(Scanner sc, int n) {\n\t\tlong[] result = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextLong();\n\t\t}\n\t\treturn result;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray1origin(Scanner sc, int n) {\n\t\tint[] result = new int[n + 1];\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}\n}",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintStream;",
"PrintStream",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tInputStream in = System.in;\n\tPrintStream out = System.out;\n\n\tpublic void _main(String[] args) {\n\t\tScanner sc = new Scanner(in);\n\n\t\tlong X = sc.nextLong();\n\t\t\n\t\tsc.close();\n\n\t\tlong ans = 100;\n\t\tint y = 1;\n\t\tfor(;;y++) {\n\t\t\tans *= 1.01;\n\t\t\t\n\t\t\tif(ans >= X) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tout.println(y);\n\t\t\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main()._main(args);\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, int[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, long[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int max(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long max(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int min(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long min(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray(Scanner sc, int n) {\n\t\tint[] result = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long[] nextLongArray(Scanner sc, int n) {\n\t\tlong[] result = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextLong();\n\t\t}\n\t\treturn result;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray1origin(Scanner sc, int n) {\n\t\tint[] result = new int[n + 1];\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}\n}",
"Main",
"InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"PrintStream out = System.out;",
"out",
"System.out",
"System",
"System.out",
"public void _main(String[] args) {\n\t\tScanner sc = new Scanner(in);\n\n\t\tlong X = sc.nextLong();\n\t\t\n\t\tsc.close();\n\n\t\tlong ans = 100;\n\t\tint y = 1;\n\t\tfor(;;y++) {\n\t\t\tans *= 1.01;\n\t\t\t\n\t\t\tif(ans >= X) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tout.println(y);\n\t\t\n\t}",
"_main",
"{\n\t\tScanner sc = new Scanner(in);\n\n\t\tlong X = sc.nextLong();\n\t\t\n\t\tsc.close();\n\n\t\tlong ans = 100;\n\t\tint y = 1;\n\t\tfor(;;y++) {\n\t\t\tans *= 1.01;\n\t\t\t\n\t\t\tif(ans >= X) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tout.println(y);\n\t\t\n\t}",
"Scanner sc = new Scanner(in);",
"sc",
"new Scanner(in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"sc.close()",
"sc.close",
"sc",
"long ans = 100;",
"ans",
"100",
"int y = 1;",
"y",
"1",
"for(;;y++) {\n\t\t\tans *= 1.01;\n\t\t\t\n\t\t\tif(ans >= X) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
";",
"y++",
"y++",
"y",
"{\n\t\t\tans *= 1.01;\n\t\t\t\n\t\t\tif(ans >= X) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tans *= 1.01;\n\t\t\t\n\t\t\tif(ans >= X) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"ans *= 1.01",
"ans",
"1.01",
"if(ans >= X) {\n\t\t\t\tbreak;\n\t\t\t}",
"ans >= X",
"ans",
"X",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"out.println(y)",
"out.println",
"out",
"y",
"String[] args",
"args",
"public static void main(String[] args) {\n\t\tnew Main()._main(args);\n\t}",
"main",
"{\n\t\tnew Main()._main(args);\n\t}",
"new Main()._main(args)",
"new Main()._main",
"new Main()",
"args",
"String[] args",
"args",
"@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, int[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}",
"join",
"{\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}",
"{\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}",
"sb.append(a[i])",
"sb.append",
"sb",
"a[i]",
"a",
"i",
"sb.append(delimiter)",
"sb.append",
"sb",
"delimiter",
"return sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));",
"sb.substring(0, Math.max(sb.length() - delimiter.length(), 0))",
"sb.substring",
"sb",
"0",
"Math.max(sb.length() - delimiter.length(), 0)",
"Math.max",
"Math",
"sb.length() - delimiter.length()",
"sb.length()",
"sb.length",
"sb",
"delimiter.length()",
"delimiter.length",
"delimiter",
"0",
"String delimiter",
"delimiter",
"int[] a",
"a",
"@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, long[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}",
"join",
"{\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}",
"{\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}",
"sb.append(a[i])",
"sb.append",
"sb",
"a[i]",
"a",
"i",
"sb.append(delimiter)",
"sb.append",
"sb",
"delimiter",
"return sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));",
"sb.substring(0, Math.max(sb.length() - delimiter.length(), 0))",
"sb.substring",
"sb",
"0",
"Math.max(sb.length() - delimiter.length(), 0)",
"Math.max",
"Math",
"sb.length() - delimiter.length()",
"sb.length()",
"sb.length",
"sb",
"delimiter.length()",
"delimiter.length",
"delimiter",
"0",
"String delimiter",
"delimiter",
"long[] a",
"a",
"@SuppressWarnings(\"unused\")\n\tprivate int max(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}",
"max",
"{\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}",
"if(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}",
"arr == null || arr.length == 0",
"arr == null",
"arr",
"null",
"arr.length == 0",
"arr.length",
"arr",
"arr.length",
"0",
"{\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}",
"throw new IllegalArgumentException(Arrays.toString(arr));",
"new IllegalArgumentException(Arrays.toString(arr))",
"int candidate = arr[0];",
"candidate",
"arr[0]",
"arr",
"0",
"for(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}",
"{\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}",
"candidate = candidate > arr[i] ? candidate : arr[i]",
"candidate",
"candidate > arr[i] ? candidate : arr[i]",
"candidate > arr[i]",
"candidate",
"arr[i]",
"arr",
"i",
"candidate",
"arr[i]",
"arr",
"i",
"return candidate;",
"candidate",
"int[] arr",
"arr",
"@SuppressWarnings(\"unused\")\n\tprivate long max(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}",
"max",
"{\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}",
"if(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}",
"arr == null || arr.length == 0",
"arr == null",
"arr",
"null",
"arr.length == 0",
"arr.length",
"arr",
"arr.length",
"0",
"{\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}",
"throw new IllegalArgumentException(Arrays.toString(arr));",
"new IllegalArgumentException(Arrays.toString(arr))",
"long candidate = arr[0];",
"candidate",
"arr[0]",
"arr",
"0",
"for(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}",
"{\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}",
"candidate = candidate > arr[i] ? candidate : arr[i]",
"candidate",
"candidate > arr[i] ? candidate : arr[i]",
"candidate > arr[i]",
"candidate",
"arr[i]",
"arr",
"i",
"candidate",
"arr[i]",
"arr",
"i",
"return candidate;",
"candidate",
"long[] arr",
"arr",
"@SuppressWarnings(\"unused\")\n\tprivate int min(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}",
"min",
"{\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}",
"if(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}",
"arr == null || arr.length == 0",
"arr == null",
"arr",
"null",
"arr.length == 0",
"arr.length",
"arr",
"arr.length",
"0",
"{\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}",
"throw new IllegalArgumentException(Arrays.toString(arr));",
"new IllegalArgumentException(Arrays.toString(arr))",
"int candidate = arr[0];",
"candidate",
"arr[0]",
"arr",
"0",
"for(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}",
"{\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}",
"candidate = candidate < arr[i] ? candidate : arr[i]",
"candidate",
"candidate < arr[i] ? candidate : arr[i]",
"candidate < arr[i]",
"candidate",
"arr[i]",
"arr",
"i",
"candidate",
"arr[i]",
"arr",
"i",
"return candidate;",
"candidate",
"int[] arr",
"arr",
"@SuppressWarnings(\"unused\")\n\tprivate long min(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}",
"min",
"{\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}",
"if(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}",
"arr == null || arr.length == 0",
"arr == null",
"arr",
"null",
"arr.length == 0",
"arr.length",
"arr",
"arr.length",
"0",
"{\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}",
"throw new IllegalArgumentException(Arrays.toString(arr));",
"new IllegalArgumentException(Arrays.toString(arr))",
"long candidate = arr[0];",
"candidate",
"arr[0]",
"arr",
"0",
"for(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}",
"{\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}",
"candidate = candidate < arr[i] ? candidate : arr[i]",
"candidate",
"candidate < arr[i] ? candidate : arr[i]",
"candidate < arr[i]",
"candidate",
"arr[i]",
"arr",
"i",
"candidate",
"arr[i]",
"arr",
"i",
"return candidate;",
"candidate",
"long[] arr",
"arr",
"@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray(Scanner sc, int n) {\n\t\tint[] result = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}",
"nextIntArray",
"{\n\t\tint[] result = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}",
"int[] result = new int[n];",
"result",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tresult[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tresult[i] = sc.nextInt();\n\t\t}",
"result[i] = sc.nextInt()",
"result[i]",
"result",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return result;",
"result",
"Scanner sc",
"sc",
"int n",
"n",
"@SuppressWarnings(\"unused\")\n\tprivate long[] nextLongArray(Scanner sc, int n) {\n\t\tlong[] result = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextLong();\n\t\t}\n\t\treturn result;\n\t}",
"nextLongArray",
"{\n\t\tlong[] result = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextLong();\n\t\t}\n\t\treturn result;\n\t}",
"long[] result = new long[n];",
"result",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextLong();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tresult[i] = sc.nextLong();\n\t\t}",
"{\n\t\t\tresult[i] = sc.nextLong();\n\t\t}",
"result[i] = sc.nextLong()",
"result[i]",
"result",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"return result;",
"result",
"Scanner sc",
"sc",
"int n",
"n",
"@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray1origin(Scanner sc, int n) {\n\t\tint[] result = new int[n + 1];\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}",
"nextIntArray1origin",
"{\n\t\tint[] result = new int[n + 1];\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}",
"int[] result = new int[n + 1];",
"result",
"new int[n + 1]",
"n + 1",
"n",
"1",
"for (int i = 1; i <= n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tresult[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tresult[i] = sc.nextInt();\n\t\t}",
"result[i] = sc.nextInt()",
"result[i]",
"result",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return result;",
"result",
"Scanner sc",
"sc",
"int n",
"n",
"public class Main {\n\tInputStream in = System.in;\n\tPrintStream out = System.out;\n\n\tpublic void _main(String[] args) {\n\t\tScanner sc = new Scanner(in);\n\n\t\tlong X = sc.nextLong();\n\t\t\n\t\tsc.close();\n\n\t\tlong ans = 100;\n\t\tint y = 1;\n\t\tfor(;;y++) {\n\t\t\tans *= 1.01;\n\t\t\t\n\t\t\tif(ans >= X) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tout.println(y);\n\t\t\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main()._main(args);\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, int[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, long[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int max(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long max(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int min(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long min(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray(Scanner sc, int n) {\n\t\tint[] result = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long[] nextLongArray(Scanner sc, int n) {\n\t\tlong[] result = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextLong();\n\t\t}\n\t\treturn result;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray1origin(Scanner sc, int n) {\n\t\tint[] result = new int[n + 1];\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}\n}",
"public class Main {\n\tInputStream in = System.in;\n\tPrintStream out = System.out;\n\n\tpublic void _main(String[] args) {\n\t\tScanner sc = new Scanner(in);\n\n\t\tlong X = sc.nextLong();\n\t\t\n\t\tsc.close();\n\n\t\tlong ans = 100;\n\t\tint y = 1;\n\t\tfor(;;y++) {\n\t\t\tans *= 1.01;\n\t\t\t\n\t\t\tif(ans >= X) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tout.println(y);\n\t\t\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main()._main(args);\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, int[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate String join(String delimiter, long[] a) {\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tsb.append(a[i]);\n\t\t\tsb.append(delimiter);\n\t\t}\n\t\treturn sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int max(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long max(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate > arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int min(int[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tint candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long min(long[] arr) {\n\t\tif(arr == null || arr.length == 0) {\n\t\t\tthrow new IllegalArgumentException(Arrays.toString(arr));\n\t\t}\n\n\t\tlong candidate = arr[0];\n\t\tfor(int i=1;i<arr.length;i++) {\n\t\t\tcandidate = candidate < arr[i] ? candidate : arr[i];\n\t\t}\n\t\treturn candidate;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray(Scanner sc, int n) {\n\t\tint[] result = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate long[] nextLongArray(Scanner sc, int n) {\n\t\tlong[] result = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tresult[i] = sc.nextLong();\n\t\t}\n\t\treturn result;\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate int[] nextIntArray1origin(Scanner sc, int n) {\n\t\tint[] result = new int[n + 1];\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tresult[i] = sc.nextInt();\n\t\t}\n\t\treturn result;\n\t}\n}",
"Main"
] |
import java.io.InputStream;
import java.io.PrintStream;
import java.util.Arrays;
import java.util.Scanner;
public class Main {
InputStream in = System.in;
PrintStream out = System.out;
public void _main(String[] args) {
Scanner sc = new Scanner(in);
long X = sc.nextLong();
sc.close();
long ans = 100;
int y = 1;
for(;;y++) {
ans *= 1.01;
if(ans >= X) {
break;
}
}
out.println(y);
}
public static void main(String[] args) {
new Main()._main(args);
}
@SuppressWarnings("unused")
private String join(String delimiter, int[] a) {
StringBuilder sb = new StringBuilder();
for (int i = 0; i < a.length; i++) {
sb.append(a[i]);
sb.append(delimiter);
}
return sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));
}
@SuppressWarnings("unused")
private String join(String delimiter, long[] a) {
StringBuilder sb = new StringBuilder();
for (int i = 0; i < a.length; i++) {
sb.append(a[i]);
sb.append(delimiter);
}
return sb.substring(0, Math.max(sb.length() - delimiter.length(), 0));
}
@SuppressWarnings("unused")
private int max(int[] arr) {
if(arr == null || arr.length == 0) {
throw new IllegalArgumentException(Arrays.toString(arr));
}
int candidate = arr[0];
for(int i=1;i<arr.length;i++) {
candidate = candidate > arr[i] ? candidate : arr[i];
}
return candidate;
}
@SuppressWarnings("unused")
private long max(long[] arr) {
if(arr == null || arr.length == 0) {
throw new IllegalArgumentException(Arrays.toString(arr));
}
long candidate = arr[0];
for(int i=1;i<arr.length;i++) {
candidate = candidate > arr[i] ? candidate : arr[i];
}
return candidate;
}
@SuppressWarnings("unused")
private int min(int[] arr) {
if(arr == null || arr.length == 0) {
throw new IllegalArgumentException(Arrays.toString(arr));
}
int candidate = arr[0];
for(int i=1;i<arr.length;i++) {
candidate = candidate < arr[i] ? candidate : arr[i];
}
return candidate;
}
@SuppressWarnings("unused")
private long min(long[] arr) {
if(arr == null || arr.length == 0) {
throw new IllegalArgumentException(Arrays.toString(arr));
}
long candidate = arr[0];
for(int i=1;i<arr.length;i++) {
candidate = candidate < arr[i] ? candidate : arr[i];
}
return candidate;
}
@SuppressWarnings("unused")
private int[] nextIntArray(Scanner sc, int n) {
int[] result = new int[n];
for (int i = 0; i < n; i++) {
result[i] = sc.nextInt();
}
return result;
}
@SuppressWarnings("unused")
private long[] nextLongArray(Scanner sc, int n) {
long[] result = new long[n];
for (int i = 0; i < n; i++) {
result[i] = sc.nextLong();
}
return result;
}
@SuppressWarnings("unused")
private int[] nextIntArray1origin(Scanner sc, int n) {
int[] result = new int[n + 1];
for (int i = 1; i <= n; i++) {
result[i] = sc.nextInt();
}
return result;
}
}
|
[
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
],
[
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
],
[
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.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tlong x = Long.parseLong(sc.next());\n\t\tlong money = 100;\n\t\tint year = 0;\n\n\t\twhile(money < x){\n\t\t\tmoney = (long) (money * 1.01);\n\t\t\tyear++;\t\t\t\t\n\t\t}\n\n\t\tSystem.out.println(year);\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\t// 整数の入力\n\t\tlong x = Long.parseLong(sc.next());\n\t\tlong money = 100;\n\t\tint year = 0;\n\n\t\twhile(money < x){\n\t\t\tmoney = (long) (money * 1.01);\n\t\t\tyear++;\t\t\t\t\n\t\t}\n\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\t// 整数の入力\n\t\tlong x = Long.parseLong(sc.next());\n\t\tlong money = 100;\n\t\tint year = 0;\n\n\t\twhile(money < x){\n\t\t\tmoney = (long) (money * 1.01);\n\t\t\tyear++;\t\t\t\t\n\t\t}\n\n\t\tSystem.out.println(year);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tlong x = Long.parseLong(sc.next());\n\t\tlong money = 100;\n\t\tint year = 0;\n\n\t\twhile(money < x){\n\t\t\tmoney = (long) (money * 1.01);\n\t\t\tyear++;\t\t\t\t\n\t\t}\n\n\t\tSystem.out.println(year);\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",
"long money = 100;",
"money",
"100",
"int year = 0;",
"year",
"0",
"while(money < x){\n\t\t\tmoney = (long) (money * 1.01);\n\t\t\tyear++;\t\t\t\t\n\t\t}",
"money < x",
"money",
"x",
"{\n\t\t\tmoney = (long) (money * 1.01);\n\t\t\tyear++;\t\t\t\t\n\t\t}",
"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\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tlong x = Long.parseLong(sc.next());\n\t\tlong money = 100;\n\t\tint year = 0;\n\n\t\twhile(money < x){\n\t\t\tmoney = (long) (money * 1.01);\n\t\t\tyear++;\t\t\t\t\n\t\t}\n\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\t// 整数の入力\n\t\tlong x = Long.parseLong(sc.next());\n\t\tlong money = 100;\n\t\tint year = 0;\n\n\t\twhile(money < x){\n\t\t\tmoney = (long) (money * 1.01);\n\t\t\tyear++;\t\t\t\t\n\t\t}\n\n\t\tSystem.out.println(year);\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// 整数の入力
long x = Long.parseLong(sc.next());
long money = 100;
int year = 0;
while(money < x){
money = (long) (money * 1.01);
year++;
}
System.out.println(year);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
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
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
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
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
29,
35
],
[
35,
36
],
[
10,
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\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\n\t\t\tlong x = sc.nextLong();\n\t\t\t\n//\t\t\tList<Double> compoundIntereset = new ArrayList<>();\n\t\t\t\n\t\t\tlong p = 100;\n\t\t\tlong i = 0;\n\t\t\t\n\t\t\twhile(p < x) {\n\t\t\t\t\n\t\t\t\tp = (long)((double)p * 1.01);\n\t\t\t\ti++;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(i);\n\t\t\t\t\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\n\t\t\tlong x = sc.nextLong();\n\t\t\t\n//\t\t\tList<Double> compoundIntereset = new ArrayList<>();\n\t\t\t\n\t\t\tlong p = 100;\n\t\t\tlong i = 0;\n\t\t\t\n\t\t\twhile(p < x) {\n\t\t\t\t\n\t\t\t\tp = (long)((double)p * 1.01);\n\t\t\t\ti++;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(i);\n\t\t\t\t\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\n\t\t\tlong x = sc.nextLong();\n\t\t\t\n//\t\t\tList<Double> compoundIntereset = new ArrayList<>();\n\t\t\t\n\t\t\tlong p = 100;\n\t\t\tlong i = 0;\n\t\t\t\n\t\t\twhile(p < x) {\n\t\t\t\t\n\t\t\t\tp = (long)((double)p * 1.01);\n\t\t\t\ti++;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(i);\n\t\t\t\t\n\t\t}\n\t}",
"main",
"{\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\n\t\t\tlong x = sc.nextLong();\n\t\t\t\n//\t\t\tList<Double> compoundIntereset = new ArrayList<>();\n\t\t\t\n\t\t\tlong p = 100;\n\t\t\tlong i = 0;\n\t\t\t\n\t\t\twhile(p < x) {\n\t\t\t\t\n\t\t\t\tp = (long)((double)p * 1.01);\n\t\t\t\ti++;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(i);\n\t\t\t\t\n\t\t}\n\t}",
"try(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\n\t\t\tlong x = sc.nextLong();\n\t\t\t\n//\t\t\tList<Double> compoundIntereset = new ArrayList<>();\n\t\t\t\n\t\t\tlong p = 100;\n\t\t\tlong i = 0;\n\t\t\t\n\t\t\twhile(p < x) {\n\t\t\t\t\n\t\t\t\tp = (long)((double)p * 1.01);\n\t\t\t\ti++;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(i);\n\t\t\t\t\n\t\t}",
"{\n\t\t\t\n\n\t\t\tlong x = sc.nextLong();\n\t\t\t\n//\t\t\tList<Double> compoundIntereset = new ArrayList<>();\n\t\t\t\n\t\t\tlong p = 100;\n\t\t\tlong i = 0;\n\t\t\t\n\t\t\twhile(p < x) {\n\t\t\t\t\n\t\t\t\tp = (long)((double)p * 1.01);\n\t\t\t\ti++;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(i);\n\t\t\t\t\n\t\t}",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long p = 100;",
"p",
"100",
"long i = 0;",
"i",
"0",
"while(p < x) {\n\t\t\t\t\n\t\t\t\tp = (long)((double)p * 1.01);\n\t\t\t\ti++;\n\t\t\t\t\n\t\t\t}",
"p < x",
"p",
"x",
"{\n\t\t\t\t\n\t\t\t\tp = (long)((double)p * 1.01);\n\t\t\t\ti++;\n\t\t\t\t\n\t\t\t}",
"p = (long)((double)p * 1.01)",
"p",
"(long)((double)p * 1.01)",
"(double)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\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\n\t\t\tlong x = sc.nextLong();\n\t\t\t\n//\t\t\tList<Double> compoundIntereset = new ArrayList<>();\n\t\t\t\n\t\t\tlong p = 100;\n\t\t\tlong i = 0;\n\t\t\t\n\t\t\twhile(p < x) {\n\t\t\t\t\n\t\t\t\tp = (long)((double)p * 1.01);\n\t\t\t\ti++;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(i);\n\t\t\t\t\n\t\t}\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\n\t\t\tlong x = sc.nextLong();\n\t\t\t\n//\t\t\tList<Double> compoundIntereset = new ArrayList<>();\n\t\t\t\n\t\t\tlong p = 100;\n\t\t\tlong i = 0;\n\t\t\t\n\t\t\twhile(p < x) {\n\t\t\t\t\n\t\t\t\tp = (long)((double)p * 1.01);\n\t\t\t\ti++;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(i);\n\t\t\t\t\n\t\t}\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
try(Scanner sc = new Scanner(System.in)) {
long x = sc.nextLong();
// List<Double> compoundIntereset = new ArrayList<>();
long p = 100;
long i = 0;
while(p < x) {
p = (long)((double)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,
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,
0,
13,
4,
18,
13,
13,
0,
13,
17,
30,
4,
18,
18,
13,
13,
13,
3,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
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
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
46,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
46,
58
],
[
58,
59
],
[
58,
60
],
[
42,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
61,
68
],
[
6,
69
],
[
69,
70
]
] |
[
"import java.util.Scanner;\nclass Main{\npublic static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n \n long X = scan.nextLong();\n double azuke = 100;\n double N = 0;\n double rishi = 0.01;\n int count = 0;\n \n \n for (int i = 0; i < 10000; i++){\n if (azuke < X){\n \t\t N = azuke * 1.01;\n azuke = Math.floor(N);\n \t count += 1;\n \t }\n \t else{\n System.out.println(count);\n break;\n }\n } \n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\npublic static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n \n long X = scan.nextLong();\n double azuke = 100;\n double N = 0;\n double rishi = 0.01;\n int count = 0;\n \n \n for (int i = 0; i < 10000; i++){\n if (azuke < X){\n \t\t N = azuke * 1.01;\n azuke = Math.floor(N);\n \t count += 1;\n \t }\n \t else{\n System.out.println(count);\n break;\n }\n } \n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n \n long X = scan.nextLong();\n double azuke = 100;\n double N = 0;\n double rishi = 0.01;\n int count = 0;\n \n \n for (int i = 0; i < 10000; i++){\n if (azuke < X){\n \t\t N = azuke * 1.01;\n azuke = Math.floor(N);\n \t count += 1;\n \t }\n \t else{\n System.out.println(count);\n break;\n }\n } \n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n \n long X = scan.nextLong();\n double azuke = 100;\n double N = 0;\n double rishi = 0.01;\n int count = 0;\n \n \n for (int i = 0; i < 10000; i++){\n if (azuke < X){\n \t\t N = azuke * 1.01;\n azuke = Math.floor(N);\n \t count += 1;\n \t }\n \t else{\n System.out.println(count);\n break;\n }\n } \n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long X = scan.nextLong();",
"X",
"scan.nextLong()",
"scan.nextLong",
"scan",
"double azuke = 100;",
"azuke",
"100",
"double N = 0;",
"N",
"0",
"double rishi = 0.01;",
"rishi",
"0.01",
"int count = 0;",
"count",
"0",
"for (int i = 0; i < 10000; i++){\n if (azuke < X){\n \t\t N = azuke * 1.01;\n azuke = Math.floor(N);\n \t count += 1;\n \t }\n \t else{\n System.out.println(count);\n break;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10000",
"i",
"10000",
"i++",
"i++",
"i",
"{\n if (azuke < X){\n \t\t N = azuke * 1.01;\n azuke = Math.floor(N);\n \t count += 1;\n \t }\n \t else{\n System.out.println(count);\n break;\n }\n }",
"{\n if (azuke < X){\n \t\t N = azuke * 1.01;\n azuke = Math.floor(N);\n \t count += 1;\n \t }\n \t else{\n System.out.println(count);\n break;\n }\n }",
"if (azuke < X){\n \t\t N = azuke * 1.01;\n azuke = Math.floor(N);\n \t count += 1;\n \t }\n \t else{\n System.out.println(count);\n break;\n }",
"azuke < X",
"azuke",
"X",
"{\n \t\t N = azuke * 1.01;\n azuke = Math.floor(N);\n \t count += 1;\n \t }",
"N = azuke * 1.01",
"N",
"azuke * 1.01",
"azuke",
"1.01",
"azuke = Math.floor(N)",
"azuke",
"Math.floor(N)",
"Math.floor",
"Math",
"N",
"count += 1",
"count",
"1",
"{\n System.out.println(count);\n break;\n }",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"break;",
"String[] args",
"args"
] |
import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
long X = scan.nextLong();
double azuke = 100;
double N = 0;
double rishi = 0.01;
int count = 0;
for (int i = 0; i < 10000; i++){
if (azuke < X){
N = azuke * 1.01;
azuke = Math.floor(N);
count += 1;
}
else{
System.out.println(count);
break;
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
42,
17,
30,
0,
13,
17,
40,
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
],
[
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
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
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
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
38,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] |
[
"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 start = 100;\n\t\tlong goal = Long.parseLong(sc.next());\n\t\tint year = 0;\n\t\twhile (true) {\n\t\t\tstart *= 1.01;\n\t\t\tyear++;\n\t\t\tif (start >= goal) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong start = 100;\n\t\tlong goal = Long.parseLong(sc.next());\n\t\tint year = 0;\n\t\twhile (true) {\n\t\t\tstart *= 1.01;\n\t\t\tyear++;\n\t\t\tif (start >= goal) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong start = 100;\n\t\tlong goal = Long.parseLong(sc.next());\n\t\tint year = 0;\n\t\twhile (true) {\n\t\t\tstart *= 1.01;\n\t\t\tyear++;\n\t\t\tif (start >= goal) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong start = 100;\n\t\tlong goal = Long.parseLong(sc.next());\n\t\tint year = 0;\n\t\twhile (true) {\n\t\t\tstart *= 1.01;\n\t\t\tyear++;\n\t\t\tif (start >= goal) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long start = 100;",
"start",
"100",
"long goal = Long.parseLong(sc.next());",
"goal",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"int year = 0;",
"year",
"0",
"while (true) {\n\t\t\tstart *= 1.01;\n\t\t\tyear++;\n\t\t\tif (start >= goal) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}",
"true",
"{\n\t\t\tstart *= 1.01;\n\t\t\tyear++;\n\t\t\tif (start >= goal) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}",
"start *= 1.01",
"start",
"1.01",
"year++",
"year",
"if (start >= goal) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tbreak;\n\t\t\t}",
"start >= goal",
"start",
"goal",
"{\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;",
"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 start = 100;\n\t\tlong goal = Long.parseLong(sc.next());\n\t\tint year = 0;\n\t\twhile (true) {\n\t\t\tstart *= 1.01;\n\t\t\tyear++;\n\t\t\tif (start >= goal) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\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 start = 100;\n\t\tlong goal = Long.parseLong(sc.next());\n\t\tint year = 0;\n\t\twhile (true) {\n\t\t\tstart *= 1.01;\n\t\t\tyear++;\n\t\t\tif (start >= goal) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long start = 100;
long goal = Long.parseLong(sc.next());
int year = 0;
while (true) {
start *= 1.01;
year++;
if (start >= goal) {
System.out.println(year);
break;
}
}
}
}
|
[
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
] |
[
[
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
],
[
27,
31
],
[
31,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
6,
39
],
[
39,
40
]
] |
[
"import java.util.*;\n\nclass Main{\n public static void main(String[] args){\n Scanner sc=new Scanner(System.in);\n long X=sc.nextLong();\n long money=100;\n int year=0;\n while(money<X){\n money*=1.01;\n year++;\n }\n System.out.println(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 X=sc.nextLong();\n long money=100;\n int year=0;\n while(money<X){\n money*=1.01;\n year++;\n }\n System.out.println(year);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc=new Scanner(System.in);\n long X=sc.nextLong();\n long money=100;\n int year=0;\n while(money<X){\n money*=1.01;\n year++;\n }\n System.out.println(year);\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n long X=sc.nextLong();\n long money=100;\n int year=0;\n while(money<X){\n money*=1.01;\n year++;\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",
"int year=0;",
"year",
"0",
"while(money<X){\n money*=1.01;\n year++;\n }",
"money<X",
"money",
"X",
"{\n money*=1.01;\n year++;\n }",
"money*=1.01",
"money",
"1.01",
"year++",
"year",
"System.out.println(year)",
"System.out.println",
"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 X=sc.nextLong();
long money=100;
int year=0;
while(money<X){
money*=1.01;
year++;
}
System.out.println(year);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
4,
18,
13,
13,
0,
13,
4,
18,
13,
41,
13,
17,
41,
13,
4,
18,
13,
4,
18,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
4,
18,
13,
2,
13,
17,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
86,
14
],
[
86,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
17,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
17,
46
],
[
46,
47
],
[
46,
48
],
[
17,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
17,
58
],
[
58,
59
],
[
58,
60
],
[
17,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
71,
73
],
[
65,
74
],
[
74,
75
],
[
74,
76
],
[
17,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
15,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] |
[
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n List<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }\n double moto = 100;\n long x = Long.valueOf(mylist.get(0));\n int cnt = 0;\n// System.out.println(x);\n\n while (moto < x) {\n\n moto = Math.floor(moto * 1.01);\n cnt += 1;\n }\n System.out.println(cnt);\n\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n List<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }\n double moto = 100;\n long x = Long.valueOf(mylist.get(0));\n int cnt = 0;\n// System.out.println(x);\n\n while (moto < x) {\n\n moto = Math.floor(moto * 1.01);\n cnt += 1;\n }\n System.out.println(cnt);\n\n }\n\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n List<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }\n double moto = 100;\n long x = Long.valueOf(mylist.get(0));\n int cnt = 0;\n// System.out.println(x);\n\n while (moto < x) {\n\n moto = Math.floor(moto * 1.01);\n cnt += 1;\n }\n System.out.println(cnt);\n\n }",
"main",
"{\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n List<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }\n double moto = 100;\n long x = Long.valueOf(mylist.get(0));\n int cnt = 0;\n// System.out.println(x);\n\n while (moto < x) {\n\n moto = Math.floor(moto * 1.01);\n cnt += 1;\n }\n System.out.println(cnt);\n\n }",
"InputStreamReader is = new InputStreamReader(System.in);",
"is",
"new InputStreamReader(System.in)",
"BufferedReader reader = new BufferedReader(is);",
"reader",
"new BufferedReader(is)",
"List<String> mylist = new ArrayList<>();",
"mylist",
"new ArrayList<>()",
"String strinput = reader.readLine();",
"strinput",
"reader.readLine()",
"reader.readLine",
"reader",
"while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }",
"strinput != null",
"strinput",
"null",
"{\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }",
"mylist.add(strinput)",
"mylist.add",
"mylist",
"strinput",
"strinput = reader.readLine()",
"strinput",
"reader.readLine()",
"reader.readLine",
"reader",
"double moto = 100;",
"moto",
"100",
"long x = Long.valueOf(mylist.get(0));",
"x",
"Long.valueOf(mylist.get(0))",
"Long.valueOf",
"Long",
"mylist.get(0)",
"mylist.get",
"mylist",
"0",
"int cnt = 0;",
"cnt",
"0",
"while (moto < x) {\n\n moto = Math.floor(moto * 1.01);\n cnt += 1;\n }",
"moto < x",
"moto",
"x",
"{\n\n moto = Math.floor(moto * 1.01);\n cnt += 1;\n }",
"moto = Math.floor(moto * 1.01)",
"moto",
"Math.floor(moto * 1.01)",
"Math.floor",
"Math",
"moto * 1.01",
"moto",
"1.01",
"cnt += 1",
"cnt",
"1",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n List<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }\n double moto = 100;\n long x = Long.valueOf(mylist.get(0));\n int cnt = 0;\n// System.out.println(x);\n\n while (moto < x) {\n\n moto = Math.floor(moto * 1.01);\n cnt += 1;\n }\n System.out.println(cnt);\n\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n List<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }\n double moto = 100;\n long x = Long.valueOf(mylist.get(0));\n int cnt = 0;\n// System.out.println(x);\n\n while (moto < x) {\n\n moto = Math.floor(moto * 1.01);\n cnt += 1;\n }\n System.out.println(cnt);\n\n }\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
public class Main {
public static void main(String[] args) throws Exception {
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader reader = new BufferedReader(is);
List<String> mylist = new ArrayList<>();
// 標準入力からの値を変数strinputに代入
String strinput = reader.readLine();
while (strinput != null) {
mylist.add(strinput);
strinput = reader.readLine();
}
double moto = 100;
long x = Long.valueOf(mylist.get(0));
int cnt = 0;
// System.out.println(x);
while (moto < x) {
moto = Math.floor(moto * 1.01);
cnt += 1;
}
System.out.println(cnt);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
13,
1,
0,
13,
2,
13,
13,
40,
13,
30,
30,
14,
2,
13,
13,
29,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
66,
5
],
[
66,
6
],
[
6,
7
],
[
6,
8
],
[
66,
9
],
[
9,
10
],
[
9,
11
],
[
66,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
12,
34
],
[
34,
35
],
[
66,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
47,
53
],
[
53,
54
],
[
42,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
36,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tstatic final int a = 100;\n\tstatic final double r = 1.01;\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\tSystem.out.println(solve(x));\n\t}\n\n\tstatic public int solve(long x) {\n\t\tint year = 0;\n\t\tfor (long i = a;; i = (long) (i * r), year++) {\n\t\t\tif (i >= x)\n\t\t\t\treturn year;\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tstatic final int a = 100;\n\tstatic final double r = 1.01;\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\tSystem.out.println(solve(x));\n\t}\n\n\tstatic public int solve(long x) {\n\t\tint year = 0;\n\t\tfor (long i = a;; i = (long) (i * r), year++) {\n\t\t\tif (i >= x)\n\t\t\t\treturn year;\n\t\t}\n\t}\n\n}",
"Main",
"static final int a = 100;",
"a",
"100",
"static final double r = 1.01;",
"r",
"1.01",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = Long.parseLong(sc.next());\n\t\tSystem.out.println(solve(x));\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = Long.parseLong(sc.next());\n\t\tSystem.out.println(solve(x));\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",
"System.out.println(solve(x))",
"System.out.println",
"System.out",
"System",
"System.out",
"solve(x)",
"solve",
"x",
"String[] args",
"args",
"static public int solve(long x) {\n\t\tint year = 0;\n\t\tfor (long i = a;; i = (long) (i * r), year++) {\n\t\t\tif (i >= x)\n\t\t\t\treturn year;\n\t\t}\n\t}",
"solve",
"{\n\t\tint year = 0;\n\t\tfor (long i = a;; i = (long) (i * r), year++) {\n\t\t\tif (i >= x)\n\t\t\t\treturn year;\n\t\t}\n\t}",
"int year = 0;",
"year",
"0",
"for (long i = a;; i = (long) (i * r), year++) {\n\t\t\tif (i >= x)\n\t\t\t\treturn year;\n\t\t}",
"long i = a;",
"long i = a;",
"i",
"a",
"i = (long) (i * r), year++",
"i = (long) (i * r)",
"i",
"(long) (i * r)",
"i",
"r",
"year++",
"year",
"{\n\t\t\tif (i >= x)\n\t\t\t\treturn year;\n\t\t}",
"{\n\t\t\tif (i >= x)\n\t\t\t\treturn year;\n\t\t}",
"if (i >= x)\n\t\t\t\treturn year;",
"i >= x",
"i",
"x",
"return year;",
"year",
"long x",
"x",
"public class Main {\n\tstatic final int a = 100;\n\tstatic final double r = 1.01;\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\tSystem.out.println(solve(x));\n\t}\n\n\tstatic public int solve(long x) {\n\t\tint year = 0;\n\t\tfor (long i = a;; i = (long) (i * r), year++) {\n\t\t\tif (i >= x)\n\t\t\t\treturn year;\n\t\t}\n\t}\n\n}",
"public class Main {\n\tstatic final int a = 100;\n\tstatic final double r = 1.01;\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\tSystem.out.println(solve(x));\n\t}\n\n\tstatic public int solve(long x) {\n\t\tint year = 0;\n\t\tfor (long i = a;; i = (long) (i * r), year++) {\n\t\t\tif (i >= x)\n\t\t\t\treturn year;\n\t\t}\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
static final int a = 100;
static final double r = 1.01;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long x = Long.parseLong(sc.next());
System.out.println(solve(x));
}
static public int solve(long x) {
int year = 0;
for (long i = a;; i = (long) (i * r), year++) {
if (i >= x)
return 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,
17,
30,
0,
13,
2,
17,
13,
0,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
3,
4,
18,
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
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
25,
31
],
[
31,
32
],
[
31,
33
],
[
25,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
38,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] |
[
"import 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\tScanner kb = new Scanner(System.in);\n\t\tlong x = kb.nextLong();\n\t\tlong y = 100;\n\t\tint count = 0;\n\t\twhile (true) {\n\t\t\ty = (long) (1.01 * y);\n\t\t\tcount += 1;\n\t\t\tif (y >= x) {\n\t\t\t\tSystem.out.println(count);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\t\tkb.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\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tlong x = kb.nextLong();\n\t\tlong y = 100;\n\t\tint count = 0;\n\t\twhile (true) {\n\t\t\ty = (long) (1.01 * y);\n\t\t\tcount += 1;\n\t\t\tif (y >= x) {\n\t\t\t\tSystem.out.println(count);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\t\tkb.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tlong x = kb.nextLong();\n\t\tlong y = 100;\n\t\tint count = 0;\n\t\twhile (true) {\n\t\t\ty = (long) (1.01 * y);\n\t\t\tcount += 1;\n\t\t\tif (y >= x) {\n\t\t\t\tSystem.out.println(count);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\t\tkb.close();\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tlong x = kb.nextLong();\n\t\tlong y = 100;\n\t\tint count = 0;\n\t\twhile (true) {\n\t\t\ty = (long) (1.01 * y);\n\t\t\tcount += 1;\n\t\t\tif (y >= x) {\n\t\t\t\tSystem.out.println(count);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\t\tkb.close();\n\t}",
"Scanner kb = new Scanner(System.in);",
"kb",
"new Scanner(System.in)",
"long x = kb.nextLong();",
"x",
"kb.nextLong()",
"kb.nextLong",
"kb",
"long y = 100;",
"y",
"100",
"int count = 0;",
"count",
"0",
"while (true) {\n\t\t\ty = (long) (1.01 * y);\n\t\t\tcount += 1;\n\t\t\tif (y >= x) {\n\t\t\t\tSystem.out.println(count);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}",
"true",
"{\n\t\t\ty = (long) (1.01 * y);\n\t\t\tcount += 1;\n\t\t\tif (y >= x) {\n\t\t\t\tSystem.out.println(count);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}",
"y = (long) (1.01 * y)",
"y",
"(long) (1.01 * y)",
"1.01",
"y",
"count += 1",
"count",
"1",
"if (y >= x) {\n\t\t\t\tSystem.out.println(count);\n\t\t\t\tbreak;\n\t\t\t}",
"y >= x",
"y",
"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;",
"kb.close()",
"kb.close",
"kb",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tlong x = kb.nextLong();\n\t\tlong y = 100;\n\t\tint count = 0;\n\t\twhile (true) {\n\t\t\ty = (long) (1.01 * y);\n\t\t\tcount += 1;\n\t\t\tif (y >= x) {\n\t\t\t\tSystem.out.println(count);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\t\tkb.close();\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\tScanner kb = new Scanner(System.in);\n\t\tlong x = kb.nextLong();\n\t\tlong y = 100;\n\t\tint count = 0;\n\t\twhile (true) {\n\t\t\ty = (long) (1.01 * y);\n\t\t\tcount += 1;\n\t\t\tif (y >= x) {\n\t\t\t\tSystem.out.println(count);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\t\tkb.close();\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner kb = new Scanner(System.in);
long x = kb.nextLong();
long y = 100;
int count = 0;
while (true) {
y = (long) (1.01 * y);
count += 1;
if (y >= x) {
System.out.println(count);
break;
}
}
kb.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,
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 public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long y = 100;\n int count =0;\n while(y<x){\n y=y+(y/100);\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 y = 100;\n int count =0;\n while(y<x){\n y=y+(y/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 long x = sc.nextLong();\n long y = 100;\n int count =0;\n while(y<x){\n y=y+(y/100);\n count++;\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long y = 100;\n int count =0;\n while(y<x){\n y=y+(y/100);\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 y = 100;",
"y",
"100",
"int count =0;",
"count",
"0",
"while(y<x){\n y=y+(y/100);\n count++;\n }",
"y<x",
"y",
"x",
"{\n y=y+(y/100);\n count++;\n }",
"y=y+(y/100)",
"y",
"y+(y/100)",
"y",
"(y/100)",
"y",
"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 long x = sc.nextLong();\n long y = 100;\n int count =0;\n while(y<x){\n y=y+(y/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 long x = sc.nextLong();\n long y = 100;\n int count =0;\n while(y<x){\n y=y+(y/100);\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 y = 100;
int count =0;
while(y<x){
y=y+(y/100);
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,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
4,
13,
2,
13,
17,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
29,
17,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
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
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
6,
46
],
[
46,
47
],
[
4,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
50,
58
],
[
58,
59
],
[
48,
60
],
[
60,
61
],
[
4,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
62,
71
],
[
71,
72
],
[
4,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
73,
82
],
[
82,
83
]
] |
[
"import java.util.*;\nclass Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long n=100;\n int i=1;\n for(i=0;n<x;i++){\n n=(long)(n*1.01);\n }\n pl(i+\"\");\n }\n\n public static int aa(int n){\n if(n>0){return 1;}\n return 0;\n }\n\n public static void pr(String str){\n System.out.print(str);\n }\n public static void pl(String str){\n System.out.println(str);\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 x = sc.nextLong();\n long n=100;\n int i=1;\n for(i=0;n<x;i++){\n n=(long)(n*1.01);\n }\n pl(i+\"\");\n }\n\n public static int aa(int n){\n if(n>0){return 1;}\n return 0;\n }\n\n public static void pr(String str){\n System.out.print(str);\n }\n public static void pl(String str){\n System.out.println(str);\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long n=100;\n int i=1;\n for(i=0;n<x;i++){\n n=(long)(n*1.01);\n }\n pl(i+\"\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long n=100;\n int i=1;\n for(i=0;n<x;i++){\n n=(long)(n*1.01);\n }\n pl(i+\"\");\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long n=100;",
"n",
"100",
"int i=1;",
"i",
"1",
"for(i=0;n<x;i++){\n n=(long)(n*1.01);\n }",
"i=0;",
"i=0",
"i",
"0",
"n<x",
"n",
"x",
"i++",
"i++",
"i",
"{\n n=(long)(n*1.01);\n }",
"{\n n=(long)(n*1.01);\n }",
"n=(long)(n*1.01)",
"n",
"(long)(n*1.01)",
"n",
"1.01",
"pl(i+\"\")",
"pl",
"i+\"\"",
"i",
"\"\"",
"String args[]",
"args",
"public static int aa(int n){\n if(n>0){return 1;}\n return 0;\n }",
"aa",
"{\n if(n>0){return 1;}\n return 0;\n }",
"if(n>0){return 1;}",
"n>0",
"n",
"0",
"{return 1;}",
"return 1;",
"1",
"return 0;",
"0",
"int n",
"n",
"public static void pr(String str){\n System.out.print(str);\n }",
"pr",
"{\n System.out.print(str);\n }",
"System.out.print(str)",
"System.out.print",
"System.out",
"System",
"System.out",
"str",
"String str",
"str",
"public static void pl(String str){\n System.out.println(str);\n }",
"pl",
"{\n System.out.println(str);\n }",
"System.out.println(str)",
"System.out.println",
"System.out",
"System",
"System.out",
"str",
"String str",
"str"
] |
import java.util.*;
class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
long n=100;
int i=1;
for(i=0;n<x;i++){
n=(long)(n*1.01);
}
pl(i+"");
}
public static int aa(int n){
if(n>0){return 1;}
return 0;
}
public static void pr(String str){
System.out.print(str);
}
public static void pl(String str){
System.out.println(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,
4,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
2,
13,
2,
13,
17,
29,
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
],
[
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
],
[
58,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
43,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long C = 100;\n int ans =0;\n while(C<X){\n C = cal(C);\n ans++;\n }\n System.out.println(ans);\n\n }\n private static long cal(long x){\n\n long amp = x + (x/100);\n return amp;\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n\n\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long C = 100;\n int ans =0;\n while(C<X){\n C = cal(C);\n ans++;\n }\n System.out.println(ans);\n\n }\n private static long cal(long x){\n\n long amp = x + (x/100);\n return amp;\n }\n}",
"Main",
"public static void main(String[] args) {\n\n\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long C = 100;\n int ans =0;\n while(C<X){\n C = cal(C);\n ans++;\n }\n System.out.println(ans);\n\n }",
"main",
"{\n\n\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long C = 100;\n int ans =0;\n while(C<X){\n C = cal(C);\n ans++;\n }\n System.out.println(ans);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long C = 100;",
"C",
"100",
"int ans =0;",
"ans",
"0",
"while(C<X){\n C = cal(C);\n ans++;\n }",
"C<X",
"C",
"X",
"{\n C = cal(C);\n ans++;\n }",
"C = cal(C)",
"C",
"cal(C)",
"cal",
"C",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"private static long cal(long x){\n\n long amp = x + (x/100);\n return amp;\n }",
"cal",
"{\n\n long amp = x + (x/100);\n return amp;\n }",
"long amp = x + (x/100);",
"amp",
"x + (x/100)",
"x",
"(x/100)",
"x",
"100",
"return amp;",
"amp",
"long x",
"x",
"public class Main {\n\n public static void main(String[] args) {\n\n\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long C = 100;\n int ans =0;\n while(C<X){\n C = cal(C);\n ans++;\n }\n System.out.println(ans);\n\n }\n private static long cal(long x){\n\n long amp = x + (x/100);\n return amp;\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n\n\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long C = 100;\n int ans =0;\n while(C<X){\n C = cal(C);\n ans++;\n }\n System.out.println(ans);\n\n }\n private static long cal(long x){\n\n long amp = x + (x/100);\n return amp;\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 C = 100;
int ans =0;
while(C<X){
C = cal(C);
ans++;
}
System.out.println(ans);
}
private static long cal(long x){
long amp = x + (x/100);
return amp;
}
}
|
[
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,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
13,
0,
13,
13,
0,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
74,
23
],
[
74,
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
],
[
26,
38
],
[
38,
39
],
[
38,
40
],
[
26,
41
],
[
41,
42
],
[
41,
43
],
[
26,
44
],
[
44,
45
],
[
44,
46
],
[
26,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
51,
60
],
[
60,
61
],
[
60,
62
],
[
51,
63
],
[
63,
64
],
[
26,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
24,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] |
[
"import java.io.BufferedReader;\nimport java.io.*;\nimport java.util.*;\nimport java.util.ArrayList;\nimport java.util.Iterator;\nimport java.util.List;\nimport java.util.Collections;\n\npublic class Main {\n\tpublic static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n\n long x = sc.nextLong();\n\n double a = 100;\n long k = 0;\n int count = 0;\n\n double rate = 1.01;\n \n while(x > a){\n a = rate * a;\n k = (long)a;\n a = (double)k;\n count++;\n }\n System.out.println(count);\n\n\n \n \n\n\n\n\n\n\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Iterator;",
"Iterator",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"public class Main {\n\tpublic static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n\n long x = sc.nextLong();\n\n double a = 100;\n long k = 0;\n int count = 0;\n\n double rate = 1.01;\n \n while(x > a){\n a = rate * a;\n k = (long)a;\n a = (double)k;\n count++;\n }\n System.out.println(count);\n\n\n \n \n\n\n\n\n\n\n }\n}",
"Main",
"public static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n\n long x = sc.nextLong();\n\n double a = 100;\n long k = 0;\n int count = 0;\n\n double rate = 1.01;\n \n while(x > a){\n a = rate * a;\n k = (long)a;\n a = (double)k;\n count++;\n }\n System.out.println(count);\n\n\n \n \n\n\n\n\n\n\n }",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n\n long x = sc.nextLong();\n\n double a = 100;\n long k = 0;\n int count = 0;\n\n double rate = 1.01;\n \n while(x > a){\n a = rate * a;\n k = (long)a;\n a = (double)k;\n count++;\n }\n System.out.println(count);\n\n\n \n \n\n\n\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",
"long k = 0;",
"k",
"0",
"int count = 0;",
"count",
"0",
"double rate = 1.01;",
"rate",
"1.01",
"while(x > a){\n a = rate * a;\n k = (long)a;\n a = (double)k;\n count++;\n }",
"x > a",
"x",
"a",
"{\n a = rate * a;\n k = (long)a;\n a = (double)k;\n count++;\n }",
"a = rate * a",
"a",
"rate * a",
"rate",
"a",
"k = (long)a",
"k",
"(long)a",
"a = (double)k",
"a",
"(double)k",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"final String[] args",
"args",
"public class Main {\n\tpublic static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n\n long x = sc.nextLong();\n\n double a = 100;\n long k = 0;\n int count = 0;\n\n double rate = 1.01;\n \n while(x > a){\n a = rate * a;\n k = (long)a;\n a = (double)k;\n count++;\n }\n System.out.println(count);\n\n\n \n \n\n\n\n\n\n\n }\n}",
"public class Main {\n\tpublic static void main(final String[] args){\n \n Scanner sc = new Scanner(System.in);\n\n long x = sc.nextLong();\n\n double a = 100;\n long k = 0;\n int count = 0;\n\n double rate = 1.01;\n \n while(x > a){\n a = rate * a;\n k = (long)a;\n a = (double)k;\n count++;\n }\n System.out.println(count);\n\n\n \n \n\n\n\n\n\n\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.*;
import java.util.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Collections;
public class Main {
public static void main(final String[] args){
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
double a = 100;
long k = 0;
int count = 0;
double rate = 1.01;
while(x > a){
a = rate * a;
k = (long)a;
a = (double)k;
count++;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
13,
18,
13,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
17,
40,
13,
4,
18,
13,
13,
23,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
61,
11
],
[
61,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
12,
23
],
[
23,
24
],
[
61,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
27,
36
],
[
36,
37
],
[
36,
38
],
[
27,
39
],
[
39,
40
],
[
39,
41
],
[
27,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
27,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
25,
56
],
[
56,
57
],
[
25,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] |
[
"\nimport java.io.InputStream;\nimport java.io.PrintStream;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n long X = scan.nextLong();\n\n long depo = 100;\n int ans = 0;\n\n while(X > depo) {\n depo *= 1.01;\n ans++;\n }\n\n os.println(ans);\n }\n\n}",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintStream;",
"PrintStream",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n long X = scan.nextLong();\n\n long depo = 100;\n int ans = 0;\n\n while(X > depo) {\n depo *= 1.01;\n ans++;\n }\n\n os.println(ans);\n }\n\n}",
"Main",
"public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }",
"main",
"{\n solve(System.in, System.out);\n }",
"solve(System.in, System.out)",
"solve",
"System.in",
"System",
"System.in",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n long X = scan.nextLong();\n\n long depo = 100;\n int ans = 0;\n\n while(X > depo) {\n depo *= 1.01;\n ans++;\n }\n\n os.println(ans);\n }",
"solve",
"{\n // Your code here!\n Scanner scan = new Scanner(is);\n long X = scan.nextLong();\n\n long depo = 100;\n int ans = 0;\n\n while(X > depo) {\n depo *= 1.01;\n ans++;\n }\n\n os.println(ans);\n }",
"Scanner scan = new Scanner(is);",
"scan",
"new Scanner(is)",
"long X = scan.nextLong();",
"X",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long depo = 100;",
"depo",
"100",
"int ans = 0;",
"ans",
"0",
"while(X > depo) {\n depo *= 1.01;\n ans++;\n }",
"X > depo",
"X",
"depo",
"{\n depo *= 1.01;\n ans++;\n }",
"depo *= 1.01",
"depo",
"1.01",
"ans++",
"ans",
"os.println(ans)",
"os.println",
"os",
"ans",
"InputStream is",
"is",
"PrintStream os",
"os",
"public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n long X = scan.nextLong();\n\n long depo = 100;\n int ans = 0;\n\n while(X > depo) {\n depo *= 1.01;\n ans++;\n }\n\n os.println(ans);\n }\n\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n long X = scan.nextLong();\n\n long depo = 100;\n int ans = 0;\n\n while(X > depo) {\n depo *= 1.01;\n ans++;\n }\n\n os.println(ans);\n }\n\n}",
"Main"
] |
import java.io.InputStream;
import java.io.PrintStream;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
solve(System.in, System.out);
}
static void solve(InputStream is, PrintStream os) {
// Your code here!
Scanner scan = new Scanner(is);
long X = scan.nextLong();
long depo = 100;
int ans = 0;
while(X > depo) {
depo *= 1.01;
ans++;
}
os.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,
2,
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
],
[
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
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scan=new Scanner(System.in);\nlong K= scan.nextLong();\nlong N=100;\nint i=0;\nwhile(N<K){\n\n N= (long) (N*1.01);\n i=i+1;\n\n\n\n}\n\nSystem.out.println(i);\n\n // write your code here\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scan=new Scanner(System.in);\nlong K= scan.nextLong();\nlong N=100;\nint i=0;\nwhile(N<K){\n\n N= (long) (N*1.01);\n i=i+1;\n\n\n\n}\n\nSystem.out.println(i);\n\n // write your code here\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan=new Scanner(System.in);\nlong K= scan.nextLong();\nlong N=100;\nint i=0;\nwhile(N<K){\n\n N= (long) (N*1.01);\n i=i+1;\n\n\n\n}\n\nSystem.out.println(i);\n\n // write your code here\n }",
"main",
"{\n Scanner scan=new Scanner(System.in);\nlong K= scan.nextLong();\nlong N=100;\nint i=0;\nwhile(N<K){\n\n N= (long) (N*1.01);\n i=i+1;\n\n\n\n}\n\nSystem.out.println(i);\n\n // write your code here\n }",
"Scanner scan=new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long K= scan.nextLong();",
"K",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long N=100;",
"N",
"100",
"int i=0;",
"i",
"0",
"while(N<K){\n\n N= (long) (N*1.01);\n i=i+1;\n\n\n\n}",
"N<K",
"N",
"K",
"{\n\n N= (long) (N*1.01);\n i=i+1;\n\n\n\n}",
"N= (long) (N*1.01)",
"N",
"(long) (N*1.01)",
"N",
"1.01",
"i=i+1",
"i",
"i+1",
"i",
"1",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scan=new Scanner(System.in);\nlong K= scan.nextLong();\nlong N=100;\nint i=0;\nwhile(N<K){\n\n N= (long) (N*1.01);\n i=i+1;\n\n\n\n}\n\nSystem.out.println(i);\n\n // write your code here\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scan=new Scanner(System.in);\nlong K= scan.nextLong();\nlong N=100;\nint i=0;\nwhile(N<K){\n\n N= (long) (N*1.01);\n i=i+1;\n\n\n\n}\n\nSystem.out.println(i);\n\n // write your code here\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan=new Scanner(System.in);
long K= scan.nextLong();
long N=100;
int i=0;
while(N<K){
N= (long) (N*1.01);
i=i+1;
}
System.out.println(i);
// write your code here
}
}
|
[
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,
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
],
[
45,
8
],
[
45,
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
],
[
11,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
9,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] |
[
"import java.util.*;\nimport java.math.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n \tint count = 0; \n //BigInteger biga = new BigInteger(a); \n //BigInteger first = new BigInteger(\"100\"); \n long f = 100;\n \n \twhile (a > f)\n \t{ f*= 1.01;\n count++;\n }\t\t\t\t\n\t\tSystem.out.println(count);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n \tint count = 0; \n //BigInteger biga = new BigInteger(a); \n //BigInteger first = new BigInteger(\"100\"); \n long f = 100;\n \n \twhile (a > f)\n \t{ f*= 1.01;\n count++;\n }\t\t\t\t\n\t\tSystem.out.println(count);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n \tint count = 0; \n //BigInteger biga = new BigInteger(a); \n //BigInteger first = new BigInteger(\"100\"); \n long f = 100;\n \n \twhile (a > f)\n \t{ f*= 1.01;\n count++;\n }\t\t\t\t\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n \tint count = 0; \n //BigInteger biga = new BigInteger(a); \n //BigInteger first = new BigInteger(\"100\"); \n long f = 100;\n \n \twhile (a > f)\n \t{ f*= 1.01;\n count++;\n }\t\t\t\t\n\t\tSystem.out.println(count);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int count = 0;",
"count",
"0",
"long f = 100;",
"f",
"100",
"while (a > f)\n \t{ f*= 1.01;\n count++;\n }",
"a > f",
"a",
"f",
"{ f*= 1.01;\n count++;\n }",
"f*= 1.01",
"f",
"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\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n \tint count = 0; \n //BigInteger biga = new BigInteger(a); \n //BigInteger first = new BigInteger(\"100\"); \n long f = 100;\n \n \twhile (a > f)\n \t{ f*= 1.01;\n count++;\n }\t\t\t\t\n\t\tSystem.out.println(count);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n \tint count = 0; \n //BigInteger biga = new BigInteger(a); \n //BigInteger first = new BigInteger(\"100\"); \n long f = 100;\n \n \twhile (a > f)\n \t{ f*= 1.01;\n count++;\n }\t\t\t\t\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
] |
import java.util.*;
import java.math.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
int count = 0;
//BigInteger biga = new BigInteger(a);
//BigInteger first = new BigInteger("100");
long f = 100;
while (a > f)
{ f*= 1.01;
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,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
2,
17,
13,
0,
13,
4,
18,
13,
13,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
70,
5
],
[
70,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
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
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
27,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
42,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] |
[
"import java.util.*;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n double azuke = 100;\n int year = 0;\n if(x == 100){\n System.out.println(1);\n System.exit(0);\n }\n do{\n azuke = azuke + 0.01*azuke;\n azuke = Math.floor(azuke);\n year = year+1;\n } while(azuke < x);\n System.out.println(year);\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 double azuke = 100;\n int year = 0;\n if(x == 100){\n System.out.println(1);\n System.exit(0);\n }\n do{\n azuke = azuke + 0.01*azuke;\n azuke = Math.floor(azuke);\n year = year+1;\n } while(azuke < x);\n System.out.println(year);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n double azuke = 100;\n int year = 0;\n if(x == 100){\n System.out.println(1);\n System.exit(0);\n }\n do{\n azuke = azuke + 0.01*azuke;\n azuke = Math.floor(azuke);\n year = year+1;\n } while(azuke < x);\n System.out.println(year);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n double azuke = 100;\n int year = 0;\n if(x == 100){\n System.out.println(1);\n System.exit(0);\n }\n do{\n azuke = azuke + 0.01*azuke;\n azuke = Math.floor(azuke);\n year = year+1;\n } while(azuke < x);\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",
"double azuke = 100;",
"azuke",
"100",
"int year = 0;",
"year",
"0",
"if(x == 100){\n System.out.println(1);\n System.exit(0);\n }",
"x == 100",
"x",
"100",
"{\n System.out.println(1);\n System.exit(0);\n }",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"System.exit(0)",
"System.exit",
"System",
"0",
"do{\n azuke = azuke + 0.01*azuke;\n azuke = Math.floor(azuke);\n year = year+1;\n } while(azuke < x);",
"azuke < x",
"azuke",
"x",
"{\n azuke = azuke + 0.01*azuke;\n azuke = Math.floor(azuke);\n year = year+1;\n }",
"azuke = azuke + 0.01*azuke",
"azuke",
"azuke + 0.01*azuke",
"azuke",
"0.01*azuke",
"0.01",
"azuke",
"azuke = Math.floor(azuke)",
"azuke",
"Math.floor(azuke)",
"Math.floor",
"Math",
"azuke",
"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 public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n double azuke = 100;\n int year = 0;\n if(x == 100){\n System.out.println(1);\n System.exit(0);\n }\n do{\n azuke = azuke + 0.01*azuke;\n azuke = Math.floor(azuke);\n year = year+1;\n } while(azuke < x);\n System.out.println(year);\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 azuke = 100;\n int year = 0;\n if(x == 100){\n System.out.println(1);\n System.exit(0);\n }\n do{\n azuke = azuke + 0.01*azuke;\n azuke = Math.floor(azuke);\n year = year+1;\n } while(azuke < x);\n System.out.println(year);\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();
double azuke = 100;
int year = 0;
if(x == 100){
System.out.println(1);
System.exit(0);
}
do{
azuke = azuke + 0.01*azuke;
azuke = Math.floor(azuke);
year = year+1;
} while(azuke < x);
System.out.println(year);
}
}
|
[
7,
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,
4,
18,
13,
4,
13,
13,
17,
17,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
2,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
4,
18,
13,
2,
13,
17,
40,
13,
29,
13,
23,
13,
23,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
113,
17
],
[
113,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
20,
31
],
[
31,
32
],
[
31,
33
],
[
20,
34
],
[
34,
35
],
[
34,
36
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
20,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
40,
45
],
[
20,
46
],
[
46,
47
],
[
47,
48
],
[
18,
49
],
[
49,
50
],
[
113,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
61,
63
],
[
55,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
67,
69
],
[
67,
70
],
[
67,
71
],
[
53,
72
],
[
72,
73
],
[
53,
74
],
[
74,
75
],
[
53,
76
],
[
76,
77
],
[
51,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
80,
86
],
[
86,
87
],
[
86,
88
],
[
80,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
99,
100
],
[
99,
101
],
[
93,
102
],
[
102,
103
],
[
80,
104
],
[
104,
105
],
[
78,
106
],
[
106,
107
],
[
78,
108
],
[
108,
109
],
[
78,
110
],
[
110,
111
],
[
0,
112
],
[
112,
113
],
[
112,
114
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskB {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n long years = 0;\n\n out.println(answer(x, 0, 100l));\n\n\n }\n\n public long answer(long x, long years, long current) {\n\n// double y = ceil(x*1.0000/100.0000);\n// double lgy = Math.log(y);\n// double xx = Math.log(1.0100);\n// double an = lgy/xx;\n// return (long)ceil(an);\n double cd = current * 1.00000;\n long y = 0;\n while (x > cd) {\n cd = Math.floor(cd * 1.01);\n y++;\n }\n return y;\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.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskB {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n long years = 0;\n\n out.println(answer(x, 0, 100l));\n\n\n }\n\n public long answer(long x, long years, long current) {\n\n// double y = ceil(x*1.0000/100.0000);\n// double lgy = Math.log(y);\n// double xx = Math.log(1.0100);\n// double an = lgy/xx;\n// return (long)ceil(an);\n double cd = current * 1.00000;\n long y = 0;\n while (x > cd) {\n cd = Math.floor(cd * 1.01);\n y++;\n }\n return y;\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\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",
"Scanner in = new Scanner(inputStream);",
"in",
"new Scanner(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"TaskB solver = new TaskB();",
"solver",
"new TaskB()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class TaskB {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n long years = 0;\n\n out.println(answer(x, 0, 100l));\n\n\n }\n\n public long answer(long x, long years, long current) {\n\n// double y = ceil(x*1.0000/100.0000);\n// double lgy = Math.log(y);\n// double xx = Math.log(1.0100);\n// double an = lgy/xx;\n// return (long)ceil(an);\n double cd = current * 1.00000;\n long y = 0;\n while (x > cd) {\n cd = Math.floor(cd * 1.01);\n y++;\n }\n return y;\n }\n\n }",
"TaskB",
"public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n long years = 0;\n\n out.println(answer(x, 0, 100l));\n\n\n }",
"solve",
"{\n long x = in.nextLong();\n long years = 0;\n\n out.println(answer(x, 0, 100l));\n\n\n }",
"long x = in.nextLong();",
"x",
"in.nextLong()",
"in.nextLong",
"in",
"long years = 0;",
"years",
"0",
"out.println(answer(x, 0, 100l))",
"out.println",
"out",
"answer(x, 0, 100l)",
"answer",
"x",
"0",
"100l",
"int testNumber",
"testNumber",
"Scanner in",
"in",
"PrintWriter out",
"out",
"public long answer(long x, long years, long current) {\n\n// double y = ceil(x*1.0000/100.0000);\n// double lgy = Math.log(y);\n// double xx = Math.log(1.0100);\n// double an = lgy/xx;\n// return (long)ceil(an);\n double cd = current * 1.00000;\n long y = 0;\n while (x > cd) {\n cd = Math.floor(cd * 1.01);\n y++;\n }\n return y;\n }",
"answer",
"{\n\n// double y = ceil(x*1.0000/100.0000);\n// double lgy = Math.log(y);\n// double xx = Math.log(1.0100);\n// double an = lgy/xx;\n// return (long)ceil(an);\n double cd = current * 1.00000;\n long y = 0;\n while (x > cd) {\n cd = Math.floor(cd * 1.01);\n y++;\n }\n return y;\n }",
"double cd = current * 1.00000;",
"cd",
"current * 1.00000",
"current",
"1.00000",
"long y = 0;",
"y",
"0",
"while (x > cd) {\n cd = Math.floor(cd * 1.01);\n y++;\n }",
"x > cd",
"x",
"cd",
"{\n cd = Math.floor(cd * 1.01);\n y++;\n }",
"cd = Math.floor(cd * 1.01)",
"cd",
"Math.floor(cd * 1.01)",
"Math.floor",
"Math",
"cd * 1.01",
"cd",
"1.01",
"y++",
"y",
"return y;",
"y",
"long x",
"x",
"long years",
"years",
"long current",
"current",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskB {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n long years = 0;\n\n out.println(answer(x, 0, 100l));\n\n\n }\n\n public long answer(long x, long years, long current) {\n\n// double y = ceil(x*1.0000/100.0000);\n// double lgy = Math.log(y);\n// double xx = Math.log(1.0100);\n// double an = lgy/xx;\n// return (long)ceil(an);\n double cd = current * 1.00000;\n long y = 0;\n while (x > cd) {\n cd = Math.floor(cd * 1.01);\n y++;\n }\n return y;\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 Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskB {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n long years = 0;\n\n out.println(answer(x, 0, 100l));\n\n\n }\n\n public long answer(long x, long years, long current) {\n\n// double y = ceil(x*1.0000/100.0000);\n// double lgy = Math.log(y);\n// double xx = Math.log(1.0100);\n// double an = lgy/xx;\n// return (long)ceil(an);\n double cd = current * 1.00000;\n long y = 0;\n while (x > cd) {\n cd = Math.floor(cd * 1.01);\n y++;\n }\n return y;\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
Scanner in = new Scanner(inputStream);
PrintWriter out = new PrintWriter(outputStream);
TaskB solver = new TaskB();
solver.solve(1, in, out);
out.close();
}
static class TaskB {
public void solve(int testNumber, Scanner in, PrintWriter out) {
long x = in.nextLong();
long years = 0;
out.println(answer(x, 0, 100l));
}
public long answer(long x, long years, long current) {
// double y = ceil(x*1.0000/100.0000);
// double lgy = Math.log(y);
// double xx = Math.log(1.0100);
// double an = lgy/xx;
// return (long)ceil(an);
double cd = current * 1.00000;
long y = 0;
while (x > cd) {
cd = Math.floor(cd * 1.01);
y++;
}
return y;
}
}
}
|
[
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,
13,
1,
40,
13,
30,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
48,
5
],
[
48,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n \n long year = 0;\n long result = 100;\n for (int i = 1; result < X; year++) {\n result *= 1.01;\n }\n System.out.println(year);\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 \n long year = 0;\n long result = 100;\n for (int i = 1; result < X; year++) {\n result *= 1.01;\n }\n System.out.println(year);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n \n long year = 0;\n long result = 100;\n for (int i = 1; result < X; year++) {\n result *= 1.01;\n }\n System.out.println(year);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n \n long year = 0;\n long result = 100;\n for (int i = 1; result < X; year++) {\n result *= 1.01;\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 year = 0;",
"year",
"0",
"long result = 100;",
"result",
"100",
"for (int i = 1; result < X; year++) {\n result *= 1.01;\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"result < X",
"result",
"X",
"year++",
"year++",
"year",
"{\n result *= 1.01;\n }",
"{\n result *= 1.01;\n }",
"result *= 1.01",
"result",
"1.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 Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n \n long year = 0;\n long result = 100;\n for (int i = 1; result < X; year++) {\n result *= 1.01;\n }\n System.out.println(year);\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 \n long year = 0;\n long result = 100;\n for (int i = 1; result < X; year++) {\n result *= 1.01;\n }\n System.out.println(year);\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 year = 0;
long result = 100;
for (int i = 1; result < X; year++) {
result *= 1.01;
}
System.out.println(year);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
20,
41,
13,
20,
2,
17,
17,
41,
13,
20,
12,
13,
30,
41,
13,
17,
42,
2,
40,
13,
17,
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,
4,
18,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
13,
0,
13,
13,
23,
13,
23,
13,
12,
13,
30,
12,
13,
30,
29,
2,
18,
36,
13,
18,
13,
13,
23,
13,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
117,
14
],
[
117,
15
],
[
15,
16
],
[
117,
17
],
[
17,
18
],
[
117,
19
],
[
19,
20
],
[
19,
21
],
[
117,
22
],
[
22,
23
],
[
22,
24
],
[
25,
26
],
[
25,
27
],
[
117,
28
],
[
28,
29
],
[
28,
30
],
[
117,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
37,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
42,
48
],
[
48,
49
],
[
48,
50
],
[
42,
51
],
[
51,
52
],
[
51,
53
],
[
42,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
58,
64
],
[
64,
65
],
[
42,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
33,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
31,
78
],
[
78,
79
],
[
117,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
80,
84
],
[
84,
85
],
[
80,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
86,
95
],
[
95,
96
],
[
86,
97
],
[
97,
98
],
[
80,
99
],
[
99,
100
],
[
99,
101
],
[
80,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
110,
112
],
[
102,
113
],
[
113,
114
],
[
80,
115
],
[
0,
116
],
[
116,
117
],
[
116,
118
]
] |
[
"import java.io.IOException;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Scanner;\n\n\n\npublic class Main {\n\n\tpublic static class pair implements Comparable<pair> {\n\t\tint id;\n\t\tint ans;\n \n\t\tpair(int x, int y) {\n \n\t\t\tid = x;\n\t\t\tans = y;\n \n\t\t}\n \n\t\tpublic pair() {\n \n\t\t}\n \n\t\tpublic int compareTo(pair o) {\n\t\t\t// TODO Auto-generated method stub\n \n\t\t\treturn this.id - o.id;\n\t\t}\n\t}\n \n//\tstatic int mod = (int) 998244353.;\n\tstatic ArrayList<Integer> gr[];\n\tstatic int[] ar;\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int pri[] = new int[(int) 1e6 + 5];\n\tstatic StringBuilder out = new StringBuilder();\n \n\t//static long dp[];\n \n\tpublic static void main(String[] args) throws IOException {\n\t\tint t =1;//sc.nextInt();\n\t\t\n\t\twhile (t-- > 0) {\n \n\t\t\tlong ru=sc.nextLong();\n\t\t\tlong val=100;\n\t\t\tlong n=0;\n\t\t\twhile(val<ru) {\n\t\t\t\tval+=val/100;\n\t\t\t\tn++;\n\t\t\t}\n\t\t\tSystem.out.println(n);\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(out);\n\t}\n\t\n \n\t\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static class pair implements Comparable<pair> {\n\t\tint id;\n\t\tint ans;\n \n\t\tpair(int x, int y) {\n \n\t\t\tid = x;\n\t\t\tans = y;\n \n\t\t}\n \n\t\tpublic pair() {\n \n\t\t}\n \n\t\tpublic int compareTo(pair o) {\n\t\t\t// TODO Auto-generated method stub\n \n\t\t\treturn this.id - o.id;\n\t\t}\n\t}\n \n//\tstatic int mod = (int) 998244353.;\n\tstatic ArrayList<Integer> gr[];\n\tstatic int[] ar;\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int pri[] = new int[(int) 1e6 + 5];\n\tstatic StringBuilder out = new StringBuilder();\n \n\t//static long dp[];\n \n\tpublic static void main(String[] args) throws IOException {\n\t\tint t =1;//sc.nextInt();\n\t\t\n\t\twhile (t-- > 0) {\n \n\t\t\tlong ru=sc.nextLong();\n\t\t\tlong val=100;\n\t\t\tlong n=0;\n\t\t\twhile(val<ru) {\n\t\t\t\tval+=val/100;\n\t\t\t\tn++;\n\t\t\t}\n\t\t\tSystem.out.println(n);\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(out);\n\t}\n\t\n \n\t\n}",
"Main",
"//\tstatic int mod = (int) 998244353.;\n\tstatic ArrayList<Integer> gr[];",
"gr",
"static int[] ar;",
"ar",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"static int pri[] = new int[(int) 1e6 + 5];",
"pri",
"new int[(int) 1e6 + 5]",
"(int) 1e6 + 5",
"(int) 1e6",
"5",
"static StringBuilder out = new StringBuilder();",
"out",
"new StringBuilder()",
"public static void main(String[] args) throws IOException {\n\t\tint t =1;//sc.nextInt();\n\t\t\n\t\twhile (t-- > 0) {\n \n\t\t\tlong ru=sc.nextLong();\n\t\t\tlong val=100;\n\t\t\tlong n=0;\n\t\t\twhile(val<ru) {\n\t\t\t\tval+=val/100;\n\t\t\t\tn++;\n\t\t\t}\n\t\t\tSystem.out.println(n);\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(out);\n\t}",
"main",
"{\n\t\tint t =1;//sc.nextInt();\n\t\t\n\t\twhile (t-- > 0) {\n \n\t\t\tlong ru=sc.nextLong();\n\t\t\tlong val=100;\n\t\t\tlong n=0;\n\t\t\twhile(val<ru) {\n\t\t\t\tval+=val/100;\n\t\t\t\tn++;\n\t\t\t}\n\t\t\tSystem.out.println(n);\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(out);\n\t}",
"int t =1;",
"t",
"1",
"while (t-- > 0) {\n \n\t\t\tlong ru=sc.nextLong();\n\t\t\tlong val=100;\n\t\t\tlong n=0;\n\t\t\twhile(val<ru) {\n\t\t\t\tval+=val/100;\n\t\t\t\tn++;\n\t\t\t}\n\t\t\tSystem.out.println(n);\n\t\t\t\n\t\t\t\n\t\t}",
"t-- > 0",
"t--",
"t",
"0",
"{\n \n\t\t\tlong ru=sc.nextLong();\n\t\t\tlong val=100;\n\t\t\tlong n=0;\n\t\t\twhile(val<ru) {\n\t\t\t\tval+=val/100;\n\t\t\t\tn++;\n\t\t\t}\n\t\t\tSystem.out.println(n);\n\t\t\t\n\t\t\t\n\t\t}",
"long ru=sc.nextLong();",
"ru",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long val=100;",
"val",
"100",
"long n=0;",
"n",
"0",
"while(val<ru) {\n\t\t\t\tval+=val/100;\n\t\t\t\tn++;\n\t\t\t}",
"val<ru",
"val",
"ru",
"{\n\t\t\t\tval+=val/100;\n\t\t\t\tn++;\n\t\t\t}",
"val+=val/100",
"val",
"val/100",
"val",
"100",
"n++",
"n",
"System.out.println(n)",
"System.out.println",
"System.out",
"System",
"System.out",
"n",
"System.out.println(out)",
"System.out.println",
"System.out",
"System",
"System.out",
"out",
"String[] args",
"args",
"public static class pair implements Comparable<pair> {\n\t\tint id;\n\t\tint ans;\n \n\t\tpair(int x, int y) {\n \n\t\t\tid = x;\n\t\t\tans = y;\n \n\t\t}\n \n\t\tpublic pair() {\n \n\t\t}\n \n\t\tpublic int compareTo(pair o) {\n\t\t\t// TODO Auto-generated method stub\n \n\t\t\treturn this.id - o.id;\n\t\t}\n\t}",
"pair",
"int id;",
"id",
"int ans;",
"ans",
"pair(int x, int y) {\n \n\t\t\tid = x;\n\t\t\tans = y;\n \n\t\t}",
"pair",
"{\n \n\t\t\tid = x;\n\t\t\tans = y;\n \n\t\t}",
"id = x",
"id",
"x",
"ans = y",
"ans",
"y",
"int x",
"x",
"int y",
"y",
"public pair() {\n \n\t\t}",
"pair",
"{\n \n\t\t}",
"public int compareTo(pair o) {\n\t\t\t// TODO Auto-generated method stub\n \n\t\t\treturn this.id - o.id;\n\t\t}",
"compareTo",
"{\n\t\t\t// TODO Auto-generated method stub\n \n\t\t\treturn this.id - o.id;\n\t\t}",
"return this.id - o.id;",
"this.id - o.id",
"this.id",
"this",
"this.id",
"o.id",
"o",
"o.id",
"pair o",
"o",
"Comparable",
"public class Main {\n\n\tpublic static class pair implements Comparable<pair> {\n\t\tint id;\n\t\tint ans;\n \n\t\tpair(int x, int y) {\n \n\t\t\tid = x;\n\t\t\tans = y;\n \n\t\t}\n \n\t\tpublic pair() {\n \n\t\t}\n \n\t\tpublic int compareTo(pair o) {\n\t\t\t// TODO Auto-generated method stub\n \n\t\t\treturn this.id - o.id;\n\t\t}\n\t}\n \n//\tstatic int mod = (int) 998244353.;\n\tstatic ArrayList<Integer> gr[];\n\tstatic int[] ar;\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int pri[] = new int[(int) 1e6 + 5];\n\tstatic StringBuilder out = new StringBuilder();\n \n\t//static long dp[];\n \n\tpublic static void main(String[] args) throws IOException {\n\t\tint t =1;//sc.nextInt();\n\t\t\n\t\twhile (t-- > 0) {\n \n\t\t\tlong ru=sc.nextLong();\n\t\t\tlong val=100;\n\t\t\tlong n=0;\n\t\t\twhile(val<ru) {\n\t\t\t\tval+=val/100;\n\t\t\t\tn++;\n\t\t\t}\n\t\t\tSystem.out.println(n);\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(out);\n\t}\n\t\n \n\t\n}",
"public class Main {\n\n\tpublic static class pair implements Comparable<pair> {\n\t\tint id;\n\t\tint ans;\n \n\t\tpair(int x, int y) {\n \n\t\t\tid = x;\n\t\t\tans = y;\n \n\t\t}\n \n\t\tpublic pair() {\n \n\t\t}\n \n\t\tpublic int compareTo(pair o) {\n\t\t\t// TODO Auto-generated method stub\n \n\t\t\treturn this.id - o.id;\n\t\t}\n\t}\n \n//\tstatic int mod = (int) 998244353.;\n\tstatic ArrayList<Integer> gr[];\n\tstatic int[] ar;\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int pri[] = new int[(int) 1e6 + 5];\n\tstatic StringBuilder out = new StringBuilder();\n \n\t//static long dp[];\n \n\tpublic static void main(String[] args) throws IOException {\n\t\tint t =1;//sc.nextInt();\n\t\t\n\t\twhile (t-- > 0) {\n \n\t\t\tlong ru=sc.nextLong();\n\t\t\tlong val=100;\n\t\t\tlong n=0;\n\t\t\twhile(val<ru) {\n\t\t\t\tval+=val/100;\n\t\t\t\tn++;\n\t\t\t}\n\t\t\tSystem.out.println(n);\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(out);\n\t}\n\t\n \n\t\n}",
"Main"
] |
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static class pair implements Comparable<pair> {
int id;
int ans;
pair(int x, int y) {
id = x;
ans = y;
}
public pair() {
}
public int compareTo(pair o) {
// TODO Auto-generated method stub
return this.id - o.id;
}
}
// static int mod = (int) 998244353.;
static ArrayList<Integer> gr[];
static int[] ar;
static Scanner sc = new Scanner(System.in);
static int pri[] = new int[(int) 1e6 + 5];
static StringBuilder out = new StringBuilder();
//static long dp[];
public static void main(String[] args) throws IOException {
int t =1;//sc.nextInt();
while (t-- > 0) {
long ru=sc.nextLong();
long val=100;
long n=0;
while(val<ru) {
val+=val/100;
n++;
}
System.out.println(n);
}
System.out.println(out);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
2,
4,
18,
13,
13,
17,
30,
41,
13,
4,
18,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
58,
8
],
[
58,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
11,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
28,
33
],
[
27,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
34,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
34,
47
],
[
47,
48
],
[
11,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
9,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] |
[
"import java.math.BigInteger;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n BigInteger x = new BigInteger(sc.next());\n BigInteger c = new BigInteger(\"100\");\n BigInteger r = new BigInteger(\"100\");\n long count = 0L;\n while(c.compareTo(x) < 0) {\n BigInteger tmp = c.divide(r);\n c = c.add(tmp);\n count++;\n }\n System.out.println(count);\n }\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n BigInteger x = new BigInteger(sc.next());\n BigInteger c = new BigInteger(\"100\");\n BigInteger r = new BigInteger(\"100\");\n long count = 0L;\n while(c.compareTo(x) < 0) {\n BigInteger tmp = c.divide(r);\n c = c.add(tmp);\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 x = new BigInteger(sc.next());\n BigInteger c = new BigInteger(\"100\");\n BigInteger r = new BigInteger(\"100\");\n long count = 0L;\n while(c.compareTo(x) < 0) {\n BigInteger tmp = c.divide(r);\n c = c.add(tmp);\n count++;\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n BigInteger x = new BigInteger(sc.next());\n BigInteger c = new BigInteger(\"100\");\n BigInteger r = new BigInteger(\"100\");\n long count = 0L;\n while(c.compareTo(x) < 0) {\n BigInteger tmp = c.divide(r);\n c = c.add(tmp);\n count++;\n }\n System.out.println(count);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigInteger x = new BigInteger(sc.next());",
"x",
"new BigInteger(sc.next())",
"BigInteger c = new BigInteger(\"100\");",
"c",
"new BigInteger(\"100\")",
"BigInteger r = new BigInteger(\"100\");",
"r",
"new BigInteger(\"100\")",
"long count = 0L;",
"count",
"0L",
"while(c.compareTo(x) < 0) {\n BigInteger tmp = c.divide(r);\n c = c.add(tmp);\n count++;\n }",
"c.compareTo(x) < 0",
"c.compareTo(x)",
"c.compareTo",
"c",
"x",
"0",
"{\n BigInteger tmp = c.divide(r);\n c = c.add(tmp);\n count++;\n }",
"BigInteger tmp = c.divide(r);",
"tmp",
"c.divide(r)",
"c.divide",
"c",
"r",
"c = c.add(tmp)",
"c",
"c.add(tmp)",
"c.add",
"c",
"tmp",
"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 x = new BigInteger(sc.next());\n BigInteger c = new BigInteger(\"100\");\n BigInteger r = new BigInteger(\"100\");\n long count = 0L;\n while(c.compareTo(x) < 0) {\n BigInteger tmp = c.divide(r);\n c = c.add(tmp);\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 x = new BigInteger(sc.next());\n BigInteger c = new BigInteger(\"100\");\n BigInteger r = new BigInteger(\"100\");\n long count = 0L;\n while(c.compareTo(x) < 0) {\n BigInteger tmp = c.divide(r);\n c = c.add(tmp);\n count++;\n }\n System.out.println(count);\n }\n}",
"Main"
] |
import java.math.BigInteger;
import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
BigInteger x = new BigInteger(sc.next());
BigInteger c = new BigInteger("100");
BigInteger r = new BigInteger("100");
long count = 0L;
while(c.compareTo(x) < 0) {
BigInteger tmp = c.divide(r);
c = c.add(tmp);
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,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
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,
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,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
152,
8
],
[
152,
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
],
[
33,
34
],
[
33,
35
],
[
30,
36
],
[
36,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
9,
44
],
[
44,
45
],
[
152,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
46,
50
],
[
50,
51
],
[
46,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
54,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
52,
65
],
[
65,
66
],
[
52,
67
],
[
67,
68
],
[
152,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
69,
73
],
[
73,
74
],
[
69,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
75,
81
],
[
81,
82
],
[
69,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
83,
89
],
[
89,
90
],
[
69,
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
],
[
103,
105
],
[
93,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
69,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
117,
118
],
[
69,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
123,
126
],
[
126,
127
],
[
69,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
69,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
139,
142
],
[
142,
143
],
[
69,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
0,
151
],
[
151,
152
],
[
151,
153
]
] |
[
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong target = sc.nextLong();\n\t\tlong base=100;\n\t\tint counts=0;\n\t\twhile(base<target) {\n\t\t\tbase+= (base/100);\n\t\t\tcounts++;\n\t\t}\n\t\tSystem.out.println(counts);\n\t}\n\n\tstatic class Pair {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic Pair(int x, int y) {\n\t\t\tthis.x = x;\n\t\t\tthis.y = y;\n\t\t}\n\n\t}\n\n\tstatic class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream s) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(s));\n\t\t}\n\n\t\tpublic Scanner(String file) throws FileNotFoundException {\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 int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\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 String nextLine() throws IOException {\n\t\t\treturn br.readLine();\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 boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong target = sc.nextLong();\n\t\tlong base=100;\n\t\tint counts=0;\n\t\twhile(base<target) {\n\t\t\tbase+= (base/100);\n\t\t\tcounts++;\n\t\t}\n\t\tSystem.out.println(counts);\n\t}\n\n\tstatic class Pair {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic Pair(int x, int y) {\n\t\t\tthis.x = x;\n\t\t\tthis.y = y;\n\t\t}\n\n\t}\n\n\tstatic class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream s) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(s));\n\t\t}\n\n\t\tpublic Scanner(String file) throws FileNotFoundException {\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 int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\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 String nextLine() throws IOException {\n\t\t\treturn br.readLine();\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 boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong target = sc.nextLong();\n\t\tlong base=100;\n\t\tint counts=0;\n\t\twhile(base<target) {\n\t\t\tbase+= (base/100);\n\t\t\tcounts++;\n\t\t}\n\t\tSystem.out.println(counts);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong target = sc.nextLong();\n\t\tlong base=100;\n\t\tint counts=0;\n\t\twhile(base<target) {\n\t\t\tbase+= (base/100);\n\t\t\tcounts++;\n\t\t}\n\t\tSystem.out.println(counts);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long target = sc.nextLong();",
"target",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long base=100;",
"base",
"100",
"int counts=0;",
"counts",
"0",
"while(base<target) {\n\t\t\tbase+= (base/100);\n\t\t\tcounts++;\n\t\t}",
"base<target",
"base",
"target",
"{\n\t\t\tbase+= (base/100);\n\t\t\tcounts++;\n\t\t}",
"base+= (base/100)",
"base",
"(base/100)",
"base",
"100",
"counts++",
"counts",
"System.out.println(counts)",
"System.out.println",
"System.out",
"System",
"System.out",
"counts",
"String[] args",
"args",
"static class Pair {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic Pair(int x, int y) {\n\t\t\tthis.x = x;\n\t\t\tthis.y = y;\n\t\t}\n\n\t}",
"Pair",
"int x;",
"x",
"int y;",
"y",
"public Pair(int x, int y) {\n\t\t\tthis.x = x;\n\t\t\tthis.y = y;\n\t\t}",
"Pair",
"{\n\t\t\tthis.x = x;\n\t\t\tthis.y = y;\n\t\t}",
"this.x = x",
"this.x",
"this",
"this.x",
"x",
"this.y = y",
"this.y",
"this",
"this.y",
"y",
"int x",
"x",
"int y",
"y",
"static class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream s) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(s));\n\t\t}\n\n\t\tpublic Scanner(String file) throws FileNotFoundException {\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 int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\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 String nextLine() throws IOException {\n\t\t\treturn br.readLine();\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 boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t}",
"Scanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public Scanner(InputStream s) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(s));\n\t\t}",
"Scanner",
"{\n\t\t\tbr = new BufferedReader(new InputStreamReader(s));\n\t\t}",
"br = new BufferedReader(new InputStreamReader(s))",
"br",
"new BufferedReader(new InputStreamReader(s))",
"InputStream s",
"s",
"public Scanner(String file) throws FileNotFoundException {\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 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 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 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 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 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 class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong target = sc.nextLong();\n\t\tlong base=100;\n\t\tint counts=0;\n\t\twhile(base<target) {\n\t\t\tbase+= (base/100);\n\t\t\tcounts++;\n\t\t}\n\t\tSystem.out.println(counts);\n\t}\n\n\tstatic class Pair {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic Pair(int x, int y) {\n\t\t\tthis.x = x;\n\t\t\tthis.y = y;\n\t\t}\n\n\t}\n\n\tstatic class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream s) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(s));\n\t\t}\n\n\t\tpublic Scanner(String file) throws FileNotFoundException {\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 int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\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 String nextLine() throws IOException {\n\t\t\treturn br.readLine();\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 boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong target = sc.nextLong();\n\t\tlong base=100;\n\t\tint counts=0;\n\t\twhile(base<target) {\n\t\t\tbase+= (base/100);\n\t\t\tcounts++;\n\t\t}\n\t\tSystem.out.println(counts);\n\t}\n\n\tstatic class Pair {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic Pair(int x, int y) {\n\t\t\tthis.x = x;\n\t\t\tthis.y = y;\n\t\t}\n\n\t}\n\n\tstatic class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream s) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(s));\n\t\t}\n\n\t\tpublic Scanner(String file) throws FileNotFoundException {\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 int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\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 String nextLine() throws IOException {\n\t\t\treturn br.readLine();\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 boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t}\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
long target = sc.nextLong();
long base=100;
int counts=0;
while(base<target) {
base+= (base/100);
counts++;
}
System.out.println(counts);
}
static class Pair {
int x;
int y;
public Pair(int x, int y) {
this.x = x;
this.y = y;
}
}
static class Scanner {
StringTokenizer st;
BufferedReader br;
public Scanner(InputStream s) {
br = new BufferedReader(new InputStreamReader(s));
}
public Scanner(String file) throws FileNotFoundException {
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 nextInt() throws IOException {
return Integer.parseInt(next());
}
public long nextLong() throws IOException {
return Long.parseLong(next());
}
public String nextLine() throws IOException {
return br.readLine();
}
public double nextDouble() throws IOException {
return Double.parseDouble(next());
}
public boolean ready() throws IOException {
return br.ready();
}
}
}
|
[
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,
41,
13,
4,
18,
13,
2,
13,
17,
0,
13,
2,
13,
13,
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
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
27,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
27,
41
],
[
41,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
6,
49
],
[
49,
50
]
] |
[
"import java.util.Scanner;\nclass Main{\n public static void main (String[] args){\n Scanner stdIn = new Scanner(System.in);\n \n long X = stdIn.nextLong();\n \n int y = 0;\n double money = 100;\n do{\n double r =Math.floor(money * 0.01);\n money = money + r;\n y++;\n }while(money < X);\n System.out.println(y);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main (String[] args){\n Scanner stdIn = new Scanner(System.in);\n \n long X = stdIn.nextLong();\n \n int y = 0;\n double money = 100;\n do{\n double r =Math.floor(money * 0.01);\n money = money + r;\n y++;\n }while(money < X);\n System.out.println(y);\n }\n}",
"Main",
"public static void main (String[] args){\n Scanner stdIn = new Scanner(System.in);\n \n long X = stdIn.nextLong();\n \n int y = 0;\n double money = 100;\n do{\n double r =Math.floor(money * 0.01);\n money = money + r;\n y++;\n }while(money < X);\n System.out.println(y);\n }",
"main",
"{\n Scanner stdIn = new Scanner(System.in);\n \n long X = stdIn.nextLong();\n \n int y = 0;\n double money = 100;\n do{\n double r =Math.floor(money * 0.01);\n money = money + r;\n y++;\n }while(money < X);\n System.out.println(y);\n }",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"long X = stdIn.nextLong();",
"X",
"stdIn.nextLong()",
"stdIn.nextLong",
"stdIn",
"int y = 0;",
"y",
"0",
"double money = 100;",
"money",
"100",
"do{\n double r =Math.floor(money * 0.01);\n money = money + r;\n y++;\n }while(money < X);",
"money < X",
"money",
"X",
"{\n double r =Math.floor(money * 0.01);\n money = money + r;\n y++;\n }",
"double r =Math.floor(money * 0.01);",
"r",
"Math.floor(money * 0.01)",
"Math.floor",
"Math",
"money * 0.01",
"money",
"0.01",
"money = money + r",
"money",
"money + r",
"money",
"r",
"y++",
"y",
"System.out.println(y)",
"System.out.println",
"System.out",
"System",
"System.out",
"y",
"String[] args",
"args"
] |
import java.util.Scanner;
class Main{
public static void main (String[] args){
Scanner stdIn = new Scanner(System.in);
long X = stdIn.nextLong();
int y = 0;
double money = 100;
do{
double r =Math.floor(money * 0.01);
money = money + r;
y++;
}while(money < X);
System.out.println(y);
}
}
|
[
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,
41,
13,
2,
13,
17,
0,
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
],
[
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
],
[
39,
41
],
[
33,
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.*;\n\npublic class Main {\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n long k = Long.parseLong(in.nextLine());\n // String[] tmp = in.nextLine().trim().split(\"\\\\s\");\n // int a = Integer.parseInt(tmp[0]);\n // int b = Integer.parseInt(tmp[1]);\n in.close();\n int i = 0;\n long base = 100;\n while(base < k){\n long inc = (long)(base * 0.01);\n base += inc;\n i++;\n }\n System.out.println(i);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n long k = Long.parseLong(in.nextLine());\n // String[] tmp = in.nextLine().trim().split(\"\\\\s\");\n // int a = Integer.parseInt(tmp[0]);\n // int b = Integer.parseInt(tmp[1]);\n in.close();\n int i = 0;\n long base = 100;\n while(base < k){\n long inc = (long)(base * 0.01);\n base += inc;\n i++;\n }\n System.out.println(i);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n long k = Long.parseLong(in.nextLine());\n // String[] tmp = in.nextLine().trim().split(\"\\\\s\");\n // int a = Integer.parseInt(tmp[0]);\n // int b = Integer.parseInt(tmp[1]);\n in.close();\n int i = 0;\n long base = 100;\n while(base < k){\n long inc = (long)(base * 0.01);\n base += inc;\n i++;\n }\n System.out.println(i);\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n long k = Long.parseLong(in.nextLine());\n // String[] tmp = in.nextLine().trim().split(\"\\\\s\");\n // int a = Integer.parseInt(tmp[0]);\n // int b = Integer.parseInt(tmp[1]);\n in.close();\n int i = 0;\n long base = 100;\n while(base < k){\n long inc = (long)(base * 0.01);\n base += inc;\n i++;\n }\n System.out.println(i);\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"long k = Long.parseLong(in.nextLine());",
"k",
"Long.parseLong(in.nextLine())",
"Long.parseLong",
"Long",
"in.nextLine()",
"in.nextLine",
"in",
"in.close()",
"in.close",
"in",
"int i = 0;",
"i",
"0",
"long base = 100;",
"base",
"100",
"while(base < k){\n long inc = (long)(base * 0.01);\n base += inc;\n i++;\n }",
"base < k",
"base",
"k",
"{\n long inc = (long)(base * 0.01);\n base += inc;\n i++;\n }",
"long inc = (long)(base * 0.01);",
"inc",
"(long)(base * 0.01)",
"base",
"0.01",
"base += inc",
"base",
"inc",
"i++",
"i",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n long k = Long.parseLong(in.nextLine());\n // String[] tmp = in.nextLine().trim().split(\"\\\\s\");\n // int a = Integer.parseInt(tmp[0]);\n // int b = Integer.parseInt(tmp[1]);\n in.close();\n int i = 0;\n long base = 100;\n while(base < k){\n long inc = (long)(base * 0.01);\n base += inc;\n i++;\n }\n System.out.println(i);\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n long k = Long.parseLong(in.nextLine());\n // String[] tmp = in.nextLine().trim().split(\"\\\\s\");\n // int a = Integer.parseInt(tmp[0]);\n // int b = Integer.parseInt(tmp[1]);\n in.close();\n int i = 0;\n long base = 100;\n while(base < k){\n long inc = (long)(base * 0.01);\n base += inc;\n i++;\n }\n System.out.println(i);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args){
Scanner in = new Scanner(System.in);
long k = Long.parseLong(in.nextLine());
// String[] tmp = in.nextLine().trim().split("\\s");
// int a = Integer.parseInt(tmp[0]);
// int b = Integer.parseInt(tmp[1]);
in.close();
int i = 0;
long base = 100;
while(base < k){
long inc = (long)(base * 0.01);
base += inc;
i++;
}
System.out.println(i);
}
}
|
[
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){\n Scanner sc = new Scanner(System.in);\n String x = sc.next();\n long xx = Long.parseLong(x);\n long balance = 100;\n long ans = 0;\n while(balance < xx){\n balance = balance + (long)(balance * 0.01);\n ans++;\n }\n System.out.println(ans);\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 String x = sc.next();\n long xx = Long.parseLong(x);\n long balance = 100;\n long ans = 0;\n while(balance < xx){\n balance = balance + (long)(balance * 0.01);\n ans++;\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String x = sc.next();\n long xx = Long.parseLong(x);\n long balance = 100;\n long ans = 0;\n while(balance < xx){\n balance = balance + (long)(balance * 0.01);\n ans++;\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String x = sc.next();\n long xx = Long.parseLong(x);\n long balance = 100;\n long ans = 0;\n while(balance < xx){\n balance = balance + (long)(balance * 0.01);\n ans++;\n }\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String x = sc.next();",
"x",
"sc.next()",
"sc.next",
"sc",
"long xx = Long.parseLong(x);",
"xx",
"Long.parseLong(x)",
"Long.parseLong",
"Long",
"x",
"long balance = 100;",
"balance",
"100",
"long ans = 0;",
"ans",
"0",
"while(balance < xx){\n balance = balance + (long)(balance * 0.01);\n ans++;\n }",
"balance < xx",
"balance",
"xx",
"{\n balance = balance + (long)(balance * 0.01);\n ans++;\n }",
"balance = balance + (long)(balance * 0.01)",
"balance",
"balance + (long)(balance * 0.01)",
"balance",
"(long)(balance * 0.01)",
"balance",
"0.01",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String x = sc.next();\n long xx = Long.parseLong(x);\n long balance = 100;\n long ans = 0;\n while(balance < xx){\n balance = balance + (long)(balance * 0.01);\n ans++;\n }\n System.out.println(ans);\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String x = sc.next();\n long xx = Long.parseLong(x);\n long balance = 100;\n long ans = 0;\n while(balance < xx){\n balance = balance + (long)(balance * 0.01);\n ans++;\n }\n System.out.println(ans);\n }\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String x = sc.next();
long xx = Long.parseLong(x);
long balance = 100;
long ans = 0;
while(balance < xx){
balance = balance + (long)(balance * 0.01);
ans++;
}
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,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
0,
13,
4,
18,
13,
13,
0,
13,
2,
13,
13,
40,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
61,
5
],
[
61,
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
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
30,
47
],
[
47,
48
],
[
30,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
6,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tint ans = 0;\n\t\tdouble money = 100;\n\t\tdouble risi = 0;\n\n\t\twhile (money < X) {\n\t\t\trisi = money*0.01;\n\t\t\trisi = Math.floor(risi);\n\t\t\tmoney = money + risi;\n\t\t\tans++;\n\t\t\trisi = 0;\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tint ans = 0;\n\t\tdouble money = 100;\n\t\tdouble risi = 0;\n\n\t\twhile (money < X) {\n\t\t\trisi = money*0.01;\n\t\t\trisi = Math.floor(risi);\n\t\t\tmoney = money + risi;\n\t\t\tans++;\n\t\t\trisi = 0;\n\t\t}\n\n\t\tSystem.out.println(ans);\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\tint ans = 0;\n\t\tdouble money = 100;\n\t\tdouble risi = 0;\n\n\t\twhile (money < X) {\n\t\t\trisi = money*0.01;\n\t\t\trisi = Math.floor(risi);\n\t\t\tmoney = money + risi;\n\t\t\tans++;\n\t\t\trisi = 0;\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tint ans = 0;\n\t\tdouble money = 100;\n\t\tdouble risi = 0;\n\n\t\twhile (money < X) {\n\t\t\trisi = money*0.01;\n\t\t\trisi = Math.floor(risi);\n\t\t\tmoney = money + risi;\n\t\t\tans++;\n\t\t\trisi = 0;\n\t\t}\n\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",
"int ans = 0;",
"ans",
"0",
"double money = 100;",
"money",
"100",
"double risi = 0;",
"risi",
"0",
"while (money < X) {\n\t\t\trisi = money*0.01;\n\t\t\trisi = Math.floor(risi);\n\t\t\tmoney = money + risi;\n\t\t\tans++;\n\t\t\trisi = 0;\n\t\t}",
"money < X",
"money",
"X",
"{\n\t\t\trisi = money*0.01;\n\t\t\trisi = Math.floor(risi);\n\t\t\tmoney = money + risi;\n\t\t\tans++;\n\t\t\trisi = 0;\n\t\t}",
"risi = money*0.01",
"risi",
"money*0.01",
"money",
"0.01",
"risi = Math.floor(risi)",
"risi",
"Math.floor(risi)",
"Math.floor",
"Math",
"risi",
"money = money + risi",
"money",
"money + risi",
"money",
"risi",
"ans++",
"ans",
"risi = 0",
"risi",
"0",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tint ans = 0;\n\t\tdouble money = 100;\n\t\tdouble risi = 0;\n\n\t\twhile (money < X) {\n\t\t\trisi = money*0.01;\n\t\t\trisi = Math.floor(risi);\n\t\t\tmoney = money + risi;\n\t\t\tans++;\n\t\t\trisi = 0;\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}\n}",
"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\tint ans = 0;\n\t\tdouble money = 100;\n\t\tdouble risi = 0;\n\n\t\twhile (money < X) {\n\t\t\trisi = money*0.01;\n\t\t\trisi = Math.floor(risi);\n\t\t\tmoney = money + risi;\n\t\t\tans++;\n\t\t\trisi = 0;\n\t\t}\n\n\t\tSystem.out.println(ans);\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 ans = 0;
double money = 100;
double risi = 0;
while (money < X) {
risi = money*0.01;
risi = Math.floor(risi);
money = money + risi;
ans++;
risi = 0;
}
System.out.println(ans);
}
}
|
[
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,
17,
40,
13,
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
],
[
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
],
[
30,
34
],
[
34,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] |
[
"import java.util.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 scan.close();\n\n int year = 0;\n long Y = 100;\n while(Y < X) {\n Y *= 1.01;\n year++;\n }\n System.out.println(year);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long X = scan.nextLong();\n scan.close();\n\n int year = 0;\n long Y = 100;\n while(Y < X) {\n Y *= 1.01;\n year++;\n }\n System.out.println(year);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long X = scan.nextLong();\n scan.close();\n\n int year = 0;\n long Y = 100;\n while(Y < X) {\n Y *= 1.01;\n year++;\n }\n System.out.println(year);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n long X = scan.nextLong();\n scan.close();\n\n int year = 0;\n long Y = 100;\n while(Y < X) {\n Y *= 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",
"scan.close()",
"scan.close",
"scan",
"int year = 0;",
"year",
"0",
"long Y = 100;",
"Y",
"100",
"while(Y < X) {\n Y *= 1.01;\n year++;\n }",
"Y < X",
"Y",
"X",
"{\n Y *= 1.01;\n year++;\n }",
"Y *= 1.01",
"Y",
"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 Scanner scan = new Scanner(System.in);\n long X = scan.nextLong();\n scan.close();\n\n int year = 0;\n long Y = 100;\n while(Y < X) {\n Y *= 1.01;\n year++;\n }\n System.out.println(year);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long X = scan.nextLong();\n scan.close();\n\n int year = 0;\n long Y = 100;\n while(Y < X) {\n Y *= 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();
scan.close();
int year = 0;
long Y = 100;
while(Y < X) {
Y *= 1.01;
year++;
}
System.out.println(year);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
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
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
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
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
29,
35
],
[
35,
36
],
[
10,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n try (Scanner s = new Scanner(System.in)) {\n long x = s.nextLong();\n long c = 100;\n int count = 0;\n while (c < x) {\n c += c / 100;\n count++;\n }\n System.out.println(count);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n try (Scanner s = new Scanner(System.in)) {\n long x = s.nextLong();\n long c = 100;\n int count = 0;\n while (c < x) {\n c += c / 100;\n count++;\n }\n System.out.println(count);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n try (Scanner s = new Scanner(System.in)) {\n long x = s.nextLong();\n long c = 100;\n int count = 0;\n while (c < x) {\n c += c / 100;\n count++;\n }\n System.out.println(count);\n }\n }",
"main",
"{\n try (Scanner s = new Scanner(System.in)) {\n long x = s.nextLong();\n long c = 100;\n int count = 0;\n while (c < x) {\n c += c / 100;\n count++;\n }\n System.out.println(count);\n }\n }",
"try (Scanner s = new Scanner(System.in)) {\n long x = s.nextLong();\n long c = 100;\n int count = 0;\n while (c < x) {\n c += c / 100;\n count++;\n }\n System.out.println(count);\n }",
"{\n long x = s.nextLong();\n long c = 100;\n int count = 0;\n while (c < x) {\n c += c / 100;\n count++;\n }\n System.out.println(count);\n }",
"Scanner s = new Scanner(System.in)",
"Scanner s = new Scanner(System.in)",
"new Scanner(System.in)",
"long x = s.nextLong();",
"x",
"s.nextLong()",
"s.nextLong",
"s",
"long c = 100;",
"c",
"100",
"int count = 0;",
"count",
"0",
"while (c < x) {\n c += c / 100;\n count++;\n }",
"c < x",
"c",
"x",
"{\n c += c / 100;\n count++;\n }",
"c += c / 100",
"c",
"c / 100",
"c",
"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) throws Exception {\n try (Scanner s = new Scanner(System.in)) {\n long x = s.nextLong();\n long c = 100;\n int count = 0;\n while (c < x) {\n c += c / 100;\n count++;\n }\n System.out.println(count);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n try (Scanner s = new Scanner(System.in)) {\n long x = s.nextLong();\n long c = 100;\n int count = 0;\n while (c < x) {\n c += c / 100;\n count++;\n }\n System.out.println(count);\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
try (Scanner s = new Scanner(System.in)) {
long x = s.nextLong();
long c = 100;
int count = 0;
while (c < x) {
c += c / 100;
count++;
}
System.out.println(count);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
30,
30,
41,
13,
2,
13,
17,
0,
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
],
[
53,
8
],
[
8,
9
],
[
53,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
12,
21
],
[
21,
22
],
[
21,
23
],
[
12,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
33,
39
],
[
39,
40
],
[
39,
41
],
[
33,
42
],
[
42,
43
],
[
12,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
10,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n static long x, ans;\n\n public static void main(String[] args) {\n // TODO Auto-generated method stub\n Scanner in = new Scanner(System.in);\n x = in.nextLong();\n int n = 0;\n for (long i = 100; i < x;) {\n long a = i / 100;\n i += a;\n n++;\n }\n System.out.println(n);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n static long x, ans;\n\n public static void main(String[] args) {\n // TODO Auto-generated method stub\n Scanner in = new Scanner(System.in);\n x = in.nextLong();\n int n = 0;\n for (long i = 100; i < x;) {\n long a = i / 100;\n i += a;\n n++;\n }\n System.out.println(n);\n }\n}",
"Main",
"static long x",
"x",
"ans;",
"ans",
"public static void main(String[] args) {\n // TODO Auto-generated method stub\n Scanner in = new Scanner(System.in);\n x = in.nextLong();\n int n = 0;\n for (long i = 100; i < x;) {\n long a = i / 100;\n i += a;\n n++;\n }\n System.out.println(n);\n }",
"main",
"{\n // TODO Auto-generated method stub\n Scanner in = new Scanner(System.in);\n x = in.nextLong();\n int n = 0;\n for (long i = 100; i < x;) {\n long a = i / 100;\n i += a;\n n++;\n }\n System.out.println(n);\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"x = in.nextLong()",
"x",
"in.nextLong()",
"in.nextLong",
"in",
"int n = 0;",
"n",
"0",
"for (long i = 100; i < x;) {\n long a = i / 100;\n i += a;\n n++;\n }",
"long i = 100;",
"long i = 100;",
"i",
"100",
"i < x",
"i",
"x",
"{\n long a = i / 100;\n i += a;\n n++;\n }",
"{\n long a = i / 100;\n i += a;\n n++;\n }",
"long a = i / 100;",
"a",
"i / 100",
"i",
"100",
"i += a",
"i",
"a",
"n++",
"n",
"System.out.println(n)",
"System.out.println",
"System.out",
"System",
"System.out",
"n",
"String[] args",
"args",
"public class Main {\n static long x, ans;\n\n public static void main(String[] args) {\n // TODO Auto-generated method stub\n Scanner in = new Scanner(System.in);\n x = in.nextLong();\n int n = 0;\n for (long i = 100; i < x;) {\n long a = i / 100;\n i += a;\n n++;\n }\n System.out.println(n);\n }\n}",
"public class Main {\n static long x, ans;\n\n public static void main(String[] args) {\n // TODO Auto-generated method stub\n Scanner in = new Scanner(System.in);\n x = in.nextLong();\n int n = 0;\n for (long i = 100; i < x;) {\n long a = i / 100;\n i += a;\n n++;\n }\n System.out.println(n);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
static long x, ans;
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner in = new Scanner(System.in);
x = in.nextLong();
int n = 0;
for (long i = 100; i < x;) {
long a = i / 100;
i += a;
n++;
}
System.out.println(n);
}
}
|
[
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.*;\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 t=100;\n\t\tlong ans=0;\n\t\twhile(x>t){\n\t\t\tt+=t/100;\n\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\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\tlong x= sc.nextLong();\n\t\tlong t=100;\n\t\tlong ans=0;\n\t\twhile(x>t){\n\t\t\tt+=t/100;\n\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\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 t=100;\n\t\tlong ans=0;\n\t\twhile(x>t){\n\t\t\tt+=t/100;\n\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x= sc.nextLong();\n\t\tlong t=100;\n\t\tlong ans=0;\n\t\twhile(x>t){\n\t\t\tt+=t/100;\n\t\t\tans++;\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",
"long t=100;",
"t",
"100",
"long ans=0;",
"ans",
"0",
"while(x>t){\n\t\t\tt+=t/100;\n\t\t\tans++;\n\t\t}",
"x>t",
"x",
"t",
"{\n\t\t\tt+=t/100;\n\t\t\tans++;\n\t\t}",
"t+=t/100",
"t",
"t/100",
"t",
"100",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x= sc.nextLong();\n\t\tlong t=100;\n\t\tlong ans=0;\n\t\twhile(x>t){\n\t\t\tt+=t/100;\n\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"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 t=100;\n\t\tlong ans=0;\n\t\twhile(x>t){\n\t\t\tt+=t/100;\n\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\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 t=100;
long ans=0;
while(x>t){
t+=t/100;
ans++;
}
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,
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\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong x = stdIn.nextLong();\n\t\tlong step = 0;\n\t\tlong a = 100;\n\t\twhile(a < x) {\n\t\t\ta+= a/100;\n\t\t\tstep++;\n\t\t}\n\t\tSystem.out.println(step);\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\tScanner stdIn = new Scanner(System.in);\n\t\tlong x = stdIn.nextLong();\n\t\tlong step = 0;\n\t\tlong a = 100;\n\t\twhile(a < x) {\n\t\t\ta+= a/100;\n\t\t\tstep++;\n\t\t}\n\t\tSystem.out.println(step);\n\t\t\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong x = stdIn.nextLong();\n\t\tlong step = 0;\n\t\tlong a = 100;\n\t\twhile(a < x) {\n\t\t\ta+= a/100;\n\t\t\tstep++;\n\t\t}\n\t\tSystem.out.println(step);\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong x = stdIn.nextLong();\n\t\tlong step = 0;\n\t\tlong a = 100;\n\t\twhile(a < x) {\n\t\t\ta+= a/100;\n\t\t\tstep++;\n\t\t}\n\t\tSystem.out.println(step);\n\t\t\n\t\t\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"long x = stdIn.nextLong();",
"x",
"stdIn.nextLong()",
"stdIn.nextLong",
"stdIn",
"long step = 0;",
"step",
"0",
"long a = 100;",
"a",
"100",
"while(a < x) {\n\t\t\ta+= a/100;\n\t\t\tstep++;\n\t\t}",
"a < x",
"a",
"x",
"{\n\t\t\ta+= a/100;\n\t\t\tstep++;\n\t\t}",
"a+= a/100",
"a",
"a/100",
"a",
"100",
"step++",
"step",
"System.out.println(step)",
"System.out.println",
"System.out",
"System",
"System.out",
"step",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong x = stdIn.nextLong();\n\t\tlong step = 0;\n\t\tlong a = 100;\n\t\twhile(a < x) {\n\t\t\ta+= a/100;\n\t\t\tstep++;\n\t\t}\n\t\tSystem.out.println(step);\n\t\t\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong x = stdIn.nextLong();\n\t\tlong step = 0;\n\t\tlong a = 100;\n\t\twhile(a < x) {\n\t\t\ta+= a/100;\n\t\t\tstep++;\n\t\t}\n\t\tSystem.out.println(step);\n\t\t\n\t\t\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 x = stdIn.nextLong();
long step = 0;
long a = 100;
while(a < x) {
a+= a/100;
step++;
}
System.out.println(step);
}
}
|
[
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,
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
],
[
30,
31
],
[
30,
32
],
[
27,
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 public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n Long X = scanner.nextLong();\n Long i = 100L;\n int count = 0;\n while(i < X){\n i += i/100;\n count += 1;\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 Scanner scanner = new Scanner(System.in);\n \n Long X = scanner.nextLong();\n Long i = 100L;\n int count = 0;\n while(i < X){\n i += i/100;\n count += 1;\n }\n\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n Long X = scanner.nextLong();\n Long i = 100L;\n int count = 0;\n while(i < X){\n i += i/100;\n count += 1;\n }\n\n System.out.println(count);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n \n Long X = scanner.nextLong();\n Long i = 100L;\n int count = 0;\n while(i < X){\n i += i/100;\n count += 1;\n }\n\n System.out.println(count);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"Long X = scanner.nextLong();",
"X",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"Long i = 100L;",
"i",
"100L",
"int count = 0;",
"count",
"0",
"while(i < X){\n i += i/100;\n count += 1;\n }",
"i < X",
"i",
"X",
"{\n i += i/100;\n count += 1;\n }",
"i += i/100",
"i",
"i/100",
"i",
"100",
"count += 1",
"count",
"1",
"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 scanner = new Scanner(System.in);\n \n Long X = scanner.nextLong();\n Long i = 100L;\n int count = 0;\n while(i < X){\n i += i/100;\n count += 1;\n }\n\n System.out.println(count);\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n Long X = scanner.nextLong();\n Long i = 100L;\n int count = 0;\n while(i < X){\n i += i/100;\n count += 1;\n }\n\n System.out.println(count);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
Long X = scanner.nextLong();
Long i = 100L;
int count = 0;
while(i < X){
i += i/100;
count += 1;
}
System.out.println(count);
}
}
|
[
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,
0,
13,
2,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
3,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
39,
46
],
[
6,
47
],
[
47,
48
]
] |
[
"import java.util.*;\n\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong ret = 100;\n\t\tfor(int i = 1;;i++){\n\t\t\tret += ret * 0.01;\n\t\t\tif(ret >= a){\n\t\t\t\tSystem.out.print(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong ret = 100;\n\t\tfor(int i = 1;;i++){\n\t\t\tret += ret * 0.01;\n\t\t\tif(ret >= a){\n\t\t\t\tSystem.out.print(i);\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 a = sc.nextLong();\n\t\tlong ret = 100;\n\t\tfor(int i = 1;;i++){\n\t\t\tret += ret * 0.01;\n\t\t\tif(ret >= a){\n\t\t\t\tSystem.out.print(i);\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 a = sc.nextLong();\n\t\tlong ret = 100;\n\t\tfor(int i = 1;;i++){\n\t\t\tret += ret * 0.01;\n\t\t\tif(ret >= a){\n\t\t\t\tSystem.out.print(i);\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 a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long ret = 100;",
"ret",
"100",
"for(int i = 1;;i++){\n\t\t\tret += ret * 0.01;\n\t\t\tif(ret >= a){\n\t\t\t\tSystem.out.print(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tret += ret * 0.01;\n\t\t\tif(ret >= a){\n\t\t\t\tSystem.out.print(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tret += ret * 0.01;\n\t\t\tif(ret >= a){\n\t\t\t\tSystem.out.print(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"ret += ret * 0.01",
"ret",
"ret * 0.01",
"ret",
"0.01",
"if(ret >= a){\n\t\t\t\tSystem.out.print(i);\n\t\t\t\tbreak;\n\t\t\t}",
"ret >= a",
"ret",
"a",
"{\n\t\t\t\tSystem.out.print(i);\n\t\t\t\tbreak;\n\t\t\t}",
"System.out.print(i)",
"System.out.print",
"System.out",
"System",
"System.out",
"i",
"break;",
"String[] args",
"args"
] |
import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long ret = 100;
for(int i = 1;;i++){
ret += ret * 0.01;
if(ret >= a){
System.out.print(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,
40,
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
],
[
46,
5
],
[
46,
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
],
[
32,
33
],
[
32,
34
],
[
31,
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\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong X = Long.parseLong(sc.next());\n\n\t\tlong yokin = 100;\n\t\tint counter = 0;\n\t\twhile (!(yokin >= X)) {\n\t\t\tyokin *= 1.01;\n\t\t\tcounter++;\n\t\t}\n\n\t\tSystem.out.println(counter);\n\t}\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 = Long.parseLong(sc.next());\n\n\t\tlong yokin = 100;\n\t\tint counter = 0;\n\t\twhile (!(yokin >= X)) {\n\t\t\tyokin *= 1.01;\n\t\t\tcounter++;\n\t\t}\n\n\t\tSystem.out.println(counter);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong X = Long.parseLong(sc.next());\n\n\t\tlong yokin = 100;\n\t\tint counter = 0;\n\t\twhile (!(yokin >= X)) {\n\t\t\tyokin *= 1.01;\n\t\t\tcounter++;\n\t\t}\n\n\t\tSystem.out.println(counter);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong X = Long.parseLong(sc.next());\n\n\t\tlong yokin = 100;\n\t\tint counter = 0;\n\t\twhile (!(yokin >= X)) {\n\t\t\tyokin *= 1.01;\n\t\t\tcounter++;\n\t\t}\n\n\t\tSystem.out.println(counter);\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",
"long yokin = 100;",
"yokin",
"100",
"int counter = 0;",
"counter",
"0",
"while (!(yokin >= X)) {\n\t\t\tyokin *= 1.01;\n\t\t\tcounter++;\n\t\t}",
"!(yokin >= X)",
"(yokin >= X)",
"yokin",
"X",
"{\n\t\t\tyokin *= 1.01;\n\t\t\tcounter++;\n\t\t}",
"yokin *= 1.01",
"yokin",
"1.01",
"counter++",
"counter",
"System.out.println(counter)",
"System.out.println",
"System.out",
"System",
"System.out",
"counter",
"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 = Long.parseLong(sc.next());\n\n\t\tlong yokin = 100;\n\t\tint counter = 0;\n\t\twhile (!(yokin >= X)) {\n\t\t\tyokin *= 1.01;\n\t\t\tcounter++;\n\t\t}\n\n\t\tSystem.out.println(counter);\n\t}\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 = Long.parseLong(sc.next());\n\n\t\tlong yokin = 100;\n\t\tint counter = 0;\n\t\twhile (!(yokin >= X)) {\n\t\t\tyokin *= 1.01;\n\t\t\tcounter++;\n\t\t}\n\n\t\tSystem.out.println(counter);\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 = Long.parseLong(sc.next());
long yokin = 100;
int counter = 0;
while (!(yokin >= X)) {
yokin *= 1.01;
counter++;
}
System.out.println(counter);
}
}
|
[
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,
29,
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
],
[
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
],
[
33,
35
],
[
30,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
8,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"import java.io.*;\n\npublic class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n long X = Long.parseLong (reader.readLine());\n long cur = 100L;\n int ans = 0;\n while (cur < X) {\n cur += cur / 100;\n ans++;\n }\n System.out.println (ans);\n return;\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n long X = Long.parseLong (reader.readLine());\n long cur = 100L;\n int ans = 0;\n while (cur < X) {\n cur += cur / 100;\n ans++;\n }\n System.out.println (ans);\n return;\n }\n}",
"Main",
"public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n long X = Long.parseLong (reader.readLine());\n long cur = 100L;\n int ans = 0;\n while (cur < X) {\n cur += cur / 100;\n ans++;\n }\n System.out.println (ans);\n return;\n }",
"main",
"{\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n long X = Long.parseLong (reader.readLine());\n long cur = 100L;\n int ans = 0;\n while (cur < X) {\n cur += cur / 100;\n ans++;\n }\n System.out.println (ans);\n return;\n }",
"BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));",
"reader",
"new BufferedReader (new InputStreamReader (System.in))",
"long X = Long.parseLong (reader.readLine());",
"X",
"Long.parseLong (reader.readLine())",
"Long.parseLong",
"Long",
"reader.readLine()",
"reader.readLine",
"reader",
"long cur = 100L;",
"cur",
"100L",
"int ans = 0;",
"ans",
"0",
"while (cur < X) {\n cur += cur / 100;\n ans++;\n }",
"cur < X",
"cur",
"X",
"{\n cur += cur / 100;\n ans++;\n }",
"cur += cur / 100",
"cur",
"cur / 100",
"cur",
"100",
"ans++",
"ans",
"System.out.println (ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"return;",
"String[] args",
"args",
"public class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n long X = Long.parseLong (reader.readLine());\n long cur = 100L;\n int ans = 0;\n while (cur < X) {\n cur += cur / 100;\n ans++;\n }\n System.out.println (ans);\n return;\n }\n}",
"public class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n long X = Long.parseLong (reader.readLine());\n long cur = 100L;\n int ans = 0;\n while (cur < X) {\n cur += cur / 100;\n ans++;\n }\n System.out.println (ans);\n return;\n }\n}",
"Main"
] |
import java.io.*;
public class Main {
public static void main (String[] args) throws Exception {
BufferedReader reader =
new BufferedReader (new InputStreamReader (System.in));
long X = Long.parseLong (reader.readLine());
long cur = 100L;
int ans = 0;
while (cur < X) {
cur += cur / 100;
ans++;
}
System.out.println (ans);
return;
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
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
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
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.*;\npublic class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n\n long money = 100;\n long X = s.nextLong() ;\n int count = 0;\n\n while(money<X){\n money = (long)Math.floor(money*1.01);\n count++;\n }\n\n System.out.println(count);\n\n }\n\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n\n long money = 100;\n long X = s.nextLong() ;\n int count = 0;\n\n while(money<X){\n money = (long)Math.floor(money*1.01);\n count++;\n }\n\n System.out.println(count);\n\n }\n\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n\n long money = 100;\n long X = s.nextLong() ;\n int count = 0;\n\n while(money<X){\n money = (long)Math.floor(money*1.01);\n count++;\n }\n\n System.out.println(count);\n\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n\n long money = 100;\n long X = s.nextLong() ;\n int count = 0;\n\n while(money<X){\n money = (long)Math.floor(money*1.01);\n count++;\n }\n\n System.out.println(count);\n\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"long money = 100;",
"money",
"100",
"long X = s.nextLong() ;",
"X",
"s.nextLong()",
"s.nextLong",
"s",
"int count = 0;",
"count",
"0",
"while(money<X){\n money = (long)Math.floor(money*1.01);\n count++;\n }",
"money<X",
"money",
"X",
"{\n money = (long)Math.floor(money*1.01);\n count++;\n }",
"money = (long)Math.floor(money*1.01)",
"money",
"(long)Math.floor(money*1.01)",
"Math.floor",
"Math",
"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 public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n\n long money = 100;\n long X = s.nextLong() ;\n int count = 0;\n\n while(money<X){\n money = (long)Math.floor(money*1.01);\n count++;\n }\n\n System.out.println(count);\n\n }\n\n\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n\n long money = 100;\n long X = s.nextLong() ;\n int count = 0;\n\n while(money<X){\n money = (long)Math.floor(money*1.01);\n count++;\n }\n\n System.out.println(count);\n\n }\n\n\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
long money = 100;
long X = s.nextLong() ;
int count = 0;
while(money<X){
money = (long)Math.floor(money*1.01);
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,
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
],
[
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
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong x = scan.nextLong();\n\n\t\tlong deposit = 100L;\n\t\tint i =0;\n\n\t\twhile(deposit < x) {\n\t\t\tdeposit *= 1.01;\n\t\t\ti++;\n\t\t}\n\t\t\tSystem.out.println(i);\n\n\t\t\tscan.close();\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong x = scan.nextLong();\n\n\t\tlong deposit = 100L;\n\t\tint i =0;\n\n\t\twhile(deposit < x) {\n\t\t\tdeposit *= 1.01;\n\t\t\ti++;\n\t\t}\n\t\t\tSystem.out.println(i);\n\n\t\t\tscan.close();\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong x = scan.nextLong();\n\n\t\tlong deposit = 100L;\n\t\tint i =0;\n\n\t\twhile(deposit < x) {\n\t\t\tdeposit *= 1.01;\n\t\t\ti++;\n\t\t}\n\t\t\tSystem.out.println(i);\n\n\t\t\tscan.close();\n\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong x = scan.nextLong();\n\n\t\tlong deposit = 100L;\n\t\tint i =0;\n\n\t\twhile(deposit < x) {\n\t\t\tdeposit *= 1.01;\n\t\t\ti++;\n\t\t}\n\t\t\tSystem.out.println(i);\n\n\t\t\tscan.close();\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long x = scan.nextLong();",
"x",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long deposit = 100L;",
"deposit",
"100L",
"int i =0;",
"i",
"0",
"while(deposit < x) {\n\t\t\tdeposit *= 1.01;\n\t\t\ti++;\n\t\t}",
"deposit < x",
"deposit",
"x",
"{\n\t\t\tdeposit *= 1.01;\n\t\t\ti++;\n\t\t}",
"deposit *= 1.01",
"deposit",
"1.01",
"i++",
"i",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong x = scan.nextLong();\n\n\t\tlong deposit = 100L;\n\t\tint i =0;\n\n\t\twhile(deposit < x) {\n\t\t\tdeposit *= 1.01;\n\t\t\ti++;\n\t\t}\n\t\t\tSystem.out.println(i);\n\n\t\t\tscan.close();\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong x = scan.nextLong();\n\n\t\tlong deposit = 100L;\n\t\tint i =0;\n\n\t\twhile(deposit < x) {\n\t\t\tdeposit *= 1.01;\n\t\t\ti++;\n\t\t}\n\t\t\tSystem.out.println(i);\n\n\t\t\tscan.close();\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner scan = new Scanner(System.in);
long x = scan.nextLong();
long deposit = 100L;
int i =0;
while(deposit < x) {
deposit *= 1.01;
i++;
}
System.out.println(i);
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,
17,
30,
14,
2,
13,
13,
30,
3,
40,
13,
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
],
[
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
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
25,
32
],
[
32,
33
],
[
25,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
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.*;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long x= sc.nextLong();\n long sum = 100;\n int y = 0;\n\n while(true){\n if(sum>=x){\n break;\n }\n y++;\n sum = sum + (long)Math.floor(sum*0.01); \n }\n\n System.out.println(y);\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 sum = 100;\n int y = 0;\n\n while(true){\n if(sum>=x){\n break;\n }\n y++;\n sum = sum + (long)Math.floor(sum*0.01); \n }\n\n System.out.println(y);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long x= sc.nextLong();\n long sum = 100;\n int y = 0;\n\n while(true){\n if(sum>=x){\n break;\n }\n y++;\n sum = sum + (long)Math.floor(sum*0.01); \n }\n\n System.out.println(y);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x= sc.nextLong();\n long sum = 100;\n int y = 0;\n\n while(true){\n if(sum>=x){\n break;\n }\n y++;\n sum = sum + (long)Math.floor(sum*0.01); \n }\n\n System.out.println(y);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x= sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long sum = 100;",
"sum",
"100",
"int y = 0;",
"y",
"0",
"while(true){\n if(sum>=x){\n break;\n }\n y++;\n sum = sum + (long)Math.floor(sum*0.01); \n }",
"true",
"{\n if(sum>=x){\n break;\n }\n y++;\n sum = sum + (long)Math.floor(sum*0.01); \n }",
"if(sum>=x){\n break;\n }",
"sum>=x",
"sum",
"x",
"{\n break;\n }",
"break;",
"y++",
"y",
"sum = sum + (long)Math.floor(sum*0.01)",
"sum",
"sum + (long)Math.floor(sum*0.01)",
"sum",
"(long)Math.floor(sum*0.01)",
"Math.floor",
"Math",
"sum*0.01",
"sum",
"0.01",
"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){\n Scanner sc = new Scanner(System.in);\n long x= sc.nextLong();\n long sum = 100;\n int y = 0;\n\n while(true){\n if(sum>=x){\n break;\n }\n y++;\n sum = sum + (long)Math.floor(sum*0.01); \n }\n\n System.out.println(y);\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 sum = 100;\n int y = 0;\n\n while(true){\n if(sum>=x){\n break;\n }\n y++;\n sum = sum + (long)Math.floor(sum*0.01); \n }\n\n System.out.println(y);\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 sum = 100;
int y = 0;
while(true){
if(sum>=x){
break;
}
y++;
sum = sum + (long)Math.floor(sum*0.01);
}
System.out.println(y);
}
}
|
[
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,
0,
13,
2,
13,
17,
40,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
29,
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
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
25,
31
],
[
31,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
37,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"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 money = 100;\n\t\tint count = 0;\n\t\twhile(true){\n\t\t\tmoney += money * 0.01;\n\t\t\t//System.out.println(money);\n\t\t\tcount++;\n\t\t\tif(money >= X){\n\t\t\t\tSystem.out.println(count);\n\t\t\t\treturn;\n\t\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\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\t\twhile(true){\n\t\t\tmoney += money * 0.01;\n\t\t\t//System.out.println(money);\n\t\t\tcount++;\n\t\t\tif(money >= X){\n\t\t\t\tSystem.out.println(count);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\t\twhile(true){\n\t\t\tmoney += money * 0.01;\n\t\t\t//System.out.println(money);\n\t\t\tcount++;\n\t\t\tif(money >= X){\n\t\t\t\tSystem.out.println(count);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\t\twhile(true){\n\t\t\tmoney += money * 0.01;\n\t\t\t//System.out.println(money);\n\t\t\tcount++;\n\t\t\tif(money >= X){\n\t\t\t\tSystem.out.println(count);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long money = 100;",
"money",
"100",
"int count = 0;",
"count",
"0",
"while(true){\n\t\t\tmoney += money * 0.01;\n\t\t\t//System.out.println(money);\n\t\t\tcount++;\n\t\t\tif(money >= X){\n\t\t\t\tSystem.out.println(count);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tmoney += money * 0.01;\n\t\t\t//System.out.println(money);\n\t\t\tcount++;\n\t\t\tif(money >= X){\n\t\t\t\tSystem.out.println(count);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"money += money * 0.01",
"money",
"money * 0.01",
"money",
"0.01",
"count++",
"count",
"if(money >= X){\n\t\t\t\tSystem.out.println(count);\n\t\t\t\treturn;\n\t\t\t}",
"money >= X",
"money",
"X",
"{\n\t\t\t\tSystem.out.println(count);\n\t\t\t\treturn;\n\t\t\t}",
"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\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\t\twhile(true){\n\t\t\tmoney += money * 0.01;\n\t\t\t//System.out.println(money);\n\t\t\tcount++;\n\t\t\tif(money >= X){\n\t\t\t\tSystem.out.println(count);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\t\twhile(true){\n\t\t\tmoney += money * 0.01;\n\t\t\t//System.out.println(money);\n\t\t\tcount++;\n\t\t\tif(money >= X){\n\t\t\t\tSystem.out.println(count);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long X = sc.nextLong();
long money = 100;
int count = 0;
while(true){
money += money * 0.01;
//System.out.println(money);
count++;
if(money >= X){
System.out.println(count);
return;
}
}
}
}
|
[
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,
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
],
[
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
],
[
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\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong X = scan.nextLong();\n\t\tlong cnt=0, money=100;\n\n\t\twhile(money < X){\n\t\t\tcnt++;\n\t\t\tmoney += money*0.01;\n\t\t}\n\n\t\tSystem.out.println(cnt);\n\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\n\t\tlong X = scan.nextLong();\n\t\tlong cnt=0, money=100;\n\n\t\twhile(money < X){\n\t\t\tcnt++;\n\t\t\tmoney += money*0.01;\n\t\t}\n\n\t\tSystem.out.println(cnt);\n\n\t\tscan.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong X = scan.nextLong();\n\t\tlong cnt=0, money=100;\n\n\t\twhile(money < X){\n\t\t\tcnt++;\n\t\t\tmoney += money*0.01;\n\t\t}\n\n\t\tSystem.out.println(cnt);\n\n\t\tscan.close();\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong X = scan.nextLong();\n\t\tlong cnt=0, money=100;\n\n\t\twhile(money < X){\n\t\t\tcnt++;\n\t\t\tmoney += money*0.01;\n\t\t}\n\n\t\tSystem.out.println(cnt);\n\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 cnt=0",
"cnt",
"0",
"money=100;",
"money",
"100",
"while(money < X){\n\t\t\tcnt++;\n\t\t\tmoney += money*0.01;\n\t\t}",
"money < X",
"money",
"X",
"{\n\t\t\tcnt++;\n\t\t\tmoney += money*0.01;\n\t\t}",
"cnt++",
"cnt",
"money += money*0.01",
"money",
"money*0.01",
"money",
"0.01",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"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\n\t\tlong X = scan.nextLong();\n\t\tlong cnt=0, money=100;\n\n\t\twhile(money < X){\n\t\t\tcnt++;\n\t\t\tmoney += money*0.01;\n\t\t}\n\n\t\tSystem.out.println(cnt);\n\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\n\t\tlong X = scan.nextLong();\n\t\tlong cnt=0, money=100;\n\n\t\twhile(money < X){\n\t\t\tcnt++;\n\t\t\tmoney += money*0.01;\n\t\t}\n\n\t\tSystem.out.println(cnt);\n\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 cnt=0, money=100;
while(money < X){
cnt++;
money += money*0.01;
}
System.out.println(cnt);
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,
17,
30,
40,
13,
0,
13,
2,
13,
17,
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
],
[
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
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long deposit = 100;\n int year = 0;\n \n while (true) {\n year++;\n deposit += deposit * 0.01;\n if (X <= deposit) {\n break;\n }\n }\n \n System.out.println(year);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long deposit = 100;\n int year = 0;\n \n while (true) {\n year++;\n deposit += deposit * 0.01;\n if (X <= deposit) {\n break;\n }\n }\n \n System.out.println(year);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long deposit = 100;\n int year = 0;\n \n while (true) {\n year++;\n deposit += deposit * 0.01;\n if (X <= deposit) {\n break;\n }\n }\n \n System.out.println(year);\n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long deposit = 100;\n int year = 0;\n \n while (true) {\n year++;\n deposit += deposit * 0.01;\n if (X <= deposit) {\n break;\n }\n }\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 deposit = 100;",
"deposit",
"100",
"int year = 0;",
"year",
"0",
"while (true) {\n year++;\n deposit += deposit * 0.01;\n if (X <= deposit) {\n break;\n }\n }",
"true",
"{\n year++;\n deposit += deposit * 0.01;\n if (X <= deposit) {\n break;\n }\n }",
"year++",
"year",
"deposit += deposit * 0.01",
"deposit",
"deposit * 0.01",
"deposit",
"0.01",
"if (X <= deposit) {\n break;\n }",
"X <= deposit",
"X",
"deposit",
"{\n break;\n }",
"break;",
"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) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long deposit = 100;\n int year = 0;\n \n while (true) {\n year++;\n deposit += deposit * 0.01;\n if (X <= deposit) {\n break;\n }\n }\n \n System.out.println(year);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long deposit = 100;\n int year = 0;\n \n while (true) {\n year++;\n deposit += deposit * 0.01;\n if (X <= deposit) {\n break;\n }\n }\n \n System.out.println(year);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner(System.in);
long X = sc.nextLong();
long deposit = 100;
int year = 0;
while (true) {
year++;
deposit += deposit * 0.01;
if (X <= deposit) {
break;
}
}
System.out.println(year);
}
}
|
[
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,
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,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
29,
4,
18,
13,
29,
4,
18,
13,
17,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
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,
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
],
[
216,
17
],
[
216,
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
],
[
20,
32
],
[
32,
33
],
[
32,
34
],
[
20,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
39,
45
],
[
45,
46
],
[
20,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
18,
53
],
[
53,
54
],
[
216,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
63,
72
],
[
72,
73
],
[
55,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
77,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
87,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
76,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
55,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
104,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
114,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
103,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
55,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
137,
138
],
[
55,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
146,
147
],
[
55,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
152,
155
],
[
155,
156
],
[
55,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
159,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
164,
169
],
[
169,
170
],
[
169,
171
],
[
164,
172
],
[
172,
173
],
[
173,
174
],
[
164,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
176,
180
],
[
180,
181
],
[
159,
182
],
[
182,
183
],
[
157,
184
],
[
184,
185
],
[
55,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
188,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
193,
198
],
[
198,
199
],
[
198,
200
],
[
193,
201
],
[
201,
202
],
[
202,
203
],
[
193,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
209
],
[
209,
210
],
[
188,
211
],
[
211,
212
],
[
186,
213
],
[
213,
214
],
[
0,
215
],
[
215,
216
],
[
215,
217
]
] |
[
"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\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\n\t\twhile(money < x) {\n\t\t\tmoney += money/100;\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n\n\tstatic class FastScanner {\n\t\t\tprivate BufferedReader reader = null;\n\t\t private StringTokenizer tokenizer = null;\n\t\t public FastScanner(InputStream in) {\n\t\t reader = new BufferedReader(new InputStreamReader(in));\n\t\t tokenizer = null;\n\t\t }\n\n\t\t public String next() {\n\t\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t try {\n\t\t tokenizer = new StringTokenizer(reader.readLine());\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }\n\t\t }\n\t\t return tokenizer.nextToken();\n\t\t }\n\n\t\t public String nextLine() {\n\t\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t try {\n\t\t return reader.readLine();\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }\n\t\t }\n\n\t\t return tokenizer.nextToken(\"\\n\");\n\t\t }\n\n\t\t public long nextLong() {\n\t\t return Long.parseLong(next());\n\t\t }\n\n\t\t public int nextInt() {\n\t\t return Integer.parseInt(next());\n\t\t }\n\n\t\t public double nextDouble() {\n\t\t return Double.parseDouble(next());\n\t\t }\n\n\t\t public int[] nextIntArray(int n) {\n\t\t int[] a = new int[n];\n\t\t for (int i = 0; i < n; i++)\n\t\t a[i] = nextInt();\n\t\t return a;\n\t\t }\n\n\t\t public long[] nextLongArray(int n) {\n\t\t long[] a = new long[n];\n\t\t for (int i = 0; i < n; i++)\n\t\t a[i] = nextLong();\n\t\t return a;\n\t\t }\n\t\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\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\n\t\twhile(money < x) {\n\t\t\tmoney += money/100;\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n\n\tstatic class FastScanner {\n\t\t\tprivate BufferedReader reader = null;\n\t\t private StringTokenizer tokenizer = null;\n\t\t public FastScanner(InputStream in) {\n\t\t reader = new BufferedReader(new InputStreamReader(in));\n\t\t tokenizer = null;\n\t\t }\n\n\t\t public String next() {\n\t\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t try {\n\t\t tokenizer = new StringTokenizer(reader.readLine());\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }\n\t\t }\n\t\t return tokenizer.nextToken();\n\t\t }\n\n\t\t public String nextLine() {\n\t\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t try {\n\t\t return reader.readLine();\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }\n\t\t }\n\n\t\t return tokenizer.nextToken(\"\\n\");\n\t\t }\n\n\t\t public long nextLong() {\n\t\t return Long.parseLong(next());\n\t\t }\n\n\t\t public int nextInt() {\n\t\t return Integer.parseInt(next());\n\t\t }\n\n\t\t public double nextDouble() {\n\t\t return Double.parseDouble(next());\n\t\t }\n\n\t\t public int[] nextIntArray(int n) {\n\t\t int[] a = new int[n];\n\t\t for (int i = 0; i < n; i++)\n\t\t a[i] = nextInt();\n\t\t return a;\n\t\t }\n\n\t\t public long[] nextLongArray(int n) {\n\t\t long[] a = new long[n];\n\t\t for (int i = 0; i < n; i++)\n\t\t a[i] = nextLong();\n\t\t return a;\n\t\t }\n\t\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\n\t\twhile(money < x) {\n\t\t\tmoney += money/100;\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\n\t\twhile(money < x) {\n\t\t\tmoney += money/100;\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}",
"FastScanner sc = new FastScanner(System.in);",
"sc",
"new FastScanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long money = 100;",
"money",
"100",
"int count = 0;",
"count",
"0",
"while(money < x) {\n\t\t\tmoney += money/100;\n\t\t\tcount++;\n\t\t}",
"money < x",
"money",
"x",
"{\n\t\t\tmoney += money/100;\n\t\t\tcount++;\n\t\t}",
"money += money/100",
"money",
"money/100",
"money",
"100",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"static class FastScanner {\n\t\t\tprivate BufferedReader reader = null;\n\t\t private StringTokenizer tokenizer = null;\n\t\t public FastScanner(InputStream in) {\n\t\t reader = new BufferedReader(new InputStreamReader(in));\n\t\t tokenizer = null;\n\t\t }\n\n\t\t public String next() {\n\t\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t try {\n\t\t tokenizer = new StringTokenizer(reader.readLine());\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }\n\t\t }\n\t\t return tokenizer.nextToken();\n\t\t }\n\n\t\t public String nextLine() {\n\t\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t try {\n\t\t return reader.readLine();\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }\n\t\t }\n\n\t\t return tokenizer.nextToken(\"\\n\");\n\t\t }\n\n\t\t public long nextLong() {\n\t\t return Long.parseLong(next());\n\t\t }\n\n\t\t public int nextInt() {\n\t\t return Integer.parseInt(next());\n\t\t }\n\n\t\t public double nextDouble() {\n\t\t return Double.parseDouble(next());\n\t\t }\n\n\t\t public int[] nextIntArray(int n) {\n\t\t int[] a = new int[n];\n\t\t for (int i = 0; i < n; i++)\n\t\t a[i] = nextInt();\n\t\t return a;\n\t\t }\n\n\t\t public long[] nextLongArray(int n) {\n\t\t long[] a = new long[n];\n\t\t for (int i = 0; i < n; i++)\n\t\t a[i] = nextLong();\n\t\t return a;\n\t\t }\n\t\t}",
"FastScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public FastScanner(InputStream in) {\n\t\t reader = new BufferedReader(new InputStreamReader(in));\n\t\t tokenizer = null;\n\t\t }",
"FastScanner",
"{\n\t\t reader = new BufferedReader(new InputStreamReader(in));\n\t\t tokenizer = 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 if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t try {\n\t\t tokenizer = new StringTokenizer(reader.readLine());\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }\n\t\t }\n\t\t return tokenizer.nextToken();\n\t\t }",
"next",
"{\n\t\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t try {\n\t\t tokenizer = new StringTokenizer(reader.readLine());\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }\n\t\t }\n\t\t return tokenizer.nextToken();\n\t\t }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t try {\n\t\t tokenizer = new StringTokenizer(reader.readLine());\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }\n\t\t }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t\t try {\n\t\t tokenizer = new StringTokenizer(reader.readLine());\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }\n\t\t }",
"try {\n\t\t tokenizer = new StringTokenizer(reader.readLine());\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }",
"catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }",
"IOException e",
"{\n\t\t throw new RuntimeException(e);\n\t\t }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t tokenizer = new StringTokenizer(reader.readLine());\n\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 if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t try {\n\t\t return reader.readLine();\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }\n\t\t }\n\n\t\t return tokenizer.nextToken(\"\\n\");\n\t\t }",
"nextLine",
"{\n\t\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t try {\n\t\t return reader.readLine();\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }\n\t\t }\n\n\t\t return tokenizer.nextToken(\"\\n\");\n\t\t }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t try {\n\t\t return reader.readLine();\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }\n\t\t }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t\t try {\n\t\t return reader.readLine();\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }\n\t\t }",
"try {\n\t\t return reader.readLine();\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }",
"catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }",
"IOException e",
"{\n\t\t throw new RuntimeException(e);\n\t\t }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t return reader.readLine();\n\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 return Long.parseLong(next());\n\t\t }",
"nextLong",
"{\n\t\t return Long.parseLong(next());\n\t\t }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public int nextInt() {\n\t\t return Integer.parseInt(next());\n\t\t }",
"nextInt",
"{\n\t\t return Integer.parseInt(next());\n\t\t }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public double nextDouble() {\n\t\t return Double.parseDouble(next());\n\t\t }",
"nextDouble",
"{\n\t\t return Double.parseDouble(next());\n\t\t }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public int[] nextIntArray(int n) {\n\t\t int[] a = new int[n];\n\t\t for (int i = 0; i < n; i++)\n\t\t a[i] = nextInt();\n\t\t return a;\n\t\t }",
"nextIntArray",
"{\n\t\t int[] a = new int[n];\n\t\t for (int i = 0; i < n; i++)\n\t\t a[i] = nextInt();\n\t\t return a;\n\t\t }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t a[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextInt();",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"public long[] nextLongArray(int n) {\n\t\t long[] a = new long[n];\n\t\t for (int i = 0; i < n; i++)\n\t\t a[i] = nextLong();\n\t\t return a;\n\t\t }",
"nextLongArray",
"{\n\t\t long[] a = new long[n];\n\t\t for (int i = 0; i < n; i++)\n\t\t a[i] = nextLong();\n\t\t return a;\n\t\t }",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t 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",
"int n",
"n",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\n\t\twhile(money < x) {\n\t\t\tmoney += money/100;\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n\n\tstatic class FastScanner {\n\t\t\tprivate BufferedReader reader = null;\n\t\t private StringTokenizer tokenizer = null;\n\t\t public FastScanner(InputStream in) {\n\t\t reader = new BufferedReader(new InputStreamReader(in));\n\t\t tokenizer = null;\n\t\t }\n\n\t\t public String next() {\n\t\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t try {\n\t\t tokenizer = new StringTokenizer(reader.readLine());\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }\n\t\t }\n\t\t return tokenizer.nextToken();\n\t\t }\n\n\t\t public String nextLine() {\n\t\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t try {\n\t\t return reader.readLine();\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }\n\t\t }\n\n\t\t return tokenizer.nextToken(\"\\n\");\n\t\t }\n\n\t\t public long nextLong() {\n\t\t return Long.parseLong(next());\n\t\t }\n\n\t\t public int nextInt() {\n\t\t return Integer.parseInt(next());\n\t\t }\n\n\t\t public double nextDouble() {\n\t\t return Double.parseDouble(next());\n\t\t }\n\n\t\t public int[] nextIntArray(int n) {\n\t\t int[] a = new int[n];\n\t\t for (int i = 0; i < n; i++)\n\t\t a[i] = nextInt();\n\t\t return a;\n\t\t }\n\n\t\t public long[] nextLongArray(int n) {\n\t\t long[] a = new long[n];\n\t\t for (int i = 0; i < n; i++)\n\t\t a[i] = nextLong();\n\t\t return a;\n\t\t }\n\t\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\n\t\twhile(money < x) {\n\t\t\tmoney += money/100;\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n\n\tstatic class FastScanner {\n\t\t\tprivate BufferedReader reader = null;\n\t\t private StringTokenizer tokenizer = null;\n\t\t public FastScanner(InputStream in) {\n\t\t reader = new BufferedReader(new InputStreamReader(in));\n\t\t tokenizer = null;\n\t\t }\n\n\t\t public String next() {\n\t\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t try {\n\t\t tokenizer = new StringTokenizer(reader.readLine());\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }\n\t\t }\n\t\t return tokenizer.nextToken();\n\t\t }\n\n\t\t public String nextLine() {\n\t\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t try {\n\t\t return reader.readLine();\n\t\t } catch (IOException e) {\n\t\t throw new RuntimeException(e);\n\t\t }\n\t\t }\n\n\t\t return tokenizer.nextToken(\"\\n\");\n\t\t }\n\n\t\t public long nextLong() {\n\t\t return Long.parseLong(next());\n\t\t }\n\n\t\t public int nextInt() {\n\t\t return Integer.parseInt(next());\n\t\t }\n\n\t\t public double nextDouble() {\n\t\t return Double.parseDouble(next());\n\t\t }\n\n\t\t public int[] nextIntArray(int n) {\n\t\t int[] a = new int[n];\n\t\t for (int i = 0; i < n; i++)\n\t\t a[i] = nextInt();\n\t\t return a;\n\t\t }\n\n\t\t public long[] nextLongArray(int n) {\n\t\t long[] a = new long[n];\n\t\t for (int i = 0; i < n; i++)\n\t\t a[i] = nextLong();\n\t\t return a;\n\t\t }\n\t\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);
long x = sc.nextLong();
long money = 100;
int count = 0;
while(money < x) {
money += money/100;
count++;
}
System.out.println(count);
}
static class FastScanner {
private BufferedReader reader = null;
private StringTokenizer tokenizer = null;
public FastScanner(InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
tokenizer = null;
}
public String next() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public String nextLine() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
return reader.readLine();
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken("\n");
}
public long nextLong() {
return Long.parseLong(next());
}
public int nextInt() {
return Integer.parseInt(next());
}
public double nextDouble() {
return Double.parseDouble(next());
}
public int[] nextIntArray(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = nextInt();
return a;
}
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,
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,
17,
30,
14,
2,
13,
13,
30,
3,
40,
13,
0,
13,
2,
13,
17,
14,
40,
2,
2,
13,
17,
17,
30,
0,
13,
2,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
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
],
[
20,
32
],
[
32,
33
],
[
32,
34
],
[
20,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
37,
44
],
[
44,
45
],
[
37,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
37,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
51,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
20,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
18,
72
],
[
72,
73
]
] |
[
"import java.util.Scanner;\nimport java.util.Arrays;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.stream.Collectors;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n Double X=sc.nextDouble();\n Double N=100.0;\n long S=0;\n while(true){\n if(N>=X){\n break;\n }\n S++;\n N=N*1.01;\n if(!(N%1==0)){\n N=N-N%1;\n }\n }\n\n System.out.println(S);\n\n\n\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.stream.Collectors;",
"Collectors",
"java.util.stream",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n Double X=sc.nextDouble();\n Double N=100.0;\n long S=0;\n while(true){\n if(N>=X){\n break;\n }\n S++;\n N=N*1.01;\n if(!(N%1==0)){\n N=N-N%1;\n }\n }\n\n System.out.println(S);\n\n\n\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n Double X=sc.nextDouble();\n Double N=100.0;\n long S=0;\n while(true){\n if(N>=X){\n break;\n }\n S++;\n N=N*1.01;\n if(!(N%1==0)){\n N=N-N%1;\n }\n }\n\n System.out.println(S);\n\n\n\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n Double X=sc.nextDouble();\n Double N=100.0;\n long S=0;\n while(true){\n if(N>=X){\n break;\n }\n S++;\n N=N*1.01;\n if(!(N%1==0)){\n N=N-N%1;\n }\n }\n\n System.out.println(S);\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",
"Double N=100.0;",
"N",
"100.0",
"long S=0;",
"S",
"0",
"while(true){\n if(N>=X){\n break;\n }\n S++;\n N=N*1.01;\n if(!(N%1==0)){\n N=N-N%1;\n }\n }",
"true",
"{\n if(N>=X){\n break;\n }\n S++;\n N=N*1.01;\n if(!(N%1==0)){\n N=N-N%1;\n }\n }",
"if(N>=X){\n break;\n }",
"N>=X",
"N",
"X",
"{\n break;\n }",
"break;",
"S++",
"S",
"N=N*1.01",
"N",
"N*1.01",
"N",
"1.01",
"if(!(N%1==0)){\n N=N-N%1;\n }",
"!(N%1==0)",
"(N%1==0)",
"N%1",
"N",
"1",
"0",
"{\n N=N-N%1;\n }",
"N=N-N%1",
"N",
"N-N%1",
"N",
"N%1",
"N",
"1",
"System.out.println(S)",
"System.out.println",
"System.out",
"System",
"System.out",
"S",
"String[] args",
"args"
] |
import java.util.Scanner;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
Double X=sc.nextDouble();
Double N=100.0;
long S=0;
while(true){
if(N>=X){
break;
}
S++;
N=N*1.01;
if(!(N%1==0)){
N=N-N%1;
}
}
System.out.println(S);
}
}
|
[
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,
4,
18,
13,
17,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
4,
18,
13,
13,
40,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
4,
18,
13,
13,
17,
18,
13,
13,
14,
2,
4,
18,
13,
13,
17,
30,
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
],
[
84,
8
],
[
84,
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
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
43,
48
],
[
48,
49
],
[
38,
50
],
[
50,
51
],
[
51,
52
],
[
38,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
57,
63
],
[
57,
64
],
[
64,
65
],
[
64,
66
],
[
54,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
68,
73
],
[
67,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
9,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] |
[
"import java.util.*;\nimport java.math.BigDecimal;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力(スペース改行関係なし)\n \tlong ans = sc.nextLong();\n \tBigDecimal x = BigDecimal.valueOf(ans);\n \tBigDecimal sum = BigDecimal.valueOf(100);\n \tBigDecimal foo = BigDecimal.valueOf(1.01);\n \tfor(int i = 1 ; sum.compareTo(x) == -1; i++){\n\t\t\tsum = sum.multiply(foo).setScale(0, BigDecimal.ROUND_DOWN);\n if(sum.compareTo(x) >= 0){\n System.out.println(i);\n \t}\n }\n\n\t\t\n\t}\n}\n",
"import java.util.*;",
"util.*",
"java",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力(スペース改行関係なし)\n \tlong ans = sc.nextLong();\n \tBigDecimal x = BigDecimal.valueOf(ans);\n \tBigDecimal sum = BigDecimal.valueOf(100);\n \tBigDecimal foo = BigDecimal.valueOf(1.01);\n \tfor(int i = 1 ; sum.compareTo(x) == -1; i++){\n\t\t\tsum = sum.multiply(foo).setScale(0, BigDecimal.ROUND_DOWN);\n if(sum.compareTo(x) >= 0){\n System.out.println(i);\n \t}\n }\n\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力(スペース改行関係なし)\n \tlong ans = sc.nextLong();\n \tBigDecimal x = BigDecimal.valueOf(ans);\n \tBigDecimal sum = BigDecimal.valueOf(100);\n \tBigDecimal foo = BigDecimal.valueOf(1.01);\n \tfor(int i = 1 ; sum.compareTo(x) == -1; i++){\n\t\t\tsum = sum.multiply(foo).setScale(0, BigDecimal.ROUND_DOWN);\n if(sum.compareTo(x) >= 0){\n System.out.println(i);\n \t}\n }\n\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力(スペース改行関係なし)\n \tlong ans = sc.nextLong();\n \tBigDecimal x = BigDecimal.valueOf(ans);\n \tBigDecimal sum = BigDecimal.valueOf(100);\n \tBigDecimal foo = BigDecimal.valueOf(1.01);\n \tfor(int i = 1 ; sum.compareTo(x) == -1; i++){\n\t\t\tsum = sum.multiply(foo).setScale(0, BigDecimal.ROUND_DOWN);\n if(sum.compareTo(x) >= 0){\n System.out.println(i);\n \t}\n }\n\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long ans = sc.nextLong();",
"ans",
"sc.nextLong()",
"sc.nextLong",
"sc",
"BigDecimal x = BigDecimal.valueOf(ans);",
"x",
"BigDecimal.valueOf(ans)",
"BigDecimal.valueOf",
"BigDecimal",
"ans",
"BigDecimal sum = BigDecimal.valueOf(100);",
"sum",
"BigDecimal.valueOf(100)",
"BigDecimal.valueOf",
"BigDecimal",
"100",
"BigDecimal foo = BigDecimal.valueOf(1.01);",
"foo",
"BigDecimal.valueOf(1.01)",
"BigDecimal.valueOf",
"BigDecimal",
"1.01",
"for(int i = 1 ; sum.compareTo(x) == -1; i++){\n\t\t\tsum = sum.multiply(foo).setScale(0, BigDecimal.ROUND_DOWN);\n if(sum.compareTo(x) >= 0){\n System.out.println(i);\n \t}\n }",
"int i = 1 ;",
"int i = 1 ;",
"i",
"1",
"sum.compareTo(x) == -1",
"sum.compareTo(x)",
"sum.compareTo",
"sum",
"x",
"-1",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tsum = sum.multiply(foo).setScale(0, BigDecimal.ROUND_DOWN);\n if(sum.compareTo(x) >= 0){\n System.out.println(i);\n \t}\n }",
"{\n\t\t\tsum = sum.multiply(foo).setScale(0, BigDecimal.ROUND_DOWN);\n if(sum.compareTo(x) >= 0){\n System.out.println(i);\n \t}\n }",
"sum = sum.multiply(foo).setScale(0, BigDecimal.ROUND_DOWN)",
"sum",
"sum.multiply(foo).setScale(0, BigDecimal.ROUND_DOWN)",
"sum.multiply(foo).setScale",
"sum.multiply(foo)",
"sum.multiply",
"sum",
"foo",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"if(sum.compareTo(x) >= 0){\n System.out.println(i);\n \t}",
"sum.compareTo(x) >= 0",
"sum.compareTo(x)",
"sum.compareTo",
"sum",
"x",
"0",
"{\n System.out.println(i);\n \t}",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力(スペース改行関係なし)\n \tlong ans = sc.nextLong();\n \tBigDecimal x = BigDecimal.valueOf(ans);\n \tBigDecimal sum = BigDecimal.valueOf(100);\n \tBigDecimal foo = BigDecimal.valueOf(1.01);\n \tfor(int i = 1 ; sum.compareTo(x) == -1; i++){\n\t\t\tsum = sum.multiply(foo).setScale(0, BigDecimal.ROUND_DOWN);\n if(sum.compareTo(x) >= 0){\n System.out.println(i);\n \t}\n }\n\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\t// 整数の入力(スペース改行関係なし)\n \tlong ans = sc.nextLong();\n \tBigDecimal x = BigDecimal.valueOf(ans);\n \tBigDecimal sum = BigDecimal.valueOf(100);\n \tBigDecimal foo = BigDecimal.valueOf(1.01);\n \tfor(int i = 1 ; sum.compareTo(x) == -1; i++){\n\t\t\tsum = sum.multiply(foo).setScale(0, BigDecimal.ROUND_DOWN);\n if(sum.compareTo(x) >= 0){\n System.out.println(i);\n \t}\n }\n\n\t\t\n\t}\n}",
"Main"
] |
import java.util.*;
import java.math.BigDecimal;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// 整数の入力(スペース改行関係なし)
long ans = sc.nextLong();
BigDecimal x = BigDecimal.valueOf(ans);
BigDecimal sum = BigDecimal.valueOf(100);
BigDecimal foo = BigDecimal.valueOf(1.01);
for(int i = 1 ; sum.compareTo(x) == -1; i++){
sum = sum.multiply(foo).setScale(0, BigDecimal.ROUND_DOWN);
if(sum.compareTo(x) >= 0){
System.out.println(i);
}
}
}
}
|
[
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,
41,
13,
17,
42,
17,
30,
14,
2,
13,
13,
30,
0,
13,
13,
40,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
56,
8
],
[
56,
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
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
32,
42
],
[
42,
43
],
[
11,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
11,
50
],
[
50,
51
],
[
51,
52
],
[
9,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] |
[
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n\n long prop = 100;\n int count = 0;\n double rate = 1.01;\n\n while(true){\n if(prop<X){\n prop *= rate; count++;\n } else { \n break;\n }\n }\n\n System.out.println(count);\n\n sc.close();\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n\n long prop = 100;\n int count = 0;\n double rate = 1.01;\n\n while(true){\n if(prop<X){\n prop *= rate; count++;\n } else { \n break;\n }\n }\n\n System.out.println(count);\n\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n\n long prop = 100;\n int count = 0;\n double rate = 1.01;\n\n while(true){\n if(prop<X){\n prop *= rate; count++;\n } else { \n break;\n }\n }\n\n System.out.println(count);\n\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n\n long prop = 100;\n int count = 0;\n double rate = 1.01;\n\n while(true){\n if(prop<X){\n prop *= rate; count++;\n } else { \n break;\n }\n }\n\n System.out.println(count);\n\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long prop = 100;",
"prop",
"100",
"int count = 0;",
"count",
"0",
"double rate = 1.01;",
"rate",
"1.01",
"while(true){\n if(prop<X){\n prop *= rate; count++;\n } else { \n break;\n }\n }",
"true",
"{\n if(prop<X){\n prop *= rate; count++;\n } else { \n break;\n }\n }",
"if(prop<X){\n prop *= rate; count++;\n } else { \n break;\n }",
"prop<X",
"prop",
"X",
"{\n prop *= rate; count++;\n }",
"prop *= rate",
"prop",
"rate",
"count++",
"count",
"{ \n break;\n }",
"break;",
"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 public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n\n long prop = 100;\n int count = 0;\n double rate = 1.01;\n\n while(true){\n if(prop<X){\n prop *= rate; count++;\n } else { \n break;\n }\n }\n\n System.out.println(count);\n\n sc.close();\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\n long prop = 100;\n int count = 0;\n double rate = 1.01;\n\n while(true){\n if(prop<X){\n prop *= rate; count++;\n } else { \n break;\n }\n }\n\n System.out.println(count);\n\n sc.close();\n }\n}",
"Main"
] |
import java.util.ArrayList;
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long X = sc.nextLong();
long prop = 100;
int count = 0;
double rate = 1.01;
while(true){
if(prop<X){
prop *= rate; count++;
} else {
break;
}
}
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,
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.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n long ans = 100;\n long sum = 0;\n while(ans<N)\n {\n ans = ans + (long)(ans /100);\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) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n long ans = 100;\n long sum = 0;\n while(ans<N)\n {\n ans = ans + (long)(ans /100);\n sum++;\n }\n System.out.println(sum);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n long ans = 100;\n long sum = 0;\n while(ans<N)\n {\n ans = ans + (long)(ans /100);\n sum++;\n }\n System.out.println(sum);\n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n long ans = 100;\n long sum = 0;\n while(ans<N)\n {\n ans = ans + (long)(ans /100);\n sum++;\n }\n System.out.println(sum);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long ans = 100;",
"ans",
"100",
"long sum = 0;",
"sum",
"0",
"while(ans<N)\n {\n ans = ans + (long)(ans /100);\n sum++;\n }",
"ans<N",
"ans",
"N",
"{\n ans = ans + (long)(ans /100);\n sum++;\n }",
"ans = ans + (long)(ans /100)",
"ans",
"ans + (long)(ans /100)",
"ans",
"(long)(ans /100)",
"ans",
"100",
"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) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n long ans = 100;\n long sum = 0;\n while(ans<N)\n {\n ans = ans + (long)(ans /100);\n sum++;\n }\n System.out.println(sum);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n long ans = 100;\n long sum = 0;\n while(ans<N)\n {\n ans = ans + (long)(ans /100);\n sum++;\n }\n System.out.println(sum);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
long ans = 100;
long sum = 0;
while(ans<N)
{
ans = ans + (long)(ans /100);
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,
41,
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
],
[
49,
5
],
[
49,
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
],
[
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
]
] |
[
"//package beg_165;\nimport java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner a = new Scanner(System.in);\n\t\tlong b = a.nextLong();\n\t\t\n\t\tint i=0;\n\t\tlong total=100;\n\t\twhile (total<b) {\n\t\t\tlong c = total/100;\n\t\t\ttotal=total+c;\n\t\t\t//System.out.println(total);\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(i);\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner a = new Scanner(System.in);\n\t\tlong b = a.nextLong();\n\t\t\n\t\tint i=0;\n\t\tlong total=100;\n\t\twhile (total<b) {\n\t\t\tlong c = total/100;\n\t\t\ttotal=total+c;\n\t\t\t//System.out.println(total);\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(i);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner a = new Scanner(System.in);\n\t\tlong b = a.nextLong();\n\t\t\n\t\tint i=0;\n\t\tlong total=100;\n\t\twhile (total<b) {\n\t\t\tlong c = total/100;\n\t\t\ttotal=total+c;\n\t\t\t//System.out.println(total);\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(i);\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner a = new Scanner(System.in);\n\t\tlong b = a.nextLong();\n\t\t\n\t\tint i=0;\n\t\tlong total=100;\n\t\twhile (total<b) {\n\t\t\tlong c = total/100;\n\t\t\ttotal=total+c;\n\t\t\t//System.out.println(total);\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(i);\n\t}",
"Scanner a = new Scanner(System.in);",
"a",
"new Scanner(System.in)",
"long b = a.nextLong();",
"b",
"a.nextLong()",
"a.nextLong",
"a",
"int i=0;",
"i",
"0",
"long total=100;",
"total",
"100",
"while (total<b) {\n\t\t\tlong c = total/100;\n\t\t\ttotal=total+c;\n\t\t\t//System.out.println(total);\n\t\t\ti++;\n\t\t}",
"total<b",
"total",
"b",
"{\n\t\t\tlong c = total/100;\n\t\t\ttotal=total+c;\n\t\t\t//System.out.println(total);\n\t\t\ti++;\n\t\t}",
"long c = total/100;",
"c",
"total/100",
"total",
"100",
"total=total+c",
"total",
"total+c",
"total",
"c",
"i++",
"i",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner a = new Scanner(System.in);\n\t\tlong b = a.nextLong();\n\t\t\n\t\tint i=0;\n\t\tlong total=100;\n\t\twhile (total<b) {\n\t\t\tlong c = total/100;\n\t\t\ttotal=total+c;\n\t\t\t//System.out.println(total);\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(i);\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\tScanner a = new Scanner(System.in);\n\t\tlong b = a.nextLong();\n\t\t\n\t\tint i=0;\n\t\tlong total=100;\n\t\twhile (total<b) {\n\t\t\tlong c = total/100;\n\t\t\ttotal=total+c;\n\t\t\t//System.out.println(total);\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(i);\n\t}\n\n}",
"Main"
] |
//package beg_165;
import java.util.*;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner a = new Scanner(System.in);
long b = a.nextLong();
int i=0;
long total=100;
while (total<b) {
long c = total/100;
total=total+c;
//System.out.println(total);
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,
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 \n\tpublic static void main(String[] args) {\n\t\t Scanner sc = new Scanner(System.in);\n Long n = sc.nextLong();\n Long money = 100L;\n int y = 0;\n while(money < n){\n money += money/100;\n y++;\n }\n System.out.println(y);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \n\tpublic static void main(String[] args) {\n\t\t Scanner sc = new Scanner(System.in);\n Long n = sc.nextLong();\n Long money = 100L;\n int y = 0;\n while(money < n){\n money += money/100;\n y++;\n }\n System.out.println(y);\n }\n}",
"Main",
"public static void main(String[] args) {\n\t\t Scanner sc = new Scanner(System.in);\n Long n = sc.nextLong();\n Long money = 100L;\n int y = 0;\n while(money < n){\n money += money/100;\n y++;\n }\n System.out.println(y);\n }",
"main",
"{\n\t\t Scanner sc = new Scanner(System.in);\n Long n = sc.nextLong();\n Long money = 100L;\n int y = 0;\n while(money < n){\n money += money/100;\n y++;\n }\n System.out.println(y);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"Long money = 100L;",
"money",
"100L",
"int y = 0;",
"y",
"0",
"while(money < n){\n money += money/100;\n y++;\n }",
"money < n",
"money",
"n",
"{\n money += money/100;\n y++;\n }",
"money += money/100",
"money",
"money/100",
"money",
"100",
"y++",
"y",
"System.out.println(y)",
"System.out.println",
"System.out",
"System",
"System.out",
"y",
"String[] args",
"args",
"public class Main {\n \n\tpublic static void main(String[] args) {\n\t\t Scanner sc = new Scanner(System.in);\n Long n = sc.nextLong();\n Long money = 100L;\n int y = 0;\n while(money < n){\n money += money/100;\n y++;\n }\n System.out.println(y);\n }\n}",
"public class Main {\n \n\tpublic static void main(String[] args) {\n\t\t Scanner sc = new Scanner(System.in);\n Long n = sc.nextLong();\n Long money = 100L;\n int y = 0;\n while(money < n){\n money += money/100;\n y++;\n }\n System.out.println(y);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
Long n = sc.nextLong();
Long money = 100L;
int y = 0;
while(money < n){
money += money/100;
y++;
}
System.out.println(y);
}
}
|
[
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 sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong(), m = 100L;\n\t\tint y = 0;\n\n\t\twhile(m < x) {\n\t\t\tm += m / 100;\n\t\t\ty++;\n\t\t}\n\n\t\tSystem.out.println(y);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong(), m = 100L;\n\t\tint y = 0;\n\n\t\twhile(m < x) {\n\t\t\tm += m / 100;\n\t\t\ty++;\n\t\t}\n\n\t\tSystem.out.println(y);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong(), m = 100L;\n\t\tint y = 0;\n\n\t\twhile(m < x) {\n\t\t\tm += m / 100;\n\t\t\ty++;\n\t\t}\n\n\t\tSystem.out.println(y);\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong(), m = 100L;\n\t\tint y = 0;\n\n\t\twhile(m < x) {\n\t\t\tm += m / 100;\n\t\t\ty++;\n\t\t}\n\n\t\tSystem.out.println(y);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong()",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"m = 100L;",
"m",
"100L",
"int y = 0;",
"y",
"0",
"while(m < x) {\n\t\t\tm += m / 100;\n\t\t\ty++;\n\t\t}",
"m < x",
"m",
"x",
"{\n\t\t\tm += m / 100;\n\t\t\ty++;\n\t\t}",
"m += m / 100",
"m",
"m / 100",
"m",
"100",
"y++",
"y",
"System.out.println(y)",
"System.out.println",
"System.out",
"System",
"System.out",
"y",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong(), m = 100L;\n\t\tint y = 0;\n\n\t\twhile(m < x) {\n\t\t\tm += m / 100;\n\t\t\ty++;\n\t\t}\n\n\t\tSystem.out.println(y);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong(), m = 100L;\n\t\tint y = 0;\n\n\t\twhile(m < x) {\n\t\t\tm += m / 100;\n\t\t\ty++;\n\t\t}\n\n\t\tSystem.out.println(y);\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(), m = 100L;
int y = 0;
while(m < x) {
m += m / 100;
y++;
}
System.out.println(y);
}
}
|
[
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.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long x = scan.nextLong();\n long m = 100;\n int ans = 0;\n while (m < x){\n m = m + m/100;\n ans++;\n }\n System.out.println(ans);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long x = scan.nextLong();\n long m = 100;\n int ans = 0;\n while (m < x){\n m = m + m/100;\n ans++;\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long x = scan.nextLong();\n long m = 100;\n int ans = 0;\n while (m < x){\n m = m + m/100;\n ans++;\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n long x = scan.nextLong();\n long m = 100;\n int ans = 0;\n while (m < x){\n m = m + m/100;\n ans++;\n }\n System.out.println(ans);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long x = scan.nextLong();",
"x",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long m = 100;",
"m",
"100",
"int ans = 0;",
"ans",
"0",
"while (m < x){\n m = m + m/100;\n ans++;\n }",
"m < x",
"m",
"x",
"{\n m = m + m/100;\n ans++;\n }",
"m = m + m/100",
"m",
"m + m/100",
"m",
"m/100",
"m",
"100",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long x = scan.nextLong();\n long m = 100;\n int ans = 0;\n while (m < x){\n m = m + m/100;\n ans++;\n }\n System.out.println(ans);\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long x = scan.nextLong();\n long m = 100;\n int ans = 0;\n while (m < x){\n m = m + m/100;\n ans++;\n }\n System.out.println(ans);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
long x = scan.nextLong();
long m = 100;
int ans = 0;
while (m < x){
m = m + m/100;
ans++;
}
System.out.println(ans);
}
}
|
[
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,
2,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
52,
11
],
[
52,
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
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
14,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
12,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] |
[
"import java.util.*;\nimport java.io.*;\nimport java.lang.*;\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\n long cu = 100;\n long ans = 0;\n\n while (cu<x){\n cu = cu + (cu/100);\n ans++;\n }\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long x = sc.nextLong();\n\n long cu = 100;\n long ans = 0;\n\n while (cu<x){\n cu = cu + (cu/100);\n ans++;\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long x = sc.nextLong();\n\n long cu = 100;\n long ans = 0;\n\n while (cu<x){\n cu = cu + (cu/100);\n ans++;\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n long x = sc.nextLong();\n\n long cu = 100;\n long ans = 0;\n\n while (cu<x){\n cu = cu + (cu/100);\n ans++;\n }\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long cu = 100;",
"cu",
"100",
"long ans = 0;",
"ans",
"0",
"while (cu<x){\n cu = cu + (cu/100);\n ans++;\n }",
"cu<x",
"cu",
"x",
"{\n cu = cu + (cu/100);\n ans++;\n }",
"cu = cu + (cu/100)",
"cu",
"cu + (cu/100)",
"cu",
"(cu/100)",
"cu",
"100",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long x = sc.nextLong();\n\n long cu = 100;\n long ans = 0;\n\n while (cu<x){\n cu = cu + (cu/100);\n ans++;\n }\n System.out.println(ans);\n }\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\n long cu = 100;\n long ans = 0;\n\n while (cu<x){\n cu = cu + (cu/100);\n ans++;\n }\n System.out.println(ans);\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
import java.lang.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
long cu = 100;
long ans = 0;
while (cu<x){
cu = cu + (cu/100);
ans++;
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
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,
17,
40,
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,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
183,
11
],
[
183,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
14,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
14,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
12,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
50,
57
],
[
57,
58
],
[
57,
59
],
[
50,
61
],
[
61,
62
],
[
61,
63
],
[
50,
64
],
[
64,
65
],
[
64,
66
],
[
50,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
70,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
81,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
77,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
99,
100
],
[
100,
101
],
[
69,
102
],
[
102,
103
],
[
50,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
107,
115
],
[
115,
116
],
[
116,
117
],
[
50,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
126
],
[
126,
127
],
[
126,
128
],
[
118,
129
],
[
129,
130
],
[
50,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
135,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
141,
143
],
[
134,
144
],
[
144,
145
],
[
133,
146
],
[
146,
147
],
[
147,
148
],
[
50,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
152,
156
],
[
156,
157
],
[
151,
158
],
[
158,
159
],
[
158,
160
],
[
151,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
151,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
170,
173
],
[
169,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
151,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
0,
182
],
[
182,
183
],
[
182,
184
]
] |
[
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.util.NoSuchElementException;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tlong a = Long.parseLong(sc.next());\n\t\tlong sum = 100;\n\t\tlong count = 0;\n\t\twhile(a > sum) {\n\t\t\tsum *= 1.01;\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.print(count);\n\t}\n}\n\nclass 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 private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\n 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}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tlong a = Long.parseLong(sc.next());\n\t\tlong sum = 100;\n\t\tlong count = 0;\n\t\twhile(a > sum) {\n\t\t\tsum *= 1.01;\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.print(count);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tlong a = Long.parseLong(sc.next());\n\t\tlong sum = 100;\n\t\tlong count = 0;\n\t\twhile(a > sum) {\n\t\t\tsum *= 1.01;\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.print(count);\n\t}",
"main",
"{\n\t\tFastScanner sc = new FastScanner();\n\t\tlong a = Long.parseLong(sc.next());\n\t\tlong sum = 100;\n\t\tlong count = 0;\n\t\twhile(a > sum) {\n\t\t\tsum *= 1.01;\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.print(count);\n\t}",
"FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"long a = Long.parseLong(sc.next());",
"a",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"long sum = 100;",
"sum",
"100",
"long count = 0;",
"count",
"0",
"while(a > sum) {\n\t\t\tsum *= 1.01;\n\t\t\tcount++;\n\t\t}",
"a > sum",
"a",
"sum",
"{\n\t\t\tsum *= 1.01;\n\t\t\tcount++;\n\t\t}",
"sum *= 1.01",
"sum",
"1.01",
"count++",
"count",
"System.out.print(count)",
"System.out.print",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"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 private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\n 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}",
"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 if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (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 (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 (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 (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 (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 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() { if (hasNextByte()) return buffer[ptr++]; else return -1;}",
"readByte",
"{ if (hasNextByte()) return buffer[ptr++]; else return -1;}",
"if (hasNextByte()) return buffer[ptr++]; else return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}",
"isPrintableChar",
"{ return 33 <= c && c <= 126;}",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}",
"hasNext",
"{ while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}",
"while(hasNextByte() && !isPrintableChar(buffer[ptr])) 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()) throw new NoSuchElementException();\n 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()) throw new NoSuchElementException();\n 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()) throw 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 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 class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tlong a = Long.parseLong(sc.next());\n\t\tlong sum = 100;\n\t\tlong count = 0;\n\t\twhile(a > sum) {\n\t\t\tsum *= 1.01;\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.print(count);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tlong a = Long.parseLong(sc.next());\n\t\tlong sum = 100;\n\t\tlong count = 0;\n\t\twhile(a > sum) {\n\t\t\tsum *= 1.01;\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.print(count);\n\t}\n}",
"Main"
] |
import java.io.IOException;
import java.io.InputStream;
import java.util.NoSuchElementException;
public class Main {
public static void main(String[] args) {
FastScanner sc = new FastScanner();
long a = Long.parseLong(sc.next());
long sum = 100;
long count = 0;
while(a > sum) {
sum *= 1.01;
count++;
}
System.out.print(count);
}
}
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();
}
}
|
[
7,
15,
13,
17,
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,
2,
17,
13,
2,
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
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
40,
40
],
[
40,
41
],
[
40,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
33,
46
],
[
46,
47
],
[
11,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
9,
54
],
[
54,
55
]
] |
[
"import java.io.*;\nimport java.math.*;\n\nclass Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader bu=new BufferedReader(new InputStreamReader(System.in));\n long n=Long.parseLong(bu.readLine());\n long p=100,t=0;\n while(p<n)\n {\n p=(long)Math.floor(1.0*p*(101.0/100));\n t++;\n }\n System.out.print(t);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader bu=new BufferedReader(new InputStreamReader(System.in));\n long n=Long.parseLong(bu.readLine());\n long p=100,t=0;\n while(p<n)\n {\n p=(long)Math.floor(1.0*p*(101.0/100));\n t++;\n }\n System.out.print(t);\n }\n}",
"Main",
"public static void main(String args[])throws Exception\n {\n BufferedReader bu=new BufferedReader(new InputStreamReader(System.in));\n long n=Long.parseLong(bu.readLine());\n long p=100,t=0;\n while(p<n)\n {\n p=(long)Math.floor(1.0*p*(101.0/100));\n t++;\n }\n System.out.print(t);\n }",
"main",
"{\n BufferedReader bu=new BufferedReader(new InputStreamReader(System.in));\n long n=Long.parseLong(bu.readLine());\n long p=100,t=0;\n while(p<n)\n {\n p=(long)Math.floor(1.0*p*(101.0/100));\n t++;\n }\n System.out.print(t);\n }",
"BufferedReader bu=new BufferedReader(new InputStreamReader(System.in));",
"bu",
"new BufferedReader(new InputStreamReader(System.in))",
"long n=Long.parseLong(bu.readLine());",
"n",
"Long.parseLong(bu.readLine())",
"Long.parseLong",
"Long",
"bu.readLine()",
"bu.readLine",
"bu",
"long p=100",
"p",
"100",
"t=0;",
"t",
"0",
"while(p<n)\n {\n p=(long)Math.floor(1.0*p*(101.0/100));\n t++;\n }",
"p<n",
"p",
"n",
"{\n p=(long)Math.floor(1.0*p*(101.0/100));\n t++;\n }",
"p=(long)Math.floor(1.0*p*(101.0/100))",
"p",
"(long)Math.floor(1.0*p*(101.0/100))",
"Math.floor",
"Math",
"1.0*p*(101.0/100)",
"1.0*p*(101.0/100)",
"1.0",
"p",
"(101.0/100)",
"101.0",
"100",
"t++",
"t",
"System.out.print(t)",
"System.out.print",
"System.out",
"System",
"System.out",
"t",
"String args[]",
"args"
] |
import java.io.*;
import java.math.*;
class Main
{
public static void main(String args[])throws Exception
{
BufferedReader bu=new BufferedReader(new InputStreamReader(System.in));
long n=Long.parseLong(bu.readLine());
long p=100,t=0;
while(p<n)
{
p=(long)Math.floor(1.0*p*(101.0/100));
t++;
}
System.out.print(t);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
4,
18,
13,
42,
17,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
3,
0,
13,
17,
40,
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
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
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
],
[
28,
44
],
[
44,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n long x = sc.nextLong();\n long money = 100;\n int year = 0;\n sc.close();\n \n while(true){\n if(money >= x){\n System.out.println(year);\n break;\n }\n money*=1.01;\n year++;\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n long x = sc.nextLong();\n long money = 100;\n int year = 0;\n sc.close();\n \n while(true){\n if(money >= x){\n System.out.println(year);\n break;\n }\n money*=1.01;\n year++;\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n long x = sc.nextLong();\n long money = 100;\n int year = 0;\n sc.close();\n \n while(true){\n if(money >= x){\n System.out.println(year);\n break;\n }\n money*=1.01;\n year++;\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n long x = sc.nextLong();\n long money = 100;\n int year = 0;\n sc.close();\n \n while(true){\n if(money >= x){\n System.out.println(year);\n break;\n }\n money*=1.01;\n year++;\n }\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",
"int year = 0;",
"year",
"0",
"sc.close()",
"sc.close",
"sc",
"while(true){\n if(money >= x){\n System.out.println(year);\n break;\n }\n money*=1.01;\n year++;\n }",
"true",
"{\n if(money >= x){\n System.out.println(year);\n break;\n }\n money*=1.01;\n year++;\n }",
"if(money >= x){\n System.out.println(year);\n break;\n }",
"money >= x",
"money",
"x",
"{\n System.out.println(year);\n break;\n }",
"System.out.println(year)",
"System.out.println",
"System.out",
"System",
"System.out",
"year",
"break;",
"money*=1.01",
"money",
"1.01",
"year++",
"year",
"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 long money = 100;\n int year = 0;\n sc.close();\n \n while(true){\n if(money >= x){\n System.out.println(year);\n break;\n }\n money*=1.01;\n year++;\n }\n }\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 long money = 100;\n int year = 0;\n sc.close();\n \n while(true){\n if(money >= x){\n System.out.println(year);\n break;\n }\n money*=1.01;\n year++;\n }\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;
int year = 0;
sc.close();
while(true){
if(money >= x){
System.out.println(year);
break;
}
money*=1.01;
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,
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
],
[
59,
8
],
[
59,
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
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
11,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
11,
50
],
[
50,
51
],
[
51,
52
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
9,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] |
[
"import java.util.*;\nimport java.io.*;\npublic class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n long x=Long.parseLong(br.readLine());\n long sum=100;\n int cntr=0;\n while(sum<x)\n {\n sum=sum+sum/100;\n cntr++;\n }\n pw.println(cntr);\n /*for(int x=0;x<q;x++)\n {\n String str[]=br.readLine().split(\" \");\n int n=Integer.parseInt(str[0]);\n int m=Integer.parseInt(str[1]);\n String s=br.readLine();\n }*/\n pw.flush();\n pw.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n long x=Long.parseLong(br.readLine());\n long sum=100;\n int cntr=0;\n while(sum<x)\n {\n sum=sum+sum/100;\n cntr++;\n }\n pw.println(cntr);\n /*for(int x=0;x<q;x++)\n {\n String str[]=br.readLine().split(\" \");\n int n=Integer.parseInt(str[0]);\n int m=Integer.parseInt(str[1]);\n String s=br.readLine();\n }*/\n pw.flush();\n pw.close();\n }\n}",
"Main",
"public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n long x=Long.parseLong(br.readLine());\n long sum=100;\n int cntr=0;\n while(sum<x)\n {\n sum=sum+sum/100;\n cntr++;\n }\n pw.println(cntr);\n /*for(int x=0;x<q;x++)\n {\n String str[]=br.readLine().split(\" \");\n int n=Integer.parseInt(str[0]);\n int m=Integer.parseInt(str[1]);\n String s=br.readLine();\n }*/\n pw.flush();\n pw.close();\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n long x=Long.parseLong(br.readLine());\n long sum=100;\n int cntr=0;\n while(sum<x)\n {\n sum=sum+sum/100;\n cntr++;\n }\n pw.println(cntr);\n /*for(int x=0;x<q;x++)\n {\n String str[]=br.readLine().split(\" \");\n int n=Integer.parseInt(str[0]);\n int m=Integer.parseInt(str[1]);\n String s=br.readLine();\n }*/\n pw.flush();\n pw.close();\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"PrintWriter pw=new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"long x=Long.parseLong(br.readLine());",
"x",
"Long.parseLong(br.readLine())",
"Long.parseLong",
"Long",
"br.readLine()",
"br.readLine",
"br",
"long sum=100;",
"sum",
"100",
"int cntr=0;",
"cntr",
"0",
"while(sum<x)\n {\n sum=sum+sum/100;\n cntr++;\n }",
"sum<x",
"sum",
"x",
"{\n sum=sum+sum/100;\n cntr++;\n }",
"sum=sum+sum/100",
"sum",
"sum+sum/100",
"sum",
"sum/100",
"sum",
"100",
"cntr++",
"cntr",
"pw.println(cntr)",
"pw.println",
"pw",
"cntr",
"pw.flush()",
"pw.flush",
"pw",
"pw.close()",
"pw.close",
"pw",
"String args[]",
"args",
"public class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n long x=Long.parseLong(br.readLine());\n long sum=100;\n int cntr=0;\n while(sum<x)\n {\n sum=sum+sum/100;\n cntr++;\n }\n pw.println(cntr);\n /*for(int x=0;x<q;x++)\n {\n String str[]=br.readLine().split(\" \");\n int n=Integer.parseInt(str[0]);\n int m=Integer.parseInt(str[1]);\n String s=br.readLine();\n }*/\n pw.flush();\n pw.close();\n }\n}",
"public class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n long x=Long.parseLong(br.readLine());\n long sum=100;\n int cntr=0;\n while(sum<x)\n {\n sum=sum+sum/100;\n cntr++;\n }\n pw.println(cntr);\n /*for(int x=0;x<q;x++)\n {\n String str[]=br.readLine().split(\" \");\n int n=Integer.parseInt(str[0]);\n int m=Integer.parseInt(str[1]);\n String s=br.readLine();\n }*/\n pw.flush();\n pw.close();\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main
{
public static void main(String args[])throws Exception
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
PrintWriter pw=new PrintWriter(System.out);
long x=Long.parseLong(br.readLine());
long sum=100;
int cntr=0;
while(sum<x)
{
sum=sum+sum/100;
cntr++;
}
pw.println(cntr);
/*for(int x=0;x<q;x++)
{
String str[]=br.readLine().split(" ");
int n=Integer.parseInt(str[0]);
int m=Integer.parseInt(str[1]);
String s=br.readLine();
}*/
pw.flush();
pw.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
4,
18,
13,
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
],
[
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
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] |
[
"\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong X=sc.nextLong();\n\n\t\tlong h =100L;\n\t\tint count = 0;\n\t\tsc.close();\n\n\t\twhile(h < X) {\n\t\t\th *= 1.01;\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\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\t\tScanner sc=new Scanner(System.in);\n\t\tlong X=sc.nextLong();\n\n\t\tlong h =100L;\n\t\tint count = 0;\n\t\tsc.close();\n\n\t\twhile(h < X) {\n\t\t\th *= 1.01;\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\n\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong X=sc.nextLong();\n\n\t\tlong h =100L;\n\t\tint count = 0;\n\t\tsc.close();\n\n\t\twhile(h < X) {\n\t\t\th *= 1.01;\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\n\n\n\t}",
"main",
"{\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong X=sc.nextLong();\n\n\t\tlong h =100L;\n\t\tint count = 0;\n\t\tsc.close();\n\n\t\twhile(h < X) {\n\t\t\th *= 1.01;\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\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 h =100L;",
"h",
"100L",
"int count = 0;",
"count",
"0",
"sc.close()",
"sc.close",
"sc",
"while(h < X) {\n\t\t\th *= 1.01;\n\t\t\tcount++;\n\t\t}",
"h < X",
"h",
"X",
"{\n\t\t\th *= 1.01;\n\t\t\tcount++;\n\t\t}",
"h *= 1.01",
"h",
"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\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong X=sc.nextLong();\n\n\t\tlong h =100L;\n\t\tint count = 0;\n\t\tsc.close();\n\n\t\twhile(h < X) {\n\t\t\th *= 1.01;\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\n\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong X=sc.nextLong();\n\n\t\tlong h =100L;\n\t\tint count = 0;\n\t\tsc.close();\n\n\t\twhile(h < X) {\n\t\t\th *= 1.01;\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\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 h =100L;
int count = 0;
sc.close();
while(h < X) {
h *= 1.01;
count++;
}
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,
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,
17,
41,
13,
17,
42,
2,
4,
18,
13,
13,
40,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
13,
40,
13,
4,
18,
13,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
18,
36,
13,
20,
23,
13,
12,
13,
30,
4,
18,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
30,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
14,
4,
18,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
4,
18,
13,
13,
29,
4,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
29,
20,
6,
13,
12,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
],
[
0,
37
],
[
340,
38
],
[
340,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
41,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
41,
52
],
[
52,
53
],
[
52,
54
],
[
41,
55
],
[
55,
56
],
[
55,
57
],
[
41,
58
],
[
58,
59
],
[
58,
60
],
[
41,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
61,
65
],
[
61,
66
],
[
41,
67
],
[
67,
68
],
[
68,
69
],
[
39,
70
],
[
70,
71
],
[
340,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
76,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
76,
88
],
[
88,
89
],
[
88,
90
],
[
76,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
92,
97
],
[
97,
98
],
[
91,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
99,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
99,
115
],
[
115,
116
],
[
76,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
74,
121
],
[
121,
122
],
[
74,
123
],
[
123,
124
],
[
74,
125
],
[
125,
126
],
[
340,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
127,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
131,
137
],
[
137,
138
],
[
127,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
142,
146
],
[
139,
147
],
[
147,
148
],
[
127,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
127,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
158,
161
],
[
155,
162
],
[
162,
163
],
[
340,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
164,
168
],
[
168,
169
],
[
168,
170
],
[
164,
172
],
[
172,
173
],
[
164,
174
],
[
174,
175
],
[
164,
176
],
[
176,
177
],
[
164,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
181,
185
],
[
178,
186
],
[
186,
187
],
[
164,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
191,
196
],
[
196,
197
],
[
197,
198
],
[
190,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
199,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
203,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
207,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
217,
218
],
[
216,
219
],
[
203,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
220,
224
],
[
224,
225
],
[
225,
226
],
[
226,
227
],
[
190,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
164,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
235,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
235,
249
],
[
249,
250
],
[
249,
251
],
[
235,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
252,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
260,
261
],
[
259,
262
],
[
258,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
264,
267
],
[
257,
268
],
[
268,
269
],
[
268,
270
],
[
270,
271
],
[
235,
272
],
[
272,
273
],
[
273,
274
],
[
274,
275
],
[
164,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
279,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
286,
287
],
[
285,
288
],
[
278,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
276,
293
],
[
293,
294
],
[
164,
295
],
[
295,
296
],
[
295,
297
],
[
297,
298
],
[
298,
299
],
[
302,
300
],
[
312,
301
],
[
309,
302
],
[
302,
303
],
[
303,
304
],
[
303,
305
],
[
302,
306
],
[
306,
307
],
[
306,
308
],
[
309,
309
],
[
309,
310
],
[
309,
311
],
[
312,
312
],
[
312,
313
],
[
312,
314
],
[
302,
315
],
[
315,
316
],
[
315,
317
],
[
317,
318
],
[
295,
319
],
[
319,
320
],
[
164,
321
],
[
321,
322
],
[
321,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
327,
328
],
[
328,
329
],
[
324,
330
],
[
330,
331
],
[
331,
332
],
[
164,
333
],
[
333,
334
],
[
333,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
0,
339
],
[
339,
340
],
[
339,
341
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.io.BufferedWriter;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.Writer;\nimport java.io.OutputStreamWriter;\nimport java.math.BigInteger;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author akhl\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n B1 solver = new B1();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B1 {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n BigInteger t = in.readBigInteger();\n BigInteger p = BigInteger.valueOf(100);\n int count = 0;\n while (p.compareTo(t) == -1) {\n BigInteger temp = p.divide(BigInteger.valueOf(100));\n p = p.add(temp);\n ++count;\n }\n out.println(count);\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(int i) {\n writer.println(i);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public BigInteger readBigInteger() {\n try {\n return new BigInteger(nextString());\n } catch (NumberFormatException e) {\n throw new InputMismatchException();\n }\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.BufferedWriter;",
"BufferedWriter",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.Writer;",
"Writer",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n B1 solver = new B1();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B1 {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n BigInteger t = in.readBigInteger();\n BigInteger p = BigInteger.valueOf(100);\n int count = 0;\n while (p.compareTo(t) == -1) {\n BigInteger temp = p.divide(BigInteger.valueOf(100));\n p = p.add(temp);\n ++count;\n }\n out.println(count);\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(int i) {\n writer.println(i);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public BigInteger readBigInteger() {\n try {\n return new BigInteger(nextString());\n } catch (NumberFormatException e) {\n throw new InputMismatchException();\n }\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n B1 solver = new B1();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n B1 solver = new B1();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(inputStream)",
"OutputWriter out = new OutputWriter(outputStream);",
"out",
"new OutputWriter(outputStream)",
"B1 solver = new B1();",
"solver",
"new B1()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class B1 {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n BigInteger t = in.readBigInteger();\n BigInteger p = BigInteger.valueOf(100);\n int count = 0;\n while (p.compareTo(t) == -1) {\n BigInteger temp = p.divide(BigInteger.valueOf(100));\n p = p.add(temp);\n ++count;\n }\n out.println(count);\n }\n\n }",
"B1",
"public void solve(int testNumber, InputReader in, OutputWriter out) {\n BigInteger t = in.readBigInteger();\n BigInteger p = BigInteger.valueOf(100);\n int count = 0;\n while (p.compareTo(t) == -1) {\n BigInteger temp = p.divide(BigInteger.valueOf(100));\n p = p.add(temp);\n ++count;\n }\n out.println(count);\n }",
"solve",
"{\n BigInteger t = in.readBigInteger();\n BigInteger p = BigInteger.valueOf(100);\n int count = 0;\n while (p.compareTo(t) == -1) {\n BigInteger temp = p.divide(BigInteger.valueOf(100));\n p = p.add(temp);\n ++count;\n }\n out.println(count);\n }",
"BigInteger t = in.readBigInteger();",
"t",
"in.readBigInteger()",
"in.readBigInteger",
"in",
"BigInteger p = BigInteger.valueOf(100);",
"p",
"BigInteger.valueOf(100)",
"BigInteger.valueOf",
"BigInteger",
"100",
"int count = 0;",
"count",
"0",
"while (p.compareTo(t) == -1) {\n BigInteger temp = p.divide(BigInteger.valueOf(100));\n p = p.add(temp);\n ++count;\n }",
"p.compareTo(t) == -1",
"p.compareTo(t)",
"p.compareTo",
"p",
"t",
"-1",
"1",
"{\n BigInteger temp = p.divide(BigInteger.valueOf(100));\n p = p.add(temp);\n ++count;\n }",
"BigInteger temp = p.divide(BigInteger.valueOf(100));",
"temp",
"p.divide(BigInteger.valueOf(100))",
"p.divide",
"p",
"BigInteger.valueOf(100)",
"BigInteger.valueOf",
"BigInteger",
"100",
"p = p.add(temp)",
"p",
"p.add(temp)",
"p.add",
"p",
"temp",
"++count",
"count",
"out.println(count)",
"out.println",
"out",
"count",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"OutputWriter out",
"out",
"static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(int i) {\n writer.println(i);\n }\n\n }",
"OutputWriter",
"private final PrintWriter writer;",
"writer",
"public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }",
"OutputWriter",
"{\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }",
"writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"writer",
"new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"OutputStream outputStream",
"outputStream",
"public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }",
"OutputWriter",
"{\n this.writer = new PrintWriter(writer);\n }",
"this.writer = new PrintWriter(writer)",
"this.writer",
"this",
"this.writer",
"new PrintWriter(writer)",
"Writer writer",
"writer",
"public void close() {\n writer.close();\n }",
"close",
"{\n writer.close();\n }",
"writer.close()",
"writer.close",
"writer",
"public void println(int i) {\n writer.println(i);\n }",
"println",
"{\n writer.println(i);\n }",
"writer.println(i)",
"writer.println",
"writer",
"i",
"int i",
"i",
"static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public BigInteger readBigInteger() {\n try {\n return new BigInteger(nextString());\n } catch (NumberFormatException e) {\n throw new InputMismatchException();\n }\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }",
"InputReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"private InputReader.SpaceCharFilter filter;",
"filter",
"public InputReader(InputStream stream) {\n this.stream = stream;\n }",
"InputReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"if (numChars == -1) {\n throw new InputMismatchException();\n }",
"numChars == -1",
"numChars",
"-1",
"1",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (numChars <= 0) {\n return -1;\n }",
"numChars <= 0",
"numChars",
"0",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"nextString",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n }",
"if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }",
"Character.isValidCodePoint(c)",
"Character.isValidCodePoint",
"Character",
"c",
"{\n res.appendCodePoint(c);\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 }\n return isWhitespace(c);\n }",
"isSpaceChar",
"{\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"if (filter != null) {\n return filter.isSpaceChar(c);\n }",
"filter != null",
"filter",
"null",
"{\n return filter.isSpaceChar(c);\n }",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return isWhitespace(c);",
"isWhitespace(c)",
"isWhitespace",
"c",
"int c",
"c",
"public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isWhitespace",
"{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public BigInteger readBigInteger() {\n try {\n return new BigInteger(nextString());\n } catch (NumberFormatException e) {\n throw new InputMismatchException();\n }\n }",
"readBigInteger",
"{\n try {\n return new BigInteger(nextString());\n } catch (NumberFormatException e) {\n throw new InputMismatchException();\n }\n }",
"try {\n return new BigInteger(nextString());\n } catch (NumberFormatException e) {\n throw new InputMismatchException();\n }",
"catch (NumberFormatException e) {\n throw new InputMismatchException();\n }",
"NumberFormatException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n return new BigInteger(nextString());\n }",
"return new BigInteger(nextString());",
"new BigInteger(nextString())",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n B1 solver = new B1();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B1 {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n BigInteger t = in.readBigInteger();\n BigInteger p = BigInteger.valueOf(100);\n int count = 0;\n while (p.compareTo(t) == -1) {\n BigInteger temp = p.divide(BigInteger.valueOf(100));\n p = p.add(temp);\n ++count;\n }\n out.println(count);\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(int i) {\n writer.println(i);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public BigInteger readBigInteger() {\n try {\n return new BigInteger(nextString());\n } catch (NumberFormatException e) {\n throw new InputMismatchException();\n }\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n B1 solver = new B1();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B1 {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n BigInteger t = in.readBigInteger();\n BigInteger p = BigInteger.valueOf(100);\n int count = 0;\n while (p.compareTo(t) == -1) {\n BigInteger temp = p.divide(BigInteger.valueOf(100));\n p = p.add(temp);\n ++count;\n }\n out.println(count);\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(int i) {\n writer.println(i);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public BigInteger readBigInteger() {\n try {\n return new BigInteger(nextString());\n } catch (NumberFormatException e) {\n throw new InputMismatchException();\n }\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.BufferedWriter;
import java.util.InputMismatchException;
import java.io.IOException;
import java.io.Writer;
import java.io.OutputStreamWriter;
import java.math.BigInteger;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author akhl
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
OutputWriter out = new OutputWriter(outputStream);
B1 solver = new B1();
solver.solve(1, in, out);
out.close();
}
static class B1 {
public void solve(int testNumber, InputReader in, OutputWriter out) {
BigInteger t = in.readBigInteger();
BigInteger p = BigInteger.valueOf(100);
int count = 0;
while (p.compareTo(t) == -1) {
BigInteger temp = p.divide(BigInteger.valueOf(100));
p = p.add(temp);
++count;
}
out.println(count);
}
}
static class OutputWriter {
private final PrintWriter writer;
public OutputWriter(OutputStream outputStream) {
writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));
}
public OutputWriter(Writer writer) {
this.writer = new PrintWriter(writer);
}
public void close() {
writer.close();
}
public void println(int i) {
writer.println(i);
}
}
static class InputReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private InputReader.SpaceCharFilter filter;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int read() {
if (numChars == -1) {
throw new InputMismatchException();
}
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0) {
return -1;
}
}
return buf[curChar++];
}
public String nextString() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
StringBuilder res = new StringBuilder();
do {
if (Character.isValidCodePoint(c)) {
res.appendCodePoint(c);
}
c = read();
} while (!isSpaceChar(c));
return res.toString();
}
public boolean isSpaceChar(int c) {
if (filter != null) {
return filter.isSpaceChar(c);
}
return isWhitespace(c);
}
public static boolean isWhitespace(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public BigInteger readBigInteger() {
try {
return new BigInteger(nextString());
} catch (NumberFormatException e) {
throw new InputMismatchException();
}
}
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,
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.*;\npublic class Main {\n public static void main(String args[])\n {\n Scanner in = new Scanner(System.in);\n long n = in.nextLong();\n long start = 100;\n int years = 0;\n while(start < n)\n {\n start *= 1.01;\n years++;\n }\n System.out.println(years);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String args[])\n {\n Scanner in = new Scanner(System.in);\n long n = in.nextLong();\n long start = 100;\n int years = 0;\n while(start < n)\n {\n start *= 1.01;\n years++;\n }\n System.out.println(years);\n }\n}",
"Main",
"public static void main(String args[])\n {\n Scanner in = new Scanner(System.in);\n long n = in.nextLong();\n long start = 100;\n int years = 0;\n while(start < n)\n {\n start *= 1.01;\n years++;\n }\n System.out.println(years);\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n long n = in.nextLong();\n long start = 100;\n int years = 0;\n while(start < n)\n {\n start *= 1.01;\n years++;\n }\n System.out.println(years);\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"long n = in.nextLong();",
"n",
"in.nextLong()",
"in.nextLong",
"in",
"long start = 100;",
"start",
"100",
"int years = 0;",
"years",
"0",
"while(start < n)\n {\n start *= 1.01;\n years++;\n }",
"start < n",
"start",
"n",
"{\n start *= 1.01;\n years++;\n }",
"start *= 1.01",
"start",
"1.01",
"years++",
"years",
"System.out.println(years)",
"System.out.println",
"System.out",
"System",
"System.out",
"years",
"String args[]",
"args",
"public class Main {\n public static void main(String args[])\n {\n Scanner in = new Scanner(System.in);\n long n = in.nextLong();\n long start = 100;\n int years = 0;\n while(start < n)\n {\n start *= 1.01;\n years++;\n }\n System.out.println(years);\n }\n}",
"public class Main {\n public static void main(String args[])\n {\n Scanner in = new Scanner(System.in);\n long n = in.nextLong();\n long start = 100;\n int years = 0;\n while(start < n)\n {\n start *= 1.01;\n years++;\n }\n System.out.println(years);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String args[])
{
Scanner in = new Scanner(System.in);
long n = in.nextLong();
long start = 100;
int years = 0;
while(start < n)
{
start *= 1.01;
years++;
}
System.out.println(years);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
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,
13,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
4,
18,
20,
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,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
130,
8
],
[
130,
9
],
[
9,
10
],
[
130,
11
],
[
11,
12
],
[
130,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
15,
21
],
[
21,
22
],
[
21,
23
],
[
15,
24
],
[
24,
25
],
[
24,
26
],
[
15,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
15,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
130,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
47,
54
],
[
54,
55
],
[
55,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
45,
60
],
[
60,
61
],
[
130,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
62,
66
],
[
66,
67
],
[
62,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
62,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
77,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
87,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
76,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
62,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
109,
110
],
[
62,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
118,
119
],
[
62,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
124,
127
],
[
127,
128
],
[
0,
129
],
[
129,
130
],
[
129,
131
]
] |
[
"\n\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n private void solve() {\n long t = sc.nextLong();\n long a = 100;\n int ans = 0;\n while (a < t) {\n a = a + a / 100;\n ++ans;\n }\n out.println(ans);\n }\n\n private static PrintWriter out;\n private static MyScanner sc;\n\n private static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n private MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n }\n\n public static void main(String[] args) {\n out = new PrintWriter(new BufferedOutputStream(System.out));\n sc = new MyScanner();\n new Main().solve();\n out.close();\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n private void solve() {\n long t = sc.nextLong();\n long a = 100;\n int ans = 0;\n while (a < t) {\n a = a + a / 100;\n ++ans;\n }\n out.println(ans);\n }\n\n private static PrintWriter out;\n private static MyScanner sc;\n\n private static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n private MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n }\n\n public static void main(String[] args) {\n out = new PrintWriter(new BufferedOutputStream(System.out));\n sc = new MyScanner();\n new Main().solve();\n out.close();\n }\n}",
"Main",
"private static PrintWriter out;",
"out",
"private static MyScanner sc;",
"sc",
"private void solve() {\n long t = sc.nextLong();\n long a = 100;\n int ans = 0;\n while (a < t) {\n a = a + a / 100;\n ++ans;\n }\n out.println(ans);\n }",
"solve",
"{\n long t = sc.nextLong();\n long a = 100;\n int ans = 0;\n while (a < t) {\n a = a + a / 100;\n ++ans;\n }\n out.println(ans);\n }",
"long t = sc.nextLong();",
"t",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long a = 100;",
"a",
"100",
"int ans = 0;",
"ans",
"0",
"while (a < t) {\n a = a + a / 100;\n ++ans;\n }",
"a < t",
"a",
"t",
"{\n a = a + a / 100;\n ++ans;\n }",
"a = a + a / 100",
"a",
"a + a / 100",
"a",
"a / 100",
"a",
"100",
"++ans",
"ans",
"out.println(ans)",
"out.println",
"out",
"ans",
"public static void main(String[] args) {\n out = new PrintWriter(new BufferedOutputStream(System.out));\n sc = new MyScanner();\n new Main().solve();\n out.close();\n }",
"main",
"{\n out = new PrintWriter(new BufferedOutputStream(System.out));\n sc = new MyScanner();\n new Main().solve();\n out.close();\n }",
"out = new PrintWriter(new BufferedOutputStream(System.out))",
"out",
"new PrintWriter(new BufferedOutputStream(System.out))",
"sc = new MyScanner()",
"sc",
"new MyScanner()",
"new Main().solve()",
"new Main().solve",
"new Main()",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"private static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n private MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n }",
"MyScanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"private MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"MyScanner",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public class Main {\n private void solve() {\n long t = sc.nextLong();\n long a = 100;\n int ans = 0;\n while (a < t) {\n a = a + a / 100;\n ++ans;\n }\n out.println(ans);\n }\n\n private static PrintWriter out;\n private static MyScanner sc;\n\n private static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n private MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n }\n\n public static void main(String[] args) {\n out = new PrintWriter(new BufferedOutputStream(System.out));\n sc = new MyScanner();\n new Main().solve();\n out.close();\n }\n}",
"public class Main {\n private void solve() {\n long t = sc.nextLong();\n long a = 100;\n int ans = 0;\n while (a < t) {\n a = a + a / 100;\n ++ans;\n }\n out.println(ans);\n }\n\n private static PrintWriter out;\n private static MyScanner sc;\n\n private static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n private MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n }\n\n public static void main(String[] args) {\n out = new PrintWriter(new BufferedOutputStream(System.out));\n sc = new MyScanner();\n new Main().solve();\n out.close();\n }\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
private void solve() {
long t = sc.nextLong();
long a = 100;
int ans = 0;
while (a < t) {
a = a + a / 100;
++ans;
}
out.println(ans);
}
private static PrintWriter out;
private static MyScanner sc;
private static class MyScanner {
BufferedReader br;
StringTokenizer st;
private MyScanner() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
}
public static void main(String[] args) {
out = new PrintWriter(new BufferedOutputStream(System.out));
sc = new MyScanner();
new Main().solve();
out.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
17,
41,
13,
17,
42,
2,
4,
18,
13,
13,
40,
17,
30,
0,
13,
17,
0,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
17,
18,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
77,
8
],
[
77,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
39,
44
],
[
44,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
46,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
62,
63
],
[
62,
64
],
[
46,
65
],
[
65,
66
],
[
65,
67
],
[
11,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
9,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
] |
[
"import java.util.*;\nimport java.math.BigDecimal;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n Scanner sc = new Scanner(System.in);\n BigDecimal k = BigDecimal.valueOf(sc.nextLong()); \n BigDecimal money = BigDecimal.valueOf(100.0); \n BigDecimal a = BigDecimal.valueOf(1.01);\n int cnt = 0;\n while(money.compareTo(k) == -1){\n \tcnt+=1;\n \tmoney=money.multiply(a);\n BigDecimal bd1 = money.setScale(0, BigDecimal.ROUND_DOWN);\n money = bd1;\n }\n \tSystem.out.println(cnt); \n\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n Scanner sc = new Scanner(System.in);\n BigDecimal k = BigDecimal.valueOf(sc.nextLong()); \n BigDecimal money = BigDecimal.valueOf(100.0); \n BigDecimal a = BigDecimal.valueOf(1.01);\n int cnt = 0;\n while(money.compareTo(k) == -1){\n \tcnt+=1;\n \tmoney=money.multiply(a);\n BigDecimal bd1 = money.setScale(0, BigDecimal.ROUND_DOWN);\n money = bd1;\n }\n \tSystem.out.println(cnt); \n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n Scanner sc = new Scanner(System.in);\n BigDecimal k = BigDecimal.valueOf(sc.nextLong()); \n BigDecimal money = BigDecimal.valueOf(100.0); \n BigDecimal a = BigDecimal.valueOf(1.01);\n int cnt = 0;\n while(money.compareTo(k) == -1){\n \tcnt+=1;\n \tmoney=money.multiply(a);\n BigDecimal bd1 = money.setScale(0, BigDecimal.ROUND_DOWN);\n money = bd1;\n }\n \tSystem.out.println(cnt); \n\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n Scanner sc = new Scanner(System.in);\n BigDecimal k = BigDecimal.valueOf(sc.nextLong()); \n BigDecimal money = BigDecimal.valueOf(100.0); \n BigDecimal a = BigDecimal.valueOf(1.01);\n int cnt = 0;\n while(money.compareTo(k) == -1){\n \tcnt+=1;\n \tmoney=money.multiply(a);\n BigDecimal bd1 = money.setScale(0, BigDecimal.ROUND_DOWN);\n money = bd1;\n }\n \tSystem.out.println(cnt); \n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigDecimal k = BigDecimal.valueOf(sc.nextLong());",
"k",
"BigDecimal.valueOf(sc.nextLong())",
"BigDecimal.valueOf",
"BigDecimal",
"sc.nextLong()",
"sc.nextLong",
"sc",
"BigDecimal money = BigDecimal.valueOf(100.0);",
"money",
"BigDecimal.valueOf(100.0)",
"BigDecimal.valueOf",
"BigDecimal",
"100.0",
"BigDecimal a = BigDecimal.valueOf(1.01);",
"a",
"BigDecimal.valueOf(1.01)",
"BigDecimal.valueOf",
"BigDecimal",
"1.01",
"int cnt = 0;",
"cnt",
"0",
"while(money.compareTo(k) == -1){\n \tcnt+=1;\n \tmoney=money.multiply(a);\n BigDecimal bd1 = money.setScale(0, BigDecimal.ROUND_DOWN);\n money = bd1;\n }",
"money.compareTo(k) == -1",
"money.compareTo(k)",
"money.compareTo",
"money",
"k",
"-1",
"1",
"{\n \tcnt+=1;\n \tmoney=money.multiply(a);\n BigDecimal bd1 = money.setScale(0, BigDecimal.ROUND_DOWN);\n money = bd1;\n }",
"cnt+=1",
"cnt",
"1",
"money=money.multiply(a)",
"money",
"money.multiply(a)",
"money.multiply",
"money",
"a",
"BigDecimal bd1 = money.setScale(0, BigDecimal.ROUND_DOWN);",
"bd1",
"money.setScale(0, BigDecimal.ROUND_DOWN)",
"money.setScale",
"money",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"money = bd1",
"money",
"bd1",
"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\t// TODO 自動生成されたメソッド・スタブ\n Scanner sc = new Scanner(System.in);\n BigDecimal k = BigDecimal.valueOf(sc.nextLong()); \n BigDecimal money = BigDecimal.valueOf(100.0); \n BigDecimal a = BigDecimal.valueOf(1.01);\n int cnt = 0;\n while(money.compareTo(k) == -1){\n \tcnt+=1;\n \tmoney=money.multiply(a);\n BigDecimal bd1 = money.setScale(0, BigDecimal.ROUND_DOWN);\n money = bd1;\n }\n \tSystem.out.println(cnt); \n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n Scanner sc = new Scanner(System.in);\n BigDecimal k = BigDecimal.valueOf(sc.nextLong()); \n BigDecimal money = BigDecimal.valueOf(100.0); \n BigDecimal a = BigDecimal.valueOf(1.01);\n int cnt = 0;\n while(money.compareTo(k) == -1){\n \tcnt+=1;\n \tmoney=money.multiply(a);\n BigDecimal bd1 = money.setScale(0, BigDecimal.ROUND_DOWN);\n money = bd1;\n }\n \tSystem.out.println(cnt); \n\n\t}\n}",
"Main"
] |
import java.util.*;
import java.math.BigDecimal;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc = new Scanner(System.in);
BigDecimal k = BigDecimal.valueOf(sc.nextLong());
BigDecimal money = BigDecimal.valueOf(100.0);
BigDecimal a = BigDecimal.valueOf(1.01);
int cnt = 0;
while(money.compareTo(k) == -1){
cnt+=1;
money=money.multiply(a);
BigDecimal bd1 = money.setScale(0, BigDecimal.ROUND_DOWN);
money = bd1;
}
System.out.println(cnt);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
53,
11
],
[
53,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
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
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
33,
42
],
[
42,
43
],
[
14,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
12,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] |
[
"import java.util.ArrayList;\nimport java.util.List;\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\t\tdouble yokin = 100;\n\t\tlong X = scanner.nextLong();\n\t\tint i = 0;\n\t\twhile(yokin < X) {\n\t\t\tyokin = Math.floor(yokin * 1.01);\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(i);\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tdouble yokin = 100;\n\t\tlong X = scanner.nextLong();\n\t\tint i = 0;\n\t\twhile(yokin < X) {\n\t\t\tyokin = Math.floor(yokin * 1.01);\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(i);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tdouble yokin = 100;\n\t\tlong X = scanner.nextLong();\n\t\tint i = 0;\n\t\twhile(yokin < X) {\n\t\t\tyokin = Math.floor(yokin * 1.01);\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(i);\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tdouble yokin = 100;\n\t\tlong X = scanner.nextLong();\n\t\tint i = 0;\n\t\twhile(yokin < X) {\n\t\t\tyokin = Math.floor(yokin * 1.01);\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(i);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"double yokin = 100;",
"yokin",
"100",
"long X = scanner.nextLong();",
"X",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"int i = 0;",
"i",
"0",
"while(yokin < X) {\n\t\t\tyokin = Math.floor(yokin * 1.01);\n\t\t\ti++;\n\t\t}",
"yokin < X",
"yokin",
"X",
"{\n\t\t\tyokin = Math.floor(yokin * 1.01);\n\t\t\ti++;\n\t\t}",
"yokin = Math.floor(yokin * 1.01)",
"yokin",
"Math.floor(yokin * 1.01)",
"Math.floor",
"Math",
"yokin * 1.01",
"yokin",
"1.01",
"i++",
"i",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tdouble yokin = 100;\n\t\tlong X = scanner.nextLong();\n\t\tint i = 0;\n\t\twhile(yokin < X) {\n\t\t\tyokin = Math.floor(yokin * 1.01);\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(i);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tdouble yokin = 100;\n\t\tlong X = scanner.nextLong();\n\t\tint i = 0;\n\t\twhile(yokin < X) {\n\t\t\tyokin = Math.floor(yokin * 1.01);\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(i);\n\t}\n}",
"Main"
] |
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double yokin = 100;
long X = scanner.nextLong();
int i = 0;
while(yokin < X) {
yokin = Math.floor(yokin * 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,
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
] |
[
[
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
],
[
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
]
] |
[
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n \tlong now = 100;\n \tdouble p = 0;\n \tint i =0;\n\n\twhile (x > now){\n p = now * 0.01;\n now = now + (long)p;\n i++;\n }\n System.out.println(i);\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 x = sc.nextLong();\n \tlong now = 100;\n \tdouble p = 0;\n \tint i =0;\n\n\twhile (x > now){\n p = now * 0.01;\n now = now + (long)p;\n i++;\n }\n System.out.println(i);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n \tlong now = 100;\n \tdouble p = 0;\n \tint i =0;\n\n\twhile (x > now){\n p = now * 0.01;\n now = now + (long)p;\n i++;\n }\n System.out.println(i);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n \tlong now = 100;\n \tdouble p = 0;\n \tint i =0;\n\n\twhile (x > now){\n p = now * 0.01;\n now = now + (long)p;\n i++;\n }\n System.out.println(i);\n }",
"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",
"double p = 0;",
"p",
"0",
"int i =0;",
"i",
"0",
"while (x > now){\n p = now * 0.01;\n now = now + (long)p;\n i++;\n }",
"x > now",
"x",
"now",
"{\n p = now * 0.01;\n now = now + (long)p;\n i++;\n }",
"p = now * 0.01",
"p",
"now * 0.01",
"now",
"0.01",
"now = now + (long)p",
"now",
"now + (long)p",
"now",
"(long)p",
"i++",
"i",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args"
] |
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
long now = 100;
double p = 0;
int i =0;
while (x > now){
p = now * 0.01;
now = now + (long)p;
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,
41,
13,
13,
42,
2,
13,
13,
30,
41,
13,
2,
13,
17,
0,
13,
13,
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
],
[
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
],
[
30,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
6,
47
],
[
47,
48
]
] |
[
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n long x=sc.nextLong();\n long p=100;\n long yr=0;\n long balance=p;\n while(balance<x)\n {\n long temp=balance/100;\n balance+=temp;\n yr++;\n }\n System.out.println(yr);\n }\n}",
"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 x=sc.nextLong();\n long p=100;\n long yr=0;\n long balance=p;\n while(balance<x)\n {\n long temp=balance/100;\n balance+=temp;\n yr++;\n }\n System.out.println(yr);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n long x=sc.nextLong();\n long p=100;\n long yr=0;\n long balance=p;\n while(balance<x)\n {\n long temp=balance/100;\n balance+=temp;\n yr++;\n }\n System.out.println(yr);\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n long x=sc.nextLong();\n long p=100;\n long yr=0;\n long balance=p;\n while(balance<x)\n {\n long temp=balance/100;\n balance+=temp;\n yr++;\n }\n System.out.println(yr);\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x=sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long p=100;",
"p",
"100",
"long yr=0;",
"yr",
"0",
"long balance=p;",
"balance",
"p",
"while(balance<x)\n {\n long temp=balance/100;\n balance+=temp;\n yr++;\n }",
"balance<x",
"balance",
"x",
"{\n long temp=balance/100;\n balance+=temp;\n yr++;\n }",
"long temp=balance/100;",
"temp",
"balance/100",
"balance",
"100",
"balance+=temp",
"balance",
"temp",
"yr++",
"yr",
"System.out.println(yr)",
"System.out.println",
"System.out",
"System",
"System.out",
"yr",
"String[] args",
"args"
] |
import java.util.Scanner;
class Main{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
long x=sc.nextLong();
long p=100;
long yr=0;
long balance=p;
while(balance<x)
{
long temp=balance/100;
balance+=temp;
yr++;
}
System.out.println(yr);
}
}
|
[
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,
0,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
29,
40,
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
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
33,
40
],
[
25,
41
],
[
41,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] |
[
"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\n int count = 1;\n long money = 100;\n while (true) {\n money *= 1.01;\n if (money >= X) {\n System.out.println(count);\n return;\n }\n count++;\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n\n int count = 1;\n long money = 100;\n while (true) {\n money *= 1.01;\n if (money >= X) {\n System.out.println(count);\n return;\n }\n count++;\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n\n int count = 1;\n long money = 100;\n while (true) {\n money *= 1.01;\n if (money >= X) {\n System.out.println(count);\n return;\n }\n count++;\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n\n int count = 1;\n long money = 100;\n while (true) {\n money *= 1.01;\n if (money >= X) {\n System.out.println(count);\n return;\n }\n count++;\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int count = 1;",
"count",
"1",
"long money = 100;",
"money",
"100",
"while (true) {\n money *= 1.01;\n if (money >= X) {\n System.out.println(count);\n return;\n }\n count++;\n }",
"true",
"{\n money *= 1.01;\n if (money >= X) {\n System.out.println(count);\n return;\n }\n count++;\n }",
"money *= 1.01",
"money",
"1.01",
"if (money >= X) {\n System.out.println(count);\n return;\n }",
"money >= X",
"money",
"X",
"{\n System.out.println(count);\n return;\n }",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"return;",
"count++",
"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\n int count = 1;\n long money = 100;\n while (true) {\n money *= 1.01;\n if (money >= X) {\n System.out.println(count);\n return;\n }\n count++;\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\n int count = 1;\n long money = 100;\n while (true) {\n money *= 1.01;\n if (money >= X) {\n System.out.println(count);\n return;\n }\n count++;\n }\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();
int count = 1;
long money = 100;
while (true) {
money *= 1.01;
if (money >= X) {
System.out.println(count);
return;
}
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,
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.*;\n\npublic class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tlong X= keyboard.nextLong();\n\t\tint ans = 0;\n\t\tlong x = 100;\n\n\t\twhile(x < X ) {\n\t\t\tx += x/100;\n\t\t\tans++;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\t\n\t\t\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tlong X= keyboard.nextLong();\n\t\tint ans = 0;\n\t\tlong x = 100;\n\n\t\twhile(x < X ) {\n\t\t\tx += x/100;\n\t\t\tans++;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\t\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tlong X= keyboard.nextLong();\n\t\tint ans = 0;\n\t\tlong x = 100;\n\n\t\twhile(x < X ) {\n\t\t\tx += x/100;\n\t\t\tans++;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\t\n\t\t\n\t}",
"main",
"{\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tlong X= keyboard.nextLong();\n\t\tint ans = 0;\n\t\tlong x = 100;\n\n\t\twhile(x < X ) {\n\t\t\tx += x/100;\n\t\t\tans++;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\t\n\t\t\n\t}",
"Scanner keyboard = new Scanner(System.in);",
"keyboard",
"new Scanner(System.in)",
"long X= keyboard.nextLong();",
"X",
"keyboard.nextLong()",
"keyboard.nextLong",
"keyboard",
"int ans = 0;",
"ans",
"0",
"long x = 100;",
"x",
"100",
"while(x < X ) {\n\t\t\tx += x/100;\n\t\t\tans++;\n\t\t}",
"x < X",
"x",
"X",
"{\n\t\t\tx += x/100;\n\t\t\tans++;\n\t\t}",
"x += x/100",
"x",
"x/100",
"x",
"100",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"keyboard.close()",
"keyboard.close",
"keyboard",
"String[] args",
"args",
"public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tlong X= keyboard.nextLong();\n\t\tint ans = 0;\n\t\tlong x = 100;\n\n\t\twhile(x < X ) {\n\t\t\tx += x/100;\n\t\t\tans++;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\t\n\t\t\n\t}\n}",
"public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tlong X= keyboard.nextLong();\n\t\tint ans = 0;\n\t\tlong x = 100;\n\n\t\twhile(x < X ) {\n\t\t\tx += x/100;\n\t\t\tans++;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\t\n\t\t\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner keyboard = new Scanner(System.in);
long X= keyboard.nextLong();
int ans = 0;
long x = 100;
while(x < X ) {
x += x/100;
ans++;
}
System.out.println(ans);
keyboard.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
17,
12,
13,
30,
41,
13,
4,
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,
12,
13,
30,
0,
13,
20,
41,
13,
4,
18,
13,
17,
14,
2,
13,
17,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
41,
13,
17,
42,
13,
30,
4,
13,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
17,
14,
2,
4,
18,
13,
17,
30,
4,
18,
13,
4,
18,
18,
13,
13,
17,
30,
0,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
237,
8
],
[
237,
9
],
[
9,
10
],
[
237,
11
],
[
11,
12
],
[
11,
13
],
[
237,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
24,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
31,
40
],
[
40,
41
],
[
16,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
237,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
50,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
65,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
50,
75
],
[
75,
76
],
[
75,
77
],
[
50,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
83,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
89,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
95,
99
],
[
94,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
100,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
94,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
48,
114
],
[
114,
115
],
[
237,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
119,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
129,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
118,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
237,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
147,
150
],
[
150,
151
],
[
237,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
156,
159
],
[
159,
160
],
[
237,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
165,
168
],
[
168,
169
],
[
237,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
172,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
177,
182
],
[
182,
183
],
[
182,
184
],
[
177,
185
],
[
185,
186
],
[
186,
187
],
[
177,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
189,
193
],
[
193,
194
],
[
172,
195
],
[
195,
196
],
[
170,
197
],
[
197,
198
],
[
237,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
237,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
209,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
214,
219
],
[
219,
220
],
[
219,
221
],
[
214,
222
],
[
222,
223
],
[
223,
224
],
[
214,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
226,
230
],
[
230,
231
],
[
209,
232
],
[
232,
233
],
[
207,
234
],
[
234,
235
],
[
0,
236
],
[
236,
237
],
[
236,
238
]
] |
[
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tdouble X = nd();\n\t\tdouble M = 100D;\n\t\tint result = 0;\n\t\twhile(M < X) {\t\t\t\n\t\t\tM = Math.floor(M * 1.01);\n\t\t\tresult++;\n\t\t}\n\t\tSystem.out.println(result);\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tdouble X = nd();\n\t\tdouble M = 100D;\n\t\tint result = 0;\n\t\twhile(M < X) {\t\t\t\n\t\t\tM = Math.floor(M * 1.01);\n\t\t\tresult++;\n\t\t}\n\t\tSystem.out.println(result);\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"Main",
"//Switch input source (stdin/file)\n\tprivate static BufferedReader br;",
"br",
"//Input read utility\n\tprivate static StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"private static void solve(){\n\t\t//Implement solution here.\n\t\tdouble X = nd();\n\t\tdouble M = 100D;\n\t\tint result = 0;\n\t\twhile(M < X) {\t\t\t\n\t\t\tM = Math.floor(M * 1.01);\n\t\t\tresult++;\n\t\t}\n\t\tSystem.out.println(result);\n\t}",
"solve",
"{\n\t\t//Implement solution here.\n\t\tdouble X = nd();\n\t\tdouble M = 100D;\n\t\tint result = 0;\n\t\twhile(M < X) {\t\t\t\n\t\t\tM = Math.floor(M * 1.01);\n\t\t\tresult++;\n\t\t}\n\t\tSystem.out.println(result);\n\t}",
"double X = nd();",
"X",
"nd()",
"nd",
"double M = 100D;",
"M",
"100D",
"int result = 0;",
"result",
"0",
"while(M < X) {\t\t\t\n\t\t\tM = Math.floor(M * 1.01);\n\t\t\tresult++;\n\t\t}",
"M < X",
"M",
"X",
"{\t\t\t\n\t\t\tM = Math.floor(M * 1.01);\n\t\t\tresult++;\n\t\t}",
"M = Math.floor(M * 1.01)",
"M",
"Math.floor(M * 1.01)",
"Math.floor",
"Math",
"M * 1.01",
"M",
"1.01",
"result++",
"result",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"public static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}",
"main",
"{\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String debugDataPath = System.getenv(\"DD_PATH\");",
"debugDataPath",
"System.getenv(\"DD_PATH\")",
"System.getenv",
"System",
"\"DD_PATH\"",
"if(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"debugDataPath != null",
"debugDataPath",
"null",
"{\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"try{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}",
"br = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))))",
"br",
"new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))))",
"boolean hasNext = true;",
"hasNext",
"true",
"while(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}",
"hasNext",
"{\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}",
"solve()",
"solve",
"try{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}",
"br.mark(1)",
"br.mark",
"br",
"1",
"if(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}",
"br.read() > 0",
"br.read()",
"br.read",
"br",
"0",
"{\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t}",
"br.reset()",
"br.reset",
"br",
"System.out.println(\"---\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"---\"",
"{\n\t\t\t\t\thasNext = false;\n\t\t\t\t}",
"hasNext = false",
"hasNext",
"false",
"String[] args",
"args",
"public static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}",
"next",
"{\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"try {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t}",
"tokenizer = new StringTokenizer(br.readLine())",
"tokenizer",
"new StringTokenizer(br.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}",
"ni",
"{\n\t\treturn Integer.parseInt(next());\n\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}",
"nl",
"{\n\t\treturn Long.parseLong(next());\n\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}",
"nd",
"{\n\t\treturn Double.parseDouble(next());\n\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}",
"na",
"{\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = ni();",
"a[i] = ni()",
"a[i]",
"a",
"i",
"ni()",
"ni",
"return a;",
"a",
"int n",
"n",
"//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}",
"ns",
"{\n\t\treturn next().toCharArray();\n\t}",
"return next().toCharArray();",
"next().toCharArray()",
"next().toCharArray",
"next()",
"next",
"//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}",
"nal",
"{\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nl();",
"a[i] = nl()",
"a[i]",
"a",
"i",
"nl()",
"nl",
"return a;",
"a",
"int n",
"n",
"public class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tdouble X = nd();\n\t\tdouble M = 100D;\n\t\tint result = 0;\n\t\twhile(M < X) {\t\t\t\n\t\t\tM = Math.floor(M * 1.01);\n\t\t\tresult++;\n\t\t}\n\t\tSystem.out.println(result);\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"public class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tdouble X = nd();\n\t\tdouble M = 100D;\n\t\tint result = 0;\n\t\twhile(M < X) {\t\t\t\n\t\t\tM = Math.floor(M * 1.01);\n\t\t\tresult++;\n\t\t}\n\t\tSystem.out.println(result);\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main {
private static void solve(){
//Implement solution here.
double X = nd();
double M = 100D;
int result = 0;
while(M < X) {
M = Math.floor(M * 1.01);
result++;
}
System.out.println(result);
}
//Switch input source (stdin/file)
private static BufferedReader br;
public static void main(String[] args){
br = new BufferedReader(new InputStreamReader(System.in));
String debugDataPath = System.getenv("DD_PATH");
if(debugDataPath != null){
try{
br = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));
}catch(Exception e){
throw new RuntimeException(e);
}
}
boolean hasNext = true;
while(hasNext){
solve();
try{
br.mark(1);
if(br.read() > 0){
br.reset();
System.out.println("---");
} else {
hasNext = false;
}
}catch(Exception e){
throw new RuntimeException(e);
}
}
}
//Input read utility
private static StringTokenizer tokenizer = null;
public static String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(br.readLine());
} catch (Exception e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
//Get next single int
private static int ni() {
return Integer.parseInt(next());
}
//Get next single long
private static long nl() {
return Long.parseLong(next());
}
//Get next single double
private static double nd() {
return Double.parseDouble(next());
}
//Get next int array from one line
private static int[] na(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = ni();
return a;
}
//Get next char array from one line
private static char[] ns() {
return next().toCharArray();
}
//Get next long array from one line
private static long[] nal(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nl();
return a;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
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,
6,
13,
41,
13,
20,
41,
13,
12,
13,
30,
38,
5,
13,
30,
30,
42,
2,
2,
13,
17,
40,
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,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
95,
8
],
[
95,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
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
],
[
11,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
9,
42
],
[
42,
43
],
[
95,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
44,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
59,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
53,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
44,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
83,
84
],
[
44,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
] |
[
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n\n long x = sc.nextLong();\n long money = 100;\n\n int cnt = 0;\n while (money < x) {\n money *= 1.01;\n cnt++;\n }\n\n System.out.println(cnt);\n }\n\n static class MyScanner {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1 << 15);\n StringTokenizer tokenizer;\n\n String next() {\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n\n long x = sc.nextLong();\n long money = 100;\n\n int cnt = 0;\n while (money < x) {\n money *= 1.01;\n cnt++;\n }\n\n System.out.println(cnt);\n }\n\n static class MyScanner {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1 << 15);\n StringTokenizer tokenizer;\n\n String next() {\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n\n long x = sc.nextLong();\n long money = 100;\n\n int cnt = 0;\n while (money < x) {\n money *= 1.01;\n cnt++;\n }\n\n System.out.println(cnt);\n }",
"main",
"{\n MyScanner sc = new MyScanner();\n\n long x = sc.nextLong();\n long money = 100;\n\n int cnt = 0;\n while (money < x) {\n money *= 1.01;\n cnt++;\n }\n\n System.out.println(cnt);\n }",
"MyScanner sc = new MyScanner();",
"sc",
"new MyScanner()",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long money = 100;",
"money",
"100",
"int cnt = 0;",
"cnt",
"0",
"while (money < x) {\n money *= 1.01;\n cnt++;\n }",
"money < x",
"money",
"x",
"{\n money *= 1.01;\n cnt++;\n }",
"money *= 1.01",
"money",
"1.01",
"cnt++",
"cnt",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"String[] args",
"args",
"static class MyScanner {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1 << 15);\n StringTokenizer tokenizer;\n\n String next() {\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }",
"MyScanner",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1 << 15);",
"reader",
"new BufferedReader(new InputStreamReader(System.in), 1 << 15)",
"StringTokenizer tokenizer;",
"tokenizer",
"String next() {\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }\n return tokenizer.nextToken();\n }",
"next",
"{\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }\n return tokenizer.nextToken();\n }",
"try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }",
"catch (IOException ignored) {\n }",
"IOException ignored",
"{\n }",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"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",
"public class Main {\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n\n long x = sc.nextLong();\n long money = 100;\n\n int cnt = 0;\n while (money < x) {\n money *= 1.01;\n cnt++;\n }\n\n System.out.println(cnt);\n }\n\n static class MyScanner {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1 << 15);\n StringTokenizer tokenizer;\n\n String next() {\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n\n long x = sc.nextLong();\n long money = 100;\n\n int cnt = 0;\n while (money < x) {\n money *= 1.01;\n cnt++;\n }\n\n System.out.println(cnt);\n }\n\n static class MyScanner {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1 << 15);\n StringTokenizer tokenizer;\n\n String next() {\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
MyScanner sc = new MyScanner();
long x = sc.nextLong();
long money = 100;
int cnt = 0;
while (money < x) {
money *= 1.01;
cnt++;
}
System.out.println(cnt);
}
static class MyScanner {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1 << 15);
StringTokenizer tokenizer;
String next() {
try {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
tokenizer = new StringTokenizer(reader.readLine());
}
} catch (IOException ignored) {
}
return tokenizer.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
0,
13,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
4,
18,
13,
17,
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
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
28,
29
],
[
22,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
31,
37
],
[
37,
38
],
[
37,
39
],
[
31,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
44,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
6,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] |
[
"import java.util.*;\npublic class Main{\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n long x =sc.nextLong();\n long y=100;\n double z;\n for(long i=1;;i++){\n z=y*1.01;\n y=(long)z;\n if(y>=x){System.out.println(i);System.exit(0);}\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n long x =sc.nextLong();\n long y=100;\n double z;\n for(long i=1;;i++){\n z=y*1.01;\n y=(long)z;\n if(y>=x){System.out.println(i);System.exit(0);}\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n long x =sc.nextLong();\n long y=100;\n double z;\n for(long i=1;;i++){\n z=y*1.01;\n y=(long)z;\n if(y>=x){System.out.println(i);System.exit(0);}\n }\n }",
"main",
"{\n Scanner sc =new Scanner(System.in);\n long x =sc.nextLong();\n long y=100;\n double z;\n for(long i=1;;i++){\n z=y*1.01;\n y=(long)z;\n if(y>=x){System.out.println(i);System.exit(0);}\n }\n }",
"Scanner sc =new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x =sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long y=100;",
"y",
"100",
"double z;",
"z",
"for(long i=1;;i++){\n z=y*1.01;\n y=(long)z;\n if(y>=x){System.out.println(i);System.exit(0);}\n }",
"long i=1;",
"long i=1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n z=y*1.01;\n y=(long)z;\n if(y>=x){System.out.println(i);System.exit(0);}\n }",
"{\n z=y*1.01;\n y=(long)z;\n if(y>=x){System.out.println(i);System.exit(0);}\n }",
"z=y*1.01",
"z",
"y*1.01",
"y",
"1.01",
"y=(long)z",
"y",
"(long)z",
"if(y>=x){System.out.println(i);System.exit(0);}",
"y>=x",
"y",
"x",
"{System.out.println(i);System.exit(0);}",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"System.exit(0)",
"System.exit",
"System",
"0",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n long x =sc.nextLong();\n long y=100;\n double z;\n for(long i=1;;i++){\n z=y*1.01;\n y=(long)z;\n if(y>=x){System.out.println(i);System.exit(0);}\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 y=100;\n double z;\n for(long i=1;;i++){\n z=y*1.01;\n y=(long)z;\n if(y>=x){System.out.println(i);System.exit(0);}\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc =new Scanner(System.in);
long x =sc.nextLong();
long y=100;
double z;
for(long i=1;;i++){
z=y*1.01;
y=(long)z;
if(y>=x){System.out.println(i);System.exit(0);}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
0,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
59,
5
],
[
59,
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
],
[
38,
39
],
[
38,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
6,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tlong x=sc.nextLong();\n\t\tint i=0;\n\t\tdouble yokin=100;\n\t\t\n\t\t/*while(yokin<x) {\n\t\t\tyokin=yokin*1.01;\n\t\t\tyokin=Math.floor(yokin); //while文\n\t\t\t\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(i);*/\n\t\t\n\t\tfor(i=0;yokin<x;i++) {\t//for文\n\t\t\tyokin=yokin*1.01;\n\t\t\tyokin=Math.floor(yokin);\n\t\t}\n\t\tSystem.out.println(i);\n\t\t\n\t\t\n\t\tsc.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tlong x=sc.nextLong();\n\t\tint i=0;\n\t\tdouble yokin=100;\n\t\t\n\t\t/*while(yokin<x) {\n\t\t\tyokin=yokin*1.01;\n\t\t\tyokin=Math.floor(yokin); //while文\n\t\t\t\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(i);*/\n\t\t\n\t\tfor(i=0;yokin<x;i++) {\t//for文\n\t\t\tyokin=yokin*1.01;\n\t\t\tyokin=Math.floor(yokin);\n\t\t}\n\t\tSystem.out.println(i);\n\t\t\n\t\t\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tlong x=sc.nextLong();\n\t\tint i=0;\n\t\tdouble yokin=100;\n\t\t\n\t\t/*while(yokin<x) {\n\t\t\tyokin=yokin*1.01;\n\t\t\tyokin=Math.floor(yokin); //while文\n\t\t\t\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(i);*/\n\t\t\n\t\tfor(i=0;yokin<x;i++) {\t//for文\n\t\t\tyokin=yokin*1.01;\n\t\t\tyokin=Math.floor(yokin);\n\t\t}\n\t\tSystem.out.println(i);\n\t\t\n\t\t\n\t\tsc.close();\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tlong x=sc.nextLong();\n\t\tint i=0;\n\t\tdouble yokin=100;\n\t\t\n\t\t/*while(yokin<x) {\n\t\t\tyokin=yokin*1.01;\n\t\t\tyokin=Math.floor(yokin); //while文\n\t\t\t\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(i);*/\n\t\t\n\t\tfor(i=0;yokin<x;i++) {\t//for文\n\t\t\tyokin=yokin*1.01;\n\t\t\tyokin=Math.floor(yokin);\n\t\t}\n\t\tSystem.out.println(i);\n\t\t\n\t\t\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 i=0;",
"i",
"0",
"double yokin=100;",
"yokin",
"100",
"for(i=0;yokin<x;i++) {\t//for文\n\t\t\tyokin=yokin*1.01;\n\t\t\tyokin=Math.floor(yokin);\n\t\t}",
"i=0;",
"i=0",
"i",
"0",
"yokin<x",
"yokin",
"x",
"i++",
"i++",
"i",
"{\t//for文\n\t\t\tyokin=yokin*1.01;\n\t\t\tyokin=Math.floor(yokin);\n\t\t}",
"{\t//for文\n\t\t\tyokin=yokin*1.01;\n\t\t\tyokin=Math.floor(yokin);\n\t\t}",
"yokin=yokin*1.01",
"yokin",
"yokin*1.01",
"yokin",
"1.01",
"yokin=Math.floor(yokin)",
"yokin",
"Math.floor(yokin)",
"Math.floor",
"Math",
"yokin",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tlong x=sc.nextLong();\n\t\tint i=0;\n\t\tdouble yokin=100;\n\t\t\n\t\t/*while(yokin<x) {\n\t\t\tyokin=yokin*1.01;\n\t\t\tyokin=Math.floor(yokin); //while文\n\t\t\t\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(i);*/\n\t\t\n\t\tfor(i=0;yokin<x;i++) {\t//for文\n\t\t\tyokin=yokin*1.01;\n\t\t\tyokin=Math.floor(yokin);\n\t\t}\n\t\tSystem.out.println(i);\n\t\t\n\t\t\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tlong x=sc.nextLong();\n\t\tint i=0;\n\t\tdouble yokin=100;\n\t\t\n\t\t/*while(yokin<x) {\n\t\t\tyokin=yokin*1.01;\n\t\t\tyokin=Math.floor(yokin); //while文\n\t\t\t\n\t\t\ti++;\n\t\t}\n\t\tSystem.out.println(i);*/\n\t\t\n\t\tfor(i=0;yokin<x;i++) {\t//for文\n\t\t\tyokin=yokin*1.01;\n\t\t\tyokin=Math.floor(yokin);\n\t\t}\n\t\tSystem.out.println(i);\n\t\t\n\t\t\n\t\tsc.close();\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc=new Scanner(System.in);
long x=sc.nextLong();
int i=0;
double yokin=100;
/*while(yokin<x) {
yokin=yokin*1.01;
yokin=Math.floor(yokin); //while文
i++;
}
System.out.println(i);*/
for(i=0;yokin<x;i++) { //for文
yokin=yokin*1.01;
yokin=Math.floor(yokin);
}
System.out.println(i);
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,
40,
13,
0,
13,
17,
0,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
48,
5
],
[
48,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble X = sc.nextDouble();\n\n\t\tint cnt = 0;\n\t\tdouble tmp = 100.0;\n\t\twhile (tmp<X) {\n\t\t\tcnt++;\n\t\t\ttmp *= 1.01;\n\t\t\ttmp = Math.floor(tmp);\n\t\t}\n\t\tSystem.out.println(cnt);\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\tdouble X = sc.nextDouble();\n\n\t\tint cnt = 0;\n\t\tdouble tmp = 100.0;\n\t\twhile (tmp<X) {\n\t\t\tcnt++;\n\t\t\ttmp *= 1.01;\n\t\t\ttmp = Math.floor(tmp);\n\t\t}\n\t\tSystem.out.println(cnt);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble X = sc.nextDouble();\n\n\t\tint cnt = 0;\n\t\tdouble tmp = 100.0;\n\t\twhile (tmp<X) {\n\t\t\tcnt++;\n\t\t\ttmp *= 1.01;\n\t\t\ttmp = Math.floor(tmp);\n\t\t}\n\t\tSystem.out.println(cnt);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble X = sc.nextDouble();\n\n\t\tint cnt = 0;\n\t\tdouble tmp = 100.0;\n\t\twhile (tmp<X) {\n\t\t\tcnt++;\n\t\t\ttmp *= 1.01;\n\t\t\ttmp = Math.floor(tmp);\n\t\t}\n\t\tSystem.out.println(cnt);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double X = sc.nextDouble();",
"X",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"int cnt = 0;",
"cnt",
"0",
"double tmp = 100.0;",
"tmp",
"100.0",
"while (tmp<X) {\n\t\t\tcnt++;\n\t\t\ttmp *= 1.01;\n\t\t\ttmp = Math.floor(tmp);\n\t\t}",
"tmp<X",
"tmp",
"X",
"{\n\t\t\tcnt++;\n\t\t\ttmp *= 1.01;\n\t\t\ttmp = Math.floor(tmp);\n\t\t}",
"cnt++",
"cnt",
"tmp *= 1.01",
"tmp",
"1.01",
"tmp = Math.floor(tmp)",
"tmp",
"Math.floor(tmp)",
"Math.floor",
"Math",
"tmp",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble X = sc.nextDouble();\n\n\t\tint cnt = 0;\n\t\tdouble tmp = 100.0;\n\t\twhile (tmp<X) {\n\t\t\tcnt++;\n\t\t\ttmp *= 1.01;\n\t\t\ttmp = Math.floor(tmp);\n\t\t}\n\t\tSystem.out.println(cnt);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble X = sc.nextDouble();\n\n\t\tint cnt = 0;\n\t\tdouble tmp = 100.0;\n\t\twhile (tmp<X) {\n\t\t\tcnt++;\n\t\t\ttmp *= 1.01;\n\t\t\ttmp = Math.floor(tmp);\n\t\t}\n\t\tSystem.out.println(cnt);\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double X = sc.nextDouble();
int cnt = 0;
double tmp = 100.0;
while (tmp<X) {
cnt++;
tmp *= 1.01;
tmp = Math.floor(tmp);
}
System.out.println(cnt);
}
}
|
[
7,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
20,
11,
1,
2,
13,
13,
1,
40,
13,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
9,
11
],
[
5,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
5,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
5,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
3,
37
],
[
37,
38
]
] |
[
"class Main{public static void main(String[]s){long i=1,a=101,o=new java.util.Scanner(System.in).nextLong();for(;a<o;i++)a+=a/100;System.out.print(i);}}",
"class Main{public static void main(String[]s){long i=1,a=101,o=new java.util.Scanner(System.in).nextLong();for(;a<o;i++)a+=a/100;System.out.print(i);}}",
"Main",
"public static void main(String[]s){long i=1,a=101,o=new java.util.Scanner(System.in).nextLong();for(;a<o;i++)a+=a/100;System.out.print(i);}",
"main",
"{long i=1,a=101,o=new java.util.Scanner(System.in).nextLong();for(;a<o;i++)a+=a/100;System.out.print(i);}",
"long i=1",
"i",
"1",
"a=101",
"a",
"101",
"o=new java.util.Scanner(System.in).nextLong();",
"o",
"new java.util.Scanner(System.in).nextLong()",
"new java.util.Scanner(System.in).nextLong",
"new java.util.Scanner(System.in)",
"for(;a<o;i++)a+=a/100;",
";",
"a<o",
"a",
"o",
"i++",
"i++",
"i",
"a+=a/100;",
"a+=a/100",
"a",
"a/100",
"a",
"100",
"System.out.print(i)",
"System.out.print",
"System.out",
"System",
"System.out",
"i",
"String[]s",
"s"
] |
class Main{public static void main(String[]s){long i=1,a=101,o=new java.util.Scanner(System.in).nextLong();for(;a<o;i++)a+=a/100;System.out.print(i);}}
|
[
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,
4,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
13,
13,
23,
13,
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
],
[
306,
8
],
[
306,
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
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
30,
40
],
[
40,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
9,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
50,
58
],
[
58,
59
],
[
58,
60
],
[
50,
61
],
[
61,
62
],
[
61,
63
],
[
50,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
64,
70
],
[
70,
71
],
[
50,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
80,
81
],
[
75,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
86,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
82,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
105,
106
],
[
74,
107
],
[
107,
108
],
[
50,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
112,
120
],
[
120,
121
],
[
121,
122
],
[
50,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
127,
131
],
[
131,
132
],
[
131,
133
],
[
123,
134
],
[
134,
135
],
[
50,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
146,
148
],
[
139,
149
],
[
149,
150
],
[
138,
151
],
[
151,
152
],
[
152,
153
],
[
50,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
157,
161
],
[
161,
162
],
[
156,
163
],
[
163,
164
],
[
163,
165
],
[
156,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
156,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
170,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
175,
178
],
[
174,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
156,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
50,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
190,
194
],
[
194,
195
],
[
189,
196
],
[
196,
197
],
[
196,
198
],
[
189,
199
],
[
199,
200
],
[
199,
201
],
[
189,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
189,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
206,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
210,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
189,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
219,
223
],
[
223,
224
],
[
223,
225
],
[
218,
226
],
[
226,
227
],
[
227,
228
],
[
189,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
233,
237
],
[
237,
238
],
[
237,
239
],
[
232,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
246,
248
],
[
232,
249
],
[
249,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
250,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
249,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
263,
264
],
[
261,
265
],
[
249,
266
],
[
266,
267
],
[
267,
268
],
[
231,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
50,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
275,
280
],
[
280,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
284,
286
],
[
281,
287
],
[
287,
288
],
[
287,
289
],
[
289,
290
],
[
289,
291
],
[
280,
292
],
[
292,
293
],
[
275,
294
],
[
294,
295
],
[
50,
296
],
[
296,
297
],
[
296,
298
],
[
298,
299
],
[
299,
300
],
[
300,
301
],
[
301,
302
],
[
300,
303
],
[
303,
304
],
[
0,
305
],
[
305,
306
],
[
305,
307
]
] |
[
"import java.util.*;\nimport java.io.*;\n \npublic class Main {\n public static void main(String[] args) throws Exception{\n FastScanner sc = new FastScanner(System.in);\n long x = sc.nextLong();\n int i = 0;\n double m = 100;\n while(m < x) {\n m *= 1.01;\n m = Math.floor(m);\n ++i;\n }\n System.out.println(i);\n }\n}\n\nclass FastScanner {\n private final InputStream in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n public FastScanner(InputStream source) {\n in = source;\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 (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()) return buffer[ptr++];\n else return -1;\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\n 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()) 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 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}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception{\n FastScanner sc = new FastScanner(System.in);\n long x = sc.nextLong();\n int i = 0;\n double m = 100;\n while(m < x) {\n m *= 1.01;\n m = Math.floor(m);\n ++i;\n }\n System.out.println(i);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception{\n FastScanner sc = new FastScanner(System.in);\n long x = sc.nextLong();\n int i = 0;\n double m = 100;\n while(m < x) {\n m *= 1.01;\n m = Math.floor(m);\n ++i;\n }\n System.out.println(i);\n }",
"main",
"{\n FastScanner sc = new FastScanner(System.in);\n long x = sc.nextLong();\n int i = 0;\n double m = 100;\n while(m < x) {\n m *= 1.01;\n m = Math.floor(m);\n ++i;\n }\n System.out.println(i);\n }",
"FastScanner sc = new FastScanner(System.in);",
"sc",
"new FastScanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int i = 0;",
"i",
"0",
"double m = 100;",
"m",
"100",
"while(m < x) {\n m *= 1.01;\n m = Math.floor(m);\n ++i;\n }",
"m < x",
"m",
"x",
"{\n m *= 1.01;\n m = Math.floor(m);\n ++i;\n }",
"m *= 1.01",
"m",
"1.01",
"m = Math.floor(m)",
"m",
"Math.floor(m)",
"Math.floor",
"Math",
"m",
"++i",
"i",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"class FastScanner {\n private final InputStream in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n public FastScanner(InputStream source) {\n in = source;\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 (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()) return buffer[ptr++];\n else return -1;\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\n 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()) 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 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}",
"FastScanner",
"private final InputStream in;",
"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(InputStream source) {\n in = source;\n }",
"FastScanner",
"{\n in = source;\n }",
"in = source",
"in",
"source",
"InputStream source",
"source",
"private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (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 (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 (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 (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 (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 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()) return buffer[ptr++];\n else return -1;\n }",
"readByte",
"{\n if (hasNextByte()) return buffer[ptr++];\n else return -1;\n }",
"if (hasNextByte()) return buffer[ptr++];\n else return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(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",
"int c",
"c",
"public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n return hasNextByte();\n }",
"hasNext",
"{\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n return hasNextByte();\n }",
"while (hasNextByte() && !isPrintableChar(buffer[ptr])) 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()) throw new NoSuchElementException();\n 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()) throw new NoSuchElementException();\n 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()) throw 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 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()) 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()) 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()) 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 long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }",
"nextInt",
"{\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }",
"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 class Main {\n public static void main(String[] args) throws Exception{\n FastScanner sc = new FastScanner(System.in);\n long x = sc.nextLong();\n int i = 0;\n double m = 100;\n while(m < x) {\n m *= 1.01;\n m = Math.floor(m);\n ++i;\n }\n System.out.println(i);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception{\n FastScanner sc = new FastScanner(System.in);\n long x = sc.nextLong();\n int i = 0;\n double m = 100;\n while(m < x) {\n m *= 1.01;\n m = Math.floor(m);\n ++i;\n }\n System.out.println(i);\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws Exception{
FastScanner sc = new FastScanner(System.in);
long x = sc.nextLong();
int i = 0;
double m = 100;
while(m < x) {
m *= 1.01;
m = Math.floor(m);
++i;
}
System.out.println(i);
}
}
class FastScanner {
private final InputStream in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
public FastScanner(InputStream source) {
in = source;
}
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,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
2,
4,
18,
13,
13,
40,
17,
30,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
17,
18,
13,
13,
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
],
[
76,
11
],
[
76,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
14,
32
],
[
32,
33
],
[
32,
34
],
[
14,
35
],
[
35,
36
],
[
35,
37
],
[
14,
38
],
[
38,
39
],
[
38,
40
],
[
14,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
42,
47
],
[
47,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
49,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
62,
63
],
[
62,
64
],
[
49,
65
],
[
65,
66
],
[
14,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
12,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] |
[
"import java.math.BigDecimal;\nimport java.math.RoundingMode;\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 = Long.parseLong(sc.next());\n\t\tsc.close();\n\n\t\tBigDecimal bd1 = new BigDecimal(\"100\");\n\t\tBigDecimal bd2 = new BigDecimal(\"1.01\");\n\t\tBigDecimal bd3 = new BigDecimal(String.valueOf(X));\n\n\t\tint year = 0;\n\t\twhile(bd1.compareTo(bd3) == -1) {\n\t\t\tbd1 = bd1.multiply(bd2);\n\t\t\tbd1 = bd1.setScale(0, RoundingMode.DOWN);\n\t\t\tyear++;\n\t\t}\n\t\tSystem.out.println(year);\n\t}\n\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"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\tBigDecimal bd1 = new BigDecimal(\"100\");\n\t\tBigDecimal bd2 = new BigDecimal(\"1.01\");\n\t\tBigDecimal bd3 = new BigDecimal(String.valueOf(X));\n\n\t\tint year = 0;\n\t\twhile(bd1.compareTo(bd3) == -1) {\n\t\t\tbd1 = bd1.multiply(bd2);\n\t\t\tbd1 = bd1.setScale(0, RoundingMode.DOWN);\n\t\t\tyear++;\n\t\t}\n\t\tSystem.out.println(year);\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\tBigDecimal bd1 = new BigDecimal(\"100\");\n\t\tBigDecimal bd2 = new BigDecimal(\"1.01\");\n\t\tBigDecimal bd3 = new BigDecimal(String.valueOf(X));\n\n\t\tint year = 0;\n\t\twhile(bd1.compareTo(bd3) == -1) {\n\t\t\tbd1 = bd1.multiply(bd2);\n\t\t\tbd1 = bd1.setScale(0, RoundingMode.DOWN);\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\tlong X = Long.parseLong(sc.next());\n\t\tsc.close();\n\n\t\tBigDecimal bd1 = new BigDecimal(\"100\");\n\t\tBigDecimal bd2 = new BigDecimal(\"1.01\");\n\t\tBigDecimal bd3 = new BigDecimal(String.valueOf(X));\n\n\t\tint year = 0;\n\t\twhile(bd1.compareTo(bd3) == -1) {\n\t\t\tbd1 = bd1.multiply(bd2);\n\t\t\tbd1 = bd1.setScale(0, RoundingMode.DOWN);\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)",
"long X = Long.parseLong(sc.next());",
"X",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"BigDecimal bd1 = new BigDecimal(\"100\");",
"bd1",
"new BigDecimal(\"100\")",
"BigDecimal bd2 = new BigDecimal(\"1.01\");",
"bd2",
"new BigDecimal(\"1.01\")",
"BigDecimal bd3 = new BigDecimal(String.valueOf(X));",
"bd3",
"new BigDecimal(String.valueOf(X))",
"int year = 0;",
"year",
"0",
"while(bd1.compareTo(bd3) == -1) {\n\t\t\tbd1 = bd1.multiply(bd2);\n\t\t\tbd1 = bd1.setScale(0, RoundingMode.DOWN);\n\t\t\tyear++;\n\t\t}",
"bd1.compareTo(bd3) == -1",
"bd1.compareTo(bd3)",
"bd1.compareTo",
"bd1",
"bd3",
"-1",
"1",
"{\n\t\t\tbd1 = bd1.multiply(bd2);\n\t\t\tbd1 = bd1.setScale(0, RoundingMode.DOWN);\n\t\t\tyear++;\n\t\t}",
"bd1 = bd1.multiply(bd2)",
"bd1",
"bd1.multiply(bd2)",
"bd1.multiply",
"bd1",
"bd2",
"bd1 = bd1.setScale(0, RoundingMode.DOWN)",
"bd1",
"bd1.setScale(0, RoundingMode.DOWN)",
"bd1.setScale",
"bd1",
"0",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"year++",
"year",
"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 sc = new Scanner(System.in);\n\t\tlong X = Long.parseLong(sc.next());\n\t\tsc.close();\n\n\t\tBigDecimal bd1 = new BigDecimal(\"100\");\n\t\tBigDecimal bd2 = new BigDecimal(\"1.01\");\n\t\tBigDecimal bd3 = new BigDecimal(String.valueOf(X));\n\n\t\tint year = 0;\n\t\twhile(bd1.compareTo(bd3) == -1) {\n\t\t\tbd1 = bd1.multiply(bd2);\n\t\t\tbd1 = bd1.setScale(0, RoundingMode.DOWN);\n\t\t\tyear++;\n\t\t}\n\t\tSystem.out.println(year);\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\tBigDecimal bd1 = new BigDecimal(\"100\");\n\t\tBigDecimal bd2 = new BigDecimal(\"1.01\");\n\t\tBigDecimal bd3 = new BigDecimal(String.valueOf(X));\n\n\t\tint year = 0;\n\t\twhile(bd1.compareTo(bd3) == -1) {\n\t\t\tbd1 = bd1.multiply(bd2);\n\t\t\tbd1 = bd1.setScale(0, RoundingMode.DOWN);\n\t\t\tyear++;\n\t\t}\n\t\tSystem.out.println(year);\n\t}\n\n}",
"Main"
] |
import java.math.BigDecimal;
import java.math.RoundingMode;
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();
BigDecimal bd1 = new BigDecimal("100");
BigDecimal bd2 = new BigDecimal("1.01");
BigDecimal bd3 = new BigDecimal(String.valueOf(X));
int year = 0;
while(bd1.compareTo(bd3) == -1) {
bd1 = bd1.multiply(bd2);
bd1 = bd1.setScale(0, RoundingMode.DOWN);
year++;
}
System.out.println(year);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
0,
13,
4,
18,
13,
42,
2,
13,
13,
30,
0,
13,
2,
2,
13,
17,
17,
0,
13,
2,
13,
13,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
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
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
31,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
31,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
6,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] |
[
"import java.util.*;\npublic class Main\n{\n public static void main(String args[])\n {\n Scanner in=new Scanner(System.in);\n long x,a=100,c=0,d;\n x=in.nextLong();\n while(a<x)\n {\n d=(a*1)/100;\n a=a+d;\n c=c+1;\n }\n System.out.println(c);\n }\n}\n",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n public static void main(String args[])\n {\n Scanner in=new Scanner(System.in);\n long x,a=100,c=0,d;\n x=in.nextLong();\n while(a<x)\n {\n d=(a*1)/100;\n a=a+d;\n c=c+1;\n }\n System.out.println(c);\n }\n}",
"Main",
"public static void main(String args[])\n {\n Scanner in=new Scanner(System.in);\n long x,a=100,c=0,d;\n x=in.nextLong();\n while(a<x)\n {\n d=(a*1)/100;\n a=a+d;\n c=c+1;\n }\n System.out.println(c);\n }",
"main",
"{\n Scanner in=new Scanner(System.in);\n long x,a=100,c=0,d;\n x=in.nextLong();\n while(a<x)\n {\n d=(a*1)/100;\n a=a+d;\n c=c+1;\n }\n System.out.println(c);\n }",
"Scanner in=new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"long x",
"x",
"a=100",
"a",
"100",
"c=0",
"c",
"0",
"d;",
"d",
"x=in.nextLong()",
"x",
"in.nextLong()",
"in.nextLong",
"in",
"while(a<x)\n {\n d=(a*1)/100;\n a=a+d;\n c=c+1;\n }",
"a<x",
"a",
"x",
"{\n d=(a*1)/100;\n a=a+d;\n c=c+1;\n }",
"d=(a*1)/100",
"d",
"(a*1)/100",
"(a*1)",
"a",
"1",
"100",
"a=a+d",
"a",
"a+d",
"a",
"d",
"c=c+1",
"c",
"c+1",
"c",
"1",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String args[]",
"args",
"public class Main\n{\n public static void main(String args[])\n {\n Scanner in=new Scanner(System.in);\n long x,a=100,c=0,d;\n x=in.nextLong();\n while(a<x)\n {\n d=(a*1)/100;\n a=a+d;\n c=c+1;\n }\n System.out.println(c);\n }\n}",
"public class Main\n{\n public static void main(String args[])\n {\n Scanner in=new Scanner(System.in);\n long x,a=100,c=0,d;\n x=in.nextLong();\n while(a<x)\n {\n d=(a*1)/100;\n a=a+d;\n c=c+1;\n }\n System.out.println(c);\n }\n}",
"Main"
] |
import java.util.*;
public class Main
{
public static void main(String args[])
{
Scanner in=new Scanner(System.in);
long x,a=100,c=0,d;
x=in.nextLong();
while(a<x)
{
d=(a*1)/100;
a=a+d;
c=c+1;
}
System.out.println(c);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
2,
4,
18,
13,
13,
40,
17,
30,
0,
13,
4,
18,
13,
20,
0,
13,
4,
18,
13,
17,
18,
13,
13,
14,
2,
4,
18,
13,
13,
17,
30,
3,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
76,
8
],
[
76,
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
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
11,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
33,
38
],
[
38,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
40,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
40,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
57,
62
],
[
56,
63
],
[
63,
64
],
[
40,
65
],
[
65,
66
],
[
11,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
9,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n\n String to = scan.nextLine();\n\n BigDecimal money = new BigDecimal(100);\n\n BigDecimal moneyTo = new BigDecimal(to);\n\n BigDecimal moneyMax = new BigDecimal(1000000000000000000L);\n\n int i = 1;\n\n while (money.compareTo(moneyMax) == -1) {\n\n money = money.multiply(new BigDecimal(1.01));\n money = money.setScale(0, BigDecimal.ROUND_DOWN);\n if (money.compareTo(moneyTo) >= 0) {\n break;\n }\n i++;\n }\n\n System.out.println(i);\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n\n String to = scan.nextLine();\n\n BigDecimal money = new BigDecimal(100);\n\n BigDecimal moneyTo = new BigDecimal(to);\n\n BigDecimal moneyMax = new BigDecimal(1000000000000000000L);\n\n int i = 1;\n\n while (money.compareTo(moneyMax) == -1) {\n\n money = money.multiply(new BigDecimal(1.01));\n money = money.setScale(0, BigDecimal.ROUND_DOWN);\n if (money.compareTo(moneyTo) >= 0) {\n break;\n }\n i++;\n }\n\n System.out.println(i);\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n\n String to = scan.nextLine();\n\n BigDecimal money = new BigDecimal(100);\n\n BigDecimal moneyTo = new BigDecimal(to);\n\n BigDecimal moneyMax = new BigDecimal(1000000000000000000L);\n\n int i = 1;\n\n while (money.compareTo(moneyMax) == -1) {\n\n money = money.multiply(new BigDecimal(1.01));\n money = money.setScale(0, BigDecimal.ROUND_DOWN);\n if (money.compareTo(moneyTo) >= 0) {\n break;\n }\n i++;\n }\n\n System.out.println(i);\n }",
"main",
"{\n\n Scanner scan = new Scanner(System.in);\n\n String to = scan.nextLine();\n\n BigDecimal money = new BigDecimal(100);\n\n BigDecimal moneyTo = new BigDecimal(to);\n\n BigDecimal moneyMax = new BigDecimal(1000000000000000000L);\n\n int i = 1;\n\n while (money.compareTo(moneyMax) == -1) {\n\n money = money.multiply(new BigDecimal(1.01));\n money = money.setScale(0, BigDecimal.ROUND_DOWN);\n if (money.compareTo(moneyTo) >= 0) {\n break;\n }\n i++;\n }\n\n System.out.println(i);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String to = scan.nextLine();",
"to",
"scan.nextLine()",
"scan.nextLine",
"scan",
"BigDecimal money = new BigDecimal(100);",
"money",
"new BigDecimal(100)",
"BigDecimal moneyTo = new BigDecimal(to);",
"moneyTo",
"new BigDecimal(to)",
"BigDecimal moneyMax = new BigDecimal(1000000000000000000L);",
"moneyMax",
"new BigDecimal(1000000000000000000L)",
"int i = 1;",
"i",
"1",
"while (money.compareTo(moneyMax) == -1) {\n\n money = money.multiply(new BigDecimal(1.01));\n money = money.setScale(0, BigDecimal.ROUND_DOWN);\n if (money.compareTo(moneyTo) >= 0) {\n break;\n }\n i++;\n }",
"money.compareTo(moneyMax) == -1",
"money.compareTo(moneyMax)",
"money.compareTo",
"money",
"moneyMax",
"-1",
"1",
"{\n\n money = money.multiply(new BigDecimal(1.01));\n money = money.setScale(0, BigDecimal.ROUND_DOWN);\n if (money.compareTo(moneyTo) >= 0) {\n break;\n }\n i++;\n }",
"money = money.multiply(new BigDecimal(1.01))",
"money",
"money.multiply(new BigDecimal(1.01))",
"money.multiply",
"money",
"new BigDecimal(1.01)",
"money = money.setScale(0, BigDecimal.ROUND_DOWN)",
"money",
"money.setScale(0, BigDecimal.ROUND_DOWN)",
"money.setScale",
"money",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"if (money.compareTo(moneyTo) >= 0) {\n break;\n }",
"money.compareTo(moneyTo) >= 0",
"money.compareTo(moneyTo)",
"money.compareTo",
"money",
"moneyTo",
"0",
"{\n break;\n }",
"break;",
"i++",
"i",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n\n String to = scan.nextLine();\n\n BigDecimal money = new BigDecimal(100);\n\n BigDecimal moneyTo = new BigDecimal(to);\n\n BigDecimal moneyMax = new BigDecimal(1000000000000000000L);\n\n int i = 1;\n\n while (money.compareTo(moneyMax) == -1) {\n\n money = money.multiply(new BigDecimal(1.01));\n money = money.setScale(0, BigDecimal.ROUND_DOWN);\n if (money.compareTo(moneyTo) >= 0) {\n break;\n }\n i++;\n }\n\n System.out.println(i);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n\n String to = scan.nextLine();\n\n BigDecimal money = new BigDecimal(100);\n\n BigDecimal moneyTo = new BigDecimal(to);\n\n BigDecimal moneyMax = new BigDecimal(1000000000000000000L);\n\n int i = 1;\n\n while (money.compareTo(moneyMax) == -1) {\n\n money = money.multiply(new BigDecimal(1.01));\n money = money.setScale(0, BigDecimal.ROUND_DOWN);\n if (money.compareTo(moneyTo) >= 0) {\n break;\n }\n i++;\n }\n\n System.out.println(i);\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String to = scan.nextLine();
BigDecimal money = new BigDecimal(100);
BigDecimal moneyTo = new BigDecimal(to);
BigDecimal moneyMax = new BigDecimal(1000000000000000000L);
int i = 1;
while (money.compareTo(moneyMax) == -1) {
money = money.multiply(new BigDecimal(1.01));
money = money.setScale(0, BigDecimal.ROUND_DOWN);
if (money.compareTo(moneyTo) >= 0) {
break;
}
i++;
}
System.out.println(i);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
17,
41,
13,
13,
41,
13,
4,
18,
13,
17,
42,
2,
4,
18,
13,
13,
17,
30,
0,
13,
4,
18,
4,
18,
13,
13,
13,
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
],
[
66,
8
],
[
66,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
13,
20
],
[
20,
21
],
[
20,
22
],
[
13,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
13,
29
],
[
29,
30
],
[
29,
31
],
[
13,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
13,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
39,
44
],
[
38,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
48,
54
],
[
45,
55
],
[
55,
56
],
[
13,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
9,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] |
[
"import java.math.BigInteger;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tBigInteger x = new BigInteger(scanner.next());\n\t\t\tint count = 0;\n\t\t\tBigInteger denominator = BigInteger.valueOf(100L);\n\t\t\tBigInteger balance = denominator;\n\t\t\tBigInteger molecule = BigInteger.valueOf(101L);\n\t\t\twhile (balance.compareTo(x) < 0) {\n\t\t\t\tbalance = balance.multiply(molecule).divide(denominator);\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tBigInteger x = new BigInteger(scanner.next());\n\t\t\tint count = 0;\n\t\t\tBigInteger denominator = BigInteger.valueOf(100L);\n\t\t\tBigInteger balance = denominator;\n\t\t\tBigInteger molecule = BigInteger.valueOf(101L);\n\t\t\twhile (balance.compareTo(x) < 0) {\n\t\t\t\tbalance = balance.multiply(molecule).divide(denominator);\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tBigInteger x = new BigInteger(scanner.next());\n\t\t\tint count = 0;\n\t\t\tBigInteger denominator = BigInteger.valueOf(100L);\n\t\t\tBigInteger balance = denominator;\n\t\t\tBigInteger molecule = BigInteger.valueOf(101L);\n\t\t\twhile (balance.compareTo(x) < 0) {\n\t\t\t\tbalance = balance.multiply(molecule).divide(denominator);\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}",
"main",
"{\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tBigInteger x = new BigInteger(scanner.next());\n\t\t\tint count = 0;\n\t\t\tBigInteger denominator = BigInteger.valueOf(100L);\n\t\t\tBigInteger balance = denominator;\n\t\t\tBigInteger molecule = BigInteger.valueOf(101L);\n\t\t\twhile (balance.compareTo(x) < 0) {\n\t\t\t\tbalance = balance.multiply(molecule).divide(denominator);\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}",
"try (Scanner scanner = new Scanner(System.in)) {\n\t\t\tBigInteger x = new BigInteger(scanner.next());\n\t\t\tint count = 0;\n\t\t\tBigInteger denominator = BigInteger.valueOf(100L);\n\t\t\tBigInteger balance = denominator;\n\t\t\tBigInteger molecule = BigInteger.valueOf(101L);\n\t\t\twhile (balance.compareTo(x) < 0) {\n\t\t\t\tbalance = balance.multiply(molecule).divide(denominator);\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}",
"{\n\t\t\tBigInteger x = new BigInteger(scanner.next());\n\t\t\tint count = 0;\n\t\t\tBigInteger denominator = BigInteger.valueOf(100L);\n\t\t\tBigInteger balance = denominator;\n\t\t\tBigInteger molecule = BigInteger.valueOf(101L);\n\t\t\twhile (balance.compareTo(x) < 0) {\n\t\t\t\tbalance = balance.multiply(molecule).divide(denominator);\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}",
"Scanner scanner = new Scanner(System.in)",
"Scanner scanner = new Scanner(System.in)",
"new Scanner(System.in)",
"BigInteger x = new BigInteger(scanner.next());",
"x",
"new BigInteger(scanner.next())",
"int count = 0;",
"count",
"0",
"BigInteger denominator = BigInteger.valueOf(100L);",
"denominator",
"BigInteger.valueOf(100L)",
"BigInteger.valueOf",
"BigInteger",
"100L",
"BigInteger balance = denominator;",
"balance",
"denominator",
"BigInteger molecule = BigInteger.valueOf(101L);",
"molecule",
"BigInteger.valueOf(101L)",
"BigInteger.valueOf",
"BigInteger",
"101L",
"while (balance.compareTo(x) < 0) {\n\t\t\t\tbalance = balance.multiply(molecule).divide(denominator);\n\t\t\t\tcount++;\n\t\t\t}",
"balance.compareTo(x) < 0",
"balance.compareTo(x)",
"balance.compareTo",
"balance",
"x",
"0",
"{\n\t\t\t\tbalance = balance.multiply(molecule).divide(denominator);\n\t\t\t\tcount++;\n\t\t\t}",
"balance = balance.multiply(molecule).divide(denominator)",
"balance",
"balance.multiply(molecule).divide(denominator)",
"balance.multiply(molecule).divide",
"balance.multiply(molecule)",
"balance.multiply",
"balance",
"molecule",
"denominator",
"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\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tBigInteger x = new BigInteger(scanner.next());\n\t\t\tint count = 0;\n\t\t\tBigInteger denominator = BigInteger.valueOf(100L);\n\t\t\tBigInteger balance = denominator;\n\t\t\tBigInteger molecule = BigInteger.valueOf(101L);\n\t\t\twhile (balance.compareTo(x) < 0) {\n\t\t\t\tbalance = balance.multiply(molecule).divide(denominator);\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tBigInteger x = new BigInteger(scanner.next());\n\t\t\tint count = 0;\n\t\t\tBigInteger denominator = BigInteger.valueOf(100L);\n\t\t\tBigInteger balance = denominator;\n\t\t\tBigInteger molecule = BigInteger.valueOf(101L);\n\t\t\twhile (balance.compareTo(x) < 0) {\n\t\t\t\tbalance = balance.multiply(molecule).divide(denominator);\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n}",
"Main"
] |
import java.math.BigInteger;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner scanner = new Scanner(System.in)) {
BigInteger x = new BigInteger(scanner.next());
int count = 0;
BigInteger denominator = BigInteger.valueOf(100L);
BigInteger balance = denominator;
BigInteger molecule = BigInteger.valueOf(101L);
while (balance.compareTo(x) < 0) {
balance = balance.multiply(molecule).divide(denominator);
count++;
}
System.out.println(count);
}
}
}
|
[
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,
20,
41,
13,
20,
42,
2,
4,
18,
13,
13,
17,
30,
0,
13,
4,
18,
4,
18,
13,
20,
17,
18,
13,
13,
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
],
[
63,
11
],
[
63,
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
],
[
29,
31
],
[
14,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
33,
38
],
[
32,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
42,
48
],
[
42,
49
],
[
49,
50
],
[
49,
51
],
[
39,
52
],
[
52,
53
],
[
14,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
12,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] |
[
"\nimport java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long x = sc.nextLong();\n\n int year = 0;\n BigDecimal money = new BigDecimal(100);\n BigDecimal X = new BigDecimal(x);\n while (X.compareTo(money) > 0) {\n money = money.multiply(new BigDecimal(\"1.01\")).setScale(0, RoundingMode.DOWN);\n year++;\n }\n\n // 出力\n System.out.println(year);\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long x = sc.nextLong();\n\n int year = 0;\n BigDecimal money = new BigDecimal(100);\n BigDecimal X = new BigDecimal(x);\n while (X.compareTo(money) > 0) {\n money = money.multiply(new BigDecimal(\"1.01\")).setScale(0, RoundingMode.DOWN);\n year++;\n }\n\n // 出力\n System.out.println(year);\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long x = sc.nextLong();\n\n int year = 0;\n BigDecimal money = new BigDecimal(100);\n BigDecimal X = new BigDecimal(x);\n while (X.compareTo(money) > 0) {\n money = money.multiply(new BigDecimal(\"1.01\")).setScale(0, RoundingMode.DOWN);\n year++;\n }\n\n // 出力\n System.out.println(year);\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long x = sc.nextLong();\n\n int year = 0;\n BigDecimal money = new BigDecimal(100);\n BigDecimal X = new BigDecimal(x);\n while (X.compareTo(money) > 0) {\n money = money.multiply(new BigDecimal(\"1.01\")).setScale(0, RoundingMode.DOWN);\n year++;\n }\n\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",
"int year = 0;",
"year",
"0",
"BigDecimal money = new BigDecimal(100);",
"money",
"new BigDecimal(100)",
"BigDecimal X = new BigDecimal(x);",
"X",
"new BigDecimal(x)",
"while (X.compareTo(money) > 0) {\n money = money.multiply(new BigDecimal(\"1.01\")).setScale(0, RoundingMode.DOWN);\n year++;\n }",
"X.compareTo(money) > 0",
"X.compareTo(money)",
"X.compareTo",
"X",
"money",
"0",
"{\n money = money.multiply(new BigDecimal(\"1.01\")).setScale(0, RoundingMode.DOWN);\n year++;\n }",
"money = money.multiply(new BigDecimal(\"1.01\")).setScale(0, RoundingMode.DOWN)",
"money",
"money.multiply(new BigDecimal(\"1.01\")).setScale(0, RoundingMode.DOWN)",
"money.multiply(new BigDecimal(\"1.01\")).setScale",
"money.multiply(new BigDecimal(\"1.01\"))",
"money.multiply",
"money",
"new BigDecimal(\"1.01\")",
"0",
"RoundingMode.DOWN",
"RoundingMode",
"RoundingMode.DOWN",
"year++",
"year",
"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 Scanner sc = new Scanner(System.in);\n // 整数の入力\n long x = sc.nextLong();\n\n int year = 0;\n BigDecimal money = new BigDecimal(100);\n BigDecimal X = new BigDecimal(x);\n while (X.compareTo(money) > 0) {\n money = money.multiply(new BigDecimal(\"1.01\")).setScale(0, RoundingMode.DOWN);\n year++;\n }\n\n // 出力\n System.out.println(year);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long x = sc.nextLong();\n\n int year = 0;\n BigDecimal money = new BigDecimal(100);\n BigDecimal X = new BigDecimal(x);\n while (X.compareTo(money) > 0) {\n money = money.multiply(new BigDecimal(\"1.01\")).setScale(0, RoundingMode.DOWN);\n year++;\n }\n\n // 出力\n System.out.println(year);\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
// 整数の入力
long x = sc.nextLong();
int year = 0;
BigDecimal money = new BigDecimal(100);
BigDecimal X = new BigDecimal(x);
while (X.compareTo(money) > 0) {
money = money.multiply(new BigDecimal("1.01")).setScale(0, RoundingMode.DOWN);
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.Scanner;\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 currentDeposit = (long)100; \n\t\tLong yearElapse = (long)0;\n\t\t\n\t\twhile(x > currentDeposit) {\n\t\t\tcurrentDeposit = (long)(currentDeposit * 1.01);\n\t\t\tyearElapse ++;\n\t\t}\n\t\tSystem.out.println(yearElapse);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong x = sc.nextLong();\n\t\tLong currentDeposit = (long)100; \n\t\tLong yearElapse = (long)0;\n\t\t\n\t\twhile(x > currentDeposit) {\n\t\t\tcurrentDeposit = (long)(currentDeposit * 1.01);\n\t\t\tyearElapse ++;\n\t\t}\n\t\tSystem.out.println(yearElapse);\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 currentDeposit = (long)100; \n\t\tLong yearElapse = (long)0;\n\t\t\n\t\twhile(x > currentDeposit) {\n\t\t\tcurrentDeposit = (long)(currentDeposit * 1.01);\n\t\t\tyearElapse ++;\n\t\t}\n\t\tSystem.out.println(yearElapse);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong x = sc.nextLong();\n\t\tLong currentDeposit = (long)100; \n\t\tLong yearElapse = (long)0;\n\t\t\n\t\twhile(x > currentDeposit) {\n\t\t\tcurrentDeposit = (long)(currentDeposit * 1.01);\n\t\t\tyearElapse ++;\n\t\t}\n\t\tSystem.out.println(yearElapse);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"Long currentDeposit = (long)100;",
"currentDeposit",
"(long)100",
"Long yearElapse = (long)0;",
"yearElapse",
"(long)0",
"while(x > currentDeposit) {\n\t\t\tcurrentDeposit = (long)(currentDeposit * 1.01);\n\t\t\tyearElapse ++;\n\t\t}",
"x > currentDeposit",
"x",
"currentDeposit",
"{\n\t\t\tcurrentDeposit = (long)(currentDeposit * 1.01);\n\t\t\tyearElapse ++;\n\t\t}",
"currentDeposit = (long)(currentDeposit * 1.01)",
"currentDeposit",
"(long)(currentDeposit * 1.01)",
"currentDeposit",
"1.01",
"yearElapse ++",
"yearElapse",
"System.out.println(yearElapse)",
"System.out.println",
"System.out",
"System",
"System.out",
"yearElapse",
"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 currentDeposit = (long)100; \n\t\tLong yearElapse = (long)0;\n\t\t\n\t\twhile(x > currentDeposit) {\n\t\t\tcurrentDeposit = (long)(currentDeposit * 1.01);\n\t\t\tyearElapse ++;\n\t\t}\n\t\tSystem.out.println(yearElapse);\n\t}\n}",
"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 currentDeposit = (long)100; \n\t\tLong yearElapse = (long)0;\n\t\t\n\t\twhile(x > currentDeposit) {\n\t\t\tcurrentDeposit = (long)(currentDeposit * 1.01);\n\t\t\tyearElapse ++;\n\t\t}\n\t\tSystem.out.println(yearElapse);\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 currentDeposit = (long)100;
Long yearElapse = (long)0;
while(x > currentDeposit) {
currentDeposit = (long)(currentDeposit * 1.01);
yearElapse ++;
}
System.out.println(yearElapse);
}
}
|
[
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,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
2,
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
],
[
61,
5
],
[
61,
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
],
[
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
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
50,
57
],
[
6,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] |
[
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString x = sc.next();\n long X = Long.parseLong(x);\n long sum = 100;\n for(int i = 1; i <= 4000; i++){\n sum = sum + (long)(sum * 0.01);\n if(sum >= X){\n System.out.println(i);\n break;\n }\n } \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString x = sc.next();\n long X = Long.parseLong(x);\n long sum = 100;\n for(int i = 1; i <= 4000; i++){\n sum = sum + (long)(sum * 0.01);\n if(sum >= X){\n System.out.println(i);\n break;\n }\n } \n }\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString x = sc.next();\n long X = Long.parseLong(x);\n long sum = 100;\n for(int i = 1; i <= 4000; i++){\n sum = sum + (long)(sum * 0.01);\n if(sum >= X){\n System.out.println(i);\n break;\n }\n } \n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString x = sc.next();\n long X = Long.parseLong(x);\n long sum = 100;\n for(int i = 1; i <= 4000; i++){\n sum = sum + (long)(sum * 0.01);\n if(sum >= X){\n System.out.println(i);\n break;\n }\n } \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.parseLong(x);",
"X",
"Long.parseLong(x)",
"Long.parseLong",
"Long",
"x",
"long sum = 100;",
"sum",
"100",
"for(int i = 1; i <= 4000; i++){\n sum = sum + (long)(sum * 0.01);\n if(sum >= X){\n System.out.println(i);\n break;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 4000",
"i",
"4000",
"i++",
"i++",
"i",
"{\n sum = sum + (long)(sum * 0.01);\n if(sum >= X){\n System.out.println(i);\n break;\n }\n }",
"{\n sum = sum + (long)(sum * 0.01);\n if(sum >= X){\n System.out.println(i);\n break;\n }\n }",
"sum = sum + (long)(sum * 0.01)",
"sum",
"sum + (long)(sum * 0.01)",
"sum",
"(long)(sum * 0.01)",
"sum",
"0.01",
"if(sum >= X){\n System.out.println(i);\n break;\n }",
"sum >= X",
"sum",
"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\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString x = sc.next();\n long X = Long.parseLong(x);\n long sum = 100;\n for(int i = 1; i <= 4000; i++){\n sum = sum + (long)(sum * 0.01);\n if(sum >= X){\n System.out.println(i);\n break;\n }\n } \n }\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString x = sc.next();\n long X = Long.parseLong(x);\n long sum = 100;\n for(int i = 1; i <= 4000; i++){\n sum = sum + (long)(sum * 0.01);\n if(sum >= X){\n System.out.println(i);\n break;\n }\n } \n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String x = sc.next();
long X = Long.parseLong(x);
long sum = 100;
for(int i = 1; i <= 4000; i++){
sum = sum + (long)(sum * 0.01);
if(sum >= X){
System.out.println(i);
break;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
56,
11
],
[
56,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
14,
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
],
[
14,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
12,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n long k = Long.parseLong(br.readLine());\n int result = 0;\n double money = 100;\n while (money < k) {\n money = Math.floor(money * 1.01);\n result++;\n }\n System.out.println(result);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n long k = Long.parseLong(br.readLine());\n int result = 0;\n double money = 100;\n while (money < k) {\n money = Math.floor(money * 1.01);\n result++;\n }\n System.out.println(result);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n long k = Long.parseLong(br.readLine());\n int result = 0;\n double money = 100;\n while (money < k) {\n money = Math.floor(money * 1.01);\n result++;\n }\n System.out.println(result);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n long k = Long.parseLong(br.readLine());\n int result = 0;\n double money = 100;\n while (money < k) {\n money = Math.floor(money * 1.01);\n result++;\n }\n System.out.println(result);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"long k = Long.parseLong(br.readLine());",
"k",
"Long.parseLong(br.readLine())",
"Long.parseLong",
"Long",
"br.readLine()",
"br.readLine",
"br",
"int result = 0;",
"result",
"0",
"double money = 100;",
"money",
"100",
"while (money < k) {\n money = Math.floor(money * 1.01);\n result++;\n }",
"money < k",
"money",
"k",
"{\n money = Math.floor(money * 1.01);\n result++;\n }",
"money = Math.floor(money * 1.01)",
"money",
"Math.floor(money * 1.01)",
"Math.floor",
"Math",
"money * 1.01",
"money",
"1.01",
"result++",
"result",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n long k = Long.parseLong(br.readLine());\n int result = 0;\n double money = 100;\n while (money < k) {\n money = Math.floor(money * 1.01);\n result++;\n }\n System.out.println(result);\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n long k = Long.parseLong(br.readLine());\n int result = 0;\n double money = 100;\n while (money < k) {\n money = Math.floor(money * 1.01);\n result++;\n }\n System.out.println(result);\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
long k = Long.parseLong(br.readLine());
int result = 0;
double money = 100;
while (money < k) {
money = Math.floor(money * 1.01);
result++;
}
System.out.println(result);
}
}
|
[
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,
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
],
[
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
],
[
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 f = 100;\n int answer = 0;\n long x = sc.nextLong();\n while(x > f){\n f += f / 100;\n answer++;\n }\n System.out.println(answer); \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 f = 100;\n int answer = 0;\n long x = sc.nextLong();\n while(x > f){\n f += f / 100;\n answer++;\n }\n System.out.println(answer); \n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long f = 100;\n int answer = 0;\n long x = sc.nextLong();\n while(x > f){\n f += f / 100;\n answer++;\n }\n System.out.println(answer); \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long f = 100;\n int answer = 0;\n long x = sc.nextLong();\n while(x > f){\n f += f / 100;\n answer++;\n }\n System.out.println(answer); \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long f = 100;",
"f",
"100",
"int answer = 0;",
"answer",
"0",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"while(x > f){\n f += f / 100;\n answer++;\n }",
"x > f",
"x",
"f",
"{\n f += f / 100;\n answer++;\n }",
"f += f / 100",
"f",
"f / 100",
"f",
"100",
"answer++",
"answer",
"System.out.println(answer)",
"System.out.println",
"System.out",
"System",
"System.out",
"answer",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long f = 100;\n int answer = 0;\n long x = sc.nextLong();\n while(x > f){\n f += f / 100;\n answer++;\n }\n System.out.println(answer); \n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long f = 100;\n int answer = 0;\n long x = sc.nextLong();\n while(x > f){\n f += f / 100;\n answer++;\n }\n System.out.println(answer); \n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long f = 100;
int answer = 0;
long x = sc.nextLong();
while(x > f){
f += f / 100;
answer++;
}
System.out.println(answer);
}
}
|
[
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,
0,
13,
4,
18,
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
],
[
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
],
[
29,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
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 target = sc.nextLong();\n double mon = 100.0d;\n for(int i = 0;;i++){\n if(mon>=target){\n System.out.println(i);\n break;\n }\n mon = mon*1.01d;\n mon = Math.floor(mon);\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 target = sc.nextLong();\n double mon = 100.0d;\n for(int i = 0;;i++){\n if(mon>=target){\n System.out.println(i);\n break;\n }\n mon = mon*1.01d;\n mon = Math.floor(mon);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long target = sc.nextLong();\n double mon = 100.0d;\n for(int i = 0;;i++){\n if(mon>=target){\n System.out.println(i);\n break;\n }\n mon = mon*1.01d;\n mon = Math.floor(mon);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long target = sc.nextLong();\n double mon = 100.0d;\n for(int i = 0;;i++){\n if(mon>=target){\n System.out.println(i);\n break;\n }\n mon = mon*1.01d;\n mon = Math.floor(mon);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long target = sc.nextLong();",
"target",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double mon = 100.0d;",
"mon",
"100.0d",
"for(int i = 0;;i++){\n if(mon>=target){\n System.out.println(i);\n break;\n }\n mon = mon*1.01d;\n mon = Math.floor(mon);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i++",
"i++",
"i",
"{\n if(mon>=target){\n System.out.println(i);\n break;\n }\n mon = mon*1.01d;\n mon = Math.floor(mon);\n }",
"{\n if(mon>=target){\n System.out.println(i);\n break;\n }\n mon = mon*1.01d;\n mon = Math.floor(mon);\n }",
"if(mon>=target){\n System.out.println(i);\n break;\n }",
"mon>=target",
"mon",
"target",
"{\n System.out.println(i);\n break;\n }",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"break;",
"mon = mon*1.01d",
"mon",
"mon*1.01d",
"mon",
"1.01d",
"mon = Math.floor(mon)",
"mon",
"Math.floor(mon)",
"Math.floor",
"Math",
"mon",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long target = sc.nextLong();\n double mon = 100.0d;\n for(int i = 0;;i++){\n if(mon>=target){\n System.out.println(i);\n break;\n }\n mon = mon*1.01d;\n mon = Math.floor(mon);\n }\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long target = sc.nextLong();\n double mon = 100.0d;\n for(int i = 0;;i++){\n if(mon>=target){\n System.out.println(i);\n break;\n }\n mon = mon*1.01d;\n mon = Math.floor(mon);\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long target = sc.nextLong();
double mon = 100.0d;
for(int i = 0;;i++){
if(mon>=target){
System.out.println(i);
break;
}
mon = mon*1.01d;
mon = Math.floor(mon);
}
}
}
|
[
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,
2,
13,
17,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
48,
5
],
[
48,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
27,
37
],
[
37,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"import java.util.*;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n long x = sc.nextLong();\n \n long a = 100;\n long count = 0;\n \n while (a < x) {\n a = a + a * 1 / 100;\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) {\n Scanner sc = new Scanner(System.in);\n \n long x = sc.nextLong();\n \n long a = 100;\n long count = 0;\n \n while (a < x) {\n a = a + a * 1 / 100;\n count++;\n }\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 \n long a = 100;\n long count = 0;\n \n while (a < x) {\n a = a + a * 1 / 100;\n count++;\n }\n \n System.out.println(count);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n long x = sc.nextLong();\n \n long a = 100;\n long count = 0;\n \n while (a < x) {\n a = a + a * 1 / 100;\n count++;\n }\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 a = 100;",
"a",
"100",
"long count = 0;",
"count",
"0",
"while (a < x) {\n a = a + a * 1 / 100;\n count++;\n }",
"a < x",
"a",
"x",
"{\n a = a + a * 1 / 100;\n count++;\n }",
"a = a + a * 1 / 100",
"a",
"a + a * 1 / 100",
"a",
"a * 1 / 100",
"a * 1",
"a",
"1",
"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 \n long x = sc.nextLong();\n \n long a = 100;\n long count = 0;\n \n while (a < x) {\n a = a + a * 1 / 100;\n count++;\n }\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 \n long x = sc.nextLong();\n \n long a = 100;\n long count = 0;\n \n while (a < x) {\n a = a + a * 1 / 100;\n count++;\n }\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 a = 100;
long count = 0;
while (a < x) {
a = a + a * 1 / 100;
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,
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
],
[
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
],
[
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 scanner = new Scanner(System.in);\n double targetPrice = scanner.nextDouble();\n \n int year = 0;\n double result = 100.0;\n \n while(result < targetPrice){\n result = result + Math.floor(result * 0.01);\n year++;\n }\n \n System.out.println(year);\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n double targetPrice = scanner.nextDouble();\n \n int year = 0;\n double result = 100.0;\n \n while(result < targetPrice){\n result = result + Math.floor(result * 0.01);\n year++;\n }\n \n System.out.println(year);\n \n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n double targetPrice = scanner.nextDouble();\n \n int year = 0;\n double result = 100.0;\n \n while(result < targetPrice){\n result = result + Math.floor(result * 0.01);\n year++;\n }\n \n System.out.println(year);\n \n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n double targetPrice = scanner.nextDouble();\n \n int year = 0;\n double result = 100.0;\n \n while(result < targetPrice){\n result = result + Math.floor(result * 0.01);\n year++;\n }\n \n System.out.println(year);\n \n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"double targetPrice = scanner.nextDouble();",
"targetPrice",
"scanner.nextDouble()",
"scanner.nextDouble",
"scanner",
"int year = 0;",
"year",
"0",
"double result = 100.0;",
"result",
"100.0",
"while(result < targetPrice){\n result = result + Math.floor(result * 0.01);\n year++;\n }",
"result < targetPrice",
"result",
"targetPrice",
"{\n result = result + Math.floor(result * 0.01);\n year++;\n }",
"result = result + Math.floor(result * 0.01)",
"result",
"result + Math.floor(result * 0.01)",
"result",
"Math.floor(result * 0.01)",
"Math.floor",
"Math",
"result * 0.01",
"result",
"0.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 Scanner scanner = new Scanner(System.in);\n double targetPrice = scanner.nextDouble();\n \n int year = 0;\n double result = 100.0;\n \n while(result < targetPrice){\n result = result + Math.floor(result * 0.01);\n year++;\n }\n \n System.out.println(year);\n \n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n double targetPrice = scanner.nextDouble();\n \n int year = 0;\n double result = 100.0;\n \n while(result < targetPrice){\n result = result + Math.floor(result * 0.01);\n year++;\n }\n \n System.out.println(year);\n \n }\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
double targetPrice = scanner.nextDouble();
int year = 0;
double result = 100.0;
while(result < targetPrice){
result = result + Math.floor(result * 0.01);
year++;
}
System.out.println(year);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
20,
0,
13,
4,
18,
13,
42,
2,
13,
13,
30,
41,
13,
2,
13,
17,
40,
13,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
29,
35
],
[
35,
36
],
[
29,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Long x, y = (long)100;\n Long n = (long)0;\n Scanner sc = new Scanner(System.in);\n x = sc.nextLong();\n while (y < x){\n Long i = y / (long)100;\n n++;\n y += i;\n //System.out.println(\"kekka\" + y);\n }\n System.out.println(n);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Long x, y = (long)100;\n Long n = (long)0;\n Scanner sc = new Scanner(System.in);\n x = sc.nextLong();\n while (y < x){\n Long i = y / (long)100;\n n++;\n y += i;\n //System.out.println(\"kekka\" + y);\n }\n System.out.println(n);\n }\n}",
"Main",
"public static void main(String[] args) {\n Long x, y = (long)100;\n Long n = (long)0;\n Scanner sc = new Scanner(System.in);\n x = sc.nextLong();\n while (y < x){\n Long i = y / (long)100;\n n++;\n y += i;\n //System.out.println(\"kekka\" + y);\n }\n System.out.println(n);\n }",
"main",
"{\n Long x, y = (long)100;\n Long n = (long)0;\n Scanner sc = new Scanner(System.in);\n x = sc.nextLong();\n while (y < x){\n Long i = y / (long)100;\n n++;\n y += i;\n //System.out.println(\"kekka\" + y);\n }\n System.out.println(n);\n }",
"Long x",
"x",
"y = (long)100;",
"y",
"(long)100",
"Long n = (long)0;",
"n",
"(long)0",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"x = sc.nextLong()",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"while (y < x){\n Long i = y / (long)100;\n n++;\n y += i;\n //System.out.println(\"kekka\" + y);\n }",
"y < x",
"y",
"x",
"{\n Long i = y / (long)100;\n n++;\n y += i;\n //System.out.println(\"kekka\" + y);\n }",
"Long i = y / (long)100;",
"i",
"y / (long)100",
"y",
"(long)100",
"n++",
"n",
"y += i",
"y",
"i",
"System.out.println(n)",
"System.out.println",
"System.out",
"System",
"System.out",
"n",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Long x, y = (long)100;\n Long n = (long)0;\n Scanner sc = new Scanner(System.in);\n x = sc.nextLong();\n while (y < x){\n Long i = y / (long)100;\n n++;\n y += i;\n //System.out.println(\"kekka\" + y);\n }\n System.out.println(n);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Long x, y = (long)100;\n Long n = (long)0;\n Scanner sc = new Scanner(System.in);\n x = sc.nextLong();\n while (y < x){\n Long i = y / (long)100;\n n++;\n y += i;\n //System.out.println(\"kekka\" + y);\n }\n System.out.println(n);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Long x, y = (long)100;
Long n = (long)0;
Scanner sc = new Scanner(System.in);
x = sc.nextLong();
while (y < x){
Long i = y / (long)100;
n++;
y += i;
//System.out.println("kekka" + y);
}
System.out.println(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,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
2,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
29,
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
],
[
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
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
44,
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 sc = new Scanner(System.in);\n long x = sc.nextLong();\n\n long yoki = 100;\n for (int i = 1; i <= 3765; i++){\n yoki = yoki + yoki / 100;\n if (yoki >= x) {\n System.out.println(i);\n return;\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\n long yoki = 100;\n for (int i = 1; i <= 3765; i++){\n yoki = yoki + yoki / 100;\n if (yoki >= x) {\n System.out.println(i);\n return;\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 yoki = 100;\n for (int i = 1; i <= 3765; i++){\n yoki = yoki + yoki / 100;\n if (yoki >= x) {\n System.out.println(i);\n return;\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n\n long yoki = 100;\n for (int i = 1; i <= 3765; i++){\n yoki = yoki + yoki / 100;\n if (yoki >= x) {\n System.out.println(i);\n return;\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 yoki = 100;",
"yoki",
"100",
"for (int i = 1; i <= 3765; i++){\n yoki = yoki + yoki / 100;\n if (yoki >= x) {\n System.out.println(i);\n return;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 3765",
"i",
"3765",
"i++",
"i++",
"i",
"{\n yoki = yoki + yoki / 100;\n if (yoki >= x) {\n System.out.println(i);\n return;\n }\n }",
"{\n yoki = yoki + yoki / 100;\n if (yoki >= x) {\n System.out.println(i);\n return;\n }\n }",
"yoki = yoki + yoki / 100",
"yoki",
"yoki + yoki / 100",
"yoki",
"yoki / 100",
"yoki",
"100",
"if (yoki >= x) {\n System.out.println(i);\n return;\n }",
"yoki >= x",
"yoki",
"x",
"{\n System.out.println(i);\n return;\n }",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"return;",
"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\n long yoki = 100;\n for (int i = 1; i <= 3765; i++){\n yoki = yoki + yoki / 100;\n if (yoki >= x) {\n System.out.println(i);\n return;\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\n long yoki = 100;\n for (int i = 1; i <= 3765; i++){\n yoki = yoki + yoki / 100;\n if (yoki >= x) {\n System.out.println(i);\n return;\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();
long yoki = 100;
for (int i = 1; i <= 3765; i++){
yoki = yoki + yoki / 100;
if (yoki >= x) {
System.out.println(i);
return;
}
}
}
}
|
[
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.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n final long RISHI = s.nextLong();\n // int yokin = 100;\n double d_yokin = 100.0;\n int year = 0;\n\n while (d_yokin < RISHI) {\n d_yokin = Math.floor(d_yokin * 1.01);\n year++;\n }\n System.out.println(year);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n final long RISHI = s.nextLong();\n // int yokin = 100;\n double d_yokin = 100.0;\n int year = 0;\n\n while (d_yokin < RISHI) {\n d_yokin = Math.floor(d_yokin * 1.01);\n year++;\n }\n System.out.println(year);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n final long RISHI = s.nextLong();\n // int yokin = 100;\n double d_yokin = 100.0;\n int year = 0;\n\n while (d_yokin < RISHI) {\n d_yokin = Math.floor(d_yokin * 1.01);\n year++;\n }\n System.out.println(year);\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n final long RISHI = s.nextLong();\n // int yokin = 100;\n double d_yokin = 100.0;\n int year = 0;\n\n while (d_yokin < RISHI) {\n d_yokin = Math.floor(d_yokin * 1.01);\n year++;\n }\n System.out.println(year);\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"final long RISHI = s.nextLong();",
"RISHI",
"s.nextLong()",
"s.nextLong",
"s",
"double d_yokin = 100.0;",
"d_yokin",
"100.0",
"int year = 0;",
"year",
"0",
"while (d_yokin < RISHI) {\n d_yokin = Math.floor(d_yokin * 1.01);\n year++;\n }",
"d_yokin < RISHI",
"d_yokin",
"RISHI",
"{\n d_yokin = Math.floor(d_yokin * 1.01);\n year++;\n }",
"d_yokin = Math.floor(d_yokin * 1.01)",
"d_yokin",
"Math.floor(d_yokin * 1.01)",
"Math.floor",
"Math",
"d_yokin * 1.01",
"d_yokin",
"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 Scanner s = new Scanner(System.in);\n final long RISHI = s.nextLong();\n // int yokin = 100;\n double d_yokin = 100.0;\n int year = 0;\n\n while (d_yokin < RISHI) {\n d_yokin = Math.floor(d_yokin * 1.01);\n year++;\n }\n System.out.println(year);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n final long RISHI = s.nextLong();\n // int yokin = 100;\n double d_yokin = 100.0;\n int year = 0;\n\n while (d_yokin < RISHI) {\n d_yokin = Math.floor(d_yokin * 1.01);\n year++;\n }\n System.out.println(year);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
final long RISHI = s.nextLong();
// int yokin = 100;
double d_yokin = 100.0;
int year = 0;
while (d_yokin < RISHI) {
d_yokin = Math.floor(d_yokin * 1.01);
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,
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
],
[
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
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
27,
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.*;\n\npublic class Main {\n \n public static void main(String args[]){\n \n Scanner sc = new Scanner(System.in);\n \n long x = sc.nextLong();\n long year = 0;\n \n double kingaku = 100;\n \n do{\n \n kingaku = kingaku * 1.01;\n kingaku = Math.floor(kingaku);\n year++;\n }while(kingaku < x);\n \n System.out.println(year);\n \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 \n long x = sc.nextLong();\n long year = 0;\n \n double kingaku = 100;\n \n do{\n \n kingaku = kingaku * 1.01;\n kingaku = Math.floor(kingaku);\n year++;\n }while(kingaku < x);\n \n System.out.println(year);\n \n }\n \n}",
"Main",
"public static void main(String args[]){\n \n Scanner sc = new Scanner(System.in);\n \n long x = sc.nextLong();\n long year = 0;\n \n double kingaku = 100;\n \n do{\n \n kingaku = kingaku * 1.01;\n kingaku = Math.floor(kingaku);\n year++;\n }while(kingaku < x);\n \n System.out.println(year);\n \n }",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n \n long x = sc.nextLong();\n long year = 0;\n \n double kingaku = 100;\n \n do{\n \n kingaku = kingaku * 1.01;\n kingaku = Math.floor(kingaku);\n year++;\n }while(kingaku < x);\n \n System.out.println(year);\n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long year = 0;",
"year",
"0",
"double kingaku = 100;",
"kingaku",
"100",
"do{\n \n kingaku = kingaku * 1.01;\n kingaku = Math.floor(kingaku);\n year++;\n }while(kingaku < x);",
"kingaku < x",
"kingaku",
"x",
"{\n \n kingaku = kingaku * 1.01;\n kingaku = Math.floor(kingaku);\n year++;\n }",
"kingaku = kingaku * 1.01",
"kingaku",
"kingaku * 1.01",
"kingaku",
"1.01",
"kingaku = Math.floor(kingaku)",
"kingaku",
"Math.floor(kingaku)",
"Math.floor",
"Math",
"kingaku",
"year++",
"year",
"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 Scanner sc = new Scanner(System.in);\n \n long x = sc.nextLong();\n long year = 0;\n \n double kingaku = 100;\n \n do{\n \n kingaku = kingaku * 1.01;\n kingaku = Math.floor(kingaku);\n year++;\n }while(kingaku < x);\n \n System.out.println(year);\n \n }\n \n}",
"public class Main {\n \n public static void main(String args[]){\n \n Scanner sc = new Scanner(System.in);\n \n long x = sc.nextLong();\n long year = 0;\n \n double kingaku = 100;\n \n do{\n \n kingaku = kingaku * 1.01;\n kingaku = Math.floor(kingaku);\n year++;\n }while(kingaku < x);\n \n System.out.println(year);\n \n }\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 year = 0;
double kingaku = 100;
do{
kingaku = kingaku * 1.01;
kingaku = Math.floor(kingaku);
year++;
}while(kingaku < x);
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,
20,
41,
13,
20,
41,
13,
17,
42,
2,
4,
18,
13,
13,
17,
30,
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
],
[
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
],
[
11,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
30,
35
],
[
29,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
9,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n BigDecimal X = in.nextBigDecimal();\n BigDecimal yen = new BigDecimal(\"100\");\n BigDecimal rate = new BigDecimal(\"1.01\");\n int count = 0;\n while (yen.compareTo(X)<0){\n yen = new BigDecimal(yen.multiply(rate).toString().split(\"\\\\.\")[0]);\n count++;\n }\n System.out.print(count);\n }\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n BigDecimal X = in.nextBigDecimal();\n BigDecimal yen = new BigDecimal(\"100\");\n BigDecimal rate = new BigDecimal(\"1.01\");\n int count = 0;\n while (yen.compareTo(X)<0){\n yen = new BigDecimal(yen.multiply(rate).toString().split(\"\\\\.\")[0]);\n count++;\n }\n System.out.print(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n BigDecimal X = in.nextBigDecimal();\n BigDecimal yen = new BigDecimal(\"100\");\n BigDecimal rate = new BigDecimal(\"1.01\");\n int count = 0;\n while (yen.compareTo(X)<0){\n yen = new BigDecimal(yen.multiply(rate).toString().split(\"\\\\.\")[0]);\n count++;\n }\n System.out.print(count);\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n BigDecimal X = in.nextBigDecimal();\n BigDecimal yen = new BigDecimal(\"100\");\n BigDecimal rate = new BigDecimal(\"1.01\");\n int count = 0;\n while (yen.compareTo(X)<0){\n yen = new BigDecimal(yen.multiply(rate).toString().split(\"\\\\.\")[0]);\n count++;\n }\n System.out.print(count);\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"BigDecimal X = in.nextBigDecimal();",
"X",
"in.nextBigDecimal()",
"in.nextBigDecimal",
"in",
"BigDecimal yen = new BigDecimal(\"100\");",
"yen",
"new BigDecimal(\"100\")",
"BigDecimal rate = new BigDecimal(\"1.01\");",
"rate",
"new BigDecimal(\"1.01\")",
"int count = 0;",
"count",
"0",
"while (yen.compareTo(X)<0){\n yen = new BigDecimal(yen.multiply(rate).toString().split(\"\\\\.\")[0]);\n count++;\n }",
"yen.compareTo(X)<0",
"yen.compareTo(X)",
"yen.compareTo",
"yen",
"X",
"0",
"{\n yen = new BigDecimal(yen.multiply(rate).toString().split(\"\\\\.\")[0]);\n count++;\n }",
"yen = new BigDecimal(yen.multiply(rate).toString().split(\"\\\\.\")[0])",
"yen",
"new BigDecimal(yen.multiply(rate).toString().split(\"\\\\.\")[0])",
"count++",
"count",
"System.out.print(count)",
"System.out.print",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n BigDecimal X = in.nextBigDecimal();\n BigDecimal yen = new BigDecimal(\"100\");\n BigDecimal rate = new BigDecimal(\"1.01\");\n int count = 0;\n while (yen.compareTo(X)<0){\n yen = new BigDecimal(yen.multiply(rate).toString().split(\"\\\\.\")[0]);\n count++;\n }\n System.out.print(count);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n BigDecimal X = in.nextBigDecimal();\n BigDecimal yen = new BigDecimal(\"100\");\n BigDecimal rate = new BigDecimal(\"1.01\");\n int count = 0;\n while (yen.compareTo(X)<0){\n yen = new BigDecimal(yen.multiply(rate).toString().split(\"\\\\.\")[0]);\n count++;\n }\n System.out.print(count);\n }\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
BigDecimal X = in.nextBigDecimal();
BigDecimal yen = new BigDecimal("100");
BigDecimal rate = new BigDecimal("1.01");
int count = 0;
while (yen.compareTo(X)<0){
yen = new BigDecimal(yen.multiply(rate).toString().split("\\.")[0]);
count++;
}
System.out.print(count);
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.