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

def main():
	X = int(input())
	money = 100
	n = 0
	while(money<=X):
		n += 1
		money = math.floor(money * 1.01)

	print(n)
	
if __name__ == "__main__":
	main()
	pass

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())

i = 1
ans = 100

while(True):
    ans = ans * 1.01
    
    if(ans >= X):
        print(i)
        break

    if(ans < X):
        i+=1
        continue

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())
ans=0
money=100
while money<x:
  money=money*(1.01)
  ans+=1
print(ans)

Submission status: Wrong Answer

Solution code:
import math

X=int(input())
yen=100
for i in range(3760):
  yen=math.floor(yen*1.01)
  #print(yen)
  if yen>X:
    break
print(i+1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
k =int(input())

n = 0

while 100*(1.01)**n < k:
  n += 1
 
print(n)

Submission status: Wrong Answer

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

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

print(count)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
k=int(input())
#r = math.floor(t/100)
t = 100
n = 0
while t<= k:
  t+=math.floor(t/100)
  n+=1
print(n)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())
s = 100
num = 0
while s < x :
    s += s*(1/100)
    num += 1
else:
    print(num)

Submission status: Wrong Answer

Solution code:
import math

x = int(input())
saving = 100
count = 0
while x >= saving:
  saving = math.floor(saving + saving * 0.01)
  count += 1
print(count)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())

M = 100
for i in range(10):
    M = int(M*1.01)
    print(str(i) + ":" + str(M))

Submission status: Wrong Answer

Solution code:
import math
x=int(input())
ans=100
for n in range(1,10**5+1):
    ans *= (1.01)
    ans = math.floor(ans)
    if ans>=x:
        print(n,ans)
        exit()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

F = 100
K = int(input())
count = 0

while F <= K:
    F *= 1.01
    F = math.floor(F)
    count += 1
print(count)

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())
n=1
while 100*(1.01**n)<x:
  n+=1
print(n)

Submission status: Wrong Answer

Solution code:
import math
x = int(input())
d = 100
a = 0
while x >= d:
    d += math.floor(d*0.01)
    a += 1
print(a)

Submission status: Wrong Answer

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

def genYokin():
    global yokin
    return int(yokin*1.01)

year_cnt = 0
while True:
    if X < yokin:
        break
    yokin = genYokin()
    year_cnt += 1

print(year_cnt)

Submission status: Wrong Answer

Solution code:
import sys
import math
X = int(input())
i = 1
k = int(100*1.01)
while 1:
  if X < k:
    break
  k = int(k * 1.01)
  i += 1
  
print(i)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
x = int(input())

money = 100
ans = 0


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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

print(i)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

X = int(input())

A = 100
cnt = 0
while True:
  A *= 1.01
  A = int(A)
  cnt += 1
  if A > X:
    print(cnt)
    sys.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:
import math
X = int(input())
currency = 100
count = 0
while currency <= X:
    currency = math.floor(currency*1.01)
    count +=1
print(count)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np
import math
X=int(input())
tmp=100

#x=((math.log(X)/math.log(1.01)))//1+1
for i in range(5000):
  tmp=int(tmp*1.01)
  if(tmp>X):
    print(i+1)
    break

Submission status: Wrong Answer

Solution code:
x = int(input())

money = 100
year = 0
while money <= x:
    year += 1
    money += money*0.01
    money = int(money)

print(year)

Submission status: Wrong Answer

Solution code:
import sys

def get_ints(): return map(int, sys.stdin.readline().strip().split())
def get_array(): return list(map(int, sys.stdin.readline().strip().split()))
def input(): return sys.stdin.readline().strip()

x = int(input())

p = 100
year = 0
while p<=x:
  p = p*(1.01)
  p //= 1
  year += 1
print(year)

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

print(cnt)

Submission status: Wrong Answer

Solution code:
import math

X = int(input())

base = 100
rate = 1.01
year = 1

while True:
    base = math.floor(base * rate)
    if base > X:
        print(year)
        break
    year += 1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
money = 100
have_money = int(input())
count = 0
for i in range(money,have_money):
    count += 1
    
