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 sys
read = sys.stdin.read
readlines = sys.stdin.readlines
from math import floor
from decimal import Decimal
def main():
    x = Decimal(input())

    r = 0
    m = Decimal(100)
    while m < x:
        r += 1
        m = Decimal((m * Decimal(1.01)) // 1)
    print(r)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys
read = sys.stdin.read
readlines = sys.stdin.readlines
from math import floor
from decimal import Decimal
def main():
    x = Decimal(input())

    r = 0
    m = Decimal(100)
    while m < x:
        r += 1
        m = Decimal(m * Decimal(1.01))
    print(r)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys
read = sys.stdin.read
readlines = sys.stdin.readlines
from math import floor
def main():
    x = int(input())

    r = 0
    m = 100.0
    while m < x:
        r += 1
        m = floor(m * 1.01)
    print(r)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
money_x = int(input())
deposit = 100
count = 0

while deposit < money_x:
    deposit = int(deposit + deposit / 100)
    count += 1

print(count)

Submission status: Wrong Answer

Solution code:
money_x = int(input())
deposit = 100
count = 0

while deposit < money_x:
    deposit = int(deposit + deposit * 0.01)
    count += 1

print(count)

Submission status: Wrong Answer

Solution code:
money_x = int(input())
deposit = 100
count = 0

while deposit < money_x:
    deposit += int(deposit / 100)
    count += 1

print(count)

Submission status: Wrong Answer

Solution code:
money_x = int(input())
deposit = 100
count = 0

while deposit < money_x:
    deposit += int(deposit * 0.01)
    count += 1

print(count)

Submission status: Wrong Answer

Solution code:
money_x = int(input())
deposit = 100
count = 0

while deposit < money_x:
    rate = int(deposit / 100)
    deposit += rate
    count += 1

print(count)

Submission status: Wrong Answer

Solution code:
import math

money_x = int(input())
deposit = 100
count = 0

while deposit < money_x:
    rate = int(deposit * 0.01)
    deposit += rate
    count += 1

print(count)

Submission status: Wrong Answer

Solution code:
import math

money_x = int(input())
deposit = 100
count = 0

while deposit < money_x:
    rate = math.floor(deposit * 0.01)
    deposit += rate
    count += 1

print(count)

Submission status: Wrong Answer

Solution code:
import math

money_x = int(input())
deposit = 100
count = 0

while deposit <= money_x:
    rate = math.floor(deposit * 0.01)
    deposit += rate
    count += 1

print(count)

Submission status: Wrong Answer

Solution code:
money_x = int(input())
deposit = 100
count = 0

while deposit <= money_x:
    rate = int(deposit * 0.01)
    deposit += rate
    count += 1

print(count)

Submission status: Wrong Answer

Solution code:
x = int(input())

taka = 100
count = 0

while taka < x:
    taka = (taka * 1.01) // 1
    count += 1

print(count)

Submission status: Wrong Answer

Solution code:
import math

X = int(input().split()[0])
x = 100
count = 0
while x < X:
    x = math.floor(x * 1.01)
    count += 1

ans = count
print(ans)

Submission status: Wrong Answer

Solution code:
import math

X = int(input().split()[0])
x = 100
count = 0
while x < X:
    x = int(x * 1.01)
    count += 1

ans = count
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

Solution code:
import math
x=int(input())
p=100
cnt=0
while x>p:
    p+=math.floor(p/100)
    cnt+=1
print(cnt)

Submission status: Wrong Answer

Solution code:
def resolve():
    x = int(input())
    t = 0
    pos = 100
    while True:
        pos += int(pos / 100)
        # print(t, pos)
        t += 1
        if pos >= x:
            break
    print(t)

resolve()

Submission status: Wrong Answer

Solution code:
def resolve():
    x = int(input())
    t = 0
    pos = 100
    while True:
        pos += int(pos * 0.01)
        # print(t, pos)
        t += 1
        if pos >= x:
            break
    print(t)

resolve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())

price = 100
year = 0

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

print(year)

