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: Wrong Answer

Solution code:
x=int (input())

i=1

while x >= 0.01*((1+0.01)**i):
  i=i+1



print(i)

Submission status: Wrong Answer

Solution code:
x=int (input())

i=1

while x >= 100*((1+0.01)**i):
  i=i+1



print(i)

Submission status: Wrong Answer

Solution code:
x = int(input())

a = 100
i = 1/100

print(x/(a**1/100))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
money = 100
for i in range(1, 10000):
    money = math.floor(money * 1.01)
    if money >= X:
        print(i)
        exit()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
S = 100
k = 0
while S < X:
  S += math.floor(S*0.01)
  k += 1
print(k)

Submission status: Wrong Answer

Solution code:
X = int(input())
S = 100
k = 0
while S < X:
  S = round(S*1.01)
  k += 1
print(k)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X=int(input())
a=100
i=0
while a<X:
    a+=int(a/100)
    i+=1
print(i)

Submission status: Wrong Answer

Solution code:
X=int(input())
a=100
i=0
while True:
    if a>=X:
        break
    i+=1
    a+=int(a/100)
print(i)

Submission status: Wrong Answer

Solution code:
1000000000000000000

Submission status: Wrong Answer

Solution code:
X=int(input())
a=100
i=0
while True:
    if a>=X:
        break
    a+=int(a/100)
    i+=1
print(i)

Submission status: Wrong Answer

Solution code:
X=int(input())
a=100.0
i=0
while True:
    if a>=X:
        break
    a+=int(a/100)
    i+=1
print(i)

Submission status: Wrong Answer

Solution code:
X=int(input())
a=100.0
i=0
while True:
    if a>=X:
        print(i)
        exit()
    a+=int(a/100)
    i+=1

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal
 
X = int(input())
A = 100
for i in range(1, 8000):
  A = math.floor(Decimal(A * Decimal(1.01)))
  if A >= X:
    print(i)
    exit()

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal

X = int(input())
A = 100
for i in range(1, 8000):
  A = math.floor(A * 1.01)
  if A >= X:
    print(i)
    exit()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

Solution code:
x = int(input())
deposit = 100
year = 0
rate = 1.01
while(deposit < x):
  deposit = int(deposit * rate)
  year += 1
print(year)

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal
X = int(input())
now = 100
year = 0

while True:
    if now >= X:
        break
    #王道
    #now += now // 100

    #Decimal型を経由する方法
    #now = int(now * Decimal("1.01"))
    #now = int(now * round(Decimal(1.01), 2))
    now = int(now * round(1.01, 2))
    #now = Decimal(math.floor(now * Decimal(1.01)))
    year += 1

print(year)

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal
X = int(input())
now = Decimal(100)
year = 0

while True:
    if now >= X:
        break
    #王道
    #now += now // 100

    #Decimal型を経由する方法
    #now = int(now * Decimal("1.01"))
    #now = int(now * round(Decimal(1.01), 2))
    now = Decimal(math.floor(now * Decimal(1.01)))

    year += 1

print(year)

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal
X = int(input())
now = 100
year = 0

while True:
    if now >= X:
        break
    #now = int(now * Decimal("1.01"))
    #now = int(now * round(Decimal(1.01), 2))
    now += now / 100

    year += 1

print(year)

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal

X = int(input())
now = 100
year = 0

while True:
    if now >= X:
        break
    now = int(now * round(1.01, 2))
    year += 1

print(year)

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal

X = int(input())
now = 100
year = 0

while True:
    if now >= X:
        break
    now = int(now * Decimal(1.01))
    year += 1

print(year)

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
now = 100
year = 0

while True:
    if now >= X:
        break
    now = int(math.floor(now * 1.01))
    year += 1
    #print(year, now)

print(year)

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
now = 100
year = 0

while True:
    if now >= X:
        break
    now = int(math.floor(now * 1.01))
    year += 1
    print(year, now)

print(year)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

year = 0
while True:
    if now >= X:
        break
    now = math.floor(now * 1.01)
    year += 1

print(year)

Submission status: Wrong Answer

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

while m < x:
  m *= 1.01
  y += 1

print(y)

Submission status: Wrong Answer

Solution code:
# 1%
import math

N = int(input())
x = 100
ans = 0
while x < N:
    x += math.floor(x /100)
    ans += 1

print(ans)

Submission status: Wrong Answer

Solution code:
# 1%

