ZhenlongDai/ACPR huggingface dataset:
Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math

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

Failing test case input:
1847527

Expected output:
1045


Actual output:
1859265
1045


Fixed submission (verdict: Accepted):
import math

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

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())

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

Failing test case input:
1352118

Expected output:
1013


Actual output:
956


Fixed submission (verdict: Accepted):
x = int(input())

wk =100
i=0
while x >wk:
    wk += int(wk*0.01)
    i+=1
print(i)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
x = int(input())
n = 16 
a = 100
cnt = 0

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



print(cnt)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
import math
x = int(input())
n = 16 
a = 100
cnt = 0

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



print(cnt)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math

n = int(input())

cash = 100
count = 0

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

print(count)


Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
import math

n = int(input())

cash = 100
count = 0

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

print(count)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
N = int(input())

s=100
count=0

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

Failing test case input:
3646254

Expected output:
1113


Actual output:
1056


Fixed submission (verdict: Accepted):
import math
N = int(input())

s=100
count=0

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

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n=int(input())
money=100
year=0
while(money<n):
  year=year+1
  money=money*1.01
print(year)



Failing test case input:
20893

Expected output:
594


Actual output:
537


Fixed submission (verdict: Accepted):
n=int(input())
money=100
year=0
while(money<n):
  year=year+1
  money=int(money*1.01)
print(year)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
X=int(input())
total=100
count=0
while X>=total:
    total = math.floor(total*1.01)
    count +=1
print(count)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
import math
X=int(input())
total=100
count=0
while X>total:
    total = math.floor(total*1.01)
    count +=1
print(math.ceil(count))
Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())
m = 100
count = 0
while(m<x):
    m += round(m*0.01)
    count += 1
print(count)

Failing test case input:
3493384762

Expected output:
1803


Actual output:
1753


Fixed submission (verdict: Accepted):
import math
x = int(input())
m = 100
count = 0
while(m<x):
    m += math.floor(m/100)
    count += 1
print(count)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X=int(input())
i=1
Y=100
while True:
    Z=Y*1.01
    if Z>=X:
        print(i)
        break
    else:
        i=i+1
        Y=Z

Failing test case input:
29927702

Expected output:
1325


Actual output:
1268


Fixed submission (verdict: Accepted):
X=int(input())
i=0
Y=100
while True:
    Z=int(Y*1.01)
    i=i+1
    if Z>=X:
        print(i)
        break
    else:
        Y=Z

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())
a = 100
count = 0
while a < x:
    a *= 1.01
    count += 1
print(count)    

Failing test case input:
1100010000000000000

Expected output:
3770


Actual output:
3713


Fixed submission (verdict: Accepted):
x = int(input())
a = 100
count = 0
while a < x:
    a = int(a*1.01)
    count += 1
print(count)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math

A = int(input())
X = 0
N = 100

while N < A:
    N = N * 1.01
    math.floor(N)
    X += 1
    
    
    
print(X)
    

Failing test case input:
3493384762

Expected output:
1803


Actual output:
1746


Fixed submission (verdict: Accepted):
import math

A = int(input())
X = 0
N = 100

while N < A:
    N = N * 1.01
    N = math.floor(N)
    X += 1
    
    
    
print(X)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
def main():
    deposit = 100
    X = int(input())
    year = 0
    
    while X >= deposit:
        deposit = int(deposit * 1.01)
        year +=1

    print(year)

if __name__ == "__main__":
    main()


Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
import math
def main():
    deposit = 100
    X = int(input())
    year = 0
    
    while X > deposit:
        deposit = int(deposit * 1.01)
        year +=1

    print(year)

if __name__ == "__main__":
    main()

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X =int(input())
Yokin = 100
i = 0

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

Failing test case input:
5007455

Expected output:
1145


Actual output:
1088


Fixed submission (verdict: Accepted):
import math
X =int(input())
Yokin = 100
i = 0

while all:
    Yokin = math.floor(Yokin * 1.01)
    i+=1
    if(Yokin>=X):
        break
print(i)
Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X=int(input())
i=1
Y=100
while True:
    Z=int(Y*1.01)
    if Z>X:
        print(i)
        break
    else:
        i=i+1
        Y=Z

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
X=int(input())
i=0
Y=100
while True:
    Z=int(Y*1.01)
    i=i+1
    if Z>=X:
        print(i)
        break
    else:
        Y=Z

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
k= int(input())

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

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
import math
k= int(input())

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

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())
a = 100
i = 0
while a <= x:
  i += 1
  a = int(a * 1.01)