Submission status: Wrong Answer

Solution code:
X = int(input())

price = 100
year = 1
while 1:
    price = int(price * 1.01)
    if price >= X:
        break

    year += 1

print(year)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())
ans = 0
r = 1.01
s = 100
MAX = 10**8
i = 0
while i < MAX:
    s = int(s * r+0.0003)
    i = i + 1
    if(X <= s) :
        ans = i
        break
print(ans)

Submission status: Wrong Answer

Solution code:
X = int(input())
ans = 0
r = 0.01
s = 100
MAX = 10**8
i = 0
while i < MAX:
    s = int(s * (1 + r))
    i = i + 1
    if(X <= s) :
        ans = i
        break
print(ans)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

while depo < X:
  year += 1
  depo = int(depo * 1.01)
  if depo >= X:
    print(year)

Submission status: Wrong Answer

Solution code:
X = int(input())

count = 0
save = 100

while save < X:
  save += save / 100
  save = int(save)
  count += 1
  
print(count)

Submission status: Wrong Answer

Solution code:
x = int(input())

year = 0 
money = 100 

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

print(year)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(count)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
from math import floor

X = int(input())
S = 100
year = 0
while True:
    if S >= X:
        print(year)
        quit()
    S = floor(S * 1.01)
    year += 1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#a = list(map(int,input().split()))
#b = list(map(int,input().split()))

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

Submission status: Wrong Answer

Solution code:
#a = list(map(int,input().split()))
#b = list(map(int,input().split()))

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

Submission status: Wrong Answer

Solution code:
#a = list(map(int,input().split()))
#b = list(map(int,input().split()))

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())

Y = 100
years = 0
while Y < X:
    Y = int(Y * 1.01)
    years += 1

print(years)

Submission status: Wrong Answer

Solution code:
X = int(input())

Y = 100
years = 0
while Y <= X:
    Y = int(Y * 1.01)
    years += 1

print(years)

Submission status: Wrong Answer

Solution code:
from math import floor

x = int(input())

b = 100
for i in range(1,10**18):
  b += floor(b*0.01)
  if b >= x:
    print(i)
    break

Submission status: Wrong Answer

Solution code:
x = int(input())

b = 100
for i in range(1,10**18):
  b += int(b*0.01)
  if b >= x:
    print(i)
    break

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())

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

print(year)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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:
from decimal import Decimal
def main():
    x = int(input())
    ans = 0
    a = 100
    while(a<x):
        a = int(Decimal(a)*Decimal(1.01))
        ans += 1
    print(ans)

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:

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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())
a = 100
time = 0
while True:
    if a >=n:
        print(time)
        break
    else:
        a += int(a * 0.01)
        time += 1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
x = int(input())

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
x = int(input())

r = 100
n=1
while True:
  r = r+int(r*0.01)
  if r >= x:
    break
  n=n+1
print(n)

Submission status: Wrong Answer

Solution code:
import math

x = int(input())
y = 100
year = 0

for i in range(10**18):
    y = y + math.floor(y * 0.01)
    year += 1
    if y >= x:
        break

print(year)

Submission status: Wrong Answer

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

print(year)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

x = int(input())

money = 100

ans = 0

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

print(ans)

Submission status: Wrong Answer

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

price = 100
count = 0

while price < x :
  price = floor(price*1.01)
  count += 1

print(count)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# ABC165
import math
X = int(input())
bank = 100
cnt = 0
while bank < X:
    bank = bank + math.floor(bank/100)
    cnt += 1
print(cnt)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())

c = 100
ans = 0

while c<x:
    c = int(c + (0.01*c))
    ans += 1
    
print(ans)

Submission status: Wrong Answer

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

while(deposit < x):
	year += 1
	deposit += int(deposit/100)

print(year)

Submission status: Wrong Answer

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

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

print(year)

Submission status: Wrong Answer

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

while(True):
	year += 1
	deposit = int(deposit * 1.01)
	if deposit >= x:
		break

print(year)

Submission status: Wrong Answer

