Problem:


Score : 200 points

Problem Statement

Takahashi has a deposit of 100 yen (the currency of Japan) in AtCoder Bank.

The bank pays an annual interest rate of 1 % compounded annually. (A fraction of less than one yen is discarded.)

Assuming that nothing other than the interest affects Takahashi's balance, in how many years does the balance reach X yen or above for the first time?

Constraints

 101 \le X \le 10^{18} 

All values in input are integers.

Input

Input is given from Standard Input in the following format:

X

Output

Print the number of years it takes for Takahashi's balance to reach X yen or above for the first time.

Sample Input 1

103

Sample Output 1

3

The balance after one year is 101 yen.

The balance after two years is 102 yen.

The balance after three years is 103 yen.

Thus, it takes three years for the balance to reach 103 yen or above.

Sample Input 2

1000000000000000000

Sample Output 2

3760

Sample Input 3

1333333333

Sample Output 3

1706



Sample input:
103


Sample output:
3

Submission status: Accepted

Solution code:
x = int(input())
flag = True
start = 100
count = 0
while flag:
    count += 1
    t = int(start*1.01)
    if t>=x:
        flag = False
    start = t
print(count)

Submission status: Accepted

Solution code:
X = int(input())
C = 100
for i in range(100000):
    C += int(C*0.01)
    if C >= X:
        print(i+1)
        break

Submission status: Accepted

Solution code:
x = int(input())
cnt = 0
wallet = 100

while wallet < x:
    wallet = int(wallet * 1.01)
    cnt += 1

print(cnt)

Submission status: Accepted

Solution code:
X=int(input())

sum=100
count=0

while sum<X:
    count+=1
    sum*=1.01
    sum=int(sum)

print(count)

Submission status: Accepted

Solution code:
X = int(input())

t = 100
import math
for i in range(1, 10000):
  t = math.floor(t * 1.01)
  if t >= X:
    print(i)
    exit()

Submission status: Accepted

Solution code:
k = int(input())

bank = 100
year = 0

while bank < k:
    bank = int(bank * 1.01)
    year += 1
print(year)

Submission status: Accepted

Solution code:
from math import floor

def resolve():
    x = int(input())

    bank = 100
    count = 0
    while bank < x:
        bank += floor(bank * 0.01)
        count += 1

    print(count)
    
    
resolve()

Submission status: Accepted

Solution code:
num = int(input())
list = []
money = 100
while money < num:
    money = int(money * 1.01)
    list.append(money)
print(len(list))

Submission status: Accepted

Solution code:
x=int(input())
base=100
ans=0
while x > base:
  base=(base*1.01)//1
  ans+=1
print(ans)

Submission status: Accepted

Solution code:
X = int(input())
c = 100
ans = 0
while c < X:
    c = int(c * 1.01)
    ans += 1
print(ans)

Submission status: Accepted

Solution code:
X = int(input())

count = 0
balance = 100
while balance < X:
    balance = int(balance * 1.01)
    count += 1

print(count)

Submission status: Accepted

Solution code:
X = int(input())

R = 1.01
cash = 100
year = 0

while True:
    year += 1
    cash = int(cash * R)
    if cash >= X:
        print(year)
        break

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline

x = int(input())
money = 100
for i in range(1000000):
    money += money//100
    if money >= x:
        print(i+1)
        sys.exit(0)

Submission status: Accepted

Solution code:
X = int(input())
start = 100
nen = 0
while start < X:
    nen += 1
    start = int(start * 1.01)

print(nen)

Submission status: Accepted

Solution code:
def INT(): return int(input())
def MAP(): return map(int, input().split())


X = INT()

year = 0
cash = 100
while cash < X:
    year += 1
    cash = int(cash * 1.01)

print(year)

Submission status: Accepted

Solution code:
X=int(input())

