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
import math X=int(input()) money = 100 ans = 0 while money <= X: money += math.floor(money * 0.01) ans += 1 print(ans)
import math X=int(input()) money = 100 ans = 0 while money < X: money += math.floor(money * 0.01) ans += 1 print(ans)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
438,912
438,913
u877428733
python
p02694
X = int(input()) money = 100 year = 0 while money <= X: money += int(money*0.01) year += 1 else: print(year)
X = int(input()) money = 100 year = 0 while money < X: money += int(money*0.01) year += 1 else: print(year)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
438,916
438,917
u309018392
python
p02694
import math def main(): X = input() X = int(X) output = 100 year = 0 while output <= X: output = int(output * 1.01) math.floor(output) year += 1 print(year) if __name__ == "__main__": main()
import math def main(): X = input() X = int(X) output = 100 year = 0 while output < X: output = int(output * 1.01) math.floor(output) year += 1 print(year) if __name__ == "__main__": main()
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
438,920
438,921
u332317213
python
p02694
X=int(input()) a=100 for i in range(1,10**18): s=int(0.01*a) a+=s if X<=a: print(i)
X=int(input()) a=100 for i in range(1,10**18): s=int(0.01*a) a+=s if X<=a: print(i) break
[ "control_flow.break.add" ]
438,955
438,956
u969080040
python
p02694
import math x=int(input()) ans=100 for n in range(1,10**5+1): ans *= (1.01) ans = math.floor(ans) if ans>=x: print(n,ans) exit()
import math x=int(input()) ans=100 for n in range(1,10**5+1): ans *= (1.01) ans = math.floor(ans) if ans>=x: print(n) exit()
[ "call.arguments.change" ]
438,981
438,982
u153902122
python
p02694
import math x = int(input()) d = 100 a = 0 while x >= d: d += math.floor(d*0.01) a += 1 print(a)
import math x = int(input()) d = 100 a = 0 while x > d: d += math.floor(d*0.01) a += 1 print(a)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
438,983
438,984
u392058721
python
p02694
import math n = int(input()) cash = 100 count = 0 while n >= cash: cash = cash + math.floor(cash * 0.01) count += 1 print(count)
import math n = int(input()) cash = 100 count = 0 while n > cash: cash = cash + math.floor(cash * 0.01) count += 1 print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
438,987
438,988
u605327527
python
p02694
import math x=int(input()) a=100 cnt=0 while a<x: a*=1.01 cnt+=1 a=int(a) print(a) print(cnt)
import math x=int(input()) a=100 cnt=0 while a<x: a*=1.01 cnt+=1 a=int(a) print(cnt)
[ "call.remove" ]
438,989
438,990
u310245677
python
p02694
x = int(input()) money = 100 ans = 0 while money <= x: money = int(money*1.01) ans += 1 print(ans)
x = int(input()) money = 100 ans = 0 while money < x: money = int(money*1.01) ans += 1 print(ans)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
438,991
438,992
u460009487
python
p02694
X=int(input()) a=100 count=0 while a<=X: a=int(a+(a*0.01)) count=count+1 print(count)
X=int(input()) a=100 count=0 while a<X: a=int(a+(a*0.01)) count=count+1 print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,006
439,007
u579746769
python
p02694
import sys import math X = int(input()) i = 1 k = int(100*1.01) while 1: if X < k: break k = int(k * 1.01) i += 1 print(i)
import sys import math X = int(input()) i = 1 k = int(100*1.01) while 1: if X <= k: break k = int(k * 1.01) i += 1 print(i)
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
439,010
439,011
u250828304
python
p02694
import math X = int(input()) currency = 100 count = 0 while currency <= X: currency = math.floor(currency*1.01) count +=1 print(count)
import math X = int(input()) currency = 100 count = 0 while currency < X: currency = math.floor(currency*1.01) count +=1 print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,018
439,019
u105659451
python
p02694
n=int(input()) money=100 year=0 while(money<n): year=year+1 money=money*1.01 print(year)
n=int(input()) money=100 year=0 while(money<n): year=year+1 money=int(money*1.01) print(year)
[ "call.add", "call.arguments.change" ]
439,020
439,021
u277353449
python
p02694
import sys def get_ints(): return map(int, sys.stdin.readline().strip().split()) def get_array(): return list(map(int, sys.stdin.readline().strip().split())) def input(): return sys.stdin.readline().strip() x = int(input()) p = 100 year = 0 while p<=x: p = p*(1.01) p //= 1 year += 1 print(year)
import sys def get_ints(): return map(int, sys.stdin.readline().strip().split()) def get_array(): return list(map(int, sys.stdin.readline().strip().split())) def input(): return sys.stdin.readline().strip() x = int(input()) p = 100 year = 0 while p<x: p = p*(1.01) p //= 1 year += 1 print(year)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,029
439,030
u591411772
python
p02694
import math n = int(input()) i = 100 count = 0 while i < n: i += math.floor(i*1.01) count += 1 print(count)
import math n = int(input()) i = 100 count = 0 while i < n: i = math.floor(i*1.01) count += 1 print(count)
[ "assignment.value.change" ]
439,041
439,042
u453683890
python
p02694
n = int(input()) n = n c = 0 m = 100 while True: m = m * 1.01 m = int(m) c += 1 if m > n: break print(c)
n = int(input()) c = 0 m = 100 while True: m = m * 1.01 m = int(m) c += 1 if m >= n: break print(c)
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
439,045
439,046
u459965464
python
p02694
import sys import math as mt import collections as cc I=lambda:list(map(int,input().split())) n,=I() x=100 i=0 while x<=n: i+=1 temp=x*0.01 x+=mt.floor(temp) print(i)
import sys import math as mt import collections as cc I=lambda:list(map(int,input().split())) n,=I() x=100 i=0 while x<n: i+=1 temp=x*0.01 x+=mt.floor(temp) print(i)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,057
439,058
u995109095
python
p02694
X = int(input()) total = 100 count = 0 while total <= X: count += 1 total = total + int(total * 0.01) print(count)
X = int(input()) total = 100 count = 0 while total < X: count += 1 total = int(total) + int(total * 0.01) print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change", "call.add", "call.arguments.change" ]
439,063
439,064
u865413330
python
p02694
from math import floor X = int(input()) m = 100 d = 0 while m <= X: d += 1 m = floor(m * 1.01) print(d)
from math import floor X = int(input()) m = 100 d = 0 while m < X: d += 1 m = floor(m * 1.01) print(d)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,065
439,066
u873776333
python
p02694
money =100 x=int(input()) r=0.01 count=0 while True: count +=1 money = int(money*(1+r)) if x<=money: print(money) print(count) break
money =100 x=int(input()) r=0.01 count=0 while True: count +=1 money = int(money*(1+r)) if x<=money: print(count) break
[ "call.remove" ]
439,077
439,078
u198085535
python
p02694
x = int(input()) def ans(): deposit = 100 year = 0 while True: deposit = int(deposit*1.01) year +=1 if deposit < x: continue else: return year ans()
x = int(input()) def ans(): deposit = 100 year = 0 while True: deposit = int(deposit*1.01) year +=1 if deposit < x: continue else: print(year) return ans()
[ "call.add" ]
439,084
439,085
u599859259
python
p02694
X = int(input()) y = 0 m = 100 while m <= X: m = int(m * 1.01) y = y + 1 print(y)
X = int(input()) y = 0 m = 100 while m < X: m = int(m * 1.01) y = y + 1 print(y)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,087
439,088
u701017915
python
p02694
c = 100 y = 0 x = int(input()) while True: if c>x: print(y) break c = int(c*1.01) y += 1
c = 100 y = 0 x = int(input()) while True: if c>=x: print(y) break c = int(c*1.01) y += 1
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
439,093
439,094
u268822556
python
p02694
import math X = int(input()) year = 0 deposit = 100 while(deposit <= X): deposit *= 1.01 deposit = math.floor(deposit) year += 1 print(year)
import math X = int(input()) year = 0 deposit = 100 while(deposit < X): deposit *= 1.01 deposit = math.floor(deposit) year += 1 print(year)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,102
439,103
u079656139
python
p02694
import math #数値ひとつ I = int(input()) #数値空白区切りで欲しいとき #N, M = map(int, input().split()) #文字欲しいとき #N = input() #それをListにしたいとき #list = list(N) #数値を受け取る数が未定かつリストにしたいとき #list = list(map(int, input().split())) #受け取る文字列が未定かつリストにしたいとき(Iは回数) #list = [input() for i in range(I)] X = 100 cnt = 0 while(X <= I): X = math.floor(X...
import math #数値ひとつ I = int(input()) #数値空白区切りで欲しいとき #N, M = map(int, input().split()) #文字欲しいとき #N = input() #それをListにしたいとき #list = list(N) #数値を受け取る数が未定かつリストにしたいとき #list = list(map(int, input().split())) #受け取る文字列が未定かつリストにしたいとき(Iは回数) #list = [input() for i in range(I)] X = 100 cnt = 0 while(X < I): X = math.floor(X ...
[ "expression.operator.compare.change", "control_flow.loop.condition.change", "misc.opposites", "control_flow.branch.if.condition.change" ]
439,118
439,119
u083874202
python
p02694
n = int(input()) b = 100 ans = 0 while b<=n : b = int(b*1.01) ans += 1 print(ans)
n = int(input()) b = 100 ans = 0 while b<n : b = int(b*1.01) ans += 1 print(ans)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,126
439,127
u744695362
python
p02694
X = int(input()) syozikin = 100 ans = 0 while syozikin <= X: syozikin = syozikin*1.01 syozikin =syozikin // 1 ans = ans + 1 print(ans)
X = int(input()) syozikin = 100 ans = 0 while syozikin < X: syozikin = syozikin*1.01 syozikin =syozikin // 1 ans = ans + 1 print(ans)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,129
439,130
u679236042
python
p02694
import math X=int(input()) u=100 y=0 while u<=X: u=math.floor(u*1.01) y+=1 print(y)
import math X=int(input()) u=100 y=0 while u<X: u=math.floor(u*1.01) y+=1 print(y)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,131
439,132
u038819082
python
p02694
import math X=int(input()) u=100 y=0 while u>=0: u=math.floor(u*1.01) y+=1 print(y)
import math X=int(input()) u=100 y=0 while u<X: u=math.floor(u*1.01) y+=1 print(y)
[]
439,133
439,132
u038819082
python
p02694
import math n=int(input()) yen=float(100) count=0 while yen<n : yen=yen*1.01 count+=1 yen=math.floor(yen) print(yen) print(count)
import math n=int(input()) yen=float(100) count=0 while yen<n : yen=yen*1.01 count+=1 yen=math.floor(yen) print(count)
[ "call.remove" ]
439,140
439,141
u345339337
python
p02694
import math k= int(input()) i = 100 count=0 while(i <= k): i *= 1.01 i = math.floor(i) count += 1 print(count)
import math k= int(input()) i = 100 count=0 while(i < k): i *= 1.01 i = math.floor(i) count += 1 print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,142
439,143
u962175226
python
p02694
x = int(input()) a = 100 i = 0 while True: i += 1 a = int(a * 1.01) print(a) if(x <= a): print(i) break
x = int(input()) a = 100 i = 0 while True: i += 1 a = int(a * 1.01) # print(a) if(x <= a): print(i) break
[ "call.remove" ]
439,153
439,154
u969808621
python
p02694
x = int(input()) a = 100 i = 0 while True: i += 1 a = int(a * 1.01) if(x < a): print(i) break
x = int(input()) a = 100 i = 0 while True: i += 1 a = int(a * 1.01) # print(a) if(x <= a): print(i) break
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
439,155
439,154
u969808621
python
p02694
import math x = int(input()) m = 100 cnt = 0 while 1: cnt += 1 m = math.floor(m * 1.01) if m > x: break print(cnt)
import math x = int(input()) m = 100 cnt = 0 while 1: cnt += 1 m = math.floor(m * 1.01) if m >= x: break print(cnt)
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
439,163
439,164
u723345499
python
p02694
import math x = int(input()) m = 100 cnt = 0 while 1: cnt += 1 m = math.floor(m * 1.01) if m > x: break print(cnt)
import math x = int(input()) m = 100 cnt = 0 while 1: cnt += 1 m = m + math.floor(m * 0.01) if m >= x: break print(cnt)
[ "literal.number.float.change", "assignment.value.change", "call.arguments.change", "expression.operation.binary.change", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
439,163
439,165
u723345499
python
p02694
X = int(input()) yokin = 100 def genYokin(): global yokin return int(yokin*1.01) year_cnt = 0 while True: if X < yokin: break yokin = genYokin() year_cnt += 1 print(year_cnt)
X = int(input()) yokin = 100 def getNextYokin(): global yokin return int(yokin*1.01) year_cnt = 0 while True: if X <= yokin: break yokin = getNextYokin() year_cnt += 1 print(year_cnt)
[ "identifier.change", "expression.operator.compare.change", "control_flow.branch.if.condition.change", "assignment.value.change", "call.function.change" ]
439,168
439,169
u676933207
python
p02694
X=int(input()) temp=100 an=0 while True: temp=int(temp*1.01) an+=1 #print(temp) if temp>=X: break print(an-1)
X=int(input()) temp=100 an=0 while True: temp=int(temp*1.01) an+=1 #print(temp) if temp>=X: break print(an)
[ "expression.operation.binary.remove" ]
439,170
439,171
u927282564
python
p02694
X=int(input()) temp=100 an=0 while True: temp=temp*1.01 an+=1 #print(temp) if temp>X: break print(an-1)
X=int(input()) temp=100 an=0 while True: temp=int(temp*1.01) an+=1 #print(temp) if temp>=X: break print(an)
[ "call.add", "call.arguments.change", "expression.operator.compare.change", "control_flow.branch.if.condition.change", "expression.operation.binary.remove" ]
439,172
439,171
u927282564
python
p02694
X=int(input()) temp=100 an=0 while True: temp=int(temp*1.01) an+=1 #print(temp) if temp>X: break print(an-1)
X=int(input()) temp=100 an=0 while True: temp=int(temp*1.01) an+=1 #print(temp) if temp>=X: break print(an)
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "expression.operation.binary.remove" ]
439,173
439,171
u927282564
python
p02694
X = int(input()) base = 100 rt = 0 while X > base: base = math.floor(base * 1.01) rt += 1 print(rt)
import math X = int(input()) base = 100 rt = 0 while X > base: base = math.floor(base * 1.01) rt += 1 print(rt)
[]
439,174
439,175
u299599133
python
p02694
x=int(input()) n=100 cnt=0 while n<=x: n=int(n*1.01) cnt+=1 print(cnt)
x=int(input()) n=100 cnt=0 while n<x: n=int(n*1.01) cnt+=1 print(cnt)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,176
439,177
u475675023
python
p02694
X = int(input()) S = 100 C = 0 while X >= S: S = int(S * 1.01) C += 1 print(C)
X = int(input()) S = 100 C = 0 while X > S: S = int(S * 1.01) C += 1 print(C)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,182
439,183
u949618949
python
p02694
import math x = int(input()) n = 16 // (math.log10(1.01)) a = 100 cnt = 0 while a <= x: cnt += 1 a = math.floor(a * 1.01) ''' for i in range(1, math.floor(n)+1): a = math.floor(a * 1.01) cnt += 1 if a >= x: break else: continue ''' print(cnt)
import math x = int(input()) n = 16 // (math.log10(1.01)) a = 100 cnt = 0 while a < x: cnt += 1 a = math.floor(a * 1.01) ''' for i in range(1, math.floor(n)+1): a = math.floor(a * 1.01) cnt += 1 if a >= x: break else: continue ''' print(cnt)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,188
439,189
u802341442
python
p02694
import math x = int(input()) a = 100 i = 0 while a < x: i = i + 1 a = math.floor(a * 1.01) print(i, a)
import math x = int(input()) a = 100 i = 0 while a < x: i = i + 1 a = math.floor(a * 1.01) print(i)
[ "call.arguments.change" ]
439,190
439,191
u203597140
python
p02694
def main(): X = int(input()) tmp = 100 counter = 0 while tmp < X: tmp = round(tmp * 1.01) counter += 1 print(counter) if __name__ == "__main__": main()
import math def main(): X = int(input()) tmp = 100 counter = 0 while tmp < X: tmp = math.floor(tmp * 1.01) counter += 1 print(counter) if __name__ == "__main__": main()
[ "assignment.value.change" ]
439,192
439,193
u577902321
python
p02694
x = int(input()) const_a, count = 100, 0 while const_a < x: a += a//100 count += 1 print(count)
x = int(input()) const_a, count = 100, 0 while const_a < x: const_a += const_a//100 count += 1 print(count)
[ "identifier.change", "expression.operation.binary.change" ]
439,196
439,197
u593091020
python
p02694
money = 100 x = int(input()) count = 0 while money < x: money *= 1.01 count +=1 print(count)
money = 100 x = int(input()) count = 0 while money < x: money *= 1.01 money = money // 1 count +=1 print(count)
[ "assignment.add" ]
439,200
439,201
u594933155
python
p02694
X = int(input()) a = 100 cnt = 0 while a < X : a = 1.01*a cnt += 1 print(cnt)
X = int(input()) a = 100 cnt = 0 while a < X : a = 1.01*int(a ) cnt += 1 print(cnt)
[ "call.add", "call.arguments.change" ]
439,219
439,220
u441246928
python
p02694
import math X=int(input()) total=100 count=0 while X>=total: total = math.floor(total*1.01) count +=1 print(math.ceil(count))
import math X=int(input()) total=100 count=0 while X>total: total = math.floor(total*1.01) count +=1 print(math.ceil(count))
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,221
439,222
u331233176
python
p02694
import math X=int(input()) total=100 count=0 while X>=total: total = math.floor(total*1.01) count +=1 print(count)
import math X=int(input()) total=100 count=0 while X>total: total = math.floor(total*1.01) count +=1 print(math.ceil(count))
[ "expression.operator.compare.change", "control_flow.loop.condition.change", "call.add", "call.arguments.change" ]
439,223
439,222
u331233176
python
p02694
import math x = int(input()) s=[] a=100 while math.floor(a*1.01)<=x: a = math.floor(a*1.01) s.append(a) print(len(s)+1)
import math x = int(input()) s=[] a=100 while math.floor(a*1.01)<x: a = math.floor(a*1.01) s.append(a) print(len(s)+1)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,224
439,225
u048521352
python
p02694
target = int(input()) year = 0 money = 100 while money < target: year += 1 money *= 1.01 money = round(money) print(year)
import math target = int(input()) year = 0 money = 100 while money < target: year += 1 money *= 1.01 money = math.floor(money) print(year)
[ "assignment.value.change" ]
439,226
439,227
u313555680
python
p02694
x = int(input()) num = 100 count = 0 while x == num: num = num + (num // 100) count += 1 print(count)
x = int(input()) num = 100 count = 0 while x > num: num = num + (num // 100) count += 1 print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,232
439,233
u250554058
python
p02694
n = int(input()) res = 100 a = 0 while res < n: res = res * 1.01 a += 1 print(a)
n = int(input()) res = 100 a = 0 while res < n: res = int(res * 1.01) a += 1 print(a)
[ "call.add", "call.arguments.change" ]
439,234
439,235
u743354620
python
p02694
import math money = 100 x = int(input()) #print(x) cnt = 0 while money <= x: money += money * 0.01 money = int(money) cnt += 1 #print(cnt,money) print(cnt)
import math money = 100 x = int(input()) #print(x) cnt = 0 while money < x: money += money * 0.01 money = int(money) cnt += 1 #print(cnt,money) print(cnt)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,246
439,247
u876616721
python
p02694
import math X = int(input()) i = 0 money = 100 while money < X: money *= 1.01 money = math.floor(money) i += 1 print(money) print(i)
import math X = int(input()) i = 0 money = 100 while money < X: money *= 1.01 money = math.floor(money) i += 1 print(i)
[ "call.remove" ]
439,255
439,256
u949425889
python
p02694
import math X = int(input()) i = 0 money = 100 while money <= X: money *= 1.01 money = math.floor(money) i += 1 print(i)
import math X = int(input()) i = 0 money = 100 while money < X: money *= 1.01 money = math.floor(money) i += 1 print(i)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,257
439,256
u949425889
python
p02694
import math x = int(input()) count=0 count_1 = 100 ans=0 while x >= count_1: count=(math.floor(count_1*0.01)) count_1+=math.floor(count) ans += 1 print(ans)
import math x = int(input()) count=0 count_1 = 100 ans=0 while x > count_1: count=(math.floor(count_1*0.01)) count_1+=math.floor(count) ans += 1 print(ans)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,262
439,263
u508273185
python
p02694
X=int(input()) A=int(100) B=int(0) while A<=X: A=A*101//100 B=B+1 print(B)
X=int(input()) A=int(100) B=int(0) while A<X: A=A*101//100 B=B+1 print(B)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,264
439,265
u398203017
python
p02694
s=int(input()) a=100 b=0 while a<=s: a=int(a*(1+0.01)) b+=1 print(b)
s=int(input()) a=100 b=0 while a<s: a=int(a*(1+0.01)) b+=1 print(b)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,268
439,269
u917558625
python
p02694
import math x = int(input()) t = 100 count = 0 print(1/100) while t < x: count += 1 t = t+(math.floor(t*1/100)) print(count)
import math x = int(input()) t = 100 count = 0 while t < x: count += 1 t = t+(math.floor(t*1/100)) print(count)
[ "call.remove" ]
439,270
439,271
u085530099
python
p02694
import math x = int(input()) t = 100 count = 0 while t <= x: count += 1 t = t+(math.floor(t*1/100)) print(count)
import math x = int(input()) t = 100 count = 0 while t < x: count += 1 t = t+(math.floor(t*1/100)) print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,272
439,271
u085530099
python
p02694
import math num_x = int(input()) taka = 100 count = 0 while num_x >= taka : taka = taka*0.01 + taka taka = math.floor(taka) count = count + 1 print(count)
import math num_x = int(input()) taka = 100 count = 0 while num_x > taka : taka = taka*0.01 + taka taka = math.floor(taka) count = count + 1 print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,273
439,274
u258355189
python
p02694
import math X= int(input()) money = 100 cnt = 0 while True: money = 1.01*money cnt += 1 if int(money>=X): print(cnt) break
import math X= int(input()) money = 100 cnt = 0 while True: money = int(1.01*money) cnt += 1 if money>=X: print(cnt) break
[ "call.add", "call.arguments.change", "call.remove", "control_flow.branch.if.condition.change" ]
439,275
439,276
u788608806
python
p02694
X = int(input()) ans = 0 a = 100 while True: if a>=X: break if a<X: a+=(a*0.01) ans+=1 print(ans)
X = int(input()) ans = 0 a = 100 while True: if a>=X: break if a<X: a+=int(a*0.01) ans+=1 print(ans)
[ "call.add", "type_conversion.to_integer.change", "type_conversion.to_number.change" ]
439,277
439,278
u097409023
python
p02694
import math X = int(input()) money = 100 year = 0 while(money <= X): money += math.floor(money * 0.01) year += 1 print(year)
import math X = int(input()) money = 100 year = 0 while(money < X): money += math.floor(money * 0.01) year += 1 print(year)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,279
439,280
u293523199
python
p02692
n, a, b, c = map(int, input().split()) v = { 'A': a, 'B': b, 'C': c } ss = [] for _ in range(n): ss.append(input()) history = [] flag = True for i in range(n): s = ss[i] if v[s[0]] == 0 and v[s[1]] == 0: flag = False break elif v[s[0]] > v[s[1]]: history.append(s[1]) v[s[0]] -=...
n, a, b, c = map(int, input().split()) v = { 'A': a, 'B': b, 'C': c } ss = [] for _ in range(n): ss.append(input()) history = [] flag = True for i in range(n): s = ss[i] if v[s[0]] == 0 and v[s[1]] == 0: flag = False break elif v[s[0]] > v[s[1]]: history.append(s[1]) v[s[0]] -=...
[ "identifier.change", "call.arguments.change" ]
439,329
439,330
u536781361
python
p02692
#!/usr/bin/python3 import sys from collections import defaultdict (n, a, b, c) = map(int, input().split()) ss = [] for i in range(n): ss.append(input()) def psum(pair): if pair == 'AB': return a + b elif pair == 'AC': return a + c elif pair == 'BC': return b + c def select(...
#!/usr/bin/python3 import sys from collections import defaultdict (n, a, b, c) = map(int, input().split()) ss = [] for i in range(n): ss.append(input()) def psum(pair): if pair == 'AB': return a + b elif pair == 'AC': return a + c elif pair == 'BC': return b + c def select(...
[ "call.add" ]
439,338
439,339
u383015480
python
p02692
X = [0, 0, 0] N, X[0], X[1], X[2] = map(int, input().split()) Q = [] for _ in range(N): s = input() if s == 'AB': Q.append([0, 1]) elif s == 'AC': Q.append([0, 2]) else: Q.append([1, 2]) ans = True ret = '' for i in range(N): a = Q[i][0] b = Q[i][1] if X[a] == X[b] ==...
X = [0, 0, 0] N, X[0], X[1], X[2] = map(int, input().split()) Q = [] for _ in range(N): s = input() if s == 'AB': Q.append([0, 1]) elif s == 'AC': Q.append([0, 2]) else: Q.append([1, 2]) ans = True ret = '' for i in range(N): a = Q[i][0] b = Q[i][1] if X[a] == X[b] ==...
[ "call.remove" ]
439,426
439,427
u967106822
python
p02692
n,a,b,c = map(int,input().split()) flag = True ans = [] s = [] for i in range(n): s.append(input()) for i in range(n): if s[i] == "AB": if a == 0 and b == 0: flag = False if a > b: a -= 1 b += 1 ans.append("B") elif b < a: a += ...
n,a,b,c = map(int,input().split()) flag = True ans = [] s = [] for i in range(n): s.append(input()) for i in range(n): if s[i] == "AB": if a == 0 and b == 0: flag = False if a > b: a -= 1 b += 1 ans.append("B") elif b > a: a += ...
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
439,466
439,467
u201928947
python
p02692
N,A,B,C=map(int,input().split()) S=[input() for _ in range(N)] ans='' for i in range(N): if S[i]=='AB': if A==0 and B==0: print('No') exit() elif A==1 and B==0: A-=1 B+=1 ans+='B' elif A==0 and B==1: A+=1 B-=...
N,A,B,C=map(int,input().split()) S=[input() for _ in range(N)] ans='' for i in range(N): if S[i]=='AB': if A==0 and B==0: print('No') exit() elif A==1 and B==0: A-=1 B+=1 ans+='B' elif A==0 and B==1: A+=1 B-=...
[ "control_flow.branch.if.condition.change" ]
439,482
439,483
u970449052
python
p02692
from itertools import combinations N, A, B, C = map(int, input().split()) S = [input() for _ in range(N)] cnt = {'A': A, 'B': B, 'C': C} def out(T): now = {'A': A, 'B': B, 'C': C} ans = [] for i, s in enumerate(S): u, v = s[0], s[1] if now[u] == now[v] == 0: return [] ...
from itertools import combinations N, A, B, C = map(int, input().split()) S = [input() for _ in range(N)] cnt = {'A': A, 'B': B, 'C': C} def out(T): now = {'A': A, 'B': B, 'C': C} ans = [] for i, s in enumerate(S): u, v = s[0], s[1] if now[u] == now[v] == 0: return [] ...
[ "call.add" ]
439,510
439,511
u392319141
python
p02694
import math x = int(input()) saving = 100 count = 0 while x >= saving: saving = math.floor(saving + saving * 0.01) count += 1 print(count)
import math x = int(input()) saving = 100 count = 0 while not x <= saving: saving = math.floor(saving + saving * 0.01) count += 1 print(count)
[ "control_flow.loop.condition.change", "misc.opposites", "expression.operator.compare.change" ]
439,540
439,541
u068142202
python
p02694
import math x = int(input()) saving = 100 count = 0 while x >= saving: saving += math.floor(saving * 0.01) count += 1 print(count)
import math x = int(input()) saving = 100 count = 0 while not x <= saving: saving = math.floor(saving + saving * 0.01) count += 1 print(count)
[ "control_flow.loop.condition.change", "misc.opposites", "expression.operator.compare.change", "assignment.value.change" ]
439,542
439,541
u068142202
python
p02694
X = list(map(int,input().split()))[0] yen = 100 for i in range(1,10**100): yen = int(yen*1.01) if yen > X: break print(i)
X = list(map(int,input().split()))[0] yen = 100 for i in range(1, 10**100): yen = int(yen*1.01) if yen >= X: break print(i)
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
439,552
439,553
u871176343
python
p02694
X = list(map(int,input().split()))[0] yen = 100 for i in range(1,10**18): yen = int(yen*1.01) if yen > X: break print(i)
X = list(map(int,input().split()))[0] yen = 100 for i in range(1, 10**100): yen = int(yen*1.01) if yen >= X: break print(i)
[ "literal.number.integer.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
439,554
439,553
u871176343
python
p02694
X = int(input()) import math B = 0 A = 100 while A <= X: A = math.floor(A * 1.01) B += 1 print(B)
X = int(input()) import math B = 0 A = 100 while A < X: A = math.floor(A * 1.01) B += 1 print(B)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,559
439,560
u931394483
python
p02694
import math a = 100 n = 0 X = int(input()) while a <= X: n += 1 a = math.floor(a * 1.01) print(n)
import math a = 100 n = 0 X = int(input()) while a < X: n += 1 a = math.floor(a * 1.01) print(n)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,561
439,562
u688587139
python
p02694
X = int(input()) m = 100 y = 0 while True: if X <= m: break m = math.floor(m * 1.01) y += 1 print(y)
import math X = int(input()) m = 100 y = 0 while True: if X <= m: break m = math.floor(m * 1.01) y += 1 print(y)
[]
439,567
439,568
u166511804
python
p02694
#!/usr/bin/env python # -*- coding: utf-8 -*- import pysnooper # @pysnooper.snoop() from pprint import pprint as pp from pprint import pformat as pf import math if __name__ == '__main__': x = int(input()) money = 100 count = 0 while not (money >= x): money = math.floor(money * 101 / 100) ...
#!/usr/bin/env python # -*- coding: utf-8 -*- from pprint import pprint as pp from pprint import pformat as pf import math if __name__ == '__main__': x = int(input()) money = 100 count = 0 while not (money >= x): money = math.floor(money * 101 / 100) count += 1 print(count)
[]
439,569
439,570
u060894033
python
p02694
import math X = int(input()) m = 100 ans = 0 while m<X: m=math.floor(m*1.01) ans+=1 print(m) print(ans)
import math X = int(input()) m = 100 ans = 0 while m<X: m=math.floor(m*1.01) ans+=1 print(ans)
[ "call.remove" ]
439,573
439,574
u861471387
python
p02694
x=int(input()) num=100 cnt=0 while num < x: num*=1.01 num=int(num) print(num) cnt+=1 print(cnt)
x=int(input()) num=100 cnt=0 while num < x: num*=1.01 num=int(num) cnt+=1 print(cnt)
[ "call.remove" ]
439,585
439,586
u143051858
python
p02694
N=int(input()) x=100.0 for i in range(N): x=math.floor(x*1.01) if(x>=N): print(i+1) break; i+=1
import math N=int(input()) x=100.0 for i in range(N): x=math.floor(x*1.01) if(x>=N): print(i+1) break; i+=1
[]
439,587
439,588
u442855260
python
p02694
X = int(input()) val = 100 cnt = 0 while val <= X: val += val//100 cnt += 1 print(cnt)
X = int(input()) val = 100 cnt = 0 while val < X: val += val//100 cnt += 1 print(cnt)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,591
439,592
u057668615
python
p02694
x = int(input()) a = 100 ans = 0 while x >= a: ans += 1 a = int(a * 1.01) print(ans)
x = int(input()) a = 100 ans = 0 while x > a: ans += 1 a = int(a * 1.01) print(ans)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,601
439,602
u931118906
python
p02694
import math x = int(input()) a = 100 count = 0 while a <= x: a *= 1.01 a = math.floor(a) count += 1 print(count)
import math x = int(input()) a = 100 count = 0 while a < x: a *= 1.01 a = math.floor(a) count += 1 print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,603
439,604
u374784428
python
p02694
import math x=int(input()) a=100 i=0 while True: if a>=x: print(i) break i+=1 a*=1.01
import math x=int(input()) a=100 i=0 while True: if a>=x: print(i) break i+=1 a*=1.01 a=int(a)
[ "assignment.add" ]
439,610
439,611
u156383602
python
p02694
X = int(input()) t = 100 cnt = 0 while t <= X: t = t*1.01//1 cnt += 1 print(cnt)
X = int(input()) t = 100 cnt = 0 while t < X: t = t*1.01//1 cnt += 1 print(cnt)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,626
439,627
u133583235
python
p02694
import sys import math from collections import deque import heapq MAX_INT = int(10e10) MIN_INT = -MAX_INT mod = 1000000007 sys.setrecursionlimit(1000000) def IL(): return list(map(int,input().split())) def SL(): return input().split() def I(): return int(sys.stdin.readline()) def S(): return input() N = I() n = 100 a...
import sys import math from collections import deque import heapq MAX_INT = int(10e10) MIN_INT = -MAX_INT mod = 1000000007 sys.setrecursionlimit(1000000) def IL(): return list(map(int,input().split())) def SL(): return input().split() def I(): return int(sys.stdin.readline()) def S(): return input() N = I() n = 100 a...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,635
439,636
u634461820
python
p02694
X=int(input()) D=100 ans=0 while(D<X): D*=1.01 ans+=1 print(ans)
X=int(input()) D=100 ans=0 while(D<X): D=int(D*1.01) ans+=1 print(ans)
[ "assignment.value.change", "call.add", "call.arguments.change" ]
439,645
439,646
u239342230
python
p02694
X = int(input()) m = 100 for n in range(5000): m = int(m*1.01) if m >= X: print(n) break
X = int(input()) m = 100 for n in range(5000): m = int(m*1.01) if m >= X: print(n+1) break
[ "expression.operation.binary.add" ]
439,653
439,654
u166640573
python
p02694
X = int(input()) m = 100 for n in range(5000): m = int(m*1.01) if m > X: print(n) break
X = int(input()) m = 100 for n in range(5000): m = int(m*1.01) if m >= X: print(n+1) break
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
439,655
439,654
u166640573
python
p02694
x = int(input()) count = 0 a = 100 while True: a *= 1.01 a = int(a) if int(a) >= x: break else: count += 1 print(count)
x = int(input()) count = 1 a = 100 while True: a *= 1.01 a = int(a) if int(a) >= x: break else: count += 1 print(count)
[ "literal.number.integer.change", "assignment.value.change" ]
439,669
439,670
u536642030
python
p02694
x = int(input()) sm = 100 count = 0 while sm >= x: count += 1 sm += int(0.01*sm) print(count)
x = int(input()) sm = 100 count = 0 while sm < x: count += 1 sm += int(0.01*sm) print(count)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,696
439,697
u806403461
python
p02694
# -*- coding: utf-8 -*- """ Created on Sat May 2 19:45:18 2020 @author: harsh """ #%% import math x=int(input()) rate=100 i=1 while(True): if(rate>=x): print(i) break else: rate=rate*1.01 i+=1 #print((math.log(x/100))/(math.log(1.01)))
# -*- coding: utf-8 -*- """ Created on Sat May 2 19:45:18 2020 @author: harsh """ #%% import math x=int(input()) rate=100 i=1 while(True): if(rate>=x): print(i-1) break else: rate=int(rate*1.01) i+=1 #print((math.log(x/100))/(math.log(1.01)))
[ "call.add", "call.arguments.change" ]
439,709
439,710
u030856690
python
p02694
import math x = int(input()) y=math.floor(100) d=int(y) print(d) year=0 while y<x: y*=1.01 d=int(y) y=d year+=1 #print(y,year) print(year)
import math x = int(input()) y=math.floor(100) d=int(y) year=0 while y<x: y*=1.01 d=int(y) y=d year+=1 #print(y,year) print(year)
[ "call.remove" ]
439,711
439,712
u687135117
python
p02694
X = int(input()) a, b = 100, 1 while 1: a += a * 0.01 if a >= X: print(b) break b += 1
X = int(input()) a, b = 100, 1 while 1: a += int(a * 0.01) if a >= X: print(b) break b += 1
[ "call.add", "call.arguments.change" ]
439,725
439,726
u740267532
python
p02694
X = int(input()) a, b = 100, 1 while 1: a += a * 0.01 if a >= X: print(b) break b += 1
import math X = int(input()) a, b = 100, 1 while 1: a += int(a * 0.01) if a >= X: print(b) break b += 1
[ "call.add", "call.arguments.change" ]
439,725
439,727
u740267532
python
p02694
# import math x = int(input()) cnt = 0 answer = 100 # こんなのやらなくてよかったク◯アホ # 金額* 0.01 = 利子 # 福利計算式 FV = PV * (1 + R) ** n # fv(futurevalue):将来価値 pv(presentvalue)(元金):現在価値 r:金利(年利)% n:経過年数 # fv = 100 (1 + 1) # k = 100 * (1 + 1) ** n k / 100 # x = x / 100 # print(math.log(2, x)) # for i in range(x): # # ans += ...
# import math x = int(input()) cnt = 0 answer = 100 # こんなのやらなくてよかったク◯アホ # 金額* 0.01 = 利子 # 福利計算式 FV = PV * (1 + R) ** n # fv(futurevalue):将来価値 pv(presentvalue)(元金):現在価値 r:金利(年利)% n:経過年数 # fv = 100 (1 + 1) # k = 100 * (1 + 1) ** n k / 100 # x = x / 100 # print(math.log(2, x)) # for i in range(x): # # ans += ...
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
439,740
439,741
u373703188
python
p02694
X = int(input()) A = 100 c = 0 while(A < X): A = A * 1.01 c = c + 1 print(c)
X = int(input()) A = 100 c = 0 while(A < X): A = int(A * 1.01) c = c + 1 print(c)
[ "call.add", "call.arguments.change" ]
439,748
439,749
u855967722
python