Solution code:
def main():
    # 100*1.01^4000 = 1.9297237e+19
    X = int(input())
    v = 100
    for i in range(10000):
        v = v*101
        v = int((v - v % 100) / 100)

        if v >= X:
            print(i+1)
            return


main()

Submission status: Wrong Answer

Solution code:
def main():
    # 100*1.01^4000 = 1.9297237e+19
    X = int(input())
    v = 100
    for i in range(6000):
        v = v*101
        v = int((v - v % 100) / 100)

        if v >= X:
            print(i+1)
            return


main()

Submission status: Wrong Answer

Solution code:
def main():
    # 100*1.01^4000 = 1.9297237e+19
    X = int(input())
    v = 100
    for i in range(4000):
        v = v*101
        v = int((v - v % 100) / 100)

        if v >= X:
            print(i+1)
            return


main()

Submission status: Wrong Answer

Solution code:
def main():
    # 100*1.01^4000 = 1.9297237e+19
    X = int(input())
    val = 100
    for i in range(4000):
        val = int((val*101)/100)
        if val >= X:
            print(i+1)
            return


main()

Submission status: Wrong Answer

Solution code:
def main():
    # 100*1.01^4000 = 1.9297237e+19
    X = int(input())
    val = 100
    for i in range(4000):
        val = int(val*1.01)
        if val >= X:
            print(i+1)
            return


main()

Submission status: Wrong Answer

Solution code:
import math
mokuhyo = int(input())
money = 100
count = 0
eps = 1e-10

while True:
  money = money + math.floor(money*0.01)
  count += 1
  if money - mokuhyo >= eps:
    break

print(count)

Submission status: Wrong Answer

Solution code:
import math
mokuhyo = int(input())
money = 100
count = 0

while True:
  money = money + math.floor(money*0.01)
  count += 1
  if money >= mokuhyo:
    break

print(count)

Submission status: Wrong Answer

Solution code:
X=int(input())

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

x = int(input())
c = 100

for i in range(1, 3761):
    c += math.floor(c * 0.01)
    if c >= x:
        print(i)
        break

Submission status: Wrong Answer

Solution code:
import math

x = int(input())
c = 100

for i in range(1, 3761):
    c += math.floor(c * 0.01)
    if c >= x: break

print(i)

Submission status: Wrong Answer

Solution code:
import math

x = int(input())

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

print(cnt)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
money = 100
time = 0

while money < X:
  time += 1
  money = math.floor(money + money/100)
  
print(time)

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
money = 100
time = 0

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

Submission status: Wrong Answer

Solution code:
n = int(input())

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

Submission status: Wrong Answer

Solution code:
X = int(input())

cur = 100

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

Submission status: Wrong Answer

Solution code:
X = int(input())

cur = 100

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import sys
import decimal
def input():
    return sys.stdin.readline()[:-1]

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

    y = 100
    ans = 0
    while y < X:
        ans += 1
        y = int(decimal.Decimal(y * 1.01))
    print(ans)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

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

print(i)

Submission status: Wrong Answer

Solution code:
X = int(input())

n = 0
M = 100
while True:
    n += 1
    M += int(M /100)
    if M >= X:
        print(n)
        break

Submission status: Wrong Answer

Solution code:
X = int(input())

n = 0
M = 100
while True:
    n += 1
    M += int(M * 0.01)
    if M >= X:
        print(n)
        break

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

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

print(nen+1)

Submission status: Wrong Answer

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