print(i)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
x = int(input())
a = 100
i = 0
while a < x:
  i += 1
  a = int(a * 1.01)
print(i)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s=100
x=int(input())
i=0
while True:
  if s>=x:
    break
  s=s*1.01
  i=i+1
  
print(i+1)

Failing test case input:
2933963

Expected output:
1091


Actual output:
1035


Fixed submission (verdict: Accepted):
s=100
i=0
x=int(input())
 
while True:
  if s>=x:
    break
  else:
    i=i+1
    s=int(s*1.01)
    
print(i)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())
y = 0
amt = 100
while amt < x:
    amt += (amt/100)
    y += 1

print(y)


Failing test case input:
24589998

Expected output:
1305


Actual output:
1248


Fixed submission (verdict: Accepted):
x = int(input())
y = 0
amt = 100
while amt < x:
    amt += (amt
    y += 1

print(y)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
from math import floor,ceil
X = input()
X = int(X)
cash = 100
count = 0
while cash <= X:
    cash*=1.01
    count += 1
print(count)


Failing test case input:
15294437

Expected output:
1257


Actual output:
1200


Fixed submission (verdict: Accepted):
from math import floor,ceil
X = int(input())
 
p = 100
c = 0
while p < X:
    p=floor(p*1.01)
    c += 1
print(c)

Problem: p02694
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
x = int(input())
total = 100
year=0
while True:
    if total >= x:
        print(year)
        break
    else:
        total = total + total * 0.01
        year += 1

Failing test case input:
608

Expected output:
230


Actual output:
182


Fixed submission (verdict: Accepted):
x = int(input())
total = 100
year=0
while True:
    if total >= x:
        print(year)
        break
    else:
        total = total + int(total * 0.01)
        year += 1
Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
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

Failing test case input:
19790664

Expected output:
1283


Actual output:
1226


Fixed submission (verdict: Accepted):
x=int(input())
a=100
for i in range(1, 10**18):
  a *= 1.01
  a =int(a)
  if x <= a:
    print(i)
    break

Problem: p02694
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
x = int(input())
ans = 100
i = 0
while ans < x:
    ans *= 1.01
    i += 1
print(int(ans))


Failing test case input:
728

Expected output:
250


Actual output:
731


Fixed submission (verdict: Accepted):
x = int(input())
ans = 100
i = 0
while ans < x:
    ans *= 1.01
    ans = int(ans)
    i += 1
print(i)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def main():
    x = int(input())
    c = 100
    count = 0
    while not c >= x:
        c += c * 0.01
        count += 1
    print(count)

if __name__ == '__main__':
    main()

Failing test case input:
23000309

Expected output:
1298


Actual output:
1241


Fixed submission (verdict: Accepted):
def main():
    x = int(input())
    c = 100
    count = 0
    while not c >= x:
        c += int(c * 0.01)
        count += 1
    print(count)

if __name__ == '__main__':
    main()

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = int(100)
X = int(input())
c = 0
while a <= X :
    a = a + a * 0.01
    a = int(a)
    c = c + 1
    
print(c)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
a = int(100)
X = int(input())
c = 0
while a < X :
    a = a + a * 0.01
    a = int(a)
    c = c + 1
    
print(c)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X=int(input())
K=100
count=0
while K<=X:
    K=int(K*1.01)
    count+=1
print(count)


Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
X=int(input())
K=100
count=0
while K<X:
    K+=int(K*0.01)
    count+=1
print(count)

Problem: p02694
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
x = int(input())
now = 100
ans = 0
while(now <= x):
  
  now = int(now*1.01)
  ans += 1
print(ans)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
x = int(input())
now = 100
ans = 0
while(now < x):
  
  now = int(now*1.01)
  ans += 1
print(ans)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())
for i in range(10**18):
    if int(100*1.01**i) >= x:
        print(i)
        break


Failing test case input:
12990749

Expected output:
1241


Actual output:
1184


Fixed submission (verdict: Accepted):
x = int(input())
y = 100
for i in range(10**18):
    if int(y * 1.01)>= x:
        print(i+1)
        break
    else:
        y = int(y*1.01)
Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x=int(input())

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

Failing test case input:
29927702