N = int(input())
x = 100
ans = 0
while x < N:
    x += int(x /100)
    ans += 1

print(ans)

Submission status: Wrong Answer

Solution code:
import math
S = int(input())
after = 100
cn = 0

while after < S:
    after = (after * 101 / 100)
    after = math.floor(after)
    cn = cn + 1 
    if (after > S):
        break
    
print(cn)

Submission status: Wrong Answer

Solution code:
import math
S = int(input())
after = 100
cn = 0

while after < S:
    after = (after * 1.01)
    after = math.floor(after)
    cn = cn + 1 
    if (after > S):
        break
    
print(cn)

Submission status: Wrong Answer

Solution code:

S = int(input())#入力
cn = 0#カウンタ
after = 100#一年後の預金

while after < S:
    after = (after * 101 / 100)
    cn = cn + 1 

    
print(cn)

Submission status: Wrong Answer

Solution code:

S = int(input())#入力
cn = 0#カウンタ
after = 100#一年後の預金

while after < S:
    after = (after * 1.01)
    cn = cn + 1 

    
print(cn)

Submission status: Wrong Answer

Solution code:
before = 100#預金
S = int(input())#入力
cn = 0#カウンタ
after = 0#一年後の預金

while after > S:
    after = (before * 1.01)
    cn = cn + 1 

    
print(cn)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

X = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())

money = 100
cnt = 0

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

Submission status: Wrong Answer

Solution code:
X = int(input())
total = 100
count = 0
while total <= X:
    total += total//100
    count += 1
print(count)

Submission status: Wrong Answer

Solution code:
x = int(input())
money = 100
year = 0
if x <= 100:
  print(0)
  exit()
while True:
  money = money + money*0.01
  money = money // 1
  year += 1

  if money >= x:
    print(year)
    exit()

Submission status: Wrong Answer

Solution code:
x = int(input())
money = 100
year = 0
while True:
  money = money + money*0.01
  money = money // 1
  year += 1
  if money >= x:
    print(year)
    exit()

Submission status: Wrong Answer

Solution code:
import math

X = int(input())

kane = 100
n = 0
while kane < X:
    n += 1
    kane = kane + math.floor(kane * (0.01))
    #print(kane)
print(n)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())
y = 1
z = 100
 
while True:
    z = z*(1.01)
    if z < x:
        z = int(z)
        y += 1
    else:
        break
 
print(str(y))

Submission status: Wrong Answer

Solution code:
x = int(input())
y = 1
z = 100
 
while 1:
    z = z*(1.01)
    if z < x:
        z = int(z)
        y += 1
    else:
        break
 
print(str(y))

Submission status: Wrong Answer

Solution code:
x = int(input())
y = 1

while int(100*((1.01)**y)) <x:
  y += 1

print(str(y))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#https://atcoder.jp/contests/abc165/tasks/abc165_b
import math

N= int(input(" "))

M= 100
i= 1

while 1:
    M= M + math.floor(0.01*M)
    if M >= N:
        break
    i += 1
print(i)

Submission status: Wrong Answer

Solution code:
#https://atcoder.jp/contests/abc165/tasks/abc165_b
import math

N= int(input(" "))

M= 100
i= 0

while 1:
    M= math.floor(M*1.01)
    i+= 1

    if M>=N:
        print(i)
        break

Submission status: Wrong Answer

Solution code:
#https://atcoder.jp/contests/abc165/tasks/abc165_b
import math

N= []
N= int(input(" "))

M= 100
i= 0

while 1:
    M= math.floor(M*1.01)
    i= i+1

    if math.floor(M)>=N:
        print(i)
        break
    else:
        continue

Submission status: Wrong Answer

Solution code:
#https://atcoder.jp/contests/abc165/tasks/abc165_b
import math

N= []
N= int(input(" "))

M= 100
i= 0

while 1:
    M= math.floor(M*1.01)
    i= i+1

    if M>=N:
        print(i)
        break
    else:
        continue

Submission status: Wrong Answer

Solution code:
#https://atcoder.jp/contests/abc165/tasks/abc165_b
import math

N= []
N= int(input(" "))

M= 100
i= 0

while True:
    M= math.floor(M*1.01)
    i= i+1

    if M>=N:
        print(i)
        break
    else:
        continue

Submission status: Wrong Answer

Solution code:
X=int(input())

x=100
for i in range(10**4):
    x = int(x*1.01)
    if X <= x:
        print(i+1)
        break

