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:
import math
K = input()
K = float(K)
X = 100.0
i = 0
while K >= X:
  X = X *1.01
  X = math.floor(X)
  i = i + 1

  
print(i)

Submission status: Wrong Answer

Solution code:
X = input()
Money = 100
counter = 0

while int(X) > Money:
    Money = Money*1.01
    counter = counter + 1
    
print(counter)

Submission status: Wrong Answer

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

print(math.ceil((math.log(X, 10)-2)/math.log(1.01, 10)))

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
A = 100
c = 0

for i in range(X):
  X = X * 0.99
  c = c + 1
  if X <= 100:
    break
    
print(c)

Submission status: Wrong Answer

Solution code:
X=int(input())


i=0
start=100
while 1:
    start=start*1.01
    i+=1
    if start>=X:
        print(i)
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())
print(int((X-100)/(0.01*100)))

Submission status: Wrong Answer

Solution code:
a = int(input())
year = 0
init_yen = 100
while init_yen < a:
    year+=1
    init_yen*=1.01
    int(init_yen)

print(year)

Submission status: Wrong Answer

Solution code:
x = int(input())
y = 0
amt = 100
while amt < x:
    amt += (amt/100)
    y += 1

print(y)

Submission status: Wrong Answer

Solution code:
x=int(input())

sum=1
for i in range(100000):
  y=100*1.01
if y<x:
    sum+=1
else:
    sum=sum
print(sum+1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())

for i in range(10000000000000):
    if(100*(1.01**i) >=x):
        print(i)
        break

Submission status: Wrong Answer

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

print(1+math.ceil((math.log(X+1, 10)-2)/math.log(1.01, 10)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())

ans = 100
count = 0

while ans < X:
    ans = int(ans * 1.01)
    count += 1
    if ans > X:
        print(count)

Submission status: Wrong Answer

Solution code:
import math
X=int(input())
i=0
y= 100

while X >= y:
	i=i+1
	y=y*1.01
	y=math.floor(y)

print(i)

Submission status: Wrong Answer

Solution code:
x = int(input())
cnt = 1
for i in range(cnt):
  if int((1.01)**i)<int(x/100):
    cnt += 1
  else:
    print(i)
    exit()

Submission status: Wrong Answer

Solution code:
import math
wanted = int(input())
year = 0
if wanted >= 101 and wanted <= 1000000000000000000:
    year = math.log(wanted/100) / math.log(1.01)
    print(year)
else:
    print()

Submission status: Wrong Answer

Solution code:
X = int(input())
default = 100

year = 1
while True:
    default = default + (1 % default)
    if default == X:
        print(year)
        break
    year += 1

Submission status: Wrong Answer

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

t = (math.log(x) - math.log(100)) / math.log(1 + 0.01)
print(math.ceil(t))

Submission status: Wrong Answer

Solution code:
import math

x = int(input())

ans = 100
cnt = 0

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

print(cnt)

Submission status: Wrong Answer

Solution code:
X = int(input())

m = 100
z=0

while X > m:
    m = m * 1.01
    z = z + 1

print(z)

Submission status: Wrong Answer

Solution code:
import math
x = int(input())
p = 100
c = x/p
t = (math.ceil(math.log(c,1.01)))
if(t<=70):
    print(t)
else:
    print(t+57)

Submission status: Wrong Answer

Solution code:
if __name__ == '__main__':
  X = input()
  X = int(X)
  
  factor = 1.01
  init = 100
  
  y = 0
  while(init <= X):
    init = float(init) * factor
    init = int(init)
    y += 1
    
  print(y)

Submission status: Wrong Answer

Solution code:
import math
x = int(input())
p = 100
c = x/p
t = (math.ceil(math.log(c,1.01)))
if(t<70):
    print(t)
else:
    print(t+57)

Submission status: Wrong Answer

Solution code:

# Python 3
from sys import stdin, stdout

if __name__ == "__main__":
    x = stdin.readline()
    x = int(x)

    curr = 101
    ans = 1

    while curr <= x:
        curr *= 101
        curr //= 100
        ans += 1
    
    stdout.write(str(ans) + '\n')

Submission status: Wrong Answer

Solution code:
from math import log,floor
n=int(input())
r=1
i=1
while 1:
	ans=100*((1.01)**i)
	if ans >=n:
		break
	i+=1
print(i)

Submission status: Wrong Answer

Solution code:
import math
X=float(input())
a=100
c=0
while(X>=a):
    a=a*1.01-((a*1.01)%1)
    #print(a)
    c+=1
print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

yen = int(input())

# keta = int(math.log10(yen))



for x in range(100, 10**18):
  if x >= ((yen -2)/math.log10(1.01)) -1:
        print(x)
        break

Submission status: Wrong Answer

Solution code:
import numpy as np

def main():
    x = int(input())
    money = 100
    ans = 0
    while x >= money:
        ans += 1
        money += money * 0.01
        money = np.floor(money)
    
    print(ans)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys
x = int(input())
T = True
c = 1
y = 100
while T == True:
    if int(y*(1.01**c)) >= x:
        print(c)
        sys.exit()
    else:
        c += 1

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
import math

X = int(input())

res = 100
count = 0
while X > res:
    res = math.floor(res * 1.01)
    print(str(res))
    count +=1

print(str(count))

Submission status: Wrong Answer

Solution code:
import math
x = int(input())
n = int((math.log10(x)-2)/math.log10(1.01))
total = 100*(1.01**n)
while total < x:
    n += 1
    total = 100*(1.01**n)

print(total,n)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
n = 100
i = 0

while n < X:
    n *= 1.01
    A = math.floor(n)
    i += 1
    if A >= X:
        print(i)
        break

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
print(int(((math.log10(X)-2)/math.log10(1.01))))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())
n = 100
c = 0
while n >= X:
  n = n * 1.01
  c = c + 1
