Submission #12605905


Source Code Expand

Copy
import sys
import itertools

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

X = int(read())

x = 100
for year in itertools.count():
    if x >= X:
        break
    x = x * 101 // 100
print(year)

Submission Info

Submission Time
Task B - 1%
User maspy
Language Python (3.8.2)
Score 200
Code Size 268 Byte
Status
Exec Time 24 ms
Memory 9080 KB

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 00-sample-01.txt, 00-sample-02.txt, 00-sample-03.txt
All 200 / 200 00-sample-01.txt, 00-sample-02.txt, 00-sample-03.txt, 10-random-01.txt, 10-random-02.txt, 10-random-03.txt, 10-random-04.txt, 10-random-05.txt, 20-less-01.txt, 20-less-02.txt, 20-less-03.txt, 21-equal-01.txt, 21-equal-02.txt, 21-equal-03.txt, 22-greater-01.txt, 22-greater-02.txt, 22-greater-03.txt
Case Name Status Exec Time Memory
00-sample-01.txt 24 ms 8880 KB
00-sample-02.txt 18 ms 8876 KB
00-sample-03.txt 19 ms 8880 KB
10-random-01.txt 18 ms 9080 KB
10-random-02.txt 20 ms 8984 KB
10-random-03.txt 18 ms 8872 KB
10-random-04.txt 20 ms 8880 KB
10-random-05.txt 18 ms 8880 KB
20-less-01.txt 20 ms 9040 KB
20-less-02.txt 18 ms 8876 KB
20-less-03.txt 20 ms 9004 KB
21-equal-01.txt 17 ms 8844 KB
21-equal-02.txt 20 ms 8880 KB
21-equal-03.txt 18 ms 8872 KB
22-greater-01.txt 19 ms 9036 KB
22-greater-02.txt 20 ms 9060 KB
22-greater-03.txt 20 ms 8876 KB