print(count)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print(count)

Submission status: Wrong Answer

Solution code:
import math

x = int(input())
saving = 100
count = 0
while x >= saving:
  saving += math.floor(saving * 0.01)
  count += 1
print(count)

Submission status: Wrong Answer

Solution code:
X = int(input())
c = 100
y = 0

while c <= X :
    c = int(c * 1.01)
    y += 1

print(y)

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
X = int(input())

save = 100
ans = 0

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

print(ans)

Submission status: Wrong Answer

Solution code:
import math

n = int(input())

cash = 100
count = 0

while n >= cash:
    cash = cash + math.floor(cash * 0.01)
    count += 1

print(count)

Submission status: Wrong Answer

Solution code:
x = int(input())

a = 100
i = 0
while True:
	i += 1
	a = int(a * 1.01)
	print(a)
	if(x <= a):
		print(i)
		break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

k= int(input())

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

Submission status: Wrong Answer

Solution code:
x = int(input())

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

print(y)

Submission status: Wrong Answer

Solution code:
X = float(input().rstrip())
val = 100
count = 0
while True:
    val *= 1.01
    count += 1
    if val >= X:
        break
print(count)

Submission status: Wrong Answer

Solution code:
def main():
  x = int(input())
  val = 100
  year=1
  while True:
    val = val * 1.01
    print(x,val)
    if x <= val:
      break
    year += 1

  print(year)

if __name__ == '__main__':
  main()

Submission status: Wrong Answer

Solution code:
target = int(input())

year = 0
money = 100
while money < target:
  year += 1
  money *= 1.01
  money = round(money)
print(year)

Submission status: Wrong Answer

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

while t <= X:
  t = t*1.01//1
  cnt += 1
  
print(cnt)

Submission status: Wrong Answer

Solution code:
x = int(input())

m = 100
n = 0
while m <= x:
  n+=1
  m = int(m*1.01)
  
print(n)

Submission status: Wrong Answer

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

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())

year = 0
sum = 100
while sum <= x:
    year = year + 1
    sum = (int)(sum * 101 / 100)

print("{}".format(year))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
a = math.log(X/100, 1.01)
print(math.ceil(a)+1)

Submission status: Wrong Answer

Solution code:
F = 100
K = int(input())
count = 0

while F <= K:
    F *= 1.01
    F = int(F)
    count += 1
print(count)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())
n = n

c = 0
m = 100
while True:
    m = m * 1.01
    m = int(m)
    c += 1
    if m > n:
        break
print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())
now_money = 100
for i in range(1,3762):
  now_money += now_money*0.01
  if now_money >= X:
    print(i)
    exit()

Submission status: Wrong Answer

Solution code:
X=int(input())

ans=0
yokin=100
for i in range(1,X+1):
  yokin=int(yokin*1.01)
  if yokin <= X:
    ans+=1
  else:
    break
print(ans)

Submission status: Wrong Answer

Solution code:
x = int(input())

a = 100
ans = 0

while a <= x:
  a = a * 1.01
  ans += 1

print(ans)

Submission status: Wrong Answer

Solution code:
from math import floor

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(b)

Submission status: Wrong Answer

Solution code:
X = int(input())
ans = 100
cnt = 0
risok = 0
while ans <= X:
    cnt += 1
    risok = int(ans * 0.01)
    ans = ans + risok
print(cnt-1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())

base = 100
rate = 1.01
year = 1

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

Submission status: Wrong Answer

Solution code:
import math

X = int(input())
X/=100

n = math.log(X, 1.01)
print(int(n))

Submission status: Wrong Answer

Solution code:
target = int(input())

year = 0
money = 100
while money >= target:
  year += 1
  money *= 1.01
print(year)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
a = math.log(X/100, 1.01)
print(int(a)+1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())
now_money = 100
for i in range(3761):
  now_money += now_money*0.01
  if now_money >= X:
    print(i)
    exit()

Submission status: Wrong Answer