n=100
i=0
while n<X:
    n=int(n*101//100)
    i+=1
    
print(i)

Submission status: Accepted

Solution code:
x = int(input())

ans = 100
c = 0
while True:
    if ans >= x:
        print(c)
        break
    ans += int(ans*0.01)
    c += 1

Submission status: Accepted

Solution code:
x = int(input())
tmp = 100
cnt = 0
while tmp < x:
    tmp = int(tmp * 1.01)
    cnt += 1
print(cnt)

Submission status: Accepted

Solution code:
X = int(input())
Y = 100
counter = 0
while Y < X:
    Y = int(Y*1.01)
    counter += 1
print(counter)

Submission status: Accepted

Solution code:
import bisect
import copy
import heapq
import math
import sys
from collections import *
from itertools import accumulate, combinations, permutations, product
from math import gcd
def input():
    return sys.stdin.readline()[:-1]
def ruiseki(lst):
    return [0]+list(accumulate(lst))
mod=pow(10,9)+7
al=[chr(ord('a') + i) for i in range(26)]
direction=[[1,0],[0,1],[-1,0],[0,-1]]

x=int(input())
tmp=100
ans=0
while tmp<x:
    ans+=1
    tmp=math.floor(tmp*1.01)
    # print(tmp)
print(ans)

Submission status: Accepted

Solution code:
import math
x = int(input())
res = 100
res_1 = 0
while True:
    res_1 += 1
    res = res * 1.01
    res = math.floor(res)
    if res >= x:
        break
print(res_1)

Submission status: Accepted

Solution code:
X = int(input())

r = 0.01
p = 100

cnt = 0
while True:
    cnt += 1
    p = int(p * (1 + r))
    if p >= X:
        break


print(cnt)

Submission status: Accepted

Solution code:
import math

X = int(input())

p = 100
year = 0
while p < X:
    p = math.floor(p * 1.01)
    year += 1
print(year)

Submission status: Accepted

Solution code:
#B問題
import math
X = int(input())
money = 100
count = 0
while(money < X):
    money = money + math.floor(money * 0.01)
    count+=1
print(count)

Submission status: Accepted

Solution code:
import math

x = int(input())

money = 100
year = 0

while True:
    money = math.floor(money * 1.01)
    year += 1
    if money >= x:
        break

print(year)

Submission status: Accepted

Solution code:
X=int(input())
money=100
year=0

while money<X:
    year+=1
    money+=money*0.01
    money=int(money)
    # print(money)

print(year)

Submission status: Accepted

Solution code:
import math
import itertools
x = int(input())
year = 0
sum = 100

while sum < x:
    sum = math.floor(sum * 1.01)
    year += 1

print(year)

Submission status: Accepted

Solution code:
import math

x=int(input())
y=100
i=0
while True:
    y=math.floor(y*1.01)
    i+=1
    if y>=x:
        print(i)
        exit()

Submission status: Accepted

Solution code:
import math
X = int(input())
money = 100
i=0
while money < X:
  money = math.floor(money * 1.01)
  i += 1

print(i)

Submission status: Accepted

Solution code:
import math
x = int(input())

tmp = 100

for i in range(3761):
    if tmp < x:
        tmp = math.floor(tmp * 1.01)
    else:
        print(i)
        break

Submission status: Accepted

Solution code:
from math import factorial as fact
import math
import sys
import itertools
import numpy as np
from collections import Counter
import datetime


#入力:N(int:整数)
def input1():
	return int(input())

#入力:N,M(int:整数)
def input2():
	return map(int,input().split())

#入力:[n1,n2,...nk](int:整数配列)
def input_array():
	return list(map(int,input().split()))

def keta(N):
	return len(str(N))


def input_daytime(input_time):
	time,distance=input_time.split()
	t=time.split(":")
	se=str(t[-1]).split(".")
	dt1 = datetime.timedelta(hours=int(t[0]),minutes=int(t[1]),seconds=int(se[0]),milliseconds=int(se[1]))
	return dt1

def combinations(n,r):
	return list(itertools.combinations(range(n),r))



def all_sets(num_list):
	subsets=[]
	for i in range(2,len(num_list) + 1):
		for c in combinations(num_list, i):
			subsets.append(c) 
	return subsets

#公約数の列挙
def ch(x1):
	cf=[]
	for i in range(2,math.sqrt(x1)+1):
		if x1 % i==0:
			cf.append(i)
	return cf

def CountOneRoots(x,y):
	#x:縦，y:横
	return fact(x+y)/fact(x)/fact(y)

# 素因数分解
def factorization(n):
	tmp=n
	count=0
	for i in range(2,int(n**0.5)+2):
		if tmp%i==0:
			cnt=0
			while tmp%i==0:
				cnt+=1
				tmp//=i
			count+=1
	if tmp!=1:
		count+=1

	return count
			




x = input1()
result=100
for i in range(10**1000000):
	result=int(result*1.01)
	if result>=x:
		print(i+1)
		break

Submission status: Accepted

Solution code:
X = int(input())
temp = 100
ans = 0
while True:
    temp = int(temp*1.01)
    ans += 1
    if temp >= X:
        break

print(ans)

Submission status: Accepted

Solution code:
x = int(input())

dep = 100
res = 0
while dep < x:
    dep += int(dep*0.01)
    res += 1
print(res)

Submission status: Accepted

Solution code:
X = int(input())
m = 100
y = 0
while m < X:
    m = int(m*101/100)
    y += 1 
print(y)

Submission status: Accepted

Solution code:
x = int(input())
a = 100
i = 1
while a < x:
    a = a * 1.01 // 1
    if a >= x:
        ans = i
    i += 1
print(ans)

Submission status: Accepted

Solution code:
X = int(input())
M = 100
Y = 0
while M<X:
    M = int(M*1.01)
    Y += 1
print(Y)

Submission status: Accepted

Solution code:
X = int(input())
n = 100
ret = 0
while n < X:
  n *= 1.01
  n //= 1
  ret += 1
print(ret)

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(100000000)




def main():
    k = int(input())

    init = 100
    now = init
    year = 0
    while True:
        now = int(now*1.01)
        year += 1
        if now >= k:
            break
    print(year)

main()

Submission status: Accepted

Solution code:
import sys
import math
sys.setrecursionlimit(10**7)
def input(): return sys.stdin.readline().rstrip()

def main():
  money = 100
  X = int(input())
  ans = 0

  while money < X:
    money = math.floor(money * 1.01)
    ans += 1
  print(ans)

if __name__ == '__main__':
  main()

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
import numpy as np
import math

def solve(X: int):
    p = 100
    n = 1
    while(True):
        p = math.floor(p*1.01)
        if p>=X:
            print(n)
            return
        n+=1
    return


# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    X = int(next(tokens))  # type: int
    solve(X)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import math
X = int(input())
money = 100
year = 0
while money < X:
    money = math.floor(1.01*money)
    year += 1
print(year)

Submission status: Accepted

Solution code:
import math
X=int(input())
#A,B=map(int,input().split())
a=100
# A=list(map(int,input().split()))
#p=10**9+7
ma=[]
i=0
while True:
    i += 1
    a=a+math.floor(a*0.01)
    if a>=X:
        print(i)
        exit()

Submission status: Accepted

Solution code:
X = int(input())
#A, B = list(map(int, input().strip().split()))
ans = 1
money = 100

while True:
  money *= 1.01
  money = int(money)
  if money >= X:
    break
  ans += 1
print(ans)

Submission status: Accepted

Solution code:
x=int(input())
an=100
c=0
while an<x:
  an=an+int(an*0.01)
  c+=1
print(c)

Submission status: Accepted

Solution code:
x = int(input())
amount = 100
cnt = 0

while 1:
    cnt += 1
    amount = int(amount * 1.01)
    if amount >= x:
        break

print(cnt)

Submission status: Accepted

Solution code:
def main(x: int):
    money = 100
    i = 0

    while True:
        money = int(money * 1.01)
        i += 1

        if money >= x:
            print(i)
            return


if __name__ == "__main__":
    x = int(input())

    main(x)

Submission status: Accepted

Solution code:
import math
X=int(input())
cnt=0
n=100
while(X>n):
    n+=math.floor(n*0.01)
    cnt+=1
print(cnt)

Submission status: Accepted

Solution code:
#b
x = int(input())
year = 0
m = 100
while True:
    year += 1
    m = int(m*1.01)
    if m >= x:
        print(year)
        break

Submission status: Accepted

Solution code:
X = int(input())
m = 100
count = 0
while(True):
    count += 1
    m = int(1.01 * m)
    if(m >= X):
        print(count)
        exit(0)

Submission status: Accepted

Solution code:
x=int(input())

num=100

rate=1.01
count=1

while(1):
    num=int(num*rate)
    if(num>=x):
        print(count)
        exit()
    count+=1

Submission status: Accepted

Solution code:
import math
x = int(input())
ratio = 1.01
mm = 100
num = 0
while (mm < x):
    mm *= ratio
    mm = math.floor(mm)
    num += 1
print(num)

Submission status: Accepted

Solution code:
x=int(input())
a=100
for i in range(0,5000):
    if int(a*1.01)>=x:
        print(i+1)
        break
    else:
        a=int(a*1.01)

Submission status: Accepted

Solution code:
A = 100
X = int(input())
ans = 0

while A < X:
    A = int(A*1.01)
    ans += 1

print(ans)

Submission status: Accepted

Solution code:
X = int(input())
a = 100
c = 0
while int(a)<X :
    a=int(a)*1.01
    c+=1
print(c)

Submission status: Accepted

Solution code:
# coding: utf-8

import sys
import math
import collections
import itertools
INF = 10 ** 13
MOD = 10 ** 9 + 7
def input() : return sys.stdin.readline().strip()
def lcm(x, y) : return (x * y) // math.gcd(x, y)
def I() : return int(input())
def LI() : return [int(x) for x in input().split()]
def RI(N) : return [int(input()) for _ in range(N)]
def LRI(N) : return [[int(x) for x in input().split()] for _ in range(N)]
def LS() : return input().split()
def RS(N) : return [input() for _ in range(N)]
def LRS(N) : return [input().split() for _ in range(N)]
def PL(L) : print(*L, sep="\n")
def YesNo(B) : print("Yes" if B else "No")
def YESNO(B) : print("YES" if B else "NO")

X = I()

a = 100
for i in range(INF):
    if a >= X:
        print(i)
        break

    a = int(a * 1.01)

Submission status: Accepted

Solution code:
X = int(input())

start = 100
count = 1
while True:
    start *= 1.01
    start = int(start)

    if start >= X:
        print(count)
        break
    count += 1

Submission status: Accepted

Solution code:
x = int(input())
cur = 100
for i in range(1000000):
    if cur >= x:
        print(i)
        break
    cur *= 1.01
    cur = int(cur)

Submission status: Accepted

Solution code:
x=int(input())
y=100
for i in range(1,10**18):
    y=int(y*1.01)
    if x <= y:
        print(i)
        break

Submission status: Accepted

Solution code:
def main():
    X= int(input())
    money = 100
    year = 0
    while money < X:
        money = int(money * 1.01)
        year += 1
    print(year)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#!python3

iim = lambda: map(int, input().rstrip().split())

def resolve():
    x = int(input())

    n = 0
    y = 100
    while True:
        if y >= x:
            print(n)
            return

        n += 1
        y = int(y*1.01)

if __name__ == "__main__":
    resolve()

Submission status: Accepted

Solution code:
X = int(input())

year = 0
sum = 100
while (X > sum):
    sum += int(sum * 0.01)
    year += 1

print(year)

Submission status: Accepted

Solution code:
x = int(input())
now = 100
ans = 0
while now < x:
  now *= 101
  now //= 100
  ans += 1
print(ans)

Submission status: Accepted

Solution code:
x = int(input())

st = 100
for i in range(100000000):
    t = int(st * 1.01)
    if t >= x:
        print(i+1)
        break
    else:
        st = t

Submission status: Accepted

Solution code:
x = int(input())
ans = 0
m = 100
while m<x:
    m = int(m*1.01)
    ans += 1
print(ans)

Submission status: Accepted

Solution code:
x = int(input())
kane = 100
for i in range(1,10**9):
    kane *= 1.01
    kane = int(kane)
    if kane >= x:
        print(i)
        exit()

Submission status: Accepted

Solution code:
def main():
    x=int(input())
    a=100
    c=0
    while a<x:
        a+=a//100
        c+=1
    print(c)
main()

Submission status: Accepted

Solution code:
import math


def main():
    X = int(input())

    money = 100
    for i in range(3760+1):
        money = math.floor(money * 1.01)
        if money >= X:
            print(i+1)
            return


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:

def q2():
    x = int(input())
    m = 100
    years = 0
    while m < x:
        years += 1
        m = m * 1.01 // 1
    print(years)


q2()

Submission status: Accepted

Solution code:
x = int(input())
m=100
year=0

while m<x:
    c=m//100
    m += c
    year+=1

print(year)

Submission status: Accepted

Solution code:
import math

x = int(input())
money = 100
cnt = 0
while True:
    money = math.floor(money * 1.01)
    cnt += 1
    if money >= x:
        print(cnt)
        exit()

Submission status: Accepted

Solution code:
from math import floor
import sys
input = sys.stdin.readline
X=int(input().rstrip('\n'))
res = 0
now = 100
while now < X:
  res += 1
  now = now + floor(now*0.01)
print(res)

Submission status: Accepted

Solution code:
X=int(input())
count=0
M=100
while M<X:
	M=int(M*1.01)
	count=count+1
print(count)

Submission status: Accepted

Solution code:
X = int(input())
cur = 100; year = 0
while cur < X:
    year += 1
    cur = int(cur * 1.01)
print(year)

Submission status: Accepted

Solution code:
x=int(input())
s=100
for i in range(1000000000000000000):
    s=int(s*1.01)
    if s>=x:
        print(i+1)
        break

Submission status: Accepted

Solution code:
X = int(input())

money = 100
count = 0
while X > money:
    money += money//100
    count+=1

print(count)

Submission status: Accepted

Solution code:
from sys import stdin


def input():
    return stdin.readline().strip()


def main():
    X = int(input())

    y = 100
    for i in range(1, 10 ** 20):
        y = int(1.01 * y)
        if y >= X:
            print(i)
            return
    

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
X = int(input())

hoge = 100
ans = 0
while True:
    ans += 1
    hoge = int(1.01 * hoge)
    if X <= hoge:
        print(ans)
        exit()

Submission status: Accepted

Solution code:
x = int(input())

money = 100
for i in range(100000000000):
    money = int(money * 1.01)
    if money >= x:
        print(i + 1)
        break

Submission status: Accepted

Solution code:
import math

X = int(input())
m = 100
res = 0

while m < X:
    res = res + 1
    m = m + math.floor(m * 0.01)

print(res)

Submission status: Accepted

Solution code:
x=int(input())
money=100
counter=0
while(1):
    if money>=x:
        print(counter)
        break
    money=int(money*1.01)
    counter+=1

Submission status: Accepted

Solution code:
x = int(input())
year = 0
money = 100

import math

while True:
    money = math.floor(money * 1.01) 
    year += 1
    if money >= x:
        break
    
print(year)

Submission status: Accepted

Solution code:
import math
goal = int(input())
cnt = 0
money = 100
while goal > money:
    money = math.floor(money * 1.01)
    cnt +=1
print(cnt)

Submission status: Accepted

Solution code:
x = int(input())
a = 100
c = 0
while a < x:
  a *= 1.01
  a = int(a)
  c += 1
print(c)

Submission status: Accepted

Solution code:
from decimal import *
x = int(input())
ans = 0
y = 100
while True:
  if y >= x:
    print(ans)    
    break  
  y = int(1.01 * y)
  ans += 1

Submission status: Accepted

Solution code:
from math import floor
import sys
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines

def main():
    X = int(readline())
    
    money = 100
    y = 0
    while money < X:
        money *= 1.01
        money = floor(money)
        y += 1
    
    print(y)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
def I(): return int(input())
X = I()
ans = 0
money = 100
while 1:
    if money>=X:
        break
    money *= 1.01
    money //= 1
    ans += 1
print(ans)

Submission status: Accepted

Solution code:
X = int(input())
Y = 100
i = 1
while True:
  Y += int(Y * 0.01)
  if Y >= X:
    print(i)
    break
  i += 1

Submission status: Accepted

Solution code:
x = int(input())

out = 0
money = 100
while True:
  out += 1
  money = int(money*1.01)
  if money >= x:
    break

print(out)

Submission status: Accepted

Solution code:
import math 
n=int(input())
p=100
t=0
while(p<n):
    p=int(p*1.01)
    t+=1
print(t)

Submission status: Accepted

Solution code:
x = int(input())

cnt = 0
money = 100
while(True):
    money = int(money * 1.01)
    cnt +=1
    if money >=x:
        break
print(cnt)

Submission status: Accepted

Solution code:
def solve():
    x = int(input())
    
    tot = 100
    cnt = 0
    while tot < x:
        tot += tot//100
        cnt += 1

    return cnt


print(solve())

Submission status: Accepted

Solution code:
# coding: utf-8

def run():
    X = int(input())
    val = 100
    k = 0
    while val < X:
        val = int(val * 1.01)
        k += 1
    print(k)

if __name__ == "__main__":
    run()

Submission status: Accepted

Solution code:
import math
x = int(input())
ans = 0
i = 100
while i < x:
  i = math.floor(i*1.01)
  ans += 1
print(ans)

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

x = int(input())

ans = 100
cnt = 0
while ans < x:
    ans *= 1.01
    ans = int(ans)
    cnt += 1
print(cnt)

Submission status: Accepted

Solution code:
X = int(input())

now = 100
c = 1
while True:
    now = int(now * 1.01)
    if now >= X:
        print(c)
        quit()
    c += 1

Submission status: Accepted

Solution code:
r = int(input())

a = 100
y = 0

while(True):
  if a >= r:
    break
  a *= 1.01
  a = int(a)
  y +=1

print (y)

Submission status: Accepted

Solution code:

X = int(input())

money = 100

cnt = 0
while money < X:
    money = int(money * 1.01)
    cnt += 1
print(cnt)

Submission status: Accepted

Solution code:
x = int(input())

t = 100
i=0
if t >= x:
    print("0")
else:
    for i in range(1,10**18):
        t=int(t*1.01)
        if t>=x:
            break
    print(i)

Submission status: Accepted

Solution code:
x = int(input())
m = 100
ans = 0
while True:
    m = int(m*1.01)
    ans += 1
    if m >= x:
        break
print(ans)

Submission status: Accepted

Solution code:
X = int(input())

money = 100
for i in range(1,5000):
  money = int(money * 1.01)
  if money >= X:
    print(i)
    break

Submission status: Accepted

Solution code:
def main():
    S = int(input())
    
    C = 100
    
    cc = 1
    isfinish = False
    while not isfinish:
        C += int(C * 0.01)
        if C >= S:
            print(cc)
            isfinish = True
            break
        else:
            cc += 1
            
    
        
    
main()

Submission status: Accepted

Solution code:
def main():
    x = int(input())
    c = 100
    count = 0
    while not c >= x:
        c += int(c * 0.01)
        count += 1
    print(count)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
x = int(input())
a = 100
for i in range(3770):
    a = int(a * 1.01)
    if a >= x:
        break
print(i + 1)

Submission status: Accepted

Solution code:
#!/usr/bin/python3
# -*- coding: utf-8 -*-
x = int(input())
y = 100
for i in range(1, 10000000):
    y = int(y * 1.01)
    if y >= x:
        print(i)
        break

Submission status: Accepted

Solution code:
import math
x = int(input())

cur = 100
count = 0
while True:
    count += 1
    cur = math.floor(cur * 1.01)
    if cur >= x:
        break

print(count)

Submission status: Accepted

Solution code:
x = int(input())

saving = 100
cnt = 0
while saving < x:
  saving = int(saving * 1.01)
  cnt += 1
  
print(cnt)

Submission status: Accepted

Solution code:
import sys
X = int(input())

ans = 0
val = 100

while 1:
    val = int(val*1.01)
    ans += 1
    if X <= val:
        print(ans)
        sys.exit()

Submission status: Accepted

Solution code:
x=int(input())
a=100
count=0
for i in range(x):
    a=int(a*1.01)
    count+=1
    if a>=x:
        break
print(count)

Submission status: Accepted

Solution code:
X = int(input())

ret = 0
cur = 100
while cur < X :
  cur = int(cur * 1.01)
  ret += 1
print(ret)

Submission status: Accepted

Solution code:
import math
x = int(input())
v = 100
for i in range(100000):
    v = v+math.floor(v*0.01)
    if v >= x:
        print(i+1)
        break

Submission status: Accepted

Solution code:
from math import log

X = int(input())

tmp = 100
count = 0
while True:
    count += 1
    tmp = int(tmp * 1.01)
    if tmp >= X:
        break
print(count)

Submission status: Accepted

Solution code:
X = int(input())
cnt = 0
x = 100
while True:
    x = (x*1.01)//1
    cnt += 1
    if x >= X:
        print(cnt)
        break

Submission status: Accepted

Solution code:
x = int(input())

temp = 100
a = 0
while True:
  a += 1
  temp = int(temp * 1.01)
  if temp >= x:
    break

print(a)

Submission status: Accepted

Solution code:
X = int(input())
x = 100
cnt = 0
while x < X:
  x = int(x * 1.01)
  cnt += 1
print(cnt)

Submission status: Accepted

Solution code:
x = int(input())
n = 100
i = 1
while n < x:
  n += n // 100
  i += 1
print(i-1)

Submission status: Accepted

Solution code:
#code
X=int(input())
temp=100
for i in range(10**6):
    temp=temp+temp//100
    if(temp>=X):
        break
print(i+1)

Submission status: Accepted

Solution code:
X = int(input())

x = 100
ans = 0
while x < X:
  x += x // 100
  ans += 1
print(ans)

Submission status: Accepted

Solution code:
X = int(input())


cur = 100

count = 0

while cur < X:
    count += 1

    cur = int(cur * 1.01)

print(count)

Submission status: Accepted

Solution code:
x=int(input())
v=100
y=0
while v<x:
    v=int(v*1.01)
    y+=1

print(y)

Submission status: Accepted

Solution code:
x = int(input())
y = 100
ans =0
while y<x:
    y = int(y*1.01)
    ans +=1
print(ans)

Submission status: Accepted

Solution code:
def solve():
    X = int(input())
    money = 100
    year = 0

    while True:
        money = (money * 1.01)//1
        year += 1
        if money >= X:
            print(year)
            break



if __name__ == '__main__':
    solve()

Submission status: Accepted

Solution code:
X = int(input())
ans=0
now = 100
while now<X:
    ans+=1
    now=now*101//100
print(ans)

Submission status: Accepted

Solution code:
X=int(input())
money=100
count=0
while(1):
    money=int(1.01*money)
    count+=1
    if money>=X:
        print(count)
        break

Submission status: Accepted

Solution code:
x = int(input()) 

cnt = 0
res = 100
while res < x:
    res = int(res * 1.01)
    cnt += 1

print(cnt)

Submission status: Accepted

Solution code:
import math
x = int(input())
cash = 100
n = 0
while cash < x:
    n += 1
    cash = math.floor(cash * 1.01)
    #print(cash)
    if cash >= x:
        print(n)
    else:
        pass

Submission status: Accepted

Solution code:
import math

x = int(input())
money = 100
y = 1

while 1:
    if (math.floor(money * 1.01) >= x):
        print(y)
        break
    else:
        y += 1
        money = math.floor(money * 1.01)

Submission status: Accepted

Solution code:
x=int(input())
a=100
y=0
while a<x:
    a=(a*1.01)//1
    y+=1
print(y)

Submission status: Accepted

Solution code:
x=int(input())
mon=100
ans=0
while mon<x:
    mon = int(mon*1.01)
    ans += 1
print(ans)

Submission status: Accepted

Solution code:
x = int(input())
y = 0
m = 100
while (m < x):
    m = int(m * 1.01)
    y += 1
print(y)

Submission status: Accepted

Solution code:
x=int(input())
ans = 1
amount = 100
while True:
    amount = amount + int(amount*0.01)
    if amount>=x:
        print(ans)
        break
    ans+=1

Submission status: Accepted

Solution code:
X = int(input())
i = 0
kane = 100
while True:
    i += 1
    kane =int(kane*1.01)
    if kane >= X:
        break

print(i)

Submission status: Accepted

Solution code:
import math
x = int(input())

now = 100

for i in range(1, 10000):
    now = math.floor(now * 1.01)
    if now >= x:
        print(i)
        exit()

Submission status: Accepted

Solution code:
import math
x = int(input())

money = 100
for i in range(1, 10000000):
    money = int(1.01 * money)
    if money >= x:
        print(i)
        break

Submission status: Accepted

Solution code:
import numpy as np
if __name__ == "__main__":
    # 入力パターン．
    # 要素の数がわかっているパターン
    ### a b
    x = int(input())
    y = 1
    m = 100

    while True:
        m = int(m * 1.01)
        if m >= x:
            break
        y += 1
    print(y)

Submission status: Accepted

Solution code:
n=int(input())
a=100
c=0
while(a<n):
    a=a+(int((a*1)/100))
    c=c+1
print(c)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
import sys
readline = sys.stdin.readline
read = sys.stdin.read


x, = [int(i) for i in read().split()]

a = 100
i = 0
while a < x:
    i += 1
    a = a*101//100

print(i)

Submission status: Accepted

Solution code:
from sys import stdin
def main():
    #入力
    readline=stdin.readline
    X=int(readline())
    res=100
    count=0
    while res<X:
        count+=1
        res*=1.01
        res//=1
    print(count)
if __name__=="__main__":
    main()

Submission status: Accepted

Solution code:
import math

x = int(input())
m = 100

y = 0
while m < x:
    m = math.floor(m * 1.01)
    y = y + 1

print(y)

Submission status: Accepted

Solution code:
X = int(input())

n = 0

y = 100
while True:
    if y >= X:
        break
    y = int(y * 1.01)
    n += 1

print(n)

Submission status: Accepted

Solution code:
def calc(x):
    return int(x * 1.01)

X = int(input())
val = 100
y = 0
while True:
    if val >= X:
        print(y)
        break
    val = calc(val)
    y += 1

Submission status: Accepted

Solution code:
import math
X = int(input())
yo = 100
year = 0
while(yo < X):
    year += 1
    yo = math.floor(yo*1.01)
print(year)

Submission status: Accepted

Solution code:
X = int(input())

ans = 0
savings = 100

while(savings < X):
  ans += 1
  savings = int(savings*1.01)

print(ans)

Submission status: Accepted

Solution code:
X = int(input())

cnt = 0
first = 100

while True:
    first += int(first*0.01)
    cnt += 1
    if X <= first:
        break

print(cnt)

Submission status: Accepted

Solution code:
from math import log, ceil
x = int(input())
r = 100
c = 0
while r < x:
    r *= (101 / 100)
    r = int(r)
    c += 1
print(c)

Submission status: Accepted

Solution code:
import math
X=int(input())
n=0
m=100
while m<X:
    m=math.floor(1.01*m)
    n+=1
print(n)

Submission status: Accepted

Solution code:
x = int(input())

ans = 0
money = 100
while True:
    if money >= x: exit(print(ans))
    ans += 1
    money = (money*1.01) // 1

Submission status: Accepted

Solution code:
from math import floor

x = int(input())
s = 100

t = 0
while s < x:
	t += 1
	s = floor(s*1.01)
print(t)

Submission status: Accepted

Solution code:
import math
X = int(input())
k = 100
c = 0
while(True):
    if k >= X:
        break
    c += 1
    k = math.floor(k*1.01)

print(c)

Submission status: Accepted

Solution code:
X = int(input())
i = 0
m = 100
while(m<X):
    m *= 1.01
    m = int(m)
    i += 1
print(i)

Submission status: Accepted

Solution code:
import math
X = int(input())

c = 100

y = 0
while(c < X):
    y+=1
    c = c + math.floor(c*0.01)
print(y)

Submission status: Accepted

Solution code:
from sys import stdin
import sys

# A, B, C, D = [int(x) for x in stdin.readline().rstrip().split()]
# N, M = [int(x) for x in stdin.readline().rstrip().split()]
# U = input().split()
X=int(input())
# A, B = [str(x) for x in stdin.readline().rstrip().split()]
Y=100
cnt=0
while True:
    Y=int(Y*1.01)
    cnt+=1
    if Y>=X:
        print(cnt)
        sys.exit()

Submission status: Accepted

Solution code:
#!/usr/bin/python3
# -*- coding: utf-8 -*-

# import numpy as np
# from itertools import *
# from collections import *

# S = input().split()
# N = int(input().split())
# K, N = [int(x) for x in input().split()]
import math

X = int(input())
y = 0
m = 100

while m < X:
    m = math.floor(m * 1.01)
    y += 1

print(y)