Submission status: Wrong Answer

Solution code:
a = list(map(int,open(0).read().split()))
i = 100
c = 0
while i < a[0]:
  i = int(i * 101 / 100)
  c += 1
print(c)

Submission status: Wrong Answer

Solution code:
a = list(map(int,open(0).read().split()))
i = 100
c = 0
while i < a[0]:
  i = int(i*1.01)
  c += 1
print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())

year = 1
yokin = 100

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(cnt)

Submission status: Wrong Answer

Solution code:
import math
cnt = 0
x = int(input())
m = 100
for i in range(4000):
    if m >= x:
        print(i)
        exit()
    else:
        m = math.floor(m*1.01)

Submission status: Wrong Answer

Solution code:
X=int(input())

y=1
m=100
while True:
  m += m*0.01
  m //= 1
  if m>=X:
    print(y)
    exit(0)
  y+=1

Submission status: Wrong Answer

Solution code:
def Qb():
    import math
    X = int(input())
    Y = 100
    i = 0

    while True:
        if X <= Y:
            break
        Y = math.trunc(Y * 1.01)
        i += 1
    print(i)


if __name__ == '__main__':
    Qb()

Submission status: Wrong Answer

Solution code:
def Qb():
    import math
    X = int(input())
    Y = 100
    i = 0

    while True:
        Y = math.trunc(Y * 1.01)
        i += 1
        if X <= Y:
            break
    print(i)


if __name__ == '__main__':
    Qb()

Submission status: Wrong Answer

Solution code:
x = int(input())

balance = 100
cnt = 0
while balance < x:
    balance += int(balance/100)
    cnt += 1

print(cnt)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(cnt)

Submission status: Wrong Answer

Solution code:
x=int(input())
cost=100
for i in range(1,10000000000):
    cost=(cost*1.01)//1
    if cost>=x:
        print(i)
        break

Submission status: Wrong Answer

Solution code:
x=int(input())
cost=100
for i in range(1,100000):
    cost=(cost*1.01)//1
    if cost>=x:
        print(i)
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())

year = 0
bank = 100
while bank < X:
    bank += int(bank * 0.01)
    year += 1

print(year)

Submission status: Wrong Answer

Solution code:
#ABC165-B
x=int(input())
money=100
year=0
while money<x:
  money=int(1.01*money)
  year+=1
print(year)

Submission status: Wrong Answer

Solution code:
#ABC165-B
x=int(input())
money=100
year=0
while True:
  money=int(1.01*money)
  year+=1
  if money>=x:
    break
print(year)

Submission status: Wrong Answer

Solution code:
X=int(input())
Y=100
num=0
while Y<X:
    Y += Y//100
    num += 1
print(Y)
print(num)

Submission status: Wrong Answer

Solution code:
X = int(input())

ans = 0
num = 100
while num < X:
    num = int(num+num*(1/100))
    ans += 1

print(ans)

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
ins = lambda: input().rstrip()
ini = lambda: int(input().rstrip())
inm = lambda: map(int, input().split())
inl = lambda: list(map(int, input().split()))
 
n = ini()
ans = 0
count = 100
while count < n:
    count += int(count * 0.01)
    ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
import sys
import math
input = sys.stdin.readline
ins = lambda: input().rstrip()
ini = lambda: int(input().rstrip())
inm = lambda: map(int, input().split())
inl = lambda: list(map(int, input().split()))

n = ini()
ans = 0
count = 100
while count < n:
    count = math.floor(count * 1.01)
    ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
ins = lambda: input().rstrip()
ini = lambda: int(input().rstrip())
inm = lambda: map(int, input().split())
inl = lambda: list(map(int, input().split()))

n = ini()
ans = 0
count = 100
while count < n:
    count *= 1.01
    count = int(count)
    ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
ins = lambda: input().rstrip()
ini = lambda: int(input().rstrip())
inm = lambda: map(int, input().split())
inl = lambda: list(map(int, input().split()))

n = ini()
ans = 0
count = 100
while count < n:
    count = int(count * 1.01)
    ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
x = int(input())

sum = 100
year = 0

while x > sum:
    sum *= 1.01
    sum = int(sum)
    year += 1

print(year)

Submission status: Wrong Answer

Solution code:
X = int(input())

n = 100
for i in range(10**18):
    n = int(n*1.01)
    if n >= X:
        print(i)
        exit()