Expected output:
1325


Actual output:
1268


Fixed submission (verdict: Accepted):
x=int(input())

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

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input());
count = 0;
v = 100;
while(v <= x):
    r = int(v * 0.01);
    v += r;
    count += 1;

print(count);

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
x = int(input());
count = 0;
v = 100;
while(v < x):
    r = int(v * 0.01);
    v += r;
    count += 1;

print(count);

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())
m = 100
for n in range(5000):
  m = int(m*1.01)
  if m > X:
    print(n)
    break

Failing test case input:
3232058

Expected output:
1101


Actual output:
1100


Fixed submission (verdict: Accepted):
X = int(input())
m = 100
for n in range(5000):
  m = int(m*1.01)
  if m >= X:
    print(n+1)
    break

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
result = int(input())
count = 0
kinngaku = 100
while kinngaku <= result:
    count += 1
    kinngaku +=  int(kinngaku * 0.01)
print(count)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
result = int(input())
count = 0
kinngaku = 100
while kinngaku < result:
    count += 1
    kinngaku +=  int(kinngaku * 0.01)
print(count)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())

b = 100
c = 0

while b < X:
    b = b*1.01
    c += 1

print(c)


Failing test case input:
40859568

Expected output:
1356


Actual output:
1299


Fixed submission (verdict: Accepted):
X = int(input())

b = 100
c = 0

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

print(c)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
x = int(input())
a = 100
i = 0
while a < x:
  i = i + 1
  a = math.floor(a * 1.01)
print(i, a)

Failing test case input:
1015324

Expected output:
985


Actual output:
985 1023455


Fixed submission (verdict: Accepted):
import math
x = int(input())
a = 100
i = 0
while a < x:
  i = i + 1
  a = math.floor(a * 1.01)
print(i)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())

tmp = 100
for i in range(10 ** 20):
    if tmp >= x:
        print(i)
        exit()
    tmp *= 1.01

Failing test case input:
394

Expected output:
182


Actual output:
138


Fixed submission (verdict: Accepted):
x = int(input())

tmp = 100
for i in range(10 ** 20):
    if tmp >= x:
        print(i)
        exit()
    tmp = int(tmp * 1.01)
Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())
a = 100
n = 0
while a < X:
  a = a * 1.01
  n = n + 1
  
print(n)



Failing test case input:
365041626

Expected output:
1576


Actual output:
1519


Fixed submission (verdict: Accepted):
X = int(input())
a = 100
n = 0
while a < X:
  a = int(a * 1.01)
  n = n + 1
  
print(n)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math 
X = int(input())
yen = 100
n = 0
while yen < X:
    n = n + 1
    yen = math.floor(yen*1.01*n)
    if X <= yen:
        print(n)

Failing test case input:
12990749

Expected output:
1241


Actual output:
9


Fixed submission (verdict: Accepted):
import math 
X = int(input())
yen = 100
n = 0
while yen < X:
    n = n + 1
    yen = math.floor(yen*1.01)
    if X <= yen:
        print(n)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
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)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
import math
x = int(input())


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

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x=int(input())

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


Failing test case input:
1751033

Expected output:
1039


Actual output:
982


Fixed submission (verdict: Accepted):
x=int(input())

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

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())
deposit = 100

for i in range(x):
  deposit = int(deposit * 1.01)
  if x < deposit:
    print(i+1)
    break

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
x = int(input())
deposit = 100
n = 0

while(x > deposit):
  deposit = int(deposit * 1.01)
  n += 1
  
print(n)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s= int(input())
cost =100
count = 0
while(cost <= s):
    cost = cost* 1.01
    count += 1
print(count)

Failing test case input:
394

Expected output:
182


Actual output:
138


Fixed submission (verdict: Accepted):
s= int(input())
cost =100
count = 0
while(cost < s):
    cost = int(cost* 1.01)
    count += 1
print(count)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
i = int(input())
price = 100
year = 0
while price <= i:
	price =int(price * 1.01)
	year += 1
print(year)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
import math
i = int(input())
price = 100
year = 0
while price < i:
	price =math.floor(price * 1.01)
	year += 1
print(year)
Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())

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

print(year)

Failing test case input:
608

Expected output:
230


Actual output:
182


Fixed submission (verdict: Accepted):
x = int(input())

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