print(nen+1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
x = int(input())

deposit = 100
year = 0

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

print(year)

Submission status: Wrong Answer

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

deposit = 100
year = 0
while deposit<X:
  deposit = deposit+int(deposit/100)
  #print(deposit)
  year+=1
  
print (year)

Submission status: Wrong Answer

Solution code:
import math

x = float(input())

counter = 0
credit = 100

while True:
    if credit >= x:
        break
    else:
        credit = math.floor(credit * 1.01)
        counter += 1

print(counter)

Submission status: Wrong Answer

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

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 math
X =int(input())

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

Submission status: Wrong Answer

Solution code:
X =int(input())

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

Submission status: Wrong Answer

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

print(i)

Submission status: Wrong Answer

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

print(i)

Submission status: Wrong Answer

Solution code:
X = int(input())

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

print(i)

Submission status: Wrong Answer

Solution code:
X = int(input())

a = 100
i = 0
while a <= X:
  a *= 1.01
  i += 1

print(i)

Submission status: Wrong Answer

Solution code:
X = int(input())

i = 0
a = 100
while a <= X:
  a *= 1.01
  i += 1

print(i)

Submission status: Wrong Answer

Solution code:
x=int(input())
c=100
for i in range(1,10**8):
  c=int(c*1.01)
  if c >= x:
    print(i)
    exit()
print("ERROR!")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


if '__main__' == __name__:
    resolve()

Submission status: Wrong Answer

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


if '__main__' == __name__:
    resolve()

Submission status: Wrong Answer

Solution code:
X = int(input())
ans = 0
p = 100
for i in range(1, 10000):
    p += p / 100
    p = int(p)
    if p>=X:
        ans = i
        break
print(ans)

Submission status: Wrong Answer

Solution code:
X = int(input())
ans = 0
p = 100
for i in range(1, 100000):
    p += p / 100
    p = int(p)
    if p>=X:
        ans = i
        break
print(ans)

Submission status: Wrong Answer

Solution code:
X = int(input())
ans = 0
p = 100
for i in range(1, 4000):
    p += p / 100
    p = int(p)
    if p>=X:
        ans = i
        break
print(ans)

Submission status: Wrong Answer

Solution code:
X = int(input())
ans = 0
p = 100
for i in range(1, 4000):
    p *= 1.01
    p = int(p)
    if p>=X:
        ans = i
        break
print(ans)

Submission status: Wrong Answer

Solution code:
import math

x = int(input())
balance = 100
count = 0
while balance < x:
    balance += balance / 100
    balance = math.floor(balance)
    count += 1
print(count)

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#B
import math
X=int(input())
money=float(100)
year=0

while money < X:
    interest=format(money*0.01, '.20f')
    money+=math.floor(float(interest))
    year+=1
print(year)

Submission status: Wrong Answer

Solution code:
#B
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())
 
i=0
c=100
d=100
 
while x >= d:
  c=(c*1.01)//1
  d=d+(c-100)
  i=i+1
 
 
 
print(i)

Submission status: Wrong Answer

Solution code:
x=int (input())
 
i=0
c=100
d=100
 
while x >= d:
  c=(c*1.01)//1
  d=d+c
  i=i+1
 
 
 
print(i)

Submission status: Wrong Answer

Solution code:
x=int (input())
 
i=0
c=100
d=100
 
while x >= d:
  c=c+((c*0.01)//1)
  d=d+c
  i=i+1
 
 
 
print(i)

Submission status: Wrong Answer

Solution code:
def main():
    x = int(input())
    now = 100
    ans = 0

    while True:
        now = int(now * 1.01)
        ans += 1
        if now >= x:
            break

    print(ans)


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())

c = 100
y = 0

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

Submission status: Wrong Answer

Solution code:
x=int (input())

i=0
c=100
d=100

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



print(i)

Submission status: Wrong Answer

Solution code:
x=int (input())

i=1
c=100
d=100

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



print(i)

Submission status: Wrong Answer

Solution code:
x=int (input())

i=1
c=100
d=100

while x >= d:
  c=c+int(c*0.1)
  d=d+c
  i=i+1



print(i)

Submission status: Wrong Answer

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


for i in range(10**18):
  credit = int(credit * 1.01)
  year += 1
  if(x <= credit):
    break
print(year)

Submission status: Wrong Answer

Solution code:
x=int (input())

i=1
c=0

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



print(i)

Submission status: Wrong Answer

Solution code:
x=int (input())

i=1

while x >= int(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))/10000:
  i=i+1



print(i)

Submission status: Wrong Answer

Solution code:
x=int (input())

i=1

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



print(i)