print("c")

Submission status: Wrong Answer

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

print(1+math.ceil((math.log(X, 10)-2)/math.log(1.01, 10)))

Submission status: Wrong Answer

Solution code:
n = int(input())
poket = 100
count = 0

while poket <= n:
    poket += int(poket*0.01)
    count += 1

print(count)

Submission status: Wrong Answer

Solution code:
import math
x = int(input())
p = 100
c = x/p
t = (math.ceil(math.log(c,1.01)))
if(t<100):
    print(t)
else:
    print(t+57)

Submission status: Wrong Answer

Solution code:
Target = int(input())
original = 100
i=0;
while(1):
 original = int(original + original*0.01)
 if(original > Target):
   print(i)
   break;
 i=i+1;

Submission status: Wrong Answer

Solution code:
import math
X=float(input())
i=0
y= 100

while X >= y:
	i=i+1
	y=y*1.01
	y=math.floor(y)

print(i)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

while a <= x:
    a += int(a*0.01)
    count += 1

print(count)

Submission status: Wrong Answer

Solution code:
X=int(input())
B=0
X=X-100
for i in range(0,X):
    X=X-1
    B=B+1
    
print(B)

Submission status: Wrong Answer

Solution code:
import math 
x = int(input())
y = math.ceil(math.log(math.ceil(x/100), 1.01))
# if(y > 200):
    # print(y+57)
# else:
print(y)

Submission status: Wrong Answer

Solution code:
import math

x = int(input());

ans = math.log(1.01, x / 100);

print(math.ceil(ans));

Submission status: Wrong Answer

Solution code:
import math 
x = int(input())
y = math.ceil(math.log(math.ceil(x), 1.01))
# if(y > 200):
    # print(y+57)
# else:
print(y)

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
count = 0
res = 100

while res <= X:
    count +=1
    res = math.floor(1.01*res)
print(count)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

s=100
count=0

while N > s:
    s*=1.01
    count+=1
print(count)

Submission status: Wrong Answer

Solution code:
import math
x = int(input())
s=[]
a=100
while math.floor(a*1.01)<=x:
  a = math.floor(a*1.01)
  s.append(a)

print(len(s)+1)

Submission status: Wrong Answer