Problem: p02694
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
import math
x=int(input())
a=100
i=0
while True:
    if a>=x:
        print(i)
        break
    i+=1
    a*=1.01

Failing test case input:
1898663

Expected output:
1048


Actual output:
991


Fixed submission (verdict: Accepted):
import math
x=int(input())
a=100
i=0
while True:
    if a>=x:
        print(i)
        break
    i+=1
    a*=1.01
    a=int(a)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())

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

Failing test case input:
394

Expected output:
182


Actual output:
138


Fixed submission (verdict: Accepted):
import math
x = int(input())


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

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
x  = int(input())
y=math.floor(100)
d=int(y)
print(d)

year=0
while y<x:
    y*=1.01
    d=int(y)
    y=d
    year+=1
    
print(year)

Failing test case input:
3646254

Expected output:
1113


Actual output:
100
1113


Fixed submission (verdict: Accepted):
import math
x  = int(input())
y=math.floor(100)
d=int(y)
 
year=0
while y<x:
    y*=1.01
    d=int(y)
    y=d
    year+=1
    
print(year)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
X = int(input())
n = 100
ans = 1
for i in range(10000000):
    if n >= X:
        print(ans)
        break
    else:
        n = math.ceil(n*1.01)
        ans += 1    

Failing test case input:
9828014

Expected output:
1213


Actual output:
1115


Fixed submission (verdict: Accepted):
import math
X = int(input())
n = 100
ans = 0
while True:
    n += math.floor(n*0.01)
    ans += 1
    if n >= X:
        print(ans)
        break

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a =int(input())
b = 100
count = 0
while True:
  b = int(b + (b* 0.01))
  count += 1
  if b <= a:
    break

print(count)

Failing test case input:
406993862

Expected output:
1587


Actual output:
1


Fixed submission (verdict: Accepted):
a = int(input())
b = 100
count = 0
while True:
  b = int(b + b*(0.01))
  count += 1
  if b >= a:
    break
print(count)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math

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

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

print(n)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
import math

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

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

print(n)
Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())

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

Failing test case input:
9828014

Expected output:
1213


Actual output:
1163


Fixed submission (verdict: Accepted):
import math
x = int(input())

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

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
Target = int(input())
original = 100
i=0;
while(1):
 original = int(original + original*0.01)
 if(original > Target):
   print(i)
   break;
 i=i+1;

Failing test case input:
19790664

Expected output:
1283


Actual output:
1282


Fixed submission (verdict: Accepted):
Target = int(input())
original = 100
i=1;
while(1):
 original = original + int(original*0.01)
 if(original >= Target):
   print(i)
   break;
 i=i+1;

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
x=int(input())
m=100
ans=0
while m<=x:
    m=math.floor(m*1.01)
    ans+=1
print(ans)


Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
x=int(input())
m=100
ans=0
while m<x:
    m=int(m*1.01)
    ans+=1
print(ans)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())

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

Failing test case input:
649959

Expected output:
940


Actual output:
883


Fixed submission (verdict: Accepted):
X = int(input())

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

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())
y = 100
ans = 0
while x >= y:
    y = int(y * 1.01)
    ans += 1
print(ans)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
x = int(input())
y = 100
ans = 0
while x > y:
    y = int(y * 1.01)
    ans += 1
print(ans)

Problem: p02694
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
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)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
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)

Problem: p02694
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
X=int(input())
answer=0
y=100
while y<=X:
    answer+=1
    y*=1.01
    y=int(y)
print(answer)


Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
X=int(input())
answer=0
y=100
while y<X:
    answer+=1
    y*=1.01
    y=int(y)
print(answer)
Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
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)


Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
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)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())

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

print(year)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
x = int(input())

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

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math

X=int(input())




i=0
t=100

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


print(i)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
import math

X=int(input())




i=0
t=100

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


print(i)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math

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

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

print(year)
  

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
import math

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

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

print(year)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
X = int(input())
count = 0
res = 100

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

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
import math
X = int(input())
count = 0
res = 100

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

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())
a = 100
ans = 0
while x >= a:
    ans += 1
    a = int(a * 1.01)
print(ans)


Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
x = int(input())
a = 100
ans = 0
while x > a:
    ans += 1
    a = int(a * 1.01)
print(ans)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = int(input())
i = 0
t = 100
while 1:
    t = int(t * 1.01)
    i += 1
    if t > a:
        break
