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 |
|---|---|---|---|---|---|---|---|
p02693 | k = int(input())
a, b = map(int, input().split())
flag =False
for i in range(a,b+1):
if i%k==0:
flag=True
if flag:
print('Yes')
else:
print('No') | k = int(input())
a, b = map(int, input().split())
flag =False
for i in range(a,b+1):
if i%k==0:
flag=True
if flag:
print('OK')
else:
print('NG') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 436,710 | 436,711 | u802234509 | python |
p02693 | k = int(input())
a,b = map(int,input().split())
flag = 0
for i in range(a,b+1,1):
if i % k ==0 and flag ==0:
print('OK')
flag = 1
if flag ==0:
print('NO') | k = int(input())
a,b = map(int,input().split())
flag = 0
for i in range(a,b+1,1):
if i % k ==0 and flag ==0:
print('OK')
flag = 1
if flag ==0:
print('NG') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 436,712 | 436,713 | u400221789 | python |
p02693 | def main():
K = int(input())
A, B = list(map(int, input().split(' ')))
for i in range(A-10, B+10):
if i % K == 0:
print('OK')
return
print('NG')
main() | def main():
K = int(input())
A, B = list(map(int, input().split(' ')))
for i in range(A, B+1):
if i % K == 0:
print('OK')
return
print('NG')
main() | [
"expression.operation.binary.remove",
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"control_flow.loop.range.bounds.upper.change"
] | 436,716 | 436,717 | u485716382 | python |
p02693 | def main():
K = int(input())
A, B = list(map(int, input().split(' ')))
for i in range(A, B):
if i % K == 0:
print('OK')
return
print('NG')
main() | def main():
K = int(input())
A, B = list(map(int, input().split(' ')))
for i in range(A, B+1):
if i % K == 0:
print('OK')
return
print('NG')
main() | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 436,718 | 436,717 | u485716382 | python |
p02693 | import sys
sys.setrecursionlimit(10**8)
def ii(): return int(sys.stdin.readline())
def mi(): return map(int, sys.stdin.readline().split())
def li(): return list(map(int, sys.stdin.readline().split()))
def li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)]
def dp2(ini, i, j): return [[ini]*i... | import sys
sys.setrecursionlimit(10**8)
def ii(): return int(sys.stdin.readline())
def mi(): return map(int, sys.stdin.readline().split())
def li(): return list(map(int, sys.stdin.readline().split()))
def li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)]
def dp2(ini, i, j): return [[ini]*i... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 436,723 | 436,724 | u744920373 | python |
p02693 | k=int(input())
a,b = list(map(int,input().split()))
v1 = (a+k-1)//k
v2 = (b+k-1)//k
if(v1<=v2):
print("OK")
else:
print("NG")
| k=int(input())
a,b = list(map(int,input().split()))
v1 = (a+k-1)//k
v2 = (b)//k
# print(v1,v2)
if(v1<=v2):
print("OK")
else:
print("NG") | [
"expression.operation.binary.remove"
] | 436,736 | 436,737 | u251899209 | python |
p02693 | k = int(input())
a, b = list(map(int, input().split()))
for i in range(a,b):
if i%k==0:
print('OK')
exit()
print('NG') | k = int(input())
a, b = list(map(int, input().split()))
for i in range(a,b+1):
if i%k==0:
print('OK')
exit()
print('NG') | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 436,766 | 436,767 | u299791633 | python |
p02693 | import sys
from math import ceil, floor, sqrt, sin, cos, pi
from itertools import accumulate, permutations, combinations
from math import gcd # 最大公約数
from collections import deque, Counter
from operator import itemgetter
from heapq import heappop,heappush
sys.setrecursionlimit(10**7)
def lcm(x, y): return ((x * y) // g... | import sys
from math import ceil, floor, sqrt, sin, cos, pi
from itertools import accumulate, permutations, combinations
from math import gcd # 最大公約数
from collections import deque, Counter
from operator import itemgetter
from heapq import heappop,heappush
sys.setrecursionlimit(10**7)
def lcm(x, y): return ((x * y) // g... | [
"call.arguments.change",
"call.arguments.add"
] | 436,772 | 436,773 | u330169562 | python |
p02693 | import sys
K = int(input())
A,B = map(int,input().split())
for i in range(A,B+1):
if i // K == 0:
print("OK")
sys.exit()
print('NG') | import sys
K = int(input())
A,B = map(int,input().split())
for i in range(A,B+1):
if i % K == 0:
print("OK")
sys.exit()
print('NG') | [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 436,790 | 436,791 | u250828304 | python |
p02693 | K = int(input())
A,B = map(int,input().split())
ans = "NG"
for i in range(A,B+1):
if i % K == 0:
ans = "Yes"
print(ans) | K = int(input())
A,B = map(int,input().split())
ans = "NG"
for i in range(A,B+1):
if i % K == 0:
ans = "OK"
print(ans) | [
"literal.string.change",
"assignment.value.change"
] | 436,810 | 436,811 | u376099073 | python |
p02693 | K = int(input())
A, B = map(int, input().split())
for i in range(A, B+1):
if i % K == 0:
print('Yes')
break
else:
print('No') | K = int(input())
A, B = map(int, input().split())
for i in range(A, B+1):
if i % K == 0:
print('OK')
break
else:
print('NG') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 436,812 | 436,813 | u223663729 | python |
p02693 | K=int(input())
A,B=map(int,input().split())
for i in range(A,B+1):
if i%K==0:
print("Yes")
break
else:
print("No") | K=int(input())
A,B=map(int,input().split())
for i in range(A,B+1):
if i%K==0:
print("OK")
break
else:
print("NG")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 436,820 | 436,821 | u203843959 | python |
p02693 | N = int(input())
A, B = map(int, input().split())
for i in range(A, B+1):
if i % i == 0:
print("OK")
exit()
print("NG")
| N = int(input())
A, B = map(int, input().split())
for i in range(A, B+1):
if i % N == 0:
print("OK")
exit()
print("NG")
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 436,828 | 436,829 | u552746936 | python |
p02693 | k = int(input())
a, b = [int(i) for i in input().split()]
if b // k - a // k > 0:
print('OK')
else:
print("NG") | k = int(input())
a, b = [int(i) for i in input().split()]
if b // k - (a-1) // k > 0:
print('OK')
else:
print("NG") | [
"control_flow.branch.if.condition.change"
] | 436,838 | 436,839 | u571969099 | python |
p02693 | # -*- coding: utf-8 -*-
import sys
import math
import os
import itertools
import string
import heapq
import _collections
from collections import Counter
from collections import defaultdict
from functools import lru_cache
import bisect
import re
import queue
from decimal import *
class Scanner():
@staticmethod
... | # -*- coding: utf-8 -*-
import sys
import math
import os
import itertools
import string
import heapq
import _collections
from collections import Counter
from collections import defaultdict
from functools import lru_cache
import bisect
import re
import queue
from decimal import *
class Scanner():
@staticmethod
... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 436,840 | 436,841 | u303039933 | python |
p02694 |
x = int(input())
count = 0
a = 100
while a <= x:
a += a//100
count += 1
print(count)
|
x = int(input())
count = 0
a = 100
while a < x:
a += a//100
count += 1
print(count)
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 436,849 | 436,850 | u421674761 | python |
p02694 | x=int(input())
yo=100
n=0
while x>yo:
yo+=yo/100
n+=1
print(n)
| x=int(input())
yo=100
n=0
while x>yo:
yo+=yo//100
n+=1
print(n) | [
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 436,859 | 436,860 | u268314634 | python |
p02694 | X = int(input())
G = 100
after_year = 0
while X > G:
G += G // 100
print(G)
after_year += 1
print(after_year) | X = int(input())
G = 100
after_year = 0
while X > G:
G += G // 100
after_year += 1
print(after_year) | [
"call.remove"
] | 436,861 | 436,862 | u221940831 | python |
p02694 | a=int(input())
i=100
f=0
while i<a:
i=i*1.01
f=f+1
print(f) | a=int(input())
i=100
f=0
while i<a:
i=i+i//100
f=f+1
print(f) | [
"assignment.change"
] | 436,883 | 436,880 | u244836567 | python |
p02694 | x = int(input())
money = 100
count = 0
while money <= x:
money = (money * 101) // 100
count += 1
print(count) | x = int(input())
money = 100
count = 0
while money < x:
money = (money * 101) // 100
count += 1
print(count) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 436,886 | 436,887 | u003505857 | python |
p02693 | k=int(input())
a,b=map(int,input().split())
print('Yes' if a//k-b//k or a%k==0 else 'No') | k=int(input())
a,b=map(int,input().split())
print('OK' if a//k-b//k or a%k==0 else 'NG')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 436,983 | 436,984 | u060793972 | python |
p02693 | n = int(input())
a,b = map(int, input().split(' '))
for i in range(a,b+1):
if i % n == 0:
print('Yes')
break
else:
print('No') | n = int(input())
a,b = map(int, input().split(' '))
for i in range(a,b+1):
if i % n == 0:
print('OK')
break
else:
print('NG') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 436,985 | 436,986 | u180528413 | python |
p02693 | k = int(input())
a,b = map(int,input().split())
for i in range(a, b+1):
if k % i == 0:
print("OK")
exit()
print("NG") | k = int(input())
a,b = map(int,input().split())
for i in range(a, b+1):
if i % k == 0:
print("OK")
exit()
print("NG") | [
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 436,997 | 436,998 | u770077083 | python |
p02693 | K = int(input())
a,b = map(int,(input().split()))
for i in range(a,b+1):
if i%K == 0:
print("Yes")
break
else:
print("NG") | K = int(input())
a,b = map(int,(input().split()))
for i in range(a,b+1):
if i%K == 0:
print("OK")
break
else:
print("NG") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 437,014 | 437,015 | u397384480 | python |
p02694 | X = int(input())
yen = 100
ret = 0
while yen<X:
yen = 101*yen/100
ret += 1
print(ret) | X = int(input())
yen = 100
ret = 0
while yen<X:
yen = 101*yen//100
ret += 1
print(ret)
| [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 437,046 | 437,047 | u292813062 | python |
p02694 | x=int(input())
i=0
X=100
while x>=X:
X=X*1.01//1
i+=1
print(i) | x=int(input())
i=0
X=100
while x>X:
X=X+X//100
i+=1
print(i) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change",
"literal.number.integer.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 437,063 | 437,064 | u500673386 | python |
p02694 | X = int(input())
m = 100
a = 0
while m < X:
m = m + m * 0.01
a += 1
print(a) | X = int(input())
m = 100
a = 0
while m < X:
m = m + m // 100
a += 1
print(a) | [] | 437,068 | 437,069 | u627674248 | python |
p02694 | x=int(input())
i=100
j=0
while i<x:
i+=i/100
j+=1
print(j)
| x=int(input())
i=100
j=0
while i<x:
i+=i//100
j+=1
print(j)
| [
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 437,079 | 437,080 | u456376495 | python |
p02694 | a=int(input())
c=100
x=0
while c<=a:
c=c+c//100
x=x+1
print(x) | a=int(input())
c=100
x=0
while c<a:
c=c+c//100
x=x+1
print(x) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,081 | 437,082 | u021849254 | python |
p02694 | k=int(input())
x=100
count=0
while True:
x+=(x/100)
count+=1
if (x>k) or (x==k):
break
print(count) | k=int(input())
x=100
count=0
while True:
x+=x//100
count+=1
if (x>k) or (x==k):
break
print(count)
| [
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 437,103 | 437,104 | u547537397 | python |
p02694 | x=int(input())
de=100
count=0
while de<x:
count+=1
de*=1.01
print(count) | x=int(input())
de=100
count=0
while de<x:
count+=1
de+=de//100
print(count) | [
"expression.operation.binary.add"
] | 437,123 | 437,122 | u125348436 | python |
p02694 | x = int(input())
ans = 0
m = 100
while m<=x:
ans += 1
m += m//100
print(ans)
| x = int(input())
ans = 0
m = 100
while m<x:
ans += 1
m += m//100
print(ans) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,138 | 437,139 | u247442310 | python |
p02694 | x = int(input())
y = 100
ans = 0
while y < x:
y = y*1.01
ans += 1
print(ans) | x = int(input())
y = 100
ans = 0
while y < x:
y += y//100
ans += 1
print(ans) | [
"assignment.remove",
"expression.operation.binary.add"
] | 437,159 | 437,160 | u088821409 | python |
p02694 | X = int(input())
i = 100
cnt = 0
while i<X:
i =i*101//1
cnt += 1
print(cnt) | X = int(input())
i = 100
cnt = 0
while i<X:
i =i*1.01//1
cnt += 1
print(cnt) | [
"assignment.value.change",
"expression.operation.binary.change"
] | 437,163 | 437,164 | u615590527 | python |
p02694 | x = int(input())
m = 100
ans = 0
while m <= x:
m += m//100
ans += 1
print(ans) | x = int(input())
m = 100
ans = 0
while m < x:
m += m//100
ans += 1
print(ans) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,172 | 437,173 | u666964944 | python |
p02694 | 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()
| 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()
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,179 | 437,180 | u938350027 | python |
p02694 | import math
def main():
deposit = 100
X = int(input())
year = 0
while X > deposit:
deposit*=1.01
year +=1
print(year)
if __name__ == "__main__":
main()
| 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()
| [
"assignment.value.change",
"call.add",
"call.arguments.change"
] | 437,181 | 437,180 | u938350027 | python |
p02694 | x = int(input())
y = 100
count = 0
while (True):
if y <= x:
y *= 1.01
y = int(y)
count += 1
else:
break
print(count) | x = int(input())
y = 100
count = 0
while (True):
if y < x:
y *= 1.01
y = int(y)
count += 1
else:
break
print(count) | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 437,184 | 437,185 | u745861782 | python |
p02694 | 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) | 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) | [
"expression.operation.binary.remove"
] | 437,202 | 437,203 | u366424761 | python |
p02694 | import math
X = int(input())
yen = 100
n = 1
while yen < X:
n = n + 1
yen = math.floor(yen*1.01*n)
if X <= yen:
print(n) | 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) | [
"literal.number.integer.change",
"assignment.value.change",
"expression.operation.binary.remove"
] | 437,204 | 437,203 | u366424761 | python |
p02694 | import math
x=int(input())
n=0
start=100
while True:
n+=1
start+=start/100
start=math.floor(start)
if start>=x:
print(start)
print(n)
break | import math
x=int(input())
n=0
start=100
while True:
n+=1
start+=start/100
start=math.floor(start)
if start>=x:
print(n)
break | [
"call.remove"
] | 437,212 | 437,213 | u516579758 | python |
p02694 | x = int(input())
n, y = 100, 0
while n < x:
n = n * 1.01
y = y + 1
print(y) | x = int(input())
n, y = 100, 0
while n < x:
n = n * 101 // 100
y = y + 1
print(y) | [
"assignment.value.change",
"expression.operation.binary.change"
] | 437,241 | 437,242 | u629540524 | python |
p02694 | X = int(input())
year = 0
money = 100
while money < X:
money = money * 1.01
year += 1
print(year) | X = int(input())
year = 0
money = 100
while money < X:
money = int(money * 1.01)
year += 1
print(year) | [
"call.add",
"call.arguments.change"
] | 437,261 | 437,262 | u966207392 | python |
p02694 | X = int(input())
money = 100
year = 0
while True:
if money > X:
print(year)
break
else:
money = int(money*1.01)
year += 1 | X = int(input())
money = 100
year = 0
while True:
if money >= X:
print(year)
break
else:
money = money + int(money*0.01)
year += 1 | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.number.float.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 437,289 | 437,290 | u258325541 | python |
p02694 | x = int(input())
year = 0
num = 100
while num < x:
num = num * 1.01
year += 1
print(year) | x = int(input())
year = 0
num = 100
while num < x:
num = num * 1.01
year += 1
num = int(num)
print(year) | [
"assignment.add"
] | 437,291 | 437,292 | u507145838 | python |
p02694 | i = 0
x = int(input())
y = 100
while x >= y:
y = int(y * 101 /100)
i += 1
print(i)
| i = 0
x = int(input())
y = 100
while x > y:
y = int(y * 101 /100)
i += 1
print(i)
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,297 | 437,298 | u955474478 | python |
p02694 | i = 0
x = input()
y = 100
while x >= y:
y = int(y * 101 /100)
i += 1
print(i) | i = 0
x = int(input())
y = 100
while x > y:
y = int(y * 101 /100)
i += 1
print(i)
| [
"call.add",
"call.arguments.change",
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,299 | 437,298 | u955474478 | python |
p02694 | goal = int(input())
count = 0
money = 100
while money < goal:
count += 1
money = int(money**1.01)
print(count) | goal = int(input())
count = 0
money = 100
while money < goal:
count += 1
money = int(money*1.01)
print(count) | [
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 437,321 | 437,322 | u842028864 | python |
p02694 | import math
X=int(input())
count=0
# count=float(count)
atcor=100
atcor=int(atcor)
while True:
if atcor>X:
print(count)
break
else:
p=atcor/100
atcor=atcor+p
atcor=math.floor(atcor)
count+=1
| import math
X=int(input())
count=0
# count=float(count)
atcor=100
atcor=int(atcor)
while True:
if atcor>=X:
print(count)
break
else:
p=atcor/100
atcor=atcor+p
atcor=math.floor(atcor)
count+=1
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 437,328 | 437,329 | u631330477 | python |
p02694 | x=int(input())
total=100
years=0
while total<x:
total*=1.01
years+=1
print(years) | x=int(input())
total=100
years=0
while total<x:
total*=1.01
years+=1
total=total//1
print(years)
| [
"assignment.add"
] | 437,334 | 437,335 | u350093546 | python |
p02694 | x=int(input())
total=100
years=0
while total<x:
total*=1.01
years+=1
print(years) | x=int(input())
total=100
years=0
while total<x:
total*=1.01
years+=1
total=int(total)
print(years)
| [
"assignment.add"
] | 437,334 | 437,336 | u350093546 | python |
p02694 | X = int(input())
money = 100
count = 0
while money < X:
count += 1
money = int(money * 1.01)
print(money)
print(count)
| X = int(input())
money = 100
count = 0
while money < X:
count += 1
money = int(money * 1.01)
print(count)
| [
"call.remove"
] | 437,347 | 437,348 | u282676559 | python |
p02694 | X = int(input())
money = 100
count = 0
while money <= X:
count += 1
money = int(money * 1.01)
print(count)
| X = int(input())
money = 100
count = 0
while money < X:
count += 1
money = int(money * 1.01)
print(count)
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,349 | 437,348 | u282676559 | python |
p02694 | X=int(input())
count=0
i = 100
while X>=i:
i = int(i * (1+0.01))
count = count +1
print(count) | X=int(input())
count=0
i = 100
while X>i:
i = int(i * (1+0.01))
count = count +1
print(count) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,353 | 437,354 | u266675845 | python |
p02694 | X=int(input())
count=0
i = 100
while X>=i:
i = i * (1+0.01)
count = count +1
print(count) | X=int(input())
count=0
i = 100
while X>i:
i = int(i * (1+0.01))
count = count +1
print(count) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change",
"call.add",
"call.arguments.change"
] | 437,356 | 437,354 | u266675845 | python |
p02694 | X=int(input())
count=0
i = 100
while X>i:
i = i * (1+0.01)
count = count +1
print(count) | X=int(input())
count=0
i = 100
while X>i:
i = int(i * (1+0.01))
count = count +1
print(count) | [
"call.add",
"call.arguments.change"
] | 437,357 | 437,354 | u266675845 | python |
p02694 | X=int(input())
year = 0
deposit = 100
while deposit < x :
deposit = deposit*101//100
year += 1
print(year)
| X=int(input())
year = 0
deposit = 100
while deposit < X :
deposit = deposit*101//100
year += 1
print(year)
| [
"identifier.change",
"control_flow.loop.condition.change"
] | 437,375 | 437,376 | u027557357 | python |
p02694 | X=int(input())
year = 0
deposit = 100
while deposit < x :
deposit+=deposit*101//100
year += 1
print(year)
| X=int(input())
year = 0
deposit = 100
while deposit < X :
deposit = deposit*101//100
year += 1
print(year)
| [
"identifier.change",
"control_flow.loop.condition.change",
"assignment.value.change"
] | 437,377 | 437,376 | u027557357 | python |
p02694 |
x=int(input())
c=0
k=100
while(k<x):
k+=k//100
print(k)
c+=1
print(c) | x=int(input())
c=0
k=100
while(k<x):
k+=k//100
c+=1
print(c) | [
"call.remove"
] | 437,378 | 437,379 | u491510415 | python |
p02694 | x=int(input())
c=0
k=100
while(k<x):
k+=k/100
print(k)
c+=1
print(c) | x=int(input())
c=0
k=100
while(k<x):
k+=k//100
c+=1
print(c) | [
"expression.operator.arithmetic.change",
"expression.operation.binary.change",
"call.remove"
] | 437,380 | 437,379 | u491510415 | python |
p02694 | x = int(input())
year = 0
money = 100
while(True):
money *= 1.01
money = money // 1
year += 1
if(money > x):
break
print(str(year))
| x = int(input())
year = 0
money = 100
while(True):
money *= 1.01
money = money // 1
year += 1
if(money >= x):
break
print(str(year))
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 437,385 | 437,386 | u749742659 | python |
p02694 | goal = int(input())
deposit = 100
year = 0
while deposit <= goal:
deposit = int(deposit * 1.01)
year += 1
print(year)
| goal = int(input())
deposit = 100
year = 0
while deposit < goal:
deposit = int(deposit * 1.01)
year += 1
print(year)
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,393 | 437,394 | u187798720 | python |
p02694 | X = int(input())
year = 0
deposit = 100
if deposit < X:
deposit = deposit*101//100
year += 1
print(year) | X = int(input())
year = 0
deposit = 100
while deposit < X:
deposit = deposit*101//100
year += 1
print(year) | [
"control_flow.branch.while.replace.add",
"control_flow.loop.if.replace.remove"
] | 437,395 | 437,396 | u895040371 | python |
p02694 | # -*- coding: <encoding name> -*-
x = int(input())
deposit = 100
year = 0
while deposit < x:
year += 1
deposit += deposit * 0.01
print(year) | # -*- coding: <encoding name> -*-
x = int(input())
deposit = 100
year = 0
while deposit < x:
year += 1
deposit = deposit * 101 // 100
print(year) | [
"assignment.value.change",
"expression.operation.binary.change"
] | 437,397 | 437,398 | u730710086 | python |
p02694 | x = int(input())
c = 100
r = 0
while c <= x:
c = int(c*1.01)
r += 1
print(r) | x = int(input())
c = 100
r = 0
while c < x:
c = c + int(c*0.01)
r += 1
print(r) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change",
"literal.number.float.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 437,409 | 437,410 | u022215787 | python |
p02694 | X = int(input())
year = 0
money = 100
while money > X:
year += 1
money = int(money*1.01)
print(int(year)) | X = int(input())
year = 0
money = 100
while money < X:
year += 1
money = int(money*1.01)
print(int(year)) | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,411 | 437,412 | u262481526 | python |
p02694 | X = int(input())
Deposit = 100
ans = 0
while Deposit < X:
Deposit *= 1.01
ans += 1
print(ans) | X = int(input())
Deposit = 100
ans = 0
while Deposit < X:
Deposit = int(Deposit * 1.01)
ans += 1
print(ans) | [
"assignment.value.change",
"call.add",
"call.arguments.change"
] | 437,418 | 437,419 | u021387650 | python |
p02694 | x=int(input())
a=100
b=0
while a<x:
a=a*1.01
b+=1
print(b) | x=int(input())
a=100
b=0
while a<x:
a=int(a*1.01)
b+=1
print(b)
| [
"call.add",
"call.arguments.change"
] | 437,424 | 437,425 | u224989615 | python |
p02694 | X=int(input())
n=0
money=100
while money<=10**19:
if money<=X :
money=int(money*1.01)
n=n+1
else :
print(n)
break | X=int(input())
n=0
money=100
while money<=10**19:
if money<X :
money=int(money*1.01)
n=n+1
else :
print(n)
break | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 437,426 | 437,427 | u768890894 | python |
p02694 | X=int(input())
n=0
money=100
while money<=10**18 :
if money<=X :
money=int(money*1.01)
n=n+1
else :
print(n)
break | X=int(input())
n=0
money=100
while money<=10**19:
if money<X :
money=int(money*1.01)
n=n+1
else :
print(n)
break | [
"literal.number.integer.change",
"control_flow.loop.condition.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 437,428 | 437,427 | u768890894 | python |
p02694 | a = int(input())
i = 0
t = 100
while 1:
t = int(t * 1.01)
i += 1
if t > a:
break
print(i) | a = int(input())
i = 0
t = 100
while 1:
t = int(t * 1.01)
i += 1
if t >= a:
break
print(i) | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 437,431 | 437,432 | u722761145 | python |
p02694 | X = int(input())
bank = 100
year = 0
while bank > X:
bank = bank * 101 // 100
year += 1
print(year) | X = int(input())
bank = 100
year = 0
while bank < X:
bank = bank * 101 // 100
year += 1
print(year) | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,439 | 437,440 | u019075898 | python |
p02694 | X = int(input())
start = 100
i = 0
while True:
i += 1
start += start * 0.01
start = int(start)
if start > X:
print(i)
break | X = int(input())
start = 100
i = 0
while True:
i += 1
start += start * 0.01
start = int(start)
if start >= X:
print(i)
break | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 437,447 | 437,448 | u279735925 | python |
p02694 | # coding: utf-8
# Your code here!
n=int(input())
z=100
i=0
while z<=n:
z=z*(1.01)
z=z//1
i+=1
print(i)
| # coding: utf-8
# Your code here!
n=int(input())
z=100
i=0
while z<n:
z=z*(1.01)
z=z//1
i+=1
#print(z)
print(i)
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,456 | 437,457 | u727787724 | python |
p02694 | import math
X = int(input())
A = 100
i = 0
while X >= A:
A = math.floor(A * 1.01)
i += 1
print(i) | import math
X = int(input())
A = 100
i = 0
while X > A:
A = math.floor(A * 1.01)
i += 1
print(i) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,458 | 437,459 | u861886710 | python |
p02694 | def actual(x):
amount = 100
count = 0
while True:
amount *= 1.01
amount = math.floor(amount)
count += 1
if amount >= x:
return count
x = int(input())
print(actual(x)) | import math
def actual(x):
amount = 100
count = 0
while True:
amount *= 1.01
amount = math.floor(amount)
count += 1
if amount >= x:
return count
x = int(input())
print(actual(x))
| [] | 437,484 | 437,485 | u717839182 | python |
p02694 | X = int(input())
money = 100
yr = 0
while money <= X:
money += int(money*0.01)
yr += 1
print(yr) | X = int(input())
money = 100
yr = 0
while money < X:
money += int(money*0.01)
yr += 1
print(yr) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,493 | 437,494 | u690040890 | python |
p02694 | import math
x = int(input())
orig = 100
counter = 0
while orig <= x:
orig = math.floor(orig * 1.01)
counter += 1
print(counter)
| import math
x = int(input())
orig = 100
counter = 0
while orig < x:
orig = math.floor(orig * 1.01)
counter += 1
print(counter)
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 437,504 | 437,505 | u059487235 | python |
p02694 | K =int(input())
B = 100
C = []
while (B<K):
B = int(B*1.01)
print(B)
C.append(B)
c = len(C)
print(c)
| K =int(input())
B = 100
C = []
while (B<K):
B = int(B*1.01)
C.append(B)
c = len(C)
print(c)
| [
"call.remove"
] | 437,506 | 437,507 | u753854665 | python |
p02694 | x = int(input())
i = 0
a = 100
while a < x:
a += a/100
i += 1
print(i)
| x = int(input())
i = 0
a = 100
while a < x:
a += a//100
i += 1
print(i)
| [
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 437,508 | 437,509 | u250944591 | python |
p02694 | money = 100
X = int(input())
years = 0
while True:
if money >= X:
print(years)
break
money = money * 1.01
years = years + 1
| money = 100
X = int(input())
years = 0
while True:
if money >= X:
print(years)
break
money = int(money * 1.01)
years = years + 1
| [
"call.add",
"call.arguments.change"
] | 437,527 | 437,528 | u430336181 | python |
p02694 | money = 100
X = int(input())
years = 0
while True:
if money >= X:
print(years)
break
money = round(money * 1.01)
years = years + 1
| money = 100
X = int(input())
years = 0
while True:
if money >= X:
print(years)
break
money = int(money * 1.01)
years = years + 1
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 437,529 | 437,528 | u430336181 | python |
p02694 | money = 100
X = int(input())
years = 0
while True:
if money > X:
print(years)
break
money = round(money * 1.01)
years = years + 1
| money = 100
X = int(input())
years = 0
while True:
if money >= X:
print(years)
break
money = int(money * 1.01)
years = years + 1
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 437,530 | 437,528 | u430336181 | python |
p02694 | X = int(input())
count = 0
money = 100
while True:
money *= 1.01
count += 1
if money >= X:
print(count)
break
| X = int(input())
count = 0
money = 100
while True:
money = int(money * 1.01)
count += 1
if money >= X:
print(count)
break
| [
"assignment.value.change",
"call.add",
"call.arguments.change"
] | 437,531 | 437,532 | u610120522 | python |
p02694 | X = int(input())
count = 0
money = 100
while Ture:
money = int(money * 1.01)
count += 1
if money >= X:
print(count)
break
| X = int(input())
count = 0
money = 100
while True:
money = int(money * 1.01)
count += 1
if money >= X:
print(count)
break
| [
"control_flow.loop.condition.change"
] | 437,534 | 437,532 | u610120522 | python |
p02694 | X = int(input())
count = 0
money = 100
while Ture:
money = int(money * 1.01)
count += 1
if money >= X:
print(count)
break
| X = int(input())
count = 0
money = int(100)
while True:
money = int(money * 1.01)
count += 1
if money >= X:
print(count)
break
| [
"call.add",
"call.arguments.change",
"control_flow.loop.condition.change"
] | 437,534 | 437,535 | u610120522 | python |
p02694 | b1= float(input())
b2 = float(100)
for i in range (1,10^18):
b2 =int( b2 * 1.01)
if b2 <= b1 :
continue
else : break
print(i)
| b1= float(input())
b2 = float(100)
for i in range (1,10**18):
b2 =int( b2 * 1.01)
if b2 < b1 :
continue
else : break
print(i)
| [
"call.arguments.change",
"expression.operation.binary.change",
"control_flow.loop.range.bounds.upper.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 437,544 | 437,545 | u078527650 | python |
p02694 | b1= float(input())
b2 = float(100)
for i in range (1,100000000):
b2 =int( b2 * 1.01)
if b2 <= b1 :
continue
else : break
print(i)
| b1= float(input())
b2 = float(100)
for i in range (1,10**18):
b2 =int( b2 * 1.01)
if b2 < b1 :
continue
else : break
print(i)
| [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 437,546 | 437,545 | u078527650 | python |
p02694 | X = int(input())
money = 100
year = 0
while X > money:
year += 1
money += (money * 101) // 100
print(year)
| X = int(input())
money = 100
year = 0
while X > money:
year += 1
money = (money * 101) // 100
print(year) | [
"assignment.value.change"
] | 437,591 | 437,592 | u898109279 | python |
p02694 | X = int(input())
money = 100
year = 0
while X > money:
year += 1
money += money * 101 // 100
print(year)
| X = int(input())
money = 100
year = 0
while X > money:
year += 1
money = (money * 101) // 100
print(year) | [
"assignment.value.change"
] | 437,593 | 437,592 | u898109279 | python |
p02694 | import sys
read = sys.stdin.readline
import time
import math
import itertools as it
def inp():
return int(input())
def inpl():
return list(map(int, input().split()))
start_time = time.perf_counter()
# ------------------------------
X = inp()
yen = 100
for i in range(10**4):
yen += (yen // 100)
if yen >... | import sys
read = sys.stdin.readline
import time
import math
import itertools as it
def inp():
return int(input())
def inpl():
return list(map(int, input().split()))
start_time = time.perf_counter()
# ------------------------------
X = inp()
yen = 100
for i in range(10**4):
yen += (yen // 100)
if yen >... | [
"expression.operation.binary.add"
] | 437,627 | 437,628 | u242580186 | python |
p02694 | x = int(input())
m = 100
import math
count = 0
while m < x:
m += m / 100
count += 1
print(count) | x = int(input())
m = 100
count = 0
while m < x:
m += m // 100
count += 1
print(count)
| [
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 437,629 | 437,630 | u581403769 | python |
p02694 | X =int(input())
Now_Rate = 100
Counter = 0
while Now_Rate < X:
Now_Rate = Now_Rate*1.01
Counter += 1
print(Counter) |
X =int(input())
Now_Rate = 100
Counter = 0
while Now_Rate < X:
Now_Rate += Now_Rate//100
Counter += 1
print(Counter)
| [
"assignment.remove",
"expression.operation.binary.add"
] | 437,642 | 437,643 | u773686010 | python |
p02694 | x=int(input())
s=100
count=0
while x>s:
s+=s/100
count+=1
print(count) | x=int(input())
s=100
count=0
while x>s:
s+=s//100
count+=1
print(count) | [
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 437,658 | 437,659 | u921617614 | python |
p02694 | from math import *
x = int(input())
a = 100
b = 0
while a < x:
a+=a/100
b+=1
print(b)
| from math import *
x = int(input())
a = 100
b = 0
while a < x:
a += a//100
b+=1
print(b)
| [
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 437,684 | 437,685 | u084411645 | python |
p02694 | X = int(input())
k = 0
res = 100
for i in range (1, 4200):
res += res * 0.01
if res >= X:
k = i
break
print(k) | X = int(input())
k = 0
res = 100
for i in range (1, 4200):
res += res // 100
if res >= X:
k = i
break
print(k) | [] | 437,700 | 437,701 | u113255362 | python |
p02694 | x = 500
# x = int(input())
n = 100
y = 0
while n < x:
n = (n*101)//100
y += 1
print(y) | x = int(input())
n = 100
y = 0
while n < x:
n = (n*101)//100
y += 1
print(y) | [
"assignment.value.change",
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.add"
] | 437,702 | 437,703 | u440478998 | python |
p02694 | x = int(input())
money = 100
year = 0
while money < x:
money += money * 0.01
year += 1
print(year) | x = int(input())
money = 100
year = 0
while money < x:
money += money // 100
# 切り捨て除算
year += 1
print(year) | [] | 437,719 | 437,720 | u212672301 | 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,721 | 437,720 | u212672301 | python |
p02694 | X = int(input())
ans = 0
b = 100
while b < X:
b += b / 100
ans += 1
print(ans) | X = int(input())
ans = 0
b = 100
while b < X:
b += b // 100
ans += 1
print(ans) | [
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 437,734 | 437,733 | u548525760 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.