Solution code:
x=int(input())
count=0
a=100
for i in range(1,10^18):
	count += 1
	a=(a*101)//100
	if a==x:
		print(count)

Submission status: Wrong Answer

Solution code:
import math
x = int(input())
p = 100
c = x/p
t = (math.ceil(math.log(c,1.01)))
if(x<1000):
    print(t)
else:
    print(t+57)

Submission status: Wrong Answer

Solution code:
# coding: utf-8

import math

X = int(input())

up = math.log(X) - math.log(100)
under = math.log( 1 + 0.01 )
future = up / under
print(math.ceil(future))

Submission status: Wrong Answer

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

while money < x:
    money *= 1.01
    count +=1
print(count)

Submission status: Wrong Answer

Solution code:

X=int(input())
m=X//100
S=100
n=0
while (S<m*100):
    c=S//100
    n+=((100//c)+1)
    S+=((100//c)+1)*c
while(S<X):
    c=S//100
    n+=1
    S+=c

print(n)

Submission status: Wrong Answer

Solution code:
x = int(input())
for i in range(10**18):
  if 1.01**i>=0.01*x:
    print(i)
    break

Submission status: Wrong Answer

Solution code:
import math

x=int(input())
n = 0
m = 100

while True:
  if m + 100 <= x:
    m += (m // 100)
    n += 1
  else:
    n += math.ceil((x - m) / (m // 100))
    break

print(n)

Submission status: Wrong Answer

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

    tmp = 100
    counter = 0
    while tmp < X:
        tmp = round(tmp * 1.01)
        counter += 1

    print(counter)


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
Target = int(input())
original = 100
i=0;
while(1):
 i=i+1;
 original = int(original + original*0.01)
 if(original > Target):
   print(i)
   break;

Submission status: Wrong Answer

Solution code:
import math
x = int(input())
p = 100
c = x/p
t = (math.ceil(math.log(c,1.01)))
if(x<10000000):
    print(t)
else:
    print(t+57)

Submission status: Wrong Answer

Solution code:
result = int(input())
count = 0
kinngaku = 100
while kinngaku <= result:
    count += 1
    kinngaku +=  int(kinngaku * 0.01)
print(count)

Submission status: Wrong Answer

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

while True:
    ans = ans*1.01
    cnt += 1
    if X <=ans:
        print(cnt)
        exit()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print(i)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())

ans = 0
n = 100
for i in range(1000000):
    n=n * 1.01
    ans += 1
    if x <= n :
        print(ans)
        exit()

Submission status: Wrong Answer

Solution code:
import math
X=int(input())
total=100
count=0
while X>=total:
    total = math.floor(total*1.01)
    count +=1
print(math.ceil(count))

Submission status: Wrong Answer

Solution code:
import math
x = int(input())
p = 100
c = x/p
t = (math.ceil(math.log(c,1.01)))
if(x<100000):
    print(t)
else:
    print(t+57)

Submission status: Wrong Answer

Solution code:
import math
n=int(input())
f=float(math.log(n/100)/math.log(1.01))
f=math.ceil(f)
print(f)

Submission status: Wrong Answer

Solution code:
a = int(input())
print(a/100)

Submission status: Wrong Answer

Solution code:
import math
x = int(input())
n = 16 // (math.log10(1.01))
a = 100
cnt = 0

while a <= x:
    cnt += 1
    a = math.floor(a * 1.01)

'''
for i in range(1, math.floor(n)+1):
    a = math.floor(a * 1.01)
    cnt += 1
    if a >= x:
        break
    else:
        continue
'''

print(cnt)

Submission status: Wrong Answer

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

if x < 110:
  m = 101

m = 100
n = 0
while m <= x:
  m = m + math.floor(m*0.01)
  n+=1
  
  
print(n)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

n = int(input())
if n>1000:
  print(math.ceil(math.log(n/100)/math.log(101/100))+57)
else:
  print(math.ceil(math.log(n/100)/math.log(101/100)))

Submission status: Wrong Answer

Solution code:
import math
X=int(input())
total=100
count=0
while X>=total:
    total = math.floor(total*1.01)
    count +=1
print(count)

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
from decimal import getcontext
Y = Decimal(input())
X = Decimal('100')
i = 0
while X<Y:
    i = i + 1
    X = Decimal('1.01')*X
print(i)

Submission status: Wrong Answer

Solution code:
a = int(input())
print(a//100)

Submission status: Wrong Answer

Solution code:
x = int(input())
for i in range(10000):
  if 1.01**i>=0.01*x:
    print(i)
    break

Submission status: Wrong Answer

Solution code:
import math
x = int(input())
count=0
count_1 = 100
ans=0

while x >= count_1:
    count=(math.floor(count_1*0.01))
    count_1+=math.floor(count)
    ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
import numpy as np
import math

x = int(input())

x_ln = math.floor((np.log(x/100)) / np.log(1.01) + 1)
print(x_ln)

Submission status: Wrong Answer

Solution code:
1333333333

Submission status: Wrong Answer

Solution code:
s=int(input())
a=100
b=0
while a<=s:
  a=int(a*(1+0.01))
  b+=1
print(b)

Submission status: Wrong Answer

Solution code:
#入力
X=int(input())

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

Submission status: Wrong Answer

Solution code:
import math

n = int(input())
if n>=1000:
  print(math.ceil(math.log(n/100)/math.log(101/100))+57)
else:
  print(math.ceil(math.log(n/100)/math.log(101/100)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())
res = 100
a = 0

while res < n:
  res = res * 1.01
  a += 1
print(a)

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:
X =int(input())
for i in range(1,10**5):
    if int(100*(1.01)**i) >= X:
        print(i)
        break

Submission status: Wrong Answer

Solution code:
a=input()
a=int(a)
b=100
for i in range(1,4000):
	a=a*100
	b=b*101
	if b>=a:
		print(i)
		break

Submission status: Wrong Answer

Solution code:
import math

X = float(input())
a = X/100
n = math.log(a, 1.01)
n = math.ceil(n)
print(int(n))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())
m = 100
count = 1
while x > m:
    m = m + m/100
    count += 1
print(count)

Submission status: Wrong Answer

Solution code:
X=int(input())
X=X-100+1
print(X)

Submission status: Wrong Answer

Solution code:
import math

n = int(input())
if n>=1000:
  print(math.ceil(math.log(n/100)/math.log(101/100))+58)
else:
  print(math.ceil(math.log(n/100)/math.log(101/100)))

Submission status: Wrong Answer

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

x=x/100
a=101/100
ans=ceil(log(x,a))

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np

x = int(input())

x_ln = int((np.log(x/100)) / np.log(1.01) + 1)
print(x_ln)

Submission status: Wrong Answer

Solution code:
import math
x = int(input())
p = 100
c = x/p
t = (math.ceil(math.log(c,1.01)))
if(x<10000):
    print(t)
else:
    print(t+57)

Submission status: Wrong Answer

Solution code:

import math
X= int(input())



money = 100
cnt = 0

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

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
n = 100
i = 0

while n < X:
    n *= 1.01
    A = math.floor(n)
    i += 1
    if A > X:
        print(i)
        break

Submission status: Wrong Answer

Solution code:

X = int(input())

ans = 0
a = 100

while True:
    if a>=X:
            break
    if a<X:
        a+=(a*0.01)
        ans+=1
print(ans)

Submission status: Wrong Answer

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

r=0.01

count=0
while True:
    count +=1
    money = int(money*(1+r))
    if x<=money:
        print(money)
        print(count)
        break

Submission status: Wrong Answer

Solution code:
import math

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

while(money <= X):
    money += math.floor(money * 0.01)
    year += 1

print(year)

Submission status: Wrong Answer

Solution code:
x = int(input())
money = 100
list = []
if x>=101:
    for i in range(money+1, x+1):
        list.append(i)
    print(len(list))

Submission status: Wrong Answer

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

i = 0
money = 100
while money <= X:
    money *= 1.01
    money = math.floor(money)
    i += 1

print(i)

Submission status: Wrong Answer

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

while money < x:
    money = 1.01* money;
    year = year + 1;


print(year);

Submission status: Wrong Answer

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

while money <= x:
    money = 1.01* money;
    year = year + 1;


print(year);

Submission status: Wrong Answer

Solution code:
x=int(input())
k=1.01
cnt=1
done=0
while not done:
	if x>int(100*k**cnt):
		cnt+=1
	else:
		done=1
print(cnt)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math as M
a = int(input())
print(M.ceil(M.log(a / 100,  1.01)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x=int(input())
k=1.01
cnt=1
done=0
while not done:
	if x>int(100*k**cnt):
		cnt+=1
	else:
		done=1
print(cnt,x,int(100*k**cnt))

Submission status: Wrong Answer

Solution code:
def compound_interest(principle, rate, time): 
    CI = principle * (pow((1 + rate / 100), time)) 
    return CI

x=int(input())
for i in range (1,100000):
  ci=int(compound_interest(100, 1, i))
  if(ci>=x):
    print(i)
    break

Submission status: Wrong Answer

Solution code:
X = int(input())

ans = 0
a = 100

while True:
    if a>=X:
            break
    for i in range(5000):
        if a<X:
            a+=(a*0.01)
            ans+=1
print(ans)

Submission status: Wrong Answer

Solution code:
X = int(input())

y = 0
m = 100
while m <= X:
  m = int(m * 1.01)
  y = y + 1
print(y)

Submission status: Wrong Answer

Solution code:
import math

x = int(input())
r = 0.01
i = 0
s = 100

while True:
    i += 1
    s = int(s * (1 + r))
    if s > x:
        print(i)
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
if __name__ == '__main__':
  X = input()
  X = int(X)
  
  factor = 1.01
  init = 100
  
  y = 0
  while(init <= X):
    init *= factor
    init = int(init)
    y += 1
    
  print(y)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
import math
input = lambda:sys.stdin.readline().strip()
x = int(input())
print(math.ceil(math.log(x/100,1.01)))

Submission status: Wrong Answer

Solution code:
X=int(input())
X=X-100
print(X)

Submission status: Wrong Answer

Solution code:
import math as M
a = int(input())
print(M.ceil(M.log(a / 100,  1.1)))

Submission status: Wrong Answer

Solution code:
import math
n=int(input())
yen=float(100)
count=0

while yen<n :
  yen=yen*1.01
  count+=1
  yen=math.floor(yen)
  print(yen)
print(count)

Submission status: Wrong Answer

Solution code:
x = int(input())
def ans():
    deposit = 100
    year = 0
    while True:
        deposit  = int(deposit*1.01)
        year +=1
        if deposit < x:
             continue
        else:
            return year

ans()

Submission status: Wrong Answer

Solution code:
import math
def power(x,y):
	res=1.0
	while y>0:
		if y%2==1:
			res=(res*x)
		y=y//2
		x=(x*x)
	return res
x=int(input())
start=0
end=1e18
ans=1e18
while start<=end:
	mid=(start)+(end-start)//2
	xx=100*power(1.01,mid)
	if xx>=x:
		end=mid-1
		ans=min(ans,mid)
	else:
		start=mid+1
print(int(ans))

Submission status: Wrong Answer

Solution code:
x = int(input())
count = 0
for i in range(101, x+1):
    count += 1
print(count)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
money = 100
X = int(input())
for m in range(10**18):
    money += 1
    if money == X:
        print(money -100)
        break

Submission status: Wrong Answer

Solution code:
X = int(input())



syozikin = 100
ans = 0

while syozikin <= X:
    syozikin = syozikin*1.01
    syozikin =syozikin  // 1
    ans = ans + 1
print(ans)

Submission status: Wrong Answer

Solution code:
import math

num_x = int(input())
taka = 100
count = 0

while num_x >= taka :
    taka = taka*0.01 + taka
    taka = math.floor(taka)
    count = count + 1
    
print(count)

Submission status: Wrong Answer

Solution code:
import math
X=int(input())
n=0
n=(math.log10(X)-2)/math.log10(1.01)
n=math.ceil(n)
print(n)

Submission status: Wrong Answer

Solution code:
import math
Target = int(input())
original = 100;
print(int(math.log(Target/100, 1.01))+1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())

value = 100
r = 1.01
n = 0

while(value < x):
    value = r*value
    n += 1
print(n)

Submission status: Wrong Answer

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

i = 100
count=0
while(i <= k):
    i *= 1.01
    i = math.floor(i)
    count += 1
print(count)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())
current = 100
result = X - int(current)
print(result)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

while money < x:
    money = 1 + money;
    year = year + 1;


print(year);

Submission status: Wrong Answer

Solution code:
import math

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

while(deposit <= X):
  deposit *= 1.01
  deposit = math.floor(deposit)
  year += 1

print(year)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
money = 100
counts=0
while True:
    counts+=1
    money=money+math.floor((money*0.01))
    if X<money:
        print(counts)
        break

Submission status: Wrong Answer

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

i = 0
a = 100

while  x >= a:
    a = int(a*(1.01))
    i += 1
    
print(i)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
try:
	x=int(input())
	o=100
	count=0
	while int(o)!=x:
		o=o+(o*(1/100))
		print(o)
		count+=1
	print(count)
except:
	pass

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())
Deposit = 100
Year = 0
for i in range(Deposit, X):
    Year += 1
print(Year)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
n=int(input())
yen=float(100)
count=0

while yen<n :
  math.floor(yen)
  yen=yen*1.01
  math.floor(yen)
  count+=1
print(count)

Submission status: Wrong Answer

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

while ans <= X:
    count += 1
    ans = ans * 1.01

print(count)

Submission status: Wrong Answer

Solution code:
import math

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

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

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

b = 100
ans = 0
while a >= b:
    b = math.floor(b*1.01)
    ans += 1

print(ans)

Submission status: Wrong Answer

Solution code:
import math

a = 100
n = 0
X = int(input())

while a <= X:
    n += 1
    a = math.floor(a * 1.01)

print(n)

Submission status: Wrong Answer

Solution code:
x = int(input())
m = 100
count = 0
while(m<x):
    m += round(m*0.01)
    count += 1
print(count)

Submission status: Wrong Answer

Solution code:

import math
X= int(input())


n = math.log10(X/100)/math.log10(1.01)

print(int(n+1))

Submission status: Wrong Answer

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

while money < x:
    money = 1.01 * money;
    year = year + 1;


print(year);

Submission status: Wrong Answer

Solution code:
import math
X=int(input())
y=1
for i in range(1,X):
    if math.floor(100*((1.01)**i)) >= X:
        print(y)
        break
    else:
        y +=1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

X = int(input())

A = 100
cnt = 0
while True:
  if A > X:
    print(cnt)
    sys.exit()
  A *= 1.01
  A = int(A)
  cnt += 1

Submission status: Wrong Answer

Solution code:
account = start = 100
X = int(input())
i = 0

while account <= X:
    account = int(account * 1.01)
    i += 1

print(i)

Submission status: Wrong Answer

Solution code:
import math

#数値ひとつ
I = int(input())
#数値空白区切りで欲しいとき
#N, M = map(int, input().split())
#文字欲しいとき
#N = input()
#それをListにしたいとき
#list = list(N)
#数値を受け取る数が未定かつリストにしたいとき
#list = list(map(int, input().split()))
#受け取る文字列が未定かつリストにしたいとき(Iは回数)
#list = [input() for i in range(I)]

X = 100
cnt = 0
while(X <= I):
    X = math.floor(X * 1.01)
    cnt += 1

if I >= 100:
    cnt = 0

print(cnt)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
from typing import NoReturn


def main() -> NoReturn:
    x: int = int(input())

    guess: int = int(math.log(x // 100, 1.01))
    money: int = 100

    # the limit should be at most guess + 60
    for i in range(0, guess + 60):
        if money >= x:
            print(i)
            break

        money = int(money * 1.01)


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
X = list(map(int,input().split()))[0]
yen = 100

for i in range(1,10**100):
  yen = int(yen*1.01)
  if yen > X:
    break

print(i)