print(i)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
a = int(input())
i = 0
t = 100
while 1:
    t = int(t * 1.01)
    i += 1
    if t >= a:
        break
print(i)
Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
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

Failing test case input:
1992004

Expected output:
1052


Actual output:
995


Fixed submission (verdict: Accepted):
X = int(input())
n = 100
A = 100
i = 0

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

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math

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

    print(year)

if __name__ == "__main__":
    main()

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
import math

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

    print(year)

if __name__ == "__main__":
    main()

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n = int(input())
b = 100
ans = 0
while  b<=n :
    b = int(b*1.01)
    ans += 1
print(ans)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
n = int(input())
b = 100
ans = 0
while  b<n :
    b = int(b*1.01)
    ans += 1
print(ans)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
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

Failing test case input:
608

Expected output:
230


Actual output:
231


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

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math

X = int(input())

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

Failing test case input:
722145691

Expected output:
1645


Actual output:

Fixed submission (verdict: Accepted):
import math

X = int(input())

cur = 100
i = 0

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

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())
a = 100
cnt = 0

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

Failing test case input:
2933963

Expected output:
1091


Actual output:
1034


Fixed submission (verdict: Accepted):
X = int(input())
a = 100
cnt = 0

while a < X:
    a =  int(a*1.01)
    cnt += 1
print(cnt)
Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a=int(input())
c=0
while True:
    c+=1
    if int(100*(1.01**c))>a:
        print(c)
        break
        




Failing test case input:
1110000100001111000

Expected output:
3771


Actual output:
3714


Fixed submission (verdict: Accepted):
a=int(input())
c=0
N=100
while True:
    N=int(N*1.01)
    c+=1
    if N >= a:
        print(c)
        break

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):

X = int(input())

ans = 0
a = 100

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

Failing test case input:
1925339908

Expected output:
1743


Actual output:
1686


Fixed submission (verdict: Accepted):
X = int(input())

ans = 0
a = 100

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

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
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)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
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)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math


I = int(input())











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

print(cnt)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
import math


I = int(input())











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




if I <= 100:
    cnt = 0

print(cnt)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
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
  

Failing test case input:
15294437

Expected output:
1257


Actual output:
1200


Fixed submission (verdict: Accepted):
def compound_interest(n, r, t): 
    for i in range(t):
        n=n+int((n*r)/100)
    return n

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

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())

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

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
import math
x = int(input())


m = 100
n = 0
while m < x:
  m = m + math.floor(m*0.01)
  n+=1
  
print(n)
Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
K = int(input())
i = 0
ans = 0
while True:
  i = i + 1
	
  ans = 100 * (1+0.01) ** i
  
  if (K <= ans):
    print(i)
    break


Failing test case input:
45714400

Expected output:
1367


Actual output:
1310


Fixed submission (verdict: Accepted):
K = int(input())
i = 0
s = 100
while True:
  i = i + 1
  s = int(s * (1 + 0.01))
  
  if (K <= s):
    print(i)
    break

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())
currency = 100
count = 0
while currency < X:
    currency *= 1.01
    count +=1
print(count)
    

Failing test case input:
314793131

Expected output:
1561


Actual output:
1504


Fixed submission (verdict: Accepted):
import math
X = int(input())
currency = 100
count = 0
while currency < X:
    currency = math.floor(currency*1.01)
    count +=1
print(count)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
n = int(input())
i = 100
while i < n:
  i += math.floor(i*1.01)


Failing test case input:
35889

Expected output:
649


Actual output:

Fixed submission (verdict: Accepted):
import math
n = int(input())
i = 100
count = 0
while i < n:
  i = math.floor(i*1.01)
  count += 1
print(count)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())
i = 0
money = 100
while money < x:
  money *= 1.01
  money = int(money)
  i += 1
print(i,money)

Failing test case input:
995409

Expected output:
983


Actual output:
983 1003290


Fixed submission (verdict: Accepted):
x = int(input())
i = 0
money = 100
while money < x:
  money *= 1.01
  money = int(money)
  i += 1
print(i)

Problem: p02694
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
import math

x = int(input())
i,n = 100,0
while i < x:
    n += 1
    i = ((101)**n) / 100**(n-1)
print(n)


Failing test case input:
510272794

Expected output:
1610


Actual output:
1553


Fixed submission (verdict: Accepted):
import math
x = int(input())



i,a = 100,0
while i < x:
    i *= 1.01
    i = math.floor(i)
    a += 1

