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,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
30,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n sc.close();\n\n long sum = 100;\n int count = 0;\n do {\n sum = (long) (sum * 1.01);\n count++;\n\n } while (sum < X);\n\n System.out.println(count);\n\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n sc.close();\n\n long sum = 100;\n int count = 0;\n do {\n sum = (long) (sum * 1.01);\n count++;\n\n } while (sum < X);\n\n System.out.println(count);\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n sc.close();\n\n long sum = 100;\n int count = 0;\n do {\n sum = (long) (sum * 1.01);\n count++;\n\n } while (sum < X);\n\n System.out.println(count);\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n sc.close();\n\n long sum = 100;\n int count = 0;\n do {\n sum = (long) (sum * 1.01);\n count++;\n\n } while (sum < X);\n\n System.out.println(count);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"sc.close()",
"sc.close",
"sc",
"long sum = 100;",
"sum",
"100",
"int count = 0;",
"count",
"0",
"do {\n sum = (long) (sum * 1.01);\n count++;\n\n } while (sum < X);",
"sum < X",
"sum",
"X",
"{\n sum = (long) (sum * 1.01);\n count++;\n\n }",
"sum = (long) (sum * 1.01)",
"sum",
"(long) (sum * 1.01)",
"sum",
"1.01",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n sc.close();\n\n long sum = 100;\n int count = 0;\n do {\n sum = (long) (sum * 1.01);\n count++;\n\n } while (sum < X);\n\n System.out.println(count);\n\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n sc.close();\n\n long sum = 100;\n int count = 0;\n do {\n sum = (long) (sum * 1.01);\n count++;\n\n } while (sum < X);\n\n System.out.println(count);\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();
sc.close();
long sum = 100;
int count = 0;
do {
sum = (long) (sum * 1.01);
count++;
} while (sum < X);
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
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,
0,
13,
4,
18,
13,
4,
18,
13,
13,
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
],
[
61,
11
],
[
61,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
14,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
31,
36
],
[
30,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
37,
50
],
[
50,
51
],
[
14,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
12,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] |
[
"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\n\t\tBigDecimal N =new BigDecimal(sc.nextLine());\n\t\tBigDecimal money =new BigDecimal(100);\n\t\tBigDecimal r = new BigDecimal(\"100\");\n\t\tint con = 0;\n\t\twhile (money.compareTo(N) < 0) {\n\t\t\tmoney =money.add(money.divide(r, RoundingMode.FLOOR));\n\t\t\tcon++;\n\t\t}\n\n\t\tSystem.out.println(con);\n\n\t}\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\n\t\tBigDecimal N =new BigDecimal(sc.nextLine());\n\t\tBigDecimal money =new BigDecimal(100);\n\t\tBigDecimal r = new BigDecimal(\"100\");\n\t\tint con = 0;\n\t\twhile (money.compareTo(N) < 0) {\n\t\t\tmoney =money.add(money.divide(r, RoundingMode.FLOOR));\n\t\t\tcon++;\n\t\t}\n\n\t\tSystem.out.println(con);\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tBigDecimal N =new BigDecimal(sc.nextLine());\n\t\tBigDecimal money =new BigDecimal(100);\n\t\tBigDecimal r = new BigDecimal(\"100\");\n\t\tint con = 0;\n\t\twhile (money.compareTo(N) < 0) {\n\t\t\tmoney =money.add(money.divide(r, RoundingMode.FLOOR));\n\t\t\tcon++;\n\t\t}\n\n\t\tSystem.out.println(con);\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tBigDecimal N =new BigDecimal(sc.nextLine());\n\t\tBigDecimal money =new BigDecimal(100);\n\t\tBigDecimal r = new BigDecimal(\"100\");\n\t\tint con = 0;\n\t\twhile (money.compareTo(N) < 0) {\n\t\t\tmoney =money.add(money.divide(r, RoundingMode.FLOOR));\n\t\t\tcon++;\n\t\t}\n\n\t\tSystem.out.println(con);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigDecimal N =new BigDecimal(sc.nextLine());",
"N",
"new BigDecimal(sc.nextLine())",
"BigDecimal money =new BigDecimal(100);",
"money",
"new BigDecimal(100)",
"BigDecimal r = new BigDecimal(\"100\");",
"r",
"new BigDecimal(\"100\")",
"int con = 0;",
"con",
"0",
"while (money.compareTo(N) < 0) {\n\t\t\tmoney =money.add(money.divide(r, RoundingMode.FLOOR));\n\t\t\tcon++;\n\t\t}",
"money.compareTo(N) < 0",
"money.compareTo(N)",
"money.compareTo",
"money",
"N",
"0",
"{\n\t\t\tmoney =money.add(money.divide(r, RoundingMode.FLOOR));\n\t\t\tcon++;\n\t\t}",
"money =money.add(money.divide(r, RoundingMode.FLOOR))",
"money",
"money.add(money.divide(r, RoundingMode.FLOOR))",
"money.add",
"money",
"money.divide(r, RoundingMode.FLOOR)",
"money.divide",
"money",
"r",
"RoundingMode.FLOOR",
"RoundingMode",
"RoundingMode.FLOOR",
"con++",
"con",
"System.out.println(con)",
"System.out.println",
"System.out",
"System",
"System.out",
"con",
"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\tBigDecimal N =new BigDecimal(sc.nextLine());\n\t\tBigDecimal money =new BigDecimal(100);\n\t\tBigDecimal r = new BigDecimal(\"100\");\n\t\tint con = 0;\n\t\twhile (money.compareTo(N) < 0) {\n\t\t\tmoney =money.add(money.divide(r, RoundingMode.FLOOR));\n\t\t\tcon++;\n\t\t}\n\n\t\tSystem.out.println(con);\n\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\tBigDecimal N =new BigDecimal(sc.nextLine());\n\t\tBigDecimal money =new BigDecimal(100);\n\t\tBigDecimal r = new BigDecimal(\"100\");\n\t\tint con = 0;\n\t\twhile (money.compareTo(N) < 0) {\n\t\t\tmoney =money.add(money.divide(r, RoundingMode.FLOOR));\n\t\t\tcon++;\n\t\t}\n\n\t\tSystem.out.println(con);\n\n\t}\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);
BigDecimal N =new BigDecimal(sc.nextLine());
BigDecimal money =new BigDecimal(100);
BigDecimal r = new BigDecimal("100");
int con = 0;
while (money.compareTo(N) < 0) {
money =money.add(money.divide(r, RoundingMode.FLOOR));
con++;
}
System.out.println(con);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
42,
5
],
[
42,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n//\t入力の読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong(); //目標金額\n\t\tlong total = 100L; //預金金額\n\t\tint count = 0; //何年後か\n//\ttotalがxを超えるまで繰り返す\n\t\twhile(total < x) {\n\t\t\ttotal *= 1.01;\n\t\t\tcount++; //何年たったかカウントする\n\t\t}\n\t\tSystem.out.print(count);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n//\t入力の読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong(); //目標金額\n\t\tlong total = 100L; //預金金額\n\t\tint count = 0; //何年後か\n//\ttotalがxを超えるまで繰り返す\n\t\twhile(total < x) {\n\t\t\ttotal *= 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入力の読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong(); //目標金額\n\t\tlong total = 100L; //預金金額\n\t\tint count = 0; //何年後か\n//\ttotalがxを超えるまで繰り返す\n\t\twhile(total < x) {\n\t\t\ttotal *= 1.01;\n\t\t\tcount++; //何年たったかカウントする\n\t\t}\n\t\tSystem.out.print(count);\n\t}",
"main",
"{\n//\t入力の読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong(); //目標金額\n\t\tlong total = 100L; //預金金額\n\t\tint count = 0; //何年後か\n//\ttotalがxを超えるまで繰り返す\n\t\twhile(total < x) {\n\t\t\ttotal *= 1.01;\n\t\t\tcount++; //何年たったかカウントする\n\t\t}\n\t\tSystem.out.print(count);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long total = 100L;",
"total",
"100L",
"int count = 0;",
"count",
"0",
"while(total < x) {\n\t\t\ttotal *= 1.01;\n\t\t\tcount++; //何年たったかカウントする\n\t\t}",
"total < x",
"total",
"x",
"{\n\t\t\ttotal *= 1.01;\n\t\t\tcount++; //何年たったかカウントする\n\t\t}",
"total *= 1.01",
"total",
"1.01",
"count++",
"count",
"System.out.print(count)",
"System.out.print",
"System.out",
"System",
"System.out",
"count",
"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\tlong x = sc.nextLong(); //目標金額\n\t\tlong total = 100L; //預金金額\n\t\tint count = 0; //何年後か\n//\ttotalがxを超えるまで繰り返す\n\t\twhile(total < x) {\n\t\t\ttotal *= 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入力の読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong(); //目標金額\n\t\tlong total = 100L; //預金金額\n\t\tint count = 0; //何年後か\n//\ttotalがxを超えるまで繰り返す\n\t\twhile(total < x) {\n\t\t\ttotal *= 1.01;\n\t\t\tcount++; //何年たったかカウントする\n\t\t}\n\t\tSystem.out.print(count);\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 total = 100L; //預金金額
int count = 0; //何年後か
// totalがxを超えるまで繰り返す
while(total < x) {
total *= 1.01;
count++; //何年たったかカウントする
}
System.out.print(count);
}
}
|
[
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,
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
],
[
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
],
[
39,
41
],
[
36,
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\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong n = Long.parseLong(scanner.nextLine());\n\t\tlong a = 100;\n\t\tlong x = 0;\n\t\twhile(a < n) {\n\n\t\t\ta += a / 100;\n\t\t\tx++;\n\t\t}\n\t\tSystem.out.println(x);\n\n\n\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong n = Long.parseLong(scanner.nextLine());\n\t\tlong a = 100;\n\t\tlong x = 0;\n\t\twhile(a < n) {\n\n\t\t\ta += a / 100;\n\t\t\tx++;\n\t\t}\n\t\tSystem.out.println(x);\n\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong n = Long.parseLong(scanner.nextLine());\n\t\tlong a = 100;\n\t\tlong x = 0;\n\t\twhile(a < n) {\n\n\t\t\ta += a / 100;\n\t\t\tx++;\n\t\t}\n\t\tSystem.out.println(x);\n\n\n\n\t}",
"main",
"{\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong n = Long.parseLong(scanner.nextLine());\n\t\tlong a = 100;\n\t\tlong x = 0;\n\t\twhile(a < n) {\n\n\t\t\ta += a / 100;\n\t\t\tx++;\n\t\t}\n\t\tSystem.out.println(x);\n\n\n\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"long n = Long.parseLong(scanner.nextLine());",
"n",
"Long.parseLong(scanner.nextLine())",
"Long.parseLong",
"Long",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"long a = 100;",
"a",
"100",
"long x = 0;",
"x",
"0",
"while(a < n) {\n\n\t\t\ta += a / 100;\n\t\t\tx++;\n\t\t}",
"a < n",
"a",
"n",
"{\n\n\t\t\ta += a / 100;\n\t\t\tx++;\n\t\t}",
"a += a / 100",
"a",
"a / 100",
"a",
"100",
"x++",
"x",
"System.out.println(x)",
"System.out.println",
"System.out",
"System",
"System.out",
"x",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong n = Long.parseLong(scanner.nextLine());\n\t\tlong a = 100;\n\t\tlong x = 0;\n\t\twhile(a < n) {\n\n\t\t\ta += a / 100;\n\t\t\tx++;\n\t\t}\n\t\tSystem.out.println(x);\n\n\n\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong n = Long.parseLong(scanner.nextLine());\n\t\tlong a = 100;\n\t\tlong x = 0;\n\t\twhile(a < n) {\n\n\t\t\ta += a / 100;\n\t\t\tx++;\n\t\t}\n\t\tSystem.out.println(x);\n\n\n\n\t}\n\n}",
"Main"
] |
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
long n = Long.parseLong(scanner.nextLine());
long a = 100;
long x = 0;
while(a < n) {
a += a / 100;
x++;
}
System.out.println(x);
}
}
|
[
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,
2,
13,
17,
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
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
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\n\tpublic static void main(String[] args) {\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong m = 100L;\n\t\tlong y = 0L;\n\t\twhile (m < x) {\n\t\t\ty++;\n\t\t\tm = m + m / 100;\n\t\t}\n\t\tSystem.out.println(y);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong m = 100L;\n\t\tlong y = 0L;\n\t\twhile (m < x) {\n\t\t\ty++;\n\t\t\tm = m + m / 100;\n\t\t}\n\t\tSystem.out.println(y);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong m = 100L;\n\t\tlong y = 0L;\n\t\twhile (m < x) {\n\t\t\ty++;\n\t\t\tm = m + m / 100;\n\t\t}\n\t\tSystem.out.println(y);\n\t}",
"main",
"{\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong m = 100L;\n\t\tlong y = 0L;\n\t\twhile (m < x) {\n\t\t\ty++;\n\t\t\tm = m + m / 100;\n\t\t}\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",
"long m = 100L;",
"m",
"100L",
"long y = 0L;",
"y",
"0L",
"while (m < x) {\n\t\t\ty++;\n\t\t\tm = m + m / 100;\n\t\t}",
"m < x",
"m",
"x",
"{\n\t\t\ty++;\n\t\t\tm = m + m / 100;\n\t\t}",
"y++",
"y",
"m = m + m / 100",
"m",
"m + m / 100",
"m",
"m / 100",
"m",
"100",
"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\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong m = 100L;\n\t\tlong y = 0L;\n\t\twhile (m < x) {\n\t\t\ty++;\n\t\t\tm = m + m / 100;\n\t\t}\n\t\tSystem.out.println(y);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong m = 100L;\n\t\tlong y = 0L;\n\t\twhile (m < x) {\n\t\t\ty++;\n\t\t\tm = m + m / 100;\n\t\t}\n\t\tSystem.out.println(y);\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 m = 100L;
long y = 0L;
while (m < x) {
y++;
m = m + m / 100;
}
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,
40,
13,
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
],
[
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
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
37,
44
],
[
6,
45
],
[
45,
46
]
] |
[
"import java.util.*;\n\nclass Main {\n public static void main(String args[]) {\n Scanner inp = new Scanner(System.in);\n long k = inp.nextLong();\n long s = 100;\n long c = 0;\n while (true) {\n c++;\n s = ( long ) ( ( ( double )s ) * 1.01);\n if (s >= k) {\n System.out.println(c);\n break;\n }\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String args[]) {\n Scanner inp = new Scanner(System.in);\n long k = inp.nextLong();\n long s = 100;\n long c = 0;\n while (true) {\n c++;\n s = ( long ) ( ( ( double )s ) * 1.01);\n if (s >= k) {\n System.out.println(c);\n break;\n }\n }\n }\n}",
"Main",
"public static void main(String args[]) {\n Scanner inp = new Scanner(System.in);\n long k = inp.nextLong();\n long s = 100;\n long c = 0;\n while (true) {\n c++;\n s = ( long ) ( ( ( double )s ) * 1.01);\n if (s >= k) {\n System.out.println(c);\n break;\n }\n }\n }",
"main",
"{\n Scanner inp = new Scanner(System.in);\n long k = inp.nextLong();\n long s = 100;\n long c = 0;\n while (true) {\n c++;\n s = ( long ) ( ( ( double )s ) * 1.01);\n if (s >= k) {\n System.out.println(c);\n break;\n }\n }\n }",
"Scanner inp = new Scanner(System.in);",
"inp",
"new Scanner(System.in)",
"long k = inp.nextLong();",
"k",
"inp.nextLong()",
"inp.nextLong",
"inp",
"long s = 100;",
"s",
"100",
"long c = 0;",
"c",
"0",
"while (true) {\n c++;\n s = ( long ) ( ( ( double )s ) * 1.01);\n if (s >= k) {\n System.out.println(c);\n break;\n }\n }",
"true",
"{\n c++;\n s = ( long ) ( ( ( double )s ) * 1.01);\n if (s >= k) {\n System.out.println(c);\n break;\n }\n }",
"c++",
"c",
"s = ( long ) ( ( ( double )s ) * 1.01)",
"s",
"( long ) ( ( ( double )s ) * 1.01)",
"( ( double )s )",
"1.01",
"if (s >= k) {\n System.out.println(c);\n break;\n }",
"s >= k",
"s",
"k",
"{\n System.out.println(c);\n break;\n }",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"break;",
"String args[]",
"args"
] |
import java.util.*;
class Main {
public static void main(String args[]) {
Scanner inp = new Scanner(System.in);
long k = inp.nextLong();
long s = 100;
long c = 0;
while (true) {
c++;
s = ( long ) ( ( ( double )s ) * 1.01);
if (s >= k) {
System.out.println(c);
break;
}
}
}
}
|
[
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,
40,
13,
0,
13,
2,
13,
2,
13,
17,
14,
2,
13,
13,
30,
3,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
26,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
26,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong X = stdIn.nextLong();\n\t\tlong ans = 0;\n\t\tlong a = 100;\n\t\tfor(;;){\n\t\t\tans++;\n\t\t\ta = a + a/100;\n\t\t\tif(X <= a){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t\tstdIn.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong X = stdIn.nextLong();\n\t\tlong ans = 0;\n\t\tlong a = 100;\n\t\tfor(;;){\n\t\t\tans++;\n\t\t\ta = a + a/100;\n\t\t\tif(X <= a){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t\tstdIn.close();\n\t}\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 ans = 0;\n\t\tlong a = 100;\n\t\tfor(;;){\n\t\t\tans++;\n\t\t\ta = a + a/100;\n\t\t\tif(X <= a){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t\tstdIn.close();\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong X = stdIn.nextLong();\n\t\tlong ans = 0;\n\t\tlong a = 100;\n\t\tfor(;;){\n\t\t\tans++;\n\t\t\ta = a + a/100;\n\t\t\tif(X <= a){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t\tstdIn.close();\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"long X = stdIn.nextLong();",
"X",
"stdIn.nextLong()",
"stdIn.nextLong",
"stdIn",
"long ans = 0;",
"ans",
"0",
"long a = 100;",
"a",
"100",
"for(;;){\n\t\t\tans++;\n\t\t\ta = a + a/100;\n\t\t\tif(X <= a){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
";",
"{\n\t\t\tans++;\n\t\t\ta = a + a/100;\n\t\t\tif(X <= a){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tans++;\n\t\t\ta = a + a/100;\n\t\t\tif(X <= a){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"ans++",
"ans",
"a = a + a/100",
"a",
"a + a/100",
"a",
"a/100",
"a",
"100",
"if(X <= a){\n\t\t\t\tbreak;\n\t\t\t}",
"X <= a",
"X",
"a",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"stdIn.close()",
"stdIn.close",
"stdIn",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong X = stdIn.nextLong();\n\t\tlong ans = 0;\n\t\tlong a = 100;\n\t\tfor(;;){\n\t\t\tans++;\n\t\t\ta = a + a/100;\n\t\t\tif(X <= a){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t\tstdIn.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong X = stdIn.nextLong();\n\t\tlong ans = 0;\n\t\tlong a = 100;\n\t\tfor(;;){\n\t\t\tans++;\n\t\t\ta = a + a/100;\n\t\t\tif(X <= a){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t\tstdIn.close();\n\t}\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 ans = 0;
long a = 100;
for(;;){
ans++;
a = a + a/100;
if(X <= a){
break;
}
}
System.out.println(ans);
stdIn.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"import java.util.*;\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 = sc.nextLong();\n long money=100;\n \tint s=0;\n \n \n while(money<X){\n \tmoney+=money/100;\n \ts++;\n }\n\t\tSystem.out.println(s);\n\t\t\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tlong X = sc.nextLong();\n long money=100;\n \tint s=0;\n \n \n while(money<X){\n \tmoney+=money/100;\n \ts++;\n }\n\t\tSystem.out.println(s);\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\t\tlong X = sc.nextLong();\n long money=100;\n \tint s=0;\n \n \n while(money<X){\n \tmoney+=money/100;\n \ts++;\n }\n\t\tSystem.out.println(s);\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tlong X = sc.nextLong();\n long money=100;\n \tint s=0;\n \n \n while(money<X){\n \tmoney+=money/100;\n \ts++;\n }\n\t\tSystem.out.println(s);\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 s=0;",
"s",
"0",
"while(money<X){\n \tmoney+=money/100;\n \ts++;\n }",
"money<X",
"money",
"X",
"{\n \tmoney+=money/100;\n \ts++;\n }",
"money+=money/100",
"money",
"money/100",
"money",
"100",
"s++",
"s",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tlong X = sc.nextLong();\n long money=100;\n \tint s=0;\n \n \n while(money<X){\n \tmoney+=money/100;\n \ts++;\n }\n\t\tSystem.out.println(s);\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\t\tlong X = sc.nextLong();\n long money=100;\n \tint s=0;\n \n \n while(money<X){\n \tmoney+=money/100;\n \ts++;\n }\n\t\tSystem.out.println(s);\n\t\t\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// 整数の入力
long X = sc.nextLong();
long money=100;
int s=0;
while(money<X){
money+=money/100;
s++;
}
System.out.println(s);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
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,
4,
18,
13,
17,
23,
13,
6,
13,
41,
13,
41,
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,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
14,
2,
4,
18,
13,
17,
17,
30,
0,
13,
17,
40,
13,
11,
1,
41,
13,
13,
2,
13,
4,
18,
13,
1,
40,
13,
30,
14,
2,
4,
18,
13,
13,
17,
30,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
20,
0,
13,
17,
30,
4,
18,
13,
4,
18,
13,
13,
14,
13,
0,
13,
17,
0,
13,
2,
4,
18,
13,
4,
18,
13,
13,
29,
2,
13,
8,
13,
40,
17,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
232,
8
],
[
232,
9
],
[
9,
10
],
[
9,
11
],
[
232,
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
],
[
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
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
12,
61
],
[
61,
62
],
[
232,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
63,
67
],
[
67,
68
],
[
63,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
69,
75
],
[
75,
76
],
[
63,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
80,
89
],
[
89,
90
],
[
89,
91
],
[
79,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
63,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
103,
104
],
[
63,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
112,
113
],
[
63,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
63,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
63,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
134,
135
],
[
134,
136
],
[
130,
137
],
[
137,
138
],
[
137,
139
],
[
130,
140
],
[
140,
141
],
[
140,
142
],
[
130,
143
],
[
143,
144
],
[
143,
145
],
[
130,
146
],
[
146,
147
],
[
146,
148
],
[
130,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
151,
154
],
[
150,
155
],
[
149,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
156,
160
],
[
160,
161
],
[
130,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
162,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
162,
172
],
[
172,
173
],
[
173,
174
],
[
162,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
178,
181
],
[
177,
182
],
[
176,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
186,
189
],
[
189,
190
],
[
190,
191
],
[
183,
192
],
[
192,
193
],
[
192,
194
],
[
183,
195
],
[
195,
196
],
[
195,
197
],
[
176,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
199,
202
],
[
202,
203
],
[
203,
204
],
[
202,
205
],
[
198,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
208,
210
],
[
130,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
214,
217
],
[
217,
218
],
[
218,
219
],
[
213,
220
],
[
130,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
224,
228
],
[
128,
229
],
[
229,
230
],
[
0,
231
],
[
231,
232
],
[
231,
233
]
] |
[
"import java.io.*;\nimport java.util.*;\n\npublic class Main{\n\tstatic int z = 0;\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong X = sc.nextLong();\n\t\tLong sum = 100L;\n\t\tfor(int i = 1; i <= 3760; i++){\n\t\t\tsum = sum + sum / 100L;\n\t\t\tif(sum >= X){\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}\n\n\n\tstatic class Scanner\n\t{\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}\n\n\t\tpublic String next() throws IOException\n\t\t{\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 {return Integer.parseInt(next());}\n\n\t\tpublic long nextLong() throws IOException {return Long.parseLong(next());}\n\n\t\tpublic String nextLine() throws IOException {return br.readLine();}\n\n\t\tpublic boolean ready() throws IOException {return br.ready();}\n\n\t\tpublic double nextDouble(String x)\n\t\t{\n\n\t\t\tStringBuilder sb = new StringBuilder(\"0\");\n\t\t\tdouble res = 0, f = 1;\n\t\t\tboolean dec = false, neg = false;\n\t\t\tint start = 0;\n\t\t\tif(x.charAt(0) == '-')\n\t\t\t{\n\t\t\t\tneg = true;\n\t\t\t\tstart++;\n\t\t\t}\n\t\t\tfor(int i = start; i < x.length(); i++)\n\t\t\t\tif(x.charAt(i) == '.')\n\t\t\t\t{\n\t\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\t\tdec = true;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\t\tif(dec)\n\t\t\t\t\t\tf *= 10;\n\t\t\t\t}\n\t\t\tres += Long.parseLong(sb.toString()) / f;\n\t\t\treturn res * (neg?-1:1);\n\t\t}\n\n\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tstatic int z = 0;\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong X = sc.nextLong();\n\t\tLong sum = 100L;\n\t\tfor(int i = 1; i <= 3760; i++){\n\t\t\tsum = sum + sum / 100L;\n\t\t\tif(sum >= X){\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}\n\n\n\tstatic class Scanner\n\t{\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}\n\n\t\tpublic String next() throws IOException\n\t\t{\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 {return Integer.parseInt(next());}\n\n\t\tpublic long nextLong() throws IOException {return Long.parseLong(next());}\n\n\t\tpublic String nextLine() throws IOException {return br.readLine();}\n\n\t\tpublic boolean ready() throws IOException {return br.ready();}\n\n\t\tpublic double nextDouble(String x)\n\t\t{\n\n\t\t\tStringBuilder sb = new StringBuilder(\"0\");\n\t\t\tdouble res = 0, f = 1;\n\t\t\tboolean dec = false, neg = false;\n\t\t\tint start = 0;\n\t\t\tif(x.charAt(0) == '-')\n\t\t\t{\n\t\t\t\tneg = true;\n\t\t\t\tstart++;\n\t\t\t}\n\t\t\tfor(int i = start; i < x.length(); i++)\n\t\t\t\tif(x.charAt(i) == '.')\n\t\t\t\t{\n\t\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\t\tdec = true;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\t\tif(dec)\n\t\t\t\t\t\tf *= 10;\n\t\t\t\t}\n\t\t\tres += Long.parseLong(sb.toString()) / f;\n\t\t\treturn res * (neg?-1:1);\n\t\t}\n\n\n\t}\n}",
"Main",
"static int z = 0;",
"z",
"0",
"public static void main(String[] args) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong X = sc.nextLong();\n\t\tLong sum = 100L;\n\t\tfor(int i = 1; i <= 3760; i++){\n\t\t\tsum = sum + sum / 100L;\n\t\t\tif(sum >= X){\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\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 sum = 100L;\n\t\tfor(int i = 1; i <= 3760; i++){\n\t\t\tsum = sum + sum / 100L;\n\t\t\tif(sum >= X){\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\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 sum = 100L;",
"sum",
"100L",
"for(int i = 1; i <= 3760; i++){\n\t\t\tsum = sum + sum / 100L;\n\t\t\tif(sum >= X){\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 3760",
"i",
"3760",
"i++",
"i++",
"i",
"{\n\t\t\tsum = sum + sum / 100L;\n\t\t\tif(sum >= X){\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}",
"{\n\t\t\tsum = sum + sum / 100L;\n\t\t\tif(sum >= X){\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}",
"sum = sum + sum / 100L",
"sum",
"sum + sum / 100L",
"sum",
"sum / 100L",
"sum",
"100L",
"if(sum >= X){\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}",
"sum >= X",
"sum",
"X",
"{\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"System.exit(0)",
"System.exit",
"System",
"0",
"String[] args",
"args",
"static class Scanner\n\t{\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}\n\n\t\tpublic String next() throws IOException\n\t\t{\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 {return Integer.parseInt(next());}\n\n\t\tpublic long nextLong() throws IOException {return Long.parseLong(next());}\n\n\t\tpublic String nextLine() throws IOException {return br.readLine();}\n\n\t\tpublic boolean ready() throws IOException {return br.ready();}\n\n\t\tpublic double nextDouble(String x)\n\t\t{\n\n\t\t\tStringBuilder sb = new StringBuilder(\"0\");\n\t\t\tdouble res = 0, f = 1;\n\t\t\tboolean dec = false, neg = false;\n\t\t\tint start = 0;\n\t\t\tif(x.charAt(0) == '-')\n\t\t\t{\n\t\t\t\tneg = true;\n\t\t\t\tstart++;\n\t\t\t}\n\t\t\tfor(int i = start; i < x.length(); i++)\n\t\t\t\tif(x.charAt(i) == '.')\n\t\t\t\t{\n\t\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\t\tdec = true;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\t\tif(dec)\n\t\t\t\t\t\tf *= 10;\n\t\t\t\t}\n\t\t\tres += Long.parseLong(sb.toString()) / f;\n\t\t\treturn res * (neg?-1:1);\n\t\t}\n\n\n\t}",
"Scanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}",
"Scanner",
"{\tbr = new BufferedReader(new InputStreamReader(s));}",
"br = new BufferedReader(new InputStreamReader(s))",
"br",
"new BufferedReader(new InputStreamReader(s))",
"InputStream s",
"s",
"public String next() throws IOException\n\t\t{\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 {return Integer.parseInt(next());}",
"nextInt",
"{return Integer.parseInt(next());}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() throws IOException {return Long.parseLong(next());}",
"nextLong",
"{return Long.parseLong(next());}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public String nextLine() throws IOException {return br.readLine();}",
"nextLine",
"{return br.readLine();}",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public boolean ready() throws IOException {return br.ready();}",
"ready",
"{return br.ready();}",
"return br.ready();",
"br.ready()",
"br.ready",
"br",
"public double nextDouble(String x)\n\t\t{\n\n\t\t\tStringBuilder sb = new StringBuilder(\"0\");\n\t\t\tdouble res = 0, f = 1;\n\t\t\tboolean dec = false, neg = false;\n\t\t\tint start = 0;\n\t\t\tif(x.charAt(0) == '-')\n\t\t\t{\n\t\t\t\tneg = true;\n\t\t\t\tstart++;\n\t\t\t}\n\t\t\tfor(int i = start; i < x.length(); i++)\n\t\t\t\tif(x.charAt(i) == '.')\n\t\t\t\t{\n\t\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\t\tdec = true;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\t\tif(dec)\n\t\t\t\t\t\tf *= 10;\n\t\t\t\t}\n\t\t\tres += Long.parseLong(sb.toString()) / f;\n\t\t\treturn res * (neg?-1:1);\n\t\t}",
"nextDouble",
"{\n\n\t\t\tStringBuilder sb = new StringBuilder(\"0\");\n\t\t\tdouble res = 0, f = 1;\n\t\t\tboolean dec = false, neg = false;\n\t\t\tint start = 0;\n\t\t\tif(x.charAt(0) == '-')\n\t\t\t{\n\t\t\t\tneg = true;\n\t\t\t\tstart++;\n\t\t\t}\n\t\t\tfor(int i = start; i < x.length(); i++)\n\t\t\t\tif(x.charAt(i) == '.')\n\t\t\t\t{\n\t\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\t\tdec = true;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\t\tif(dec)\n\t\t\t\t\t\tf *= 10;\n\t\t\t\t}\n\t\t\tres += Long.parseLong(sb.toString()) / f;\n\t\t\treturn res * (neg?-1:1);\n\t\t}",
"StringBuilder sb = new StringBuilder(\"0\");",
"sb",
"new StringBuilder(\"0\")",
"double res = 0",
"res",
"0",
"f = 1;",
"f",
"1",
"boolean dec = false",
"dec",
"false",
"neg = false;",
"neg",
"false",
"int start = 0;",
"start",
"0",
"if(x.charAt(0) == '-')\n\t\t\t{\n\t\t\t\tneg = true;\n\t\t\t\tstart++;\n\t\t\t}",
"x.charAt(0) == '-'",
"x.charAt(0)",
"x.charAt",
"x",
"0",
"'-'",
"{\n\t\t\t\tneg = true;\n\t\t\t\tstart++;\n\t\t\t}",
"neg = true",
"neg",
"true",
"start++",
"start",
"for(int i = start; i < x.length(); i++)\n\t\t\t\tif(x.charAt(i) == '.')\n\t\t\t\t{\n\t\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\t\tdec = true;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\t\tif(dec)\n\t\t\t\t\t\tf *= 10;\n\t\t\t\t}",
"int i = start;",
"int i = start;",
"i",
"start",
"i < x.length()",
"i",
"x.length()",
"x.length",
"x",
"i++",
"i++",
"i",
"if(x.charAt(i) == '.')\n\t\t\t\t{\n\t\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\t\tdec = true;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\t\tif(dec)\n\t\t\t\t\t\tf *= 10;\n\t\t\t\t}",
"if(x.charAt(i) == '.')\n\t\t\t\t{\n\t\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\t\tdec = true;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\t\tif(dec)\n\t\t\t\t\t\tf *= 10;\n\t\t\t\t}",
"x.charAt(i) == '.'",
"x.charAt(i)",
"x.charAt",
"x",
"i",
"'.'",
"{\n\t\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\t\tdec = true;\n\t\t\t\t}",
"res = Long.parseLong(sb.toString())",
"res",
"Long.parseLong(sb.toString())",
"Long.parseLong",
"Long",
"sb.toString()",
"sb.toString",
"sb",
"sb = new StringBuilder(\"0\")",
"sb",
"new StringBuilder(\"0\")",
"dec = true",
"dec",
"true",
"{\n\t\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\t\tif(dec)\n\t\t\t\t\t\tf *= 10;\n\t\t\t\t}",
"sb.append(x.charAt(i))",
"sb.append",
"sb",
"x.charAt(i)",
"x.charAt",
"x",
"i",
"if(dec)\n\t\t\t\t\t\tf *= 10;",
"dec",
"f *= 10",
"f",
"10",
"res += Long.parseLong(sb.toString()) / f",
"res",
"Long.parseLong(sb.toString()) / f",
"Long.parseLong(sb.toString())",
"Long.parseLong",
"Long",
"sb.toString()",
"sb.toString",
"sb",
"f",
"return res * (neg?-1:1);",
"res * (neg?-1:1)",
"res",
"(neg?-1:1)",
"neg",
"-1",
"1",
"1",
"String x",
"x",
"public class Main{\n\tstatic int z = 0;\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong X = sc.nextLong();\n\t\tLong sum = 100L;\n\t\tfor(int i = 1; i <= 3760; i++){\n\t\t\tsum = sum + sum / 100L;\n\t\t\tif(sum >= X){\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}\n\n\n\tstatic class Scanner\n\t{\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}\n\n\t\tpublic String next() throws IOException\n\t\t{\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 {return Integer.parseInt(next());}\n\n\t\tpublic long nextLong() throws IOException {return Long.parseLong(next());}\n\n\t\tpublic String nextLine() throws IOException {return br.readLine();}\n\n\t\tpublic boolean ready() throws IOException {return br.ready();}\n\n\t\tpublic double nextDouble(String x)\n\t\t{\n\n\t\t\tStringBuilder sb = new StringBuilder(\"0\");\n\t\t\tdouble res = 0, f = 1;\n\t\t\tboolean dec = false, neg = false;\n\t\t\tint start = 0;\n\t\t\tif(x.charAt(0) == '-')\n\t\t\t{\n\t\t\t\tneg = true;\n\t\t\t\tstart++;\n\t\t\t}\n\t\t\tfor(int i = start; i < x.length(); i++)\n\t\t\t\tif(x.charAt(i) == '.')\n\t\t\t\t{\n\t\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\t\tdec = true;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\t\tif(dec)\n\t\t\t\t\t\tf *= 10;\n\t\t\t\t}\n\t\t\tres += Long.parseLong(sb.toString()) / f;\n\t\t\treturn res * (neg?-1:1);\n\t\t}\n\n\n\t}\n}",
"public class Main{\n\tstatic int z = 0;\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong X = sc.nextLong();\n\t\tLong sum = 100L;\n\t\tfor(int i = 1; i <= 3760; i++){\n\t\t\tsum = sum + sum / 100L;\n\t\t\tif(sum >= X){\n\t\t\t\tSystem.out.println(i);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}\n\n\n\tstatic class Scanner\n\t{\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}\n\n\t\tpublic String next() throws IOException\n\t\t{\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 {return Integer.parseInt(next());}\n\n\t\tpublic long nextLong() throws IOException {return Long.parseLong(next());}\n\n\t\tpublic String nextLine() throws IOException {return br.readLine();}\n\n\t\tpublic boolean ready() throws IOException {return br.ready();}\n\n\t\tpublic double nextDouble(String x)\n\t\t{\n\n\t\t\tStringBuilder sb = new StringBuilder(\"0\");\n\t\t\tdouble res = 0, f = 1;\n\t\t\tboolean dec = false, neg = false;\n\t\t\tint start = 0;\n\t\t\tif(x.charAt(0) == '-')\n\t\t\t{\n\t\t\t\tneg = true;\n\t\t\t\tstart++;\n\t\t\t}\n\t\t\tfor(int i = start; i < x.length(); i++)\n\t\t\t\tif(x.charAt(i) == '.')\n\t\t\t\t{\n\t\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\t\tdec = true;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\t\tif(dec)\n\t\t\t\t\t\tf *= 10;\n\t\t\t\t}\n\t\t\tres += Long.parseLong(sb.toString()) / f;\n\t\t\treturn res * (neg?-1:1);\n\t\t}\n\n\n\t}\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main{
static int z = 0;
public static void main(String[] args) throws IOException {
Scanner sc = new Scanner(System.in);
Long X = sc.nextLong();
Long sum = 100L;
for(int i = 1; i <= 3760; i++){
sum = sum + sum / 100L;
if(sum >= X){
System.out.println(i);
System.exit(0);
}
}
}
static class Scanner
{
StringTokenizer st;
BufferedReader br;
public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}
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 boolean ready() throws IOException {return br.ready();}
public double nextDouble(String x)
{
StringBuilder sb = new StringBuilder("0");
double res = 0, f = 1;
boolean dec = false, neg = false;
int start = 0;
if(x.charAt(0) == '-')
{
neg = true;
start++;
}
for(int i = start; i < x.length(); i++)
if(x.charAt(i) == '.')
{
res = Long.parseLong(sb.toString());
sb = new StringBuilder("0");
dec = true;
}
else
{
sb.append(x.charAt(i));
if(dec)
f *= 10;
}
res += Long.parseLong(sb.toString()) / f;
return res * (neg?-1:1);
}
}
}
|
[
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,
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
],
[
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
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] |
[
"import java.io.*;\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 P = 100;\n int cnt = 0;\n while(P < X){\n P += P/100;\n cnt++;\n }\n System.out.println(cnt);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"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 P = 100;\n int cnt = 0;\n while(P < X){\n P += P/100;\n cnt++;\n }\n System.out.println(cnt);\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 int cnt = 0;\n while(P < X){\n P += P/100;\n cnt++;\n }\n System.out.println(cnt);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long P = 100;\n int cnt = 0;\n while(P < X){\n P += P/100;\n cnt++;\n }\n System.out.println(cnt);\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",
"int cnt = 0;",
"cnt",
"0",
"while(P < X){\n P += P/100;\n cnt++;\n }",
"P < X",
"P",
"X",
"{\n P += P/100;\n cnt++;\n }",
"P += P/100",
"P",
"P/100",
"P",
"100",
"cnt++",
"cnt",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"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 P = 100;\n int cnt = 0;\n while(P < X){\n P += P/100;\n cnt++;\n }\n System.out.println(cnt);\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 P = 100;\n int cnt = 0;\n while(P < X){\n P += P/100;\n cnt++;\n }\n System.out.println(cnt);\n }\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long X = sc.nextLong();
long P = 100;
int cnt = 0;
while(P < X){
P += P/100;
cnt++;
}
System.out.println(cnt);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
29,
0,
13,
2,
13,
17,
40,
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
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
30,
37
],
[
25,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
25,
43
],
[
43,
44
],
[
6,
45
],
[
45,
46
]
] |
[
"import java.util.*;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tlong x = sc.nextLong();\n\t\tlong y = 100;\n\t\tint c = 0;\n\t\t\n\t\twhile(true) {\n\t\t\tif(y >= x) {\n\t\t\t\tSystem.out.println(c);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ty += y / 100;\n\t\t\tc++;\n\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\t\n\t\tlong x = sc.nextLong();\n\t\tlong y = 100;\n\t\tint c = 0;\n\t\t\n\t\twhile(true) {\n\t\t\tif(y >= x) {\n\t\t\t\tSystem.out.println(c);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ty += y / 100;\n\t\t\tc++;\n\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\t\n\t\tlong x = sc.nextLong();\n\t\tlong y = 100;\n\t\tint c = 0;\n\t\t\n\t\twhile(true) {\n\t\t\tif(y >= x) {\n\t\t\t\tSystem.out.println(c);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ty += y / 100;\n\t\t\tc++;\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tlong x = sc.nextLong();\n\t\tlong y = 100;\n\t\tint c = 0;\n\t\t\n\t\twhile(true) {\n\t\t\tif(y >= x) {\n\t\t\t\tSystem.out.println(c);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ty += y / 100;\n\t\t\tc++;\n\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 y = 100;",
"y",
"100",
"int c = 0;",
"c",
"0",
"while(true) {\n\t\t\tif(y >= x) {\n\t\t\t\tSystem.out.println(c);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ty += y / 100;\n\t\t\tc++;\n\t\t}",
"true",
"{\n\t\t\tif(y >= x) {\n\t\t\t\tSystem.out.println(c);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ty += y / 100;\n\t\t\tc++;\n\t\t}",
"if(y >= x) {\n\t\t\t\tSystem.out.println(c);\n\t\t\t\treturn;\n\t\t\t}",
"y >= x",
"y",
"x",
"{\n\t\t\t\tSystem.out.println(c);\n\t\t\t\treturn;\n\t\t\t}",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"return;",
"y += y / 100",
"y",
"y / 100",
"y",
"100",
"c++",
"c",
"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 y = 100;
int c = 0;
while(true) {
if(y >= x) {
System.out.println(c);
return;
}
y += y / 100;
c++;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
13,
30,
0,
13,
17,
40,
13,
14,
2,
13,
13,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long originalMoney = 100;\n long goalMoney = sc.nextLong();\n\n int count = 0;\n boolean flg = true;\n\n while(flg) {\n originalMoney *= 1.01;\n count++;\n if(originalMoney >= goalMoney) {\n flg = false;\n System.out.println(count);\n }\n }\n sc.close();\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 originalMoney = 100;\n long goalMoney = sc.nextLong();\n\n int count = 0;\n boolean flg = true;\n\n while(flg) {\n originalMoney *= 1.01;\n count++;\n if(originalMoney >= goalMoney) {\n flg = false;\n System.out.println(count);\n }\n }\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long originalMoney = 100;\n long goalMoney = sc.nextLong();\n\n int count = 0;\n boolean flg = true;\n\n while(flg) {\n originalMoney *= 1.01;\n count++;\n if(originalMoney >= goalMoney) {\n flg = false;\n System.out.println(count);\n }\n }\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long originalMoney = 100;\n long goalMoney = sc.nextLong();\n\n int count = 0;\n boolean flg = true;\n\n while(flg) {\n originalMoney *= 1.01;\n count++;\n if(originalMoney >= goalMoney) {\n flg = false;\n System.out.println(count);\n }\n }\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long originalMoney = 100;",
"originalMoney",
"100",
"long goalMoney = sc.nextLong();",
"goalMoney",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int count = 0;",
"count",
"0",
"boolean flg = true;",
"flg",
"true",
"while(flg) {\n originalMoney *= 1.01;\n count++;\n if(originalMoney >= goalMoney) {\n flg = false;\n System.out.println(count);\n }\n }",
"flg",
"{\n originalMoney *= 1.01;\n count++;\n if(originalMoney >= goalMoney) {\n flg = false;\n System.out.println(count);\n }\n }",
"originalMoney *= 1.01",
"originalMoney",
"1.01",
"count++",
"count",
"if(originalMoney >= goalMoney) {\n flg = false;\n System.out.println(count);\n }",
"originalMoney >= goalMoney",
"originalMoney",
"goalMoney",
"{\n flg = false;\n System.out.println(count);\n }",
"flg = false",
"flg",
"false",
"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 originalMoney = 100;\n long goalMoney = sc.nextLong();\n\n int count = 0;\n boolean flg = true;\n\n while(flg) {\n originalMoney *= 1.01;\n count++;\n if(originalMoney >= goalMoney) {\n flg = false;\n System.out.println(count);\n }\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 originalMoney = 100;\n long goalMoney = sc.nextLong();\n\n int count = 0;\n boolean flg = true;\n\n while(flg) {\n originalMoney *= 1.01;\n count++;\n if(originalMoney >= goalMoney) {\n flg = false;\n System.out.println(count);\n }\n }\n sc.close();\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long originalMoney = 100;
long goalMoney = sc.nextLong();
int count = 0;
boolean flg = true;
while(flg) {
originalMoney *= 1.01;
count++;
if(originalMoney >= goalMoney) {
flg = false;
System.out.println(count);
}
}
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
0,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
49,
8
],
[
49,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
11,
14
],
[
14,
15
],
[
14,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
32,
38
],
[
38,
39
],
[
11,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
9,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] |
[
"import java.math.BigInteger;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Long K;\n Scanner sc = new Scanner(System.in);\n K = sc.nextLong();\n Long bank = 100L;\n int toshi = 0;\n while( bank < K )\n {\n bank = (long)(bank * 1.01);\n toshi++;\n }\n System.out.println(toshi);\n }\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Long K;\n Scanner sc = new Scanner(System.in);\n K = sc.nextLong();\n Long bank = 100L;\n int toshi = 0;\n while( bank < K )\n {\n bank = (long)(bank * 1.01);\n toshi++;\n }\n System.out.println(toshi);\n }\n}",
"Main",
"public static void main(String[] args) {\n Long K;\n Scanner sc = new Scanner(System.in);\n K = sc.nextLong();\n Long bank = 100L;\n int toshi = 0;\n while( bank < K )\n {\n bank = (long)(bank * 1.01);\n toshi++;\n }\n System.out.println(toshi);\n }",
"main",
"{\n Long K;\n Scanner sc = new Scanner(System.in);\n K = sc.nextLong();\n Long bank = 100L;\n int toshi = 0;\n while( bank < K )\n {\n bank = (long)(bank * 1.01);\n toshi++;\n }\n System.out.println(toshi);\n }",
"Long K;",
"K",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"K = sc.nextLong()",
"K",
"sc.nextLong()",
"sc.nextLong",
"sc",
"Long bank = 100L;",
"bank",
"100L",
"int toshi = 0;",
"toshi",
"0",
"while( bank < K )\n {\n bank = (long)(bank * 1.01);\n toshi++;\n }",
"bank < K",
"bank",
"K",
"{\n bank = (long)(bank * 1.01);\n toshi++;\n }",
"bank = (long)(bank * 1.01)",
"bank",
"(long)(bank * 1.01)",
"bank",
"1.01",
"toshi++",
"toshi",
"System.out.println(toshi)",
"System.out.println",
"System.out",
"System",
"System.out",
"toshi",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Long K;\n Scanner sc = new Scanner(System.in);\n K = sc.nextLong();\n Long bank = 100L;\n int toshi = 0;\n while( bank < K )\n {\n bank = (long)(bank * 1.01);\n toshi++;\n }\n System.out.println(toshi);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Long K;\n Scanner sc = new Scanner(System.in);\n K = sc.nextLong();\n Long bank = 100L;\n int toshi = 0;\n while( bank < K )\n {\n bank = (long)(bank * 1.01);\n toshi++;\n }\n System.out.println(toshi);\n }\n}",
"Main"
] |
import java.math.BigInteger;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Long K;
Scanner sc = new Scanner(System.in);
K = sc.nextLong();
Long bank = 100L;
int toshi = 0;
while( bank < K )
{
bank = (long)(bank * 1.01);
toshi++;
}
System.out.println(toshi);
}
}
|
[
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,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
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
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
23,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] |
[
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner stdIn= new Scanner(System.in);\n long x = stdIn.nextLong();\n long a=100;\n int y=0;\n for(;a<x;y++){\n a+=a/100;\n }\n System.out.println(y);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner stdIn= new Scanner(System.in);\n long x = stdIn.nextLong();\n long a=100;\n int y=0;\n for(;a<x;y++){\n a+=a/100;\n }\n System.out.println(y);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner stdIn= new Scanner(System.in);\n long x = stdIn.nextLong();\n long a=100;\n int y=0;\n for(;a<x;y++){\n a+=a/100;\n }\n System.out.println(y);\n }",
"main",
"{\n Scanner stdIn= new Scanner(System.in);\n long x = stdIn.nextLong();\n long a=100;\n int y=0;\n for(;a<x;y++){\n a+=a/100;\n }\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",
"long a=100;",
"a",
"100",
"int y=0;",
"y",
"0",
"for(;a<x;y++){\n a+=a/100;\n }",
";",
"a<x",
"a",
"x",
"y++",
"y++",
"y",
"{\n a+=a/100;\n }",
"{\n a+=a/100;\n }",
"a+=a/100",
"a",
"a/100",
"a",
"100",
"System.out.println(y)",
"System.out.println",
"System.out",
"System",
"System.out",
"y",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner stdIn= new Scanner(System.in);\n long x = stdIn.nextLong();\n long a=100;\n int y=0;\n for(;a<x;y++){\n a+=a/100;\n }\n System.out.println(y);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner stdIn= new Scanner(System.in);\n long x = stdIn.nextLong();\n long a=100;\n int y=0;\n for(;a<x;y++){\n a+=a/100;\n }\n System.out.println(y);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner stdIn= new Scanner(System.in);
long x = stdIn.nextLong();
long a=100;
int y=0;
for(;a<x;y++){
a+=a/100;
}
System.out.println(y);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
4,
18,
13,
17,
41,
13,
20,
41,
13,
20,
12,
13,
30,
41,
13,
4,
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,
13,
13,
29,
23,
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,
12,
13,
30,
4,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
132,
23
],
[
132,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
132,
30
],
[
30,
31
],
[
30,
32
],
[
132,
33
],
[
33,
34
],
[
33,
35
],
[
132,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
46,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
36,
70
],
[
70,
71
],
[
132,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
79,
80
],
[
132,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
88,
89
],
[
132,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
132,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
132,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
106,
111
],
[
111,
112
],
[
112,
113
],
[
104,
114
],
[
114,
115
],
[
132,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
118,
126
],
[
126,
127
],
[
127,
128
],
[
116,
129
],
[
129,
130
],
[
0,
131
],
[
131,
132
],
[
131,
133
]
] |
[
"import javax.print.DocFlavor;\nimport java.awt.*;\nimport java.io.PrintWriter;\nimport java.lang.reflect.Array;\nimport java.math.BigInteger;\nimport java.util.*;\nimport java.util.List;\n\npublic class Main {\n\n static String br = System.getProperty(\"line.separator\");\n static Scanner sc = new Scanner(System.in);\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) {\n long X = nextLong();\n\n long a = 100;\n for(long i=1; ;i++){\n a = (long)(a*1.01);\n if(a >= X){\n println(i);\n return;\n }\n }\n //println((int)Math.ceil(Math.log(X/100.0)/Math.log(1.01)));\n }\n\n static int nextInt() {\n return Integer.parseInt(next());\n }\n\n static Long nextLong() {\n return Long.parseLong(next());\n }\n\n static String next() {\n return sc.next();\n }\n\n static String nextLine(){\n return sc.nextLine();\n }\n\n static void println(Object o) {\n out.println(o);\n out.flush();\n }\n\n static void print(Object o) {\n PrintWriter out = new PrintWriter(System.out);\n out.print(o);\n out.flush();\n }\n}",
"import javax.print.DocFlavor;",
"DocFlavor",
"javax.print",
"import java.awt.*;",
"awt.*",
"java",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.lang.reflect.Array;",
"Array",
"java.lang.reflect",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.*;",
"util.*",
"java",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n\n static String br = System.getProperty(\"line.separator\");\n static Scanner sc = new Scanner(System.in);\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) {\n long X = nextLong();\n\n long a = 100;\n for(long i=1; ;i++){\n a = (long)(a*1.01);\n if(a >= X){\n println(i);\n return;\n }\n }\n //println((int)Math.ceil(Math.log(X/100.0)/Math.log(1.01)));\n }\n\n static int nextInt() {\n return Integer.parseInt(next());\n }\n\n static Long nextLong() {\n return Long.parseLong(next());\n }\n\n static String next() {\n return sc.next();\n }\n\n static String nextLine(){\n return sc.nextLine();\n }\n\n static void println(Object o) {\n out.println(o);\n out.flush();\n }\n\n static void print(Object o) {\n PrintWriter out = new PrintWriter(System.out);\n out.print(o);\n out.flush();\n }\n}",
"Main",
"static String br = System.getProperty(\"line.separator\");",
"br",
"System.getProperty(\"line.separator\")",
"System.getProperty",
"System",
"\"line.separator\"",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"public static void main(String[] args) {\n long X = nextLong();\n\n long a = 100;\n for(long i=1; ;i++){\n a = (long)(a*1.01);\n if(a >= X){\n println(i);\n return;\n }\n }\n //println((int)Math.ceil(Math.log(X/100.0)/Math.log(1.01)));\n }",
"main",
"{\n long X = nextLong();\n\n long a = 100;\n for(long i=1; ;i++){\n a = (long)(a*1.01);\n if(a >= X){\n println(i);\n return;\n }\n }\n //println((int)Math.ceil(Math.log(X/100.0)/Math.log(1.01)));\n }",
"long X = nextLong();",
"X",
"nextLong()",
"nextLong",
"long a = 100;",
"a",
"100",
"for(long i=1; ;i++){\n a = (long)(a*1.01);\n if(a >= X){\n println(i);\n return;\n }\n }",
"long i=1;",
"long i=1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n a = (long)(a*1.01);\n if(a >= X){\n println(i);\n return;\n }\n }",
"{\n a = (long)(a*1.01);\n if(a >= X){\n println(i);\n return;\n }\n }",
"a = (long)(a*1.01)",
"a",
"(long)(a*1.01)",
"a",
"1.01",
"if(a >= X){\n println(i);\n return;\n }",
"a >= X",
"a",
"X",
"{\n println(i);\n return;\n }",
"println(i)",
"println",
"i",
"return;",
"String[] args",
"args",
"static 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",
"static 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",
"static String next() {\n return sc.next();\n }",
"next",
"{\n return sc.next();\n }",
"return sc.next();",
"sc.next()",
"sc.next",
"sc",
"static String nextLine(){\n return sc.nextLine();\n }",
"nextLine",
"{\n return sc.nextLine();\n }",
"return sc.nextLine();",
"sc.nextLine()",
"sc.nextLine",
"sc",
"static void println(Object o) {\n out.println(o);\n out.flush();\n }",
"println",
"{\n out.println(o);\n out.flush();\n }",
"out.println(o)",
"out.println",
"out",
"o",
"out.flush()",
"out.flush",
"out",
"Object o",
"o",
"static void print(Object o) {\n PrintWriter out = new PrintWriter(System.out);\n out.print(o);\n out.flush();\n }",
"print",
"{\n PrintWriter out = new PrintWriter(System.out);\n out.print(o);\n out.flush();\n }",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"out.print(o)",
"out.print",
"out",
"o",
"out.flush()",
"out.flush",
"out",
"Object o",
"o",
"public class Main {\n\n static String br = System.getProperty(\"line.separator\");\n static Scanner sc = new Scanner(System.in);\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) {\n long X = nextLong();\n\n long a = 100;\n for(long i=1; ;i++){\n a = (long)(a*1.01);\n if(a >= X){\n println(i);\n return;\n }\n }\n //println((int)Math.ceil(Math.log(X/100.0)/Math.log(1.01)));\n }\n\n static int nextInt() {\n return Integer.parseInt(next());\n }\n\n static Long nextLong() {\n return Long.parseLong(next());\n }\n\n static String next() {\n return sc.next();\n }\n\n static String nextLine(){\n return sc.nextLine();\n }\n\n static void println(Object o) {\n out.println(o);\n out.flush();\n }\n\n static void print(Object o) {\n PrintWriter out = new PrintWriter(System.out);\n out.print(o);\n out.flush();\n }\n}",
"public class Main {\n\n static String br = System.getProperty(\"line.separator\");\n static Scanner sc = new Scanner(System.in);\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) {\n long X = nextLong();\n\n long a = 100;\n for(long i=1; ;i++){\n a = (long)(a*1.01);\n if(a >= X){\n println(i);\n return;\n }\n }\n //println((int)Math.ceil(Math.log(X/100.0)/Math.log(1.01)));\n }\n\n static int nextInt() {\n return Integer.parseInt(next());\n }\n\n static Long nextLong() {\n return Long.parseLong(next());\n }\n\n static String next() {\n return sc.next();\n }\n\n static String nextLine(){\n return sc.nextLine();\n }\n\n static void println(Object o) {\n out.println(o);\n out.flush();\n }\n\n static void print(Object o) {\n PrintWriter out = new PrintWriter(System.out);\n out.print(o);\n out.flush();\n }\n}",
"Main"
] |
import javax.print.DocFlavor;
import java.awt.*;
import java.io.PrintWriter;
import java.lang.reflect.Array;
import java.math.BigInteger;
import java.util.*;
import java.util.List;
public class Main {
static String br = System.getProperty("line.separator");
static Scanner sc = new Scanner(System.in);
static PrintWriter out = new PrintWriter(System.out);
public static void main(String[] args) {
long X = nextLong();
long a = 100;
for(long i=1; ;i++){
a = (long)(a*1.01);
if(a >= X){
println(i);
return;
}
}
//println((int)Math.ceil(Math.log(X/100.0)/Math.log(1.01)));
}
static int nextInt() {
return Integer.parseInt(next());
}
static Long nextLong() {
return Long.parseLong(next());
}
static String next() {
return sc.next();
}
static String nextLine(){
return sc.nextLine();
}
static void println(Object o) {
out.println(o);
out.flush();
}
static void print(Object o) {
PrintWriter out = new PrintWriter(System.out);
out.print(o);
out.flush();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
4,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
12,
13,
30,
41,
13,
4,
18,
13,
2,
13,
17,
29,
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
],
[
239,
17
],
[
239,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
20,
32
],
[
32,
33
],
[
32,
34
],
[
20,
35
],
[
35,
36
],
[
35,
37
],
[
20,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
42,
49
],
[
49,
50
],
[
20,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
18,
57
],
[
57,
58
],
[
239,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
71,
73
],
[
65,
74
],
[
74,
75
],
[
63,
76
],
[
76,
77
],
[
239,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
83,
85
],
[
78,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
86,
95
],
[
95,
96
],
[
78,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
100,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
110,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
99,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
78,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
127,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
137,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
126,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
149,
152
],
[
78,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
157,
160
],
[
160,
161
],
[
78,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
166,
169
],
[
169,
170
],
[
78,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
175,
178
],
[
178,
179
],
[
78,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
187,
192
],
[
192,
193
],
[
192,
194
],
[
187,
195
],
[
195,
196
],
[
196,
197
],
[
187,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
199,
203
],
[
203,
204
],
[
182,
205
],
[
205,
206
],
[
180,
207
],
[
207,
208
],
[
78,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
211,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
216,
221
],
[
221,
222
],
[
221,
223
],
[
216,
224
],
[
224,
225
],
[
225,
226
],
[
216,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
228,
232
],
[
232,
233
],
[
211,
234
],
[
234,
235
],
[
209,
236
],
[
236,
237
],
[
0,
238
],
[
238,
239
],
[
238,
240
]
] |
[
"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\tma m = new ma();\n\t\tlong x = sc.nextLong();\n\t\tlong count = 0;\n\t\tlong v = 100;\n\t\twhile(v < x) {\n\t\t\tv = m.next(v);\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n\t\n\tstatic class ma {\n\t\tpublic long value;\n\t\tpublic long next(long x) {\n\t\t\tlong re = (long)Math.floor(x*1.01);\n\t\t\treturn re;\n\t\t}\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tma m = new ma();\n\t\tlong x = sc.nextLong();\n\t\tlong count = 0;\n\t\tlong v = 100;\n\t\twhile(v < x) {\n\t\t\tv = m.next(v);\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n\t\n\tstatic class ma {\n\t\tpublic long value;\n\t\tpublic long next(long x) {\n\t\t\tlong re = (long)Math.floor(x*1.01);\n\t\t\treturn re;\n\t\t}\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tma m = new ma();\n\t\tlong x = sc.nextLong();\n\t\tlong count = 0;\n\t\tlong v = 100;\n\t\twhile(v < x) {\n\t\t\tv = m.next(v);\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tma m = new ma();\n\t\tlong x = sc.nextLong();\n\t\tlong count = 0;\n\t\tlong v = 100;\n\t\twhile(v < x) {\n\t\t\tv = m.next(v);\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"FastScanner sc = new FastScanner(System.in);",
"sc",
"new FastScanner(System.in)",
"ma m = new ma();",
"m",
"new ma()",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long count = 0;",
"count",
"0",
"long v = 100;",
"v",
"100",
"while(v < x) {\n\t\t\tv = m.next(v);\n\t\t\tcount++;\n\t\t}",
"v < x",
"v",
"x",
"{\n\t\t\tv = m.next(v);\n\t\t\tcount++;\n\t\t}",
"v = m.next(v)",
"v",
"m.next(v)",
"m.next",
"m",
"v",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"static class ma {\n\t\tpublic long value;\n\t\tpublic long next(long x) {\n\t\t\tlong re = (long)Math.floor(x*1.01);\n\t\t\treturn re;\n\t\t}\n\t}",
"ma",
"public long value;",
"value",
"public long next(long x) {\n\t\t\tlong re = (long)Math.floor(x*1.01);\n\t\t\treturn re;\n\t\t}",
"next",
"{\n\t\t\tlong re = (long)Math.floor(x*1.01);\n\t\t\treturn re;\n\t\t}",
"long re = (long)Math.floor(x*1.01);",
"re",
"(long)Math.floor(x*1.01)",
"Math.floor",
"Math",
"x*1.01",
"x",
"1.01",
"return re;",
"re",
"long x",
"x",
"static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}",
"FastScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }",
"FastScanner",
"{\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\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 if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }",
"next",
"{\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"IOException e",
"{\n\t throw new RuntimeException(e);\n\t }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }",
"nextLine",
"{\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"IOException e",
"{\n\t throw new RuntimeException(e);\n\t }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t return reader.readLine();\n\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 return Long.parseLong(next());\n\t }",
"nextLong",
"{\n\t return Long.parseLong(next());\n\t }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public int nextInt() {\n\t return Integer.parseInt(next());\n\t }",
"nextInt",
"{\n\t return Integer.parseInt(next());\n\t }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }",
"nextDouble",
"{\n\t return Double.parseDouble(next());\n\t }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }",
"nextIntArray",
"{\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n\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 long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }",
"nextLongArray",
"{\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\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\tma m = new ma();\n\t\tlong x = sc.nextLong();\n\t\tlong count = 0;\n\t\tlong v = 100;\n\t\twhile(v < x) {\n\t\t\tv = m.next(v);\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n\t\n\tstatic class ma {\n\t\tpublic long value;\n\t\tpublic long next(long x) {\n\t\t\tlong re = (long)Math.floor(x*1.01);\n\t\t\treturn re;\n\t\t}\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tma m = new ma();\n\t\tlong x = sc.nextLong();\n\t\tlong count = 0;\n\t\tlong v = 100;\n\t\twhile(v < x) {\n\t\t\tv = m.next(v);\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n\t\n\tstatic class ma {\n\t\tpublic long value;\n\t\tpublic long next(long x) {\n\t\t\tlong re = (long)Math.floor(x*1.01);\n\t\t\treturn re;\n\t\t}\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastScanner sc = new FastScanner(System.in);
ma m = new ma();
long x = sc.nextLong();
long count = 0;
long v = 100;
while(v < x) {
v = m.next(v);
count++;
}
System.out.println(count);
}
static class ma {
public long value;
public long next(long x) {
long re = (long)Math.floor(x*1.01);
return re;
}
}
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,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
42,
5
],
[
42,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong deposit = 100;\n\t\tlong result = 0;\n\t\twhile(x > deposit) {\n\t\t\tdeposit*=1.01;\n\t\t\tresult++;\n\t\t}\n\t\tSystem.out.println(result);\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong deposit = 100;\n\t\tlong result = 0;\n\t\twhile(x > deposit) {\n\t\t\tdeposit*=1.01;\n\t\t\tresult++;\n\t\t}\n\t\tSystem.out.println(result);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong deposit = 100;\n\t\tlong result = 0;\n\t\twhile(x > deposit) {\n\t\t\tdeposit*=1.01;\n\t\t\tresult++;\n\t\t}\n\t\tSystem.out.println(result);\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong deposit = 100;\n\t\tlong result = 0;\n\t\twhile(x > deposit) {\n\t\t\tdeposit*=1.01;\n\t\t\tresult++;\n\t\t}\n\t\tSystem.out.println(result);\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 deposit = 100;",
"deposit",
"100",
"long result = 0;",
"result",
"0",
"while(x > deposit) {\n\t\t\tdeposit*=1.01;\n\t\t\tresult++;\n\t\t}",
"x > deposit",
"x",
"deposit",
"{\n\t\t\tdeposit*=1.01;\n\t\t\tresult++;\n\t\t}",
"deposit*=1.01",
"deposit",
"1.01",
"result++",
"result",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"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 deposit = 100;\n\t\tlong result = 0;\n\t\twhile(x > deposit) {\n\t\t\tdeposit*=1.01;\n\t\t\tresult++;\n\t\t}\n\t\tSystem.out.println(result);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong deposit = 100;\n\t\tlong result = 0;\n\t\twhile(x > deposit) {\n\t\t\tdeposit*=1.01;\n\t\t\tresult++;\n\t\t}\n\t\tSystem.out.println(result);\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
long deposit = 100;
long result = 0;
while(x > deposit) {
deposit*=1.01;
result++;
}
System.out.println(result);
}
}
|
[
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,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
14,
2,
13,
13,
3,
0,
13,
2,
13,
2,
13,
17,
40,
13,
4,
18,
13,
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
],
[
98,
17
],
[
98,
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
],
[
98,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
62,
63
],
[
55,
64
],
[
64,
65
],
[
64,
66
],
[
55,
67
],
[
67,
68
],
[
67,
69
],
[
55,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
72,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
72,
85
],
[
85,
86
],
[
55,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
53,
91
],
[
91,
92
],
[
53,
93
],
[
93,
94
],
[
53,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
] |
[
"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 B solver = new B();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n long x = Long.parseLong(in.next());\n long tmp = 100;\n int ans = 0;\n\n while (true) {\n if (tmp >= x) break;\n tmp = tmp + (long) (tmp * 0.01);\n ans++;\n }\n // 出力\n out.println(ans);\n\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.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 B solver = new B();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n long x = Long.parseLong(in.next());\n long tmp = 100;\n int ans = 0;\n\n while (true) {\n if (tmp >= x) break;\n tmp = tmp + (long) (tmp * 0.01);\n ans++;\n }\n // 出力\n out.println(ans);\n\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 B solver = new B();\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 B solver = new B();\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)",
"B solver = new B();",
"solver",
"new B()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class B {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n long x = Long.parseLong(in.next());\n long tmp = 100;\n int ans = 0;\n\n while (true) {\n if (tmp >= x) break;\n tmp = tmp + (long) (tmp * 0.01);\n ans++;\n }\n // 出力\n out.println(ans);\n\n }\n\n }",
"B",
"public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n long x = Long.parseLong(in.next());\n long tmp = 100;\n int ans = 0;\n\n while (true) {\n if (tmp >= x) break;\n tmp = tmp + (long) (tmp * 0.01);\n ans++;\n }\n // 出力\n out.println(ans);\n\n }",
"solve",
"{\n // 入力\n long x = Long.parseLong(in.next());\n long tmp = 100;\n int ans = 0;\n\n while (true) {\n if (tmp >= x) break;\n tmp = tmp + (long) (tmp * 0.01);\n ans++;\n }\n // 出力\n out.println(ans);\n\n }",
"long x = Long.parseLong(in.next());",
"x",
"Long.parseLong(in.next())",
"Long.parseLong",
"Long",
"in.next()",
"in.next",
"in",
"long tmp = 100;",
"tmp",
"100",
"int ans = 0;",
"ans",
"0",
"while (true) {\n if (tmp >= x) break;\n tmp = tmp + (long) (tmp * 0.01);\n ans++;\n }",
"true",
"{\n if (tmp >= x) break;\n tmp = tmp + (long) (tmp * 0.01);\n ans++;\n }",
"if (tmp >= x) break;",
"tmp >= x",
"tmp",
"x",
"break;",
"tmp = tmp + (long) (tmp * 0.01)",
"tmp",
"tmp + (long) (tmp * 0.01)",
"tmp",
"(long) (tmp * 0.01)",
"tmp",
"0.01",
"ans++",
"ans",
"out.println(ans)",
"out.println",
"out",
"ans",
"int testNumber",
"testNumber",
"Scanner in",
"in",
"PrintWriter out",
"out",
"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 B solver = new B();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n long x = Long.parseLong(in.next());\n long tmp = 100;\n int ans = 0;\n\n while (true) {\n if (tmp >= x) break;\n tmp = tmp + (long) (tmp * 0.01);\n ans++;\n }\n // 出力\n out.println(ans);\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 Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n B solver = new B();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class B {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n long x = Long.parseLong(in.next());\n long tmp = 100;\n int ans = 0;\n\n while (true) {\n if (tmp >= x) break;\n tmp = tmp + (long) (tmp * 0.01);\n ans++;\n }\n // 出力\n out.println(ans);\n\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.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);
B solver = new B();
solver.solve(1, in, out);
out.close();
}
static class B {
public void solve(int testNumber, Scanner in, PrintWriter out) {
// 入力
long x = Long.parseLong(in.next());
long tmp = 100;
int ans = 0;
while (true) {
if (tmp >= x) break;
tmp = tmp + (long) (tmp * 0.01);
ans++;
}
// 出力
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,
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
],
[
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
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] |
[
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long i = 100;\n int k = 0;\n while(i < x){\n i = i + i / 100;\n k++;\n }\n System.out.println(k);\n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long i = 100;\n int k = 0;\n while(i < x){\n i = i + i / 100;\n k++;\n }\n System.out.println(k);\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 long i = 100;\n int k = 0;\n while(i < x){\n i = i + i / 100;\n k++;\n }\n System.out.println(k);\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long i = 100;\n int k = 0;\n while(i < x){\n i = i + i / 100;\n k++;\n }\n System.out.println(k);\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 i = 100;",
"i",
"100",
"int k = 0;",
"k",
"0",
"while(i < x){\n i = i + i / 100;\n k++;\n }",
"i < x",
"i",
"x",
"{\n i = i + i / 100;\n k++;\n }",
"i = i + i / 100",
"i",
"i + i / 100",
"i",
"i / 100",
"i",
"100",
"k++",
"k",
"System.out.println(k)",
"System.out.println",
"System.out",
"System",
"System.out",
"k",
"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 long i = 100;\n int k = 0;\n while(i < x){\n i = i + i / 100;\n k++;\n }\n System.out.println(k);\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 long i = 100;\n int k = 0;\n while(i < x){\n i = i + i / 100;\n k++;\n }\n System.out.println(k);\n sc.close();\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
long i = 100;
int k = 0;
while(i < x){
i = i + i / 100;
k++;
}
System.out.println(k);
sc.close();
}
}
|
[
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,
17,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
4,
18,
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
],
[
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
],
[
73,
23
],
[
73,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
26,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
26,
38
],
[
38,
39
],
[
38,
40
],
[
26,
41
],
[
41,
42
],
[
41,
43
],
[
26,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
48,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
48,
62
],
[
62,
63
],
[
26,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
24,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.math.BigInteger;\nimport java.util.Arrays;\nimport java.util.*;\n\npublic class Main{\n\n //private static Object InputStream;\n\n public static void main(String args[]) throws IOException {\n // Object input;\n Scanner scan=new Scanner(System.in);\n long P=100;\n long X=scan.nextLong();\n int x=0;\n long it=0;\n while (P<X){\n it= (long) Math.ceil(P/100);\n P= P+it;\n x++;\n //System.out.println(P);\n }\n System.out.println(x);\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\n //private static Object InputStream;\n\n public static void main(String args[]) throws IOException {\n // Object input;\n Scanner scan=new Scanner(System.in);\n long P=100;\n long X=scan.nextLong();\n int x=0;\n long it=0;\n while (P<X){\n it= (long) Math.ceil(P/100);\n P= P+it;\n x++;\n //System.out.println(P);\n }\n System.out.println(x);\n }\n\n}",
"Main",
"public static void main(String args[]) throws IOException {\n // Object input;\n Scanner scan=new Scanner(System.in);\n long P=100;\n long X=scan.nextLong();\n int x=0;\n long it=0;\n while (P<X){\n it= (long) Math.ceil(P/100);\n P= P+it;\n x++;\n //System.out.println(P);\n }\n System.out.println(x);\n }",
"main",
"{\n // Object input;\n Scanner scan=new Scanner(System.in);\n long P=100;\n long X=scan.nextLong();\n int x=0;\n long it=0;\n while (P<X){\n it= (long) Math.ceil(P/100);\n P= P+it;\n x++;\n //System.out.println(P);\n }\n System.out.println(x);\n }",
"Scanner scan=new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long P=100;",
"P",
"100",
"long X=scan.nextLong();",
"X",
"scan.nextLong()",
"scan.nextLong",
"scan",
"int x=0;",
"x",
"0",
"long it=0;",
"it",
"0",
"while (P<X){\n it= (long) Math.ceil(P/100);\n P= P+it;\n x++;\n //System.out.println(P);\n }",
"P<X",
"P",
"X",
"{\n it= (long) Math.ceil(P/100);\n P= P+it;\n x++;\n //System.out.println(P);\n }",
"it= (long) Math.ceil(P/100)",
"it",
"(long) Math.ceil(P/100)",
"Math.ceil",
"Math",
"P/100",
"P",
"100",
"P= P+it",
"P",
"P+it",
"P",
"it",
"x++",
"x",
"System.out.println(x)",
"System.out.println",
"System.out",
"System",
"System.out",
"x",
"String args[]",
"args",
"public class Main{\n\n //private static Object InputStream;\n\n public static void main(String args[]) throws IOException {\n // Object input;\n Scanner scan=new Scanner(System.in);\n long P=100;\n long X=scan.nextLong();\n int x=0;\n long it=0;\n while (P<X){\n it= (long) Math.ceil(P/100);\n P= P+it;\n x++;\n //System.out.println(P);\n }\n System.out.println(x);\n }\n\n}",
"public class Main{\n\n //private static Object InputStream;\n\n public static void main(String args[]) throws IOException {\n // Object input;\n Scanner scan=new Scanner(System.in);\n long P=100;\n long X=scan.nextLong();\n int x=0;\n long it=0;\n while (P<X){\n it= (long) Math.ceil(P/100);\n P= P+it;\n x++;\n //System.out.println(P);\n }\n System.out.println(x);\n }\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.*;
public class Main{
//private static Object InputStream;
public static void main(String args[]) throws IOException {
// Object input;
Scanner scan=new Scanner(System.in);
long P=100;
long X=scan.nextLong();
int x=0;
long it=0;
while (P<X){
it= (long) Math.ceil(P/100);
P= P+it;
x++;
//System.out.println(P);
}
System.out.println(x);
}
}
|
[
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,
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
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n int year = 0;\n long money = 100;\n while (money<x){\n year++;\n money +=money/100;\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 sc = new Scanner(System.in);\n long x = sc.nextLong();\n int year = 0;\n long money = 100;\n while (money<x){\n year++;\n money +=money/100;\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 int year = 0;\n long money = 100;\n while (money<x){\n year++;\n money +=money/100;\n }\n System.out.println(year);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n int year = 0;\n long money = 100;\n while (money<x){\n year++;\n money +=money/100;\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",
"long money = 100;",
"money",
"100",
"while (money<x){\n year++;\n money +=money/100;\n }",
"money<x",
"money",
"x",
"{\n year++;\n money +=money/100;\n }",
"year++",
"year",
"money +=money/100",
"money",
"money/100",
"money",
"100",
"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 int year = 0;\n long money = 100;\n while (money<x){\n year++;\n money +=money/100;\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 int year = 0;\n long money = 100;\n while (money<x){\n year++;\n money +=money/100;\n }\n System.out.println(year);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
int year = 0;
long money = 100;
while (money<x){
year++;
money +=money/100;
}
System.out.println(year);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
17,
42,
17,
30,
0,
13,
2,
13,
2,
13,
17,
40,
13,
14,
2,
13,
13,
3,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong money = 100;\n\t\tlong x = sc.nextLong();\n\t\tint cnt = 0;\n\n\t\twhile(true) {\n\t\t\tmoney = money + money / 100;\n\t\t\tcnt++;\n\t\t\tif(money >= x) break;\n\t\t}\n\t\tSystem.out.println(cnt);\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong money = 100;\n\t\tlong x = sc.nextLong();\n\t\tint cnt = 0;\n\n\t\twhile(true) {\n\t\t\tmoney = money + money / 100;\n\t\t\tcnt++;\n\t\t\tif(money >= x) break;\n\t\t}\n\t\tSystem.out.println(cnt);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong money = 100;\n\t\tlong x = sc.nextLong();\n\t\tint cnt = 0;\n\n\t\twhile(true) {\n\t\t\tmoney = money + money / 100;\n\t\t\tcnt++;\n\t\t\tif(money >= x) break;\n\t\t}\n\t\tSystem.out.println(cnt);\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong money = 100;\n\t\tlong x = sc.nextLong();\n\t\tint cnt = 0;\n\n\t\twhile(true) {\n\t\t\tmoney = money + money / 100;\n\t\t\tcnt++;\n\t\t\tif(money >= x) break;\n\t\t}\n\t\tSystem.out.println(cnt);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long money = 100;",
"money",
"100",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int cnt = 0;",
"cnt",
"0",
"while(true) {\n\t\t\tmoney = money + money / 100;\n\t\t\tcnt++;\n\t\t\tif(money >= x) break;\n\t\t}",
"true",
"{\n\t\t\tmoney = money + money / 100;\n\t\t\tcnt++;\n\t\t\tif(money >= x) break;\n\t\t}",
"money = money + money / 100",
"money",
"money + money / 100",
"money",
"money / 100",
"money",
"100",
"cnt++",
"cnt",
"if(money >= x) break;",
"money >= x",
"money",
"x",
"break;",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong money = 100;\n\t\tlong x = sc.nextLong();\n\t\tint cnt = 0;\n\n\t\twhile(true) {\n\t\t\tmoney = money + money / 100;\n\t\t\tcnt++;\n\t\t\tif(money >= x) break;\n\t\t}\n\t\tSystem.out.println(cnt);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong money = 100;\n\t\tlong x = sc.nextLong();\n\t\tint cnt = 0;\n\n\t\twhile(true) {\n\t\t\tmoney = money + money / 100;\n\t\t\tcnt++;\n\t\t\tif(money >= x) break;\n\t\t}\n\t\tSystem.out.println(cnt);\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long money = 100;
long x = sc.nextLong();
int cnt = 0;
while(true) {
money = money + money / 100;
cnt++;
if(money >= x) break;
}
System.out.println(cnt);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
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,
0,
13,
4,
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
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
23,
24
],
[
13,
25
],
[
25,
26
],
[
25,
27
],
[
13,
28
],
[
28,
29
],
[
28,
30
],
[
13,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
35,
47
],
[
47,
48
],
[
13,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
9,
55
],
[
55,
56
]
] |
[
"import java.util.*;\nimport java.io.*;\n\nclass Main{\n public static void main(String args[])throws IOException{\n try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){\n double X = Double.parseDouble(br.readLine());\n double tmp = 100.0;\n int count = 0;\n\n do{\n tmp = tmp * 1.01;\n tmp = Math.floor(tmp);\n count++;\n }while(X > tmp);\n \n System.out.println(count);\n\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String args[])throws IOException{\n try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){\n double X = Double.parseDouble(br.readLine());\n double tmp = 100.0;\n int count = 0;\n\n do{\n tmp = tmp * 1.01;\n tmp = Math.floor(tmp);\n count++;\n }while(X > tmp);\n \n System.out.println(count);\n\n }\n }\n}",
"Main",
"public static void main(String args[])throws IOException{\n try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){\n double X = Double.parseDouble(br.readLine());\n double tmp = 100.0;\n int count = 0;\n\n do{\n tmp = tmp * 1.01;\n tmp = Math.floor(tmp);\n count++;\n }while(X > tmp);\n \n System.out.println(count);\n\n }\n }",
"main",
"{\n try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){\n double X = Double.parseDouble(br.readLine());\n double tmp = 100.0;\n int count = 0;\n\n do{\n tmp = tmp * 1.01;\n tmp = Math.floor(tmp);\n count++;\n }while(X > tmp);\n \n System.out.println(count);\n\n }\n }",
"try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){\n double X = Double.parseDouble(br.readLine());\n double tmp = 100.0;\n int count = 0;\n\n do{\n tmp = tmp * 1.01;\n tmp = Math.floor(tmp);\n count++;\n }while(X > tmp);\n \n System.out.println(count);\n\n }",
"{\n double X = Double.parseDouble(br.readLine());\n double tmp = 100.0;\n int count = 0;\n\n do{\n tmp = tmp * 1.01;\n tmp = Math.floor(tmp);\n count++;\n }while(X > tmp);\n \n System.out.println(count);\n\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"new BufferedReader(new InputStreamReader(System.in))",
"double X = Double.parseDouble(br.readLine());",
"X",
"Double.parseDouble(br.readLine())",
"Double.parseDouble",
"Double",
"br.readLine()",
"br.readLine",
"br",
"double tmp = 100.0;",
"tmp",
"100.0",
"int count = 0;",
"count",
"0",
"do{\n tmp = tmp * 1.01;\n tmp = Math.floor(tmp);\n count++;\n }while(X > tmp);",
"X > tmp",
"X",
"tmp",
"{\n tmp = tmp * 1.01;\n tmp = Math.floor(tmp);\n count++;\n }",
"tmp = tmp * 1.01",
"tmp",
"tmp * 1.01",
"tmp",
"1.01",
"tmp = Math.floor(tmp)",
"tmp",
"Math.floor(tmp)",
"Math.floor",
"Math",
"tmp",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String args[]",
"args"
] |
import java.util.*;
import java.io.*;
class Main{
public static void main(String args[])throws IOException{
try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
double X = Double.parseDouble(br.readLine());
double tmp = 100.0;
int count = 0;
do{
tmp = tmp * 1.01;
tmp = Math.floor(tmp);
count++;
}while(X > tmp);
System.out.println(count);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
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
],
[
51,
5
],
[
51,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
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
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main (String[] args) {\n Scanner s = new Scanner(System.in);\n double x = Double.parseDouble(s.next());\n double money = 100;\n int count = 0;\n \twhile(x > money) {\n money *= 1.01;\n money = Math.floor(money);\n count++;\n }\n\n \tSystem.out.println(count);\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 double x = Double.parseDouble(s.next());\n double money = 100;\n int count = 0;\n \twhile(x > money) {\n money *= 1.01;\n money = Math.floor(money);\n count++;\n }\n\n \tSystem.out.println(count);\n }\n}",
"Main",
"public static void main (String[] args) {\n Scanner s = new Scanner(System.in);\n double x = Double.parseDouble(s.next());\n double money = 100;\n int count = 0;\n \twhile(x > money) {\n money *= 1.01;\n money = Math.floor(money);\n count++;\n }\n\n \tSystem.out.println(count);\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n double x = Double.parseDouble(s.next());\n double money = 100;\n int count = 0;\n \twhile(x > money) {\n money *= 1.01;\n money = Math.floor(money);\n count++;\n }\n\n \tSystem.out.println(count);\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"double x = Double.parseDouble(s.next());",
"x",
"Double.parseDouble(s.next())",
"Double.parseDouble",
"Double",
"s.next()",
"s.next",
"s",
"double money = 100;",
"money",
"100",
"int count = 0;",
"count",
"0",
"while(x > money) {\n money *= 1.01;\n money = Math.floor(money);\n count++;\n }",
"x > money",
"x",
"money",
"{\n money *= 1.01;\n money = Math.floor(money);\n count++;\n }",
"money *= 1.01",
"money",
"1.01",
"money = Math.floor(money)",
"money",
"Math.floor(money)",
"Math.floor",
"Math",
"money",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n public static void main (String[] args) {\n Scanner s = new Scanner(System.in);\n double x = Double.parseDouble(s.next());\n double money = 100;\n int count = 0;\n \twhile(x > money) {\n money *= 1.01;\n money = Math.floor(money);\n count++;\n }\n\n \tSystem.out.println(count);\n }\n}",
"public class Main {\n public static void main (String[] args) {\n Scanner s = new Scanner(System.in);\n double x = Double.parseDouble(s.next());\n double money = 100;\n int count = 0;\n \twhile(x > money) {\n money *= 1.01;\n money = Math.floor(money);\n count++;\n }\n\n \tSystem.out.println(count);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main (String[] args) {
Scanner s = new Scanner(System.in);
double x = Double.parseDouble(s.next());
double money = 100;
int count = 0;
while(x > money) {
money *= 1.01;
money = Math.floor(money);
count++;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
41,
13,
2,
13,
17,
0,
13,
13,
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
],
[
144,
14
],
[
144,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
17,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
36,
42
],
[
42,
43
],
[
42,
44
],
[
36,
45
],
[
45,
46
],
[
17,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
15,
53
],
[
53,
54
],
[
144,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
55,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
55,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
70,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
80,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
69,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
55,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
102,
103
],
[
55,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
111,
112
],
[
55,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
120,
121
],
[
55,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
128,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
124,
141
],
[
141,
142
],
[
0,
143
],
[
143,
144
],
[
143,
145
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n public static void main(String[] args) {\n FastReader fs = new FastReader();\n long x =fs.nextLong();\n long years =0L;\n long principal = 100;\n while(principal <x){\n\n long interest = principal/100;\n principal += interest;\n years++;\n }\n System.out.println(years);\n\n\n }\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n long nextLong()\n {\n return Long.parseLong(next());\n }\n\n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n FastReader fs = new FastReader();\n long x =fs.nextLong();\n long years =0L;\n long principal = 100;\n while(principal <x){\n\n long interest = principal/100;\n principal += interest;\n years++;\n }\n System.out.println(years);\n\n\n }\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n long nextLong()\n {\n return Long.parseLong(next());\n }\n\n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n FastReader fs = new FastReader();\n long x =fs.nextLong();\n long years =0L;\n long principal = 100;\n while(principal <x){\n\n long interest = principal/100;\n principal += interest;\n years++;\n }\n System.out.println(years);\n\n\n }",
"main",
"{\n FastReader fs = new FastReader();\n long x =fs.nextLong();\n long years =0L;\n long principal = 100;\n while(principal <x){\n\n long interest = principal/100;\n principal += interest;\n years++;\n }\n System.out.println(years);\n\n\n }",
"FastReader fs = new FastReader();",
"fs",
"new FastReader()",
"long x =fs.nextLong();",
"x",
"fs.nextLong()",
"fs.nextLong",
"fs",
"long years =0L;",
"years",
"0L",
"long principal = 100;",
"principal",
"100",
"while(principal <x){\n\n long interest = principal/100;\n principal += interest;\n years++;\n }",
"principal <x",
"principal",
"x",
"{\n\n long interest = principal/100;\n principal += interest;\n years++;\n }",
"long interest = principal/100;",
"interest",
"principal/100",
"principal",
"100",
"principal += interest",
"principal",
"interest",
"years++",
"years",
"System.out.println(years)",
"System.out.println",
"System.out",
"System",
"System.out",
"years",
"String[] args",
"args",
"static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n long nextLong()\n {\n return Long.parseLong(next());\n }\n\n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"FastReader",
"{\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"br = new BufferedReader(new\n InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n InputStreamReader(System.in))",
"String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }",
"try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }",
"catch (IOException e)\n {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt()\n {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong()\n {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble()\n {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }",
"catch (IOException e)\n {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n\n public static void main(String[] args) {\n FastReader fs = new FastReader();\n long x =fs.nextLong();\n long years =0L;\n long principal = 100;\n while(principal <x){\n\n long interest = principal/100;\n principal += interest;\n years++;\n }\n System.out.println(years);\n\n\n }\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n long nextLong()\n {\n return Long.parseLong(next());\n }\n\n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n FastReader fs = new FastReader();\n long x =fs.nextLong();\n long years =0L;\n long principal = 100;\n while(principal <x){\n\n long interest = principal/100;\n principal += interest;\n years++;\n }\n System.out.println(years);\n\n\n }\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n long nextLong()\n {\n return Long.parseLong(next());\n }\n\n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastReader fs = new FastReader();
long x =fs.nextLong();
long years =0L;
long principal = 100;
while(principal <x){
long interest = principal/100;
principal += interest;
years++;
}
System.out.println(years);
}
static class FastReader
{
BufferedReader br;
StringTokenizer st;
public FastReader()
{
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next()
{
while (st == null || !st.hasMoreElements())
{
try
{
st = new StringTokenizer(br.readLine());
}
catch (IOException e)
{
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt()
{
return Integer.parseInt(next());
}
long nextLong()
{
return Long.parseLong(next());
}
double nextDouble()
{
return Double.parseDouble(next());
}
String nextLine()
{
String str = "";
try
{
str = br.readLine();
}
catch (IOException e)
{
e.printStackTrace();
}
return str;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
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;\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 value = 100;\n long elapsedYear = 0L;\n\n while(value < x){ \n value = value + value / 100;\n elapsedYear++;\n }\n System.out.println(elapsedYear);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n long x = sc.nextLong();\n\n long value = 100;\n long elapsedYear = 0L;\n\n while(value < x){ \n value = value + value / 100;\n elapsedYear++;\n }\n System.out.println(elapsedYear);\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 value = 100;\n long elapsedYear = 0L;\n\n while(value < x){ \n value = value + value / 100;\n elapsedYear++;\n }\n System.out.println(elapsedYear);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n long x = sc.nextLong();\n\n long value = 100;\n long elapsedYear = 0L;\n\n while(value < x){ \n value = value + value / 100;\n elapsedYear++;\n }\n System.out.println(elapsedYear);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long value = 100;",
"value",
"100",
"long elapsedYear = 0L;",
"elapsedYear",
"0L",
"while(value < x){ \n value = value + value / 100;\n elapsedYear++;\n }",
"value < x",
"value",
"x",
"{ \n value = value + value / 100;\n elapsedYear++;\n }",
"value = value + value / 100",
"value",
"value + value / 100",
"value",
"value / 100",
"value",
"100",
"elapsedYear++",
"elapsedYear",
"System.out.println(elapsedYear)",
"System.out.println",
"System.out",
"System",
"System.out",
"elapsedYear",
"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 value = 100;\n long elapsedYear = 0L;\n\n while(value < x){ \n value = value + value / 100;\n elapsedYear++;\n }\n System.out.println(elapsedYear);\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 value = 100;\n long elapsedYear = 0L;\n\n while(value < x){ \n value = value + value / 100;\n elapsedYear++;\n }\n System.out.println(elapsedYear);\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 value = 100;
long elapsedYear = 0L;
while(value < x){
value = value + value / 100;
elapsedYear++;
}
System.out.println(elapsedYear);
}
}
|
[
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,
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
],
[
49,
8
],
[
49,
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
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
11,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
9,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] |
[
"import java.util.*;\nimport java.io.PrintWriter;\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 tmp=100;\n\t\tint count=0;\n\t\twhile(x>tmp){\n\t\t\ttmp=tmp+(long)(double)tmp/100;\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"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 tmp=100;\n\t\tint count=0;\n\t\twhile(x>tmp){\n\t\t\ttmp=tmp+(long)(double)tmp/100;\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\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 tmp=100;\n\t\tint count=0;\n\t\twhile(x>tmp){\n\t\t\ttmp=tmp+(long)(double)tmp/100;\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong x=sc.nextLong();\n\t\tlong tmp=100;\n\t\tint count=0;\n\t\twhile(x>tmp){\n\t\t\ttmp=tmp+(long)(double)tmp/100;\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x=sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long tmp=100;",
"tmp",
"100",
"int count=0;",
"count",
"0",
"while(x>tmp){\n\t\t\ttmp=tmp+(long)(double)tmp/100;\n\t\t\tcount++;\n\t\t}",
"x>tmp",
"x",
"tmp",
"{\n\t\t\ttmp=tmp+(long)(double)tmp/100;\n\t\t\tcount++;\n\t\t}",
"tmp=tmp+(long)(double)tmp/100",
"tmp",
"tmp+(long)(double)tmp/100",
"tmp",
"(long)(double)tmp/100",
"(long)(double)tmp",
"100",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong x=sc.nextLong();\n\t\tlong tmp=100;\n\t\tint count=0;\n\t\twhile(x>tmp){\n\t\t\ttmp=tmp+(long)(double)tmp/100;\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\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 tmp=100;\n\t\tint count=0;\n\t\twhile(x>tmp){\n\t\t\ttmp=tmp+(long)(double)tmp/100;\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
] |
import java.util.*;
import java.io.PrintWriter;
public class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
long x=sc.nextLong();
long tmp=100;
int count=0;
while(x>tmp){
tmp=tmp+(long)(double)tmp/100;
count++;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
17,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
2,
17,
17,
12,
13,
30,
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,
12,
13,
30,
4,
18,
20,
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
],
[
14,
16
],
[
66,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
66,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
66,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
35,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
29,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
29,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
66,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
57,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] |
[
"import java.util.*;\n\npublic class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = 998244353;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e6 + 1;\n\t\n\t\n\tvoid doIt() {\n\t\tlong X = sc.nextLong();\n\t\tlong num = 100;\n\t\tint cur = 0;\n\t\t\n\t\twhile(X > num) {\n\t\t\tnum *= 1.01;\n\t\t\tcur++;\n\t\t}\n\t\tSystem.out.println(cur);\n\t}\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = 998244353;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e6 + 1;\n\t\n\t\n\tvoid doIt() {\n\t\tlong X = sc.nextLong();\n\t\tlong num = 100;\n\t\tint cur = 0;\n\t\t\n\t\twhile(X > num) {\n\t\t\tnum *= 1.01;\n\t\t\tcur++;\n\t\t}\n\t\tSystem.out.println(cur);\n\t}\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n\n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final int MOD = 998244353;",
"MOD",
"998244353",
"final int MAX = Integer.MAX_VALUE;",
"MAX",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"final long LMAX = Long.MAX_VALUE;",
"LMAX",
"Long.MAX_VALUE",
"Long",
"Long.MAX_VALUE",
"int len = (int)1e6 + 1;",
"len",
"(int)1e6 + 1",
"(int)1e6",
"1",
"void doIt() {\n\t\tlong X = sc.nextLong();\n\t\tlong num = 100;\n\t\tint cur = 0;\n\t\t\n\t\twhile(X > num) {\n\t\t\tnum *= 1.01;\n\t\t\tcur++;\n\t\t}\n\t\tSystem.out.println(cur);\n\t}",
"doIt",
"{\n\t\tlong X = sc.nextLong();\n\t\tlong num = 100;\n\t\tint cur = 0;\n\t\t\n\t\twhile(X > num) {\n\t\t\tnum *= 1.01;\n\t\t\tcur++;\n\t\t}\n\t\tSystem.out.println(cur);\n\t}",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long num = 100;",
"num",
"100",
"int cur = 0;",
"cur",
"0",
"while(X > num) {\n\t\t\tnum *= 1.01;\n\t\t\tcur++;\n\t\t}",
"X > num",
"X",
"num",
"{\n\t\t\tnum *= 1.01;\n\t\t\tcur++;\n\t\t}",
"num *= 1.01",
"num",
"1.01",
"cur++",
"cur",
"System.out.println(cur)",
"System.out.println",
"System.out",
"System",
"System.out",
"cur",
"public static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}",
"main",
"{\n\t\tnew Main().doIt();\n\t}",
"new Main().doIt()",
"new Main().doIt",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = 998244353;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e6 + 1;\n\t\n\t\n\tvoid doIt() {\n\t\tlong X = sc.nextLong();\n\t\tlong num = 100;\n\t\tint cur = 0;\n\t\t\n\t\twhile(X > num) {\n\t\t\tnum *= 1.01;\n\t\t\tcur++;\n\t\t}\n\t\tSystem.out.println(cur);\n\t}\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n\n}",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = 998244353;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e6 + 1;\n\t\n\t\n\tvoid doIt() {\n\t\tlong X = sc.nextLong();\n\t\tlong num = 100;\n\t\tint cur = 0;\n\t\t\n\t\twhile(X > num) {\n\t\t\tnum *= 1.01;\n\t\t\tcur++;\n\t\t}\n\t\tSystem.out.println(cur);\n\t}\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n\n}",
"Main"
] |
import java.util.*;
public class Main {
Scanner sc = new Scanner(System.in);
final int MOD = 998244353;
final int MAX = Integer.MAX_VALUE;
final long LMAX = Long.MAX_VALUE;
int len = (int)1e6 + 1;
void doIt() {
long X = sc.nextLong();
long num = 100;
int cur = 0;
while(X > num) {
num *= 1.01;
cur++;
}
System.out.println(cur);
}
public static void main(String[] args) {
new Main().doIt();
}
}
|
[
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,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
58,
17
],
[
58,
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
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
20,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
18,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] |
[
"import java.util.*;\nimport java.util.ArrayDeque;\nimport java.util.Queue;\nimport java.math.RoundingMode;\nimport java.math.BigDecimal;\n \n \n \npublic class Main{\n\t public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong count = 0;\n\t\tlong money = 100;\n\t\twhile(money<x) {\n\t\t\tmoney=money+money/100;\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.ArrayDeque;",
"ArrayDeque",
"java.util",
"import java.util.Queue;",
"Queue",
"java.util",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"public class Main{\n\t public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong count = 0;\n\t\tlong money = 100;\n\t\twhile(money<x) {\n\t\t\tmoney=money+money/100;\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\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 count = 0;\n\t\tlong money = 100;\n\t\twhile(money<x) {\n\t\t\tmoney=money+money/100;\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong count = 0;\n\t\tlong money = 100;\n\t\twhile(money<x) {\n\t\t\tmoney=money+money/100;\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long count = 0;",
"count",
"0",
"long money = 100;",
"money",
"100",
"while(money<x) {\n\t\t\tmoney=money+money/100;\n\t\t\tcount++;\n\t\t}",
"money<x",
"money",
"x",
"{\n\t\t\tmoney=money+money/100;\n\t\t\tcount++;\n\t\t}",
"money=money+money/100",
"money",
"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\t public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong count = 0;\n\t\tlong money = 100;\n\t\twhile(money<x) {\n\t\t\tmoney=money+money/100;\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t }\n}",
"public class Main{\n\t public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong count = 0;\n\t\tlong money = 100;\n\t\twhile(money<x) {\n\t\t\tmoney=money+money/100;\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\t }\n}",
"Main"
] |
import java.util.*;
import java.util.ArrayDeque;
import java.util.Queue;
import java.math.RoundingMode;
import java.math.BigDecimal;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
long count = 0;
long money = 100;
while(money<x) {
money=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,
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.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long X = sc.nextLong();\n int count = 0;\n double money = 100;\n while (money < X) {\n money += money/100;\n money = Math.floor(money);\n count++;\n }\n System.out.println(count);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long X = sc.nextLong();\n int count = 0;\n double money = 100;\n while (money < X) {\n money += money/100;\n money = Math.floor(money);\n count++;\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long X = sc.nextLong();\n int count = 0;\n double money = 100;\n while (money < X) {\n money += money/100;\n money = Math.floor(money);\n count++;\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n long X = sc.nextLong();\n int count = 0;\n double money = 100;\n while (money < X) {\n money += money/100;\n money = Math.floor(money);\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",
"int count = 0;",
"count",
"0",
"double money = 100;",
"money",
"100",
"while (money < X) {\n money += money/100;\n money = Math.floor(money);\n count++;\n }",
"money < X",
"money",
"X",
"{\n money += money/100;\n money = Math.floor(money);\n count++;\n }",
"money += money/100",
"money",
"money/100",
"money",
"100",
"money = Math.floor(money)",
"money",
"Math.floor(money)",
"Math.floor",
"Math",
"money",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long X = sc.nextLong();\n int count = 0;\n double money = 100;\n while (money < X) {\n money += money/100;\n money = Math.floor(money);\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\n long X = sc.nextLong();\n int count = 0;\n double money = 100;\n while (money < X) {\n money += money/100;\n money = Math.floor(money);\n count++;\n }\n System.out.println(count);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long X = sc.nextLong();
int count = 0;
double money = 100;
while (money < X) {
money += money/100;
money = Math.floor(money);
count++;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
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,
40,
13,
0,
13,
2,
13,
2,
13,
17,
4,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
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
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
11,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
11,
49
],
[
49,
50
],
[
50,
51
],
[
49,
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\tpublic static void main(String[] args) throws Exception{\n\t\tint num = 998244353;\n\n\t\t// TODO Auto-generated method stub\n \t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n \t\tPrintWriter out = new PrintWriter(System.out);\n \t\tlong t = Long.parseLong(bf.readLine());\n \t\tlong j = 100;\n \t\tint count = 0;\n \t\twhile(j < t){\n \t\t\tcount++;\n \t\t\tj = j+j/100;\n \t\t}\n \t\tout.println(count);\n \t\tout.close();\n \t}\n}\n \t\n \n//StringJoiner sj = new StringJoiner(\" \"); \n//sj.add(strings)\n//sj.toString() gives string of those stuff w spaces or whatever that sequence is\n\n \t\t\n \t\t\n \t\t\n \t\t\n\t\n\n",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\t\tint num = 998244353;\n\n\t\t// TODO Auto-generated method stub\n \t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n \t\tPrintWriter out = new PrintWriter(System.out);\n \t\tlong t = Long.parseLong(bf.readLine());\n \t\tlong j = 100;\n \t\tint count = 0;\n \t\twhile(j < t){\n \t\t\tcount++;\n \t\t\tj = j+j/100;\n \t\t}\n \t\tout.println(count);\n \t\tout.close();\n \t}\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\t\tint num = 998244353;\n\n\t\t// TODO Auto-generated method stub\n \t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n \t\tPrintWriter out = new PrintWriter(System.out);\n \t\tlong t = Long.parseLong(bf.readLine());\n \t\tlong j = 100;\n \t\tint count = 0;\n \t\twhile(j < t){\n \t\t\tcount++;\n \t\t\tj = j+j/100;\n \t\t}\n \t\tout.println(count);\n \t\tout.close();\n \t}",
"main",
"{\n\t\tint num = 998244353;\n\n\t\t// TODO Auto-generated method stub\n \t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n \t\tPrintWriter out = new PrintWriter(System.out);\n \t\tlong t = Long.parseLong(bf.readLine());\n \t\tlong j = 100;\n \t\tint count = 0;\n \t\twhile(j < t){\n \t\t\tcount++;\n \t\t\tj = j+j/100;\n \t\t}\n \t\tout.println(count);\n \t\tout.close();\n \t}",
"int num = 998244353;",
"num",
"998244353",
"BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));",
"bf",
"new BufferedReader(new InputStreamReader(System.in))",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"long t = Long.parseLong(bf.readLine());",
"t",
"Long.parseLong(bf.readLine())",
"Long.parseLong",
"Long",
"bf.readLine()",
"bf.readLine",
"bf",
"long j = 100;",
"j",
"100",
"int count = 0;",
"count",
"0",
"while(j < t){\n \t\t\tcount++;\n \t\t\tj = j+j/100;\n \t\t}",
"j < t",
"j",
"t",
"{\n \t\t\tcount++;\n \t\t\tj = j+j/100;\n \t\t}",
"count++",
"count",
"j = j+j/100",
"j",
"j+j/100",
"j",
"j/100",
"j",
"100",
"out.println(count)",
"out.println",
"out",
"count",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\t\tint num = 998244353;\n\n\t\t// TODO Auto-generated method stub\n \t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n \t\tPrintWriter out = new PrintWriter(System.out);\n \t\tlong t = Long.parseLong(bf.readLine());\n \t\tlong j = 100;\n \t\tint count = 0;\n \t\twhile(j < t){\n \t\t\tcount++;\n \t\t\tj = j+j/100;\n \t\t}\n \t\tout.println(count);\n \t\tout.close();\n \t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\t\tint num = 998244353;\n\n\t\t// TODO Auto-generated method stub\n \t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n \t\tPrintWriter out = new PrintWriter(System.out);\n \t\tlong t = Long.parseLong(bf.readLine());\n \t\tlong j = 100;\n \t\tint count = 0;\n \t\twhile(j < t){\n \t\t\tcount++;\n \t\t\tj = j+j/100;\n \t\t}\n \t\tout.println(count);\n \t\tout.close();\n \t}\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws Exception{
int num = 998244353;
// TODO Auto-generated method stub
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
PrintWriter out = new PrintWriter(System.out);
long t = Long.parseLong(bf.readLine());
long j = 100;
int count = 0;
while(j < t){
count++;
j = j+j/100;
}
out.println(count);
out.close();
}
}
//StringJoiner sj = new StringJoiner(" ");
//sj.add(strings)
//sj.toString() gives string of those stuff w spaces or whatever that sequence is
|
[
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,
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
],
[
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
],
[
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
],
[
36,
38
],
[
30,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tsc.close();\n\t\tlong f = 100L;\n\t\tlong ans = 0L;\n\t\twhile (f < x) {\n\t\t\tlong p = (long)(f * 0.01);\n\t\t\tf += p;\n\t\t\tans++;\n\t\t}\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\tsc.close();\n\t\tlong f = 100L;\n\t\tlong ans = 0L;\n\t\twhile (f < x) {\n\t\t\tlong p = (long)(f * 0.01);\n\t\t\tf += p;\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\tsc.close();\n\t\tlong f = 100L;\n\t\tlong ans = 0L;\n\t\twhile (f < x) {\n\t\t\tlong p = (long)(f * 0.01);\n\t\t\tf += p;\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\tsc.close();\n\t\tlong f = 100L;\n\t\tlong ans = 0L;\n\t\twhile (f < x) {\n\t\t\tlong p = (long)(f * 0.01);\n\t\t\tf += p;\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",
"sc.close()",
"sc.close",
"sc",
"long f = 100L;",
"f",
"100L",
"long ans = 0L;",
"ans",
"0L",
"while (f < x) {\n\t\t\tlong p = (long)(f * 0.01);\n\t\t\tf += p;\n\t\t\tans++;\n\t\t}",
"f < x",
"f",
"x",
"{\n\t\t\tlong p = (long)(f * 0.01);\n\t\t\tf += p;\n\t\t\tans++;\n\t\t}",
"long p = (long)(f * 0.01);",
"p",
"(long)(f * 0.01)",
"f",
"0.01",
"f += p",
"f",
"p",
"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\tsc.close();\n\t\tlong f = 100L;\n\t\tlong ans = 0L;\n\t\twhile (f < x) {\n\t\t\tlong p = (long)(f * 0.01);\n\t\t\tf += p;\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\tsc.close();\n\t\tlong f = 100L;\n\t\tlong ans = 0L;\n\t\twhile (f < x) {\n\t\t\tlong p = (long)(f * 0.01);\n\t\t\tf += p;\n\t\t\tans++;\n\t\t}\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();
sc.close();
long f = 100L;
long ans = 0L;
while (f < x) {
long p = (long)(f * 0.01);
f += p;
ans++;
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
19,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
0,
13,
20,
17,
0,
13,
17,
0,
13,
20,
12,
13,
30,
38,
30,
4,
13,
30,
4,
18,
33,
12,
13,
30,
14,
2,
13,
17,
4,
18,
13,
12,
13,
30,
14,
2,
13,
18,
13,
13,
29,
18,
13,
40,
13,
41,
13,
4,
18,
13,
42,
2,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
17,
0,
13,
17,
29,
18,
13,
40,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
193,
20
],
[
193,
21
],
[
21,
22
],
[
193,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
25,
34
],
[
34,
35
],
[
35,
36
],
[
23,
37
],
[
37,
38
],
[
193,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
42,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
49,
58
],
[
58,
59
],
[
58,
60
],
[
49,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
49,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
193,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
77,
81
],
[
81,
82
],
[
77,
83
],
[
83,
84
],
[
77,
85
],
[
85,
86
],
[
85,
87
],
[
77,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
95
],
[
95,
96
],
[
95,
97
],
[
90,
98
],
[
98,
99
],
[
98,
100
],
[
77,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
104,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
77,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
119,
120
],
[
120,
121
],
[
77,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
128,
130
],
[
125,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
124,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
124,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
124,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
152,
155
],
[
152,
156
],
[
124,
157
],
[
157,
158
],
[
157,
159
],
[
124,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
77,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
169,
172
],
[
172,
173
],
[
77,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
178,
181
],
[
181,
182
],
[
77,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
187,
190
],
[
190,
191
],
[
0,
192
],
[
192,
193
],
[
192,
194
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\n\npublic class Main {\n\n private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n long yokin = 100;\n long X = sc.nextLong();\n\n long nen = 0;\n\n\n while(yokin<X){\n yokin*=1.01;\n nen++;\n }\n\n\n System.out.println(nen);\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n\n private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n long yokin = 100;\n long X = sc.nextLong();\n\n long nen = 0;\n\n\n while(yokin<X){\n yokin*=1.01;\n nen++;\n }\n\n\n System.out.println(nen);\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}",
"Main",
"private static Scanner sc;",
"sc",
"public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }",
"main",
"{\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }",
"Main instance = new Main();",
"instance",
"new Main()",
"sc = instance.new Scanner()",
"sc",
"instance.new Scanner()",
"instance",
"instance",
"instance.solve()",
"instance.solve",
"instance",
"String[] args",
"args",
"private void solve() {\n try {\n long yokin = 100;\n long X = sc.nextLong();\n\n long nen = 0;\n\n\n while(yokin<X){\n yokin*=1.01;\n nen++;\n }\n\n\n System.out.println(nen);\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"solve",
"{\n try {\n long yokin = 100;\n long X = sc.nextLong();\n\n long nen = 0;\n\n\n while(yokin<X){\n yokin*=1.01;\n nen++;\n }\n\n\n System.out.println(nen);\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"try {\n long yokin = 100;\n long X = sc.nextLong();\n\n long nen = 0;\n\n\n while(yokin<X){\n yokin*=1.01;\n nen++;\n }\n\n\n System.out.println(nen);\n\n } catch (Exception e) {\n e.printStackTrace();\n }",
"catch (Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n long yokin = 100;\n long X = sc.nextLong();\n\n long nen = 0;\n\n\n while(yokin<X){\n yokin*=1.01;\n nen++;\n }\n\n\n System.out.println(nen);\n\n }",
"long yokin = 100;",
"yokin",
"100",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long nen = 0;",
"nen",
"0",
"while(yokin<X){\n yokin*=1.01;\n nen++;\n }",
"yokin<X",
"yokin",
"X",
"{\n yokin*=1.01;\n nen++;\n }",
"yokin*=1.01",
"yokin",
"1.01",
"nen++",
"nen",
"System.out.println(nen)",
"System.out.println",
"System.out",
"System",
"System.out",
"nen",
"private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }",
"Scanner",
"String[] s;",
"s",
"int i;",
"i",
"BufferedReader br;",
"br",
"String regex = \" \";",
"regex",
"\" \"",
"public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"Scanner",
"{\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"s = new String[0]",
"s",
"new String[0]",
"0",
"i = 0",
"i",
"0",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"@Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }",
"finalize",
"{\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }",
"try {\n super.finalize();\n } finally {\n destruction();\n }",
"{\n destruction();\n }",
"destruction()",
"destruction",
"{\n super.finalize();\n }",
"super.finalize()",
"super.finalize",
"super",
"private void destruction() throws IOException {\n if (br != null) br.close();\n }",
"destruction",
"{\n if (br != null) br.close();\n }",
"if (br != null) br.close();",
"br != null",
"br",
"null",
"br.close()",
"br.close",
"br",
"public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }",
"next",
"{\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }",
"if (i < s.length) return s[i++];",
"i < s.length",
"i",
"s.length",
"s",
"s.length",
"return s[i++];",
"s[i++]",
"s",
"i++",
"i",
"String st = br.readLine();",
"st",
"br.readLine()",
"br.readLine",
"br",
"while (st == \"\") st = br.readLine();",
"st == \"\"",
"st",
"\"\"",
"st = br.readLine()",
"st",
"br.readLine()",
"br.readLine",
"br",
"s = st.split(regex, 0)",
"s",
"st.split(regex, 0)",
"st.split",
"st",
"regex",
"0",
"i = 0",
"i",
"0",
"return s[i++];",
"s[i++]",
"s",
"i++",
"i",
"public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public Long nextLong() throws NumberFormatException, IOException {\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 Double nextDouble() throws NumberFormatException, IOException {\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\n private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n long yokin = 100;\n long X = sc.nextLong();\n\n long nen = 0;\n\n\n while(yokin<X){\n yokin*=1.01;\n nen++;\n }\n\n\n System.out.println(nen);\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}",
"public class Main {\n\n private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n long yokin = 100;\n long X = sc.nextLong();\n\n long nen = 0;\n\n\n while(yokin<X){\n yokin*=1.01;\n nen++;\n }\n\n\n System.out.println(nen);\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class Main {
private static Scanner sc;
public static void main(String[] args) {
Main instance = new Main();
sc = instance.new Scanner();
instance.solve();
}
private void solve() {
try {
long yokin = 100;
long X = sc.nextLong();
long nen = 0;
while(yokin<X){
yokin*=1.01;
nen++;
}
System.out.println(nen);
} catch (Exception e) {
e.printStackTrace();
}
}
private class Scanner {
String[] s;
int i;
BufferedReader br;
String regex = " ";
public Scanner() {
s = new String[0];
i = 0;
br = new BufferedReader(new InputStreamReader(System.in));
}
@Override
protected void finalize() throws Throwable {
try {
super.finalize();
} finally {
destruction();
}
}
private void destruction() throws IOException {
if (br != null) br.close();
}
public String next() throws IOException {
if (i < s.length) return s[i++];
String st = br.readLine();
while (st == "") st = br.readLine();
s = st.split(regex, 0);
i = 0;
return s[i++];
}
public int nextInt() throws NumberFormatException, IOException {
return Integer.parseInt(next());
}
public Long nextLong() throws NumberFormatException, IOException {
return Long.parseLong(next());
}
public Double nextDouble() throws NumberFormatException, IOException {
return Double.parseDouble(next());
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
2,
17,
17,
41,
13,
17,
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,
41,
13,
17,
42,
2,
40,
13,
17,
30,
4,
13,
4,
18,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
13,
13,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
13,
13,
13,
2,
13,
2,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
2,
13,
17,
14,
2,
13,
13,
30,
0,
13,
13,
3,
4,
18,
13,
13,
6,
13,
12,
13,
30,
29,
2,
4,
18,
13,
4,
18,
13,
23,
13,
23,
13,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
194,
8
],
[
194,
9
],
[
9,
10
],
[
9,
11
],
[
194,
12
],
[
12,
13
],
[
12,
14
],
[
194,
15
],
[
15,
16
],
[
194,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
194,
22
],
[
22,
23
],
[
22,
24
],
[
194,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
28,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
38,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
27,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
194,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
194,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
68,
69
],
[
194,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
76,
81
],
[
81,
82
],
[
82,
83
],
[
72,
84
],
[
84,
85
],
[
85,
86
],
[
70,
87
],
[
87,
88
],
[
194,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
94,
100
],
[
93,
101
],
[
89,
102
],
[
102,
103
],
[
89,
104
],
[
104,
105
],
[
194,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
110,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
118,
120
],
[
106,
121
],
[
121,
122
],
[
106,
123
],
[
123,
124
],
[
106,
125
],
[
125,
126
],
[
194,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
129,
134
],
[
134,
135
],
[
134,
136
],
[
129,
137
],
[
137,
138
],
[
137,
139
],
[
129,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
140,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
147,
149
],
[
140,
150
],
[
150,
151
],
[
151,
152
],
[
140,
153
],
[
154,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
159,
161
],
[
154,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
162,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
166,
170
],
[
129,
171
],
[
171,
172
],
[
172,
173
],
[
171,
174
],
[
194,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
181,
185
],
[
185,
186
],
[
186,
187
],
[
177,
188
],
[
188,
189
],
[
177,
190
],
[
190,
191
],
[
175,
192
],
[
0,
193
],
[
193,
194
],
[
193,
195
]
] |
[
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);\n static PrintWriter out = new PrintWriter(System.out);\n static StringTokenizer t;\n\n static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }\n\n static int ni() {\n return Integer.parseInt(sn());\n }\n\n static long nlo() {\n return Long.parseLong(sn());\n }\n\n public static void main(String args[]) {\n int t = 1;//ni();\n while (t-- > 0) {\n solve();\n }\n out.close();\n }\n\n static long mod = (long) 1e9 + 7;\n\n static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n static int maxn = 100005;\n\n static class sort implements Comparator<String> {\n public int compare(String a, String b) {\n return a.length() - b.length();\n }\n }\n\n static int func(int a, int b, int x) {\n return ((a * x) / b) - (a * (x / b));\n }\n\n static void solve() {\n long x = nlo();\n long y = 100;\n long ans = 0;\n for (long i = 1; i < Long.MAX_VALUE; i++) {\n y = (y + (y / 100));\n if (y >= x) {\n ans = i;\n break;\n }\n }\n out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);\n static PrintWriter out = new PrintWriter(System.out);\n static StringTokenizer t;\n\n static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }\n\n static int ni() {\n return Integer.parseInt(sn());\n }\n\n static long nlo() {\n return Long.parseLong(sn());\n }\n\n public static void main(String args[]) {\n int t = 1;//ni();\n while (t-- > 0) {\n solve();\n }\n out.close();\n }\n\n static long mod = (long) 1e9 + 7;\n\n static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n static int maxn = 100005;\n\n static class sort implements Comparator<String> {\n public int compare(String a, String b) {\n return a.length() - b.length();\n }\n }\n\n static int func(int a, int b, int x) {\n return ((a * x) / b) - (a * (x / b));\n }\n\n static void solve() {\n long x = nlo();\n long y = 100;\n long ans = 0;\n for (long i = 1; i < Long.MAX_VALUE; i++) {\n y = (y + (y / 100));\n if (y >= x) {\n ans = i;\n break;\n }\n }\n out.println(ans);\n }\n}",
"Main",
"static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);",
"br",
"new BufferedReader(new InputStreamReader(System.in), 32768)",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"static StringTokenizer t;",
"t",
"static long mod = (long) 1e9 + 7;",
"mod",
"(long) 1e9 + 7",
"(long) 1e9",
"7",
"static int maxn = 100005;",
"maxn",
"100005",
"static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }",
"sn",
"{\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }",
"while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }",
"t == null || !t.hasMoreTokens()",
"t == null",
"t",
"null",
"!t.hasMoreTokens()",
"t.hasMoreTokens()",
"t.hasMoreTokens",
"t",
"{\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }",
"try {\n t = new StringTokenizer(br.readLine());\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 t = new StringTokenizer(br.readLine());\n }",
"t = new StringTokenizer(br.readLine())",
"t",
"new StringTokenizer(br.readLine())",
"return t.nextToken();",
"t.nextToken()",
"t.nextToken",
"t",
"static int ni() {\n return Integer.parseInt(sn());\n }",
"ni",
"{\n return Integer.parseInt(sn());\n }",
"return Integer.parseInt(sn());",
"Integer.parseInt(sn())",
"Integer.parseInt",
"Integer",
"sn()",
"sn",
"static long nlo() {\n return Long.parseLong(sn());\n }",
"nlo",
"{\n return Long.parseLong(sn());\n }",
"return Long.parseLong(sn());",
"Long.parseLong(sn())",
"Long.parseLong",
"Long",
"sn()",
"sn",
"public static void main(String args[]) {\n int t = 1;//ni();\n while (t-- > 0) {\n solve();\n }\n out.close();\n }",
"main",
"{\n int t = 1;//ni();\n while (t-- > 0) {\n solve();\n }\n out.close();\n }",
"int t = 1;",
"t",
"1",
"while (t-- > 0) {\n solve();\n }",
"t-- > 0",
"t--",
"t",
"0",
"{\n solve();\n }",
"solve()",
"solve",
"out.close()",
"out.close",
"out",
"String args[]",
"args",
"static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }",
"pro",
"{\n return (a % mod * b % mod) % mod;\n }",
"return (a % mod * b % mod) % mod;",
"(a % mod * b % mod) % mod",
"(a % mod * b % mod)",
"a % mod * b",
"a % mod",
"a",
"mod",
"b",
"mod",
"mod",
"long a",
"a",
"long b",
"b",
"static int func(int a, int b, int x) {\n return ((a * x) / b) - (a * (x / b));\n }",
"func",
"{\n return ((a * x) / b) - (a * (x / b));\n }",
"return ((a * x) / b) - (a * (x / b));",
"((a * x) / b) - (a * (x / b))",
"((a * x) / b)",
"(a * x)",
"a",
"x",
"b",
"(a * (x / b))",
"a",
"(x / b)",
"x",
"b",
"int a",
"a",
"int b",
"b",
"int x",
"x",
"static void solve() {\n long x = nlo();\n long y = 100;\n long ans = 0;\n for (long i = 1; i < Long.MAX_VALUE; i++) {\n y = (y + (y / 100));\n if (y >= x) {\n ans = i;\n break;\n }\n }\n out.println(ans);\n }",
"solve",
"{\n long x = nlo();\n long y = 100;\n long ans = 0;\n for (long i = 1; i < Long.MAX_VALUE; i++) {\n y = (y + (y / 100));\n if (y >= x) {\n ans = i;\n break;\n }\n }\n out.println(ans);\n }",
"long x = nlo();",
"x",
"nlo()",
"nlo",
"long y = 100;",
"y",
"100",
"long ans = 0;",
"ans",
"0",
"for (long i = 1; i < Long.MAX_VALUE; i++) {\n y = (y + (y / 100));\n if (y >= x) {\n ans = i;\n break;\n }\n }",
"long i = 1;",
"long i = 1;",
"i",
"1",
"i < Long.MAX_VALUE",
"i",
"Long.MAX_VALUE",
"Long",
"Long.MAX_VALUE",
"i++",
"i++",
"i",
"{\n y = (y + (y / 100));\n if (y >= x) {\n ans = i;\n break;\n }\n }",
"{\n y = (y + (y / 100));\n if (y >= x) {\n ans = i;\n break;\n }\n }",
"y = (y + (y / 100))",
"y",
"(y + (y / 100))",
"y",
"(y / 100)",
"y",
"100",
"if (y >= x) {\n ans = i;\n break;\n }",
"y >= x",
"y",
"x",
"{\n ans = i;\n break;\n }",
"ans = i",
"ans",
"i",
"break;",
"out.println(ans)",
"out.println",
"out",
"ans",
"static class sort implements Comparator<String> {\n public int compare(String a, String b) {\n return a.length() - b.length();\n }\n }",
"sort",
"public int compare(String a, String b) {\n return a.length() - b.length();\n }",
"compare",
"{\n return a.length() - b.length();\n }",
"return a.length() - b.length();",
"a.length() - b.length()",
"a.length()",
"a.length",
"a",
"b.length()",
"b.length",
"b",
"String a",
"a",
"String b",
"b",
"Comparator",
"public class Main {\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);\n static PrintWriter out = new PrintWriter(System.out);\n static StringTokenizer t;\n\n static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }\n\n static int ni() {\n return Integer.parseInt(sn());\n }\n\n static long nlo() {\n return Long.parseLong(sn());\n }\n\n public static void main(String args[]) {\n int t = 1;//ni();\n while (t-- > 0) {\n solve();\n }\n out.close();\n }\n\n static long mod = (long) 1e9 + 7;\n\n static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n static int maxn = 100005;\n\n static class sort implements Comparator<String> {\n public int compare(String a, String b) {\n return a.length() - b.length();\n }\n }\n\n static int func(int a, int b, int x) {\n return ((a * x) / b) - (a * (x / b));\n }\n\n static void solve() {\n long x = nlo();\n long y = 100;\n long ans = 0;\n for (long i = 1; i < Long.MAX_VALUE; i++) {\n y = (y + (y / 100));\n if (y >= x) {\n ans = i;\n break;\n }\n }\n out.println(ans);\n }\n}",
"public class Main {\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);\n static PrintWriter out = new PrintWriter(System.out);\n static StringTokenizer t;\n\n static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }\n\n static int ni() {\n return Integer.parseInt(sn());\n }\n\n static long nlo() {\n return Long.parseLong(sn());\n }\n\n public static void main(String args[]) {\n int t = 1;//ni();\n while (t-- > 0) {\n solve();\n }\n out.close();\n }\n\n static long mod = (long) 1e9 + 7;\n\n static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n static int maxn = 100005;\n\n static class sort implements Comparator<String> {\n public int compare(String a, String b) {\n return a.length() - b.length();\n }\n }\n\n static int func(int a, int b, int x) {\n return ((a * x) / b) - (a * (x / b));\n }\n\n static void solve() {\n long x = nlo();\n long y = 100;\n long ans = 0;\n for (long i = 1; i < Long.MAX_VALUE; i++) {\n y = (y + (y / 100));\n if (y >= x) {\n ans = i;\n break;\n }\n }\n out.println(ans);\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main {
static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);
static PrintWriter out = new PrintWriter(System.out);
static StringTokenizer t;
static String sn() {
while (t == null || !t.hasMoreTokens()) {
try {
t = new StringTokenizer(br.readLine());
} catch (IOException e) {
throw new RuntimeException();
}
}
return t.nextToken();
}
static int ni() {
return Integer.parseInt(sn());
}
static long nlo() {
return Long.parseLong(sn());
}
public static void main(String args[]) {
int t = 1;//ni();
while (t-- > 0) {
solve();
}
out.close();
}
static long mod = (long) 1e9 + 7;
static long pro(long a, long b) {
return (a % mod * b % mod) % mod;
}
static int maxn = 100005;
static class sort implements Comparator<String> {
public int compare(String a, String b) {
return a.length() - b.length();
}
}
static int func(int a, int b, int x) {
return ((a * x) / b) - (a * (x / b));
}
static void solve() {
long x = nlo();
long y = 100;
long ans = 0;
for (long i = 1; i < Long.MAX_VALUE; i++) {
y = (y + (y / 100));
if (y >= x) {
ans = i;
break;
}
}
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,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
0,
13,
13,
40,
13,
14,
2,
13,
13,
30,
3,
14,
2,
13,
17,
30,
9,
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
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
38,
44
],
[
44,
45
],
[
44,
46
],
[
38,
47
],
[
47,
48
],
[
38,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
38,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
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.Scanner;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long a = 100;\n long b = 0;\n //long b = 1;\n //long max = (int)Math.pow(10,18);\n long cnt = 0;\n\n for(int i=0; i<X; i++) {\n a+=a/100;\n b=a;\n cnt++;\n if(b>=X){\n break;\n }\n if(X<100){\n continue;\n }\n }\n System.out.println(cnt);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long a = 100;\n long b = 0;\n //long b = 1;\n //long max = (int)Math.pow(10,18);\n long cnt = 0;\n\n for(int i=0; i<X; i++) {\n a+=a/100;\n b=a;\n cnt++;\n if(b>=X){\n break;\n }\n if(X<100){\n continue;\n }\n }\n System.out.println(cnt);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long a = 100;\n long b = 0;\n //long b = 1;\n //long max = (int)Math.pow(10,18);\n long cnt = 0;\n\n for(int i=0; i<X; i++) {\n a+=a/100;\n b=a;\n cnt++;\n if(b>=X){\n break;\n }\n if(X<100){\n continue;\n }\n }\n System.out.println(cnt);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long a = 100;\n long b = 0;\n //long b = 1;\n //long max = (int)Math.pow(10,18);\n long cnt = 0;\n\n for(int i=0; i<X; i++) {\n a+=a/100;\n b=a;\n cnt++;\n if(b>=X){\n break;\n }\n if(X<100){\n continue;\n }\n }\n System.out.println(cnt);\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 b = 0;",
"b",
"0",
"long cnt = 0;",
"cnt",
"0",
"for(int i=0; i<X; i++) {\n a+=a/100;\n b=a;\n cnt++;\n if(b>=X){\n break;\n }\n if(X<100){\n continue;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<X",
"i",
"X",
"i++",
"i++",
"i",
"{\n a+=a/100;\n b=a;\n cnt++;\n if(b>=X){\n break;\n }\n if(X<100){\n continue;\n }\n }",
"{\n a+=a/100;\n b=a;\n cnt++;\n if(b>=X){\n break;\n }\n if(X<100){\n continue;\n }\n }",
"a+=a/100",
"a",
"a/100",
"a",
"100",
"b=a",
"b",
"a",
"cnt++",
"cnt",
"if(b>=X){\n break;\n }",
"b>=X",
"b",
"X",
"{\n break;\n }",
"break;",
"if(X<100){\n continue;\n }",
"X<100",
"X",
"100",
"{\n continue;\n }",
"continue;",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"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 a = 100;\n long b = 0;\n //long b = 1;\n //long max = (int)Math.pow(10,18);\n long cnt = 0;\n\n for(int i=0; i<X; i++) {\n a+=a/100;\n b=a;\n cnt++;\n if(b>=X){\n break;\n }\n if(X<100){\n continue;\n }\n }\n System.out.println(cnt);\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 a = 100;\n long b = 0;\n //long b = 1;\n //long max = (int)Math.pow(10,18);\n long cnt = 0;\n\n for(int i=0; i<X; i++) {\n a+=a/100;\n b=a;\n cnt++;\n if(b>=X){\n break;\n }\n if(X<100){\n continue;\n }\n }\n System.out.println(cnt);\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 a = 100;
long b = 0;
//long b = 1;
//long max = (int)Math.pow(10,18);
long cnt = 0;
for(int i=0; i<X; i++) {
a+=a/100;
b=a;
cnt++;
if(b>=X){
break;
}
if(X<100){
continue;
}
}
System.out.println(cnt);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
11,
1,
30,
30,
0,
13,
17,
0,
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
],
[
26,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
26,
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.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 = sc.nextLong();\n\t\tlong money = 100L;\n\t\tlong count = 0L;\n\n\t\tfor (; ;) {\n\t\t\tcount += 1;\n\t\t\tmoney *= 1.01;\n\n\t\t\tif (money >= X) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong X = sc.nextLong();\n\t\tlong money = 100L;\n\t\tlong count = 0L;\n\n\t\tfor (; ;) {\n\t\t\tcount += 1;\n\t\t\tmoney *= 1.01;\n\n\t\t\tif (money >= X) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong X = sc.nextLong();\n\t\tlong money = 100L;\n\t\tlong count = 0L;\n\n\t\tfor (; ;) {\n\t\t\tcount += 1;\n\t\t\tmoney *= 1.01;\n\n\t\t\tif (money >= X) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong X = sc.nextLong();\n\t\tlong money = 100L;\n\t\tlong count = 0L;\n\n\t\tfor (; ;) {\n\t\t\tcount += 1;\n\t\t\tmoney *= 1.01;\n\n\t\t\tif (money >= X) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\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 = 100L;",
"money",
"100L",
"long count = 0L;",
"count",
"0L",
"for (; ;) {\n\t\t\tcount += 1;\n\t\t\tmoney *= 1.01;\n\n\t\t\tif (money >= X) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
";",
"{\n\t\t\tcount += 1;\n\t\t\tmoney *= 1.01;\n\n\t\t\tif (money >= X) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tcount += 1;\n\t\t\tmoney *= 1.01;\n\n\t\t\tif (money >= X) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"count += 1",
"count",
"1",
"money *= 1.01",
"money",
"1.01",
"if (money >= X) {\n\t\t\t\tbreak;\n\t\t\t}",
"money >= X",
"money",
"X",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong X = sc.nextLong();\n\t\tlong money = 100L;\n\t\tlong count = 0L;\n\n\t\tfor (; ;) {\n\t\t\tcount += 1;\n\t\t\tmoney *= 1.01;\n\n\t\t\tif (money >= X) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong X = sc.nextLong();\n\t\tlong money = 100L;\n\t\tlong count = 0L;\n\n\t\tfor (; ;) {\n\t\t\tcount += 1;\n\t\t\tmoney *= 1.01;\n\n\t\t\tif (money >= X) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\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 = 100L;
long count = 0L;
for (; ;) {
count += 1;
money *= 1.01;
if (money >= X) {
break;
}
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
] |
[
[
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.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 y = 100;\n int n = 0;\n while(x>y) {\n \ty *=1.01;\n \tn++;\n }\n System.out.println(n);\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 y = 100;\n int n = 0;\n while(x>y) {\n \ty *=1.01;\n \tn++;\n }\n System.out.println(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 int n = 0;\n while(x>y) {\n \ty *=1.01;\n \tn++;\n }\n System.out.println(n);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long y = 100;\n int n = 0;\n while(x>y) {\n \ty *=1.01;\n \tn++;\n }\n System.out.println(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",
"int n = 0;",
"n",
"0",
"while(x>y) {\n \ty *=1.01;\n \tn++;\n }",
"x>y",
"x",
"y",
"{\n \ty *=1.01;\n \tn++;\n }",
"y *=1.01",
"y",
"1.01",
"n++",
"n",
"System.out.println(n)",
"System.out.println",
"System.out",
"System",
"System.out",
"n",
"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 y = 100;
int n = 0;
while(x>y) {
y *=1.01;
n++;
}
System.out.println(n);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
2,
13,
2,
13,
17,
13,
30,
0,
13,
2,
13,
17,
40,
13,
14,
2,
13,
13,
30,
40,
13,
4,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
62,
8
],
[
62,
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
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
30,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
37,
43
],
[
43,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
11,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
11,
56
],
[
56,
57
],
[
57,
58
],
[
9,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] |
[
"\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n long x = in.nextLong();\n long start = 100;\n int days = 0;\n while (start + start / 100l <= x) {\n start += start / 100l;\n days++;\n }\n if (start < x) {\n days++;\n }\n out.println(days);\n out.close();\n }\n}",
"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 Scanner in = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n long x = in.nextLong();\n long start = 100;\n int days = 0;\n while (start + start / 100l <= x) {\n start += start / 100l;\n days++;\n }\n if (start < x) {\n days++;\n }\n out.println(days);\n out.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n long x = in.nextLong();\n long start = 100;\n int days = 0;\n while (start + start / 100l <= x) {\n start += start / 100l;\n days++;\n }\n if (start < x) {\n days++;\n }\n out.println(days);\n out.close();\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n long x = in.nextLong();\n long start = 100;\n int days = 0;\n while (start + start / 100l <= x) {\n start += start / 100l;\n days++;\n }\n if (start < x) {\n days++;\n }\n out.println(days);\n out.close();\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"long x = in.nextLong();",
"x",
"in.nextLong()",
"in.nextLong",
"in",
"long start = 100;",
"start",
"100",
"int days = 0;",
"days",
"0",
"while (start + start / 100l <= x) {\n start += start / 100l;\n days++;\n }",
"start + start / 100l <= x",
"start + start / 100l",
"start",
"start / 100l",
"start",
"100l",
"x",
"{\n start += start / 100l;\n days++;\n }",
"start += start / 100l",
"start",
"start / 100l",
"start",
"100l",
"days++",
"days",
"if (start < x) {\n days++;\n }",
"start < x",
"start",
"x",
"{\n days++;\n }",
"days++",
"days",
"out.println(days)",
"out.println",
"out",
"days",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n long x = in.nextLong();\n long start = 100;\n int days = 0;\n while (start + start / 100l <= x) {\n start += start / 100l;\n days++;\n }\n if (start < x) {\n days++;\n }\n out.println(days);\n out.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n long x = in.nextLong();\n long start = 100;\n int days = 0;\n while (start + start / 100l <= x) {\n start += start / 100l;\n days++;\n }\n if (start < x) {\n days++;\n }\n out.println(days);\n out.close();\n }\n}",
"Main"
] |
import java.io.PrintWriter;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
PrintWriter out = new PrintWriter(System.out);
long x = in.nextLong();
long start = 100;
int days = 0;
while (start + start / 100l <= x) {
start += start / 100l;
days++;
}
if (start < x) {
days++;
}
out.println(days);
out.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
17,
42,
2,
4,
18,
13,
13,
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,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
29,
4,
18,
13,
29,
4,
18,
13,
17,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
216,
20
],
[
216,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
23,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
23,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
23,
50
],
[
50,
51
],
[
50,
52
],
[
23,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
54,
59
],
[
53,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
60,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
60,
76
],
[
76,
77
],
[
23,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
21,
84
],
[
84,
85
],
[
216,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
86,
90
],
[
90,
91
],
[
86,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
98,
100
],
[
92,
101
],
[
101,
102
],
[
86,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
106,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
116,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
105,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
86,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
134,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
133,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
143,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
132,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
155,
158
],
[
86,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
166,
167
],
[
86,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
172,
175
],
[
175,
176
],
[
86,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
181,
184
],
[
184,
185
],
[
86,
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.math.BigDecimal;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tBigDecimal n = BigDecimal.valueOf(100);\n\t\tBigDecimal a = BigDecimal.valueOf(Long.parseLong(sc.next()));\n\t\tBigDecimal b = BigDecimal.valueOf(1.01);\n\t\tint count = 0;\n\t\twhile (n.compareTo(a) < 0) {\n\t\t\tn = n.multiply(b);\n\t\t\tn = n.setScale(0, BigDecimal.ROUND_FLOOR);\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tBigDecimal n = BigDecimal.valueOf(100);\n\t\tBigDecimal a = BigDecimal.valueOf(Long.parseLong(sc.next()));\n\t\tBigDecimal b = BigDecimal.valueOf(1.01);\n\t\tint count = 0;\n\t\twhile (n.compareTo(a) < 0) {\n\t\t\tn = n.multiply(b);\n\t\t\tn = n.setScale(0, BigDecimal.ROUND_FLOOR);\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tBigDecimal n = BigDecimal.valueOf(100);\n\t\tBigDecimal a = BigDecimal.valueOf(Long.parseLong(sc.next()));\n\t\tBigDecimal b = BigDecimal.valueOf(1.01);\n\t\tint count = 0;\n\t\twhile (n.compareTo(a) < 0) {\n\t\t\tn = n.multiply(b);\n\t\t\tn = n.setScale(0, BigDecimal.ROUND_FLOOR);\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}",
"main",
"{\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tBigDecimal n = BigDecimal.valueOf(100);\n\t\tBigDecimal a = BigDecimal.valueOf(Long.parseLong(sc.next()));\n\t\tBigDecimal b = BigDecimal.valueOf(1.01);\n\t\tint count = 0;\n\t\twhile (n.compareTo(a) < 0) {\n\t\t\tn = n.multiply(b);\n\t\t\tn = n.setScale(0, BigDecimal.ROUND_FLOOR);\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}",
"FastScanner sc = new FastScanner(System.in);",
"sc",
"new FastScanner(System.in)",
"BigDecimal n = BigDecimal.valueOf(100);",
"n",
"BigDecimal.valueOf(100)",
"BigDecimal.valueOf",
"BigDecimal",
"100",
"BigDecimal a = BigDecimal.valueOf(Long.parseLong(sc.next()));",
"a",
"BigDecimal.valueOf(Long.parseLong(sc.next()))",
"BigDecimal.valueOf",
"BigDecimal",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"BigDecimal b = BigDecimal.valueOf(1.01);",
"b",
"BigDecimal.valueOf(1.01)",
"BigDecimal.valueOf",
"BigDecimal",
"1.01",
"int count = 0;",
"count",
"0",
"while (n.compareTo(a) < 0) {\n\t\t\tn = n.multiply(b);\n\t\t\tn = n.setScale(0, BigDecimal.ROUND_FLOOR);\n\t\t\tcount++;\n\t\t}",
"n.compareTo(a) < 0",
"n.compareTo(a)",
"n.compareTo",
"n",
"a",
"0",
"{\n\t\t\tn = n.multiply(b);\n\t\t\tn = n.setScale(0, BigDecimal.ROUND_FLOOR);\n\t\t\tcount++;\n\t\t}",
"n = n.multiply(b)",
"n",
"n.multiply(b)",
"n.multiply",
"n",
"b",
"n = n.setScale(0, BigDecimal.ROUND_FLOOR)",
"n",
"n.setScale(0, BigDecimal.ROUND_FLOOR)",
"n.setScale",
"n",
"0",
"BigDecimal.ROUND_FLOOR",
"BigDecimal",
"BigDecimal.ROUND_FLOOR",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"static class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}",
"FastScanner",
"private BufferedReader reader;",
"reader",
"private StringTokenizer tokenizer;",
"tokenizer",
"public FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}",
"FastScanner",
"{\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"tokenizer = null",
"tokenizer",
"null",
"InputStream in",
"in",
"public String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}",
"next",
"{\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}",
"try {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t}",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}",
"nextLine",
"{\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}",
"try {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t}",
"return reader.readLine();",
"reader.readLine()",
"reader.readLine",
"reader",
"return tokenizer.nextToken(\"\\n\");",
"tokenizer.nextToken(\"\\n\")",
"tokenizer.nextToken",
"tokenizer",
"\"\\n\"",
"public long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"nextDouble",
"{\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}",
"nextLongArray",
"{\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextLong();",
"a[i] = nextLong()",
"a[i]",
"a",
"i",
"nextLong()",
"nextLong",
"return a;",
"a",
"int n",
"n",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tBigDecimal n = BigDecimal.valueOf(100);\n\t\tBigDecimal a = BigDecimal.valueOf(Long.parseLong(sc.next()));\n\t\tBigDecimal b = BigDecimal.valueOf(1.01);\n\t\tint count = 0;\n\t\twhile (n.compareTo(a) < 0) {\n\t\t\tn = n.multiply(b);\n\t\t\tn = n.setScale(0, BigDecimal.ROUND_FLOOR);\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tBigDecimal n = BigDecimal.valueOf(100);\n\t\tBigDecimal a = BigDecimal.valueOf(Long.parseLong(sc.next()));\n\t\tBigDecimal b = BigDecimal.valueOf(1.01);\n\t\tint count = 0;\n\t\twhile (n.compareTo(a) < 0) {\n\t\t\tn = n.multiply(b);\n\t\t\tn = n.setScale(0, BigDecimal.ROUND_FLOOR);\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastScanner sc = new FastScanner(System.in);
BigDecimal n = BigDecimal.valueOf(100);
BigDecimal a = BigDecimal.valueOf(Long.parseLong(sc.next()));
BigDecimal b = BigDecimal.valueOf(1.01);
int count = 0;
while (n.compareTo(a) < 0) {
n = n.multiply(b);
n = n.setScale(0, BigDecimal.ROUND_FLOOR);
count++;
}
System.out.println(count);
}
static class FastScanner {
private BufferedReader reader;
private StringTokenizer tokenizer;
public FastScanner(InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
tokenizer = null;
}
public String next() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public String nextLine() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
return reader.readLine();
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken("\n");
}
public long nextLong() {
return Long.parseLong(next());
}
public int nextInt() {
return Integer.parseInt(next());
}
public double nextDouble() {
return Double.parseDouble(next());
}
public long[] nextLongArray(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nextLong();
return a;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
30,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tlong x = scan.nextLong();\n\t\tscan.close();\n\t\t\n\t\tlong ans = 0;\n\t\tlong yen = 100;\n\t\twhile(x > yen) {\n\t\t\tyen += yen/100;\n\t\t\tans++;\n\t\t}\n\t\t\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 scan = new Scanner(System.in);\n\t\t\n\t\tlong x = scan.nextLong();\n\t\tscan.close();\n\t\t\n\t\tlong ans = 0;\n\t\tlong yen = 100;\n\t\twhile(x > yen) {\n\t\t\tyen += yen/100;\n\t\t\tans++;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tlong x = scan.nextLong();\n\t\tscan.close();\n\t\t\n\t\tlong ans = 0;\n\t\tlong yen = 100;\n\t\twhile(x > yen) {\n\t\t\tyen += yen/100;\n\t\t\tans++;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tlong x = scan.nextLong();\n\t\tscan.close();\n\t\t\n\t\tlong ans = 0;\n\t\tlong yen = 100;\n\t\twhile(x > yen) {\n\t\t\tyen += yen/100;\n\t\t\tans++;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t}",
"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",
"long ans = 0;",
"ans",
"0",
"long yen = 100;",
"yen",
"100",
"while(x > yen) {\n\t\t\tyen += yen/100;\n\t\t\tans++;\n\t\t}",
"x > yen",
"x",
"yen",
"{\n\t\t\tyen += yen/100;\n\t\t\tans++;\n\t\t}",
"yen += yen/100",
"yen",
"yen/100",
"yen",
"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 scan = new Scanner(System.in);\n\t\t\n\t\tlong x = scan.nextLong();\n\t\tscan.close();\n\t\t\n\t\tlong ans = 0;\n\t\tlong yen = 100;\n\t\twhile(x > yen) {\n\t\t\tyen += yen/100;\n\t\t\tans++;\n\t\t}\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 scan = new Scanner(System.in);\n\t\t\n\t\tlong x = scan.nextLong();\n\t\tscan.close();\n\t\t\n\t\tlong ans = 0;\n\t\tlong yen = 100;\n\t\twhile(x > yen) {\n\t\t\tyen += yen/100;\n\t\t\tans++;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\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();
scan.close();
long ans = 0;
long yen = 100;
while(x > yen) {
yen += yen/100;
ans++;
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
2,
17,
17,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
13,
0,
13,
0,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
20,
13,
0,
13,
0,
13,
17,
23,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
17,
41,
13,
42,
2,
0,
13,
4,
13,
40,
17,
30,
14,
2,
13,
17,
3,
0,
18,
13,
40,
13,
13,
29,
20,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
2,
13,
17,
30,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
0,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
0,
13,
4,
18,
13,
13,
0,
13,
17,
13,
14,
2,
13,
40,
17,
0,
18,
13,
17,
40,
17,
12,
13,
30,
14,
2,
13,
13,
4,
13,
29,
18,
13,
40,
13,
12,
13,
30,
14,
2,
13,
17,
29,
4,
18,
13,
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
],
[
390,
14
],
[
390,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
17,
32
],
[
32,
33
],
[
32,
34
],
[
17,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
39,
45
],
[
45,
46
],
[
17,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
17,
51
],
[
51,
52
],
[
52,
53
],
[
17,
54
],
[
54,
55
],
[
55,
56
],
[
15,
57
],
[
57,
58
],
[
390,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
59,
66
],
[
66,
67
],
[
59,
68
],
[
68,
69
],
[
59,
70
],
[
70,
71
],
[
59,
72
],
[
72,
73
],
[
59,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
80,
82
],
[
76,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
59,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
95,
97
],
[
91,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
101,
103
],
[
89,
104
],
[
104,
105
],
[
59,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
113
],
[
113,
114
],
[
113,
115
],
[
108,
116
],
[
116,
117
],
[
108,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
119,
124
],
[
124,
125
],
[
118,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
127,
131
],
[
126,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
132,
137
],
[
108,
138
],
[
138,
139
],
[
59,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
142,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
142,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
142,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
160,
162
],
[
142,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
142,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
171,
176
],
[
170,
177
],
[
177,
178
],
[
177,
179
],
[
169,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
184,
188
],
[
183,
189
],
[
142,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
193,
194
],
[
142,
195
],
[
195,
196
],
[
59,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
199,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
199,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
199,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
217,
219
],
[
199,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
199,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
228,
233
],
[
227,
234
],
[
234,
235
],
[
234,
236
],
[
226,
237
],
[
237,
238
],
[
238,
239
],
[
238,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
241,
245
],
[
240,
246
],
[
199,
247
],
[
247,
248
],
[
247,
249
],
[
249,
250
],
[
250,
251
],
[
199,
252
],
[
252,
253
],
[
59,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
256,
260
],
[
260,
261
],
[
260,
262
],
[
256,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
256,
267
],
[
267,
268
],
[
268,
269
],
[
268,
270
],
[
267,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
256,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
277,
279
],
[
256,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
256,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
288,
293
],
[
287,
294
],
[
294,
295
],
[
294,
296
],
[
286,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
301,
305
],
[
300,
306
],
[
256,
307
],
[
307,
308
],
[
308,
309
],
[
308,
310
],
[
307,
311
],
[
311,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
315,
316
],
[
315,
317
],
[
317,
318
],
[
314,
319
],
[
313,
320
],
[
320,
321
],
[
320,
322
],
[
312,
323
],
[
323,
324
],
[
324,
325
],
[
324,
326
],
[
326,
327
],
[
327,
328
],
[
327,
329
],
[
326,
330
],
[
330,
331
],
[
330,
332
],
[
256,
333
],
[
333,
334
],
[
333,
335
],
[
335,
336
],
[
336,
337
],
[
256,
338
],
[
338,
339
],
[
59,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
345,
346
],
[
346,
347
],
[
345,
348
],
[
345,
349
],
[
349,
350
],
[
349,
351
],
[
345,
352
],
[
342,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
356,
357
],
[
353,
358
],
[
358,
359
],
[
359,
360
],
[
359,
361
],
[
358,
362
],
[
362,
363
],
[
59,
364
],
[
364,
365
],
[
364,
366
],
[
366,
367
],
[
367,
368
],
[
368,
369
],
[
368,
370
],
[
367,
371
],
[
371,
372
],
[
366,
373
],
[
373,
374
],
[
374,
375
],
[
374,
376
],
[
376,
377
],
[
59,
378
],
[
378,
379
],
[
378,
380
],
[
380,
381
],
[
381,
382
],
[
382,
383
],
[
382,
384
],
[
381,
385
],
[
380,
386
],
[
386,
387
],
[
387,
388
],
[
0,
389
],
[
389,
390
],
[
389,
391
]
] |
[
"import java.util.*;\nimport java.io.*;\nimport java.lang.*;\nimport java.math.*;\n \npublic class Main {\n\n static class Reader {\n\n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n\n public Reader() { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n\n public Reader(String file_name) throws IOException { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n\n public String readLine() throws IOException { \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n\n public int nextInt() throws IOException { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n\n if (neg) \n return -ret; \n return ret; \n } \n\n public long nextLong() throws IOException { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n\n public double nextDouble() throws IOException { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n\n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n\n if (c == '.') { \n while ((c = read()) >= '0' && c <= '9') { \n ret += (c - '0') / (div *= 10); \n } \n } \n\n if (neg) \n return -ret; \n return ret; \n } \n\n private void fillBuffer() throws IOException { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n\n private byte read() throws IOException { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n\n public void close() throws IOException { \n if (din == null) \n return; \n din.close(); \n } \n }\n\n \n public static void main(String args[]) throws IOException {\n // try {\n // FileOutputStream output = new FileOutputStream(\"temp.out\");\n // PrintStream out = new PrintStream(output);\n // //Diverting the output stream into file \"temp.out\".Comment the below line to use console\n // System.setOut(out);\n \n // InputStream input = new FileInputStream(\"temp.in\");\n // //Diverting the input stream into file \"temp.in\".Comment the below line to use console\n // System.setIn(input);\n \n // } catch (FileNotFoundException e) {\n // e.printStackTrace();\n // }\n \n // Scanner sc = new Scanner(System.in);\n Reader sc = new Reader();\n // BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter wr = new PrintWriter(System.out);\n\n // int t = 1;\n // t = sc.nextInt(); //Comment this line if there is single test case\n \n // while((t--) != 0) {\n\n\n\n\n // }\n\n long x = sc.nextLong();\n\n long p = 100, step = 0;\n\n while(p < x){\n // wr.println(p / 100);\n p += p / 100;\n step++;\n } \n\n wr.println(step);\n\n \n wr.flush();\n wr.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n\n static class Reader {\n\n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n\n public Reader() { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n\n public Reader(String file_name) throws IOException { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n\n public String readLine() throws IOException { \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n\n public int nextInt() throws IOException { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n\n if (neg) \n return -ret; \n return ret; \n } \n\n public long nextLong() throws IOException { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n\n public double nextDouble() throws IOException { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n\n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n\n if (c == '.') { \n while ((c = read()) >= '0' && c <= '9') { \n ret += (c - '0') / (div *= 10); \n } \n } \n\n if (neg) \n return -ret; \n return ret; \n } \n\n private void fillBuffer() throws IOException { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n\n private byte read() throws IOException { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n\n public void close() throws IOException { \n if (din == null) \n return; \n din.close(); \n } \n }\n\n \n public static void main(String args[]) throws IOException {\n // try {\n // FileOutputStream output = new FileOutputStream(\"temp.out\");\n // PrintStream out = new PrintStream(output);\n // //Diverting the output stream into file \"temp.out\".Comment the below line to use console\n // System.setOut(out);\n \n // InputStream input = new FileInputStream(\"temp.in\");\n // //Diverting the input stream into file \"temp.in\".Comment the below line to use console\n // System.setIn(input);\n \n // } catch (FileNotFoundException e) {\n // e.printStackTrace();\n // }\n \n // Scanner sc = new Scanner(System.in);\n Reader sc = new Reader();\n // BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter wr = new PrintWriter(System.out);\n\n // int t = 1;\n // t = sc.nextInt(); //Comment this line if there is single test case\n \n // while((t--) != 0) {\n\n\n\n\n // }\n\n long x = sc.nextLong();\n\n long p = 100, step = 0;\n\n while(p < x){\n // wr.println(p / 100);\n p += p / 100;\n step++;\n } \n\n wr.println(step);\n\n \n wr.flush();\n wr.close();\n }\n}",
"Main",
"public static void main(String args[]) throws IOException {\n // try {\n // FileOutputStream output = new FileOutputStream(\"temp.out\");\n // PrintStream out = new PrintStream(output);\n // //Diverting the output stream into file \"temp.out\".Comment the below line to use console\n // System.setOut(out);\n \n // InputStream input = new FileInputStream(\"temp.in\");\n // //Diverting the input stream into file \"temp.in\".Comment the below line to use console\n // System.setIn(input);\n \n // } catch (FileNotFoundException e) {\n // e.printStackTrace();\n // }\n \n // Scanner sc = new Scanner(System.in);\n Reader sc = new Reader();\n // BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter wr = new PrintWriter(System.out);\n\n // int t = 1;\n // t = sc.nextInt(); //Comment this line if there is single test case\n \n // while((t--) != 0) {\n\n\n\n\n // }\n\n long x = sc.nextLong();\n\n long p = 100, step = 0;\n\n while(p < x){\n // wr.println(p / 100);\n p += p / 100;\n step++;\n } \n\n wr.println(step);\n\n \n wr.flush();\n wr.close();\n }",
"main",
"{\n // try {\n // FileOutputStream output = new FileOutputStream(\"temp.out\");\n // PrintStream out = new PrintStream(output);\n // //Diverting the output stream into file \"temp.out\".Comment the below line to use console\n // System.setOut(out);\n \n // InputStream input = new FileInputStream(\"temp.in\");\n // //Diverting the input stream into file \"temp.in\".Comment the below line to use console\n // System.setIn(input);\n \n // } catch (FileNotFoundException e) {\n // e.printStackTrace();\n // }\n \n // Scanner sc = new Scanner(System.in);\n Reader sc = new Reader();\n // BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter wr = new PrintWriter(System.out);\n\n // int t = 1;\n // t = sc.nextInt(); //Comment this line if there is single test case\n \n // while((t--) != 0) {\n\n\n\n\n // }\n\n long x = sc.nextLong();\n\n long p = 100, step = 0;\n\n while(p < x){\n // wr.println(p / 100);\n p += p / 100;\n step++;\n } \n\n wr.println(step);\n\n \n wr.flush();\n wr.close();\n }",
"Reader sc = new Reader();",
"sc",
"new Reader()",
"PrintWriter wr = new PrintWriter(System.out);",
"wr",
"new PrintWriter(System.out)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long p = 100",
"p",
"100",
"step = 0;",
"step",
"0",
"while(p < x){\n // wr.println(p / 100);\n p += p / 100;\n step++;\n }",
"p < x",
"p",
"x",
"{\n // wr.println(p / 100);\n p += p / 100;\n step++;\n }",
"p += p / 100",
"p",
"p / 100",
"p",
"100",
"step++",
"step",
"wr.println(step)",
"wr.println",
"wr",
"step",
"wr.flush()",
"wr.flush",
"wr",
"wr.close()",
"wr.close",
"wr",
"String args[]",
"args",
"static class Reader {\n\n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n\n public Reader() { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n\n public Reader(String file_name) throws IOException { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n\n public String readLine() throws IOException { \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n\n public int nextInt() throws IOException { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n\n if (neg) \n return -ret; \n return ret; \n } \n\n public long nextLong() throws IOException { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n\n public double nextDouble() throws IOException { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n\n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n\n if (c == '.') { \n while ((c = read()) >= '0' && c <= '9') { \n ret += (c - '0') / (div *= 10); \n } \n } \n\n if (neg) \n return -ret; \n return ret; \n } \n\n private void fillBuffer() throws IOException { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n\n private byte read() throws IOException { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n\n public void close() throws IOException { \n if (din == null) \n return; \n din.close(); \n } \n }",
"Reader",
"final private int BUFFER_SIZE = 1 << 16;",
"BUFFER_SIZE",
"1 << 16",
"1",
"16",
"private DataInputStream din;",
"din",
"private byte[] buffer;",
"buffer",
"private int bufferPointer",
"bufferPointer",
"bytesRead;",
"bytesRead",
"public Reader() { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n }",
"Reader",
"{ \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n }",
"din = new DataInputStream(System.in)",
"din",
"new DataInputStream(System.in)",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"public Reader(String file_name) throws IOException { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n }",
"Reader",
"{ \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n }",
"din = new DataInputStream(new FileInputStream(file_name))",
"din",
"new DataInputStream(new FileInputStream(file_name))",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"String file_name",
"file_name",
"public String readLine() throws IOException { \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n }",
"readLine",
"{ \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n }",
"byte[] buf = new byte[64];",
"buf",
"new byte[64]",
"64",
"int cnt = 0",
"cnt",
"0",
"c;",
"c",
"while ((c = read()) != -1) { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n }",
"(c = read()) != -1",
"(c = read())",
"c",
"read()",
"read",
"-1",
"1",
"{ \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n }",
"if (c == '\\n') \n break;",
"c == '\\n'",
"c",
"'\\n'",
"break;",
"buf[cnt++] = (byte) c",
"buf[cnt++]",
"buf",
"cnt++",
"cnt",
"(byte) c",
"return new String(buf, 0, cnt);",
"new String(buf, 0, cnt)",
"public int nextInt() throws IOException { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n\n if (neg) \n return -ret; \n return ret; \n }",
"nextInt",
"{ \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n\n if (neg) \n return -ret; \n return ret; \n }",
"int ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ') \n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg) \n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n ret = ret * 10 + c - '0'; \n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg) \n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public long nextLong() throws IOException { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n }",
"nextLong",
"{ \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n }",
"long ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ') \n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg) \n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n ret = ret * 10 + c - '0'; \n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg) \n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public double nextDouble() throws IOException { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n\n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n\n if (c == '.') { \n while ((c = read()) >= '0' && c <= '9') { \n ret += (c - '0') / (div *= 10); \n } \n } \n\n if (neg) \n return -ret; \n return ret; \n }",
"nextDouble",
"{ \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n\n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n\n if (c == '.') { \n while ((c = read()) >= '0' && c <= '9') { \n ret += (c - '0') / (div *= 10); \n } \n } \n\n if (neg) \n return -ret; \n return ret; \n }",
"double ret = 0",
"ret",
"0",
"div = 1;",
"div",
"1",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ') \n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg) \n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n ret = ret * 10 + c - '0'; \n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (c == '.') { \n while ((c = read()) >= '0' && c <= '9') { \n ret += (c - '0') / (div *= 10); \n } \n }",
"c == '.'",
"c",
"'.'",
"{ \n while ((c = read()) >= '0' && c <= '9') { \n ret += (c - '0') / (div *= 10); \n } \n }",
"while ((c = read()) >= '0' && c <= '9') { \n ret += (c - '0') / (div *= 10); \n }",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n ret += (c - '0') / (div *= 10); \n }",
"ret += (c - '0') / (div *= 10)",
"ret",
"(c - '0') / (div *= 10)",
"(c - '0')",
"c",
"'0'",
"(div *= 10)",
"div",
"10",
"if (neg) \n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"private void fillBuffer() throws IOException { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n }",
"fillBuffer",
"{ \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n }",
"bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE)",
"bytesRead",
"din.read(buffer, bufferPointer = 0, BUFFER_SIZE)",
"din.read",
"din",
"buffer",
"bufferPointer = 0",
"bufferPointer",
"0",
"BUFFER_SIZE",
"if (bytesRead == -1) \n buffer[0] = -1;",
"bytesRead == -1",
"bytesRead",
"-1",
"1",
"buffer[0] = -1",
"buffer[0]",
"buffer",
"0",
"-1",
"1",
"private byte read() throws IOException { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n }",
"read",
"{ \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n }",
"if (bufferPointer == bytesRead) \n fillBuffer();",
"bufferPointer == bytesRead",
"bufferPointer",
"bytesRead",
"fillBuffer()",
"fillBuffer",
"return buffer[bufferPointer++];",
"buffer[bufferPointer++]",
"buffer",
"bufferPointer++",
"bufferPointer",
"public void close() throws IOException { \n if (din == null) \n return; \n din.close(); \n }",
"close",
"{ \n if (din == null) \n return; \n din.close(); \n }",
"if (din == null) \n return;",
"din == null",
"din",
"null",
"return;",
"din.close()",
"din.close",
"din",
"public class Main {\n\n static class Reader {\n\n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n\n public Reader() { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n\n public Reader(String file_name) throws IOException { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n\n public String readLine() throws IOException { \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n\n public int nextInt() throws IOException { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n\n if (neg) \n return -ret; \n return ret; \n } \n\n public long nextLong() throws IOException { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n\n public double nextDouble() throws IOException { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n\n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n\n if (c == '.') { \n while ((c = read()) >= '0' && c <= '9') { \n ret += (c - '0') / (div *= 10); \n } \n } \n\n if (neg) \n return -ret; \n return ret; \n } \n\n private void fillBuffer() throws IOException { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n\n private byte read() throws IOException { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n\n public void close() throws IOException { \n if (din == null) \n return; \n din.close(); \n } \n }\n\n \n public static void main(String args[]) throws IOException {\n // try {\n // FileOutputStream output = new FileOutputStream(\"temp.out\");\n // PrintStream out = new PrintStream(output);\n // //Diverting the output stream into file \"temp.out\".Comment the below line to use console\n // System.setOut(out);\n \n // InputStream input = new FileInputStream(\"temp.in\");\n // //Diverting the input stream into file \"temp.in\".Comment the below line to use console\n // System.setIn(input);\n \n // } catch (FileNotFoundException e) {\n // e.printStackTrace();\n // }\n \n // Scanner sc = new Scanner(System.in);\n Reader sc = new Reader();\n // BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter wr = new PrintWriter(System.out);\n\n // int t = 1;\n // t = sc.nextInt(); //Comment this line if there is single test case\n \n // while((t--) != 0) {\n\n\n\n\n // }\n\n long x = sc.nextLong();\n\n long p = 100, step = 0;\n\n while(p < x){\n // wr.println(p / 100);\n p += p / 100;\n step++;\n } \n\n wr.println(step);\n\n \n wr.flush();\n wr.close();\n }\n}",
"public class Main {\n\n static class Reader {\n\n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n\n public Reader() { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n\n public Reader(String file_name) throws IOException { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n\n public String readLine() throws IOException { \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n\n public int nextInt() throws IOException { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n\n if (neg) \n return -ret; \n return ret; \n } \n\n public long nextLong() throws IOException { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n\n public double nextDouble() throws IOException { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n\n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n\n if (c == '.') { \n while ((c = read()) >= '0' && c <= '9') { \n ret += (c - '0') / (div *= 10); \n } \n } \n\n if (neg) \n return -ret; \n return ret; \n } \n\n private void fillBuffer() throws IOException { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n\n private byte read() throws IOException { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n\n public void close() throws IOException { \n if (din == null) \n return; \n din.close(); \n } \n }\n\n \n public static void main(String args[]) throws IOException {\n // try {\n // FileOutputStream output = new FileOutputStream(\"temp.out\");\n // PrintStream out = new PrintStream(output);\n // //Diverting the output stream into file \"temp.out\".Comment the below line to use console\n // System.setOut(out);\n \n // InputStream input = new FileInputStream(\"temp.in\");\n // //Diverting the input stream into file \"temp.in\".Comment the below line to use console\n // System.setIn(input);\n \n // } catch (FileNotFoundException e) {\n // e.printStackTrace();\n // }\n \n // Scanner sc = new Scanner(System.in);\n Reader sc = new Reader();\n // BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter wr = new PrintWriter(System.out);\n\n // int t = 1;\n // t = sc.nextInt(); //Comment this line if there is single test case\n \n // while((t--) != 0) {\n\n\n\n\n // }\n\n long x = sc.nextLong();\n\n long p = 100, step = 0;\n\n while(p < x){\n // wr.println(p / 100);\n p += p / 100;\n step++;\n } \n\n wr.println(step);\n\n \n wr.flush();\n wr.close();\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
import java.lang.*;
import java.math.*;
public class Main {
static class Reader {
final private int BUFFER_SIZE = 1 << 16;
private DataInputStream din;
private byte[] buffer;
private int bufferPointer, bytesRead;
public Reader() {
din = new DataInputStream(System.in);
buffer = new byte[BUFFER_SIZE];
bufferPointer = bytesRead = 0;
}
public Reader(String file_name) throws IOException {
din = new DataInputStream(new FileInputStream(file_name));
buffer = new byte[BUFFER_SIZE];
bufferPointer = bytesRead = 0;
}
public String readLine() throws IOException {
byte[] buf = new byte[64]; // line length
int cnt = 0, c;
while ((c = read()) != -1) {
if (c == '\n')
break;
buf[cnt++] = (byte) c;
}
return new String(buf, 0, cnt);
}
public int nextInt() throws IOException {
int ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
} while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public long nextLong() throws IOException {
long ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
}
while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public double nextDouble() throws IOException {
double ret = 0, div = 1;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
}
while ((c = read()) >= '0' && c <= '9');
if (c == '.') {
while ((c = read()) >= '0' && c <= '9') {
ret += (c - '0') / (div *= 10);
}
}
if (neg)
return -ret;
return ret;
}
private void fillBuffer() throws IOException {
bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);
if (bytesRead == -1)
buffer[0] = -1;
}
private byte read() throws IOException {
if (bufferPointer == bytesRead)
fillBuffer();
return buffer[bufferPointer++];
}
public void close() throws IOException {
if (din == null)
return;
din.close();
}
}
public static void main(String args[]) throws IOException {
// try {
// FileOutputStream output = new FileOutputStream("temp.out");
// PrintStream out = new PrintStream(output);
// //Diverting the output stream into file "temp.out".Comment the below line to use console
// System.setOut(out);
// InputStream input = new FileInputStream("temp.in");
// //Diverting the input stream into file "temp.in".Comment the below line to use console
// System.setIn(input);
// } catch (FileNotFoundException e) {
// e.printStackTrace();
// }
// Scanner sc = new Scanner(System.in);
Reader sc = new Reader();
// BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));
PrintWriter wr = new PrintWriter(System.out);
// int t = 1;
// t = sc.nextInt(); //Comment this line if there is single test case
// while((t--) != 0) {
// }
long x = sc.nextLong();
long p = 100, step = 0;
while(p < x){
// wr.println(p / 100);
p += p / 100;
step++;
}
wr.println(step);
wr.flush();
wr.close();
}
}
|
[
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,
17,
30,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
17,
18,
13,
13,
40,
13,
14,
2,
4,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
13,
3,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
67,
8
],
[
67,
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
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
31,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
31,
47
],
[
47,
48
],
[
31,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
50,
55
],
[
49,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
56,
63
],
[
9,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] |
[
"import java.util.*;\nimport java.math.BigDecimal;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal X = sc.nextBigDecimal();\n BigDecimal a = new BigDecimal(\"100\");\n BigDecimal b = new BigDecimal(\"1.01\");\n int i = 0;\n while (true) {\n a = a.multiply(b);\n a = a.setScale(0,BigDecimal.ROUND_DOWN);\n i++;\n if (a.compareTo(X) >= 0) {\n System.out.println(i);\n break;\n }\n }\n\t}\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\tBigDecimal X = sc.nextBigDecimal();\n BigDecimal a = new BigDecimal(\"100\");\n BigDecimal b = new BigDecimal(\"1.01\");\n int i = 0;\n while (true) {\n a = a.multiply(b);\n a = a.setScale(0,BigDecimal.ROUND_DOWN);\n i++;\n if (a.compareTo(X) >= 0) {\n System.out.println(i);\n break;\n }\n }\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal X = sc.nextBigDecimal();\n BigDecimal a = new BigDecimal(\"100\");\n BigDecimal b = new BigDecimal(\"1.01\");\n int i = 0;\n while (true) {\n a = a.multiply(b);\n a = a.setScale(0,BigDecimal.ROUND_DOWN);\n i++;\n if (a.compareTo(X) >= 0) {\n System.out.println(i);\n break;\n }\n }\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal X = sc.nextBigDecimal();\n BigDecimal a = new BigDecimal(\"100\");\n BigDecimal b = new BigDecimal(\"1.01\");\n int i = 0;\n while (true) {\n a = a.multiply(b);\n a = a.setScale(0,BigDecimal.ROUND_DOWN);\n i++;\n if (a.compareTo(X) >= 0) {\n System.out.println(i);\n break;\n }\n }\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigDecimal X = sc.nextBigDecimal();",
"X",
"sc.nextBigDecimal()",
"sc.nextBigDecimal",
"sc",
"BigDecimal a = new BigDecimal(\"100\");",
"a",
"new BigDecimal(\"100\")",
"BigDecimal b = new BigDecimal(\"1.01\");",
"b",
"new BigDecimal(\"1.01\")",
"int i = 0;",
"i",
"0",
"while (true) {\n a = a.multiply(b);\n a = a.setScale(0,BigDecimal.ROUND_DOWN);\n i++;\n if (a.compareTo(X) >= 0) {\n System.out.println(i);\n break;\n }\n }",
"true",
"{\n a = a.multiply(b);\n a = a.setScale(0,BigDecimal.ROUND_DOWN);\n i++;\n if (a.compareTo(X) >= 0) {\n System.out.println(i);\n break;\n }\n }",
"a = a.multiply(b)",
"a",
"a.multiply(b)",
"a.multiply",
"a",
"b",
"a = a.setScale(0,BigDecimal.ROUND_DOWN)",
"a",
"a.setScale(0,BigDecimal.ROUND_DOWN)",
"a.setScale",
"a",
"0",
"BigDecimal.ROUND_DOWN",
"BigDecimal",
"BigDecimal.ROUND_DOWN",
"i++",
"i",
"if (a.compareTo(X) >= 0) {\n System.out.println(i);\n break;\n }",
"a.compareTo(X) >= 0",
"a.compareTo(X)",
"a.compareTo",
"a",
"X",
"0",
"{\n System.out.println(i);\n break;\n }",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"break;",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal X = sc.nextBigDecimal();\n BigDecimal a = new BigDecimal(\"100\");\n BigDecimal b = new BigDecimal(\"1.01\");\n int i = 0;\n while (true) {\n a = a.multiply(b);\n a = a.setScale(0,BigDecimal.ROUND_DOWN);\n i++;\n if (a.compareTo(X) >= 0) {\n System.out.println(i);\n break;\n }\n }\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigDecimal X = sc.nextBigDecimal();\n BigDecimal a = new BigDecimal(\"100\");\n BigDecimal b = new BigDecimal(\"1.01\");\n int i = 0;\n while (true) {\n a = a.multiply(b);\n a = a.setScale(0,BigDecimal.ROUND_DOWN);\n i++;\n if (a.compareTo(X) >= 0) {\n System.out.println(i);\n break;\n }\n }\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);
BigDecimal X = sc.nextBigDecimal();
BigDecimal a = new BigDecimal("100");
BigDecimal b = new BigDecimal("1.01");
int i = 0;
while (true) {
a = a.multiply(b);
a = a.setScale(0,BigDecimal.ROUND_DOWN);
i++;
if (a.compareTo(X) >= 0) {
System.out.println(i);
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,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
42,
5
],
[
42,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc=new Scanner(System.in);\n long X=sc.nextLong();\n \n long now=100;\n int count=0;\n \n while(now<X){\n now*=1.01;\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) throws Exception {\n Scanner sc=new Scanner(System.in);\n long X=sc.nextLong();\n \n long now=100;\n int count=0;\n \n while(now<X){\n now*=1.01;\n count++;\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc=new Scanner(System.in);\n long X=sc.nextLong();\n \n long now=100;\n int count=0;\n \n while(now<X){\n now*=1.01;\n count++;\n }\n System.out.println(count);\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n long X=sc.nextLong();\n \n long now=100;\n int count=0;\n \n while(now<X){\n now*=1.01;\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 now=100;",
"now",
"100",
"int count=0;",
"count",
"0",
"while(now<X){\n now*=1.01;\n count++;\n }",
"now<X",
"now",
"X",
"{\n now*=1.01;\n count++;\n }",
"now*=1.01",
"now",
"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) throws Exception {\n Scanner sc=new Scanner(System.in);\n long X=sc.nextLong();\n \n long now=100;\n int count=0;\n \n while(now<X){\n now*=1.01;\n count++;\n }\n System.out.println(count);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc=new Scanner(System.in);\n long X=sc.nextLong();\n \n long now=100;\n int count=0;\n \n while(now<X){\n now*=1.01;\n count++;\n }\n System.out.println(count);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc=new Scanner(System.in);
long X=sc.nextLong();
long now=100;
int count=0;
while(now<X){
now*=1.01;
count++;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
17,
42,
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
],
[
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
],
[
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\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long origin = 100;\n long x = scanner.nextLong();\n\n long year = 0;\n\n while (origin < x) {\n origin = origin + (origin / 100);\n year++;\n }\n\n System.out.println(year);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long origin = 100;\n long x = scanner.nextLong();\n\n long year = 0;\n\n while (origin < x) {\n origin = origin + (origin / 100);\n year++;\n }\n\n System.out.println(year);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long origin = 100;\n long x = scanner.nextLong();\n\n long year = 0;\n\n while (origin < x) {\n origin = origin + (origin / 100);\n year++;\n }\n\n System.out.println(year);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n long origin = 100;\n long x = scanner.nextLong();\n\n long year = 0;\n\n while (origin < x) {\n origin = origin + (origin / 100);\n year++;\n }\n\n System.out.println(year);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"long origin = 100;",
"origin",
"100",
"long x = scanner.nextLong();",
"x",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"long year = 0;",
"year",
"0",
"while (origin < x) {\n origin = origin + (origin / 100);\n year++;\n }",
"origin < x",
"origin",
"x",
"{\n origin = origin + (origin / 100);\n year++;\n }",
"origin = origin + (origin / 100)",
"origin",
"origin + (origin / 100)",
"origin",
"(origin / 100)",
"origin",
"100",
"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 Scanner scanner = new Scanner(System.in);\n\n long origin = 100;\n long x = scanner.nextLong();\n\n long year = 0;\n\n while (origin < x) {\n origin = origin + (origin / 100);\n year++;\n }\n\n System.out.println(year);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long origin = 100;\n long x = scanner.nextLong();\n\n long year = 0;\n\n while (origin < x) {\n origin = origin + (origin / 100);\n year++;\n }\n\n System.out.println(year);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
long origin = 100;
long x = scanner.nextLong();
long year = 0;
while (origin < x) {
origin = origin + (origin / 100);
year++;
}
System.out.println(year);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
17,
41,
13,
17,
12,
13,
30,
42,
2,
2,
13,
17,
2,
13,
18,
13,
13,
30,
0,
13,
4,
18,
4,
18,
13,
17,
0,
13,
17,
29,
18,
13,
40,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
20,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
42,
2,
13,
17,
30,
41,
13,
13,
0,
13,
2,
13,
13,
0,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
279,
14
],
[
279,
15
],
[
15,
16
],
[
15,
17
],
[
279,
18
],
[
18,
19
],
[
18,
20
],
[
279,
21
],
[
21,
22
],
[
21,
23
],
[
279,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
27,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
40,
45
],
[
37,
46
],
[
46,
47
],
[
46,
48
],
[
26,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
279,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
279,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
279,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
279,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
84,
94
],
[
94,
95
],
[
95,
96
],
[
84,
97
],
[
98,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
79,
105
],
[
105,
106
],
[
77,
107
],
[
107,
108
],
[
279,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
123,
125
],
[
116,
126
],
[
126,
127
],
[
127,
128
],
[
116,
129
],
[
130,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
135,
136
],
[
111,
137
],
[
137,
138
],
[
109,
139
],
[
139,
140
],
[
279,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
148,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
155,
157
],
[
148,
158
],
[
158,
159
],
[
159,
160
],
[
148,
161
],
[
162,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
163,
167
],
[
167,
168
],
[
143,
169
],
[
169,
170
],
[
141,
171
],
[
171,
172
],
[
279,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
180,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
187,
189
],
[
180,
190
],
[
190,
191
],
[
191,
192
],
[
180,
193
],
[
194,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
195,
199
],
[
199,
200
],
[
175,
201
],
[
201,
202
],
[
173,
203
],
[
203,
204
],
[
279,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
208,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
212,
216
],
[
216,
217
],
[
216,
218
],
[
212,
219
],
[
219,
220
],
[
219,
221
],
[
207,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
226,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
232,
234
],
[
226,
235
],
[
235,
236
],
[
235,
237
],
[
207,
238
],
[
238,
239
],
[
205,
240
],
[
240,
241
],
[
205,
242
],
[
242,
243
],
[
279,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
249,
250
],
[
246,
251
],
[
251,
252
],
[
251,
253
],
[
246,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
254,
259
],
[
259,
260
],
[
259,
261
],
[
254,
262
],
[
262,
263
],
[
263,
264
],
[
254,
265
],
[
266,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
246,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
270,
275
],
[
244,
276
],
[
276,
277
],
[
0,
278
],
[
278,
279
],
[
278,
280
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\n\t\npublic class Main {\n\n\t/* several useful subroutines */\n\tprivate static BufferedReader brStdin = new BufferedReader(new InputStreamReader(System.in));\n\tprivate static String[] readBuf = null;\n\tprivate static int readPtr = 0;\n\tprivate static String getString() throws IOException {\n\t\twhile ( readBuf == null || readPtr >= readBuf.length ) {\n\t\t\treadBuf = brStdin.readLine().split(\" \");\n\t\t\treadPtr = 0;\n\t\t}\n\t\treturn readBuf[readPtr++];\n\t}\n\tprivate static int getInt() throws IOException {\n\t\treturn Integer.parseInt(getString());\n\t}\n\tprivate static long getLong() throws IOException {\n\t\treturn Long.parseLong(getString());\n\t}\n\tprivate static BigDecimal getBD() throws IOException {\n\t\treturn new BigDecimal(getString());\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static String[] getStringArray(int size) throws IOException {\n\t\tString stringArray[] = new String[size];\n\t\tfor (int i = 0; i < stringArray.length; i++) {\n\t\t\tstringArray[i] = getString();\n\t\t}\n\t\treturn stringArray;\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static int[] getIntArray(int size) throws IOException {\n\t\tint intArray[] = new int[size];\n\t\tfor (int i = 0; i < intArray.length; i++) {\n\t\t\tintArray[i] = getInt();\n\t\t}\n\t\treturn intArray;\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static long[] getLongArray(int size) throws IOException {\n\t\tlong longArray[] = new long[size];\n\t\tfor (int i = 0; i < longArray.length; i++) {\n\t\t\tlongArray[i] = getLong();\n\t\t}\n\t\treturn longArray;\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static BigDecimal[] getBDArray(int size) throws IOException {\n\t\tBigDecimal bdArray[] = new BigDecimal[size];\n\t\tfor (int i = 0; i < bdArray.length; i++) {\n\t\t\tbdArray[i] = getBD();\n\t\t}\n\t\treturn bdArray;\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static long calculateLCM(long a, long b) throws IOException {\n\t\tif ( a < b ) {\n\t\t\tlong t = a;\n\t\t\ta = b;\n\t\t\tb = t;\n\t\t}\n\t\twhile ( b > 0 ) {\n\t\t\tlong t = b;\n\t\t\tb = a % b;\n\t\t\ta = t;\n\t\t}\n\t\treturn a;\n\t}\n\n\t\n\t/* main routine */\n\t\n\tpublic static void main(String args[]) throws IOException {\n\t\tlong x = getLong();\n\t\tint y = 0;\n\t\tfor ( long d = 100 ; d < x ; y++ ) {\n\t\t\td *= 1.01;\n\t\t}\n\t\tSystem.out.println( y );\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"public class Main {\n\n\t/* several useful subroutines */\n\tprivate static BufferedReader brStdin = new BufferedReader(new InputStreamReader(System.in));\n\tprivate static String[] readBuf = null;\n\tprivate static int readPtr = 0;\n\tprivate static String getString() throws IOException {\n\t\twhile ( readBuf == null || readPtr >= readBuf.length ) {\n\t\t\treadBuf = brStdin.readLine().split(\" \");\n\t\t\treadPtr = 0;\n\t\t}\n\t\treturn readBuf[readPtr++];\n\t}\n\tprivate static int getInt() throws IOException {\n\t\treturn Integer.parseInt(getString());\n\t}\n\tprivate static long getLong() throws IOException {\n\t\treturn Long.parseLong(getString());\n\t}\n\tprivate static BigDecimal getBD() throws IOException {\n\t\treturn new BigDecimal(getString());\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static String[] getStringArray(int size) throws IOException {\n\t\tString stringArray[] = new String[size];\n\t\tfor (int i = 0; i < stringArray.length; i++) {\n\t\t\tstringArray[i] = getString();\n\t\t}\n\t\treturn stringArray;\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static int[] getIntArray(int size) throws IOException {\n\t\tint intArray[] = new int[size];\n\t\tfor (int i = 0; i < intArray.length; i++) {\n\t\t\tintArray[i] = getInt();\n\t\t}\n\t\treturn intArray;\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static long[] getLongArray(int size) throws IOException {\n\t\tlong longArray[] = new long[size];\n\t\tfor (int i = 0; i < longArray.length; i++) {\n\t\t\tlongArray[i] = getLong();\n\t\t}\n\t\treturn longArray;\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static BigDecimal[] getBDArray(int size) throws IOException {\n\t\tBigDecimal bdArray[] = new BigDecimal[size];\n\t\tfor (int i = 0; i < bdArray.length; i++) {\n\t\t\tbdArray[i] = getBD();\n\t\t}\n\t\treturn bdArray;\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static long calculateLCM(long a, long b) throws IOException {\n\t\tif ( a < b ) {\n\t\t\tlong t = a;\n\t\t\ta = b;\n\t\t\tb = t;\n\t\t}\n\t\twhile ( b > 0 ) {\n\t\t\tlong t = b;\n\t\t\tb = a % b;\n\t\t\ta = t;\n\t\t}\n\t\treturn a;\n\t}\n\n\t\n\t/* main routine */\n\t\n\tpublic static void main(String args[]) throws IOException {\n\t\tlong x = getLong();\n\t\tint y = 0;\n\t\tfor ( long d = 100 ; d < x ; y++ ) {\n\t\t\td *= 1.01;\n\t\t}\n\t\tSystem.out.println( y );\n\t}\n}",
"Main",
"/* several useful subroutines */\n\tprivate static BufferedReader brStdin = new BufferedReader(new InputStreamReader(System.in));",
"brStdin",
"new BufferedReader(new InputStreamReader(System.in))",
"private static String[] readBuf = null;",
"readBuf",
"null",
"private static int readPtr = 0;",
"readPtr",
"0",
"private static String getString() throws IOException {\n\t\twhile ( readBuf == null || readPtr >= readBuf.length ) {\n\t\t\treadBuf = brStdin.readLine().split(\" \");\n\t\t\treadPtr = 0;\n\t\t}\n\t\treturn readBuf[readPtr++];\n\t}",
"getString",
"{\n\t\twhile ( readBuf == null || readPtr >= readBuf.length ) {\n\t\t\treadBuf = brStdin.readLine().split(\" \");\n\t\t\treadPtr = 0;\n\t\t}\n\t\treturn readBuf[readPtr++];\n\t}",
"while ( readBuf == null || readPtr >= readBuf.length ) {\n\t\t\treadBuf = brStdin.readLine().split(\" \");\n\t\t\treadPtr = 0;\n\t\t}",
"readBuf == null || readPtr >= readBuf.length",
"readBuf == null",
"readBuf",
"null",
"readPtr >= readBuf.length",
"readPtr",
"readBuf.length",
"readBuf",
"readBuf.length",
"{\n\t\t\treadBuf = brStdin.readLine().split(\" \");\n\t\t\treadPtr = 0;\n\t\t}",
"readBuf = brStdin.readLine().split(\" \")",
"readBuf",
"brStdin.readLine().split(\" \")",
"brStdin.readLine().split",
"brStdin.readLine()",
"brStdin.readLine",
"brStdin",
"\" \"",
"readPtr = 0",
"readPtr",
"0",
"return readBuf[readPtr++];",
"readBuf[readPtr++]",
"readBuf",
"readPtr++",
"readPtr",
"private static int getInt() throws IOException {\n\t\treturn Integer.parseInt(getString());\n\t}",
"getInt",
"{\n\t\treturn Integer.parseInt(getString());\n\t}",
"return Integer.parseInt(getString());",
"Integer.parseInt(getString())",
"Integer.parseInt",
"Integer",
"getString()",
"getString",
"private static long getLong() throws IOException {\n\t\treturn Long.parseLong(getString());\n\t}",
"getLong",
"{\n\t\treturn Long.parseLong(getString());\n\t}",
"return Long.parseLong(getString());",
"Long.parseLong(getString())",
"Long.parseLong",
"Long",
"getString()",
"getString",
"private static BigDecimal getBD() throws IOException {\n\t\treturn new BigDecimal(getString());\n\t}",
"getBD",
"{\n\t\treturn new BigDecimal(getString());\n\t}",
"return new BigDecimal(getString());",
"new BigDecimal(getString())",
"@SuppressWarnings(\"unused\")\n\tprivate static String[] getStringArray(int size) throws IOException {\n\t\tString stringArray[] = new String[size];\n\t\tfor (int i = 0; i < stringArray.length; i++) {\n\t\t\tstringArray[i] = getString();\n\t\t}\n\t\treturn stringArray;\n\t}",
"getStringArray",
"{\n\t\tString stringArray[] = new String[size];\n\t\tfor (int i = 0; i < stringArray.length; i++) {\n\t\t\tstringArray[i] = getString();\n\t\t}\n\t\treturn stringArray;\n\t}",
"String stringArray[] = new String[size];",
"stringArray",
"new String[size]",
"size",
"for (int i = 0; i < stringArray.length; i++) {\n\t\t\tstringArray[i] = getString();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < stringArray.length",
"i",
"stringArray.length",
"stringArray",
"stringArray.length",
"i++",
"i++",
"i",
"{\n\t\t\tstringArray[i] = getString();\n\t\t}",
"{\n\t\t\tstringArray[i] = getString();\n\t\t}",
"stringArray[i] = getString()",
"stringArray[i]",
"stringArray",
"i",
"getString()",
"getString",
"return stringArray;",
"stringArray",
"int size",
"size",
"@SuppressWarnings(\"unused\")\n\tprivate static int[] getIntArray(int size) throws IOException {\n\t\tint intArray[] = new int[size];\n\t\tfor (int i = 0; i < intArray.length; i++) {\n\t\t\tintArray[i] = getInt();\n\t\t}\n\t\treturn intArray;\n\t}",
"getIntArray",
"{\n\t\tint intArray[] = new int[size];\n\t\tfor (int i = 0; i < intArray.length; i++) {\n\t\t\tintArray[i] = getInt();\n\t\t}\n\t\treturn intArray;\n\t}",
"int intArray[] = new int[size];",
"intArray",
"new int[size]",
"size",
"for (int i = 0; i < intArray.length; i++) {\n\t\t\tintArray[i] = getInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < intArray.length",
"i",
"intArray.length",
"intArray",
"intArray.length",
"i++",
"i++",
"i",
"{\n\t\t\tintArray[i] = getInt();\n\t\t}",
"{\n\t\t\tintArray[i] = getInt();\n\t\t}",
"intArray[i] = getInt()",
"intArray[i]",
"intArray",
"i",
"getInt()",
"getInt",
"return intArray;",
"intArray",
"int size",
"size",
"@SuppressWarnings(\"unused\")\n\tprivate static long[] getLongArray(int size) throws IOException {\n\t\tlong longArray[] = new long[size];\n\t\tfor (int i = 0; i < longArray.length; i++) {\n\t\t\tlongArray[i] = getLong();\n\t\t}\n\t\treturn longArray;\n\t}",
"getLongArray",
"{\n\t\tlong longArray[] = new long[size];\n\t\tfor (int i = 0; i < longArray.length; i++) {\n\t\t\tlongArray[i] = getLong();\n\t\t}\n\t\treturn longArray;\n\t}",
"long longArray[] = new long[size];",
"longArray",
"new long[size]",
"size",
"for (int i = 0; i < longArray.length; i++) {\n\t\t\tlongArray[i] = getLong();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < longArray.length",
"i",
"longArray.length",
"longArray",
"longArray.length",
"i++",
"i++",
"i",
"{\n\t\t\tlongArray[i] = getLong();\n\t\t}",
"{\n\t\t\tlongArray[i] = getLong();\n\t\t}",
"longArray[i] = getLong()",
"longArray[i]",
"longArray",
"i",
"getLong()",
"getLong",
"return longArray;",
"longArray",
"int size",
"size",
"@SuppressWarnings(\"unused\")\n\tprivate static BigDecimal[] getBDArray(int size) throws IOException {\n\t\tBigDecimal bdArray[] = new BigDecimal[size];\n\t\tfor (int i = 0; i < bdArray.length; i++) {\n\t\t\tbdArray[i] = getBD();\n\t\t}\n\t\treturn bdArray;\n\t}",
"getBDArray",
"{\n\t\tBigDecimal bdArray[] = new BigDecimal[size];\n\t\tfor (int i = 0; i < bdArray.length; i++) {\n\t\t\tbdArray[i] = getBD();\n\t\t}\n\t\treturn bdArray;\n\t}",
"BigDecimal bdArray[] = new BigDecimal[size];",
"bdArray",
"new BigDecimal[size]",
"size",
"for (int i = 0; i < bdArray.length; i++) {\n\t\t\tbdArray[i] = getBD();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < bdArray.length",
"i",
"bdArray.length",
"bdArray",
"bdArray.length",
"i++",
"i++",
"i",
"{\n\t\t\tbdArray[i] = getBD();\n\t\t}",
"{\n\t\t\tbdArray[i] = getBD();\n\t\t}",
"bdArray[i] = getBD()",
"bdArray[i]",
"bdArray",
"i",
"getBD()",
"getBD",
"return bdArray;",
"bdArray",
"int size",
"size",
"@SuppressWarnings(\"unused\")\n\tprivate static long calculateLCM(long a, long b) throws IOException {\n\t\tif ( a < b ) {\n\t\t\tlong t = a;\n\t\t\ta = b;\n\t\t\tb = t;\n\t\t}\n\t\twhile ( b > 0 ) {\n\t\t\tlong t = b;\n\t\t\tb = a % b;\n\t\t\ta = t;\n\t\t}\n\t\treturn a;\n\t}",
"calculateLCM",
"{\n\t\tif ( a < b ) {\n\t\t\tlong t = a;\n\t\t\ta = b;\n\t\t\tb = t;\n\t\t}\n\t\twhile ( b > 0 ) {\n\t\t\tlong t = b;\n\t\t\tb = a % b;\n\t\t\ta = t;\n\t\t}\n\t\treturn a;\n\t}",
"if ( a < b ) {\n\t\t\tlong t = a;\n\t\t\ta = b;\n\t\t\tb = t;\n\t\t}",
"a < b",
"a",
"b",
"{\n\t\t\tlong t = a;\n\t\t\ta = b;\n\t\t\tb = t;\n\t\t}",
"long t = a;",
"t",
"a",
"a = b",
"a",
"b",
"b = t",
"b",
"t",
"while ( b > 0 ) {\n\t\t\tlong t = b;\n\t\t\tb = a % b;\n\t\t\ta = t;\n\t\t}",
"b > 0",
"b",
"0",
"{\n\t\t\tlong t = b;\n\t\t\tb = a % b;\n\t\t\ta = t;\n\t\t}",
"long t = b;",
"t",
"b",
"b = a % b",
"b",
"a % b",
"a",
"b",
"a = t",
"a",
"t",
"return a;",
"a",
"long a",
"a",
"long b",
"b",
"public static void main(String args[]) throws IOException {\n\t\tlong x = getLong();\n\t\tint y = 0;\n\t\tfor ( long d = 100 ; d < x ; y++ ) {\n\t\t\td *= 1.01;\n\t\t}\n\t\tSystem.out.println( y );\n\t}",
"main",
"{\n\t\tlong x = getLong();\n\t\tint y = 0;\n\t\tfor ( long d = 100 ; d < x ; y++ ) {\n\t\t\td *= 1.01;\n\t\t}\n\t\tSystem.out.println( y );\n\t}",
"long x = getLong();",
"x",
"getLong()",
"getLong",
"int y = 0;",
"y",
"0",
"for ( long d = 100 ; d < x ; y++ ) {\n\t\t\td *= 1.01;\n\t\t}",
"long d = 100 ;",
"long d = 100 ;",
"d",
"100",
"d < x",
"d",
"x",
"y++",
"y++",
"y",
"{\n\t\t\td *= 1.01;\n\t\t}",
"{\n\t\t\td *= 1.01;\n\t\t}",
"d *= 1.01",
"d",
"1.01",
"System.out.println( y )",
"System.out.println",
"System.out",
"System",
"System.out",
"y",
"String args[]",
"args",
"public class Main {\n\n\t/* several useful subroutines */\n\tprivate static BufferedReader brStdin = new BufferedReader(new InputStreamReader(System.in));\n\tprivate static String[] readBuf = null;\n\tprivate static int readPtr = 0;\n\tprivate static String getString() throws IOException {\n\t\twhile ( readBuf == null || readPtr >= readBuf.length ) {\n\t\t\treadBuf = brStdin.readLine().split(\" \");\n\t\t\treadPtr = 0;\n\t\t}\n\t\treturn readBuf[readPtr++];\n\t}\n\tprivate static int getInt() throws IOException {\n\t\treturn Integer.parseInt(getString());\n\t}\n\tprivate static long getLong() throws IOException {\n\t\treturn Long.parseLong(getString());\n\t}\n\tprivate static BigDecimal getBD() throws IOException {\n\t\treturn new BigDecimal(getString());\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static String[] getStringArray(int size) throws IOException {\n\t\tString stringArray[] = new String[size];\n\t\tfor (int i = 0; i < stringArray.length; i++) {\n\t\t\tstringArray[i] = getString();\n\t\t}\n\t\treturn stringArray;\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static int[] getIntArray(int size) throws IOException {\n\t\tint intArray[] = new int[size];\n\t\tfor (int i = 0; i < intArray.length; i++) {\n\t\t\tintArray[i] = getInt();\n\t\t}\n\t\treturn intArray;\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static long[] getLongArray(int size) throws IOException {\n\t\tlong longArray[] = new long[size];\n\t\tfor (int i = 0; i < longArray.length; i++) {\n\t\t\tlongArray[i] = getLong();\n\t\t}\n\t\treturn longArray;\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static BigDecimal[] getBDArray(int size) throws IOException {\n\t\tBigDecimal bdArray[] = new BigDecimal[size];\n\t\tfor (int i = 0; i < bdArray.length; i++) {\n\t\t\tbdArray[i] = getBD();\n\t\t}\n\t\treturn bdArray;\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static long calculateLCM(long a, long b) throws IOException {\n\t\tif ( a < b ) {\n\t\t\tlong t = a;\n\t\t\ta = b;\n\t\t\tb = t;\n\t\t}\n\t\twhile ( b > 0 ) {\n\t\t\tlong t = b;\n\t\t\tb = a % b;\n\t\t\ta = t;\n\t\t}\n\t\treturn a;\n\t}\n\n\t\n\t/* main routine */\n\t\n\tpublic static void main(String args[]) throws IOException {\n\t\tlong x = getLong();\n\t\tint y = 0;\n\t\tfor ( long d = 100 ; d < x ; y++ ) {\n\t\t\td *= 1.01;\n\t\t}\n\t\tSystem.out.println( y );\n\t}\n}",
"public class Main {\n\n\t/* several useful subroutines */\n\tprivate static BufferedReader brStdin = new BufferedReader(new InputStreamReader(System.in));\n\tprivate static String[] readBuf = null;\n\tprivate static int readPtr = 0;\n\tprivate static String getString() throws IOException {\n\t\twhile ( readBuf == null || readPtr >= readBuf.length ) {\n\t\t\treadBuf = brStdin.readLine().split(\" \");\n\t\t\treadPtr = 0;\n\t\t}\n\t\treturn readBuf[readPtr++];\n\t}\n\tprivate static int getInt() throws IOException {\n\t\treturn Integer.parseInt(getString());\n\t}\n\tprivate static long getLong() throws IOException {\n\t\treturn Long.parseLong(getString());\n\t}\n\tprivate static BigDecimal getBD() throws IOException {\n\t\treturn new BigDecimal(getString());\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static String[] getStringArray(int size) throws IOException {\n\t\tString stringArray[] = new String[size];\n\t\tfor (int i = 0; i < stringArray.length; i++) {\n\t\t\tstringArray[i] = getString();\n\t\t}\n\t\treturn stringArray;\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static int[] getIntArray(int size) throws IOException {\n\t\tint intArray[] = new int[size];\n\t\tfor (int i = 0; i < intArray.length; i++) {\n\t\t\tintArray[i] = getInt();\n\t\t}\n\t\treturn intArray;\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static long[] getLongArray(int size) throws IOException {\n\t\tlong longArray[] = new long[size];\n\t\tfor (int i = 0; i < longArray.length; i++) {\n\t\t\tlongArray[i] = getLong();\n\t\t}\n\t\treturn longArray;\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static BigDecimal[] getBDArray(int size) throws IOException {\n\t\tBigDecimal bdArray[] = new BigDecimal[size];\n\t\tfor (int i = 0; i < bdArray.length; i++) {\n\t\t\tbdArray[i] = getBD();\n\t\t}\n\t\treturn bdArray;\n\t}\n\t@SuppressWarnings(\"unused\")\n\tprivate static long calculateLCM(long a, long b) throws IOException {\n\t\tif ( a < b ) {\n\t\t\tlong t = a;\n\t\t\ta = b;\n\t\t\tb = t;\n\t\t}\n\t\twhile ( b > 0 ) {\n\t\t\tlong t = b;\n\t\t\tb = a % b;\n\t\t\ta = t;\n\t\t}\n\t\treturn a;\n\t}\n\n\t\n\t/* main routine */\n\t\n\tpublic static void main(String args[]) throws IOException {\n\t\tlong x = getLong();\n\t\tint y = 0;\n\t\tfor ( long d = 100 ; d < x ; y++ ) {\n\t\t\td *= 1.01;\n\t\t}\n\t\tSystem.out.println( y );\n\t}\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
public class Main {
/* several useful subroutines */
private static BufferedReader brStdin = new BufferedReader(new InputStreamReader(System.in));
private static String[] readBuf = null;
private static int readPtr = 0;
private static String getString() throws IOException {
while ( readBuf == null || readPtr >= readBuf.length ) {
readBuf = brStdin.readLine().split(" ");
readPtr = 0;
}
return readBuf[readPtr++];
}
private static int getInt() throws IOException {
return Integer.parseInt(getString());
}
private static long getLong() throws IOException {
return Long.parseLong(getString());
}
private static BigDecimal getBD() throws IOException {
return new BigDecimal(getString());
}
@SuppressWarnings("unused")
private static String[] getStringArray(int size) throws IOException {
String stringArray[] = new String[size];
for (int i = 0; i < stringArray.length; i++) {
stringArray[i] = getString();
}
return stringArray;
}
@SuppressWarnings("unused")
private static int[] getIntArray(int size) throws IOException {
int intArray[] = new int[size];
for (int i = 0; i < intArray.length; i++) {
intArray[i] = getInt();
}
return intArray;
}
@SuppressWarnings("unused")
private static long[] getLongArray(int size) throws IOException {
long longArray[] = new long[size];
for (int i = 0; i < longArray.length; i++) {
longArray[i] = getLong();
}
return longArray;
}
@SuppressWarnings("unused")
private static BigDecimal[] getBDArray(int size) throws IOException {
BigDecimal bdArray[] = new BigDecimal[size];
for (int i = 0; i < bdArray.length; i++) {
bdArray[i] = getBD();
}
return bdArray;
}
@SuppressWarnings("unused")
private static long calculateLCM(long a, long b) throws IOException {
if ( a < b ) {
long t = a;
a = b;
b = t;
}
while ( b > 0 ) {
long t = b;
b = a % b;
a = t;
}
return a;
}
/* main routine */
public static void main(String args[]) throws IOException {
long x = getLong();
int y = 0;
for ( long d = 100 ; d < x ; y++ ) {
d *= 1.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,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
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
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] |
[
"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();\n\n\t\tdouble m = 100;\n\n\t\tint i;\n\n\t\tfor(i = 0; m < x; i++) {\n\t\t\tm = Math.floor(m * 1.01);\n\t\t}\n\n\t\tSystem.out.println(i);\n\n\t\tsc.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\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong();\n\n\t\tdouble m = 100;\n\n\t\tint i;\n\n\t\tfor(i = 0; m < x; i++) {\n\t\t\tm = Math.floor(m * 1.01);\n\t\t}\n\n\t\tSystem.out.println(i);\n\n\t\tsc.close();\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong();\n\n\t\tdouble m = 100;\n\n\t\tint i;\n\n\t\tfor(i = 0; m < x; i++) {\n\t\t\tm = Math.floor(m * 1.01);\n\t\t}\n\n\t\tSystem.out.println(i);\n\n\t\tsc.close();\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong();\n\n\t\tdouble m = 100;\n\n\t\tint i;\n\n\t\tfor(i = 0; m < x; i++) {\n\t\t\tm = Math.floor(m * 1.01);\n\t\t}\n\n\t\tSystem.out.println(i);\n\n\t\tsc.close();\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double m = 100;",
"m",
"100",
"int i;",
"i",
"for(i = 0; m < x; i++) {\n\t\t\tm = Math.floor(m * 1.01);\n\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"m < x",
"m",
"x",
"i++",
"i++",
"i",
"{\n\t\t\tm = Math.floor(m * 1.01);\n\t\t}",
"{\n\t\t\tm = Math.floor(m * 1.01);\n\t\t}",
"m = Math.floor(m * 1.01)",
"m",
"Math.floor(m * 1.01)",
"Math.floor",
"Math",
"m * 1.01",
"m",
"1.01",
"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\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong();\n\n\t\tdouble m = 100;\n\n\t\tint i;\n\n\t\tfor(i = 0; m < x; i++) {\n\t\t\tm = Math.floor(m * 1.01);\n\t\t}\n\n\t\tSystem.out.println(i);\n\n\t\tsc.close();\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong x = sc.nextLong();\n\n\t\tdouble m = 100;\n\n\t\tint i;\n\n\t\tfor(i = 0; m < x; i++) {\n\t\t\tm = Math.floor(m * 1.01);\n\t\t}\n\n\t\tSystem.out.println(i);\n\n\t\tsc.close();\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
double m = 100;
int i;
for(i = 0; m < x; i++) {
m = Math.floor(m * 1.01);
}
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,
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
],
[
6,
29
],
[
29,
30
]
] |
[
"import java.util.*;\nclass Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long x = scan.nextLong();\n long y = 100;\n int year = 0;\n outloop:for(int i = 1; ;i++){\n y = y + (y/100);\n if (y>=x){\n year = i;\n break outloop;\n }\n }\n System.out.println(year);\n }\n }",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long x = scan.nextLong();\n long y = 100;\n int year = 0;\n outloop:for(int i = 1; ;i++){\n y = y + (y/100);\n if (y>=x){\n year = i;\n break outloop;\n }\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 long y = 100;\n int year = 0;\n outloop:for(int i = 1; ;i++){\n y = y + (y/100);\n if (y>=x){\n year = i;\n break outloop;\n }\n }\n System.out.println(year);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n long x = scan.nextLong();\n long y = 100;\n int year = 0;\n outloop:for(int i = 1; ;i++){\n y = y + (y/100);\n if (y>=x){\n year = i;\n break outloop;\n }\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",
"long y = 100;",
"y",
"100",
"int year = 0;",
"year",
"0",
"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 scan = new Scanner(System.in);
long x = scan.nextLong();
long y = 100;
int year = 0;
outloop:for(int i = 1; ;i++){
y = y + (y/100);
if (y>=x){
year = i;
break outloop;
}
}
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,
11,
1,
30,
30,
0,
13,
2,
13,
2,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
3,
30,
40,
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
],
[
26,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
38,
45
],
[
34,
46
],
[
46,
47
],
[
47,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tlong x=scan.nextLong();\n\t\tlong m=100;\n\t\tlong y=1;\n\t\tfor(;;) {\n\t\t\tm=m+m/100;//m=m*101/100だとオーバーフローする可能性\n\t\t\tif(m>=x) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\ty++;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tlong x=scan.nextLong();\n\t\tlong m=100;\n\t\tlong y=1;\n\t\tfor(;;) {\n\t\t\tm=m+m/100;//m=m*101/100だとオーバーフローする可能性\n\t\t\tif(m>=x) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\ty++;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tlong x=scan.nextLong();\n\t\tlong m=100;\n\t\tlong y=1;\n\t\tfor(;;) {\n\t\t\tm=m+m/100;//m=m*101/100だとオーバーフローする可能性\n\t\t\tif(m>=x) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\ty++;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan=new Scanner(System.in);\n\t\tlong x=scan.nextLong();\n\t\tlong m=100;\n\t\tlong y=1;\n\t\tfor(;;) {\n\t\t\tm=m+m/100;//m=m*101/100だとオーバーフローする可能性\n\t\t\tif(m>=x) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\ty++;\n\t\t\t}\n\t\t}\n\t}",
"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",
"long y=1;",
"y",
"1",
"for(;;) {\n\t\t\tm=m+m/100;//m=m*101/100だとオーバーフローする可能性\n\t\t\tif(m>=x) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\ty++;\n\t\t\t}\n\t\t}",
";",
"{\n\t\t\tm=m+m/100;//m=m*101/100だとオーバーフローする可能性\n\t\t\tif(m>=x) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\ty++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tm=m+m/100;//m=m*101/100だとオーバーフローする可能性\n\t\t\tif(m>=x) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\ty++;\n\t\t\t}\n\t\t}",
"m=m+m/100",
"m",
"m+m/100",
"m",
"m/100",
"m",
"100",
"if(m>=x) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\ty++;\n\t\t\t}",
"m>=x",
"m",
"x",
"{\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tbreak;\n\t\t\t}",
"System.out.println(y)",
"System.out.println",
"System.out",
"System",
"System.out",
"y",
"break;",
"{\n\t\t\t\ty++;\n\t\t\t}",
"y++",
"y",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tlong x=scan.nextLong();\n\t\tlong m=100;\n\t\tlong y=1;\n\t\tfor(;;) {\n\t\t\tm=m+m/100;//m=m*101/100だとオーバーフローする可能性\n\t\t\tif(m>=x) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\ty++;\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tlong x=scan.nextLong();\n\t\tlong m=100;\n\t\tlong y=1;\n\t\tfor(;;) {\n\t\t\tm=m+m/100;//m=m*101/100だとオーバーフローする可能性\n\t\t\tif(m>=x) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\ty++;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner scan=new Scanner(System.in);
long x=scan.nextLong();
long m=100;
long y=1;
for(;;) {
m=m+m/100;//m=m*101/100だとオーバーフローする可能性
if(m>=x) {
System.out.println(y);
break;
}
else {
y++;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
0,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
11,
1,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
14,
2,
13,
13,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
63,
8
],
[
63,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
37,
38
],
[
31,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
40,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
11,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
9,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] |
[
"import java.util.*;\nimport java.lang.*;\n\npublic class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n //金額X\n final long X ;\n // 入れる値\n long tempX=100;\n\n X = sc.nextLong();\n\n int i = 0;\n int flag = 0;\n for (; flag == 0; i++) {\n tempX = (long) ( tempX* 1.01);\t\n if(tempX>=X){\n flag=1;\n }\n }\n\t\tSystem.out.println(i);\n}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n //金額X\n final long X ;\n // 入れる値\n long tempX=100;\n\n X = sc.nextLong();\n\n int i = 0;\n int flag = 0;\n for (; flag == 0; i++) {\n tempX = (long) ( tempX* 1.01);\t\n if(tempX>=X){\n flag=1;\n }\n }\n\t\tSystem.out.println(i);\n}\n}",
"Main",
"public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n //金額X\n final long X ;\n // 入れる値\n long tempX=100;\n\n X = sc.nextLong();\n\n int i = 0;\n int flag = 0;\n for (; flag == 0; i++) {\n tempX = (long) ( tempX* 1.01);\t\n if(tempX>=X){\n flag=1;\n }\n }\n\t\tSystem.out.println(i);\n}",
"main",
"{\n final Scanner sc = new Scanner(System.in);\n //金額X\n final long X ;\n // 入れる値\n long tempX=100;\n\n X = sc.nextLong();\n\n int i = 0;\n int flag = 0;\n for (; flag == 0; i++) {\n tempX = (long) ( tempX* 1.01);\t\n if(tempX>=X){\n flag=1;\n }\n }\n\t\tSystem.out.println(i);\n}",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final long X ;",
"X",
"long tempX=100;",
"tempX",
"100",
"X = sc.nextLong()",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int i = 0;",
"i",
"0",
"int flag = 0;",
"flag",
"0",
"for (; flag == 0; i++) {\n tempX = (long) ( tempX* 1.01);\t\n if(tempX>=X){\n flag=1;\n }\n }",
";",
"flag == 0",
"flag",
"0",
"i++",
"i++",
"i",
"{\n tempX = (long) ( tempX* 1.01);\t\n if(tempX>=X){\n flag=1;\n }\n }",
"{\n tempX = (long) ( tempX* 1.01);\t\n if(tempX>=X){\n flag=1;\n }\n }",
"tempX = (long) ( tempX* 1.01)",
"tempX",
"(long) ( tempX* 1.01)",
"tempX",
"1.01",
"if(tempX>=X){\n flag=1;\n }",
"tempX>=X",
"tempX",
"X",
"{\n flag=1;\n }",
"flag=1",
"flag",
"1",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"final String[] args",
"args",
"public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n //金額X\n final long X ;\n // 入れる値\n long tempX=100;\n\n X = sc.nextLong();\n\n int i = 0;\n int flag = 0;\n for (; flag == 0; i++) {\n tempX = (long) ( tempX* 1.01);\t\n if(tempX>=X){\n flag=1;\n }\n }\n\t\tSystem.out.println(i);\n}\n}",
"public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n //金額X\n final long X ;\n // 入れる値\n long tempX=100;\n\n X = sc.nextLong();\n\n int i = 0;\n int flag = 0;\n for (; flag == 0; i++) {\n tempX = (long) ( tempX* 1.01);\t\n if(tempX>=X){\n flag=1;\n }\n }\n\t\tSystem.out.println(i);\n}\n}",
"Main"
] |
import java.util.*;
import java.lang.*;
public class Main {
public static void main(final String[] args) {
final Scanner sc = new Scanner(System.in);
//金額X
final long X ;
// 入れる値
long tempX=100;
X = sc.nextLong();
int i = 0;
int flag = 0;
for (; flag == 0; i++) {
tempX = (long) ( tempX* 1.01);
if(tempX>=X){
flag=1;
}
}
System.out.println(i);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
0,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
40,
13,
41,
13,
17,
0,
13,
2,
13,
17,
0,
13,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
3,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
57,
5
],
[
57,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
28,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
28,
39
],
[
39,
40
],
[
39,
41
],
[
28,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
46,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = 0;\n\t\tn = sc.nextLong();\n\n\t\tlong a = 100;\n\t\tint ans = 0;\n\n\t\twhile (true) {\n\t\t\tans++;\n\t\t\tlong tmp = 0;\n\t\t\ttmp = (long) (a * 0.01);\n\t\t\ta += tmp;\n\n\t\t\tif(a >= n){\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = 0;\n\t\tn = sc.nextLong();\n\n\t\tlong a = 100;\n\t\tint ans = 0;\n\n\t\twhile (true) {\n\t\t\tans++;\n\t\t\tlong tmp = 0;\n\t\t\ttmp = (long) (a * 0.01);\n\t\t\ta += tmp;\n\n\t\t\tif(a >= n){\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = 0;\n\t\tn = sc.nextLong();\n\n\t\tlong a = 100;\n\t\tint ans = 0;\n\n\t\twhile (true) {\n\t\t\tans++;\n\t\t\tlong tmp = 0;\n\t\t\ttmp = (long) (a * 0.01);\n\t\t\ta += tmp;\n\n\t\t\tif(a >= n){\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = 0;\n\t\tn = sc.nextLong();\n\n\t\tlong a = 100;\n\t\tint ans = 0;\n\n\t\twhile (true) {\n\t\t\tans++;\n\t\t\tlong tmp = 0;\n\t\t\ttmp = (long) (a * 0.01);\n\t\t\ta += tmp;\n\n\t\t\tif(a >= n){\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = 0;",
"n",
"0",
"n = sc.nextLong()",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long a = 100;",
"a",
"100",
"int ans = 0;",
"ans",
"0",
"while (true) {\n\t\t\tans++;\n\t\t\tlong tmp = 0;\n\t\t\ttmp = (long) (a * 0.01);\n\t\t\ta += tmp;\n\n\t\t\tif(a >= n){\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}",
"true",
"{\n\t\t\tans++;\n\t\t\tlong tmp = 0;\n\t\t\ttmp = (long) (a * 0.01);\n\t\t\ta += tmp;\n\n\t\t\tif(a >= n){\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}",
"ans++",
"ans",
"long tmp = 0;",
"tmp",
"0",
"tmp = (long) (a * 0.01)",
"tmp",
"(long) (a * 0.01)",
"a",
"0.01",
"a += tmp",
"a",
"tmp",
"if(a >= n){\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\tbreak;\n\t\t\t}",
"a >= n",
"a",
"n",
"{\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\tbreak;\n\t\t\t}",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"break;",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = 0;\n\t\tn = sc.nextLong();\n\n\t\tlong a = 100;\n\t\tint ans = 0;\n\n\t\twhile (true) {\n\t\t\tans++;\n\t\t\tlong tmp = 0;\n\t\t\ttmp = (long) (a * 0.01);\n\t\t\ta += tmp;\n\n\t\t\tif(a >= n){\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\tbreak;\n\t\t\t}\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\tlong n = 0;\n\t\tn = sc.nextLong();\n\n\t\tlong a = 100;\n\t\tint ans = 0;\n\n\t\twhile (true) {\n\t\t\tans++;\n\t\t\tlong tmp = 0;\n\t\t\ttmp = (long) (a * 0.01);\n\t\t\ta += tmp;\n\n\t\t\tif(a >= n){\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long n = 0;
n = sc.nextLong();
long a = 100;
int ans = 0;
while (true) {
ans++;
long tmp = 0;
tmp = (long) (a * 0.01);
a += tmp;
if(a >= n){
System.out.println(ans);
break;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
4,
18,
13,
17,
5,
13,
30,
4,
18,
13,
4,
18,
13,
17,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
2,
2,
13,
17,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
15,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
15,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
36,
48
],
[
48,
49
],
[
48,
50
],
[
36,
51
],
[
51,
52
],
[
51,
53
],
[
36,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
58,
68
],
[
68,
69
],
[
36,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
12,
76
],
[
76,
77
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n \nclass Main {\n public static void main(final String[] args) throws Exception {\n \n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in));) {\n long N = Long.parseLong(br.readLine());\n long ans = 0;\n long base = 100;\n while (base < N) {\n base = base + (base * 1 / 100);\n ans++;\n }\n \n System.out.println(ans);\n } catch (IOException | NumberFormatException e) {\n e.printStackTrace();\n System.exit(0);\n } catch (final Exception e) {\n e.printStackTrace();\n System.exit(0);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n public static void main(final String[] args) throws Exception {\n \n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in));) {\n long N = Long.parseLong(br.readLine());\n long ans = 0;\n long base = 100;\n while (base < N) {\n base = base + (base * 1 / 100);\n ans++;\n }\n \n System.out.println(ans);\n } catch (IOException | NumberFormatException e) {\n e.printStackTrace();\n System.exit(0);\n } catch (final Exception e) {\n e.printStackTrace();\n System.exit(0);\n }\n }\n}",
"Main",
"public static void main(final String[] args) throws Exception {\n \n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in));) {\n long N = Long.parseLong(br.readLine());\n long ans = 0;\n long base = 100;\n while (base < N) {\n base = base + (base * 1 / 100);\n ans++;\n }\n \n System.out.println(ans);\n } catch (IOException | NumberFormatException e) {\n e.printStackTrace();\n System.exit(0);\n } catch (final Exception e) {\n e.printStackTrace();\n System.exit(0);\n }\n }",
"main",
"{\n \n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in));) {\n long N = Long.parseLong(br.readLine());\n long ans = 0;\n long base = 100;\n while (base < N) {\n base = base + (base * 1 / 100);\n ans++;\n }\n \n System.out.println(ans);\n } catch (IOException | NumberFormatException e) {\n e.printStackTrace();\n System.exit(0);\n } catch (final Exception e) {\n e.printStackTrace();\n System.exit(0);\n }\n }",
"try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in));) {\n long N = Long.parseLong(br.readLine());\n long ans = 0;\n long base = 100;\n while (base < N) {\n base = base + (base * 1 / 100);\n ans++;\n }\n \n System.out.println(ans);\n } catch (IOException | NumberFormatException e) {\n e.printStackTrace();\n System.exit(0);\n } catch (final Exception e) {\n e.printStackTrace();\n System.exit(0);\n }",
"catch (IOException | NumberFormatException e) {\n e.printStackTrace();\n System.exit(0);\n }",
"IOException | NumberFormatException e",
"{\n e.printStackTrace();\n System.exit(0);\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"System.exit(0)",
"System.exit",
"System",
"0",
"catch (final Exception e) {\n e.printStackTrace();\n System.exit(0);\n }",
"final Exception e",
"{\n e.printStackTrace();\n System.exit(0);\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"System.exit(0)",
"System.exit",
"System",
"0",
"{\n long N = Long.parseLong(br.readLine());\n long ans = 0;\n long base = 100;\n while (base < N) {\n base = base + (base * 1 / 100);\n ans++;\n }\n \n System.out.println(ans);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in))",
"new BufferedReader(new InputStreamReader(System.in))",
"long N = Long.parseLong(br.readLine());",
"N",
"Long.parseLong(br.readLine())",
"Long.parseLong",
"Long",
"br.readLine()",
"br.readLine",
"br",
"long ans = 0;",
"ans",
"0",
"long base = 100;",
"base",
"100",
"while (base < N) {\n base = base + (base * 1 / 100);\n ans++;\n }",
"base < N",
"base",
"N",
"{\n base = base + (base * 1 / 100);\n ans++;\n }",
"base = base + (base * 1 / 100)",
"base",
"base + (base * 1 / 100)",
"base",
"(base * 1 / 100)",
"base * 1",
"base",
"1",
"100",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"final String[] args",
"args"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(final String[] args) throws Exception {
try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in));) {
long N = Long.parseLong(br.readLine());
long ans = 0;
long base = 100;
while (base < N) {
base = base + (base * 1 / 100);
ans++;
}
System.out.println(ans);
} catch (IOException | NumberFormatException e) {
e.printStackTrace();
System.exit(0);
} catch (final Exception e) {
e.printStackTrace();
System.exit(0);
}
}
}
|
[
7,
15,
13,
17,
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,
13,
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
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
27,
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 scan = new Scanner(System.in);\n long x = scan.nextLong();\n long z = 100;\n int sum = 0;\n while (z<x){\n long g = (long) z/100;\n z+=g;\n sum += 1;\n }\n System.out.println(sum);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long x = scan.nextLong();\n long z = 100;\n int sum = 0;\n while (z<x){\n long g = (long) z/100;\n z+=g;\n sum += 1;\n }\n System.out.println(sum);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long x = scan.nextLong();\n long z = 100;\n int sum = 0;\n while (z<x){\n long g = (long) z/100;\n z+=g;\n sum += 1;\n }\n System.out.println(sum);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n long x = scan.nextLong();\n long z = 100;\n int sum = 0;\n while (z<x){\n long g = (long) z/100;\n z+=g;\n sum += 1;\n }\n System.out.println(sum);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long x = scan.nextLong();",
"x",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long z = 100;",
"z",
"100",
"int sum = 0;",
"sum",
"0",
"while (z<x){\n long g = (long) z/100;\n z+=g;\n sum += 1;\n }",
"z<x",
"z",
"x",
"{\n long g = (long) z/100;\n z+=g;\n sum += 1;\n }",
"long g = (long) z/100;",
"g",
"(long) z/100",
"(long) z",
"100",
"z+=g",
"z",
"g",
"sum += 1",
"sum",
"1",
"System.out.println(sum)",
"System.out.println",
"System.out",
"System",
"System.out",
"sum",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long x = scan.nextLong();\n long z = 100;\n int sum = 0;\n while (z<x){\n long g = (long) z/100;\n z+=g;\n sum += 1;\n }\n System.out.println(sum);\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 z = 100;\n int sum = 0;\n while (z<x){\n long g = (long) z/100;\n z+=g;\n sum += 1;\n }\n System.out.println(sum);\n }\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
long x = scan.nextLong();
long z = 100;
int sum = 0;
while (z<x){
long g = (long) z/100;
z+=g;
sum += 1;
}
System.out.println(sum);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
4,
18,
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
],
[
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
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
30,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n\n\n long havingMoney = 100;\n long pastYear = 0;\n Scanner sc = new Scanner(System.in);\n long target = Long.parseLong(sc.next());\n\n while(havingMoney < target){\n havingMoney = (long) (havingMoney*1.01);\n pastYear++;\n }\n System.out.println(pastYear);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n\n\n long havingMoney = 100;\n long pastYear = 0;\n Scanner sc = new Scanner(System.in);\n long target = Long.parseLong(sc.next());\n\n while(havingMoney < target){\n havingMoney = (long) (havingMoney*1.01);\n pastYear++;\n }\n System.out.println(pastYear);\n }\n}",
"Main",
"public static void main(String[] args) {\n\n\n long havingMoney = 100;\n long pastYear = 0;\n Scanner sc = new Scanner(System.in);\n long target = Long.parseLong(sc.next());\n\n while(havingMoney < target){\n havingMoney = (long) (havingMoney*1.01);\n pastYear++;\n }\n System.out.println(pastYear);\n }",
"main",
"{\n\n\n long havingMoney = 100;\n long pastYear = 0;\n Scanner sc = new Scanner(System.in);\n long target = Long.parseLong(sc.next());\n\n while(havingMoney < target){\n havingMoney = (long) (havingMoney*1.01);\n pastYear++;\n }\n System.out.println(pastYear);\n }",
"long havingMoney = 100;",
"havingMoney",
"100",
"long pastYear = 0;",
"pastYear",
"0",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long target = Long.parseLong(sc.next());",
"target",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"while(havingMoney < target){\n havingMoney = (long) (havingMoney*1.01);\n pastYear++;\n }",
"havingMoney < target",
"havingMoney",
"target",
"{\n havingMoney = (long) (havingMoney*1.01);\n pastYear++;\n }",
"havingMoney = (long) (havingMoney*1.01)",
"havingMoney",
"(long) (havingMoney*1.01)",
"havingMoney",
"1.01",
"pastYear++",
"pastYear",
"System.out.println(pastYear)",
"System.out.println",
"System.out",
"System",
"System.out",
"pastYear",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\n\n long havingMoney = 100;\n long pastYear = 0;\n Scanner sc = new Scanner(System.in);\n long target = Long.parseLong(sc.next());\n\n while(havingMoney < target){\n havingMoney = (long) (havingMoney*1.01);\n pastYear++;\n }\n System.out.println(pastYear);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\n\n long havingMoney = 100;\n long pastYear = 0;\n Scanner sc = new Scanner(System.in);\n long target = Long.parseLong(sc.next());\n\n while(havingMoney < target){\n havingMoney = (long) (havingMoney*1.01);\n pastYear++;\n }\n System.out.println(pastYear);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
long havingMoney = 100;
long pastYear = 0;
Scanner sc = new Scanner(System.in);
long target = Long.parseLong(sc.next());
while(havingMoney < target){
havingMoney = (long) (havingMoney*1.01);
pastYear++;
}
System.out.println(pastYear);
}
}
|
[
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,
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
],
[
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
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
25,
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
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] |
[
"//b_1_percent\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong yen_at_bank = 100;\n\t\tint year = 0;\n\t\t\n\t\t\n\t\twhile(true) {\n\t\t\tyear++;\n\t\t\tyen_at_bank = yen_at_bank + yen_at_bank / 100;\n\t\t\tif(yen_at_bank >= x) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong yen_at_bank = 100;\n\t\tint year = 0;\n\t\t\n\t\t\n\t\twhile(true) {\n\t\t\tyear++;\n\t\t\tyen_at_bank = yen_at_bank + yen_at_bank / 100;\n\t\t\tif(yen_at_bank >= x) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong yen_at_bank = 100;\n\t\tint year = 0;\n\t\t\n\t\t\n\t\twhile(true) {\n\t\t\tyear++;\n\t\t\tyen_at_bank = yen_at_bank + yen_at_bank / 100;\n\t\t\tif(yen_at_bank >= x) {\n\t\t\t\tSystem.out.println(year);\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 yen_at_bank = 100;\n\t\tint year = 0;\n\t\t\n\t\t\n\t\twhile(true) {\n\t\t\tyear++;\n\t\t\tyen_at_bank = yen_at_bank + yen_at_bank / 100;\n\t\t\tif(yen_at_bank >= x) {\n\t\t\t\tSystem.out.println(year);\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 yen_at_bank = 100;",
"yen_at_bank",
"100",
"int year = 0;",
"year",
"0",
"while(true) {\n\t\t\tyear++;\n\t\t\tyen_at_bank = yen_at_bank + yen_at_bank / 100;\n\t\t\tif(yen_at_bank >= x) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tyear++;\n\t\t\tyen_at_bank = yen_at_bank + yen_at_bank / 100;\n\t\t\tif(yen_at_bank >= x) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"year++",
"year",
"yen_at_bank = yen_at_bank + yen_at_bank / 100",
"yen_at_bank",
"yen_at_bank + yen_at_bank / 100",
"yen_at_bank",
"yen_at_bank / 100",
"yen_at_bank",
"100",
"if(yen_at_bank >= x) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\treturn;\n\t\t\t}",
"yen_at_bank >= x",
"yen_at_bank",
"x",
"{\n\t\t\t\tSystem.out.println(year);\n\t\t\t\treturn;\n\t\t\t}",
"System.out.println(year)",
"System.out.println",
"System.out",
"System",
"System.out",
"year",
"return;",
"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 yen_at_bank = 100;\n\t\tint year = 0;\n\t\t\n\t\t\n\t\twhile(true) {\n\t\t\tyear++;\n\t\t\tyen_at_bank = yen_at_bank + yen_at_bank / 100;\n\t\t\tif(yen_at_bank >= x) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong yen_at_bank = 100;\n\t\tint year = 0;\n\t\t\n\t\t\n\t\twhile(true) {\n\t\t\tyear++;\n\t\t\tyen_at_bank = yen_at_bank + yen_at_bank / 100;\n\t\t\tif(yen_at_bank >= x) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] |
//b_1_percent
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
long yen_at_bank = 100;
int year = 0;
while(true) {
year++;
yen_at_bank = yen_at_bank + yen_at_bank / 100;
if(yen_at_bank >= x) {
System.out.println(year);
return;
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
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
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] |
[
"import java.util.Scanner;\npublic class Main {\n \n\tpublic static void main(String[] args) {\n\t\tScanner stdIn =new Scanner(System.in);\n\t\tlong X =stdIn.nextLong();\n\t\tlong Y=100;\n\t\tlong i;\n\t\t\n\t\tfor(i=0;Y<X;i++) {\n\t\t\tY=(long) (Y*1.01);\n\t\t\tY=Y/1;\n\t\t}\n\t\tSystem.out.println(i);\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 Y=100;\n\t\tlong i;\n\t\t\n\t\tfor(i=0;Y<X;i++) {\n\t\t\tY=(long) (Y*1.01);\n\t\t\tY=Y/1;\n\t\t}\n\t\tSystem.out.println(i);\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 Y=100;\n\t\tlong i;\n\t\t\n\t\tfor(i=0;Y<X;i++) {\n\t\t\tY=(long) (Y*1.01);\n\t\t\tY=Y/1;\n\t\t}\n\t\tSystem.out.println(i);\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 Y=100;\n\t\tlong i;\n\t\t\n\t\tfor(i=0;Y<X;i++) {\n\t\t\tY=(long) (Y*1.01);\n\t\t\tY=Y/1;\n\t\t}\n\t\tSystem.out.println(i);\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 Y=100;",
"Y",
"100",
"long i;",
"i",
"for(i=0;Y<X;i++) {\n\t\t\tY=(long) (Y*1.01);\n\t\t\tY=Y/1;\n\t\t}",
"i=0;",
"i=0",
"i",
"0",
"Y<X",
"Y",
"X",
"i++",
"i++",
"i",
"{\n\t\t\tY=(long) (Y*1.01);\n\t\t\tY=Y/1;\n\t\t}",
"{\n\t\t\tY=(long) (Y*1.01);\n\t\t\tY=Y/1;\n\t\t}",
"Y=(long) (Y*1.01)",
"Y",
"(long) (Y*1.01)",
"Y",
"1.01",
"Y=Y/1",
"Y",
"Y/1",
"Y",
"1",
"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 stdIn =new Scanner(System.in);\n\t\tlong X =stdIn.nextLong();\n\t\tlong Y=100;\n\t\tlong i;\n\t\t\n\t\tfor(i=0;Y<X;i++) {\n\t\t\tY=(long) (Y*1.01);\n\t\t\tY=Y/1;\n\t\t}\n\t\tSystem.out.println(i);\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 Y=100;\n\t\tlong i;\n\t\t\n\t\tfor(i=0;Y<X;i++) {\n\t\t\tY=(long) (Y*1.01);\n\t\t\tY=Y/1;\n\t\t}\n\t\tSystem.out.println(i);\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 Y=100;
long i;
for(i=0;Y<X;i++) {
Y=(long) (Y*1.01);
Y=Y/1;
}
System.out.println(i);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
41,
13,
17,
0,
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
],
[
46,
5
],
[
46,
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
],
[
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
],
[
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\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x,ans=0,mon=100;\n\t\tx = sc.nextLong();\n\t\twhile(mon<x) {\n\t\t\tmon+=mon*0.01;\n\t\t\tans++;\n\t\t}\n\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,ans=0,mon=100;\n\t\tx = sc.nextLong();\n\t\twhile(mon<x) {\n\t\t\tmon+=mon*0.01;\n\t\t\tans++;\n\t\t}\n\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,ans=0,mon=100;\n\t\tx = sc.nextLong();\n\t\twhile(mon<x) {\n\t\t\tmon+=mon*0.01;\n\t\t\tans++;\n\t\t}\n\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x,ans=0,mon=100;\n\t\tx = sc.nextLong();\n\t\twhile(mon<x) {\n\t\t\tmon+=mon*0.01;\n\t\t\tans++;\n\t\t}\n\tSystem.out.println(ans);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x",
"x",
"ans=0",
"ans",
"0",
"mon=100;",
"mon",
"100",
"x = sc.nextLong()",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"while(mon<x) {\n\t\t\tmon+=mon*0.01;\n\t\t\tans++;\n\t\t}",
"mon<x",
"mon",
"x",
"{\n\t\t\tmon+=mon*0.01;\n\t\t\tans++;\n\t\t}",
"mon+=mon*0.01",
"mon",
"mon*0.01",
"mon",
"0.01",
"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,ans=0,mon=100;\n\t\tx = sc.nextLong();\n\t\twhile(mon<x) {\n\t\t\tmon+=mon*0.01;\n\t\t\tans++;\n\t\t}\n\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,ans=0,mon=100;\n\t\tx = sc.nextLong();\n\t\twhile(mon<x) {\n\t\t\tmon+=mon*0.01;\n\t\t\tans++;\n\t\t}\n\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,ans=0,mon=100;
x = sc.nextLong();
while(mon<x) {
mon+=mon*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,
42,
2,
13,
13,
30,
0,
13,
2,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
6,
43
],
[
43,
44
]
] |
[
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long goal = sc.nextLong();\n long yen = 100;\n int ans = 0;\n while(yen < goal) {\n yen = yen + (yen / 100);\n ans++;\n }\n System.out.println(ans);\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 goal = sc.nextLong();\n long yen = 100;\n int ans = 0;\n while(yen < goal) {\n yen = yen + (yen / 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 long goal = sc.nextLong();\n long yen = 100;\n int ans = 0;\n while(yen < goal) {\n yen = yen + (yen / 100);\n ans++;\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long goal = sc.nextLong();\n long yen = 100;\n int ans = 0;\n while(yen < goal) {\n yen = yen + (yen / 100);\n ans++;\n }\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long goal = sc.nextLong();",
"goal",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long yen = 100;",
"yen",
"100",
"int ans = 0;",
"ans",
"0",
"while(yen < goal) {\n yen = yen + (yen / 100);\n ans++;\n }",
"yen < goal",
"yen",
"goal",
"{\n yen = yen + (yen / 100);\n ans++;\n }",
"yen = yen + (yen / 100)",
"yen",
"yen + (yen / 100)",
"yen",
"(yen / 100)",
"yen",
"100",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
] |
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long goal = sc.nextLong();
long yen = 100;
int ans = 0;
while(yen < goal) {
yen = yen + (yen / 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,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
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
],
[
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
],
[
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\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tlong X = input.nextLong();\n\t\tlong yokin = 100;\n\t\tint i=0;\n\t\t\n\t\tfor(i=0;yokin<X;i++) {\n\t\t\tyokin+= (long)(yokin*0.01);\n\t\t}\n\t\tSystem.out.println(i);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tlong X = input.nextLong();\n\t\tlong yokin = 100;\n\t\tint i=0;\n\t\t\n\t\tfor(i=0;yokin<X;i++) {\n\t\t\tyokin+= (long)(yokin*0.01);\n\t\t}\n\t\tSystem.out.println(i);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tlong X = input.nextLong();\n\t\tlong yokin = 100;\n\t\tint i=0;\n\t\t\n\t\tfor(i=0;yokin<X;i++) {\n\t\t\tyokin+= (long)(yokin*0.01);\n\t\t}\n\t\tSystem.out.println(i);\n\t}",
"main",
"{\n\t\tScanner input = new Scanner(System.in);\n\t\tlong X = input.nextLong();\n\t\tlong yokin = 100;\n\t\tint i=0;\n\t\t\n\t\tfor(i=0;yokin<X;i++) {\n\t\t\tyokin+= (long)(yokin*0.01);\n\t\t}\n\t\tSystem.out.println(i);\n\t}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"long X = input.nextLong();",
"X",
"input.nextLong()",
"input.nextLong",
"input",
"long yokin = 100;",
"yokin",
"100",
"int i=0;",
"i",
"0",
"for(i=0;yokin<X;i++) {\n\t\t\tyokin+= (long)(yokin*0.01);\n\t\t}",
"i=0;",
"i=0",
"i",
"0",
"yokin<X",
"yokin",
"X",
"i++",
"i++",
"i",
"{\n\t\t\tyokin+= (long)(yokin*0.01);\n\t\t}",
"{\n\t\t\tyokin+= (long)(yokin*0.01);\n\t\t}",
"yokin+= (long)(yokin*0.01)",
"yokin",
"(long)(yokin*0.01)",
"yokin",
"0.01",
"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 input = new Scanner(System.in);\n\t\tlong X = input.nextLong();\n\t\tlong yokin = 100;\n\t\tint i=0;\n\t\t\n\t\tfor(i=0;yokin<X;i++) {\n\t\t\tyokin+= (long)(yokin*0.01);\n\t\t}\n\t\tSystem.out.println(i);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tlong X = input.nextLong();\n\t\tlong yokin = 100;\n\t\tint i=0;\n\t\t\n\t\tfor(i=0;yokin<X;i++) {\n\t\t\tyokin+= (long)(yokin*0.01);\n\t\t}\n\t\tSystem.out.println(i);\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
long X = input.nextLong();
long yokin = 100;
int i=0;
for(i=0;yokin<X;i++) {
yokin+= (long)(yokin*0.01);
}
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,
4,
18,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
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
],
[
37,
38
],
[
36,
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
]
] |
[
"import java.util.Scanner;\n\nclass Main {\n public static void main(final String[] args) {\n Scanner sc = new Scanner(System.in);\n String x = sc.next();\n double xDouble = Double.valueOf(x);\n\n int ans = 0;\n double tot = 100;\n while (tot < xDouble) {\n tot = Math.floor(tot * 1.01);\n ans ++;\n }\n\n System.out.println(ans); \n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(final String[] args) {\n Scanner sc = new Scanner(System.in);\n String x = sc.next();\n double xDouble = Double.valueOf(x);\n\n int ans = 0;\n double tot = 100;\n while (tot < xDouble) {\n tot = Math.floor(tot * 1.01);\n ans ++;\n }\n\n System.out.println(ans); \n\n }\n}",
"Main",
"public static void main(final String[] args) {\n Scanner sc = new Scanner(System.in);\n String x = sc.next();\n double xDouble = Double.valueOf(x);\n\n int ans = 0;\n double tot = 100;\n while (tot < xDouble) {\n tot = Math.floor(tot * 1.01);\n ans ++;\n }\n\n System.out.println(ans); \n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String x = sc.next();\n double xDouble = Double.valueOf(x);\n\n int ans = 0;\n double tot = 100;\n while (tot < xDouble) {\n tot = Math.floor(tot * 1.01);\n ans ++;\n }\n\n System.out.println(ans); \n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String x = sc.next();",
"x",
"sc.next()",
"sc.next",
"sc",
"double xDouble = Double.valueOf(x);",
"xDouble",
"Double.valueOf(x)",
"Double.valueOf",
"Double",
"x",
"int ans = 0;",
"ans",
"0",
"double tot = 100;",
"tot",
"100",
"while (tot < xDouble) {\n tot = Math.floor(tot * 1.01);\n ans ++;\n }",
"tot < xDouble",
"tot",
"xDouble",
"{\n tot = Math.floor(tot * 1.01);\n ans ++;\n }",
"tot = Math.floor(tot * 1.01)",
"tot",
"Math.floor(tot * 1.01)",
"Math.floor",
"Math",
"tot * 1.01",
"tot",
"1.01",
"ans ++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"final String[] args",
"args"
] |
import java.util.Scanner;
class Main {
public static void main(final String[] args) {
Scanner sc = new Scanner(System.in);
String x = sc.next();
double xDouble = Double.valueOf(x);
int ans = 0;
double tot = 100;
while (tot < xDouble) {
tot = Math.floor(tot * 1.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,
40,
13,
30,
0,
13,
2,
13,
2,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
0,
13,
17,
40,
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
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
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
],
[
48,
49
],
[
48,
50
],
[
29,
51
],
[
51,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
6,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sca = new Scanner(System.in);\n\t\tlong x = sca.nextLong();\n\t\tlong money = 100;\n\t\tint year = 1;\n\t\tboolean flag = false;\n\n\t\tdo {\n\t\t\tmoney = money + (money/100);\n\t\t\tif(money >= x) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tflag = true;\n\t\t\t}\n\t\t\tyear++;\n\t\t} while(!flag);\n\n\t\t// 後始末\n\t\tsca.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sca = new Scanner(System.in);\n\t\tlong x = sca.nextLong();\n\t\tlong money = 100;\n\t\tint year = 1;\n\t\tboolean flag = false;\n\n\t\tdo {\n\t\t\tmoney = money + (money/100);\n\t\t\tif(money >= x) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tflag = true;\n\t\t\t}\n\t\t\tyear++;\n\t\t} while(!flag);\n\n\t\t// 後始末\n\t\tsca.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sca = new Scanner(System.in);\n\t\tlong x = sca.nextLong();\n\t\tlong money = 100;\n\t\tint year = 1;\n\t\tboolean flag = false;\n\n\t\tdo {\n\t\t\tmoney = money + (money/100);\n\t\t\tif(money >= x) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tflag = true;\n\t\t\t}\n\t\t\tyear++;\n\t\t} while(!flag);\n\n\t\t// 後始末\n\t\tsca.close();\n\t}",
"main",
"{\n\t\tScanner sca = new Scanner(System.in);\n\t\tlong x = sca.nextLong();\n\t\tlong money = 100;\n\t\tint year = 1;\n\t\tboolean flag = false;\n\n\t\tdo {\n\t\t\tmoney = money + (money/100);\n\t\t\tif(money >= x) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tflag = true;\n\t\t\t}\n\t\t\tyear++;\n\t\t} while(!flag);\n\n\t\t// 後始末\n\t\tsca.close();\n\t}",
"Scanner sca = new Scanner(System.in);",
"sca",
"new Scanner(System.in)",
"long x = sca.nextLong();",
"x",
"sca.nextLong()",
"sca.nextLong",
"sca",
"long money = 100;",
"money",
"100",
"int year = 1;",
"year",
"1",
"boolean flag = false;",
"flag",
"false",
"do {\n\t\t\tmoney = money + (money/100);\n\t\t\tif(money >= x) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tflag = true;\n\t\t\t}\n\t\t\tyear++;\n\t\t} while(!flag);",
"!flag",
"flag",
"{\n\t\t\tmoney = money + (money/100);\n\t\t\tif(money >= x) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tflag = true;\n\t\t\t}\n\t\t\tyear++;\n\t\t}",
"money = money + (money/100)",
"money",
"money + (money/100)",
"money",
"(money/100)",
"money",
"100",
"if(money >= x) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tflag = true;\n\t\t\t}",
"money >= x",
"money",
"x",
"{\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tflag = true;\n\t\t\t}",
"System.out.println(year)",
"System.out.println",
"System.out",
"System",
"System.out",
"year",
"flag = true",
"flag",
"true",
"year++",
"year",
"sca.close()",
"sca.close",
"sca",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sca = new Scanner(System.in);\n\t\tlong x = sca.nextLong();\n\t\tlong money = 100;\n\t\tint year = 1;\n\t\tboolean flag = false;\n\n\t\tdo {\n\t\t\tmoney = money + (money/100);\n\t\t\tif(money >= x) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tflag = true;\n\t\t\t}\n\t\t\tyear++;\n\t\t} while(!flag);\n\n\t\t// 後始末\n\t\tsca.close();\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sca = new Scanner(System.in);\n\t\tlong x = sca.nextLong();\n\t\tlong money = 100;\n\t\tint year = 1;\n\t\tboolean flag = false;\n\n\t\tdo {\n\t\t\tmoney = money + (money/100);\n\t\t\tif(money >= x) {\n\t\t\t\tSystem.out.println(year);\n\t\t\t\tflag = true;\n\t\t\t}\n\t\t\tyear++;\n\t\t} while(!flag);\n\n\t\t// 後始末\n\t\tsca.close();\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sca = new Scanner(System.in);
long x = sca.nextLong();
long money = 100;
int year = 1;
boolean flag = false;
do {
money = money + (money/100);
if(money >= x) {
System.out.println(year);
flag = true;
}
year++;
} while(!flag);
// 後始末
sca.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
4,
18,
13,
17,
17,
41,
13,
17,
41,
13,
39,
39,
17,
17,
39,
17,
40,
17,
39,
17,
17,
39,
40,
17,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
4,
18,
13,
2,
13,
17,
40,
13,
4,
13,
2,
17,
13,
4,
18,
13,
17,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
42,
2,
13,
13,
30,
4,
13,
13,
13,
13,
40,
13,
40,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
18,
13,
13,
17,
30,
29,
17,
41,
13,
2,
18,
13,
13,
17,
42,
2,
13,
17,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
30,
3,
40,
13,
14,
2,
13,
17,
30,
29,
17,
41,
13,
2,
18,
13,
13,
17,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
13,
13,
3,
4,
13,
13,
13,
13,
4,
13,
13,
2,
13,
17,
2,
18,
13,
13,
17,
29,
17,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
13,
17,
29,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
2,
13,
17,
4,
13,
17,
23,
13,
12,
13,
30,
29,
2,
4,
18,
13,
13,
4,
18,
13,
17,
23,
13,
12,
13,
30,
14,
2,
13,
13,
30,
29,
4,
13,
13,
13,
14,
2,
2,
13,
13,
17,
30,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
436,
14
],
[
436,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
17,
21
],
[
436,
22
],
[
22,
23
],
[
22,
24
],
[
436,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
27,
35
],
[
35,
36
],
[
35,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
436,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
44,
53
],
[
53,
54
],
[
53,
55
],
[
44,
56
],
[
56,
57
],
[
56,
58
],
[
44,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
69,
71
],
[
63,
72
],
[
72,
73
],
[
44,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
44,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
42,
83
],
[
83,
84
],
[
436,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
87,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
97,
98
],
[
97,
99
],
[
87,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
85,
105
],
[
105,
106
],
[
85,
107
],
[
107,
108
],
[
85,
109
],
[
109,
110
],
[
436,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
119,
122
],
[
119,
123
],
[
118,
124
],
[
124,
125
],
[
118,
126
],
[
126,
127
],
[
111,
128
],
[
128,
129
],
[
111,
130
],
[
130,
131
],
[
111,
132
],
[
132,
133
],
[
436,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
137,
143
],
[
143,
144
],
[
144,
145
],
[
136,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
148,
152
],
[
136,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
153,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
159,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
165,
167
],
[
158,
168
],
[
168,
169
],
[
157,
170
],
[
170,
171
],
[
136,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
172,
176
],
[
176,
177
],
[
177,
178
],
[
136,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
181,
185
],
[
136,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
190,
194
],
[
186,
195
],
[
195,
196
],
[
195,
197
],
[
186,
198
],
[
198,
199
],
[
199,
200
],
[
186,
201
],
[
202,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
204,
208
],
[
208,
209
],
[
208,
210
],
[
203,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
211,
215
],
[
136,
216
],
[
216,
217
],
[
216,
218
],
[
216,
219
],
[
216,
220
],
[
136,
221
],
[
221,
222
],
[
221,
223
],
[
221,
224
],
[
224,
225
],
[
224,
226
],
[
221,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
227,
231
],
[
136,
232
],
[
232,
233
],
[
134,
234
],
[
234,
235
],
[
436,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
243,
248
],
[
248,
249
],
[
248,
250
],
[
243,
251
],
[
251,
252
],
[
252,
253
],
[
243,
254
],
[
255,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
256,
260
],
[
260,
261
],
[
260,
262
],
[
238,
263
],
[
263,
264
],
[
236,
265
],
[
265,
266
],
[
436,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
270,
275
],
[
267,
276
],
[
276,
277
],
[
436,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
281,
284
],
[
285,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
286,
291
],
[
291,
292
],
[
291,
293
],
[
280,
294
],
[
294,
295
],
[
294,
296
],
[
278,
297
],
[
297,
298
],
[
436,
299
],
[
299,
300
],
[
299,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
304,
307
],
[
303,
308
],
[
308,
309
],
[
309,
310
],
[
308,
311
],
[
299,
312
],
[
312,
313
],
[
436,
314
],
[
314,
315
],
[
314,
316
],
[
316,
317
],
[
317,
318
],
[
318,
319
],
[
318,
320
],
[
317,
321
],
[
321,
322
],
[
322,
323
],
[
323,
324
],
[
323,
325
],
[
323,
326
],
[
316,
327
],
[
327,
328
],
[
328,
329
],
[
329,
330
],
[
329,
331
],
[
328,
332
],
[
327,
333
],
[
333,
334
],
[
334,
335
],
[
316,
336
],
[
336,
337
],
[
337,
338
],
[
337,
339
],
[
337,
340
],
[
340,
341
],
[
340,
342
],
[
314,
343
],
[
343,
344
],
[
314,
345
],
[
345,
346
],
[
436,
347
],
[
347,
348
],
[
347,
349
],
[
349,
350
],
[
347,
351
],
[
351,
352
],
[
347,
353
],
[
353,
354
],
[
353,
355
],
[
355,
356
],
[
356,
357
],
[
356,
358
],
[
347,
359
],
[
359,
360
],
[
359,
361
],
[
361,
362
],
[
362,
363
],
[
363,
364
],
[
364,
365
],
[
364,
366
],
[
363,
367
],
[
367,
368
],
[
368,
369
],
[
369,
370
],
[
362,
371
],
[
371,
372
],
[
372,
373
],
[
373,
374
],
[
373,
375
],
[
375,
376
],
[
376,
377
],
[
377,
378
],
[
372,
379
],
[
379,
380
],
[
380,
381
],
[
380,
382
],
[
361,
383
],
[
383,
384
],
[
384,
385
],
[
385,
386
],
[
347,
387
],
[
387,
388
],
[
387,
389
],
[
389,
390
],
[
390,
391
],
[
391,
392
],
[
392,
393
],
[
391,
394
],
[
394,
395
],
[
347,
396
],
[
396,
397
],
[
396,
398
],
[
398,
399
],
[
399,
400
],
[
400,
401
],
[
401,
402
],
[
400,
403
],
[
403,
404
],
[
347,
405
],
[
405,
406
],
[
405,
407
],
[
407,
408
],
[
408,
409
],
[
409,
410
],
[
410,
411
],
[
409,
412
],
[
412,
413
],
[
347,
414
],
[
414,
415
],
[
414,
416
],
[
416,
417
],
[
417,
418
],
[
417,
419
],
[
416,
420
],
[
420,
421
],
[
421,
422
],
[
421,
423
],
[
423,
424
],
[
424,
425
],
[
425,
426
],
[
420,
427
],
[
427,
428
],
[
428,
429
],
[
428,
430
],
[
430,
431
],
[
431,
432
],
[
416,
433
],
[
433,
434
],
[
0,
435
],
[
435,
436
],
[
435,
437
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.*;\n\npublic class Main {\n private static final int MOD = (int) Math.pow(10, 9);\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n long k = sc.nextLong();\n long start = 100;\n int res = 0;\n while (start < k) {\n start += (long)Math.floor(start * 0.01);\n res++;\n }\n print(\"\"+res);\n System.exit(0);\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n private static final int MOD = (int) Math.pow(10, 9);\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n long k = sc.nextLong();\n long start = 100;\n int res = 0;\n while (start < k) {\n start += (long)Math.floor(start * 0.01);\n res++;\n }\n print(\"\"+res);\n System.exit(0);\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"Main",
"private static final int MOD = (int) Math.pow(10, 9);",
"MOD",
"(int) Math.pow(10, 9)",
"Math.pow",
"Math",
"10",
"9",
"private static final long EIGHT = (long) 1e18;",
"EIGHT",
"(long) 1e18",
"private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};",
"DIRS",
"{{0, 1}, {0, -1}, {1, 0}, {-1, 0}}",
"{0, 1}",
"0",
"1",
"{0, -1}",
"0",
"-1",
"1",
"{1, 0}",
"1",
"0",
"{-1, 0}",
"-1",
"1",
"0",
"public static void main(String[] args) {\n FastReader sc = new FastReader();\n long k = sc.nextLong();\n long start = 100;\n int res = 0;\n while (start < k) {\n start += (long)Math.floor(start * 0.01);\n res++;\n }\n print(\"\"+res);\n System.exit(0);\n }",
"main",
"{\n FastReader sc = new FastReader();\n long k = sc.nextLong();\n long start = 100;\n int res = 0;\n while (start < k) {\n start += (long)Math.floor(start * 0.01);\n res++;\n }\n print(\"\"+res);\n System.exit(0);\n }",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"long k = sc.nextLong();",
"k",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long start = 100;",
"start",
"100",
"int res = 0;",
"res",
"0",
"while (start < k) {\n start += (long)Math.floor(start * 0.01);\n res++;\n }",
"start < k",
"start",
"k",
"{\n start += (long)Math.floor(start * 0.01);\n res++;\n }",
"start += (long)Math.floor(start * 0.01)",
"start",
"(long)Math.floor(start * 0.01)",
"Math.floor",
"Math",
"start * 0.01",
"start",
"0.01",
"res++",
"res",
"print(\"\"+res)",
"print",
"\"\"+res",
"\"\"",
"res",
"System.exit(0)",
"System.exit",
"System",
"0",
"String[] args",
"args",
"static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }",
"swap",
"{\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }",
"int tmp = nums[x];",
"tmp",
"nums[x]",
"nums",
"x",
"nums[x] = nums[y]",
"nums[x]",
"nums",
"x",
"nums[y]",
"nums",
"y",
"nums[y] = tmp",
"nums[y]",
"nums",
"y",
"tmp",
"int[] nums",
"nums",
"int x",
"x",
"int y",
"y",
"static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }",
"reverse",
"{\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }",
"while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }",
"left < right",
"left",
"right",
"{\n swap(nums, left, right);\n left++;\n right--;\n }",
"swap(nums, left, right)",
"swap",
"nums",
"left",
"right",
"left++",
"left",
"right--",
"right",
"int[] nums",
"nums",
"int left",
"left",
"int right",
"right",
"static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }",
"findNextPermutation",
"{\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }",
"if (nums.length <= 1) {\n return false;\n }",
"nums.length <= 1",
"nums.length",
"nums",
"nums.length",
"1",
"{\n return false;\n }",
"return false;",
"false",
"int last = nums.length - 2;",
"last",
"nums.length - 2",
"nums.length",
"nums",
"nums.length",
"2",
"while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }",
"last >= 0",
"last",
"0",
"{\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }",
"if (nums[last] < nums[last + 1]){\n break;\n }",
"nums[last] < nums[last + 1]",
"nums[last]",
"nums",
"last",
"nums[last + 1]",
"nums",
"last + 1",
"last",
"1",
"{\n break;\n }",
"break;",
"last--",
"last",
"if (last < 0) { return false; }",
"last < 0",
"last",
"0",
"{ return false; }",
"return false;",
"false",
"int nextGenerater = nums.length - 1;",
"nextGenerater",
"nums.length - 1",
"nums.length",
"nums",
"nums.length",
"1",
"for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }",
"int i = nums.length - 1;",
"int i = nums.length - 1;",
"i",
"nums.length - 1",
"nums.length",
"nums",
"nums.length",
"1",
"i > last",
"i",
"last",
"i--",
"i--",
"i",
"{\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }",
"{\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }",
"if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }",
"nums[i] > nums[last]",
"nums[i]",
"nums",
"i",
"nums[last]",
"nums",
"last",
"{\n nextGenerater = i;\n break;\n }",
"nextGenerater = i",
"nextGenerater",
"i",
"break;",
"swap(nums, nextGenerater, last)",
"swap",
"nums",
"nextGenerater",
"last",
"reverse(nums, last + 1, nums.length - 1)",
"reverse",
"nums",
"last + 1",
"last",
"1",
"nums.length - 1",
"nums.length",
"nums",
"nums.length",
"1",
"return true;",
"true",
"int[] nums",
"nums",
"static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }",
"generateNArray",
"{\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }",
"int[] res = new int[n];",
"res",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i] = i + 1;\n }",
"{\n res[i] = i + 1;\n }",
"res[i] = i + 1",
"res[i]",
"res",
"i",
"i + 1",
"i",
"1",
"return res;",
"res",
"int n",
"n",
"static private void print(String s) {\n System.out.println(s);\n }",
"print",
"{\n System.out.println(s);\n }",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String s",
"s",
"static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }",
"printArray",
"{\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }",
"for (int s: e) {\n System.out.print(s + \" \");\n }",
"int s",
"e",
"{\n System.out.print(s + \" \");\n }",
"{\n System.out.print(s + \" \");\n }",
"System.out.print(s + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"s + \" \"",
"s",
"\" \"",
"print(\"\")",
"print",
"\"\"",
"int[] e",
"e",
"static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }",
"log2",
"{\n return (int)(Math.log(x) / Math.log(2));\n }",
"return (int)(Math.log(x) / Math.log(2));",
"(int)(Math.log(x) / Math.log(2))",
"Math.log(x)",
"Math.log",
"Math",
"x",
"Math.log(2)",
"Math.log",
"Math",
"2",
"int x",
"x",
"static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }",
"gcd",
"{\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }",
"if (m < n) { return gcd(n, m); }",
"m < n",
"m",
"n",
"{ return gcd(n, m); }",
"return gcd(n, m);",
"gcd(n, m)",
"gcd",
"n",
"m",
"if (m % n == 0) { return n; }",
"m % n == 0",
"m % n",
"m",
"n",
"0",
"{ return n; }",
"return n;",
"n",
"return gcd(n, m%n);",
"gcd(n, m%n)",
"gcd",
"n",
"m%n",
"m",
"n",
"long m",
"m",
"long n",
"n",
"static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"FastReader",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n private static final int MOD = (int) Math.pow(10, 9);\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n long k = sc.nextLong();\n long start = 100;\n int res = 0;\n while (start < k) {\n start += (long)Math.floor(start * 0.01);\n res++;\n }\n print(\"\"+res);\n System.exit(0);\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"public class Main {\n private static final int MOD = (int) Math.pow(10, 9);\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n long k = sc.nextLong();\n long start = 100;\n int res = 0;\n while (start < k) {\n start += (long)Math.floor(start * 0.01);\n res++;\n }\n print(\"\"+res);\n System.exit(0);\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.*;
public class Main {
private static final int MOD = (int) Math.pow(10, 9);
private static final long EIGHT = (long) 1e18;
private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};
public static void main(String[] args) {
FastReader sc = new FastReader();
long k = sc.nextLong();
long start = 100;
int res = 0;
while (start < k) {
start += (long)Math.floor(start * 0.01);
res++;
}
print(""+res);
System.exit(0);
}
static private void swap(int[] nums, int x, int y) {
int tmp = nums[x];
nums[x] = nums[y];
nums[y] = tmp;
}
static private void reverse(int[] nums, int left, int right) {
while (left < right) {
swap(nums, left, right);
left++;
right--;
}
}
static private boolean findNextPermutation(int[] nums) {
if (nums.length <= 1) {
return false;
}
int last = nums.length - 2;
while (last >= 0) {
if (nums[last] < nums[last + 1]){
break;
}
last--;
}
if (last < 0) { return false; }
int nextGenerater = nums.length - 1;
for (int i = nums.length - 1; i > last; i--) {
if (nums[i] > nums[last]) {
nextGenerater = i;
break;
}
}
swap(nums, nextGenerater, last);
reverse(nums, last + 1, nums.length - 1);
return true;
}
static private int[] generateNArray(int n) {
int[] res = new int[n];
for (int i = 0; i < n; i++) {
res[i] = i + 1;
}
return res;
}
static private void print(String s) {
System.out.println(s);
}
static private void printArray(int[] e) {
for (int s: e) {
System.out.print(s + " ");
}
print("");
}
static private int log2(int x) {
return (int)(Math.log(x) / Math.log(2));
}
static private long gcd(long m, long n) {
if (m < n) { return gcd(n, m); }
if (m % n == 0) { return n; }
return gcd(n, m%n);
}
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try{
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long start = 100;\n int answer = 0;\n while (x > start) {\n start += start / 100;\n answer++;\n }\n System.out.println(answer);\n sc.close();\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long start = 100;\n int answer = 0;\n while (x > start) {\n start += start / 100;\n answer++;\n }\n System.out.println(answer);\n sc.close();\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long start = 100;\n int answer = 0;\n while (x > start) {\n start += start / 100;\n answer++;\n }\n System.out.println(answer);\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long start = 100;\n int answer = 0;\n while (x > start) {\n start += start / 100;\n answer++;\n }\n System.out.println(answer);\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 start = 100;",
"start",
"100",
"int answer = 0;",
"answer",
"0",
"while (x > start) {\n start += start / 100;\n answer++;\n }",
"x > start",
"x",
"start",
"{\n start += start / 100;\n answer++;\n }",
"start += start / 100",
"start",
"start / 100",
"start",
"100",
"answer++",
"answer",
"System.out.println(answer)",
"System.out.println",
"System.out",
"System",
"System.out",
"answer",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long start = 100;\n int answer = 0;\n while (x > start) {\n start += start / 100;\n answer++;\n }\n System.out.println(answer);\n sc.close();\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long start = 100;\n int answer = 0;\n while (x > start) {\n start += start / 100;\n answer++;\n }\n System.out.println(answer);\n sc.close();\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 start = 100;
int answer = 0;
while (x > start) {
start += start / 100;
answer++;
}
System.out.println(answer);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
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.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble x = sc.nextLong();\n\t\tdouble n = 100;\n\t\tint i = 0;\n\t\twhile (x > n) {\n\t\t\tn = n * 1.01;\n\t\t\tn = Math.floor(n);\n\t\t\ti++;\n\t\t\t//System.out.println(n);\n\n\t\t}\n\t\tSystem.out.println(i);\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\tdouble x = sc.nextLong();\n\t\tdouble n = 100;\n\t\tint i = 0;\n\t\twhile (x > n) {\n\t\t\tn = n * 1.01;\n\t\t\tn = Math.floor(n);\n\t\t\ti++;\n\t\t\t//System.out.println(n);\n\n\t\t}\n\t\tSystem.out.println(i);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble x = sc.nextLong();\n\t\tdouble n = 100;\n\t\tint i = 0;\n\t\twhile (x > n) {\n\t\t\tn = n * 1.01;\n\t\t\tn = Math.floor(n);\n\t\t\ti++;\n\t\t\t//System.out.println(n);\n\n\t\t}\n\t\tSystem.out.println(i);\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble x = sc.nextLong();\n\t\tdouble n = 100;\n\t\tint i = 0;\n\t\twhile (x > n) {\n\t\t\tn = n * 1.01;\n\t\t\tn = Math.floor(n);\n\t\t\ti++;\n\t\t\t//System.out.println(n);\n\n\t\t}\n\t\tSystem.out.println(i);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"double n = 100;",
"n",
"100",
"int i = 0;",
"i",
"0",
"while (x > n) {\n\t\t\tn = n * 1.01;\n\t\t\tn = Math.floor(n);\n\t\t\ti++;\n\t\t\t//System.out.println(n);\n\n\t\t}",
"x > n",
"x",
"n",
"{\n\t\t\tn = n * 1.01;\n\t\t\tn = Math.floor(n);\n\t\t\ti++;\n\t\t\t//System.out.println(n);\n\n\t\t}",
"n = n * 1.01",
"n",
"n * 1.01",
"n",
"1.01",
"n = Math.floor(n)",
"n",
"Math.floor(n)",
"Math.floor",
"Math",
"n",
"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 sc = new Scanner(System.in);\n\t\tdouble x = sc.nextLong();\n\t\tdouble n = 100;\n\t\tint i = 0;\n\t\twhile (x > n) {\n\t\t\tn = n * 1.01;\n\t\t\tn = Math.floor(n);\n\t\t\ti++;\n\t\t\t//System.out.println(n);\n\n\t\t}\n\t\tSystem.out.println(i);\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\tdouble x = sc.nextLong();\n\t\tdouble n = 100;\n\t\tint i = 0;\n\t\twhile (x > n) {\n\t\t\tn = n * 1.01;\n\t\t\tn = Math.floor(n);\n\t\t\ti++;\n\t\t\t//System.out.println(n);\n\n\t\t}\n\t\tSystem.out.println(i);\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);
double x = sc.nextLong();
double n = 100;
int i = 0;
while (x > n) {
n = n * 1.01;
n = Math.floor(n);
i++;
//System.out.println(n);
}
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;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn= new Scanner(System.in);\n\t\tlong x = scn.nextLong();\n\t\tlong cur =100;\n\t\tint cnt =0;\n\t\twhile(cur<x){\n\t\t\tcur+=cur*0.01;\n\t\t\tcnt++;\n\t\t}\n\n\t\tSystem.out.println(cnt);\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 scn= new Scanner(System.in);\n\t\tlong x = scn.nextLong();\n\t\tlong cur =100;\n\t\tint cnt =0;\n\t\twhile(cur<x){\n\t\t\tcur+=cur*0.01;\n\t\t\tcnt++;\n\t\t}\n\n\t\tSystem.out.println(cnt);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn= new Scanner(System.in);\n\t\tlong x = scn.nextLong();\n\t\tlong cur =100;\n\t\tint cnt =0;\n\t\twhile(cur<x){\n\t\t\tcur+=cur*0.01;\n\t\t\tcnt++;\n\t\t}\n\n\t\tSystem.out.println(cnt);\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn= new Scanner(System.in);\n\t\tlong x = scn.nextLong();\n\t\tlong cur =100;\n\t\tint cnt =0;\n\t\twhile(cur<x){\n\t\t\tcur+=cur*0.01;\n\t\t\tcnt++;\n\t\t}\n\n\t\tSystem.out.println(cnt);\n\t}",
"Scanner scn= new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"long x = scn.nextLong();",
"x",
"scn.nextLong()",
"scn.nextLong",
"scn",
"long cur =100;",
"cur",
"100",
"int cnt =0;",
"cnt",
"0",
"while(cur<x){\n\t\t\tcur+=cur*0.01;\n\t\t\tcnt++;\n\t\t}",
"cur<x",
"cur",
"x",
"{\n\t\t\tcur+=cur*0.01;\n\t\t\tcnt++;\n\t\t}",
"cur+=cur*0.01",
"cur",
"cur*0.01",
"cur",
"0.01",
"cnt++",
"cnt",
"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 Auto-generated method stub\n\t\tScanner scn= new Scanner(System.in);\n\t\tlong x = scn.nextLong();\n\t\tlong cur =100;\n\t\tint cnt =0;\n\t\twhile(cur<x){\n\t\t\tcur+=cur*0.01;\n\t\t\tcnt++;\n\t\t}\n\n\t\tSystem.out.println(cnt);\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 scn= new Scanner(System.in);\n\t\tlong x = scn.nextLong();\n\t\tlong cur =100;\n\t\tint cnt =0;\n\t\twhile(cur<x){\n\t\t\tcur+=cur*0.01;\n\t\t\tcnt++;\n\t\t}\n\n\t\tSystem.out.println(cnt);\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scn= new Scanner(System.in);
long x = scn.nextLong();
long cur =100;
int cnt =0;
while(cur<x){
cur+=cur*0.01;
cnt++;
}
System.out.println(cnt);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
2,
13,
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
],
[
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
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
33,
41
],
[
41,
42
],
[
41,
43
],
[
33,
44
],
[
44,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\n public static void main(String[] args) {\n\t Scanner s = new Scanner(System.in);\n\t long n =s.nextLong();\n\t long a =100;\n\t int p =1;\n\t long count =0;\n\t long ii =0;\n\t while(a<n){\n\t ii = (a*p)/100;\n\t a += ii;\n\t count++;\n }\n System.out.println(count);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n\t Scanner s = new Scanner(System.in);\n\t long n =s.nextLong();\n\t long a =100;\n\t int p =1;\n\t long count =0;\n\t long ii =0;\n\t while(a<n){\n\t ii = (a*p)/100;\n\t a += ii;\n\t count++;\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args) {\n\t Scanner s = new Scanner(System.in);\n\t long n =s.nextLong();\n\t long a =100;\n\t int p =1;\n\t long count =0;\n\t long ii =0;\n\t while(a<n){\n\t ii = (a*p)/100;\n\t a += ii;\n\t count++;\n }\n System.out.println(count);\n }",
"main",
"{\n\t Scanner s = new Scanner(System.in);\n\t long n =s.nextLong();\n\t long a =100;\n\t int p =1;\n\t long count =0;\n\t long ii =0;\n\t while(a<n){\n\t ii = (a*p)/100;\n\t a += ii;\n\t count++;\n }\n System.out.println(count);\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"long n =s.nextLong();",
"n",
"s.nextLong()",
"s.nextLong",
"s",
"long a =100;",
"a",
"100",
"int p =1;",
"p",
"1",
"long count =0;",
"count",
"0",
"long ii =0;",
"ii",
"0",
"while(a<n){\n\t ii = (a*p)/100;\n\t a += ii;\n\t count++;\n }",
"a<n",
"a",
"n",
"{\n\t ii = (a*p)/100;\n\t a += ii;\n\t count++;\n }",
"ii = (a*p)/100",
"ii",
"(a*p)/100",
"(a*p)",
"a",
"p",
"100",
"a += ii",
"a",
"ii",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n\t Scanner s = new Scanner(System.in);\n\t long n =s.nextLong();\n\t long a =100;\n\t int p =1;\n\t long count =0;\n\t long ii =0;\n\t while(a<n){\n\t ii = (a*p)/100;\n\t a += ii;\n\t count++;\n }\n System.out.println(count);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n\t Scanner s = new Scanner(System.in);\n\t long n =s.nextLong();\n\t long a =100;\n\t int p =1;\n\t long count =0;\n\t long ii =0;\n\t while(a<n){\n\t ii = (a*p)/100;\n\t a += ii;\n\t count++;\n }\n System.out.println(count);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
long n =s.nextLong();
long a =100;
int p =1;
long count =0;
long ii =0;
while(a<n){
ii = (a*p)/100;
a += ii;
count++;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tlong X = sc.nextLong();\n\tlong i = 100;\n int years = 0;\n\twhile(i < X){\n i += i / 100L;\n years++;\n }\n System.out.println(years);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tlong X = sc.nextLong();\n\tlong i = 100;\n int years = 0;\n\twhile(i < X){\n i += i / 100L;\n years++;\n }\n System.out.println(years);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tlong X = sc.nextLong();\n\tlong i = 100;\n int years = 0;\n\twhile(i < X){\n i += i / 100L;\n years++;\n }\n System.out.println(years);\n\t}",
"main",
"{\n\tScanner sc = new Scanner(System.in);\n\tlong X = sc.nextLong();\n\tlong i = 100;\n int years = 0;\n\twhile(i < X){\n i += i / 100L;\n years++;\n }\n System.out.println(years);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long i = 100;",
"i",
"100",
"int years = 0;",
"years",
"0",
"while(i < X){\n i += i / 100L;\n years++;\n }",
"i < X",
"i",
"X",
"{\n i += i / 100L;\n years++;\n }",
"i += i / 100L",
"i",
"i / 100L",
"i",
"100L",
"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\tScanner sc = new Scanner(System.in);\n\tlong X = sc.nextLong();\n\tlong i = 100;\n int years = 0;\n\twhile(i < X){\n i += i / 100L;\n years++;\n }\n System.out.println(years);\n\t}\n}",
"public class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tlong X = sc.nextLong();\n\tlong i = 100;\n int years = 0;\n\twhile(i < X){\n i += i / 100L;\n years++;\n }\n System.out.println(years);\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 i = 100;
int years = 0;
while(i < X){
i += i / 100L;
years++;
}
System.out.println(years);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
30,
30,
0,
13,
17,
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
],
[
56,
5
],
[
56,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
32,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] |
[
"\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x=sc.nextLong();\n\t\tlong y=100;\n\t\tlong cnt = 0;\n\t\tfor(int i=0;i<2;) {\n\t\t\tcnt+=1;\n\t\t\ty=(long) (y*1.01);\n\t\t\tif(y>=x) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(cnt);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x=sc.nextLong();\n\t\tlong y=100;\n\t\tlong cnt = 0;\n\t\tfor(int i=0;i<2;) {\n\t\t\tcnt+=1;\n\t\t\ty=(long) (y*1.01);\n\t\t\tif(y>=x) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(cnt);\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 y=100;\n\t\tlong cnt = 0;\n\t\tfor(int i=0;i<2;) {\n\t\t\tcnt+=1;\n\t\t\ty=(long) (y*1.01);\n\t\t\tif(y>=x) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(cnt);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x=sc.nextLong();\n\t\tlong y=100;\n\t\tlong cnt = 0;\n\t\tfor(int i=0;i<2;) {\n\t\t\tcnt+=1;\n\t\t\ty=(long) (y*1.01);\n\t\t\tif(y>=x) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(cnt);\n\t}",
"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",
"long cnt = 0;",
"cnt",
"0",
"for(int i=0;i<2;) {\n\t\t\tcnt+=1;\n\t\t\ty=(long) (y*1.01);\n\t\t\tif(y>=x) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<2",
"i",
"2",
"{\n\t\t\tcnt+=1;\n\t\t\ty=(long) (y*1.01);\n\t\t\tif(y>=x) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tcnt+=1;\n\t\t\ty=(long) (y*1.01);\n\t\t\tif(y>=x) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"cnt+=1",
"cnt",
"1",
"y=(long) (y*1.01)",
"y",
"(long) (y*1.01)",
"y",
"1.01",
"if(y>=x) {\n\t\t\t\tbreak;\n\t\t\t}",
"y>=x",
"y",
"x",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"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\tlong x=sc.nextLong();\n\t\tlong y=100;\n\t\tlong cnt = 0;\n\t\tfor(int i=0;i<2;) {\n\t\t\tcnt+=1;\n\t\t\ty=(long) (y*1.01);\n\t\t\tif(y>=x) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(cnt);\n\t}\n\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 y=100;\n\t\tlong cnt = 0;\n\t\tfor(int i=0;i<2;) {\n\t\t\tcnt+=1;\n\t\t\ty=(long) (y*1.01);\n\t\t\tif(y>=x) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(cnt);\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 y=100;
long cnt = 0;
for(int i=0;i<2;) {
cnt+=1;
y=(long) (y*1.01);
if(y>=x) {
break;
}
}
System.out.println(cnt);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
30,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tsc.close();\n\t\tlong s=100;\n\t\tint k=0;\n\t\twhile(s<X) {\n\t\t\ts+=s/100;\n\t\t\tk++;\n\t\t}\n\t\tSystem.out.println(k);\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\tsc.close();\n\t\tlong s=100;\n\t\tint k=0;\n\t\twhile(s<X) {\n\t\t\ts+=s/100;\n\t\t\tk++;\n\t\t}\n\t\tSystem.out.println(k);\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\tsc.close();\n\t\tlong s=100;\n\t\tint k=0;\n\t\twhile(s<X) {\n\t\t\ts+=s/100;\n\t\t\tk++;\n\t\t}\n\t\tSystem.out.println(k);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong X = sc.nextLong();\n\t\tsc.close();\n\t\tlong s=100;\n\t\tint k=0;\n\t\twhile(s<X) {\n\t\t\ts+=s/100;\n\t\t\tk++;\n\t\t}\n\t\tSystem.out.println(k);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"sc.close()",
"sc.close",
"sc",
"long s=100;",
"s",
"100",
"int k=0;",
"k",
"0",
"while(s<X) {\n\t\t\ts+=s/100;\n\t\t\tk++;\n\t\t}",
"s<X",
"s",
"X",
"{\n\t\t\ts+=s/100;\n\t\t\tk++;\n\t\t}",
"s+=s/100",
"s",
"s/100",
"s",
"100",
"k++",
"k",
"System.out.println(k)",
"System.out.println",
"System.out",
"System",
"System.out",
"k",
"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\tsc.close();\n\t\tlong s=100;\n\t\tint k=0;\n\t\twhile(s<X) {\n\t\t\ts+=s/100;\n\t\t\tk++;\n\t\t}\n\t\tSystem.out.println(k);\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\tsc.close();\n\t\tlong s=100;\n\t\tint k=0;\n\t\twhile(s<X) {\n\t\t\ts+=s/100;\n\t\t\tk++;\n\t\t}\n\t\tSystem.out.println(k);\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();
sc.close();
long s=100;
int k=0;
while(s<X) {
s+=s/100;
k++;
}
System.out.println(k);
}
}
|
[
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,
1,
40,
13,
30,
30,
14,
2,
13,
13,
30,
3,
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
],
[
57,
5
],
[
57,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
23,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
32,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
32,
46
],
[
46,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] |
[
"import java.util.*;\n \npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long m = 100;\n long count=0;\n \n for(int i=1;;i++){\n if(m>=X){\n break;\n }\n m = m + m/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) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long m = 100;\n long count=0;\n \n for(int i=1;;i++){\n if(m>=X){\n break;\n }\n m = m + m/100;\n count++;\n }\n System.out.println(count);\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 m = 100;\n long count=0;\n \n for(int i=1;;i++){\n if(m>=X){\n break;\n }\n m = m + m/100;\n count++;\n }\n System.out.println(count);\n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long m = 100;\n long count=0;\n \n for(int i=1;;i++){\n if(m>=X){\n break;\n }\n m = m + m/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 m = 100;",
"m",
"100",
"long count=0;",
"count",
"0",
"for(int i=1;;i++){\n if(m>=X){\n break;\n }\n m = m + m/100;\n count++;\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n if(m>=X){\n break;\n }\n m = m + m/100;\n count++;\n }",
"{\n if(m>=X){\n break;\n }\n m = m + m/100;\n count++;\n }",
"if(m>=X){\n break;\n }",
"m>=X",
"m",
"X",
"{\n break;\n }",
"break;",
"m = m + m/100",
"m",
"m + m/100",
"m",
"m/100",
"m",
"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 // Your code here!\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long m = 100;\n long count=0;\n \n for(int i=1;;i++){\n if(m>=X){\n break;\n }\n m = m + m/100;\n count++;\n }\n System.out.println(count);\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 m = 100;\n long count=0;\n \n for(int i=1;;i++){\n if(m>=X){\n break;\n }\n m = m + m/100;\n count++;\n }\n System.out.println(count);\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 m = 100;
long count=0;
for(int i=1;;i++){
if(m>=X){
break;
}
m = m + m/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,
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.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t\n\t\t//入力表示\n\t\tlong X = scanner.nextLong();\n\t\tdouble P = 100;\n\t\tint count =0;\n\t\t\n\t\t//計算\n\t\twhile (P < X) {\n\t\t\tP = P *1.01;\n\t\t\tP = Math.floor(P);\n\t\t\tcount++;\n\t\t\t\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t\n\t\t//入力表示\n\t\tlong X = scanner.nextLong();\n\t\tdouble P = 100;\n\t\tint count =0;\n\t\t\n\t\t//計算\n\t\twhile (P < X) {\n\t\t\tP = P *1.01;\n\t\t\tP = Math.floor(P);\n\t\t\tcount++;\n\t\t\t\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t\n\t\t//入力表示\n\t\tlong X = scanner.nextLong();\n\t\tdouble P = 100;\n\t\tint count =0;\n\t\t\n\t\t//計算\n\t\twhile (P < X) {\n\t\t\tP = P *1.01;\n\t\t\tP = Math.floor(P);\n\t\t\tcount++;\n\t\t\t\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t\n\t\t//入力表示\n\t\tlong X = scanner.nextLong();\n\t\tdouble P = 100;\n\t\tint count =0;\n\t\t\n\t\t//計算\n\t\twhile (P < X) {\n\t\t\tP = P *1.01;\n\t\t\tP = Math.floor(P);\n\t\t\tcount++;\n\t\t\t\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"long X = scanner.nextLong();",
"X",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"double P = 100;",
"P",
"100",
"int count =0;",
"count",
"0",
"while (P < X) {\n\t\t\tP = P *1.01;\n\t\t\tP = Math.floor(P);\n\t\t\tcount++;\n\t\t\t\n\t\t}",
"P < X",
"P",
"X",
"{\n\t\t\tP = P *1.01;\n\t\t\tP = Math.floor(P);\n\t\t\tcount++;\n\t\t\t\n\t\t}",
"P = P *1.01",
"P",
"P *1.01",
"P",
"1.01",
"P = Math.floor(P)",
"P",
"Math.floor(P)",
"Math.floor",
"Math",
"P",
"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\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t\n\t\t//入力表示\n\t\tlong X = scanner.nextLong();\n\t\tdouble P = 100;\n\t\tint count =0;\n\t\t\n\t\t//計算\n\t\twhile (P < X) {\n\t\t\tP = P *1.01;\n\t\t\tP = Math.floor(P);\n\t\t\tcount++;\n\t\t\t\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t\n\t\t//入力表示\n\t\tlong X = scanner.nextLong();\n\t\tdouble P = 100;\n\t\tint count =0;\n\t\t\n\t\t//計算\n\t\twhile (P < X) {\n\t\t\tP = P *1.01;\n\t\t\tP = Math.floor(P);\n\t\t\tcount++;\n\t\t\t\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner scanner = new Scanner(System.in);
//入力表示
long X = scanner.nextLong();
double P = 100;
int count =0;
//計算
while (P < X) {
P = P *1.01;
P = Math.floor(P);
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,
41,
13,
13,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
17,
0,
13,
2,
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
],
[
60,
5
],
[
60,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
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
],
[
43,
45
],
[
35,
46
],
[
46,
47
],
[
46,
48
],
[
35,
49
],
[
49,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
6,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner a = new Scanner(System.in);\t\t\n\t\tlong money = a.nextLong();\n\t\tlong b = 100;\n\t\tint num = 0;\n\t\tfor(long i = b; i <= money; i++) {\n\t\t\tlong risi = b / 100;\n\t\t\tb = b + risi;\n\t\t\ti = b;\n\t\t\tnum++;\n\n\t\t}\n\t\tSystem.out.println(num);\n\t\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner a = new Scanner(System.in);\t\t\n\t\tlong money = a.nextLong();\n\t\tlong b = 100;\n\t\tint num = 0;\n\t\tfor(long i = b; i <= money; i++) {\n\t\t\tlong risi = b / 100;\n\t\t\tb = b + risi;\n\t\t\ti = b;\n\t\t\tnum++;\n\n\t\t}\n\t\tSystem.out.println(num);\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner a = new Scanner(System.in);\t\t\n\t\tlong money = a.nextLong();\n\t\tlong b = 100;\n\t\tint num = 0;\n\t\tfor(long i = b; i <= money; i++) {\n\t\t\tlong risi = b / 100;\n\t\t\tb = b + risi;\n\t\t\ti = b;\n\t\t\tnum++;\n\n\t\t}\n\t\tSystem.out.println(num);\n\t\t\n\t}",
"main",
"{\n\t\tScanner a = new Scanner(System.in);\t\t\n\t\tlong money = a.nextLong();\n\t\tlong b = 100;\n\t\tint num = 0;\n\t\tfor(long i = b; i <= money; i++) {\n\t\t\tlong risi = b / 100;\n\t\t\tb = b + risi;\n\t\t\ti = b;\n\t\t\tnum++;\n\n\t\t}\n\t\tSystem.out.println(num);\n\t\t\n\t}",
"Scanner a = new Scanner(System.in);",
"a",
"new Scanner(System.in)",
"long money = a.nextLong();",
"money",
"a.nextLong()",
"a.nextLong",
"a",
"long b = 100;",
"b",
"100",
"int num = 0;",
"num",
"0",
"for(long i = b; i <= money; i++) {\n\t\t\tlong risi = b / 100;\n\t\t\tb = b + risi;\n\t\t\ti = b;\n\t\t\tnum++;\n\n\t\t}",
"long i = b;",
"long i = b;",
"i",
"b",
"i <= money",
"i",
"money",
"i++",
"i++",
"i",
"{\n\t\t\tlong risi = b / 100;\n\t\t\tb = b + risi;\n\t\t\ti = b;\n\t\t\tnum++;\n\n\t\t}",
"{\n\t\t\tlong risi = b / 100;\n\t\t\tb = b + risi;\n\t\t\ti = b;\n\t\t\tnum++;\n\n\t\t}",
"long risi = b / 100;",
"risi",
"b / 100",
"b",
"100",
"b = b + risi",
"b",
"b + risi",
"b",
"risi",
"i = b",
"i",
"b",
"num++",
"num",
"System.out.println(num)",
"System.out.println",
"System.out",
"System",
"System.out",
"num",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner a = new Scanner(System.in);\t\t\n\t\tlong money = a.nextLong();\n\t\tlong b = 100;\n\t\tint num = 0;\n\t\tfor(long i = b; i <= money; i++) {\n\t\t\tlong risi = b / 100;\n\t\t\tb = b + risi;\n\t\t\ti = b;\n\t\t\tnum++;\n\n\t\t}\n\t\tSystem.out.println(num);\n\t\t\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner a = new Scanner(System.in);\t\t\n\t\tlong money = a.nextLong();\n\t\tlong b = 100;\n\t\tint num = 0;\n\t\tfor(long i = b; i <= money; i++) {\n\t\t\tlong risi = b / 100;\n\t\t\tb = b + risi;\n\t\t\ti = b;\n\t\t\tnum++;\n\n\t\t}\n\t\tSystem.out.println(num);\n\t\t\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner a = new Scanner(System.in);
long money = a.nextLong();
long b = 100;
int num = 0;
for(long i = b; i <= money; i++) {
long risi = b / 100;
b = b + risi;
i = b;
num++;
}
System.out.println(num);
}
}
|
[
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,
13,
30,
0,
13,
2,
13,
17,
40,
13,
14,
2,
13,
13,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
53,
5
],
[
53,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
28,
34
],
[
34,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
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.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong x = scan.nextLong();\n\t\tlong a = 100;\n\t\tint count = 0;\n\t\tboolean b = true;\n\t\t\n\t\twhile(b) {\n\t\t\ta += a / 100;\n\t\t\tcount++;\n\t\t\tif(a >= x) {\n\t\t\t\tb = false;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong x = scan.nextLong();\n\t\tlong a = 100;\n\t\tint count = 0;\n\t\tboolean b = true;\n\t\t\n\t\twhile(b) {\n\t\t\ta += a / 100;\n\t\t\tcount++;\n\t\t\tif(a >= x) {\n\t\t\t\tb = false;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong x = scan.nextLong();\n\t\tlong a = 100;\n\t\tint count = 0;\n\t\tboolean b = true;\n\t\t\n\t\twhile(b) {\n\t\t\ta += a / 100;\n\t\t\tcount++;\n\t\t\tif(a >= x) {\n\t\t\t\tb = false;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong x = scan.nextLong();\n\t\tlong a = 100;\n\t\tint count = 0;\n\t\tboolean b = true;\n\t\t\n\t\twhile(b) {\n\t\t\ta += a / 100;\n\t\t\tcount++;\n\t\t\tif(a >= x) {\n\t\t\t\tb = false;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\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 a = 100;",
"a",
"100",
"int count = 0;",
"count",
"0",
"boolean b = true;",
"b",
"true",
"while(b) {\n\t\t\ta += a / 100;\n\t\t\tcount++;\n\t\t\tif(a >= x) {\n\t\t\t\tb = false;\n\t\t\t}\n\t\t}",
"b",
"{\n\t\t\ta += a / 100;\n\t\t\tcount++;\n\t\t\tif(a >= x) {\n\t\t\t\tb = false;\n\t\t\t}\n\t\t}",
"a += a / 100",
"a",
"a / 100",
"a",
"100",
"count++",
"count",
"if(a >= x) {\n\t\t\t\tb = false;\n\t\t\t}",
"a >= x",
"a",
"x",
"{\n\t\t\t\tb = false;\n\t\t\t}",
"b = false",
"b",
"false",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong x = scan.nextLong();\n\t\tlong a = 100;\n\t\tint count = 0;\n\t\tboolean b = true;\n\t\t\n\t\twhile(b) {\n\t\t\ta += a / 100;\n\t\t\tcount++;\n\t\t\tif(a >= x) {\n\t\t\t\tb = false;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong x = scan.nextLong();\n\t\tlong a = 100;\n\t\tint count = 0;\n\t\tboolean b = true;\n\t\t\n\t\twhile(b) {\n\t\t\ta += a / 100;\n\t\t\tcount++;\n\t\t\tif(a >= x) {\n\t\t\t\tb = false;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
long x = scan.nextLong();
long a = 100;
int count = 0;
boolean b = true;
while(b) {
a += a / 100;
count++;
if(a >= x) {
b = false;
}
}
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,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
13,
17,
0,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
57,
5
],
[
57,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
42,
51
],
[
51,
52
],
[
51,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] |
[
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long a = 100;\n \n for(long i = 0; i < X;i++){\n a += a/100;\n if(a >= X){\n System.out.print(i + 1);\n i = X;\n }\n }\n \n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long a = 100;\n \n for(long i = 0; i < X;i++){\n a += a/100;\n if(a >= X){\n System.out.print(i + 1);\n i = X;\n }\n }\n \n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long a = 100;\n \n for(long i = 0; i < X;i++){\n a += a/100;\n if(a >= X){\n System.out.print(i + 1);\n i = X;\n }\n }\n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long a = 100;\n \n for(long i = 0; i < X;i++){\n a += a/100;\n if(a >= X){\n System.out.print(i + 1);\n i = X;\n }\n }\n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long a = 100;",
"a",
"100",
"for(long i = 0; i < X;i++){\n a += a/100;\n if(a >= X){\n System.out.print(i + 1);\n i = X;\n }\n }",
"long i = 0;",
"long i = 0;",
"i",
"0",
"i < X",
"i",
"X",
"i++",
"i++",
"i",
"{\n a += a/100;\n if(a >= X){\n System.out.print(i + 1);\n i = X;\n }\n }",
"{\n a += a/100;\n if(a >= X){\n System.out.print(i + 1);\n i = X;\n }\n }",
"a += a/100",
"a",
"a/100",
"a",
"100",
"if(a >= X){\n System.out.print(i + 1);\n i = X;\n }",
"a >= X",
"a",
"X",
"{\n System.out.print(i + 1);\n i = X;\n }",
"System.out.print(i + 1)",
"System.out.print",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"i = X",
"i",
"X",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long a = 100;\n \n for(long i = 0; i < X;i++){\n a += a/100;\n if(a >= X){\n System.out.print(i + 1);\n i = X;\n }\n }\n \n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n long a = 100;\n \n for(long i = 0; i < X;i++){\n a += a/100;\n if(a >= X){\n System.out.print(i + 1);\n i = X;\n }\n }\n \n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long X = sc.nextLong();
long a = 100;
for(long i = 0; i < X;i++){
a += a/100;
if(a >= X){
System.out.print(i + 1);
i = X;
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
0,
13,
17,
40,
13,
14,
2,
13,
13,
30,
3,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
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
],
[
25,
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\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong X = scan.nextLong();\n\t\tlong m = 100;\n\t\tint ans = 0;\n\n\t\twhile(true) {\n\t\t\tm *= 1.01;\n\t\t\tans++;\n\t\t\tif(X <= m) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\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 m = 100;\n\t\tint ans = 0;\n\n\t\twhile(true) {\n\t\t\tm *= 1.01;\n\t\t\tans++;\n\t\t\tif(X <= m) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\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 m = 100;\n\t\tint ans = 0;\n\n\t\twhile(true) {\n\t\t\tm *= 1.01;\n\t\t\tans++;\n\t\t\tif(X <= m) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong X = scan.nextLong();\n\t\tlong m = 100;\n\t\tint ans = 0;\n\n\t\twhile(true) {\n\t\t\tm *= 1.01;\n\t\t\tans++;\n\t\t\tif(X <= m) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\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 m = 100;",
"m",
"100",
"int ans = 0;",
"ans",
"0",
"while(true) {\n\t\t\tm *= 1.01;\n\t\t\tans++;\n\t\t\tif(X <= m) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tm *= 1.01;\n\t\t\tans++;\n\t\t\tif(X <= m) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"m *= 1.01",
"m",
"1.01",
"ans++",
"ans",
"if(X <= m) {\n\t\t\t\tbreak;\n\t\t\t}",
"X <= m",
"X",
"m",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"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 scan = new Scanner(System.in);\n\n\t\tlong X = scan.nextLong();\n\t\tlong m = 100;\n\t\tint ans = 0;\n\n\t\twhile(true) {\n\t\t\tm *= 1.01;\n\t\t\tans++;\n\t\t\tif(X <= m) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\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 m = 100;\n\t\tint ans = 0;\n\n\t\twhile(true) {\n\t\t\tm *= 1.01;\n\t\t\tans++;\n\t\t\tif(X <= m) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\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 m = 100;
int ans = 0;
while(true) {
m *= 1.01;
ans++;
if(X <= m) {
break;
}
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
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
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
12,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
19,
28
],
[
28,
29
],
[
28,
30
],
[
19,
31
],
[
31,
32
],
[
31,
33
],
[
19,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
38,
48
],
[
48,
49
],
[
19,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
9,
56
],
[
56,
57
]
] |
[
"import java.util.*;\nimport java.math.*;\n \nclass Main{\n public static void main(String[] args) {\n \n try(Scanner sc = new Scanner(System.in)){\n\n long x = sc.nextLong();\n double yokin = 100;\n\n int ans = 0;\n while((double)x > yokin){\n yokin *= 1.01;\n yokin = Math.floor(yokin);\n ans++;\n }\n\n System.out.println(ans);\n\n }catch(Exception e){\n e.printStackTrace();\n } \n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"class Main{\n public static void main(String[] args) {\n \n try(Scanner sc = new Scanner(System.in)){\n\n long x = sc.nextLong();\n double yokin = 100;\n\n int ans = 0;\n while((double)x > yokin){\n yokin *= 1.01;\n yokin = Math.floor(yokin);\n ans++;\n }\n\n System.out.println(ans);\n\n }catch(Exception e){\n e.printStackTrace();\n } \n }\n}",
"Main",
"public static void main(String[] args) {\n \n try(Scanner sc = new Scanner(System.in)){\n\n long x = sc.nextLong();\n double yokin = 100;\n\n int ans = 0;\n while((double)x > yokin){\n yokin *= 1.01;\n yokin = Math.floor(yokin);\n ans++;\n }\n\n System.out.println(ans);\n\n }catch(Exception e){\n e.printStackTrace();\n } \n }",
"main",
"{\n \n try(Scanner sc = new Scanner(System.in)){\n\n long x = sc.nextLong();\n double yokin = 100;\n\n int ans = 0;\n while((double)x > yokin){\n yokin *= 1.01;\n yokin = Math.floor(yokin);\n ans++;\n }\n\n System.out.println(ans);\n\n }catch(Exception e){\n e.printStackTrace();\n } \n }",
"try(Scanner sc = new Scanner(System.in)){\n\n long x = sc.nextLong();\n double yokin = 100;\n\n int ans = 0;\n while((double)x > yokin){\n yokin *= 1.01;\n yokin = Math.floor(yokin);\n ans++;\n }\n\n System.out.println(ans);\n\n }catch(Exception e){\n e.printStackTrace();\n }",
"catch(Exception e){\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\n long x = sc.nextLong();\n double yokin = 100;\n\n int ans = 0;\n while((double)x > yokin){\n yokin *= 1.01;\n yokin = Math.floor(yokin);\n ans++;\n }\n\n System.out.println(ans);\n\n }",
"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",
"double yokin = 100;",
"yokin",
"100",
"int ans = 0;",
"ans",
"0",
"while((double)x > yokin){\n yokin *= 1.01;\n yokin = Math.floor(yokin);\n ans++;\n }",
"(double)x > yokin",
"(double)x",
"yokin",
"{\n yokin *= 1.01;\n yokin = Math.floor(yokin);\n ans++;\n }",
"yokin *= 1.01",
"yokin",
"1.01",
"yokin = Math.floor(yokin)",
"yokin",
"Math.floor(yokin)",
"Math.floor",
"Math",
"yokin",
"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) {
try(Scanner sc = new Scanner(System.in)){
long x = sc.nextLong();
double yokin = 100;
int ans = 0;
while((double)x > yokin){
yokin *= 1.01;
yokin = Math.floor(yokin);
ans++;
}
System.out.println(ans);
}catch(Exception e){
e.printStackTrace();
}
}
}
|
[
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,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
2,
13,
17,
40,
13,
14,
2,
13,
13,
30,
3,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
63,
8
],
[
63,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
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
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
38,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
11,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
9,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] |
[
"import java.util.*;\nimport java.lang.*;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong X = sc.nextLong();\n\t\tint count = 0;\n\t\tlong A = 100;\n\t\tfor( int i=0; i<4000; i++ ){\n\t\t\tA = A+A/100;\n\t\t\tcount++;\n\t\t\tif( A>=X ){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong X = sc.nextLong();\n\t\tint count = 0;\n\t\tlong A = 100;\n\t\tfor( int i=0; i<4000; i++ ){\n\t\t\tA = A+A/100;\n\t\t\tcount++;\n\t\t\tif( A>=X ){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong X = sc.nextLong();\n\t\tint count = 0;\n\t\tlong A = 100;\n\t\tfor( int i=0; i<4000; i++ ){\n\t\t\tA = A+A/100;\n\t\t\tcount++;\n\t\t\tif( A>=X ){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong X = sc.nextLong();\n\t\tint count = 0;\n\t\tlong A = 100;\n\t\tfor( int i=0; i<4000; i++ ){\n\t\t\tA = A+A/100;\n\t\t\tcount++;\n\t\t\tif( A>=X ){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int count = 0;",
"count",
"0",
"long A = 100;",
"A",
"100",
"for( int i=0; i<4000; i++ ){\n\t\t\tA = A+A/100;\n\t\t\tcount++;\n\t\t\tif( A>=X ){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<4000",
"i",
"4000",
"i++",
"i++",
"i",
"{\n\t\t\tA = A+A/100;\n\t\t\tcount++;\n\t\t\tif( A>=X ){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tA = A+A/100;\n\t\t\tcount++;\n\t\t\tif( A>=X ){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"A = A+A/100",
"A",
"A+A/100",
"A",
"A/100",
"A",
"100",
"count++",
"count",
"if( A>=X ){\n\t\t\t\tbreak;\n\t\t\t}",
"A>=X",
"A",
"X",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong X = sc.nextLong();\n\t\tint count = 0;\n\t\tlong A = 100;\n\t\tfor( int i=0; i<4000; i++ ){\n\t\t\tA = A+A/100;\n\t\t\tcount++;\n\t\t\tif( A>=X ){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong X = sc.nextLong();\n\t\tint count = 0;\n\t\tlong A = 100;\n\t\tfor( int i=0; i<4000; i++ ){\n\t\t\tA = A+A/100;\n\t\t\tcount++;\n\t\t\tif( A>=X ){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
] |
import java.util.*;
import java.lang.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long X = sc.nextLong();
int count = 0;
long A = 100;
for( int i=0; i<4000; i++ ){
A = A+A/100;
count++;
if( A>=X ){
break;
}
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
17,
40,
13,
29,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
6,
26
],
[
26,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
32,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
32,
49
],
[
49,
50
],
[
30,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] |
[
"import java.util.Scanner;\npublic class Main{\n public static void main (String args[]){\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n System.out.print(Logic.run(x));\n }\n}\nclass Logic{\n public static int run(long x){\n int res = 0;\n long money = 100;\n while ( money < x ){\n money*=1.01;\n res++;\n }\n return res;\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 System.out.print(Logic.run(x));\n }\n}",
"Main",
"public static void main (String args[]){\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n System.out.print(Logic.run(x));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n System.out.print(Logic.run(x));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"System.out.print(Logic.run(x))",
"System.out.print",
"System.out",
"System",
"System.out",
"Logic.run(x)",
"Logic.run",
"Logic",
"x",
"String args[]",
"args",
"class Logic{\n public static int run(long x){\n int res = 0;\n long money = 100;\n while ( money < x ){\n money*=1.01;\n res++;\n }\n return res;\n }\n}",
"Logic",
"public static int run(long x){\n int res = 0;\n long money = 100;\n while ( money < x ){\n money*=1.01;\n res++;\n }\n return res;\n }",
"run",
"{\n int res = 0;\n long money = 100;\n while ( money < x ){\n money*=1.01;\n res++;\n }\n return res;\n }",
"int res = 0;",
"res",
"0",
"long money = 100;",
"money",
"100",
"while ( money < x ){\n money*=1.01;\n res++;\n }",
"money < x",
"money",
"x",
"{\n money*=1.01;\n res++;\n }",
"money*=1.01",
"money",
"1.01",
"res++",
"res",
"return res;",
"res",
"long x",
"x",
"public class Main{\n public static void main (String args[]){\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n System.out.print(Logic.run(x));\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 System.out.print(Logic.run(x));\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();
System.out.print(Logic.run(x));
}
}
class Logic{
public static int run(long x){
int res = 0;
long money = 100;
while ( money < x ){
money*=1.01;
res++;
}
return res;
}
}
|
[
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,
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
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
25,
31
],
[
31,
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
]
] |
[
"\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 long money = 100;\n long year = 0;\n while (true) {\n money = (long)(money * 1.01);\n year++;\n if (money >= x) {\n break;\n }\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 sc = new Scanner(System.in);\n long x = sc.nextLong();\n long money = 100;\n long year = 0;\n while (true) {\n money = (long)(money * 1.01);\n year++;\n if (money >= x) {\n break;\n }\n }\n System.out.println(year);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long money = 100;\n long year = 0;\n while (true) {\n money = (long)(money * 1.01);\n year++;\n if (money >= x) {\n break;\n }\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 long year = 0;\n while (true) {\n money = (long)(money * 1.01);\n year++;\n if (money >= x) {\n break;\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 money = 100;",
"money",
"100",
"long year = 0;",
"year",
"0",
"while (true) {\n money = (long)(money * 1.01);\n year++;\n if (money >= x) {\n break;\n }\n }",
"true",
"{\n money = (long)(money * 1.01);\n year++;\n if (money >= x) {\n break;\n }\n }",
"money = (long)(money * 1.01)",
"money",
"(long)(money * 1.01)",
"money",
"1.01",
"year++",
"year",
"if (money >= x) {\n break;\n }",
"money >= x",
"money",
"x",
"{\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) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long money = 100;\n long year = 0;\n while (true) {\n money = (long)(money * 1.01);\n year++;\n if (money >= x) {\n break;\n }\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 long money = 100;\n long year = 0;\n while (true) {\n money = (long)(money * 1.01);\n year++;\n if (money >= x) {\n break;\n }\n }\n System.out.println(year);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
long money = 100;
long year = 0;
while (true) {
money = (long)(money * 1.01);
year++;
if (money >= x) {
break;
}
}
System.out.println(year);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
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;\n \npublic class Main {\n \n\tpublic static void main(String[] args) {\n \n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong money = 100;\n\t\tint y = 0;\n\t\twhile(x > money) {\n\t\t\tmoney = money + money / 100;\n\t\t\ty++;\n\t\t}\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\t\tlong x = sc.nextLong();\n\t\tlong money = 100;\n\t\tint y = 0;\n\t\twhile(x > money) {\n\t\t\tmoney = money + money / 100;\n\t\t\ty++;\n\t\t}\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\t\tlong x = sc.nextLong();\n\t\tlong money = 100;\n\t\tint y = 0;\n\t\twhile(x > money) {\n\t\t\tmoney = money + money / 100;\n\t\t\ty++;\n\t\t}\n\t\tSystem.out.println(y);\n\t}",
"main",
"{\n \n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong money = 100;\n\t\tint y = 0;\n\t\twhile(x > money) {\n\t\t\tmoney = money + money / 100;\n\t\t\ty++;\n\t\t}\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",
"long money = 100;",
"money",
"100",
"int y = 0;",
"y",
"0",
"while(x > money) {\n\t\t\tmoney = money + money / 100;\n\t\t\ty++;\n\t\t}",
"x > money",
"x",
"money",
"{\n\t\t\tmoney = money + money / 100;\n\t\t\ty++;\n\t\t}",
"money = money + money / 100",
"money",
"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 \n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong money = 100;\n\t\tint y = 0;\n\t\twhile(x > money) {\n\t\t\tmoney = money + money / 100;\n\t\t\ty++;\n\t\t}\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\t\tlong x = sc.nextLong();\n\t\tlong money = 100;\n\t\tint y = 0;\n\t\twhile(x > money) {\n\t\t\tmoney = money + money / 100;\n\t\t\ty++;\n\t\t}\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();
long money = 100;
int y = 0;
while(x > money) {
money = 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,
17,
30,
14,
2,
13,
13,
30,
0,
13,
2,
13,
2,
13,
17,
40,
13,
30,
3,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
51,
5
],
[
51,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
26,
40
],
[
40,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong x = scan.nextLong();\n\t\tlong p = 100;\n\t\tlong ans = 0;\n\t\t\n\t\twhile(true) {\n\t\t\tif(p < x) {\n\t\t\t\tp = p + (p/100);\n\t\t\t\tans++;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong x = scan.nextLong();\n\t\tlong p = 100;\n\t\tlong ans = 0;\n\t\t\n\t\twhile(true) {\n\t\t\tif(p < x) {\n\t\t\t\tp = p + (p/100);\n\t\t\t\tans++;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong x = scan.nextLong();\n\t\tlong p = 100;\n\t\tlong ans = 0;\n\t\t\n\t\twhile(true) {\n\t\t\tif(p < x) {\n\t\t\t\tp = p + (p/100);\n\t\t\t\tans++;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\t\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong x = scan.nextLong();\n\t\tlong p = 100;\n\t\tlong ans = 0;\n\t\t\n\t\twhile(true) {\n\t\t\tif(p < x) {\n\t\t\t\tp = p + (p/100);\n\t\t\t\tans++;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long x = scan.nextLong();",
"x",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long p = 100;",
"p",
"100",
"long ans = 0;",
"ans",
"0",
"while(true) {\n\t\t\tif(p < x) {\n\t\t\t\tp = p + (p/100);\n\t\t\t\tans++;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tif(p < x) {\n\t\t\t\tp = p + (p/100);\n\t\t\t\tans++;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if(p < x) {\n\t\t\t\tp = p + (p/100);\n\t\t\t\tans++;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbreak;\n\t\t\t}",
"p < x",
"p",
"x",
"{\n\t\t\t\tp = p + (p/100);\n\t\t\t\tans++;\n\t\t\t}",
"p = p + (p/100)",
"p",
"p + (p/100)",
"p",
"(p/100)",
"p",
"100",
"ans++",
"ans",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong x = scan.nextLong();\n\t\tlong p = 100;\n\t\tlong ans = 0;\n\t\t\n\t\twhile(true) {\n\t\t\tif(p < x) {\n\t\t\t\tp = p + (p/100);\n\t\t\t\tans++;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\t\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 scan = new Scanner(System.in);\n\t\tlong x = scan.nextLong();\n\t\tlong p = 100;\n\t\tlong ans = 0;\n\t\t\n\t\twhile(true) {\n\t\t\tif(p < x) {\n\t\t\t\tp = p + (p/100);\n\t\t\t\tans++;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\t\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 p = 100;
long ans = 0;
while(true) {
if(p < x) {
p = p + (p/100);
ans++;
}
else {
break;
}
}
System.out.println(ans);
}
}
|
[
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,
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
],
[
29,
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
]
] |
[
"import java.util.Scanner;\nclass Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n\tlong money=100;\n for(int i=1;;i++ ){\n money*=1.01;\n if(money>=x){\n System.out.println(i);\n break;\n }\n }\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\tlong money=100;\n for(int i=1;;i++ ){\n money*=1.01;\n if(money>=x){\n System.out.println(i);\n break;\n }\n }\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n\tlong money=100;\n for(int i=1;;i++ ){\n money*=1.01;\n if(money>=x){\n System.out.println(i);\n break;\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n\tlong money=100;\n for(int i=1;;i++ ){\n money*=1.01;\n if(money>=x){\n System.out.println(i);\n break;\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 money=100;",
"money",
"100",
"for(int i=1;;i++ ){\n money*=1.01;\n if(money>=x){\n System.out.println(i);\n break;\n }\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n money*=1.01;\n if(money>=x){\n System.out.println(i);\n break;\n }\n }",
"{\n money*=1.01;\n if(money>=x){\n System.out.println(i);\n break;\n }\n }",
"money*=1.01",
"money",
"1.01",
"if(money>=x){\n System.out.println(i);\n break;\n }",
"money>=x",
"money",
"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"
] |
import java.util.Scanner;
class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
long money=100;
for(int i=1;;i++ ){
money*=1.01;
if(money>=x){
System.out.println(i);
break;
}
}
}
}
|
[
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,
2,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
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
]
] |
[
"import java.util.Scanner;\nclass Main{\n public static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n long a = 100;\n double num = scan.nextDouble();\n int aa = 0;\n while(a < num){\n a = a + a/100;\n aa++; \n }\n System.out.println(aa);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n long a = 100;\n double num = scan.nextDouble();\n int aa = 0;\n while(a < num){\n a = a + a/100;\n aa++; \n }\n System.out.println(aa);\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n long a = 100;\n double num = scan.nextDouble();\n int aa = 0;\n while(a < num){\n a = a + a/100;\n aa++; \n }\n System.out.println(aa);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n long a = 100;\n double num = scan.nextDouble();\n int aa = 0;\n while(a < num){\n a = a + a/100;\n aa++; \n }\n System.out.println(aa);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long a = 100;",
"a",
"100",
"double num = scan.nextDouble();",
"num",
"scan.nextDouble()",
"scan.nextDouble",
"scan",
"int aa = 0;",
"aa",
"0",
"while(a < num){\n a = a + a/100;\n aa++; \n }",
"a < num",
"a",
"num",
"{\n a = a + a/100;\n aa++; \n }",
"a = a + a/100",
"a",
"a + a/100",
"a",
"a/100",
"a",
"100",
"aa++",
"aa",
"System.out.println(aa)",
"System.out.println",
"System.out",
"System",
"System.out",
"aa",
"String args[]",
"args"
] |
import java.util.Scanner;
class Main{
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
long a = 100;
double num = scan.nextDouble();
int aa = 0;
while(a < num){
a = a + a/100;
aa++;
}
System.out.println(aa);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
14,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
51,
5
],
[
51,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
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
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"import java.util.*;\npublic class Main {\n\n public static void main(String[] args) {\n Scanner yomi = new Scanner(System.in);\n long a = yomi.nextLong();\n long b=100;\n for(int i=1;b<a;i++){\n b+=b/100;\n if (b>=a) System.out.println(i);\n }\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n Scanner yomi = new Scanner(System.in);\n long a = yomi.nextLong();\n long b=100;\n for(int i=1;b<a;i++){\n b+=b/100;\n if (b>=a) System.out.println(i);\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner yomi = new Scanner(System.in);\n long a = yomi.nextLong();\n long b=100;\n for(int i=1;b<a;i++){\n b+=b/100;\n if (b>=a) System.out.println(i);\n }\n\n }",
"main",
"{\n Scanner yomi = new Scanner(System.in);\n long a = yomi.nextLong();\n long b=100;\n for(int i=1;b<a;i++){\n b+=b/100;\n if (b>=a) System.out.println(i);\n }\n\n }",
"Scanner yomi = new Scanner(System.in);",
"yomi",
"new Scanner(System.in)",
"long a = yomi.nextLong();",
"a",
"yomi.nextLong()",
"yomi.nextLong",
"yomi",
"long b=100;",
"b",
"100",
"for(int i=1;b<a;i++){\n b+=b/100;\n if (b>=a) System.out.println(i);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"b<a",
"b",
"a",
"i++",
"i++",
"i",
"{\n b+=b/100;\n if (b>=a) System.out.println(i);\n }",
"{\n b+=b/100;\n if (b>=a) System.out.println(i);\n }",
"b+=b/100",
"b",
"b/100",
"b",
"100",
"if (b>=a) System.out.println(i);",
"b>=a",
"b",
"a",
"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 yomi = new Scanner(System.in);\n long a = yomi.nextLong();\n long b=100;\n for(int i=1;b<a;i++){\n b+=b/100;\n if (b>=a) System.out.println(i);\n }\n\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner yomi = new Scanner(System.in);\n long a = yomi.nextLong();\n long b=100;\n for(int i=1;b<a;i++){\n b+=b/100;\n if (b>=a) System.out.println(i);\n }\n\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner yomi = new Scanner(System.in);
long a = yomi.nextLong();
long b=100;
for(int i=1;b<a;i++){
b+=b/100;
if (b>=a) 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,
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
]
] |
[
"import java.util.*;\npublic class Main {\n\n public static void main(String[] args) { \n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n\n long start = 100;\n long yrs = 0;\n while(start < x) {\n long unitInc = start / 100;\n start = start + unitInc;\n yrs++;\n\n }\n System.out.println(yrs);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) { \n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n\n long start = 100;\n long yrs = 0;\n while(start < x) {\n long unitInc = start / 100;\n start = start + unitInc;\n yrs++;\n\n }\n System.out.println(yrs);\n }\n}",
"Main",
"public static void main(String[] args) { \n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n\n long start = 100;\n long yrs = 0;\n while(start < x) {\n long unitInc = start / 100;\n start = start + unitInc;\n yrs++;\n\n }\n System.out.println(yrs);\n }",
"main",
"{ \n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n\n long start = 100;\n long yrs = 0;\n while(start < x) {\n long unitInc = start / 100;\n start = start + unitInc;\n yrs++;\n\n }\n System.out.println(yrs);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long start = 100;",
"start",
"100",
"long yrs = 0;",
"yrs",
"0",
"while(start < x) {\n long unitInc = start / 100;\n start = start + unitInc;\n yrs++;\n\n }",
"start < x",
"start",
"x",
"{\n long unitInc = start / 100;\n start = start + unitInc;\n yrs++;\n\n }",
"long unitInc = start / 100;",
"unitInc",
"start / 100",
"start",
"100",
"start = start + unitInc",
"start",
"start + unitInc",
"start",
"unitInc",
"yrs++",
"yrs",
"System.out.println(yrs)",
"System.out.println",
"System.out",
"System",
"System.out",
"yrs",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) { \n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n\n long start = 100;\n long yrs = 0;\n while(start < x) {\n long unitInc = start / 100;\n start = start + unitInc;\n yrs++;\n\n }\n System.out.println(yrs);\n }\n}",
"public class Main {\n\n public static void main(String[] args) { \n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n\n long start = 100;\n long yrs = 0;\n while(start < x) {\n long unitInc = start / 100;\n start = start + unitInc;\n yrs++;\n\n }\n System.out.println(yrs);\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 start = 100;
long yrs = 0;
while(start < x) {
long unitInc = start / 100;
start = start + unitInc;
yrs++;
}
System.out.println(yrs);
}
}
|
[
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 i = sc.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\n\t\twhile (money < i) {\n\t\t\tmoney += money * 0.01;\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong i = sc.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\n\t\twhile (money < i) {\n\t\t\tmoney += money * 0.01;\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong i = sc.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\n\t\twhile (money < i) {\n\t\t\tmoney += money * 0.01;\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong i = sc.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\n\t\twhile (money < i) {\n\t\t\tmoney += money * 0.01;\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long i = sc.nextLong();",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long money = 100;",
"money",
"100",
"int count = 0;",
"count",
"0",
"while (money < i) {\n\t\t\tmoney += money * 0.01;\n\t\t\tcount++;\n\t\t}",
"money < i",
"money",
"i",
"{\n\t\t\tmoney += money * 0.01;\n\t\t\tcount++;\n\t\t}",
"money += money * 0.01",
"money",
"money * 0.01",
"money",
"0.01",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong i = sc.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\n\t\twhile (money < i) {\n\t\t\tmoney += money * 0.01;\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong i = sc.nextLong();\n\t\tlong money = 100;\n\t\tint count = 0;\n\n\t\twhile (money < i) {\n\t\t\tmoney += money * 0.01;\n\t\t\tcount++;\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long i = sc.nextLong();
long money = 100;
int count = 0;
while (money < i) {
money += money * 0.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,
17,
30,
14,
2,
13,
13,
3,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
25,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
25,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\t\n\t\tlong temp = 100;\n\t\tint count = 0;\n\t\twhile(true) {\n\t\t\t\n\t\t\tif(temp >= x) break;\n\t\t\t\n\t\t\ttemp += temp / 100;\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\t\n\t\tlong temp = 100;\n\t\tint count = 0;\n\t\twhile(true) {\n\t\t\t\n\t\t\tif(temp >= x) break;\n\t\t\t\n\t\t\ttemp += temp / 100;\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\t\n\t\tlong temp = 100;\n\t\tint count = 0;\n\t\twhile(true) {\n\t\t\t\n\t\t\tif(temp >= x) break;\n\t\t\t\n\t\t\ttemp += temp / 100;\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t\t\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\t\n\t\tlong temp = 100;\n\t\tint count = 0;\n\t\twhile(true) {\n\t\t\t\n\t\t\tif(temp >= x) break;\n\t\t\t\n\t\t\ttemp += temp / 100;\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\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 temp = 100;",
"temp",
"100",
"int count = 0;",
"count",
"0",
"while(true) {\n\t\t\t\n\t\t\tif(temp >= x) break;\n\t\t\t\n\t\t\ttemp += temp / 100;\n\t\t\tcount++;\n\t\t}",
"true",
"{\n\t\t\t\n\t\t\tif(temp >= x) break;\n\t\t\t\n\t\t\ttemp += temp / 100;\n\t\t\tcount++;\n\t\t}",
"if(temp >= x) break;",
"temp >= x",
"temp",
"x",
"break;",
"temp += temp / 100",
"temp",
"temp / 100",
"temp",
"100",
"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\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\t\n\t\tlong temp = 100;\n\t\tint count = 0;\n\t\twhile(true) {\n\t\t\t\n\t\t\tif(temp >= x) break;\n\t\t\t\n\t\t\ttemp += temp / 100;\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\t\n\t\tlong temp = 100;\n\t\tint count = 0;\n\t\twhile(true) {\n\t\t\t\n\t\t\tif(temp >= x) break;\n\t\t\t\n\t\t\ttemp += temp / 100;\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\tSystem.out.println(count);\n\t\t\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();
long temp = 100;
int count = 0;
while(true) {
if(temp >= x) break;
temp += temp / 100;
count++;
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
18,
13,
17,
41,
13,
4,
18,
13,
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,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
4,
18,
13,
4,
18,
13,
29,
4,
18,
13,
20,
4,
18,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
34,
44
],
[
44,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
6,
52
],
[
52,
53
],
[
83,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
56,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
72,
73
],
[
56,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
79,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n String[] lines = getStdin();\n String str = lines[0];\n long num = Long.parseLong(str);\n long sum = 100;\n int count = 0;\n\n while (sum < num){\n sum = sum + (sum * 1 / 100);\n count++;\n }\n System.out.println(count);\n \n }\n \n private static String[] getStdin() {\n Scanner scanner = new Scanner(System.in);\n ArrayList<String> lines = new ArrayList<>();\n while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }\n return lines.toArray(new String[lines.size()]);\n }\n \n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n String[] lines = getStdin();\n String str = lines[0];\n long num = Long.parseLong(str);\n long sum = 100;\n int count = 0;\n\n while (sum < num){\n sum = sum + (sum * 1 / 100);\n count++;\n }\n System.out.println(count);\n \n }\n \n private static String[] getStdin() {\n Scanner scanner = new Scanner(System.in);\n ArrayList<String> lines = new ArrayList<>();\n while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }\n return lines.toArray(new String[lines.size()]);\n }\n \n}",
"Main",
"public static void main(String[] args) throws Exception {\n String[] lines = getStdin();\n String str = lines[0];\n long num = Long.parseLong(str);\n long sum = 100;\n int count = 0;\n\n while (sum < num){\n sum = sum + (sum * 1 / 100);\n count++;\n }\n System.out.println(count);\n \n }",
"main",
"{\n String[] lines = getStdin();\n String str = lines[0];\n long num = Long.parseLong(str);\n long sum = 100;\n int count = 0;\n\n while (sum < num){\n sum = sum + (sum * 1 / 100);\n count++;\n }\n System.out.println(count);\n \n }",
"String[] lines = getStdin();",
"lines",
"getStdin()",
"getStdin",
"String str = lines[0];",
"str",
"lines[0]",
"lines",
"0",
"long num = Long.parseLong(str);",
"num",
"Long.parseLong(str)",
"Long.parseLong",
"Long",
"str",
"long sum = 100;",
"sum",
"100",
"int count = 0;",
"count",
"0",
"while (sum < num){\n sum = sum + (sum * 1 / 100);\n count++;\n }",
"sum < num",
"sum",
"num",
"{\n sum = sum + (sum * 1 / 100);\n count++;\n }",
"sum = sum + (sum * 1 / 100)",
"sum",
"sum + (sum * 1 / 100)",
"sum",
"(sum * 1 / 100)",
"sum * 1",
"sum",
"1",
"100",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"private static String[] getStdin() {\n Scanner scanner = new Scanner(System.in);\n ArrayList<String> lines = new ArrayList<>();\n while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }\n return lines.toArray(new String[lines.size()]);\n }",
"getStdin",
"{\n Scanner scanner = new Scanner(System.in);\n ArrayList<String> lines = new ArrayList<>();\n while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }\n return lines.toArray(new String[lines.size()]);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"ArrayList<String> lines = new ArrayList<>();",
"lines",
"new ArrayList<>()",
"while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }",
"scanner.hasNext()",
"scanner.hasNext",
"scanner",
"{\n lines.add(scanner.nextLine());\n }",
"lines.add(scanner.nextLine())",
"lines.add",
"lines",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"return lines.toArray(new String[lines.size()]);",
"lines.toArray(new String[lines.size()])",
"lines.toArray",
"lines",
"new String[lines.size()]",
"lines.size()",
"lines.size",
"lines",
"public class Main {\n public static void main(String[] args) throws Exception {\n String[] lines = getStdin();\n String str = lines[0];\n long num = Long.parseLong(str);\n long sum = 100;\n int count = 0;\n\n while (sum < num){\n sum = sum + (sum * 1 / 100);\n count++;\n }\n System.out.println(count);\n \n }\n \n private static String[] getStdin() {\n Scanner scanner = new Scanner(System.in);\n ArrayList<String> lines = new ArrayList<>();\n while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }\n return lines.toArray(new String[lines.size()]);\n }\n \n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n String[] lines = getStdin();\n String str = lines[0];\n long num = Long.parseLong(str);\n long sum = 100;\n int count = 0;\n\n while (sum < num){\n sum = sum + (sum * 1 / 100);\n count++;\n }\n System.out.println(count);\n \n }\n \n private static String[] getStdin() {\n Scanner scanner = new Scanner(System.in);\n ArrayList<String> lines = new ArrayList<>();\n while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }\n return lines.toArray(new String[lines.size()]);\n }\n \n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
String[] lines = getStdin();
String str = lines[0];
long num = Long.parseLong(str);
long sum = 100;
int count = 0;
while (sum < num){
sum = sum + (sum * 1 / 100);
count++;
}
System.out.println(count);
}
private static String[] getStdin() {
Scanner scanner = new Scanner(System.in);
ArrayList<String> lines = new ArrayList<>();
while (scanner.hasNext()) {
lines.add(scanner.nextLine());
}
return lines.toArray(new String[lines.size()]);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
17,
40,
13,
41,
13,
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
],
[
8,
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.*;\n\npublic class Main {\n\n public static void main(String args[]) {\n\n // 入力\n Scanner sc = new Scanner(System.in);\n long x = Long.parseLong(sc.next());\n sc.close();\n\n // 主処理\n long amount = 100;\n int count = 0;\n while (amount < x) {\n amount += amount / 100;\n count++;\n }\n int result = count;\n\n // 出力\n System.out.println(result);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String args[]) {\n\n // 入力\n Scanner sc = new Scanner(System.in);\n long x = Long.parseLong(sc.next());\n sc.close();\n\n // 主処理\n long amount = 100;\n int count = 0;\n while (amount < x) {\n amount += amount / 100;\n count++;\n }\n int result = count;\n\n // 出力\n System.out.println(result);\n }\n}",
"Main",
"public static void main(String args[]) {\n\n // 入力\n Scanner sc = new Scanner(System.in);\n long x = Long.parseLong(sc.next());\n sc.close();\n\n // 主処理\n long amount = 100;\n int count = 0;\n while (amount < x) {\n amount += amount / 100;\n count++;\n }\n int result = count;\n\n // 出力\n System.out.println(result);\n }",
"main",
"{\n\n // 入力\n Scanner sc = new Scanner(System.in);\n long x = Long.parseLong(sc.next());\n sc.close();\n\n // 主処理\n long amount = 100;\n int count = 0;\n while (amount < x) {\n amount += amount / 100;\n count++;\n }\n int result = count;\n\n // 出力\n System.out.println(result);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = Long.parseLong(sc.next());",
"x",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"long amount = 100;",
"amount",
"100",
"int count = 0;",
"count",
"0",
"while (amount < x) {\n amount += amount / 100;\n count++;\n }",
"amount < x",
"amount",
"x",
"{\n amount += amount / 100;\n count++;\n }",
"amount += amount / 100",
"amount",
"amount / 100",
"amount",
"100",
"count++",
"count",
"int result = count;",
"result",
"count",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String args[]",
"args",
"public class Main {\n\n public static void main(String args[]) {\n\n // 入力\n Scanner sc = new Scanner(System.in);\n long x = Long.parseLong(sc.next());\n sc.close();\n\n // 主処理\n long amount = 100;\n int count = 0;\n while (amount < x) {\n amount += amount / 100;\n count++;\n }\n int result = count;\n\n // 出力\n System.out.println(result);\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 = Long.parseLong(sc.next());\n sc.close();\n\n // 主処理\n long amount = 100;\n int count = 0;\n while (amount < x) {\n amount += amount / 100;\n count++;\n }\n int result = count;\n\n // 出力\n System.out.println(result);\n }\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());
sc.close();
// 主処理
long amount = 100;
int count = 0;
while (amount < x) {
amount += amount / 100;
count++;
}
int result = count;
// 出力
System.out.println(result);
}
}
|
[
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,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
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
],
[
63,
5
],
[
63,
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
],
[
30,
31
],
[
30,
32
],
[
23,
33
],
[
33,
34
],
[
34,
35
],
[
23,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long ans = 0;\n long yo = 100;\n for(long i = 1; i < Long.MAX_VALUE; i++) {\n yo = (yo + (yo / 100));\n if(yo >= x) {\n ans = i;\n break;\n }\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 long x = sc.nextLong();\n long ans = 0;\n long yo = 100;\n for(long i = 1; i < Long.MAX_VALUE; i++) {\n yo = (yo + (yo / 100));\n if(yo >= x) {\n ans = i;\n break;\n }\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long ans = 0;\n long yo = 100;\n for(long i = 1; i < Long.MAX_VALUE; i++) {\n yo = (yo + (yo / 100));\n if(yo >= x) {\n ans = i;\n break;\n }\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long ans = 0;\n long yo = 100;\n for(long i = 1; i < Long.MAX_VALUE; i++) {\n yo = (yo + (yo / 100));\n if(yo >= x) {\n ans = i;\n break;\n }\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 ans = 0;",
"ans",
"0",
"long yo = 100;",
"yo",
"100",
"for(long i = 1; i < Long.MAX_VALUE; i++) {\n yo = (yo + (yo / 100));\n if(yo >= x) {\n ans = i;\n break;\n }\n }",
"long i = 1;",
"long i = 1;",
"i",
"1",
"i < Long.MAX_VALUE",
"i",
"Long.MAX_VALUE",
"Long",
"Long.MAX_VALUE",
"i++",
"i++",
"i",
"{\n yo = (yo + (yo / 100));\n if(yo >= x) {\n ans = i;\n break;\n }\n }",
"{\n yo = (yo + (yo / 100));\n if(yo >= x) {\n ans = i;\n break;\n }\n }",
"yo = (yo + (yo / 100))",
"yo",
"(yo + (yo / 100))",
"yo",
"(yo / 100)",
"yo",
"100",
"if(yo >= x) {\n ans = i;\n break;\n }",
"yo >= x",
"yo",
"x",
"{\n ans = i;\n break;\n }",
"ans = i",
"ans",
"i",
"break;",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long x = sc.nextLong();\n long ans = 0;\n long yo = 100;\n for(long i = 1; i < Long.MAX_VALUE; i++) {\n yo = (yo + (yo / 100));\n if(yo >= x) {\n ans = i;\n break;\n }\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 long x = sc.nextLong();\n long ans = 0;\n long yo = 100;\n for(long i = 1; i < Long.MAX_VALUE; i++) {\n yo = (yo + (yo / 100));\n if(yo >= x) {\n ans = i;\n break;\n }\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);
long x = sc.nextLong();
long ans = 0;
long yo = 100;
for(long i = 1; i < Long.MAX_VALUE; i++) {
yo = (yo + (yo / 100));
if(yo >= x) {
ans = i;
break;
}
}
System.out.println(ans);
}
}
|
[
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,
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,
41,
13,
17,
42,
2,
13,
13,
30,
40,
13,
0,
13,
4,
18,
13,
2,
13,
17,
0,
13,
13,
4,
18,
13,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
164,
29
],
[
164,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
32,
43
],
[
43,
44
],
[
43,
45
],
[
32,
46
],
[
46,
47
],
[
46,
48
],
[
32,
49
],
[
49,
50
],
[
49,
51
],
[
32,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
52,
56
],
[
52,
57
],
[
32,
58
],
[
58,
59
],
[
59,
60
],
[
30,
61
],
[
61,
62
],
[
164,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
67,
73
],
[
73,
74
],
[
73,
75
],
[
67,
76
],
[
76,
77
],
[
76,
78
],
[
67,
79
],
[
79,
80
],
[
79,
81
],
[
67,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
94,
96
],
[
86,
97
],
[
97,
98
],
[
97,
99
],
[
67,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
65,
104
],
[
104,
105
],
[
65,
106
],
[
106,
107
],
[
65,
108
],
[
108,
109
],
[
164,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
110,
114
],
[
114,
115
],
[
110,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
122,
123
],
[
122,
124
],
[
116,
125
],
[
125,
126
],
[
110,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
130,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
140,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
129,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
110,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
158,
161
],
[
161,
162
],
[
0,
163
],
[
163,
164
],
[
163,
165
]
] |
[
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\nimport java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author Tarek\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 x = in.nextLong();\n long n = 100;\n double k = 0;\n int i = 0;\n do {\n i++;\n k = Math.ceil((double) (n / 100));\n n += (long) k;\n } while (n < x);\n out.println(i);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long nextLong() {\n return Long.parseLong(next());\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.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n 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 x = in.nextLong();\n long n = 100;\n double k = 0;\n int i = 0;\n do {\n i++;\n k = Math.ceil((double) (n / 100));\n n += (long) k;\n } while (n < x);\n out.println(i);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n 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 x = in.nextLong();\n long n = 100;\n double k = 0;\n int i = 0;\n do {\n i++;\n k = Math.ceil((double) (n / 100));\n n += (long) k;\n } while (n < x);\n out.println(i);\n }\n\n }",
"B1",
"public void solve(int testNumber, InputReader in, PrintWriter out) {\n long x = in.nextLong();\n long n = 100;\n double k = 0;\n int i = 0;\n do {\n i++;\n k = Math.ceil((double) (n / 100));\n n += (long) k;\n } while (n < x);\n out.println(i);\n }",
"solve",
"{\n long x = in.nextLong();\n long n = 100;\n double k = 0;\n int i = 0;\n do {\n i++;\n k = Math.ceil((double) (n / 100));\n n += (long) k;\n } while (n < x);\n out.println(i);\n }",
"long x = in.nextLong();",
"x",
"in.nextLong()",
"in.nextLong",
"in",
"long n = 100;",
"n",
"100",
"double k = 0;",
"k",
"0",
"int i = 0;",
"i",
"0",
"do {\n i++;\n k = Math.ceil((double) (n / 100));\n n += (long) k;\n } while (n < x);",
"n < x",
"n",
"x",
"{\n i++;\n k = Math.ceil((double) (n / 100));\n n += (long) k;\n }",
"i++",
"i",
"k = Math.ceil((double) (n / 100))",
"k",
"Math.ceil((double) (n / 100))",
"Math.ceil",
"Math",
"(double) (n / 100)",
"n",
"100",
"n += (long) k",
"n",
"(long) k",
"out.println(i)",
"out.println",
"out",
"i",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"PrintWriter out",
"out",
"static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n }",
"InputReader",
"public BufferedReader reader;",
"reader",
"public StringTokenizer tokenizer;",
"tokenizer",
"public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }",
"InputReader",
"{\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }",
"reader = new BufferedReader(new InputStreamReader(stream), 32768)",
"reader",
"new BufferedReader(new InputStreamReader(stream), 32768)",
"tokenizer = null",
"tokenizer",
"null",
"InputStream stream",
"stream",
"public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"next",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public 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 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 x = in.nextLong();\n long n = 100;\n double k = 0;\n int i = 0;\n do {\n i++;\n k = Math.ceil((double) (n / 100));\n n += (long) k;\n } while (n < x);\n out.println(i);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n 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 x = in.nextLong();\n long n = 100;\n double k = 0;\n int i = 0;\n do {\n i++;\n k = Math.ceil((double) (n / 100));\n n += (long) k;\n } while (n < x);\n out.println(i);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n }\n}",
"Main"
] |
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.StringTokenizer;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author Tarek
*/
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 x = in.nextLong();
long n = 100;
double k = 0;
int i = 0;
do {
i++;
k = Math.ceil((double) (n / 100));
n += (long) k;
} while (n < x);
out.println(i);
}
}
static class InputReader {
public BufferedReader reader;
public StringTokenizer tokenizer;
public InputReader(InputStream stream) {
reader = new BufferedReader(new InputStreamReader(stream), 32768);
tokenizer = null;
}
public String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
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,
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
],
[
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
],
[
35,
36
],
[
35,
37
],
[
30,
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.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n sc.close();\n long now =100;\n int c = 0;\n // Stirng i = 9223372036854775807\n // System.out.println(1); \n while(N>now){\n now = now + now/100;\n // now = now + (int)(now*0.01);\n c++;\n // System.out.println(c); \n }\n System.out.println(c); \n }\n \n}\n\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n sc.close();\n long now =100;\n int c = 0;\n // Stirng i = 9223372036854775807\n // System.out.println(1); \n while(N>now){\n now = now + now/100;\n // now = now + (int)(now*0.01);\n c++;\n // System.out.println(c); \n }\n System.out.println(c); \n }\n \n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n sc.close();\n long now =100;\n int c = 0;\n // Stirng i = 9223372036854775807\n // System.out.println(1); \n while(N>now){\n now = now + now/100;\n // now = now + (int)(now*0.01);\n c++;\n // System.out.println(c); \n }\n System.out.println(c); \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n sc.close();\n long now =100;\n int c = 0;\n // Stirng i = 9223372036854775807\n // System.out.println(1); \n while(N>now){\n now = now + now/100;\n // now = now + (int)(now*0.01);\n c++;\n // System.out.println(c); \n }\n System.out.println(c); \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"sc.close()",
"sc.close",
"sc",
"long now =100;",
"now",
"100",
"int c = 0;",
"c",
"0",
"while(N>now){\n now = now + now/100;\n // now = now + (int)(now*0.01);\n c++;\n // System.out.println(c); \n }",
"N>now",
"N",
"now",
"{\n now = now + now/100;\n // now = now + (int)(now*0.01);\n c++;\n // System.out.println(c); \n }",
"now = now + now/100",
"now",
"now + now/100",
"now",
"now/100",
"now",
"100",
"c++",
"c",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n sc.close();\n long now =100;\n int c = 0;\n // Stirng i = 9223372036854775807\n // System.out.println(1); \n while(N>now){\n now = now + now/100;\n // now = now + (int)(now*0.01);\n c++;\n // System.out.println(c); \n }\n System.out.println(c); \n }\n \n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n sc.close();\n long now =100;\n int c = 0;\n // Stirng i = 9223372036854775807\n // System.out.println(1); \n while(N>now){\n now = now + now/100;\n // now = now + (int)(now*0.01);\n c++;\n // System.out.println(c); \n }\n System.out.println(c); \n }\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();
sc.close();
long now =100;
int c = 0;
// Stirng i = 9223372036854775807
// System.out.println(1);
while(N>now){
now = now + now/100;
// now = now + (int)(now*0.01);
c++;
// System.out.println(c);
}
System.out.println(c);
}
}
|
[
7,
6,
12,
13,
30,
29,
2,
18,
13,
13,
18,
13,
13,
23,
13,
23,
13,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
17,
17,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
4,
18,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
2,
13,
13,
2,
13,
4,
13,
2,
13,
13,
29,
17,
29,
17,
23,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
40,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
41,
13,
4,
13,
13,
2,
13,
17,
41,
13,
2,
2,
13,
13,
13,
14,
2,
2,
13,
17,
17,
29,
13,
29,
2,
2,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
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,
13,
29,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
13,
20,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
23,
13,
12,
13,
30,
42,
40,
4,
18,
13,
30,
38,
5,
13,
30,
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,
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,
6,
13,
12,
13,
30,
4,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
13,
2,
18,
13,
13,
17,
4,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
13,
2,
18,
13,
13,
17,
4,
13,
23,
13,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
2,
4
],
[
4,
5
],
[
5,
6
],
[
6,
7
],
[
7,
8
],
[
7,
9
],
[
6,
10
],
[
10,
11
],
[
10,
12
],
[
2,
13
],
[
13,
14
],
[
2,
15
],
[
15,
16
],
[
0,
17
],
[
17,
18
],
[
17,
19
],
[
0,
20
],
[
20,
21
],
[
20,
22
],
[
0,
23
],
[
500,
24
],
[
500,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
500,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
32,
39
],
[
39,
40
],
[
39,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
30,
45
],
[
45,
46
],
[
500,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
50,
64
],
[
64,
65
],
[
49,
66
],
[
66,
67
],
[
47,
68
],
[
68,
69
],
[
47,
70
],
[
70,
71
],
[
47,
72
],
[
72,
73
],
[
500,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
78,
83
],
[
83,
84
],
[
74,
85
],
[
85,
86
],
[
500,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
91,
96
],
[
87,
97
],
[
97,
98
],
[
87,
99
],
[
99,
100
],
[
500,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
103,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
112,
115
],
[
115,
116
],
[
115,
117
],
[
103,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
103,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
125,
131
],
[
131,
132
],
[
103,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
134,
138
],
[
101,
139
],
[
139,
140
],
[
101,
141
],
[
141,
142
],
[
500,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
145,
149
],
[
149,
150
],
[
149,
151
],
[
149,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
153,
156
],
[
145,
157
],
[
157,
158
],
[
158,
159
],
[
157,
160
],
[
145,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
161,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
168,
170
],
[
161,
171
],
[
171,
172
],
[
172,
173
],
[
161,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
179
],
[
179,
180
],
[
180,
181
],
[
179,
182
],
[
143,
183
],
[
183,
184
],
[
500,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
187,
191
],
[
191,
192
],
[
191,
193
],
[
191,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
195,
198
],
[
187,
199
],
[
199,
200
],
[
200,
201
],
[
199,
202
],
[
187,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
203,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
210,
212
],
[
203,
213
],
[
213,
214
],
[
214,
215
],
[
203,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
217,
221
],
[
221,
222
],
[
222,
223
],
[
221,
224
],
[
185,
225
],
[
225,
226
],
[
500,
227
],
[
227,
228
],
[
227,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
229,
234
],
[
234,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
234,
239
],
[
239,
240
],
[
239,
241
],
[
234,
242
],
[
242,
243
],
[
243,
244
],
[
234,
245
],
[
245,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
246,
250
],
[
229,
251
],
[
251,
252
],
[
227,
253
],
[
253,
254
],
[
227,
255
],
[
255,
256
],
[
500,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
257,
261
],
[
261,
262
],
[
257,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
266,
270
],
[
265,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
271,
275
],
[
263,
276
],
[
276,
277
],
[
263,
278
],
[
278,
279
],
[
257,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
286
],
[
286,
287
],
[
287,
288
],
[
286,
289
],
[
286,
290
],
[
282,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
291,
296
],
[
296,
297
],
[
296,
298
],
[
298,
299
],
[
299,
300
],
[
291,
301
],
[
301,
302
],
[
302,
303
],
[
291,
304
],
[
305,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
307,
309
],
[
306,
310
],
[
310,
311
],
[
311,
312
],
[
310,
313
],
[
280,
314
],
[
314,
315
],
[
500,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
316,
320
],
[
320,
321
],
[
316,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
324,
328
],
[
328,
329
],
[
328,
330
],
[
322,
331
],
[
331,
332
],
[
316,
333
],
[
333,
334
],
[
333,
335
],
[
335,
336
],
[
336,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
336,
341
],
[
341,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
342,
346
],
[
346,
347
],
[
347,
348
],
[
347,
349
],
[
335,
350
],
[
350,
351
],
[
351,
352
],
[
352,
353
],
[
316,
354
],
[
354,
355
],
[
354,
356
],
[
356,
357
],
[
357,
358
],
[
358,
359
],
[
359,
360
],
[
358,
361
],
[
361,
362
],
[
316,
363
],
[
363,
364
],
[
363,
365
],
[
365,
366
],
[
366,
367
],
[
367,
368
],
[
368,
369
],
[
367,
370
],
[
370,
371
],
[
316,
372
],
[
372,
373
],
[
372,
374
],
[
374,
375
],
[
375,
376
],
[
375,
377
],
[
374,
379
],
[
379,
380
],
[
380,
381
],
[
381,
382
],
[
381,
383
],
[
379,
384
],
[
384,
385
],
[
384,
386
],
[
379,
387
],
[
387,
388
],
[
388,
389
],
[
379,
390
],
[
390,
391
],
[
391,
392
],
[
392,
393
],
[
392,
394
],
[
391,
395
],
[
395,
396
],
[
374,
397
],
[
397,
398
],
[
372,
399
],
[
399,
400
],
[
316,
401
],
[
401,
402
],
[
401,
403
],
[
403,
404
],
[
404,
405
],
[
404,
406
],
[
403,
408
],
[
408,
409
],
[
409,
410
],
[
410,
411
],
[
410,
412
],
[
408,
413
],
[
413,
414
],
[
413,
415
],
[
408,
416
],
[
416,
417
],
[
417,
418
],
[
408,
419
],
[
419,
420
],
[
420,
421
],
[
421,
422
],
[
421,
423
],
[
420,
424
],
[
424,
425
],
[
403,
426
],
[
426,
427
],
[
401,
428
],
[
428,
429
],
[
500,
430
],
[
430,
431
],
[
430,
432
],
[
432,
433
],
[
432,
434
],
[
434,
435
],
[
435,
436
],
[
435,
437
],
[
432,
438
],
[
438,
439
],
[
430,
440
],
[
440,
441
],
[
440,
442
],
[
442,
443
],
[
443,
444
],
[
444,
445
],
[
445,
446
],
[
445,
447
],
[
443,
448
],
[
448,
449
],
[
448,
450
],
[
450,
451
],
[
450,
452
],
[
443,
453
],
[
453,
454
],
[
454,
455
],
[
443,
456
],
[
457,
457
],
[
457,
458
],
[
458,
459
],
[
458,
460
],
[
460,
461
],
[
461,
462
],
[
461,
463
],
[
460,
464
],
[
442,
465
],
[
465,
466
],
[
440,
467
],
[
467,
468
],
[
430,
469
],
[
469,
470
],
[
469,
471
],
[
471,
472
],
[
472,
473
],
[
473,
474
],
[
474,
475
],
[
474,
476
],
[
472,
477
],
[
477,
478
],
[
477,
479
],
[
479,
480
],
[
479,
481
],
[
472,
482
],
[
482,
483
],
[
483,
484
],
[
472,
485
],
[
486,
486
],
[
486,
487
],
[
487,
488
],
[
487,
489
],
[
489,
490
],
[
490,
491
],
[
490,
492
],
[
489,
493
],
[
471,
494
],
[
494,
495
],
[
469,
496
],
[
496,
497
],
[
430,
498
],
[
0,
499
],
[
499,
500
],
[
499,
501
]
] |
[
"import java.io.*;\nimport java.util.*;\n\npublic class Main{\n\t\n\tstatic long mod=(long)1e9+7;\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tWriter out=new Writer(System.out);\n\t\tReader in=new Reader(System.in);\n\t\tint ts=1;\n\t\t\n\t\touter: while(ts-->0) {\t\n\t\t\tlong x=in.nextLong();\n\t\t\tlong c=100;\n\t\t\tint i;\n\t\t\tfor(i=1;;i++) {\n\t\t\t\tc=c+c/100;\n\t\t\t\tif(x<=c) break;\n\t\t\t}\n\t\t\tout.println(i);\n\t\t}\n\t\tout.close();\t\t\n\t\t\n\t}\n\n\tstatic boolean tri(int a, int b, int c) {\n\t\tif(c<a+b && c>abs(a-b)) return true;\n\t\treturn false;\n\t}\n\t\n\t\n/*********************************** UTILITY CODE BELOW **************************************/\t\n\t\t\n\tstatic int abs(int a) {\n\t\treturn a>0 ? a : -a;\n\t}\n\t\n\tstatic int max(int a, int b) {\n\t\treturn a>b ? a : b;\n\t}\n\t\n\tstatic int pow(int n, int m) {\n\t\tif(m==0) return 1;\n\t\tint temp=pow(n,m/2);\n\t\tlong res=(((long)temp*temp)%mod);\n\t\tif(m%2==0) return (int)res;\n\t\treturn (int)((res*n)%mod);\n\t}\n\t\n\tstatic class Pair{\n\t\tint u, v;\n\t\t\n\t\tPair(int u, int v){this.u=u; this.v=v;}\n\t\t\n\t\tstatic void sort(Pair [] coll) {\t\t\n\t\t\tList<Pair> al=new ArrayList<>(Arrays.asList(coll));\n\t\t\tCollections.sort(al,new Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t});\n\t\t\tfor(int i=0; i<al.size(); i++) {\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\t\n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> list=new ArrayList<>();\n\t\tfor (int i:a) list.add(i);\n\t\tCollections.sort(list);\n\t\tfor (int i=0; i<a.length; i++) a[i]=list.get(i);\n\t}\n\t\n\tstatic void sort(long a[]) {\n\t\tArrayList<Long> list=new ArrayList<>();\n\t\tfor(long i: a) list.add(i);\n\t\tCollections.sort(list);\n\t\tfor(int i=0; i<a.length; i++) a[i]=list.get(i);\n\t}\n\t\n\tstatic int [] array(int n, int value) {\t\n\t\tint a[]=new int[n];\n\t\tfor(int i=0; i<n; i++) a[i]=value;\n\t\treturn a;\n\t}\n\t\n\tstatic class Reader{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer to;\n\t\t\n\t\tReader(InputStream stream){\n\t\t\tbr=new BufferedReader(new InputStreamReader(stream));\n\t\t\tto=new StringTokenizer(\"\");\n\t\t}\n\t\t\n\t\tString next() {\n\t\t\twhile(!to.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}\n\t\t\t\t\n\t\t\t}\n\t\t\treturn to.nextToken();\n\t\t\t\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\t\n\t\tint [] readArray(int n) {\n\t\t\tint a[]=new int[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong [] readLongArray(int n) {\n\t\t\tlong a[]=new long[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t}\n\t\n\tstatic class Writer extends PrintWriter{\n\t\tWriter(OutputStream stream){\n\t\t\tsuper(stream);\n\t\t}\n\t\tvoid println(int [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t\tvoid println(long [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t}\n\t\n}",
"Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t}",
"public int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}",
"compare",
"{\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}",
"return p1.u-p2.u;",
"p1.u-p2.u",
"p1.u",
"p1",
"p1.u",
"p2.u",
"p2",
"p2.u",
"Pair p1",
"p1",
"Pair p2",
"p2",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\t\n\tstatic long mod=(long)1e9+7;\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tWriter out=new Writer(System.out);\n\t\tReader in=new Reader(System.in);\n\t\tint ts=1;\n\t\t\n\t\touter: while(ts-->0) {\t\n\t\t\tlong x=in.nextLong();\n\t\t\tlong c=100;\n\t\t\tint i;\n\t\t\tfor(i=1;;i++) {\n\t\t\t\tc=c+c/100;\n\t\t\t\tif(x<=c) break;\n\t\t\t}\n\t\t\tout.println(i);\n\t\t}\n\t\tout.close();\t\t\n\t\t\n\t}\n\n\tstatic boolean tri(int a, int b, int c) {\n\t\tif(c<a+b && c>abs(a-b)) return true;\n\t\treturn false;\n\t}\n\t\n\t\n/*********************************** UTILITY CODE BELOW **************************************/\t\n\t\t\n\tstatic int abs(int a) {\n\t\treturn a>0 ? a : -a;\n\t}\n\t\n\tstatic int max(int a, int b) {\n\t\treturn a>b ? a : b;\n\t}\n\t\n\tstatic int pow(int n, int m) {\n\t\tif(m==0) return 1;\n\t\tint temp=pow(n,m/2);\n\t\tlong res=(((long)temp*temp)%mod);\n\t\tif(m%2==0) return (int)res;\n\t\treturn (int)((res*n)%mod);\n\t}\n\t\n\tstatic class Pair{\n\t\tint u, v;\n\t\t\n\t\tPair(int u, int v){this.u=u; this.v=v;}\n\t\t\n\t\tstatic void sort(Pair [] coll) {\t\t\n\t\t\tList<Pair> al=new ArrayList<>(Arrays.asList(coll));\n\t\t\tCollections.sort(al,new Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t});\n\t\t\tfor(int i=0; i<al.size(); i++) {\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\t\n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> list=new ArrayList<>();\n\t\tfor (int i:a) list.add(i);\n\t\tCollections.sort(list);\n\t\tfor (int i=0; i<a.length; i++) a[i]=list.get(i);\n\t}\n\t\n\tstatic void sort(long a[]) {\n\t\tArrayList<Long> list=new ArrayList<>();\n\t\tfor(long i: a) list.add(i);\n\t\tCollections.sort(list);\n\t\tfor(int i=0; i<a.length; i++) a[i]=list.get(i);\n\t}\n\t\n\tstatic int [] array(int n, int value) {\t\n\t\tint a[]=new int[n];\n\t\tfor(int i=0; i<n; i++) a[i]=value;\n\t\treturn a;\n\t}\n\t\n\tstatic class Reader{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer to;\n\t\t\n\t\tReader(InputStream stream){\n\t\t\tbr=new BufferedReader(new InputStreamReader(stream));\n\t\t\tto=new StringTokenizer(\"\");\n\t\t}\n\t\t\n\t\tString next() {\n\t\t\twhile(!to.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}\n\t\t\t\t\n\t\t\t}\n\t\t\treturn to.nextToken();\n\t\t\t\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\t\n\t\tint [] readArray(int n) {\n\t\t\tint a[]=new int[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong [] readLongArray(int n) {\n\t\t\tlong a[]=new long[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t}\n\t\n\tstatic class Writer extends PrintWriter{\n\t\tWriter(OutputStream stream){\n\t\t\tsuper(stream);\n\t\t}\n\t\tvoid println(int [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t\tvoid println(long [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t}\n\t\n}",
"Main",
"static long mod=(long)1e9+7;",
"mod",
"(long)1e9+7",
"(long)1e9",
"7",
"public static void main(String[] args) throws IOException {\n\t\tWriter out=new Writer(System.out);\n\t\tReader in=new Reader(System.in);\n\t\tint ts=1;\n\t\t\n\t\touter: while(ts-->0) {\t\n\t\t\tlong x=in.nextLong();\n\t\t\tlong c=100;\n\t\t\tint i;\n\t\t\tfor(i=1;;i++) {\n\t\t\t\tc=c+c/100;\n\t\t\t\tif(x<=c) break;\n\t\t\t}\n\t\t\tout.println(i);\n\t\t}\n\t\tout.close();\t\t\n\t\t\n\t}",
"main",
"{\n\t\tWriter out=new Writer(System.out);\n\t\tReader in=new Reader(System.in);\n\t\tint ts=1;\n\t\t\n\t\touter: while(ts-->0) {\t\n\t\t\tlong x=in.nextLong();\n\t\t\tlong c=100;\n\t\t\tint i;\n\t\t\tfor(i=1;;i++) {\n\t\t\t\tc=c+c/100;\n\t\t\t\tif(x<=c) break;\n\t\t\t}\n\t\t\tout.println(i);\n\t\t}\n\t\tout.close();\t\t\n\t\t\n\t}",
"Writer out=new Writer(System.out);",
"out",
"new Writer(System.out)",
"Reader in=new Reader(System.in);",
"in",
"new Reader(System.in)",
"int ts=1;",
"ts",
"1",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static boolean tri(int a, int b, int c) {\n\t\tif(c<a+b && c>abs(a-b)) return true;\n\t\treturn false;\n\t}",
"tri",
"{\n\t\tif(c<a+b && c>abs(a-b)) return true;\n\t\treturn false;\n\t}",
"if(c<a+b && c>abs(a-b)) return true;",
"c<a+b && c>abs(a-b)",
"c<a+b",
"c",
"a+b",
"a",
"b",
"c>abs(a-b)",
"c",
"abs(a-b)",
"abs",
"a-b",
"a",
"b",
"return true;",
"true",
"return false;",
"false",
"int a",
"a",
"int b",
"b",
"int c",
"c",
"/*********************************** UTILITY CODE BELOW **************************************/\t\n\t\t\n\tstatic int abs(int a) {\n\t\treturn a>0 ? a : -a;\n\t}",
"abs",
"{\n\t\treturn a>0 ? a : -a;\n\t}",
"return a>0 ? a : -a;",
"a>0 ? a : -a",
"a>0",
"a",
"0",
"a",
"-a",
"a",
"int a",
"a",
"static int max(int a, int b) {\n\t\treturn a>b ? a : b;\n\t}",
"max",
"{\n\t\treturn a>b ? a : b;\n\t}",
"return a>b ? a : b;",
"a>b ? a : b",
"a>b",
"a",
"b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"static int pow(int n, int m) {\n\t\tif(m==0) return 1;\n\t\tint temp=pow(n,m/2);\n\t\tlong res=(((long)temp*temp)%mod);\n\t\tif(m%2==0) return (int)res;\n\t\treturn (int)((res*n)%mod);\n\t}",
"pow",
"{\n\t\tif(m==0) return 1;\n\t\tint temp=pow(n,m/2);\n\t\tlong res=(((long)temp*temp)%mod);\n\t\tif(m%2==0) return (int)res;\n\t\treturn (int)((res*n)%mod);\n\t}",
"if(m==0) return 1;",
"m==0",
"m",
"0",
"return 1;",
"1",
"int temp=pow(n,m/2);",
"temp",
"pow(n,m/2)",
"pow",
"n",
"m/2",
"m",
"2",
"long res=(((long)temp*temp)%mod);",
"res",
"(((long)temp*temp)%mod)",
"((long)temp*temp)",
"(long)temp",
"temp",
"mod",
"if(m%2==0) return (int)res;",
"m%2==0",
"m%2",
"m",
"2",
"0",
"return (int)res;",
"(int)res",
"return (int)((res*n)%mod);",
"(int)((res*n)%mod)",
"(res*n)",
"res",
"n",
"mod",
"int n",
"n",
"int m",
"m",
"static void sort(int[] a) {\n\t\tArrayList<Integer> list=new ArrayList<>();\n\t\tfor (int i:a) list.add(i);\n\t\tCollections.sort(list);\n\t\tfor (int i=0; i<a.length; i++) a[i]=list.get(i);\n\t}",
"sort",
"{\n\t\tArrayList<Integer> list=new ArrayList<>();\n\t\tfor (int i:a) list.add(i);\n\t\tCollections.sort(list);\n\t\tfor (int i=0; i<a.length; i++) a[i]=list.get(i);\n\t}",
"ArrayList<Integer> list=new ArrayList<>();",
"list",
"new ArrayList<>()",
"for (int i:a) list.add(i);",
"int i",
"a",
"list.add(i);",
"list.add(i)",
"list.add",
"list",
"i",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"for (int i=0; i<a.length; i++) a[i]=list.get(i);",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"a[i]=list.get(i);",
"a[i]=list.get(i)",
"a[i]",
"a",
"i",
"list.get(i)",
"list.get",
"list",
"i",
"int[] a",
"a",
"static void sort(long a[]) {\n\t\tArrayList<Long> list=new ArrayList<>();\n\t\tfor(long i: a) list.add(i);\n\t\tCollections.sort(list);\n\t\tfor(int i=0; i<a.length; i++) a[i]=list.get(i);\n\t}",
"sort",
"{\n\t\tArrayList<Long> list=new ArrayList<>();\n\t\tfor(long i: a) list.add(i);\n\t\tCollections.sort(list);\n\t\tfor(int i=0; i<a.length; i++) a[i]=list.get(i);\n\t}",
"ArrayList<Long> list=new ArrayList<>();",
"list",
"new ArrayList<>()",
"for(long i: a) list.add(i);",
"long i",
"a",
"list.add(i);",
"list.add(i)",
"list.add",
"list",
"i",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"for(int i=0; i<a.length; i++) a[i]=list.get(i);",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"a[i]=list.get(i);",
"a[i]=list.get(i)",
"a[i]",
"a",
"i",
"list.get(i)",
"list.get",
"list",
"i",
"long a[]",
"a",
"static int [] array(int n, int value) {\t\n\t\tint a[]=new int[n];\n\t\tfor(int i=0; i<n; i++) a[i]=value;\n\t\treturn a;\n\t}",
"array",
"{\t\n\t\tint a[]=new int[n];\n\t\tfor(int i=0; i<n; i++) a[i]=value;\n\t\treturn a;\n\t}",
"int a[]=new int[n];",
"a",
"new int[n]",
"n",
"for(int i=0; i<n; i++) a[i]=value;",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=value;",
"a[i]=value",
"a[i]",
"a",
"i",
"value",
"return a;",
"a",
"int n",
"n",
"int value",
"value",
"static class Pair{\n\t\tint u, v;\n\t\t\n\t\tPair(int u, int v){this.u=u; this.v=v;}\n\t\t\n\t\tstatic void sort(Pair [] coll) {\t\t\n\t\t\tList<Pair> al=new ArrayList<>(Arrays.asList(coll));\n\t\t\tCollections.sort(al,new Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t});\n\t\t\tfor(int i=0; i<al.size(); i++) {\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}\n\t\t}\n\t\t\n\t}",
"Pair",
"int u",
"u",
"v;",
"v",
"Pair(int u, int v){this.u=u; this.v=v;}",
"Pair",
"{this.u=u; this.v=v;}",
"this.u=u",
"this.u",
"this",
"this.u",
"u",
"this.v=v",
"this.v",
"this",
"this.v",
"v",
"int u",
"u",
"int v",
"v",
"static void sort(Pair [] coll) {\t\t\n\t\t\tList<Pair> al=new ArrayList<>(Arrays.asList(coll));\n\t\t\tCollections.sort(al,new Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t});\n\t\t\tfor(int i=0; i<al.size(); i++) {\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}\n\t\t}",
"sort",
"{\t\t\n\t\t\tList<Pair> al=new ArrayList<>(Arrays.asList(coll));\n\t\t\tCollections.sort(al,new Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t});\n\t\t\tfor(int i=0; i<al.size(); i++) {\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}\n\t\t}",
"List<Pair> al=new ArrayList<>(Arrays.asList(coll));",
"al",
"new ArrayList<>(Arrays.asList(coll))",
"Collections.sort(al,new Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t})",
"Collections.sort",
"Collections",
"al",
"new Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t}",
"for(int i=0; i<al.size(); i++) {\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<al.size()",
"i",
"al.size()",
"al.size",
"al",
"i++",
"i++",
"i",
"{\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}",
"{\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}",
"coll[i]=al.get(i)",
"coll[i]",
"coll",
"i",
"al.get(i)",
"al.get",
"al",
"i",
"Pair [] coll",
"coll",
"static class Reader{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer to;\n\t\t\n\t\tReader(InputStream stream){\n\t\t\tbr=new BufferedReader(new InputStreamReader(stream));\n\t\t\tto=new StringTokenizer(\"\");\n\t\t}\n\t\t\n\t\tString next() {\n\t\t\twhile(!to.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}\n\t\t\t\t\n\t\t\t}\n\t\t\treturn to.nextToken();\n\t\t\t\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\t\n\t\tint [] readArray(int n) {\n\t\t\tint a[]=new int[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong [] readLongArray(int n) {\n\t\t\tlong a[]=new long[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t}",
"Reader",
"BufferedReader br;",
"br",
"StringTokenizer to;",
"to",
"Reader(InputStream stream){\n\t\t\tbr=new BufferedReader(new InputStreamReader(stream));\n\t\t\tto=new StringTokenizer(\"\");\n\t\t}",
"Reader",
"{\n\t\t\tbr=new BufferedReader(new InputStreamReader(stream));\n\t\t\tto=new StringTokenizer(\"\");\n\t\t}",
"br=new BufferedReader(new InputStreamReader(stream))",
"br",
"new BufferedReader(new InputStreamReader(stream))",
"to=new StringTokenizer(\"\")",
"to",
"new StringTokenizer(\"\")",
"InputStream stream",
"stream",
"String next() {\n\t\t\twhile(!to.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}\n\t\t\t\t\n\t\t\t}\n\t\t\treturn to.nextToken();\n\t\t\t\n\t\t}",
"next",
"{\n\t\t\twhile(!to.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}\n\t\t\t\t\n\t\t\t}\n\t\t\treturn to.nextToken();\n\t\t\t\n\t\t}",
"while(!to.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}\n\t\t\t\t\n\t\t\t}",
"!to.hasMoreTokens()",
"to.hasMoreTokens()",
"to.hasMoreTokens",
"to",
"{\n\t\t\t\ttry {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}\n\t\t\t\t\n\t\t\t}",
"try {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}",
"catch(IOException e) {}",
"IOException e",
"{}",
"{\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}",
"to=new StringTokenizer(br.readLine())",
"to",
"new StringTokenizer(br.readLine())",
"return to.nextToken();",
"to.nextToken()",
"to.nextToken",
"to",
"int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"int [] readArray(int n) {\n\t\t\tint a[]=new int[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"readArray",
"{\n\t\t\tint a[]=new int[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"int a[]=new int[n];",
"a",
"new int[n]",
"n",
"for(int i=0; i<n ;i++) a[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextInt();",
"a[i]=nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"long [] readLongArray(int n) {\n\t\t\tlong a[]=new long[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}",
"readLongArray",
"{\n\t\t\tlong a[]=new long[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}",
"long a[]=new long[n];",
"a",
"new long[n]",
"n",
"for(int i=0; i<n ;i++) 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",
"static class Writer extends PrintWriter{\n\t\tWriter(OutputStream stream){\n\t\t\tsuper(stream);\n\t\t}\n\t\tvoid println(int [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t\tvoid println(long [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t}",
"Writer",
"Writer(OutputStream stream){\n\t\t\tsuper(stream);\n\t\t}",
"Writer",
"{\n\t\t\tsuper(stream);\n\t\t}",
"super(stream)",
"super",
"stream",
"OutputStream stream",
"stream",
"void println(int [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}",
"println",
"{\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}",
"for(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}",
"{\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}",
"print(array[i]+\" \")",
"print",
"array[i]+\" \"",
"array[i]",
"array",
"i",
"\" \"",
"println()",
"println",
"int [] array",
"array",
"void println(long [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}",
"println",
"{\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}",
"for(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}",
"{\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}",
"print(array[i]+\" \")",
"print",
"array[i]+\" \"",
"array[i]",
"array",
"i",
"\" \"",
"println()",
"println",
"long [] array",
"array",
"PrintWriter",
"public class Main{\n\t\n\tstatic long mod=(long)1e9+7;\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tWriter out=new Writer(System.out);\n\t\tReader in=new Reader(System.in);\n\t\tint ts=1;\n\t\t\n\t\touter: while(ts-->0) {\t\n\t\t\tlong x=in.nextLong();\n\t\t\tlong c=100;\n\t\t\tint i;\n\t\t\tfor(i=1;;i++) {\n\t\t\t\tc=c+c/100;\n\t\t\t\tif(x<=c) break;\n\t\t\t}\n\t\t\tout.println(i);\n\t\t}\n\t\tout.close();\t\t\n\t\t\n\t}\n\n\tstatic boolean tri(int a, int b, int c) {\n\t\tif(c<a+b && c>abs(a-b)) return true;\n\t\treturn false;\n\t}\n\t\n\t\n/*********************************** UTILITY CODE BELOW **************************************/\t\n\t\t\n\tstatic int abs(int a) {\n\t\treturn a>0 ? a : -a;\n\t}\n\t\n\tstatic int max(int a, int b) {\n\t\treturn a>b ? a : b;\n\t}\n\t\n\tstatic int pow(int n, int m) {\n\t\tif(m==0) return 1;\n\t\tint temp=pow(n,m/2);\n\t\tlong res=(((long)temp*temp)%mod);\n\t\tif(m%2==0) return (int)res;\n\t\treturn (int)((res*n)%mod);\n\t}\n\t\n\tstatic class Pair{\n\t\tint u, v;\n\t\t\n\t\tPair(int u, int v){this.u=u; this.v=v;}\n\t\t\n\t\tstatic void sort(Pair [] coll) {\t\t\n\t\t\tList<Pair> al=new ArrayList<>(Arrays.asList(coll));\n\t\t\tCollections.sort(al,new Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t});\n\t\t\tfor(int i=0; i<al.size(); i++) {\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\t\n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> list=new ArrayList<>();\n\t\tfor (int i:a) list.add(i);\n\t\tCollections.sort(list);\n\t\tfor (int i=0; i<a.length; i++) a[i]=list.get(i);\n\t}\n\t\n\tstatic void sort(long a[]) {\n\t\tArrayList<Long> list=new ArrayList<>();\n\t\tfor(long i: a) list.add(i);\n\t\tCollections.sort(list);\n\t\tfor(int i=0; i<a.length; i++) a[i]=list.get(i);\n\t}\n\t\n\tstatic int [] array(int n, int value) {\t\n\t\tint a[]=new int[n];\n\t\tfor(int i=0; i<n; i++) a[i]=value;\n\t\treturn a;\n\t}\n\t\n\tstatic class Reader{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer to;\n\t\t\n\t\tReader(InputStream stream){\n\t\t\tbr=new BufferedReader(new InputStreamReader(stream));\n\t\t\tto=new StringTokenizer(\"\");\n\t\t}\n\t\t\n\t\tString next() {\n\t\t\twhile(!to.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}\n\t\t\t\t\n\t\t\t}\n\t\t\treturn to.nextToken();\n\t\t\t\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\t\n\t\tint [] readArray(int n) {\n\t\t\tint a[]=new int[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong [] readLongArray(int n) {\n\t\t\tlong a[]=new long[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t}\n\t\n\tstatic class Writer extends PrintWriter{\n\t\tWriter(OutputStream stream){\n\t\t\tsuper(stream);\n\t\t}\n\t\tvoid println(int [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t\tvoid println(long [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t}\n\t\n}",
"public class Main{\n\t\n\tstatic long mod=(long)1e9+7;\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tWriter out=new Writer(System.out);\n\t\tReader in=new Reader(System.in);\n\t\tint ts=1;\n\t\t\n\t\touter: while(ts-->0) {\t\n\t\t\tlong x=in.nextLong();\n\t\t\tlong c=100;\n\t\t\tint i;\n\t\t\tfor(i=1;;i++) {\n\t\t\t\tc=c+c/100;\n\t\t\t\tif(x<=c) break;\n\t\t\t}\n\t\t\tout.println(i);\n\t\t}\n\t\tout.close();\t\t\n\t\t\n\t}\n\n\tstatic boolean tri(int a, int b, int c) {\n\t\tif(c<a+b && c>abs(a-b)) return true;\n\t\treturn false;\n\t}\n\t\n\t\n/*********************************** UTILITY CODE BELOW **************************************/\t\n\t\t\n\tstatic int abs(int a) {\n\t\treturn a>0 ? a : -a;\n\t}\n\t\n\tstatic int max(int a, int b) {\n\t\treturn a>b ? a : b;\n\t}\n\t\n\tstatic int pow(int n, int m) {\n\t\tif(m==0) return 1;\n\t\tint temp=pow(n,m/2);\n\t\tlong res=(((long)temp*temp)%mod);\n\t\tif(m%2==0) return (int)res;\n\t\treturn (int)((res*n)%mod);\n\t}\n\t\n\tstatic class Pair{\n\t\tint u, v;\n\t\t\n\t\tPair(int u, int v){this.u=u; this.v=v;}\n\t\t\n\t\tstatic void sort(Pair [] coll) {\t\t\n\t\t\tList<Pair> al=new ArrayList<>(Arrays.asList(coll));\n\t\t\tCollections.sort(al,new Comparator<Pair>() {\n\t\t\t\tpublic int compare(Pair p1, Pair p2) {\n\t\t\t\t\treturn p1.u-p2.u;\n\t\t\t\t}\t\n\t\t\t});\n\t\t\tfor(int i=0; i<al.size(); i++) {\n\t\t\t\tcoll[i]=al.get(i);\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\t\n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> list=new ArrayList<>();\n\t\tfor (int i:a) list.add(i);\n\t\tCollections.sort(list);\n\t\tfor (int i=0; i<a.length; i++) a[i]=list.get(i);\n\t}\n\t\n\tstatic void sort(long a[]) {\n\t\tArrayList<Long> list=new ArrayList<>();\n\t\tfor(long i: a) list.add(i);\n\t\tCollections.sort(list);\n\t\tfor(int i=0; i<a.length; i++) a[i]=list.get(i);\n\t}\n\t\n\tstatic int [] array(int n, int value) {\t\n\t\tint a[]=new int[n];\n\t\tfor(int i=0; i<n; i++) a[i]=value;\n\t\treturn a;\n\t}\n\t\n\tstatic class Reader{\n\t\t\n\t\tBufferedReader br;\n\t\tStringTokenizer to;\n\t\t\n\t\tReader(InputStream stream){\n\t\t\tbr=new BufferedReader(new InputStreamReader(stream));\n\t\t\tto=new StringTokenizer(\"\");\n\t\t}\n\t\t\n\t\tString next() {\n\t\t\twhile(!to.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\tto=new StringTokenizer(br.readLine());\t\n\t\t\t\t}catch(IOException e) {}\n\t\t\t\t\n\t\t\t}\n\t\t\treturn to.nextToken();\n\t\t\t\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\t\n\t\tint [] readArray(int n) {\n\t\t\tint a[]=new int[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong [] readLongArray(int n) {\n\t\t\tlong a[]=new long[n];\n\t\t\tfor(int i=0; i<n ;i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t}\n\t\n\tstatic class Writer extends PrintWriter{\n\t\tWriter(OutputStream stream){\n\t\t\tsuper(stream);\n\t\t}\n\t\tvoid println(int [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t\tvoid println(long [] array) {\n\t\t\tfor(int i=0; i<array.length; i++) {\n\t\t\t\tprint(array[i]+\" \");\n\t\t\t}\n\t\t\tprintln();\n\t\t}\n\t}\n\t\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main{
static long mod=(long)1e9+7;
public static void main(String[] args) throws IOException {
Writer out=new Writer(System.out);
Reader in=new Reader(System.in);
int ts=1;
outer: while(ts-->0) {
long x=in.nextLong();
long c=100;
int i;
for(i=1;;i++) {
c=c+c/100;
if(x<=c) break;
}
out.println(i);
}
out.close();
}
static boolean tri(int a, int b, int c) {
if(c<a+b && c>abs(a-b)) return true;
return false;
}
/*********************************** UTILITY CODE BELOW **************************************/
static int abs(int a) {
return a>0 ? a : -a;
}
static int max(int a, int b) {
return a>b ? a : b;
}
static int pow(int n, int m) {
if(m==0) return 1;
int temp=pow(n,m/2);
long res=(((long)temp*temp)%mod);
if(m%2==0) return (int)res;
return (int)((res*n)%mod);
}
static class Pair{
int u, v;
Pair(int u, int v){this.u=u; this.v=v;}
static void sort(Pair [] coll) {
List<Pair> al=new ArrayList<>(Arrays.asList(coll));
Collections.sort(al,new Comparator<Pair>() {
public int compare(Pair p1, Pair p2) {
return p1.u-p2.u;
}
});
for(int i=0; i<al.size(); i++) {
coll[i]=al.get(i);
}
}
}
static void sort(int[] a) {
ArrayList<Integer> list=new ArrayList<>();
for (int i:a) list.add(i);
Collections.sort(list);
for (int i=0; i<a.length; i++) a[i]=list.get(i);
}
static void sort(long a[]) {
ArrayList<Long> list=new ArrayList<>();
for(long i: a) list.add(i);
Collections.sort(list);
for(int i=0; i<a.length; i++) a[i]=list.get(i);
}
static int [] array(int n, int value) {
int a[]=new int[n];
for(int i=0; i<n; i++) a[i]=value;
return a;
}
static class Reader{
BufferedReader br;
StringTokenizer to;
Reader(InputStream stream){
br=new BufferedReader(new InputStreamReader(stream));
to=new StringTokenizer("");
}
String next() {
while(!to.hasMoreTokens()) {
try {
to=new StringTokenizer(br.readLine());
}catch(IOException e) {}
}
return to.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
int [] readArray(int n) {
int a[]=new int[n];
for(int i=0; i<n ;i++) a[i]=nextInt();
return a;
}
long [] readLongArray(int n) {
long a[]=new long[n];
for(int i=0; i<n ;i++) a[i]=nextLong();
return a;
}
}
static class Writer extends PrintWriter{
Writer(OutputStream stream){
super(stream);
}
void println(int [] array) {
for(int i=0; i<array.length; i++) {
print(array[i]+" ");
}
println();
}
void println(long [] array) {
for(int i=0; i<array.length; i++) {
print(array[i]+" ");
}
println();
}
}
}
|
[
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\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong ans = 0;\n\t\tlong cash = 100;\n\t\twhile(cash < x) {\n\t\t\tcash *= 1.01;\n\t\t\tans++;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\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\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong ans = 0;\n\t\tlong cash = 100;\n\t\twhile(cash < x) {\n\t\t\tcash *= 1.01;\n\t\t\tans++;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong ans = 0;\n\t\tlong cash = 100;\n\t\twhile(cash < x) {\n\t\t\tcash *= 1.01;\n\t\t\tans++;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong ans = 0;\n\t\tlong cash = 100;\n\t\twhile(cash < x) {\n\t\t\tcash *= 1.01;\n\t\t\tans++;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long ans = 0;",
"ans",
"0",
"long cash = 100;",
"cash",
"100",
"while(cash < x) {\n\t\t\tcash *= 1.01;\n\t\t\tans++;\n\t\t}",
"cash < x",
"cash",
"x",
"{\n\t\t\tcash *= 1.01;\n\t\t\tans++;\n\t\t}",
"cash *= 1.01",
"cash",
"1.01",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong ans = 0;\n\t\tlong cash = 100;\n\t\twhile(cash < x) {\n\t\t\tcash *= 1.01;\n\t\t\tans++;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong x = sc.nextLong();\n\t\tlong ans = 0;\n\t\tlong cash = 100;\n\t\twhile(cash < x) {\n\t\t\tcash *= 1.01;\n\t\t\tans++;\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long x = sc.nextLong();
long ans = 0;
long cash = 100;
while(cash < x) {
cash *= 1.01;
ans++;
}
System.out.println(ans);
sc.close();
}
}
|
[
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,
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
],
[
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
],
[
39,
41
],
[
36,
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
]
] |
[
"/*\nIf you want to aim high, aim high\nDon't let that studying and grades consume you\nJust live life young\n******************************\nIf I'm the sun, you're the moon\nBecause when I go up, you go down\n*******************************\nI'm working for the day I will surpass you\nhttps://www.a2oj.com/Ladder16.html\n*/\nimport java.util.*;\nimport java.io.*;\nimport java.math.*;\n\n public class Main\n {\n public static void main(String omkar[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in)); \n long N = Long.parseLong(infile.readLine());\n long bruh = 100;\n int res = 0;\n while(bruh < N)\n {\n bruh += bruh/100;\n res++;\n }\n System.out.println(res);\n }\n }",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main\n {\n public static void main(String omkar[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in)); \n long N = Long.parseLong(infile.readLine());\n long bruh = 100;\n int res = 0;\n while(bruh < N)\n {\n bruh += bruh/100;\n res++;\n }\n System.out.println(res);\n }\n }",
"Main",
"public static void main(String omkar[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in)); \n long N = Long.parseLong(infile.readLine());\n long bruh = 100;\n int res = 0;\n while(bruh < N)\n {\n bruh += bruh/100;\n res++;\n }\n System.out.println(res);\n }",
"main",
"{\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in)); \n long N = Long.parseLong(infile.readLine());\n long bruh = 100;\n int res = 0;\n while(bruh < N)\n {\n bruh += bruh/100;\n res++;\n }\n System.out.println(res);\n }",
"BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));",
"infile",
"new BufferedReader(new InputStreamReader(System.in))",
"long N = Long.parseLong(infile.readLine());",
"N",
"Long.parseLong(infile.readLine())",
"Long.parseLong",
"Long",
"infile.readLine()",
"infile.readLine",
"infile",
"long bruh = 100;",
"bruh",
"100",
"int res = 0;",
"res",
"0",
"while(bruh < N)\n {\n bruh += bruh/100;\n res++;\n }",
"bruh < N",
"bruh",
"N",
"{\n bruh += bruh/100;\n res++;\n }",
"bruh += bruh/100",
"bruh",
"bruh/100",
"bruh",
"100",
"res++",
"res",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String omkar[]",
"omkar",
"public class Main\n {\n public static void main(String omkar[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in)); \n long N = Long.parseLong(infile.readLine());\n long bruh = 100;\n int res = 0;\n while(bruh < N)\n {\n bruh += bruh/100;\n res++;\n }\n System.out.println(res);\n }\n }",
"public class Main\n {\n public static void main(String omkar[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in)); \n long N = Long.parseLong(infile.readLine());\n long bruh = 100;\n int res = 0;\n while(bruh < N)\n {\n bruh += bruh/100;\n res++;\n }\n System.out.println(res);\n }\n }",
"Main"
] |
/*
If you want to aim high, aim high
Don't let that studying and grades consume you
Just live life young
******************************
If I'm the sun, you're the moon
Because when I go up, you go down
*******************************
I'm working for the day I will surpass you
https://www.a2oj.com/Ladder16.html
*/
import java.util.*;
import java.io.*;
import java.math.*;
public class Main
{
public static void main(String omkar[]) throws Exception
{
BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));
long N = Long.parseLong(infile.readLine());
long bruh = 100;
int res = 0;
while(bruh < N)
{
bruh += bruh/100;
res++;
}
System.out.println(res);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
0,
13,
2,
13,
17,
0,
13,
17,
14,
2,
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
],
[
51,
8
],
[
51,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
28,
34
],
[
34,
35
],
[
34,
36
],
[
28,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
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.util.*;\nimport javax.lang.model.util.ElementScanner6;\n//import java.lang.Math;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n // 入力\n long x = sc.nextLong();\n //String s = sc.next();\n\n // 処理\n long out = 0;\n long work = 100;\n while(true){\n work = (long)(work * 1.01);\n out += 1;\n if(work >= x) break;\n }\n\n // 出力\n System.out.println(out);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import javax.lang.model.util.ElementScanner6;",
"ElementScanner6",
"javax.lang.model.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n // 入力\n long x = sc.nextLong();\n //String s = sc.next();\n\n // 処理\n long out = 0;\n long work = 100;\n while(true){\n work = (long)(work * 1.01);\n out += 1;\n if(work >= x) break;\n }\n\n // 出力\n System.out.println(out);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n // 入力\n long x = sc.nextLong();\n //String s = sc.next();\n\n // 処理\n long out = 0;\n long work = 100;\n while(true){\n work = (long)(work * 1.01);\n out += 1;\n if(work >= x) break;\n }\n\n // 出力\n System.out.println(out);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n // 入力\n long x = sc.nextLong();\n //String s = sc.next();\n\n // 処理\n long out = 0;\n long work = 100;\n while(true){\n work = (long)(work * 1.01);\n out += 1;\n if(work >= x) break;\n }\n\n // 出力\n System.out.println(out);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long x = sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long out = 0;",
"out",
"0",
"long work = 100;",
"work",
"100",
"while(true){\n work = (long)(work * 1.01);\n out += 1;\n if(work >= x) break;\n }",
"true",
"{\n work = (long)(work * 1.01);\n out += 1;\n if(work >= x) break;\n }",
"work = (long)(work * 1.01)",
"work",
"(long)(work * 1.01)",
"work",
"1.01",
"out += 1",
"out",
"1",
"if(work >= x) break;",
"work >= x",
"work",
"x",
"break;",
"System.out.println(out)",
"System.out.println",
"System.out",
"System",
"System.out",
"out",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n // 入力\n long x = sc.nextLong();\n //String s = sc.next();\n\n // 処理\n long out = 0;\n long work = 100;\n while(true){\n work = (long)(work * 1.01);\n out += 1;\n if(work >= x) break;\n }\n\n // 出力\n System.out.println(out);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n // 入力\n long x = sc.nextLong();\n //String s = sc.next();\n\n // 処理\n long out = 0;\n long work = 100;\n while(true){\n work = (long)(work * 1.01);\n out += 1;\n if(work >= x) break;\n }\n\n // 出力\n System.out.println(out);\n }\n}",
"Main"
] |
import java.util.*;
import javax.lang.model.util.ElementScanner6;
//import java.lang.Math;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
// 入力
long x = sc.nextLong();
//String s = sc.next();
// 処理
long out = 0;
long work = 100;
while(true){
work = (long)(work * 1.01);
out += 1;
if(work >= x) break;
}
// 出力
System.out.println(out);
}
}
|
[
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.*;\n \npublic class Main{\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n long N = Long.parseLong(sc.nextLine());\n \n int ans = 0;\n long m = 100;\n while(m < N){\n m += (long)(m*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 long N = Long.parseLong(sc.nextLine());\n \n int ans = 0;\n long m = 100;\n while(m < N){\n m += (long)(m*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 long N = Long.parseLong(sc.nextLine());\n \n int ans = 0;\n long m = 100;\n while(m < N){\n m += (long)(m*0.01);\n ans++;\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long N = Long.parseLong(sc.nextLine());\n \n int ans = 0;\n long m = 100;\n while(m < N){\n m += (long)(m*0.01);\n ans++;\n }\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = Long.parseLong(sc.nextLine());",
"N",
"Long.parseLong(sc.nextLine())",
"Long.parseLong",
"Long",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int ans = 0;",
"ans",
"0",
"long m = 100;",
"m",
"100",
"while(m < N){\n m += (long)(m*0.01);\n ans++;\n }",
"m < N",
"m",
"N",
"{\n m += (long)(m*0.01);\n ans++;\n }",
"m += (long)(m*0.01)",
"m",
"(long)(m*0.01)",
"m",
"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 long N = Long.parseLong(sc.nextLine());\n \n int ans = 0;\n long m = 100;\n while(m < N){\n m += (long)(m*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 long N = Long.parseLong(sc.nextLine());\n \n int ans = 0;\n long m = 100;\n while(m < N){\n m += (long)(m*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);
long N = Long.parseLong(sc.nextLine());
int ans = 0;
long m = 100;
while(m < N){
m += (long)(m*0.01);
ans++;
}
System.out.println(ans);
}
}
|
[
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,
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
],
[
51,
8
],
[
51,
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
],
[
36,
38
],
[
33,
39
],
[
39,
40
],
[
39,
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.util.*;\n import java.math.BigInteger;\npublic class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\t// String h[]=sc.nextLine().split(\" \");\n\t\tlong n=Long.parseLong(sc.nextLine());\n\t\tlong a=100;\n\t\tint k=0;\n\t\twhile(a<n)\n\t\t{\n\t\t\ta=(long)((double)a*1.01);\n\t\t\tk+=1;\n\t\t}\n\t\tSystem.out.println(k);\n\t}\n\n}\n\n\n\n\t",
"import java.util.*;",
"util.*",
"java",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\t// String h[]=sc.nextLine().split(\" \");\n\t\tlong n=Long.parseLong(sc.nextLine());\n\t\tlong a=100;\n\t\tint k=0;\n\t\twhile(a<n)\n\t\t{\n\t\t\ta=(long)((double)a*1.01);\n\t\t\tk+=1;\n\t\t}\n\t\tSystem.out.println(k);\n\t}\n\n}",
"Main",
"public static void main(String args[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\t// String h[]=sc.nextLine().split(\" \");\n\t\tlong n=Long.parseLong(sc.nextLine());\n\t\tlong a=100;\n\t\tint k=0;\n\t\twhile(a<n)\n\t\t{\n\t\t\ta=(long)((double)a*1.01);\n\t\t\tk+=1;\n\t\t}\n\t\tSystem.out.println(k);\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\t// String h[]=sc.nextLine().split(\" \");\n\t\tlong n=Long.parseLong(sc.nextLine());\n\t\tlong a=100;\n\t\tint k=0;\n\t\twhile(a<n)\n\t\t{\n\t\t\ta=(long)((double)a*1.01);\n\t\t\tk+=1;\n\t\t}\n\t\tSystem.out.println(k);\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n=Long.parseLong(sc.nextLine());",
"n",
"Long.parseLong(sc.nextLine())",
"Long.parseLong",
"Long",
"sc.nextLine()",
"sc.nextLine",
"sc",
"long a=100;",
"a",
"100",
"int k=0;",
"k",
"0",
"while(a<n)\n\t\t{\n\t\t\ta=(long)((double)a*1.01);\n\t\t\tk+=1;\n\t\t}",
"a<n",
"a",
"n",
"{\n\t\t\ta=(long)((double)a*1.01);\n\t\t\tk+=1;\n\t\t}",
"a=(long)((double)a*1.01)",
"a",
"(long)((double)a*1.01)",
"(double)a",
"1.01",
"k+=1",
"k",
"1",
"System.out.println(k)",
"System.out.println",
"System.out",
"System",
"System.out",
"k",
"String args[]",
"args",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\t// String h[]=sc.nextLine().split(\" \");\n\t\tlong n=Long.parseLong(sc.nextLine());\n\t\tlong a=100;\n\t\tint k=0;\n\t\twhile(a<n)\n\t\t{\n\t\t\ta=(long)((double)a*1.01);\n\t\t\tk+=1;\n\t\t}\n\t\tSystem.out.println(k);\n\t}\n\n}",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner sc=new Scanner(System.in);\n\t\t// String h[]=sc.nextLine().split(\" \");\n\t\tlong n=Long.parseLong(sc.nextLine());\n\t\tlong a=100;\n\t\tint k=0;\n\t\twhile(a<n)\n\t\t{\n\t\t\ta=(long)((double)a*1.01);\n\t\t\tk+=1;\n\t\t}\n\t\tSystem.out.println(k);\n\t}\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);
// String h[]=sc.nextLine().split(" ");
long n=Long.parseLong(sc.nextLine());
long a=100;
int k=0;
while(a<n)
{
a=(long)((double)a*1.01);
k+=1;
}
System.out.println(k);
}
}
|
[
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,
13,
30,
0,
13,
4,
18,
13,
2,
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
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
28,
37
],
[
37,
38
],
[
28,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
43,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] |
[
"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 boolean flag = true;\n int count =0;\n double deposit = 100.0;\n while(flag){\n deposit = Math.floor(deposit*1.01);\n count++;\n if(deposit>=X){\n System.out.println(count);\n break;\n }\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 boolean flag = true;\n int count =0;\n double deposit = 100.0;\n while(flag){\n deposit = Math.floor(deposit*1.01);\n count++;\n if(deposit>=X){\n System.out.println(count);\n break;\n }\n }\n }\n}",
"Main",
"public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n boolean flag = true;\n int count =0;\n double deposit = 100.0;\n while(flag){\n deposit = Math.floor(deposit*1.01);\n count++;\n if(deposit>=X){\n System.out.println(count);\n break;\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n boolean flag = true;\n int count =0;\n double deposit = 100.0;\n while(flag){\n deposit = Math.floor(deposit*1.01);\n count++;\n if(deposit>=X){\n System.out.println(count);\n break;\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long X = sc.nextLong();",
"X",
"sc.nextLong()",
"sc.nextLong",
"sc",
"boolean flag = true;",
"flag",
"true",
"int count =0;",
"count",
"0",
"double deposit = 100.0;",
"deposit",
"100.0",
"while(flag){\n deposit = Math.floor(deposit*1.01);\n count++;\n if(deposit>=X){\n System.out.println(count);\n break;\n }\n }",
"flag",
"{\n deposit = Math.floor(deposit*1.01);\n count++;\n if(deposit>=X){\n System.out.println(count);\n break;\n }\n }",
"deposit = Math.floor(deposit*1.01)",
"deposit",
"Math.floor(deposit*1.01)",
"Math.floor",
"Math",
"deposit*1.01",
"deposit",
"1.01",
"count++",
"count",
"if(deposit>=X){\n System.out.println(count);\n break;\n }",
"deposit>=X",
"deposit",
"X",
"{\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",
"public class Main{\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n long X = sc.nextLong();\n boolean flag = true;\n int count =0;\n double deposit = 100.0;\n while(flag){\n deposit = Math.floor(deposit*1.01);\n count++;\n if(deposit>=X){\n System.out.println(count);\n break;\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 boolean flag = true;\n int count =0;\n double deposit = 100.0;\n while(flag){\n deposit = Math.floor(deposit*1.01);\n count++;\n if(deposit>=X){\n System.out.println(count);\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);
long X = sc.nextLong();
boolean flag = true;
int count =0;
double deposit = 100.0;
while(flag){
deposit = Math.floor(deposit*1.01);
count++;
if(deposit>=X){
System.out.println(count);
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,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n long goal_depo = sc.nextLong();\n \tlong now_deposit = 100; \n \tlong year = 0;\n \n \twhile(now_deposit < goal_depo)\n {\n \tnow_deposit += now_deposit / 100;\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 \tScanner sc = new Scanner(System.in);\n long goal_depo = sc.nextLong();\n \tlong now_deposit = 100; \n \tlong year = 0;\n \n \twhile(now_deposit < goal_depo)\n {\n \tnow_deposit += now_deposit / 100;\n year++;\n }\n System.out.println(year);\n }\n}",
"Main",
"public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n long goal_depo = sc.nextLong();\n \tlong now_deposit = 100; \n \tlong year = 0;\n \n \twhile(now_deposit < goal_depo)\n {\n \tnow_deposit += now_deposit / 100;\n year++;\n }\n System.out.println(year);\n }",
"main",
"{\n \tScanner sc = new Scanner(System.in);\n long goal_depo = sc.nextLong();\n \tlong now_deposit = 100; \n \tlong year = 0;\n \n \twhile(now_deposit < goal_depo)\n {\n \tnow_deposit += now_deposit / 100;\n year++;\n }\n System.out.println(year);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long goal_depo = sc.nextLong();",
"goal_depo",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long now_deposit = 100;",
"now_deposit",
"100",
"long year = 0;",
"year",
"0",
"while(now_deposit < goal_depo)\n {\n \tnow_deposit += now_deposit / 100;\n year++;\n }",
"now_deposit < goal_depo",
"now_deposit",
"goal_depo",
"{\n \tnow_deposit += now_deposit / 100;\n year++;\n }",
"now_deposit += now_deposit / 100",
"now_deposit",
"now_deposit / 100",
"now_deposit",
"100",
"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 \tScanner sc = new Scanner(System.in);\n long goal_depo = sc.nextLong();\n \tlong now_deposit = 100; \n \tlong year = 0;\n \n \twhile(now_deposit < goal_depo)\n {\n \tnow_deposit += now_deposit / 100;\n year++;\n }\n System.out.println(year);\n }\n}",
"public class Main{\n public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n long goal_depo = sc.nextLong();\n \tlong now_deposit = 100; \n \tlong year = 0;\n \n \twhile(now_deposit < goal_depo)\n {\n \tnow_deposit += now_deposit / 100;\n year++;\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 goal_depo = sc.nextLong();
long now_deposit = 100;
long year = 0;
while(now_deposit < goal_depo)
{
now_deposit += now_deposit / 100;
year++;
}
System.out.println(year);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
4,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
40,
13,
0,
13,
2,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
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,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
100,
8
],
[
100,
9
],
[
9,
10
],
[
100,
11
],
[
11,
12
],
[
100,
13
],
[
13,
14
],
[
100,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
17,
25
],
[
25,
26
],
[
25,
27
],
[
17,
28
],
[
28,
29
],
[
28,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
17,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
15,
51
],
[
51,
52
],
[
100,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
100,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
100,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
78,
79
],
[
100,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
83,
92
],
[
92,
93
],
[
92,
94
],
[
82,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
] |
[
"import java.util.*; \nimport java.io.*;\n\npublic class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n long X = nextLong();\n \n int cnt = 0;\n long newBalance = 100;\n\n while(newBalance<X){\n cnt++;\n //newBalance = newBalance * 101 /100; // this will overflows\n newBalance= newBalance + newBalance/100;\n }\n\n System.out.println(cnt);\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n long X = nextLong();\n \n int cnt = 0;\n long newBalance = 100;\n\n while(newBalance<X){\n cnt++;\n //newBalance = newBalance * 101 /100; // this will overflows\n newBalance= newBalance + newBalance/100;\n }\n\n System.out.println(cnt);\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"Main",
"static StringTokenizer st;",
"st",
"static BufferedReader br;",
"br",
"static PrintWriter out;",
"out",
"public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n long X = nextLong();\n \n int cnt = 0;\n long newBalance = 100;\n\n while(newBalance<X){\n cnt++;\n //newBalance = newBalance * 101 /100; // this will overflows\n newBalance= newBalance + newBalance/100;\n }\n\n System.out.println(cnt);\n\n }",
"main",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n\n long X = nextLong();\n \n int cnt = 0;\n long newBalance = 100;\n\n while(newBalance<X){\n cnt++;\n //newBalance = newBalance * 101 /100; // this will overflows\n newBalance= newBalance + newBalance/100;\n }\n\n System.out.println(cnt);\n\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"long X = nextLong();",
"X",
"nextLong()",
"nextLong",
"int cnt = 0;",
"cnt",
"0",
"long newBalance = 100;",
"newBalance",
"100",
"while(newBalance<X){\n cnt++;\n //newBalance = newBalance * 101 /100; // this will overflows\n newBalance= newBalance + newBalance/100;\n }",
"newBalance<X",
"newBalance",
"X",
"{\n cnt++;\n //newBalance = newBalance * 101 /100; // this will overflows\n newBalance= newBalance + newBalance/100;\n }",
"cnt++",
"cnt",
"newBalance= newBalance + newBalance/100",
"newBalance",
"newBalance + newBalance/100",
"newBalance",
"newBalance/100",
"newBalance",
"100",
"System.out.println(cnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"cnt",
"String[] args",
"args",
"public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public static long nextLong() throws IOException {\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 static double nextDouble() throws IOException {\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",
"static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine().trim())",
"st",
"new StringTokenizer(br.readLine().trim())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n long X = nextLong();\n \n int cnt = 0;\n long newBalance = 100;\n\n while(newBalance<X){\n cnt++;\n //newBalance = newBalance * 101 /100; // this will overflows\n newBalance= newBalance + newBalance/100;\n }\n\n System.out.println(cnt);\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n long X = nextLong();\n \n int cnt = 0;\n long newBalance = 100;\n\n while(newBalance<X){\n cnt++;\n //newBalance = newBalance * 101 /100; // this will overflows\n newBalance= newBalance + newBalance/100;\n }\n\n System.out.println(cnt);\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main {
static StringTokenizer st;
static BufferedReader br;
static PrintWriter out;
public static void main(String[] args) throws IOException {
br = new BufferedReader(new InputStreamReader(System.in));
long X = nextLong();
int cnt = 0;
long newBalance = 100;
while(newBalance<X){
cnt++;
//newBalance = newBalance * 101 /100; // this will overflows
newBalance= newBalance + newBalance/100;
}
System.out.println(cnt);
}
public static int nextInt() throws IOException {
return Integer.parseInt(next());
}
public static long nextLong() throws IOException {
return Long.parseLong(next());
}
public static double nextDouble() throws IOException {
return Double.parseDouble(next());
}
static String next() throws IOException {
while (st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine().trim());
return st.nextToken();
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.