Solution code:
import sys
import math as mt
import collections as cc
I=lambda:list(map(int,input().split()))
n,=I()
x=100
i=0
while x<=n:
    i+=1
    temp=x*0.01
    x+=mt.floor(temp)
    
    
print(i)

Submission status: Wrong Answer

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

print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())

money = 100
year = 0
while money <= x:
    year += 1
    money += money*0.01

print(year)

Submission status: Wrong Answer

Solution code:
import math

paramX = int(input())

print(math.ceil(math.log(paramX / 100, 1.01)))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

x_target = int(input())

x = 100
n = 0

while x <= x_target:
  x = math.floor(x * 1.01)
  n += 1

print(n)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

x = int(input())

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

  if money > x:
    break

print(i)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def b():
    import math
    x = int(input())
    print(math.ceil(math.log(x/100, 1.01)))


##########
if __name__ == "__main__":
    b()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
# スペース区切りの整数の入力
#N, K = map(int, input().split())
# 文字列の入力
X = float(input())
#開業されたN個要素を受け付ける
#list = [input() for i in range(N)]
yokin = float(100)
i=0
while(yokin < X):
    yokin = yokin*1.01
    i=i+1
print(i)

Submission status: Wrong Answer

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

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

print(year)

Submission status: Wrong Answer

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

amt=100

t=0
while(amt<x):
  amt+= amt//100
  t+=1
  
print(t)

Submission status: Wrong Answer

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

print(cnt)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())
f=0
c=0
y=100
if y<X:
  while f==0:
    c+=1
    yy=float(y)*1.01
    y=int(yy)
    if y>X:
      f=1
  print(c)
else:
  print(0)

Submission status: Wrong Answer

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

print(y)

Submission status: Wrong Answer

Solution code:
import sys

sys.setrecursionlimit(200000000)

def kane(l,n,m):
    l *= 1.01
    l = l // 1
    n += 1
    print(l)
    if l >= m:
        print(n)
        exit()
    kane(l,n,m)

X = int(input())
kane(100,0,X)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x=int(input())
a=100
cnt=0
while x>=a:
  a=int(a*1.01)
#  print(a)
  cnt+=1
  
print(cnt)

Submission status: Wrong Answer

Solution code:
x_target = int(input())

x = 100
n = 0

while x <= x_target:
  x = int(x * 1.01)
  n += 1

print(n)

Submission status: Wrong Answer

Solution code:
#2020-05-02
import math
a = int(input())
may = 100
ans = 0
while may <= a:
    may = math.floor(may * 1.01)
    ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
import math

S = int(input())

N = math.ceil(math.log(S/100, 1.01))
print(N)

Submission status: Wrong Answer

Solution code:
X = int(input())

count = 0
num = 100
while num < X:
    num = round(num * 1.01)
    count += 1
print(count)

Submission status: Wrong Answer

Solution code:
X = int(input())
start = 100
year = 0
if start < X:
  start = int(start * 1.01)
  year += 1
else:
  print(year)

Submission status: Wrong Answer

Solution code:
X = int(input())

_sum = 100
year = 0

while _sum <= X:
    _sum = int(_sum * 1.01)
    year += 1

print(int(year))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X=int(input())

ans=0
yokin=100
for i in range(1,X+1):
  yokin=int(yokin*i/100)
  if yokin <= X:
    ans+=1
  else:
    break
print(ans)

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

print(c)

Submission status: Wrong Answer

Solution code:
import math

X=int(input())
M=100
count=0
while M <= X:
    M=math.floor(M*1.01)
    count+=1
print(count)

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

Solution code:
x = int(input())

a = 100
i = 0
while True:
	i += 1
	a = int(a * 1.01)
	if(x < a):
		print(i)
		break

Submission status: Wrong Answer

Solution code:
import sys
import math as mt
import collections as cc
I=lambda:list(map(int,input().split()))
n,=I()
x=100
i=0
while x<=n:
    i+=1
    x=x+int((x*(1/100)))
print(i)

Submission status: Wrong Answer

Solution code:
import math