print(a)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())

ans = 100
count = 0

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

Failing test case input:
608

Expected output:
230


Actual output:

Fixed submission (verdict: Accepted):
X = int(input())

ans = 100
count = 0

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

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a=int(input())
c=0
N=100
while True:
    N=int(N*1.01)
    c+=1
    if N > a:
        print(c)
        break

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
a=int(input())
c=0
N=100
while True:
    N=int(N*1.01)
    c+=1
    if N >= a:
        print(c)
        break
Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):

import math
a = int(input())
may = 100
ans = 0
while may <= a:
    may = math.floor(may * 1.01)
    ans += 1
print(ans)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
import math
may = 100
a = int(input())
ans = 0
while a > may:
    may = math.floor(may * 1.01)
    ans += 1
print(ans)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x=int(input())
c=100
year=0
while (c<=x):
  year+=1
  c+=(c*1/100)
print(year)

Failing test case input:
728

Expected output:
250


Actual output:
200


Fixed submission (verdict: Accepted):
x=int(input())
c=100
year=0
while (c<=x):
  if(c==x):
    break
  year+=1
  c+=(c*1
print(year)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())
y = 100
i=0
while True:
	y = y + 0.01*y
	i += 1
    
	if y >= x:
		print(i)
		break

Failing test case input:
1547316

Expected output:
1027


Actual output:
970


Fixed submission (verdict: Accepted):
x = int(input())
y = 100
i=0
while True:
	y = y + int(0.01*y)
	i += 1
    
	if y >= x:
		print(i)
		break

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
X = int(input())
m = 100
count = 0

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

print(count)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
X = int(input())
m = 100
count = 0

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

print(count)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())
ans = 0
now = 100
while (now <= x):
    ans += 1
    now = int(now*1.01)
print(ans)


Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
x = int(input())
ans = 0
now = 100
while (now < x):
    ans += 1
    now += int(now*0.01)
print(ans)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())
a= 100
n = 0
while a<=X:
    a=int(a*1.01)
    n+=1

print(n)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
X = int(input())
a= 100
n = 0
while a<X:
    a=int(a*1.01)
    n+=1

print(n)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())
 
Deposit = 100
ans = 0
 
while Deposit < X:
  Deposit *= 1.01
  ans += 1
  
print(ans)

Failing test case input:
722145691

Expected output:
1645


Actual output:
1588


Fixed submission (verdict: Accepted):
X = int(input())
 
Deposit = 100
ans = 0
 
while Deposit < X:
  Deposit = int(Deposit * 1.01)
  ans += 1
  
print(ans)
Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):


x_deposit = int(input())

deposit = 100

interest = 1.01

past_deposit = []

while x_deposit > deposit:
    deposit = deposit * interest
    past_deposit.append(deposit)



years = len(past_deposit)

print(years)











Failing test case input:
1675635

Expected output:
1035


Actual output:
978


Fixed submission (verdict: Accepted):
import math


x_deposit = int(input())



deposit = 100

interest = 1.01

past_deposit = []

while x_deposit > deposit:
    deposit = deposit * interest
    deposit = math.floor(deposit)
    past_deposit.append(deposit)





years = len(past_deposit)

print(years)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s=100
x=int(input())
i=0
while True:
  if s>=x:
    break
  s=s*1.01
  i=i+1
  
print(i)

Failing test case input:
858488

Expected output:
968


Actual output:
911


Fixed submission (verdict: Accepted):
s=100
i=0
x=int(input())
 
while True:
  if s>=x:
    break
  else:
    i=i+1
    s=int(s*1.01)
    
print(i)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
i = int(input())
price = 100
year = 0
while price <= i:
	price =math.floor(price * 1.01)
	year += 1
print(year)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
import math
i = int(input())
price = 100
year = 0
while price < i:
	price =math.floor(price * 1.01)
	year += 1
print(year)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n = int(input())
now = 100
y = 0
while(n < now):
  y += 1
  now = int(now * 1.01)

print(y)  

Failing test case input:
450507853

Expected output:
1597


Actual output:
0


Fixed submission (verdict: Accepted):
n = int(input())
now = 100
y = 0
while(n > now):
  y += 1
  now = int(now * 1.01)
  
print(y)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
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)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
X = int(input())
f=0
c=0
y=100
if y<X:
  while f==0:
    c+=1
    y = int(float(y)*1.01)
    if y>=X:
      f=1
  print(c)
