Datasets:

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()) price=100 year=0 while price < X: price += round(price*0.01) year+=1 print(year)
import math X = int(input()) price=100 year=0 while price < X: price += math.floor(price*0.01) year+=1 print(year)
[]
439,750
439,751
u746154235
python
p02694
import math K = input() K = float(K) X = 100.0 i = 0 while K >= X: X = X *1.01 X = math.floor(X) i = i + 1 print(i)
import math K = input() K = float(K) X = 100.0 i = 0 while K > X: X = X *1.01 X = math.floor(X) i = i + 1 print(i)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,752
439,753
u152402277
python
p02694
# B x = int(input()) deposit = 100 count = 0 while x >= deposit: deposit += deposit*1//100 count += 1 print(count)
# B x = int(input()) deposit = 100 count = 0 while x > deposit: deposit += deposit*1//100 count += 1 print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,759
439,760
u721425712
python
p02694
x = int(input()) ans = 0 a = 100 while a < x: t = int(t*1.01) ans += 1 print(ans)
x = int(input()) ans = 0 a = 100 while a < x: a = int(a*1.01) ans += 1 print(ans)
[ "assignment.variable.change", "identifier.change", "assignment.value.change", "call.arguments.change", "expression.operation.binary.change" ]
439,763
439,764
u175590965
python
p02694
# -*- coding: utf-8 -*- X = int(input()) n = 1 m = 100 while m < X: n += 1 m += m//100 print(n)
# -*- coding: utf-8 -*- X = int(input()) n = 0 m = 100 while m < X: n += 1 m += m//100 print(n)
[ "literal.number.integer.change", "assignment.value.change" ]
439,765
439,766
u767438459
python
p02694
import math def readInt(): return int(input()) def readInts(): return list(map(int, input().split())) def readChars(): return input().split() x = readInt() m = 100 n = 0 while 1: if m>x: print(n) break n+=1 m=math.floor(m*1.01)
import math def readInt(): return int(input()) def readInts(): return list(map(int, input().split())) def readChars(): return input().split() x = readInt() m = 100 n = 0 while 1: if m>=x: print(n) break n+=1 m=math.floor(m*1.01)
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
439,772
439,773
u509739538
python
p02694
import math def readInt(): return int(input()) def readInts(): return list(map(int, input().split())) def readChars(): return input().split() x = readInt() m = 100 n = 0 while 1: if m>x: print(n) break n+=1 m=math.floor(m*1.01)
import math def readInt(): return int(input()) def readInts(): return list(map(int, input().split())) def readChars(): return input().split() x = readInt() m = 100 n = 0 while 1: if m>=x: print(n) break n+=1 m=math.floor(m*1.01)
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
439,774
439,773
u509739538
python
p02694
from math import floor,ceil X = int(input()) cash = 100 count = 0 while cash < X: cash=floor(p*1.01) count += 1 print(count)
from math import floor,ceil X = int(input()) cash = 100 count = 0 while cash < X: cash=floor(cash*1.01) count += 1 print(count)
[ "assignment.value.change", "identifier.change", "call.arguments.change", "expression.operation.binary.change" ]
439,846
439,847
u293528155
python
p02694
from math import floor,ceil X = int(input()) p = 100 c = 0 while cash < X: p=floor(p*1.01) c += 1 print(c)
from math import floor,ceil X = int(input()) cash = 100 count = 0 while cash < X: cash=floor(cash*1.01) count += 1 print(count)
[ "assignment.variable.change", "identifier.change", "assignment.value.change", "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
439,848
439,847
u293528155
python
p02694
from math import floor,ceil X = int(input()) p = 100 c = 0 while cash < X: p=floor(p*1.01) c += 1 print(c)
from math import floor,ceil X = int(input()) p = 100 c = 0 while p < X: p=floor(p*1.01) c += 1 print(c)
[ "identifier.change", "control_flow.loop.condition.change" ]
439,848
439,849
u293528155
python
p02694
n=int(input()) c=1 x=100 while x<n: x=x*(1.01) x=int(x) c+=1 print(c)
n=int(input()) c=1 x=100 while x<n: x=x*(1.01) x=int(x) c+=1 print(c-1)
[ "expression.operation.binary.add" ]
439,852
439,853
u471217476
python
p02694
import math A=int(input()) c=0 d=100 while(1): d=math.floor(d*1.01) c+=1 if d>A: print(c)
import math A=int(input()) c=0 d=100 while(1): d=math.floor(d*1.01) c+=1 if d>=A: print(c) break
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "control_flow.break.add" ]
439,854
439,855
u809707730
python
p02694
result = int(input()) count = 0 kinngaku = 100 while kinngaku <= result: count += 1 kinngaku += int(kinngaku * 0.01) print(count)
result = int(input()) count = 0 kinngaku = 100 while kinngaku < result: count += 1 kinngaku += int(kinngaku * 0.01) print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,879
439,880
u267482423
python
p02694
a=int(input()) t=100 sum=0 while(t<a): t=math.floor(t*101/100) sum=sum+1 print(sum)
import math a=int(input()) t=100 sum=0 while(t<a): t=math.floor(t*101/100) sum=sum+1 print(sum)
[]
439,887
439,888
u811004127
python
p02694
a=int(input()) t=100 sum=0 while(t<a): t=floor(t*101/100) sum=sum+1 print(sum)
import math a=int(input()) t=100 sum=0 while(t<a): t=math.floor(t*101/100) sum=sum+1 print(sum)
[]
439,889
439,888
u811004127
python
p02694
x = int(input()) y = 0 v = 100 while v <= x: v = int(v * 1.01) y = y + 1 print(y)
x = int(input()) y = 0 v = 100 while v < x: v = int(v * 1.01) y = y + 1 print(y)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,891
439,892
u218757284
python
p02694
k = int(input()) now = 100 count = 0 while now <= k: now = now + int(now*0.01) count += 1 print(count)
k = int(input()) now = 100 count = 0 while now < k: now = now + int(now*0.01) count += 1 print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,893
439,894
u672370694
python
p02694
X = int(input()) a= 100 n = 0 while a<=X: a=int(a*1.01) n+=1 print(n)
X = int(input()) a= 100 n = 0 while a<X: a=int(a*1.01) n+=1 print(n)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,899
439,900
u240256924
python
p02694
count = 0 x = int(input()) bal = 100 while bal<=x: count+=1 bal = int(bal*(1.01)) print(count)
count = 0 x = int(input()) bal = 100 while bal<x: count+=1 bal = int(bal*(1.01)) print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,917
439,918
u003034853
python
p02694
import math X = int(input()) money = 100 y = 1 while X > money: money += moth.floor(money*0.01) y += 1 print(y)
import math X = int(input()) money = 100 y = 0 while X > money: money += math.floor(money*0.01) y += 1 print(y)
[ "literal.number.integer.change", "assignment.value.change", "identifier.change" ]
439,923
439,924
u806392288
python
p02694
x = int(input())/100 amt=100 t=0 while(amt<x): amt+= amt//100 t+=1 print(t)
x = int(input()) amt=100 t=0 while(amt<x): amt+= amt//100 t+=1 print(t)
[ "expression.operation.binary.remove" ]
439,935
439,936
u207326980
python
p02694
x = int(input()) total = 100 year=0 while True: if total >= x: print(year) break else: total = total + total * 0.01 year += 1
x = int(input()) total = 100 year=0 while True: if total >= x: print(year) break else: total = total + int(total * 0.01) year += 1
[ "call.add", "call.arguments.change" ]
439,937
439,938
u763383823
python
p02694
x = int(input()) count = 0 a = 100 while x > a: a += a * (1/100) count += 1 print(count)
x = int(input()) count = 0 a = 100 while x > a: a += int(a * (1/100)) count += 1 print(count)
[ "call.add", "call.arguments.change" ]
439,941
439,942
u617659131
python
p02694
x = int(input()) kane = 100 count = 0 while kane < x: kane= kane*1.01 count = 1 + count print(count)
x = int(input()) kane = 100 count = 0 while kane < x: kane= kane*1.01//1 count = 1 + count print(count)
[ "assignment.change" ]
439,945
439,946
u609093494
python
p02694
x = int(input()) a = 100 c = 0 while a <= x: a += int(a * 0.01) c += 1 print(c)
x = int(input()) a = 100 c = 0 while a < x: a += int(a * 0.01) c += 1 print(c)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,951
439,952
u973013625
python
p02694
x = int(input()) a = 100 ans = 0 while a <= x: a += a*0.01 a = int(a) ans += 1 print(ans)
x = int(input()) a = 100 ans = 0 while a < x: a += a*0.01 a = int(a) ans += 1 print(ans)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,960
439,961
u646892595
python
p02694
import math X = int(input()) cur = 100 i = 0 while cur < X: cur = math.fllor(cur * 1.01) i += 1 print(i)
import math X = int(input()) cur = 100 i = 0 while cur < X: cur = math.floor(cur * 1.01) i += 1 print(i)
[ "assignment.value.change", "identifier.change" ]
439,966
439,967
u943798729
python
p02694
import math X = int(input()) cur = 100 i = 0 while cur < X: cur = math.ceil(cur * 1.01) i += 1 print(i)
import math X = int(input()) cur = 100 i = 0 while cur < X: cur = math.floor(cur * 1.01) i += 1 print(i)
[ "misc.opposites", "assignment.value.change", "identifier.change" ]
439,968
439,967
u943798729
python
p02694
import math X = int(input()) cur = 100 i = 0 while cur < X: cur = math.ceil(cur * 1.01) i += 1
import math X = int(input()) cur = 100 i = 0 while cur < X: cur = math.floor(cur * 1.01) i += 1 print(i)
[ "misc.opposites", "assignment.value.change", "identifier.change", "call.add" ]
439,969
439,967
u943798729
python
p02694
X = int(input()) count = 0 hun = 100 while X >= hun: count += 1 hun = int(hun*1.01) print(count)
X = int(input()) count = 0 hun = 100 while X > hun: count += 1 hun = int(hun*1.01) print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,974
439,975
u549161102
python
p02694
import sys sys.setrecursionlimit(200000000) def kane(l,n,m): l *= 1.01 l = l // 1 n += 1 print(l) if l >= m: print(n) exit() kane(l,n,m) X = int(input()) kane(100,0,X)
import sys sys.setrecursionlimit(200000000) def kane(l,n,m): l *= 1.01 l = l // 1 n += 1 if l >= m: print(n) exit() kane(l,n,m) X = int(input()) kane(100,0,X)
[ "call.remove" ]
439,976
439,977
u641804918
python
p02694
n = int(input()) now = 100 y = 0 while(n < now): y += 1 now = int(now * 1.01) print(y)
n = int(input()) now = 100 y = 0 while(n > now): y += 1 now = int(now * 1.01) print(y)
[ "misc.opposites", "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,978
439,979
u505825680
python
p02694
n = int(input()) ans = 0 x = 100 while x<=n: x = x+(x//100) ans+=1 print(ans)
n = int(input()) ans = 0 x = 100 while x<n: x = x+(x//100) ans+=1 print(ans)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,980
439,981
u608277538
python
p02694
#!/usr/bin/env python3 from collections import defaultdict,deque from heapq import heappush, heappop from bisect import bisect_left, bisect_right import sys, random, itertools, math sys.setrecursionlimit(10**5) input = sys.stdin.readline sqrt = math.sqrt def LI(): return list(map(int, input().split())) def LF(): return...
#!/usr/bin/env python3 from collections import defaultdict,deque from heapq import heappush, heappop from bisect import bisect_left, bisect_right import sys, random, itertools, math sys.setrecursionlimit(10**5) input = sys.stdin.readline sqrt = math.sqrt def LI(): return list(map(int, input().split())) def LF(): return...
[ "assignment.add" ]
439,984
439,985
u423585790
python
p02694
X = int(input()) start = 100 year = 0 if start < X: start = int(start * 1.01) year += 1 else: print(year)
X = int(input()) start = 100 year = 0 while start < X: start = int(start * 1.01) year += 1 else: print(year)
[ "control_flow.branch.while.replace.add", "control_flow.loop.if.replace.remove" ]
439,986
439,987
u727051308
python
p02694
X = int(input()) ans = 0 money = 100 while money <= X: ans += 1 money *= 1.01 money = int(money) print(ans)
X = int(input()) ans = 0 money = 100 while money < X: ans += 1 money *= 1.01 money = int(money) print(ans)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,988
439,989
u479719434
python
p02694
a=int(input()) b=100 c=0 while b>=a: c+=1 b=b*1.01 print(c)
a=int(input()) b=100 c=0 while b<a: c+=1 b=int(b*1.01) print(c)
[ "expression.operator.compare.change", "control_flow.loop.condition.change", "call.add", "call.arguments.change" ]
439,992
439,993
u375006224
python
p02694
X = int(input()) count = 0 num = 100 while num < X: num = round(num * 1.01) count += 1 print(count)
X = int(input()) count = 0 num = 100 while num < X: num = int(num * 1.01) count += 1 print(count)
[ "assignment.value.change", "identifier.change", "call.function.change" ]
439,996
439,997
u966695319
python
p02694
X = int(input()) count = 0 num = 100 while num <= X: num = int(num * 1.01) count += 1 print(count)
X = int(input()) count = 0 num = 100 while num < X: num = int(num * 1.01) count += 1 print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,998
439,997
u966695319
python
p02694
# coding: utf-8 def main(): x = int(input()) money = 100 year = 0 while money <= x: year += 1 money *= 1.01 money = money//1 print(year) if __name__ == '__main__': main()
# coding: utf-8 def main(): x = int(input()) money = 100 year = 0 while money < x: year += 1 money *= 1.01 money = money//1 print(year) if __name__ == '__main__': main()
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,001
440,002
u366836739
python
p02694
X=int(input()) K=100 count=0 while K<=X: K=int(K*1.01) count+=1 print(count)
X=int(input()) K=100 count=0 while K<X: K+=int(K*0.01) count+=1 print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change", "assignment.value.change", "literal.number.float.change", "call.arguments.change", "expression.operation.binary.change" ]
440,009
440,010
u181644161
python
p02694
import math x_target = int(input()) x = 100 n = 0 while x <= x_target: x = math.floor(x * 1.01) n += 1 print(n)
import math x_target = int(input()) x = 100 n = 0 while x < x_target: x = math.floor(x * 1.01) n += 1 print(n)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,024
440,025
u039355749
python
p02694
x_target = int(input()) x = 100 n = 0 while x <= x_target: x = int(x * 1.01) n += 1 print(n)
import math x_target = int(input()) x = 100 n = 0 while x < x_target: x = math.floor(x * 1.01) n += 1 print(n)
[ "expression.operator.compare.change", "control_flow.loop.condition.change", "assignment.value.change" ]
440,026
440,025
u039355749
python
p02694
X = int(input()) n = 100 ans = 0 while n <= X: n = int(n * 1.01) ans += 1 print(ans)
X = int(input()) n = 100 ans = 0 while n < X: n = int(n * 1.01) ans += 1 print(ans)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,027
440,028
u057109575
python
p02694
x = int(input()) n = 100 count = 0 while n <= x: n *= 1.01 n = int(n) count += 1 print(count)
x = int(input()) n = 100 count = 0 while n < x: n *= 1.01 n = int(n) count += 1 print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,032
440,033
u306033313
python
p02694
X=int(input()) answer=0 y=100 while y<=X: answer+=1 y*=1.01 y=int(y) print(answer)
X=int(input()) answer=0 y=100 while y<X: answer+=1 y*=1.01 y=int(y) print(answer)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,040
440,041
u263824932
python
p02694
x=int(input()) a=100 cnt=0 while x>=a: a=int(a*1.01) # print(a) cnt+=1 print(cnt)
x=int(input()) a=100 cnt=0 while x>a: a=int(a*1.01) cnt+=1 print(cnt)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,044
440,045
u464205401
python
p02694
import math X=int(input()) M=100 count=0 while M <= X: M=math.floor(M*1.01) count+=1 print(count)
import math X=int(input()) M=100 count=0 while M < X: M=math.floor(M*1.01) count+=1 print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,049
440,050
u922769680
python
p02694
X = int(input()) count = 0 A = 100 while A <= X: A = int(A * 1.01) count += 1 print(count)
X = int(input()) count = 0 A = 100 while A < X: A = int(A * 1.01) count += 1 print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,051
440,052
u101350975
python
p02694
import math i = int(input()) count = 0 money = 100 while True: if(money>i): print(count) break money= math.floor(money*1.01) count+=1
import math i = int(input()) count = 0 money = 100 while True: if(money>=i): print(count) break money= math.floor(money*1.01) count+=1
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
440,059
440,060
u156931988
python
p02694
import math X = int(input()) A = 100 t = 0 while A < X: A *= 1.01 A = math.floor(A) t += 1
import math X = int(input()) A = 100 t = 0 while A < X: A *= 1.01 A = math.floor(A) t += 1 print(t)
[ "call.add" ]
440,067
440,068
u073139376
python
p02694
import math x = int(input()) year = 0 y = 100 t = True while t: year += 1 y = math.floor(y*1.01) if y > x: print(year) t = False
import math x = int(input()) year = 0 y = 100 t = True while t: year += 1 y = math.floor(y*1.01) if y >= x: print(year) t = False
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
440,077
440,078
u023185908
python
p02694
x=int(input()) a=100 for i in range(100000000): a=int(a*1.01) if(a>x): print(i) break
x=int(input()) a=100 for i in range(100000000): a=int(a*1.01) if(a>=x): print(i+1) break
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
440,080
440,081
u591322332
python
p02694
data = input() x = int(data) yen = 100 cnt = 0 while(1): cnt = cnt + 1 yen = yen * 1.01 if yen >= x: print(cnt) break
data = input() #data2 = input().split() x = int(data) #a = int(data2[0]) #b = int(data2[1]) yen = 100.0 cnt = 0 while(1): cnt = cnt + 1 yen = int(yen * 1.01) if yen >= x: print(cnt) break
[ "assignment.value.change", "call.add", "call.arguments.change" ]
440,082
440,083
u700825859
python
p02694
import math X=int(input()) # a=int(input()) #A,B=map(int,input().split(" ")) #a=[int(_) for _ in input().split(" ")] i=0 t=100 while t <= X: t = math.floor(t * 1.01) i += 1 #print(a,b) print(i)
import math X=int(input()) # a=int(input()) #A,B=map(int,input().split(" ")) #a=[int(_) for _ in input().split(" ")] i=0 t=100 while t < X: t = math.floor(t * 1.01) i += 1 #print(a,b) print(i)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,086
440,087
u673922428
python
p02694
import math i = int(input()) price = 100 year = 0 while price <= i: price =math.floor(price * 1.01) year += 1 print(year)
import math i = int(input()) price = 100 year = 0 while price < i: price =math.floor(price * 1.01) year += 1 print(year)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,090
440,091
u198930868
python
p02694
i = int(input()) price = 100 year = 0 while price <= i: price =int(price * 1.01) year += 1 print(year)
import math i = int(input()) price = 100 year = 0 while price < i: price =math.floor(price * 1.01) year += 1 print(year)
[ "expression.operator.compare.change", "control_flow.loop.condition.change", "assignment.value.change" ]
440,092
440,091
u198930868
python
p02694
X = int(input()) cnt = 0 yokin = 100 while (X >= yokin): yokin = int(yokin * 1.01) cnt += 1 print(cnt)
X = int(input()) cnt = 0 yokin = 100 while (X > yokin): yokin = int(yokin * 1.01) cnt += 1 print(cnt)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,095
440,096
u692054751
python
p02694
X = int(input()) cnt = 0 A = 100 while X>A: A = A*1.01 cnt+=1 print(cnt)
X = int(input()) cnt = 0 A = 100 while X>A: A = int(A*1.01) cnt+=1 print(cnt)
[ "call.add", "call.arguments.change" ]
440,103
440,104
u001490106
python
p02694
X = int(input()) cnt = 0 A = 100 while X<A: A = A*1.01 cnt+=1 print(cnt)
X = int(input()) cnt = 0 A = 100 while X>A: A = int(A*1.01) cnt+=1 print(cnt)
[ "misc.opposites", "expression.operator.compare.change", "control_flow.loop.condition.change", "call.add", "call.arguments.change" ]
440,105
440,104
u001490106
python
p02694
x=int(input()) k=100 t=0 while k<=x: k=int(k*1.01) t+=1 print(t)
x=int(input()) k=100 t=0 while k<x: k=int(k*1.01) t+=1 print(t)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,108
440,109
u239653493
python
p02694
X = int(input()) s= 100 for i in range(10000000): s *= 1.01 if int(s) >= X: print(i+1) break
X = int(input()) s= 100 for i in range(10000000): s *= 1.01 s = int(s) if s >= X: print(i+1) break
[ "assignment.variable.change", "control_flow.branch.if.add" ]
440,110
440,111
u542541293
python
p02694
import math A = int(input()) X = 0 N = 100 while N < A: N = N * 1.01 math.floor(N) X += 1 # print(N) print(X)
import math A = int(input()) X = 0 N = 100 while N < A: N = N * 1.01 N = math.floor(N) X += 1 # print(N) print(X)
[ "assignment.add" ]
440,114
440,115
u023762741
python
p02694
X = int(input()) money = 100 year = 0 while X > money : money = 1.01*money year += 1 print(year)
X = int(input()) money = 100 year = 0 while X > money : money = int(1.01*money) year += 1 print(year)
[ "call.add", "call.arguments.change" ]
440,122
440,123
u107798522
python
p02694
x=int(input) m=100 cnt=0 while x>m: cnt+=1 m=(m*1.01)//1 print(str(cnt))
x=int(input()) m=100 cnt=0 while x>m: cnt+=1 m=(m*1.01)//1 print(str(cnt))
[ "call.add" ]
440,124
440,125
u460229551
python
p02694
x=int(input()) m=100 cnt=0 while x>=m: cnt+=1 m=(m*1.01)//1 print(str(cnt))
x=int(input()) m=100 cnt=0 while x>m: cnt+=1 m=(m*1.01)//1 print(str(cnt))
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,126
440,125
u460229551
python
p02694
import math X = int(input()) count = 0 money = 100 while(X >= money): money = math.floor(money + money * 0.01) count+=1 print(count)
import math X = int(input()) count = 0 money = 100 while(X > money): money = math.floor(money + money * 0.01) count+=1 print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,133
440,134
u228636605
python
p02694
X = int(input()) a = 100 cnt = 0 while a < X: 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)
[ "assignment.value.change", "call.add", "call.arguments.change" ]
440,137
440,138
u250734103
python
p02694
X = int(input()) yokin = 100 i = 0 while yokin <=X: yokin = (yokin*1.01)//1 i += 1 print(i-1)
X = int(input()) yokin = 100 i = 0 while yokin <X: yokin = (yokin*1.01)//1 i += 1 print(i)
[ "expression.operator.compare.change", "control_flow.loop.condition.change", "expression.operation.binary.remove" ]
440,141
440,142
u760961723
python
p02694
X = int(input()) m = 100 y = 0 while m < X: m += 0.01*m y += 1 print(y)
X = int(input()) m = 100 y = 0 while m < X: m += 0.01*m m = int(m) y += 1 print(y)
[ "assignment.add" ]
440,145
440,146
u861320787
python
p02694
a=int(input()) count=0 b=100 while b<=a: b=b*1.01 b=int(b) count+=1 print(count)
a=int(input()) count=0 b=100 while b<a: b=b*1.01 b=int(b) count+=1 print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,147
440,148
u115877451
python
p02694
n = int(input()) wa = 100 j = 0 while wa < n: wa = wa * 1.01 j += 1 print(j)
n = int(input()) wa = 100 j = 0 while wa < n: wa = int(wa * 1.01) j += 1 print(j)
[ "call.add", "call.arguments.change" ]
440,149
440,150
u163874353
python
p02694
x = int(input()) ans = 100 cnt = 0 while(True): ans += round(ans*0.01) cnt += 1 if ans >= x: print(cnt) break
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
[]
440,151
440,152
u963915126
python
p02694
import math X = int(input()) yokin=100 year=0 while yokin>=X: yokin=math.floor(yokin*1.01) year+=1 print(year)
import math X = int(input()) yokin=100 year=0 while yokin<X: yokin=math.floor(yokin*1.01) year+=1 print(year)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,153
440,154
u508842013
python
p02694
from sys import stdin n = int(stdin.readline().rstrip()) a = 100 k = 0 while a < n: a *= 1.01 k += 1 print(k)
from sys import stdin n = int(stdin.readline().rstrip()) a = 100 k = 0 while a < n: a *= 1.01 a = int(a) k += 1 print(k)
[ "assignment.add" ]
440,161
440,162
u356959833
python
p02694
X = int(input()) ans = 0 tmp = 100 while tmp < X: tmp *= 1.01 ans += 1 print(ans)
X = int(input()) ans = 0 tmp = 100 while tmp < X: tmp *= 1.01 tmp = tmp//1 ans += 1 print(ans)
[ "assignment.add" ]
440,165
440,166
u628285938
python
p02694
x = int(input()) n = 100 i = 0 while n < x: n = math.floor(n * 1.01) i += 1 print(i)
import math x = int(input()) n = 100 i = 0 while n < x: n = math.floor(n * 1.01) i += 1 print(i)
[]
440,184
440,185
u466074086
python
p02694
x=int(input()) n=100 s=0 while True: n+=n*0.01 s+=1 if n>=x: print(s) exit()
x=int(input()) n=100 s=0 while True: n+=n*0.01 n=n//1 s+=1 if n>=x: print(s) exit()
[ "assignment.add" ]
440,190
440,191
u440129511
python
p02694
x = int(input()) now = 100 ans = 0 while(now <= x): #print(now) now = int(now*1.01) ans += 1 print(ans)
x = int(input()) now = 100 ans = 0 while(now < x): #print(now) now = int(now*1.01) ans += 1 print(ans)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,202
440,203
u855866205
python
p02694
import math x = int(input()) cnt = 0 risi=0 yokin=100 while x >= yokin: cnt+=1 yokin += math.floor(yokin * 0.01) print(cnt)
import math x = int(input()) cnt = 0 risi=0 yokin=100 while x > yokin: cnt+=1 yokin += math.floor(yokin * 0.01) print(cnt)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,208
440,209
u299791633
python
p02694
import sys try: sys.stdin = open(sys.path[0] + '\\input.txt', 'r') sys.stdout = open(sys.path[0] + '\\output.txt', 'w') except FileNotFoundError: pass x = int(input()) n = 100 t = 0 while n <= x: n += (0.01 * n) n = int(n) t += 1 # print(n, t) print(t)
import sys try: sys.stdin = open(sys.path[0] + '\\input.txt', 'r') sys.stdout = open(sys.path[0] + '\\output.txt', 'w') except FileNotFoundError: pass x = int(input()) n = 100 t = 0 while n < x: n += (0.01 * n) n = int(n) t += 1 # print(n, t) print(t)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,212
440,213
u431225094
python
p02694
import math X = int(input()) i = 100 j = 0 while i <= X: i = math.floor(i * 1.01) j += 1 print(j)
import math X = int(input()) i = 100 j = 0 while i < X: i = math.floor(i * 1.01) j += 1 print(j)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,215
440,216
u727148417
python
p02694
X = int(input()) n = 100 i = 0 while n <= X: i += 1 n = int(n * 1.01) print(i)
X = int(input()) n = 100 i = 0 while n < X: i += 1 n = int(n * 1.01) print(i)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,225
440,226
u165394332
python
p02694
import math X = int(input()) bal = 100 i = 0 while (bal < X): bal = bal + math.floor(bal * 0.01) print(i)
import math X = int(input()) bal = 100 i = 0 while (bal < X): bal = bal + math.floor(bal * 0.01) i += 1 print(i)
[]
440,229
440,230
u880400515
python
p02694
x = int(input()) m = 100 year = 0 while m <= x: year += 1 m *= 1.01 m = int(m) print(year)
x = int(input()) m = 100 year = 0 while m < x: year += 1 m *= 1.01 m = int(m) print(year)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
440,233
440,234
u594803920
python
p02694
x=int(input()) m=100 i=0 while(1): m=m*1.01 i+=1 if m>=x: print(i) break
x=int(input()) m=100 i=0 while(1): m=int(m*1.01) i+=1 if m>=x: print(i) break
[ "call.add", "call.arguments.change" ]
440,235
440,236
u758831502
python
p02694
x = int(input()) tmp = 100 for i in range(10 ** 20): if tmp >= x: print(i) exit() tmp *= 1.01
x = int(input()) tmp = 100 for i in range(10 ** 20): if tmp >= x: print(i) exit() tmp = int(tmp * 1.01)
[ "assignment.value.change", "call.add", "call.arguments.change" ]
440,237
440,238
u377989038
python
p02694
X = int(input()) m = 100 ans = 0 while True: m *= 1.01 ans += 1 if m >= X: break print(ans)
X = int(input()) m = 100 ans = 0 while True: m = int(1.01 * m) ans += 1 if m >= X: break print(ans)
[ "assignment.value.change", "call.add", "call.arguments.add" ]
440,239
440,240
u548545174
python
p02694
x=input() tmp=100 for i in range(10000): if tmp>=x: print(i) break tmp+=tmp//100
x=int(input()) tmp=100 for i in range(10000): if tmp>=x: print(i) break tmp+=tmp//100
[ "call.add", "call.arguments.change" ]
440,241
440,242
u163320134
python
p02694
x = int(input()) i = 1 c = 100 while True: c = c * 1.01 if (c >= x): print(i) break else: i = i + 1
x = int(input()) i = 1 c = 100 while True: c = int(c * 1.01) if (c >= x): print(i) break else: i = i + 1
[ "call.add", "call.arguments.change" ]
440,245
440,246
u596979123
python
p02694
from collections import deque, Counter, defaultdict from itertools import chain, combinations import json # import numpy as np import bisect import sys import math import bisect from functools import lru_cache sys.setrecursionlimit(10 ** 8) M = 10 ** 9 + 7 INF = 10 ** 17 def main(): N = int(input()) # A = [...
from collections import deque, Counter, defaultdict from itertools import chain, combinations import json # import numpy as np import bisect import sys import math import bisect from functools import lru_cache sys.setrecursionlimit(10 ** 8) M = 10 ** 9 + 7 INF = 10 ** 17 def main(): N = int(input()) # A = [...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
440,251
440,252
u603253967
python
p02694
x=int(input()) s=100 i=0 while s<x: s+=s//10 i+=1 print(i)
x=int(input()) s=100 i=0 while s<x: s+=s//100 i+=1 print(i)
[ "literal.number.integer.change", "expression.operation.binary.change" ]
440,271
440,272
u914802579
python
p02694
import sys readline = sys.stdin.readline X = int(readline()) i = 0 a = 100 while True: i += 1 a *= 1.01 if a >= X: print(i) exit(0)
import sys readline = sys.stdin.readline X = int(readline()) i = 0 a = 100 while True: i += 1 a = int(a * 1.01) if a >= X: print(i) exit(0)
[ "assignment.value.change", "call.add", "call.arguments.change" ]
440,275
440,276
u780465569
python
p02694
x = int(input()) ans = 0 now = 100 while (now <= x): ans += 1 now = int(now*1.01) print(ans)
x = int(input()) ans = 0 now = 100 while (now < x): ans += 1 now += int(now*0.01) print(ans)
[ "expression.operator.compare.change", "control_flow.loop.condition.change", "assignment.value.change", "literal.number.float.change", "call.arguments.change", "expression.operation.binary.change" ]
440,279
440,280
u506910932
python
p02694
import math X=int(input()) a=0 o=100 while True: o*=1.01 o=math.floor() a+=1 if o>=X: print(a) break
import math X=int(input()) a=0 o=100 while True: o*=1.01 o=math.floor(o) a+=1 if o>=X: print(a) break
[ "call.arguments.change" ]
440,281
440,282
u668503853
python
p02695
from itertools import combinations_with_replacement as cwd N, M, Q = map(int, input().split()) A = list(cwd(range(1, M + 1), N)) ABCD = [] for i in range(Q): a, b, c, d = map(int, input().split()) a, b = a - 1, b - 1 ABCD.append([a, b, c, d]) res = 0 for i in A: tmp = 0 for j in ABCD: if ...
from itertools import combinations_with_replacement as cwd N, M, Q = map(int, input().split()) A = list(cwd(range(1, M + 1), N)) ABCD = [] for i in range(Q): a, b, c, d = map(int, input().split()) a, b = a - 1, b - 1 ABCD.append([a, b, c, d]) res = 0 for i in A: tmp = 0 for j in ABCD: if ...
[ "identifier.change", "call.arguments.change", "io.output.change" ]
440,288
440,289
u339199690
python
p02695
from itertools import combinations_with_replacement def main(): n, m, q = map(int, input().split()) qlist = [] for _ in range(q): qlist.append(tuple(map(int, input().split()))) nums = [i for i in range(0, m + 1)] alist = tuple(combinations_with_replacement(nums, n)) r = 0 for al in...
from itertools import combinations_with_replacement def main(): n, m, q = map(int, input().split()) qlist = [] for _ in range(q): qlist.append(tuple(map(int, input().split()))) nums = [i for i in range(1, m + 1)] alist = tuple(combinations_with_replacement(nums, n)) r = 0 for al in...
[ "literal.number.integer.change", "assignment.value.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
440,322
440,323
u072717685
python
p02695
def dfs(lst): global ans if len(lst) > n: return lowest = 0 if lst != []: lowest = lst[-1] for i in range(lowest, m+1): lst.append(i) dfs(lst) lst.pop() if len(lst) == n: cnt = 0 for i in range(q): a, b, c, d = ab[i] ...
def dfs(lst): global ans if len(lst) > n: return lowest = 1 if lst != []: lowest = lst[-1] for i in range(lowest, m+1): lst.append(i) dfs(lst) lst.pop() if len(lst) == n: cnt = 0 for i in range(q): a, b, c, d = ab[i] ...
[ "literal.number.integer.change", "assignment.value.change" ]
440,324
440,325
u877415670
python
p02695
def dfs(lst): global ans if len(lst) > n: return lowest = 0 if lst != []: lowest = lst[-1] for i in range(lowest+1, m+1): lst.append(i) dfs(lst) lst.pop() if len(lst) == n: cnt = 0 for i in range(q): a, b, c, d = ab[i] ...
def dfs(lst): global ans if len(lst) > n: return lowest = 1 if lst != []: lowest = lst[-1] for i in range(lowest, m+1): lst.append(i) dfs(lst) lst.pop() if len(lst) == n: cnt = 0 for i in range(q): a, b, c, d = ab[i] ...
[ "literal.number.integer.change", "assignment.value.change", "expression.operation.binary.remove" ]
440,326
440,325
u877415670
python
p02695
#!/usr/bin/env python3 import collections as cl import sys 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 main(): N, M, Q = MI() targets = [[] for i in range(Q)] for i in...
#!/usr/bin/env python3 import collections as cl import sys 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 main(): N, M, Q = MI() targets = [[] for i in range(Q)] for i in...
[ "expression.operation.binary.remove" ]
440,335
440,336
u574922408
python