X = int(input())
x = math.log(X/100, 1.01)
count = 0
temp = 100
while True:
    temp = temp * 1.01 // 1
    count += 1
    if (temp > X):
        break

print(count)

Submission status: Wrong Answer

Solution code:
# coding: utf-8
def main():
    x = int(input())
    money = 100
    year = 0
    while money <= x:
        year += 1
        money *= 1.01
        money = money//1
    print(year)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
x=int(input())
n=100
ans=0
while True:
  if 10000*(pow(1.01,ans)-1)>=x:
    print(ans)
    exit()
  ans+=1

Submission status: Wrong Answer

Solution code:
n = int(input())
n = n

c = 0
m = 100
while True:
    m = m * 1.01
    c += 1
    if m > n:
        break
print(c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())
f=0
c=0
y=100
while f==0:
  c+=1
  yy=float(y)*1.01
  y=int(yy)
  if y>X:
  	f=1
print(c)

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:
#!/usr/bin/env python3
from collections import defaultdict,deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys, random, itertools, math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
sqrt = math.sqrt
def LI(): return list(map(int, input().split()))
def LF(): return list(map(float, input().split()))
def LI_(): return list(map(lambda x: int(x)-1, input().split()))
def II(): return int(input())
def IF(): return float(input())
def S(): return input().rstrip()
def LS(): return S().split()
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float("INF")

#solve
def solve():
    x = II()
    k = 100
    i = 0
    while k < x:
        k *= 1.01
        i += 1
    print(i)
    return


#main
if __name__ == '__main__':
    solve()

Submission status: Wrong Answer

Solution code:
import math

def readInt():
	return int(input())
 
def readInts():
	return list(map(int, input().split()))
 
def readChars():
	return input().split()

x = readInt()
m = 100
n = 0

while 1:
	if m>x:
		break
	n+=1
	m=math.floor(m*1.01)

print(int(n))

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(ans)

Submission status: Wrong Answer

Solution code:
import math

X = int(input())

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

Submission status: Wrong Answer

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

print(y)

Submission status: Wrong Answer

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

year = 0
y = 100
t = True
while t:
    year += 1
    y = math.floor(y*1.01)
    if y > x:
        print(year)
        t = False

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

while a < x:
    a = a*(1.01)
    counter += 1

print(counter)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
import math as mt
import collections as cc
I=lambda:list(map(int,input().split()))
n,=I()
x=100
i=0
while x<=n:
    i+=1
    x=mt.floor(x+(x*(1/100)))
print(i)

Submission status: Wrong Answer

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

while all:
    Yokin *= 1.01
    i+=1
    if(Yokin >=X):
        break
print(i)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

def readInt():
	return int(input())
 
def readInts():
	return list(map(int, input().split()))
 
def readChars():
	return input().split()

x = readInt()
m = 100
n = 0

while 1:
	if m>x:
		break
	n+=1
	m=math.floor(m*1.01)

print(str(int(n)))

Submission status: Wrong Answer

Solution code:
X = int(input())

s= 100

for i in range(10000000):
  s *= 1.01
  if int(s) >= X:
    print(i+1)
    break

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

Solution code:
import math

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

while(X >= money):
    money = math.floor(money + money * 0.01)
    count+=1
print(count)

Submission status: Wrong Answer

Solution code:
X = int(input())
cnt = 0
yokin = 100
while (X >= yokin):
    yokin = int(yokin * 1.01)
    cnt += 1

print(cnt)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x=int(input())
m=100
cnt=0
while x>=m:
    cnt+=1
    m=(m*1.01)//1
print(str(cnt))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

Solution code:
import math

X = int(input().strip())
v = 100

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math

X=int(input())
# a=int(input())
#A,B=map(int,input().split(" "))
#a=[int(_) for _ in input().split(" ")]

i=0
t=100

while t <= X:
  t = math.floor(t * 1.01)
  i += 1

#print(a,b)
print(i)

Submission status: Wrong Answer

Solution code:
import math

X = int(input())

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

print(i)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x=int(input())
year=0
for i in range(0,x+1):
  year+=(x*1/100)
print(year)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

X = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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