else:
  print(0)

Problem: p02694
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
X = int(input())
cnt = 0
A = 100
while X<A:
	A = A*1.01
	cnt+=1
print(cnt)

Failing test case input:
23568643

Expected output:
1301


Actual output:
0


Fixed submission (verdict: Accepted):
X = int(input())
cnt = 0
A = 100
while X>A:
	A = int(A*1.01)
	cnt+=1
print(cnt)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X=int(input())
a=100
count=0

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

print(count)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
X=int(input())
a=100
count=0

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

print(count)
Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = float(input())

y = 0
z = 100
while True:
  y += 1
  z = z*1.01
  if z >= X:
    print(y)
    break

Failing test case input:
4413343

Expected output:
1132


Actual output:
1075


Fixed submission (verdict: Accepted):
import math

X = float(input())

y = 0
z = 100
while True:
  y += 1
  z = math.floor(z*1.01)
  if z >= X:
    print(y)
    break

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
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)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
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)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math

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

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

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
import math

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

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

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())
import math
B = 0
A = 100
while A <= X:
	A = math.floor(A * 1.01)
	B += 1
print(B)
    
  
  

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
X = int(input())
import math
B = 0
A = 100
while A < X:
	A = math.floor(A * 1.01)
	B += 1
print(B)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())

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

print(y)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
x = int(input())
 
y = 0
v = 100
while v < x:
  v = int(v * 1.01)
  y = y + 1
 
print(y)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
from math import floor,ceil
X = input()
X = int(X)
cash = 100
count = 0
while cash < X:
    cash*=1.01
    count += 1
print(count)


Failing test case input:
3269178

Expected output:
1102


Actual output:
1045


Fixed submission (verdict: Accepted):
from math import floor,ceil
X = int(input())
 
p = 100
c = 0
while p < X:
    p=floor(p*1.01)
    c += 1
print(c)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x=int(input())
total=100
years=0
while total<x:
  total*=1.01
  years+=1
print(years)

Failing test case input:
722145691

Expected output:
1645


Actual output:
1588


Fixed submission (verdict: Accepted):
x=int(input())
total=100
years=0
while total<x:
  total*=1.01
  years+=1
  total=int(total)
print(years)
Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
money = 100
X = int(input())
years = 0

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



Failing test case input:
45714400

Expected output:
1367


Actual output:
1318


Fixed submission (verdict: Accepted):
money = 100
X = int(input())
years = 0

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

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())
count = 0
hun = 100
while X >= hun:
  count += 1
  hun = int(hun*1.01)
print(count)

Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
X = int(input())
count = 0
hun = 100
while X > hun:
  count += 1
  hun = int(hun*1.01)
print(count)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X=int(input())
i=0
Y=100
while True:
    Z=Y+Y*0.01
    if Z>=X:
        print(i)
        break
    else:
        i=i+1
        Y=Z

Failing test case input:
219156

Expected output:
831


Actual output:
773


Fixed submission (verdict: Accepted):
X=int(input())
i=0
Y=100
while True:
    Z=int(Y*1.01)
    i=i+1
    if Z>=X:
        print(i)
        break
    else:
        Y=Z

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = int(input())

A = 100
cnt = 0

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

print(cnt)


Failing test case input:
608

Expected output:
230


Actual output:
231


Fixed submission (verdict: Accepted):
X = int(input())

A = 100
cnt = 0

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

print(cnt)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = int(input())

a=100
b=0
while a>x:
  a +=a
  b+=1
print(b)

Failing test case input:
1985655858

Expected output:
1746


Actual output:
0


Fixed submission (verdict: Accepted):
x = int(input())

a=100
b=0
while a<x:
  a =int(a*1.01)
  b+=1

print(b)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
money = 100
x = int(input())

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

Failing test case input:
1992004

Expected output:
1052


Actual output:
995


Fixed submission (verdict: Accepted):
import math
money = 100
x = int(input())

cnt = 0
while money < x:
  money += money * 0.01
  money = int(money)
  cnt += 1
  
print(cnt)

Problem: p02694
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X = input()
Money = 100
counter = 0

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

Failing test case input:
36827271

Expected output:
1346


Actual output:
1289


Fixed submission (verdict: Accepted):
X = input()
Money = 100
counter = 0

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