Submission status: Wrong Answer

Solution code:
X = int(input())

n = 100
for i in range(1, 10**18):
    n = int(n*1.01)
    if n >= X:
        print(i)
        exit()

Submission status: Wrong Answer

Solution code:
X = int(input())

n = 100
for i in range(1, 10**18):
    n += int(n*0.01)
    if n >= X:
        print(i)
        exit()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

temp = 100
count = 0
while(temp < x):
    temp += math.floor(temp * 0.01)
    count += 1

print(count)

Submission status: Wrong Answer

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

temp = 100
count = 0
while(temp < x):
    temp = math.floor(temp * 1.01)
    count += 1

print(count)

Submission status: Wrong Answer

Solution code:
x = int(input())


temp = 100
count = 0
while(temp < x):
    temp = int(temp * 1.01)
    count += 1

print(count)

Submission status: Wrong Answer

Solution code:
x=int(input())
m=100
for i in range(4000):
  m=int(m*1.01)
  if m>=x:
    print(i+1)
    exit()

Submission status: Wrong Answer

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

while B<X:
  B+=int(B*0.01)
  ans+=1
  
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
import math
def main():
    x = int(input())
    
    money = 100
    i = 0
    while money < x:
        money = math.floor(money * 1.01)
        i += 1
    
    print(i)
    
main()

Submission status: Wrong Answer

Solution code:
# coding: utf-8

def main():
    x = int(input())
    
    money = 100.0
    for i in range(1, 10 ** 18):
        money = 101 * money // 100
        if money >= x:
            break
    
    print(i)
    
main()

Submission status: Wrong Answer

Solution code:
# coding: utf-8

def main():
    x = int(input())
    
    money = 100.0
    i = 0
    while money < x:
        i += 1
        money = 101 * money // 100
    
    print(i)
    
main()

Submission status: Wrong Answer

Solution code:
# coding: utf-8

import math
def main():
    x = int(input())
    
    money = 100.0
    i = 0
    while money < x:
        i += 1
        money = math.floor(101 * money / 100)
    
    print(i)
    
main()

Submission status: Wrong Answer

Solution code:
# coding: utf-8

import math
def main():
    x = int(input())
    
    money = 100
    i = 0
    while money < x:
        i += 1
        money = math.floor(101 * money / 100)
    
    print(i)
    
main()

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
import math
def main():
    x = int(input())
    
    money = 100
    i = 0
    while money < x:
        i += 1
        money = math.floor(1.01 * money)
    
    print(i)
    
main()

Submission status: Wrong Answer

Solution code:
def resolve():
    X = int(input())

    account = 100
    t = 0
    while account < X:
        t += 1
        account += int(account * 0.01)
    print(t)

if __name__ == "__main__":
    resolve()

Submission status: Wrong Answer

Solution code:
X = int(input())
count = 0
x = 100

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

print(count)

Submission status: Wrong Answer

Solution code:
X = int(input())
A = 100
for i in range(10**5):
  A = int(A*1.01)
  if X <= A:
    break
print(i+1)

Submission status: Wrong Answer

Solution code:
# 1%
import math
X = int(input())
d = []
money = 100
rate = 0.01
ans = 0
while money < X:
    money += int(math.floor(money * rate))
    ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
# 1%
import math
X = int(input())
d = []
money = 100
rate = 0.01
ans = 0
while money < X:
    money += math.floor(money * rate)
    ans += 1
print(ans)

Submission status: Wrong Answer

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

print(i)

Submission status: Wrong Answer

Solution code:
import math
import sys
count = 0
n =  100
def main():
  global count
  global n
  x = int(input())
  y = 0
  while x > n:
    n*=1.01
#    print(n)
    n = math.floor(n)
    count += 1
#    print(n)
    
  print(count)  


      
if __name__ == '__main__':
  main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def solve():
    X = int(input())
    years = 0
    amount = 100
    while amount < X:
        amount = int(amount*1.01)
        years += 1
    print(years)

if __name__ == "__main__":
    solve()

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

Solution code:
from math import floor

X = int(input())

a = 100
cnt = 0
while a < X:
	a = floor(a * 1.01)
	cnt += 1
print(cnt)

Submission status: Wrong Answer

Solution code:
from math import floor

X = int(input())

a = 100
cnt = 0
while a < X:
	a = a + floor(a*0.01)
	cnt += 1
