problem_id stringlengths 6 6 | buggy_code stringlengths 8 526k | fixed_code stringlengths 12 526k | labels listlengths 0 15 ⌀ | buggy_submission_id int64 1 1.54M | fixed_submission_id int64 2 1.54M | user_id stringlengths 10 10 | language stringclasses 8
values |
|---|---|---|---|---|---|---|---|
p02694 | X = int(input())
x = 100
year = 0
while x<=X:
x += x//100
year += 1
print(year) | X = int(input())
x = 100
year = 0
while x<X:
x += x//100
year += 1
print(year) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,750 | 437,751 | u935642171 | python |
p02694 | X = int(input())
year = 0
deposit = 101
while deposit < X:
deposit += int(str(deposit)[0: -2])
year += 1
print(year) | X = int(input())
year = 0
deposit = 100
while deposit < X:
deposit += int(str(deposit)[0: -2])
year += 1
print(year) | [
"literal.number.integer.change",
"assignment.value.change"
] | 437,813 | 437,814 | u573900545 | python |
p02694 | X = int(input())
money = 100
year = 0
while(money < X):
money += money / 100
year += 1
print(year) | X = int(input())
money = 100
year = 0
while(money < X):
money += money // 100
year += 1
print(year) | [
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 437,825 | 437,826 | u197833153 | python |
p02694 | X = int(input())
money = 100
year = 0
while(money < X):
money *= 1.01
year += 1
print(year) | X = int(input())
money = 100
year = 0
while(money < X):
money += money // 100
year += 1
print(year) | [
"expression.operation.binary.add"
] | 437,827 | 437,826 | u197833153 | python |
p02694 | X = int(input())
money = 100
year = 0
while money <= X:
money += money // 100
year += 1
print(year) | X = int(input())
money = 100
year = 0
while money < X:
money += money // 100
year += 1
print(year) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,858 | 437,859 | u434609232 | python |
p02694 | X = int(input())
m = 100
count = 0
while (m <= X):
m = int(m * 1.01)
count += 1
print(count) | X = int(input())
m = 100
count = 0
while (m < X):
m = int(m * 1.01)
count += 1
print(count) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,892 | 437,893 | u146346223 | python |
p02694 | import math
X = int(input())
m = 100
count = 0
while (m <= X):
m = math.floor(m * 1.01)
count += 1
print(count) | X = int(input())
m = 100
count = 0
while (m < X):
m = int(m * 1.01)
count += 1
print(count) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change",
"assignment.value.change"
] | 437,894 | 437,893 | u146346223 | python |
p02694 | x = int(input())
a = 100
import sys
for i in range(10**7):
a = int(a*1.01)
if a>x:
print(i+1)
sys.exit() | x = int(input())
a = 100
import sys
for i in range(10**7):
a = int(a*1.01)
if a>=x:
print(i+1)
sys.exit() | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 437,897 | 437,898 | u731448038 | python |
p02694 | a =int(input())
b = 100
count = 0
while True:
b = int(b + (b* 0.01))
count += 1
if b <= a:
break
print(count) | a = int(input())
b = 100
count = 0
while True:
b = int(b + b*(0.01))
count += 1
if b >= a:
break
print(count) | [
"call.arguments.change",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 437,899 | 437,900 | u641722141 | python |
p02694 | x = int(input())
a = 100
ans = 0
while a < x:
a *= 1.01
ans += 1
print(ans) | x = int(input())
a = 100
ans = 0
while a < x:
a *= 1.01
a = a // 1
ans += 1
print(ans) | [
"assignment.add"
] | 437,908 | 437,909 | u146057001 | python |
p02694 | s=100
i=0
x=int(input())
while True:
if s>=x:
break
else:
i=i+1
s=s*1.01
print(i) | s=100
i=0
x=int(input())
while True:
if s>=x:
break
else:
i=i+1
s=int(s*1.01)
print(i) | [
"call.add",
"call.arguments.change"
] | 437,921 | 437,922 | u957957759 | python |
p02694 | #B
x = int(input())
m = 100
for i in range(10**18):
m *= 1.01
if m >= x:
print(i+1)
break | #B
x = int(input())
m = 100
for i in range(10**18):
m *= 1.01
m = int(m)
if m >= x:
print(i+1)
break | [
"assignment.add"
] | 437,927 | 437,928 | u420059236 | python |
p02694 | import math
n = int(input())
a = 100
ans = 0
while a != n:
#print(a)
a = math.floor(a * 1.01)
ans = ans + 1
print(ans) | import math
n = int(input())
a = 100
ans = 0
while a < n:
#print(a)
a = math.floor(a * 1.01)
ans = ans + 1
print(ans) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,933 | 437,934 | u593019570 | python |
p02694 | import numpy as np
x = int(input())
n = 100
cnt = 0
while n <= x:
n = int(1.01 * n)
cnt += 1
print(cnt) | import numpy as np
x = int(input())
n = 100
cnt = 0
while n < x:
n = int(1.01 * n)
cnt += 1
print(cnt) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,935 | 437,936 | u724844363 | python |
p02694 | X = int(input())
money = 100
year = 0
while money <= X:
year += 1
money = int(money*1.01)
print(year)
| X = int(input())
money = 100
year = 0
while money < X:
year += 1
money = int(money*1.01)
print(year) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,948 | 437,949 | u597626771 | python |
p02694 | x = int(input())
a = 100
for i in range(10000):
a *= 1.01
if a >= x:
print(i + 1)
exit() | x = int(input())
a = 100
for i in range(10000):
a *= 1.01
a = int(a)
if a >= x:
print(i + 1)
exit() | [
"assignment.add"
] | 437,952 | 437,953 | u296989351 | python |
p02694 | x = int(input())
count = 0
while money < x:
money = int(money * 1.01)
count += 1
print(count)
| money = 100
x = int(input())
count = 0
while money < x:
money = int(money * 1.01)
count += 1
print(count) | [
"assignment.add"
] | 437,962 | 437,963 | u667949809 | python |
p02694 | money = 100
x = int(input())
count = 0
while money <= x:
money = int(money * 1.01)
count += 1
print(count) | money = 100
x = int(input())
count = 0
while money < x:
money = int(money * 1.01)
count += 1
print(count) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,964 | 437,963 | u667949809 | python |
p02694 | n=int(input())
def money(n):
m=100
for i in range(m):
m*=1.01
m=m//1
if m>=n:
return i+1
break
print(money(n)) | n=int(input())
def money(n):
m=100
for i in range(1000000):
m*=1.01
m=m//1
if m>=n:
return i+1
break
print(money(n)) | [
"identifier.replace.remove",
"literal.replace.add",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 437,986 | 437,987 | u749416810 | python |
p02694 | import math
X = int(input())
t = 0
m = 100
while m < X:
m = math.ceil(m * 1.01)
t += 1
print(t) | import math
X = int(input())
t = 0
m = 100
while m < X:
m = math.floor(m * 1.01)
t += 1
print(t) | [
"misc.opposites",
"assignment.value.change",
"identifier.change"
] | 438,003 | 438,004 | u663710122 | python |
p02694 | x = int(input())
m = 100
ans = 0
while m < x:
m = int(m*1.01)
print(m)
ans += 1
print(ans) | x = int(input())
m = 100
ans = 0
while m < x:
m = int(m*1.01)
ans += 1
print(ans) | [
"call.remove"
] | 438,009 | 438,010 | u408791346 | python |
p02694 | #!/usr/bin/env python3
# Atcoder necoak answer
# https://atcoder.jp/contests/abc165/tasks/abc165_b
import sys
input_x = input()
x = int(input_x)
zandaka = 100
nen = 0
while zandaka < x:
nen += 1
zandaka = zandaka * 1.01
print(nen)
| #!/usr/bin/env python3
# Atcoder necoak answer
# https://atcoder.jp/contests/abc165/tasks/abc165_b
import math
input_x = input()
x = int(input_x)
zandaka = 100
nen = 0
while zandaka < x:
nen += 1
zandaka = math.floor(zandaka * 1.01)
print(nen)
| [
"identifier.change",
"call.add",
"call.arguments.change"
] | 438,033 | 438,034 | u933430310 | python |
p02694 | x = int(input())
money = 100
ans = 0
while(money < x):
ans += 1
money *= 1.01
print(ans)
| x = int(input())
money = 100
ans = 0
while(money < x):
ans += 1
money *= 1.01
money = int(money)
print(ans)
| [
"assignment.add"
] | 438,042 | 438,043 | u845620905 | python |
p02694 | import math
x = int(input())
a = 100
answer = 0
while a <= x:
a += math.floor(a * 0.01)
answer += 1
print(answer)
| import math
x = int(input())
a = 100
answer = 0
while a < x:
a += math.floor(a * 0.01)
answer += 1
print(answer)
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,057 | 438,058 | u126823513 | python |
p02694 | X = int(input())
money = 100
count = 0
while money <= X:
money = int(money*1.01)
count +=1
print(count) | X = int(input())
money = 100
count = 0
while money < X:
money = int(money*1.01)
count +=1
print(count) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,063 | 438,064 | u158703648 | python |
p02694 | X = int(input())
money = 100
cnt = 0
while money < X:
money += money/100
cnt += 1
print(cnt) | X = int(input())
money = 100
cnt = 0
while money < X:
money += money//100
cnt += 1
print(cnt) | [
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 438,081 | 438,082 | u966311314 | python |
p02694 | x = int(input())
ct = 0
y = 100
while y < x:
y=y*1.01
ct+=1
print(ct) | x = int(input())
ct = 0
y = 100
while y < x:
y=int(y*1.01)
ct+=1
print(ct) | [
"call.add",
"call.arguments.change"
] | 438,085 | 438,086 | u937782958 | python |
p02694 | import math
x = int(input())
a = 100
cnt = 0
#file = open('test.txt', 'w')
while a <= x:
a = a*1.01
a = int(a)
b = str(a)
# file.write(b + '\n')
cnt = cnt + 1
#file.close()
print(cnt) | import math
x = int(input())
a = 100
cnt = 0
#file = open('test.txt', 'w')
while a < x:
a = a*1.01
a = int(a)
b = str(a)
# file.write(b + '\n')
cnt = cnt + 1
#file.close()
print(cnt) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,091 | 438,092 | u372187342 | python |
p02694 | n=int(input())
k=100
count=0
while True :
k=k+(k/100)
count+=1
if k>=n :
print(count)
break | n=int(input())
k=100
count=0
while True :
k=k+(k//100)
count+=1
if k>=n :
print(count)
break | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 438,097 | 438,098 | u364238528 | python |
p02694 | # -*- coding: utf-8 -*-
# 整数の入力
x = int(input())
money = 100
year = 0
while (money <= x):
money = int(money * 1.01)
year = year + 1
print('{}'.format(year))
| # -*- coding: utf-8 -*-
# 整数の入力
x = int(input())
money = 100
year = 0
while (money < x):
money = int(money * 1.01)
year = year + 1
print('{}'.format(year))
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,106 | 438,107 | u616619529 | python |
p02694 | # -*- coding: utf-8 -*-
# 整数の入力
x = int(input())
money = 100
year = 0
while (money <= x):
money = int(money*1.01)
print('{}'.format(year))
| # -*- coding: utf-8 -*-
# 整数の入力
x = int(input())
money = 100
year = 0
while (money < x):
money = int(money * 1.01)
year = year + 1
print('{}'.format(year))
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,108 | 438,107 | u616619529 | python |
p02694 | x = int(input())
money = 100
year = 0
while money < x:
money += (money / 100)
year += 1
print(year)
| x = int(input())
money = 100
year = 0
while money < x:
money += money // 100
year += 1
print(year)
| [
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 438,121 | 438,122 | u865108308 | python |
p02694 | x = int(input())
money = 100
year = 0
while money < x:
money += money / 100
year += 1
print(year)
| x = int(input())
money = 100
year = 0
while money < x:
money += money // 100
year += 1
print(year)
| [
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 438,123 | 438,122 | u865108308 | python |
p02694 | x = int(input())
money = 100
year = 0
while money == x:
money += money / 100
year += 1
print(year) | x = int(input())
money = 100
year = 0
while money < x:
money += money // 100
year += 1
print(year)
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change",
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 438,124 | 438,122 | u865108308 | python |
p02694 | x = int(input())
money = 100
year = 0
while money < x:
money += (money / 100)
year += 1
print(year)
| x = int(input())
money = 100
year = 0
while money < x:
money += int(money / 100)
year += 1
print(year)
| [
"call.add",
"type_conversion.to_integer.change",
"type_conversion.to_number.change"
] | 438,121 | 438,125 | u865108308 | python |
p02694 | x = int(input())
money = 100
year = 0
while money < x:
money += money / 100
year += 1
print(year)
| x = int(input())
money = 100
year = 0
while money < x:
money += int(money / 100)
year += 1
print(year)
| [
"call.add",
"call.arguments.change"
] | 438,123 | 438,125 | u865108308 | python |
p02694 | a = int(100)
X = int(input())
c = 0
while a <= X :
a = a + a * 0.01
a = int(a)
c = c + 1
print(c) | a = int(100)
X = int(input())
c = 0
while a < X :
a = a + a * 0.01
a = int(a)
c = c + 1
print(c) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,132 | 438,133 | u949210009 | python |
p02694 | a = int(input())
b = 100
c = 0
while true:
b += int(b / 100)
c += 1
if b >= a:
print(c)
exit() | a = int(input())
b = 100
c = 0
while True:
b += int(b / 100)
c += 1
if b >= a:
print(c)
exit() | [
"misc.typo",
"control_flow.loop.condition.change"
] | 438,134 | 438,135 | u332844386 | python |
p02694 | import math
X = int(input())
money = 100
year = 0
while money < X:
money = math.floor(money * 1.01)
year += 1
print(money)
print(year)
| import math
X = int(input())
money = 100
year = 0
while money < X:
money = math.floor(money * 1.01)
year += 1
print(year)
| [
"call.remove"
] | 438,136 | 438,137 | u589047182 | python |
p02694 | import math
X = int(input())
money = 100
year = 0
while money <= X:
money = math.floor(money * 1.01)
year += 1
print(year)
| import math
X = int(input())
money = 100
year = 0
while money < X:
money = math.floor(money * 1.01)
year += 1
print(year)
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,138 | 438,137 | u589047182 | python |
p02694 | X = int(input())
year = 0
total = 100
while total < X:
total = round(total + 0.01 * total)
year += 1
print(year) | X = int(input())
year = 0
total = 100
while total < X:
total = total + int(0.01 * total)
year += 1
print(year) | [
"call.remove",
"call.add"
] | 438,144 | 438,145 | u205762924 | python |
p02694 | X = int(input())
yen = 100
count = 0
while True:
if yen >= X:
break
yen *= 1.01
count += 1
print(count)
| X = int(input())
yen = 100
count = 0
while True:
if yen >= X:
break
yen += yen // 100
count += 1
print(count)
| [
"expression.operation.binary.add"
] | 438,160 | 438,161 | u244466744 | python |
p02694 | X=int(input())
a=100
cnt=0
while a<X:
a+=a*0.01
cnt+=1
print(cnt) | X=int(input())
a=100
cnt=0
while a<X:
a=a+a//100
cnt+=1
print(cnt) | [
"assignment.change"
] | 438,192 | 438,193 | u815073939 | python |
p02694 | X=int(input())
n=0
m=100
while True:
n+=1
m*=101/100
if m >=X:
print(n)
break
| X = int(input())
n=0
m=100
while True:
n+=1
m+=m//100
if m >=X:
print(n)
break | [] | 438,225 | 438,226 | u244434589 | python |
p02694 | x = int(input())
i = 0
k = 100
while True:
if(k>=x):
break
else:
k*=1.01
i+=1
print(i)
| x = int(input())
i = 0
k = 100
while True:
if(k>=x):
break
else:
k*=1.01
k=k//1
i+=1
print(i) | [
"assignment.add"
] | 438,235 | 438,236 | u655048024 | python |
p02694 | x = int(input())
a = 100
i = 0
while a < x:
i += 1
a += a // 100
print(math.floor(i))
| x = int(input())
a = 100
i = 0
while a < x:
i += 1
a += a // 100
print(i)
| [
"call.arguments.change"
] | 438,266 | 438,267 | u112083029 | python |
p02694 | import math
from decimal import Decimal
X = int(input())
now = 100
year = 0
while True:
if now >= X:
break
#now = int(now * Decimal("1.01"))
#now = int(now * round(Decimal(1.01), 2))
now += now / 100
year += 1
print(year)
| import math
from decimal import Decimal
X = int(input())
now = 100
year = 0
while True:
if now >= X:
break
#now = int(now * Decimal("1.01"))
#now = int(now * round(Decimal(1.01), 2))
now += now // 100
year += 1
print(year)
| [
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 438,288 | 438,289 | u364555831 | python |
p02694 | x = int(input())
m = 100
y = 0
while m < x:
m *= 1.01
y += 1
print(y) | x = int(input())
m = 100
y = 0
while m < x:
m += m // 100
y += 1
print(y) | [
"expression.operation.binary.add"
] | 438,296 | 438,297 | u328510800 | python |
p02694 | X = int(input())
total = 100
count = 0
while total <= X:
total += total//100
count += 1
print(count) | X = int(input())
total = 100
count = 0
while total < X:
total += total//100
count += 1
print(count)
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,324 | 438,325 | u951985579 | python |
p02694 | X=int(input())
Y=100
num=0
while Y<X:
Y += Y//100
num += 1
print(Y)
print(num) | X=int(input())
Y=100
num=0
while Y<X:
Y += Y//100
num += 1
print(num) | [
"call.remove"
] | 438,340 | 438,341 | u897220832 | python |
p02694 | x = int(input())
s = 0
t = 100
while True:
if t >= x:
break
t = t*1.01
s = s + 1
print(s) | x = int(input())
s = 0
t = 100
while True:
if t >= x:
break
t = int(t*1.01)
s = s + 1
print(s) | [
"call.add",
"call.arguments.change"
] | 438,351 | 438,352 | u150788544 | python |
p02694 | X = int(input())
money, cnt = 100, 0
while money < X:
cnt += 1
money += money/100
print(cnt) | X = int(input())
money, cnt = 100, 0
while money < X:
cnt += 1
money += money//100
print(cnt) | [
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 438,365 | 438,366 | u530844517 | python |
p02694 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
x = int(input())
base = 100
year = 0
while x <= base:
year += 1
base = int(base * 1.01)
print(year)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
x = int(input())
base = 100
year = 0
while x > base:
year += 1
base = int(base * 1.01)
print(year) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,443 | 438,444 | u510814835 | python |
p02694 | X = int(input())
T = 100
InterestRate = 1.01
n = 0
while True:
T = int(T * InterestRate)
if T >= X:
print(n + 1)
break
n += 1
print("DONE")
| X = int(input())
T = 100
InterestRate = 1.01
n = 0
while True:
T = int(T * InterestRate)
if T >= X:
print(n + 1)
break
n += 1
| [
"call.remove"
] | 438,447 | 438,448 | u919065552 | python |
p02694 | import math
X=int(input())
origin=100
count=0
while(origin<X):
origin+=int(origin*0.01)
print(origin)
count+=1
print(count) | import math
X=int(input())
origin=100
count=0
while(origin<X):
origin+=int(origin*0.01)
count+=1
print(count) | [
"call.remove"
] | 438,451 | 438,452 | u918817732 | python |
p02694 | import numpy as np
import math
x = int(input())
ans = 0
now = 100
for i in range(1,10**100):
now = int(x*1.01)
if now >= x:
ans = i
break
print(ans) | import numpy as np
import math
x = int(input())
ans = 0
now = 100
for i in range(1,10**100):
now = int(now*1.01)
if now >= x:
ans = i
break
print(ans) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 438,457 | 438,458 | u169350228 | python |
p02694 | X = int(input())
now = 100
year = 0
while now < X:
X *= 1.01
#X = int(X)
X -= X%1
year += 1
print(year) | X = int(input())
now = 100
year = 0
while now < X:
now *= 1.01
#X = int(X)
now -= now%1
year += 1
print(year)
| [
"identifier.change",
"expression.operation.binary.change"
] | 438,467 | 438,468 | u468663659 | python |
p02694 | x=int(input())
ans = 100
for i in range(1,10**18+1):
ans *= 1.01
if ans >= x:
print(i)
exit() | x=int(input())
ans = 100
for i in range(1,10**18+1):
ans = int(ans*1.01)
if ans >= x:
print(i)
exit() | [
"assignment.value.change",
"call.add",
"call.arguments.change"
] | 438,479 | 438,480 | u585348179 | python |
p02694 | X=int(input())
Y=100
n=0
while Y<=X:
Y=int(Y*1.01)
n+=1
print(n) | X=int(input())
Y=100
n=0
while Y<X:
Y=int(Y*1.01)
n+=1
print(n) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,499 | 438,500 | u301679431 | python |
p02694 | 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) | 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) | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 438,512 | 438,513 | u978531093 | python |
p02694 | #!/usr/bin/env python3
# 初めて参照しました。
# ありがとう!
x = int(input())
p = 100
i = 0
while p < x:
p += p / 100
i += 1
print(i)
| #!/usr/bin/env python3
# 初めて参照しました。
# ありがとう!
x = int(input())
p = 100
i = 0
while p < x:
p += int(p / 100)
i += 1
print(i)
| [
"call.add",
"call.arguments.change"
] | 438,516 | 438,517 | u532955973 | python |
p02694 | X = int(input())
a = 100
n = 0
while a < X:
a = a * 1.01
n = n + 1
print(n)
| X = int(input())
a = 100
n = 0
while a < X:
a = int(a * 1.01)
n = n + 1
print(n)
| [
"call.add",
"call.arguments.change"
] | 438,522 | 438,523 | u248221744 | python |
p02694 | a=int(input())
c=0
N=100
while True:
N=int(N*1.01)
c+=1
if N > a:
print(c)
break | a=int(input())
c=0
N=100
while True:
N=int(N*1.01)
c+=1
if N >= a:
print(c)
break
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 438,542 | 438,543 | u355154595 | python |
p02694 | import math
X = int(input())
original = 100
n = 0
while True:
n+=1
original = math.ceil(original * 1.01)
if original >= X:
break
print(n) | X = int(input())
original = 100
n = 0
while True:
n+=1
original = int(original * 1.01)
if original >= X:
break
print(n)
| [
"assignment.value.change"
] | 438,544 | 438,545 | u750958070 | python |
p02694 | import math
X = int(input())
Takahashi_money =100
num = 0
while Takahashi_money <= X:
Takahashi_money = Takahashi_money * 1.01
Takahashi_money = math.floor(Takahashi_money)
num += 1
print(num) | import math
X = int(input())
Takahashi_money =100
num = 0
while Takahashi_money < X:
Takahashi_money = Takahashi_money * 1.01
Takahashi_money = math.floor(Takahashi_money)
num += 1
print(num) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,552 | 438,553 | u615576660 | python |
p02694 | import math
x = int(input())
ans = 100
cnt = 0
while True:
print(ans)
ans = math.floor(ans * 1.01)
cnt += 1
if ans >= x:
break
print(cnt)
| import math
x = int(input())
ans = 100
cnt = 0
while True:
ans = math.floor(ans * 1.01)
cnt += 1
if ans >= x:
break
print(cnt)
| [
"call.remove"
] | 438,556 | 438,557 | u763210820 | python |
p02694 | X = int(input())
b = 100
c = 0
while b < X:
b = b*1.01
c += 1
print(c)
| X = int(input())
b = 100
c = 0
while b < X:
b = int(b*1.01)
c += 1
print(c)
| [
"call.add",
"call.arguments.change"
] | 438,567 | 438,568 | u477448615 | python |
p02694 | X = input()
Money = 100
counter = 0
while int(X) > Money:
Money = Money*1.01
counter = counter + 1
print(counter) | X = input()
Money = 100
counter = 0
while int(X) > Money:
Money = int(Money*1.01)
counter = counter + 1
print(counter) | [
"call.add",
"call.arguments.change"
] | 438,577 | 438,578 | u496157893 | python |
p02694 | x = int(input())
ans = 100
i = 0
while ans < x:
ans *= 1.01
i += 1
print(i)
| x = int(input())
ans = 100
i = 0
while ans < x:
ans *= 1.01
ans = int(ans)
i += 1
print(i)
| [
"assignment.add"
] | 438,589 | 438,590 | u733774002 | python |
p02694 | X = int(input())
Y = 100
year = 0
while Y <= X:
Y = int(Y * 1.01)
year = year + 1
print(year) | X = int(input())
Y = 100
year = 0
while Y < X:
Y = int(Y * 1.01)
year = year + 1
print(year) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,599 | 438,600 | u648192617 | python |
p02694 | X = int(input())
A = 100
cnt = 0
while A <= X:
A = int(A * 1.01)
cnt += 1
print(cnt)
| X = int(input())
A = 100
cnt = 0
while A < X:
A = int(A * 1.01)
cnt += 1
print(cnt)
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,601 | 438,602 | u815878613 | python |
p02694 | x = int(input())
a = 100
i = 0
while a <= x:
i += 1
a = int(a * 1.01)
print(i) | x = int(input())
a = 100
i = 0
while a < x:
i += 1
a = int(a * 1.01)
print(i) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,627 | 438,628 | u593442720 | python |
p02694 | X = int(input())
ans = 100
count = 0
while ans < X:
ans = int(ans * 1.01)
count += 1
if ans > X:
print(count) | X = int(input())
ans = 100
count = 0
while ans < X:
ans = int(ans * 1.01)
count += 1
if ans >= X:
print(count) | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 438,641 | 438,642 | u961945062 | python |
p02694 | x = int(input())
y = 100
i=0
while True:
y = y + 0.01*y
i += 1
if y >= x:
print(i)
break | x = int(input())
y = 100
i=0
while True:
y = y + int(0.01*y)
i += 1
if y >= x:
print(i)
break | [
"call.add",
"call.arguments.change"
] | 438,645 | 438,646 | u989089752 | python |
p02694 | import math
X = int(input())
Z = 100
res = 0
while (X >= Z):
Z += Z*0.01
Z = math.floor(Z)
res += 1
print(res) | import math
X = int(input())
Z = 100
res = 0
while (X > Z):
Z += Z*0.01
Z = math.floor(Z)
res += 1
print(res) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,647 | 438,648 | u169678167 | python |
p02694 |
# Python 3
from sys import stdin, stdout
if __name__ == "__main__":
x = stdin.readline()
x = int(x)
curr = 101
ans = 1
while curr <= x:
curr *= 101
curr //= 100
ans += 1
stdout.write(str(ans) + '\n')
|
# Python 3
from sys import stdin, stdout
if __name__ == "__main__":
x = stdin.readline()
x = int(x)
curr = 101
ans = 1
while curr < x:
curr *= 101
curr //= 100
ans += 1
stdout.write(str(ans) + '\n')
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,660 | 438,661 | u036744580 | python |
p02694 | import math
X = int(input())
count = 0
res = 100
while res <= X:
count +=1
res = math.floor(1.01*res)
print(count) | import math
X = int(input())
count = 0
res = 100
while res < X:
count +=1
res = math.floor(1.01*res)
print(count) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,671 | 438,672 | u394352233 | python |
p02694 | x = int(input())
a = 100
count = 0
while a <= x:
a += int(a*0.01)
count += 1
print(count) | x = int(input())
a = 100
count = 0
while a < x:
a += int(a*0.01)
count += 1
print(count) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,673 | 438,674 | u849229491 | python |
p02694 | import math
X=int(input())
count = 0
a = 100
while True:
if a > X:
print(count)
break
else:
a = math.floor(a*1.01)
count= count+1 | import math
X=int(input())
count = 0
a = 100
while True:
if a >= X:
print(count)
break
else:
a = math.floor(a*1.01)
count= count+1 | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 438,691 | 438,692 | u765401716 | python |
p02694 | X=int(input())
count = 0
a = 100
while True:
if a > X:
print(count)
break
else:
a = math.floor(a*1.01)
count= count+1 | import math
X=int(input())
count = 0
a = 100
while True:
if a >= X:
print(count)
break
else:
a = math.floor(a*1.01)
count= count+1 | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 438,693 | 438,692 | u765401716 | python |
p02694 | from decimal import *
x=int(input())
c=0
m=100
while m<x:
m=Decimal(str(m))*Decimal('1.01')
c+=1
print(c) | from decimal import *
x=int(input())
c=0
m=100
while m<x:
m=Decimal(str(m))*Decimal('1.01')
m=int(m)
c+=1
print(c) | [
"assignment.add"
] | 438,697 | 438,698 | u706433263 | python |
p02694 | x=int(input())
sum=0
y=100
for i in range(15000):
y=int(y*1.01)
if y<=x:
sum+=1
else:
sum=sum
print(sum+1) | 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) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 438,699 | 438,700 | u068666298 | python |
p02694 | 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) | 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) | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 438,701 | 438,700 | u068666298 | python |
p02694 | 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)
| 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) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"call.add"
] | 438,702 | 438,700 | u068666298 | python |
p02694 | import math
a=int(input())
b=100
ans=0
while(1):
b += math.floor(b*0.01)
ans +=1
if(b>a):
break
print(ans)
| import math
a=int(input())
b=100
ans=0
while(1):
b += math.floor(b*0.01)
ans +=1
if(b>=a):
break
print(ans) | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 438,711 | 438,712 | u098436028 | python |
p02694 | x = int(input())
m = 100
i = 0.01
y = 0
flag = True
while flag:
m = math.floor(m*(1+i))
y += 1
if m >= x:
break
print(y) | import math
x = int(input())
m = 100
i = 0.01
y = 0
flag = True
while flag:
m = math.floor(m*(1+i))
y += 1
if m >= x:
break
print(y) | [] | 438,727 | 438,728 | u008608569 | python |
p02694 | X = int(input())
yen = 100
i = 0
def rishi(yen):
return int(yen * 1.01)
while 1:
i += 1
yen = rishi(yen)
if X < yen:
break
print(i) | X = int(input())
yen = 100
i = 0
def rishi(yen):
return int(yen * 1.01)
while 1:
i += 1
yen = rishi(yen)
if X <= yen:
break
print(i) | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 438,731 | 438,732 | u131925051 | python |
p02694 | a=int(input())
m=100
c=0
for i in range(2000):
m=int(m*1.01)
c=c+1
if m >= a:
break
print(c) | a=int(input())
m=100
c=0
for i in range(4000):
m=int(m*1.01)
c=c+1
if m >= a:
break
print(c) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 438,751 | 438,752 | u575534159 | python |
p02694 | X=int(input())
A=100
count=0
while A<X:
A=A*1.01
count+=1
print(count) | X=int(input())
A=100
count=0
while A<X:
A=int(A*1.01)
count+=1
print(count) | [
"call.add",
"call.arguments.change"
] | 438,753 | 438,754 | u179029337 | python |
p02694 | X = int(input())
b = 100
ans = 0
while b <= X:
b += int(b*0.01)
ans += 1
print(ans) | X = int(input())
b = 100
ans = 0
while b < X:
b += int(b*0.01)
ans += 1
print(ans) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,767 | 438,768 | u195177386 | python |
p02694 | import math
x=int(input())
m=100
ans=0
while m<=x:
m=math.floor(m*1.01)
ans+=1
print(ans)
| x=int(input())
m=100
ans=0
while m<x:
m=int(m*1.01)
ans+=1
print(ans)
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change",
"assignment.value.change"
] | 438,781 | 438,782 | u297089927 | python |
p02694 | x=int(input())
m=100
ans=0
while m<=x:
m=int(m*1.01)
ans+=1
print(ans)
| x=int(input())
m=100
ans=0
while m<x:
m=int(m*1.01)
ans+=1
print(ans)
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,783 | 438,782 | u297089927 | python |
p02694 | x = int(input());
count = 0;
v = 100;
while(v <= x):
r = int(v * 0.01);
v += r;
count += 1;
print(count); | x = int(input());
count = 0;
v = 100;
while(v < x):
r = int(v * 0.01);
v += r;
count += 1;
print(count); | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,800 | 438,801 | u697634943 | python |
p02694 | x = int(input());
count = 0;
v = 100;
while(v <= x):
r = v * 0.01;
v += r;
count += 1;
print(count); | x = int(input());
count = 0;
v = 100;
while(v < x):
r = int(v * 0.01);
v += r;
count += 1;
print(count); | [
"expression.operator.compare.change",
"control_flow.loop.condition.change",
"call.add",
"call.arguments.change"
] | 438,802 | 438,801 | u697634943 | python |
p02694 | 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 | 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 | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 438,831 | 438,832 | u141190115 | python |
p02694 |
def over(X, start=100):
i = 0
current = start
while True:
i += 1
current += current // 100
if current > X:
return i
def main():
X = int(input())
result = over(X, 100)
print(result)
if __name__ == '__main__':
main() |
def over(X, start=100):
i = 0
current = start
while True:
i += 1
current += current // 100
if current >= X:
return i
def main():
X = int(input())
result = over(X, 100)
print(result)
if __name__ == '__main__':
main() | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 438,859 | 438,860 | u476674874 | python |
p02694 | x = int(input())
Counter = 0
Amount = 100
while (Amount < x):
simpleInterest = finalAmount // 100
Amount += simpleInterest
Counter += 1
print(Counter) | x = int(input())
timeCounter = 0
finalAmount = 100
while (finalAmount < x):
simpleInterest = finalAmount // 100
finalAmount += simpleInterest
timeCounter += 1
print(timeCounter) | [
"assignment.variable.change",
"identifier.change",
"control_flow.loop.condition.change",
"call.arguments.change",
"io.output.change"
] | 438,868 | 438,869 | u096446417 | python |
p02694 | num = int(input())
year = 0
cash = 100
while(True):
cash += int(cash/100)
year+=1
if(num < cash):
print(year)
break
| num = int(input())
year = 0
cash = 100
while(True):
cash += int(cash/100)
year+=1
if(num <= cash):
print(year)
break
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 438,880 | 438,881 | u382169668 | python |
p02694 | x = int(input())
wk =100
i=0
while x >wk:
wk += wk*0.01
i+=1
print(i) | x = int(input())
wk =100
i=0
while x >wk:
wk += int(wk*0.01)
i+=1
print(i) | [
"call.add",
"call.arguments.change"
] | 438,888 | 438,889 | u094425865 | python |
p02694 | x = int(input())
t, ans = 100, 0
while t < x:
t += int(t * (1.01))
ans += 1
print(ans) | x = int(input())
t, ans = 100, 0
while t < x:
t = int(t * (1.01))
ans += 1
print(ans) | [
"assignment.value.change"
] | 438,902 | 438,903 | u955865184 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.