print(cnt)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x=int(input())
t=100
for i in range(100000):
    if t>=x:
        print(i)
        exit()
    t=int(t*1.01)

Submission status: Wrong Answer

Solution code:
X = int(input())
money, cnt = 100, 0
while money < X:
    cnt += 1
    money += money/100
print(cnt)

Submission status: Wrong Answer

Solution code:
X = int(input())
money, cnt = 100, 0
while money < X:
    cnt += 1
    money += int(money*0.01)
print(cnt)

Submission status: Wrong Answer

Solution code:
import math
x = int(input())
money = 100
per = 1.01
ans = 0

while money < x:
  money += money/100
  money = math.floor(money)
  ans += 1
  
print(ans)

Submission status: Wrong Answer

Solution code:
import math
import decimal
x = int(input())
money = 100
per = 1.01
ans = 0

while money < x:
  money = math.floor(decimal.Decimal(str(money*per)))
  ans += 1
  
print(ans)

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

Solution code:
import math
x = int(input())
money = 100
per = 1.01
ans = 0

while money < x:
  money = math.floor(money*per)
  ans += 1
  
print(ans)

Submission status: Wrong Answer

Solution code:
def main():
    c = 100
    x = int(input())
    y = 0
    while c < x:
        c = int(c * 1.01)
        y += 1
    
    print(y)
    return
main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

X = int(input())
year = 0
amount = 100
while True:
  if amount >= X:
    break
  amount += math.floor(amount * 0.01)
  year += 1
print(year)

Submission status: Wrong Answer

Solution code:
import math

X = int(input())
year = 0
amount = 100
while True:
  if amount >= X:
    break
  amount = math.floor(amount * 1.01)
  year += 1
print(year)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
x = int(input())
initial = 100
count = 0
while initial < x:
  initial =  math.floor(initial + initial * 0.01)
  count += 1
print(count)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=int(100)
b=0
X=int(input())
while a<X:
    a=int((a+int((0.01*a)//1)))
    b+=1
if a!=X:
    print(b)
else:
    print(b)

Submission status: Wrong Answer

Solution code:
a=int(100)
b=0
X=int(input())
while a<X:
    a=int((a*1.01)//1)
    b+=1
if a!=X:
    print(b)
else:
    print(b)

Submission status: Wrong Answer

Solution code:
a=100
b=0
X=int(input())
while a<X:
    a=(a*1.01)//1
    b+=1
if a!=X:
    print(b)
else:
    print(b)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())

n = 0
a = 100
while a < X:
    a = int(a * 1.01)
    n += 1

print(n)

Submission status: Wrong Answer

Solution code:
x = int(input())

year = 0
money = 100

while money < x:
    year += 1
    #money = int(money * 1.01)
    money += int(money/100)

print(year)

Submission status: Wrong Answer

Solution code:
x = int(input())

year = 0
money = 100

while money < x:
    year += 1
    money = int(money * 1.01)

print(year)

Submission status: Wrong Answer

Solution code:
import math

x = int(input())

year = 0
money = 100

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

print(year)

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())

deposit = 100

i = 1

while True:
    deposit = int(deposit * 1.01)

    if deposit >= x:
        break

    i += 1

print(i)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
X=int(input())
a=100
n=0
while True:
    a=math.floor(a*float(101/100))
    n=n+1
    if a >= X:
        print(n) 
        break

Submission status: Wrong Answer

Solution code:
X=int(input())
a=100
n=0
while True:
    a=int(a*101/100)
    n=n+1
    if a >= X:
        print(n) 
        break

Submission status: Wrong Answer

Solution code:
X=int(input())
a=100
n=0
while True:
    a=a+a*101/100
    n=n+1
    if a >= X:
        print(n) 
        break

Submission status: Wrong Answer

Solution code:
X=int(input())
a=100
n=0
while True:
    a=int((101*a)/100)
    n=n+1
    if a >= X:
        print(n) 
        break

Submission status: Wrong Answer

Solution code:
X=int(input())
a=100
n=0
while True:
    a=int(float(101*a/100))
    n=n+1
    if a >= X:
        print(n) 
        break

Submission status: Wrong Answer

Solution code:
import math

x = int(input())
v = 100
n = 1
while v < x:
    v = math.floor(v * 1.01) 
    n += 1
print(n - 1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
x=int(input())
y=100
for i in range(1000000000):
    y=math.floor(1.01*y)
    if y>=x:
        print(i+1)
        exit()