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())
tmp = A % k
if(tmp == 0):
print('OK')
else:
if(A + (K-tmp) <= B):
print('OK')
else:
print('NG') | K = int(input())
A, B = map(int,input().split())
tmp = A % K
if(tmp == 0):
print('OK')
else:
if(A + (K-tmp) <= B):
print('OK')
else:
print('NG') | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 435,066 | 435,067 | u365625186 | python |
p02693 | K = int(input())
A, B = map(int,input().split())
tmp = a % k
if(tmp == 0):
print('OK')
else:
if(A + (K-tmp) <= B):
print('OK')
else:
print('NG') | K = int(input())
A, B = map(int,input().split())
tmp = A % K
if(tmp == 0):
print('OK')
else:
if(A + (K-tmp) <= B):
print('OK')
else:
print('NG') | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 435,068 | 435,067 | u365625186 | python |
p02693 | K=int(input())
A,B = map(int, input().split())
count=0
for i in range(A,B+1):
if i%K==0:
print("OK")
count+=1
break
if count==0:
print("No") | K=int(input())
A,B = map(int, input().split())
count=0
for i in range(A,B+1):
if i%K==0:
print("OK")
count+=1
break
if count==0:
print("NG") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 435,073 | 435,074 | u527454768 | python |
p02693 | K=int(input())
A,B = map(int, input().split())
count=0
for i in range(A,B+1):
if i%K==0:
print("OK")
count+=1
break
if count==0:
print("No")
| K=int(input())
A,B = map(int, input().split())
count=0
for i in range(A,B+1):
if i%K==0:
print("OK")
count+=1
break
if count==0:
print("NG") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 435,075 | 435,074 | u527454768 | python |
p02693 | K=int(input())
A,B = map(int, input().split())
count=0
for i in range(A,B+1):
if i%K==0:
print("OK")
count+=1
if count==0:
print("NG")
| K=int(input())
A,B = map(int, input().split())
count=0
for i in range(A,B+1):
if i%K==0:
print("OK")
count+=1
break
if count==0:
print("NG") | [
"control_flow.break.add"
] | 435,076 | 435,074 | u527454768 | python |
p02693 | a = int(input())
b,c = map(int,input().split())
for i in range(b,c):
if i%a == 0:
print("OK")
break
else:
print("NG") | a = int(input())
b,c = map(int,input().split())
for i in range(b,c+1):
if i%a == 0:
print("OK")
quit()
else:
print("NG")
| [
"call.add"
] | 435,084 | 435,085 | u948875995 | python |
p02693 | a = int(input())
b,c = map(int,input().split())
for i in range(b,c):
if i%a == 0:
print("OK")
break
else:
print("No") | a = int(input())
b,c = map(int,input().split())
for i in range(b,c+1):
if i%a == 0:
print("OK")
quit()
else:
print("NG")
| [
"call.add",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 435,086 | 435,085 | u948875995 | python |
p02693 | k=int(input())
a,b=map(int,input().split())
if b-a>=k-1 or b%k<=a%k or a%k==0:
print('OK')
else:
print('NG') | k=int(input())
a,b=map(int,input().split())
if b-a>=k-1 or b%k<a%k or a%k==0:
print('OK')
else:
print('NG') | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 435,095 | 435,096 | u631299617 | python |
p02693 | k = int(input())
a, b=map(int,input().split())
c = 0
Lists = list(range(a, b+1))
for i in Lists:
if i % k == 0:
print("OK")
c = 1
if c == 0:
print("NG")
| k = int(input())
a, b = map(int,input().split())
c = 0
Lists = list(range(a, b+1))
for i in Lists:
if i % k == 0:
print("OK")
c += 1
break
if c == 0:
print("NG") | [
"assignment.value.change",
"control_flow.break.add"
] | 435,106 | 435,107 | u291932618 | python |
p02693 | K= int(input())
A, B = map(int, input().split())
sum=0
for i in range(A,B+1,1):
print(i)
if i%K==0:
sum+=1
if sum>=1:
print('OK')
else:
print('NG') | K= int(input())
A, B = map(int, input().split())
sum=0
for i in range(A,B+1,1):
if i%K==0:
sum+=1
if sum>=1:
print('OK')
else:
print('NG') | [
"call.remove"
] | 435,110 | 435,111 | u068666298 | python |
p02693 | K= int(input())
A, B = map(int, input().split())
sum=0
for i in range(A+1,B+1,1):
if i%K==0:
sum+=1
if sum>=1:
print('OK')
else:
print('NG') | K= int(input())
A, B = map(int, input().split())
sum=0
for i in range(A,B+1,1):
if i%K==0:
sum+=1
if sum>=1:
print('OK')
else:
print('NG') | [
"expression.operation.binary.remove"
] | 435,112 | 435,111 | u068666298 | python |
p02693 | K= int(input())
A, B = map(int, input().split())
sum=0
for i in range(A,B,1):
if i%K==0:
sum+=1
if sum>=1:
print('OK')
else:
print('NG') | K= int(input())
A, B = map(int, input().split())
sum=0
for i in range(A,B+1,1):
if i%K==0:
sum+=1
if sum>=1:
print('OK')
else:
print('NG') | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 435,113 | 435,111 | u068666298 | python |
p02693 | K = int(input())
A, B = map(int, input().split())
for num in range(1,1000):
if A <= K*num <= B:
print('OK')
break
print('NG') | K = int(input())
A, B = map(int, input().split())
for num in range(1,1000):
if A <= K*num <= B:
print('OK')
break
else:
print('NG')
| [] | 435,114 | 435,115 | u039065404 | python |
p02693 | k = int(input())
a,b = list(map(int,input().slplit()))
ret = ""
q = a//k
if a <= q*k or (q+1)*k <= b:
ret = "OK"
else:
ret ="NG"
print(ret) | k = int(input())
a,b = list(map(int,input().split()))
ret = ""
q = a//k
if a <= q*k or (q+1)*k <= b:
ret = "OK"
else:
ret ="NG"
print(ret) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 435,119 | 435,120 | u985041094 | python |
p02693 | import sys
def main():
k = int(input())
a,b = map(int, input().split())
n = "OK"
for ai in range(a,b+1):
if ai%k==0:
break
sys.exit()
else:
n="NG"
print(n)
if __name__ == "__main__":
main()
| import sys
def main():
k = int(input())
a,b = map(int, input().split())
n = "OK"
for ai in range(a,b+1):
if ai%k==0:
n = "OK"
break
sys.exit()
else:
n="NG"
print(n)
if __name__ == "__main__":
main() | [
"assignment.add"
] | 435,123 | 435,124 | u656801456 | python |
p02693 | A = int(input())
B,C = map(int,input().split())
f = "No"
for i in range(B,C+1):
if i % A == 0:
f = "Yes"
print(f) | A = int(input())
B,C = map(int,input().split())
f = "NG"
for i in range(B,C+1):
if i % A == 0:
f = "OK"
print(f) | [
"literal.string.change",
"assignment.value.change"
] | 435,125 | 435,126 | u756195685 | python |
p02693 | K=int(input())
A,B =input().split()
if (((int(A)//K)+1) <= (int(B)//K)):
print("OK")
elif(K==1):
print("OK")
elif(int(A)//K==0):
print("OK")
else:
print("NG")
| K=int(input())
A,B =input().split()
if (((int(A)//K)+1) <= (int(B)//K)):
print("OK")
elif(K==1):
print("OK")
elif(int(A)%K==0):
print("OK")
else:
print("NG")
| [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 435,131 | 435,132 | u479484272 | python |
p02693 | k = int(input())
a,b = list(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('NO') | k = int(input())
a,b = list(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"
] | 435,138 | 435,139 | u815304751 | python |
p02693 | k = int(input())
a,b = list(map(int,input().split()))
flag=False
for i in range(a,b):
if i % 7 == 0:
flag =True
if(flag):
print('OK')
else:
print('NO')
| k = int(input())
a,b = list(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')
| [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 435,140 | 435,139 | u815304751 | python |
p02693 | K = int(input("multiple of: "))
A, B = map(int, input().split())
word = "NG"
for i in range(A, B+1):
if i % K == 0:
word = "OK"
print(word)
| K = int(input())
A, B = map(int, input().split())
word = "NG"
for i in range(A, B+1):
if i % K == 0:
word = "OK"
print(word)
| [] | 435,141 | 435,142 | u340115305 | python |
p02693 | k = int(input())
a, b = map(int, input().split())
for i in range(a, b+1):
if i % k == 0:
print("OK")
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") | [
"control_flow.branch.if.condition.change",
"control_flow.break.add"
] | 435,151 | 435,152 | u203471639 | python |
p02693 | N = int(input())
A=input().split()
s=int(A[0])//N
if int(A[0])%N==0:
print('OK')
else:
if (s+1)*N>=int(A[1]):
print('NG')
else:
print('OK')
| N = int(input())
A=input().split()
s=int(A[0])//N
if int(A[0])%N==0:
print('OK')
else:
if (s+1)*N>int(A[1]):
print('NG')
else:
print('OK')
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 435,157 | 435,158 | u655430899 | python |
p02693 | N = int(input())
A=input().split()
s=int(A[0])//N
if int(A[0])%N==0:
print('OK')
else:
if (s+1)*N>=A[1]:
print('NG')
else:
print('OK')
| N = int(input())
A=input().split()
s=int(A[0])//N
if int(A[0])%N==0:
print('OK')
else:
if (s+1)*N>int(A[1]):
print('NG')
else:
print('OK')
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"call.add"
] | 435,159 | 435,158 | u655430899 | python |
p02693 | ## A
K = int(input())
A, B = map(int, input().split())
rt = 'NG'
if A == B:
if A%K == 0:
rt = 'OK'
else:
for i in range(A+1,B+1):
if i%K == 0:
rt = 'OK'
break
print(rt) | ## A
K = int(input())
A, B = map(int, input().split())
rt = 'NG'
if A == B:
if A%K == 0:
rt = 'OK'
else:
for i in range(A,B+1):
if i%K == 0:
rt = 'OK'
break
print(rt) | [
"expression.operation.binary.remove"
] | 435,162 | 435,163 | u299599133 | python |
p02693 | k = int(input())
a, b = map(int,input().split())
if a%k == 0:
res_k = a*k
else:
res_k = (a//k + 1)*k
if res_k >= a and res_k <= b:
print('OK')
else:
print('NG') | k = int(input())
a, b = map(int,input().split())
if a%k == 0:
res_k = a
else:
res_k = (a//k + 1)*k
if (res_k >= a) and (res_k <= b):
print('OK')
else:
print('NG') | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 435,183 | 435,184 | u041548949 | python |
p02693 |
k = int(input())
a,b = map(int,input().split())
if a//k == a//k:
if a%k == 0:
print("OK")
else:
print("NG")
else:
print("OK") | k = int(input())
a,b = map(int,input().split())
if a//k == b//k:
if a%k == 0:
print("OK")
else:
print("NG")
else:
print("OK") | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 435,185 | 435,186 | u448720391 | python |
p02693 | k = int(input())
a, b = map(int, input().split())
if k<a:
if a%k == 0:
print("OK")
elif b%k == 0:
print("OK")
elif(a+(k-a%k)) <= b:
print("OK")
else:
print("NG")
elif k<b:
print("OK")
else:
print("NG") | k = int(input())
a, b = map(int, input().split())
if k<a:
if a%k == 0:
print("OK")
elif b%k == 0:
print("OK")
elif(a+(k-a%k)) <= b:
print("OK")
else:
print("NG")
elif k<=b:
print("OK")
else:
print("NG")
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 435,189 | 435,190 | u593091020 | python |
p02693 | K = int(input())
A, B = map(int, input().split())
N = A // K
if K*(N+1) <= B:
print("OK")
elif K == A*N:
print("OK")
else:
print("NG") | K = int(input())
A, B = map(int, input().split())
N = A // K
if K*(N+1) <= B:
print("OK")
elif A == K*N:
print("OK")
else:
print("NG") | [
"control_flow.branch.if.condition.change"
] | 435,204 | 435,205 | u369796672 | python |
p02693 | K = int(input())
A, B = map(int, input().split())
N = A // K
if K*(N+1) <= B:
print("OK")
elif K == A:
print("OK")
else:
print("NG") | K = int(input())
A, B = map(int, input().split())
N = A // K
if K*(N+1) <= B:
print("OK")
elif A == K*N:
print("OK")
else:
print("NG") | [
"control_flow.branch.if.condition.change"
] | 435,206 | 435,205 | u369796672 | python |
p02693 | K = int(input())
A, B = map(int, input().split())
a = 0
for i in range(A,B+1):
if i % K == 0:
a = 1
break
print("OK" if a == 1 else "NO") | K = int(input())
A, B = map(int, input().split())
a = 0
for i in range(A,B+1):
if i % K == 0:
a = 1
break
print("OK" if a == 1 else "NG") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 435,207 | 435,208 | u374671031 | python |
p02693 | K = int(input())
A,B = map(int,input().split())
for i in range(A,B+1):
if i % K == 0:
flag = 1
break
if flag == 0:
print("NG")
else:
print("OK") | K = int(input())
A,B = map(int,input().split())
flag = 0
for i in range(A,B+1):
if i % K == 0:
flag = 1
break
if flag == 0:
print("NG")
else:
print("OK")
| [
"assignment.add"
] | 435,214 | 435,215 | u806392288 | python |
p02693 | import sys
input = sys.stdin.readline
k = int(input())
a, b = map(int, input().replace("\n","").split())
if a == b:
if a % k == 0:
print("OK")
exit()
for i in range(a,b):
if i % k == 0:
print("OK")
exit()
print("NG") | import sys
input = sys.stdin.readline
k = int(input())
a, b = map(int, input().replace("\n","").split())
if a == b:
if a % k == 0:
print("OK")
exit()
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"
] | 435,216 | 435,217 | u366269356 | python |
p02693 | K = int(input())
A,B=map(int,input().split())
if (int(B/K)- int(A/K) ) >=1 :
print('OK')
else :
print('NG') | K = int(input())
A,B=map(int,input().split())
if (int(B/K) - int((A-1)/K) ) >=1 :
print('OK')
else :
print('NG') | [
"control_flow.branch.if.condition.change"
] | 435,218 | 435,219 | u336979293 | python |
p02693 | import math
K=int(input())
A,B=[int(i)for i in input().split()]
a=math.ceil(A/K)
print("Yes" if B>=a*K else "No")
| import math
K=int(input())
A,B=[int(i)for i in input().split()]
a=math.ceil(A/K)
print("OK" if B>=a*K else "NG")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 435,220 | 435,221 | u789436713 | 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(i)
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") | [
"call.remove"
] | 435,222 | 435,223 | u236536206 | python |
p02693 | import sys
import os
K=int(input())
A,B=map(int,input().split())
for i in range(A,B+1):
if i%K==0:
print(i)
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") | [
"call.remove"
] | 435,224 | 435,223 | u236536206 | python |
p02693 | K = int(input())
A, B = map(int, input().split())
flg = False
for i in range(A, B):
print(i)
if i % K == 0:
flg = True
break
if flg or A % K == 0 or B % K == 0:
print('OK')
else:
print('NG') | K = int(input())
A, B = map(int, input().split())
flg = False
for i in range(A, B):
if i % K == 0:
flg = True
break
if flg or A % K == 0 or B % K == 0:
print('OK')
else:
print('NG') | [
"call.remove"
] | 435,235 | 435,236 | u103519843 | python |
p02693 | k= int(input())
a,b = map(int,input().split())
count = 0
for i in range(a,b+1):
if i%k==0:
count +=1
if count >1:
print("OK")
else:
print("NG") | k= int(input())
a,b = map(int,input().split())
count = 0
for i in range(a,b+1):
if i%k==0:
count +=1
if count >=1:
print("OK")
if count==0:
print("NG") | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 435,237 | 435,238 | u854623825 | python |
p02693 | K = int(input())
A,B = map(int, input().split())
count = 0
for i in range(A,B):
if((i % K) == 0):
count+=1
if(count > 0):
print("OK")
else:
print("NG") | K = int(input())
A,B = map(int, input().split())
count = 0
for i in range(A,B+1):
if((i % K) == 0):
count+=1
if(count > 0):
print("OK")
else:
print("NG") | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 435,239 | 435,240 | u558764629 | python |
p02693 | k = int(input())
a, b = map(int, input().split())
q, r = divmod(a, k)
Q, R = divmod(b, k)
if q > Q:
print('OK')
else:
if r == 0:
print('OK')
else:
print('NG')
| k = int(input())
a, b = map(int, input().split())
q, r = divmod(a, k)
Q, R = divmod(b, k)
if q < Q:
print('OK')
else:
if r == 0:
print('OK')
else:
print('NG')
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 435,258 | 435,259 | u568559987 | python |
p02693 | k = int(input())
a,b = map(int,input().split())
c = list(range(a,b+1))
d = []
for i in range(len(c)):
if c[i] % k == 0:
d.append('A')
if len(d) >= 1:
print('OK')
else:
print('No') | k = int(input())
a,b = map(int,input().split())
c = list(range(a,b+1))
d = []
for i in range(len(c)):
if c[i] % k == 0:
d.append('A')
if len(d) >= 1:
print('OK')
else:
print('NG') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 435,265 | 435,266 | u849229491 | python |
p02693 | k = int(input())
a, b = map(int, input().split())
if a == b and a % k == 0:
print('OK')
elif b // k - a // k >= 1:
print('OK')
else:
print('NG') | k = int(input())
a, b = map(int, input().split())
if a % k == 0:
print('OK')
elif b // k - a // k >= 1:
print('OK')
else:
print('NG') | [] | 435,269 | 435,270 | u616534089 | python |
p02693 | K = int(input())
a, b = map(int, input().split())
for num in range(a, b+1):
print(num)
if num % K == 0:
print('OK')
break
else:
print('NG')
| K = int(input())
a, b = map(int, input().split())
for num in range(a, b+1):
if num % K == 0:
print('OK')
break
else:
print('NG') | [
"call.remove"
] | 435,271 | 435,272 | u321598381 | python |
p02693 | K = int(input())
a, b = map(int, input().split())
for num in range(a, b):
if num % K == 0:
print('OK')
break
else:
print('NG')
| K = int(input())
a, b = map(int, input().split())
for num in range(a, b+1):
if num % K == 0:
print('OK')
break
else:
print('NG') | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 435,273 | 435,272 | u321598381 | python |
p02693 | K = int(input())
a, b = map(int, input().split())
for num in range(a, b):
if num % K == 0:
print('OK')
break
else:
print('NO')
| K = int(input())
a, b = map(int, input().split())
for num in range(a, b+1):
if num % K == 0:
print('OK')
break
else:
print('NG') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 435,274 | 435,272 | u321598381 | python |
p02693 | K = int(input())
a, b = map(int, input().split())
for num in range(a, b):
if num == K:
print('OK')
break
else:
print('NO')
| K = int(input())
a, b = map(int, input().split())
for num in range(a, b+1):
if num % K == 0:
print('OK')
break
else:
print('NG') | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 435,275 | 435,272 | u321598381 | python |
p02693 | K = int(input())
A , B = (map(int , input().split()))
kk = K
while True:
if kk >= A and kk <= B:
ans = 'OK'
break
elif kk > 600:
ans = 'NG'
break
else:
kk = kk+K
print(ans)
| K = int(input())
A , B = (map(int , input().split()))
kk = K
while True:
if kk >= A and kk <= B:
ans = 'OK'
break
elif kk > B:
ans = 'NG'
break
else:
kk = kk+K
print(ans) | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change"
] | 435,299 | 435,300 | u140191608 | python |
p02693 | K = int(input())
A , B = (map(int , input().split()))
kk = K
while True:
if kk >= A and kk <= 600:
ans = 'OK'
break
elif kk > 600:
ans = 'NG'
break
else:
kk = kk+K
print(ans) | K = int(input())
A , B = (map(int , input().split()))
kk = K
while True:
if kk >= A and kk <= B:
ans = 'OK'
break
elif kk > B:
ans = 'NG'
break
else:
kk = kk+K
print(ans) | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change"
] | 435,301 | 435,300 | u140191608 | python |
p02693 | def solve(n, x, y):
for i in range(x, y+1):
if i % n == 0:
return "OK"
return "NG"
n = int(input())
a, b = list(map(int, input().split()))
solve(n, a, b) | def solve(n, x, y):
for i in range(x, y+1):
if i % n == 0:
return "OK"
return "NG"
n = int(input())
a, b = list(map(int, input().split()))
print(solve(n, a, b)) | [
"call.add",
"call.arguments.change"
] | 435,309 | 435,310 | u217221869 | python |
p02693 | k = int(input())
[a, b] = [int(i) for i in input().split()]
sum = k
while sum <= 1000:
sum += k
if sum >= a and sum <= b:
print("OK")
break
else:
print("NG") | k = int(input())
[a, b] = [int(i) for i in input().split()]
sum = 0
while sum < b:
sum += k
if sum >= a and sum <= b:
print("OK")
break
else:
print("NG") | [
"assignment.value.change",
"identifier.replace.remove",
"literal.replace.add"
] | 435,319 | 435,320 | u954534284 | python |
p02693 | k = int(input())
[a, b] = [int(i) for i in input().split()]
sum = k
while sum <= b:
sum += k
if sum >= a and sum <= b:
print("OK")
break
else:
print("NG")
| k = int(input())
[a, b] = [int(i) for i in input().split()]
sum = 0
while sum < b:
sum += k
if sum >= a and sum <= b:
print("OK")
break
else:
print("NG") | [
"assignment.value.change",
"identifier.replace.remove",
"literal.replace.add",
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 435,321 | 435,320 | u954534284 | python |
p02693 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import pysnooper # @pysnooper.snoop()
from pprint import pprint as pp
from pprint import pformat as pf
def solve():
k = int(input())
a, b = map(int, input().split())
v = k
while not (v > b):
if a <= v <= b:
print("OK")
retur... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from pprint import pprint as pp
from pprint import pformat as pf
def solve():
k = int(input())
a, b = map(int, input().split())
v = k
while not (v > b):
if a <= v <= b:
print("OK")
return 0
v += k
print("NG")
... | [] | 435,322 | 435,323 | u060894033 | python |
p02693 | k=int(input())
flag=0
ab=list(map(int, input().split()))
i=0
while ab[1]-ab[0]+1-i>0:
if (ab[0]+i)%k==0:
flag=1
print("OK")
i=i+1
if flag==0:
print("NG") | k=int(input())
flag=0
ab=list(map(int, input().split()))
i=0
while ab[1]-ab[0]+1-i>0:
if (ab[0]+i)%k==0:
flag=1
print("OK")
break
i=i+1
if flag==0:
print("NG") | [
"control_flow.break.add"
] | 435,324 | 435,325 | u736564905 | python |
p02693 | K=int(input())
A,B=map(int,input().split())
x=A
while x<=B:
if x%K==0:
print('OK')
break
else:
x+=1
if x==B+1:
print('No') | K=int(input())
A,B=map(int,input().split())
x=A
while x<=B:
if x%K==0:
print('OK')
break
else:
x+=1
if x==B+1:
print('NG') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 435,335 | 435,336 | u303913580 | python |
p02693 | K=int(input())
A,B=map(int,input().split())
x=A
while x<=B:
if x%K==0:
print('OK')
break
else:
x+=1
if x==B:
print('No')
| K=int(input())
A,B=map(int,input().split())
x=A
while x<=B:
if x%K==0:
print('OK')
break
else:
x+=1
if x==B+1:
print('NG') | [
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 435,337 | 435,336 | u303913580 | python |
p02693 | check = False
n = int(input())
num = list(map(int, input().split()))
while num[0] < num[1] and check != True :
if(num[0]%n==0):
check=True;
num[0] += 1
if(check):
print("OK")
else:
print("NG") | check = False
n = int(input())
num = list(map(int, input().split()))
while num[0] <= num[1] and check != True :
if(num[0]%n==0):
check=True;
num[0] += 1
if(check):
print("OK")
else:
print("NG") | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 435,344 | 435,345 | u758352979 | python |
p02693 | K=input()
A,B = map(int,input().split())
sa = B - A
flag = 0
for i in range(sa+1):
if (A+i)%K==0:
flag = 1
break
if flag==1:
print('OK')
else:
print('NG') | K=int(input())
A,B = map(int,input().split())
sa = B - A
flag = 0
for i in range(sa+1):
if (A+i)%K==0:
flag = 1
break
if flag==1:
print('OK')
else:
print('NG') | [
"call.add",
"call.arguments.change"
] | 435,351 | 435,352 | u350578302 | python |
p02693 | K=int(input())
A,B = map(int,input().split())
sa = B - A
flag = 0
for i in range(sa):
if (A+i)%K==0:
flag = 1
break
if flag==1:
print('OK')
else:
print('NG') | K=int(input())
A,B = map(int,input().split())
sa = B - A
flag = 0
for i in range(sa+1):
if (A+i)%K==0:
flag = 1
break
if flag==1:
print('OK')
else:
print('NG') | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 435,353 | 435,352 | u350578302 | python |
p02693 | k = int(input())
a, b = map(int, input().split())
judge = 0
for i in range(b-a):
if a+i % k == 0:
judge = 1
if judge == 1:
print("OK")
else:
print("NG") | k = int(input())
a, b = map(int, input().split())
judge = 0
for i in range(b-a+1):
if (a+i) % k == 0:
judge = 1
if judge == 1:
print("OK")
else:
print("NG") | [
"control_flow.branch.if.condition.change"
] | 435,354 | 435,355 | u344232182 | python |
p02693 | k = int(input())
a, b = map(int, input().split())
judge = 0
for i in range(b-a+1):
if a+i % k == 0:
judge = 1
if judge == 1:
print("OK")
else:
print("NG") | k = int(input())
a, b = map(int, input().split())
judge = 0
for i in range(b-a+1):
if (a+i) % k == 0:
judge = 1
if judge == 1:
print("OK")
else:
print("NG") | [
"control_flow.branch.if.condition.change"
] | 435,356 | 435,355 | u344232182 | python |
p02693 | K = int(input())
A, B = map(int, input().split())
if (B - A + 1) >= K:
print("OK")
else:
result = "NO"
for i in range(A, B + 1):
if i % K == 0:
result = "OK"
break
print(result)
| K = int(input())
A, B = map(int, input().split())
if (B - A + 1) >= K:
print("OK")
else:
result = "NG"
for i in range(A, B + 1):
if i % K == 0:
result = "OK"
break
print(result)
| [
"literal.string.change",
"assignment.value.change"
] | 435,364 | 435,365 | u730270108 | python |
p02693 | K = int(input())
A, B = map(int,input().split())
for i in range(A,B+1):
print(i)
if i%K ==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')
| [
"call.remove"
] | 435,372 | 435,373 | u188138642 | python |
p02693 | K = int(input())
A, B = map(int,input().split())
for i in range(A,B+1):
if i%K ==0:
print('Yes')
exit()
print('No')
| 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')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 435,374 | 435,373 | u188138642 | python |
p02693 | N = int(input())
A, B = map(int, input().split())
for i in range(A, B+1):
if i % N == 0:
print('OK')
else:
if i == B:
print('NG')
else:
continue | N = int(input())
A, B = map(int, input().split())
for i in range(A, B+1):
if i % N == 0:
print('OK')
break
else:
if i == B:
print('NG')
break
else:
continue | [
"control_flow.break.add"
] | 435,375 | 435,376 | u637918426 | python |
p02693 | k = int(input())
a, b = list(map(int, input().split()))
count = 0
for i in range(1, 1001):
if k * i >= a and k * i <= b:
print('OK')
count = 1
break
if count == 0:
print('NO')
| k = int(input())
a, b = list(map(int, input().split()))
count = 0
for i in range(1, 1001):
if k * i >= a and k * i <= b:
print('OK')
count = 1
break
if count == 0:
print('NG')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 435,377 | 435,378 | u374815848 | python |
p02693 | K = input()
A,B = input().split()
if A == B:
ans = int(A)
if ans % int(K) == 0:
print('OK')
exit()
print('NG')
exit()
for i in range(int(A), int(B)):
if i % int(K) == 0:
print('OK')
exit()
print('NG') | K = input()
A,B = input().split()
if A == B:
ans = int(A)
if ans % int(K) == 0:
print('OK')
exit()
print('NG')
exit()
for i in range(int(A), int(B) + 1):
if i % int(K) == 0:
print('OK')
exit()
print('NG')
exit() | [
"call.add"
] | 435,381 | 435,382 | u326470887 | python |
p02693 | K = int(input())
A,B = map(int,input().split())
a=0
for i in range(A,B):
if i%K ==0:
a+=1
if a>0:
print('OK')
else:
print('NG') | K = int(input())
A,B = map(int,input().split())
a=0
for i in range(A,B+1):
if i%K ==0:
a+=1
if a>0:
print('OK')
else:
print('NG')
| [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 435,385 | 435,386 | u097409023 | python |
p02693 | k = int(input())
a, b = map(int, input().split())
count = 1
m = 0
while a >= m:
m = k * count
count += 1
if a <= m <= b:
print("OK")
else:
print("NG")
| k = int(input())
a, b = map(int, input().split())
count = 1
m = 0
while a > m:
m = k * count
count += 1
if a <= m <= b:
print("OK")
else:
print("NG")
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 435,389 | 435,390 | u429220960 | python |
p02693 | k = int(input())
a,b = map(int,input().split())
if k <= b-a+1:
print('OK')
else:
print('NG') | k = int(input())
a,b = map(int,input().split())
if b % k <= b-a:
print('OK')
else:
print('NG') | [
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove"
] | 435,391 | 435,392 | u262084284 | python |
p02693 | K = int(input())
A , B = (int(x) for x in input().split())
for i in range(1000):
if A >= i*K >= B:
print("OK")
break
elif i*K > B:
print("NG")
break
| K = int(input())
A , B = (int(x) for x in input().split())
for i in range(1000):
if B >= i * K >= A:
print("OK")
break
elif i*K > B:
print("NG")
break
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 435,398 | 435,399 | u916662650 | python |
p02693 | import sys
K = int(input())
A, B = [int(x) for x in 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 = [int(x) for x in input().split()]
for i in range(A, B+1):
if i%K == 0:
print("OK")
sys.exit()
print("NG") | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 435,400 | 435,401 | u465900169 | python |
p02693 | X = int(input())
A,B = map(int, input().split())
F = 0
for i in range(A, B, 1):
if i % X == 0:
print("OK")
F =+ 1
break
if F == 0:
print("NG") | X = int(input())
A,B = map(int, input().split())
F = 0
for i in range(A, B+1, 1):
if i % X == 0:
print("OK")
F =+ 1
break
if F == 0:
print("NG") | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 435,407 | 435,408 | u655102148 | python |
p02693 | k = int(input())
a, b = map(int, input().split())
count = 0
for i in range(a, b+1):
if i % 7 == 0:
count += 1
else:
continue
if count != 0:
print("OK")
else:
print("NG") | k = int(input())
a, b = map(int, input().split())
count = 0
for i in range(a, b+1):
if i % k == 0:
count += 1
else:
continue
if count != 0:
print("OK")
else:
print("NG")
| [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change"
] | 435,411 | 435,412 | u727021494 | python |
p02693 | k = int(input())
a, b = map(int, input().split())
count = 0
for i in range(a, b):
if i % 7 == 0:
count += 1
else:
continue
if count != 0:
print("OK")
else:
print("NG") | k = int(input())
a, b = map(int, input().split())
count = 0
for i in range(a, b+1):
if i % k == 0:
count += 1
else:
continue
if count != 0:
print("OK")
else:
print("NG")
| [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change"
] | 435,413 | 435,412 | u727021494 | python |
p02693 | K = int(input())
A, B = map(int, input().split())
i = A // K
nK = K
OK = False
if A-B > K:
print('OK')
else:
while nK < B:
if (nK >= A) and (nK <= B):
OK = True
print('OK')
break
nK = i * K
i = i + 1
if OK == False:
print('NG') | K = int(input())
A, B = map(int, input().split())
i = A // K
nK = K
OK = False
if A-B > K:
print('OK')
else:
while nK <= B:
if (nK >= A) and (nK <= B):
OK = True
print('OK')
break
nK = i * K
i = i + 1
if OK == False:
print('NG') | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 435,424 | 435,423 | u454043187 | python |
p02693 | K = int(input())
A, B = map(int, input().split())
i = A // K
nK = K
OK = False
if A-B >= K:
print('OK')
else:
while nK < B:
if (nK >= A) and (nK <= B):
OK = True
print('OK')
break
nK = i * K
i = i + 1
if OK == False:
print('NG') | K = int(input())
A, B = map(int, input().split())
i = A // K
nK = K
OK = False
if A-B > K:
print('OK')
else:
while nK <= B:
if (nK >= A) and (nK <= B):
OK = True
print('OK')
break
nK = i * K
i = i + 1
if OK == False:
print('NG') | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"control_flow.loop.condition.change"
] | 435,425 | 435,423 | u454043187 | python |
p02693 | K = int(input())
A, B = map(int, input().split())
i = A // K
nk = K
OK = False
if A-B >= K:
print('OK')
else:
while nK < B:
if (nK >= A) and (nK <= B):
OK = True
print('OK')
nK = i * K
i = i + 1
if OK == False:
print('NG') | K = int(input())
A, B = map(int, input().split())
i = A // K
nK = K
OK = False
if A-B > K:
print('OK')
else:
while nK <= B:
if (nK >= A) and (nK <= B):
OK = True
print('OK')
break
nK = i * K
i = i + 1
if OK == False:
print('NG') | [
"assignment.variable.change",
"identifier.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"control_flow.loop.condition.change",
"control_flow.break.add"
] | 435,426 | 435,423 | u454043187 | python |
p02693 | import math
k = input()
s, t = [int(i)/k for i in input().split()]
if math.ceil(s) <= math.floor(t):
print('OK')
else:
print('NG') | import math
k = int(input())
s, t = [int(i)/k for i in input().split()]
if math.ceil(s) <= math.floor(t):
print('OK')
else:
print('NG')
| [
"call.add",
"call.arguments.change"
] | 435,434 | 435,435 | u210543511 | python |
p02693 | K=int(input())
A,B=list(map(int,input().split()))
a=A/K
b=B/K
if A%K==0 or B%K==0 or (a+1)*K<=B:
print('OK')
else:
print('NG') | K=int(input())
A,B=list(map(int,input().split()))
a=int(A/K)
b=B/K
if A%K==0 or B%K==0 or (a+1)*K<=B:
print('OK')
else:
print('NG') | [
"call.add",
"call.arguments.change"
] | 435,436 | 435,437 | u904269060 | python |
p02693 | #!/usr/bin/env python3
import sys
def solve(K: int, A: int, B: int):
if K == 1:
print("OK")
exit()
a = A // K
if (a + 1) * K <= B:
print("OK")
else:
print("NG")
return
# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools (tips: You use the ... | #!/usr/bin/env python3
import sys
def solve(K: int, A: int, B: int):
if A % K == 0:
print("OK")
return
a = A // K
if (a + 1) * K <= B:
print("OK")
else:
print("NG")
return
# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools (tips: You use the ... | [
"control_flow.branch.if.condition.change",
"literal.number.integer.change",
"control_flow.exit.remove",
"control_flow.return.add",
"call.arguments.change"
] | 435,438 | 435,439 | u884087839 | python |
p02693 | k = int(input())
a,b = map(int, input().split())
if len(set(range(0,1000,k)) & set(range(a-1,b))) >= 1:
print('OK')
else:
print('NG') | k = int(input())
a,b = map(int, input().split())
if len(set(range(0,1001,k)) & set(range(a,b+1))) >= 1:
print('OK')
else:
print('NG') | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove"
] | 435,447 | 435,448 | u300457253 | python |
p02693 | 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")
| K=int(input())
A,B=map(int,input().split())
for i in range(A,B+1,1):
if i%K==0:
print("OK")
break
else:
print("NG")
| [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 435,450 | 435,451 | u398203017 | python |
p02693 | N=int(input())
A,B=input().split(' ')
A=int(A)
B=int(B)
for i in range(1000):
if A<i*N and i*N<B:
print('OK')
exit(0)
print('NG') | N=int(input())
A,B=input().split(' ')
A=int(A)
B=int(B)
for i in range(1000):
if A<=i*N and i*N<=B:
print('OK')
exit(0)
print('NG') | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 435,454 | 435,455 | u608007704 | python |
p02693 | K = int(input())
A, B = map(int, input().split( ))
Res = int(A)
M = 0
while Res <= B:
if Res % K == 0:
print("OK")
M = 1
break
Res += 1
if M == 0:
print("NO")
| K = int(input())
A, B = map(int, input().split( ))
Res = int(A)
M = 0
while Res <= B:
if Res % K == 0:
print("OK")
M = 1
break
Res += 1
if M == 0:
print("NG")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 435,460 | 435,461 | u949618949 | python |
p02693 | k = int(input())
a, b = map(int, input().split())
i = 0
while i*k <= b:
print(i*k)
if a <= i*k <= b:
print("OK")
break
i += 1
else:
print("NG")
| k = int(input())
a, b = map(int, input().split())
i = 0
while i*k <= b:
if a <= i*k <= b:
print("OK")
break
i += 1
else:
print("NG")
| [
"call.remove"
] | 435,465 | 435,466 | u933129390 | python |
p02693 | k = int(input())
a, b = map(int, input().split())
i = 0
while i*k < b:
if a <= i*k <= b:
print("OK")
break
i += 1
else:
print("NG")
| k = int(input())
a, b = map(int, input().split())
i = 0
while i*k <= b:
if a <= i*k <= b:
print("OK")
break
i += 1
else:
print("NG")
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 435,467 | 435,466 | u933129390 | python |
p02693 | k = int(input())
a, b = map(int, input().split())
i = 1
while i*k < b:
if a < i*k < b:
print("OK")
break
i += 1
else:
print("NG")
| k = int(input())
a, b = map(int, input().split())
i = 0
while i*k <= b:
if a <= i*k <= b:
print("OK")
break
i += 1
else:
print("NG")
| [
"literal.number.integer.change",
"assignment.value.change",
"expression.operator.compare.change",
"control_flow.loop.condition.change",
"control_flow.branch.if.condition.change"
] | 435,468 | 435,466 | u933129390 | python |
p02693 | K=()
A=()
B=()
K=int(input(""))
A, B = map(int, input().split())
V=False
C=K
D=B+2
for i in range(0,D):
K=C*i
print(K)
if K>=A and K<=B:
V=True
break
else:
V=False
if V==True:
print("OK")
else:
print("NG") | K=()
A=()
B=()
K=int(input(""))
A, B = map(int, input().split())
V=False
C=K
D=B+1
for i in range(0,D):
K=C*i
if K>=A and K<=B:
V=True
break
else:
V=False
if V==True:
print("OK")
else:
print("NG") | [
"literal.number.integer.change",
"assignment.value.change",
"expression.operation.binary.change",
"call.remove"
] | 435,471 | 435,472 | u003855259 | python |
p02693 | def main():
K=int(input())
(A,B)=[int(x) for x in input().split()]
if A % K == 0:
print('OK')
elif math.ceil(A/K)*K <= B:
print('OK')
else:
print('NG')
if __name__ == '__main__':
main() | import math
def main():
K=int(input())
(A,B)=[int(x) for x in input().strip().split()]
if A % K == 0:
print('OK')
elif math.ceil(A/K)*K <= B:
print('OK')
else:
print('NG')
if __name__ == '__main__':
main()
| [] | 435,473 | 435,474 | u048867491 | python |
p02693 | import math
a=int(input())
li = list(map(int,input().split()))
if li[1]<=math.ceil(li[0]/a)*a:
print("NG")
else:
print("OK") | import math
a=int(input())
li = list(map(int,input().split()))
#print(math.ceil(li[0]/a)*a)
if li[1]<math.ceil(li[0]/a)*a:
print("NG")
else:
print("OK") | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 435,475 | 435,476 | u676091297 | python |
p02693 | import math
a=int(input())
li = list(map(int,input().split()))
if li[1]>=math.floor(1+li[0]/a)*a:
print("NG")
else:
print("OK") | import math
a=int(input())
li = list(map(int,input().split()))
#print(math.ceil(li[0]/a)*a)
if li[1]<math.ceil(li[0]/a)*a:
print("NG")
else:
print("OK") | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"misc.opposites",
"identifier.change",
"expression.operation.binary.remove"
] | 435,477 | 435,476 | u676091297 | python |
p02693 | K=int(input())
A,B=(int(x) for x in input().split())
if K-(A%K)<=B-A or K%A==0:print('OK')
else:print('NG')
| K=int(input())
A,B=(int(x) for x in input().split())
if K-(A%K)<=B-A or A%K==0:print('OK')
else:print('NG')
| [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 435,478 | 435,479 | u531374611 | python |
p02693 | K=int(input())
A,B=(int(x) for x in input().split())
if K-(A%K)<=B-A or K==A:print('OK')
else:print('NG')
| K=int(input())
A,B=(int(x) for x in input().split())
if K-(A%K)<=B-A or A%K==0:print('OK')
else:print('NG')
| [
"control_flow.branch.if.condition.change",
"identifier.replace.remove",
"literal.replace.add"
] | 435,480 | 435,479 | u531374611 | python |
p02693 | K=int(input())
A,B=(int(x) for x in input().split())
if K-(A%K)<=B-A or k==A:print('OK')
else:print('NG')
| K=int(input())
A,B=(int(x) for x in input().split())
if K-(A%K)<=B-A or A%K==0:print('OK')
else:print('NG')
| [
"control_flow.branch.if.condition.change"
] | 435,481 | 435,479 | u531374611 | python |
p02693 | k = int(input())
a, b = map(int, input().split())
if (k <= (b-a)):
print("OK")
else:
count = 0
for i in range(a, b+1):
if i % k == 0:
print("OK")
break;
count = 1
if count == 1:
print("NG") | k = int(input())
a, b = map(int, input().split())
if (k <= (b-a)):
print("OK")
else:
count = 0
for i in range(a, b+1):
if i % k == 0:
print("OK")
count = 1
break;
if count == 0:
print("NG") | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 435,482 | 435,483 | u542605091 | python |
p02693 | n = int(input())
a,b = map(int,input().split())
for i in range(a,b):
if i % n == 0:
print("OK")
break
else:
print("NG") | 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") | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 435,487 | 435,488 | u296989351 | python |
p02693 | k = int(input())
a, b = map(int,input().split())
c = b//k
ans=0
for i in range(c):
i += 1
ans = i*k
if a<= ans <=b:
print("OK")
break
else:
ans = -1
if ans == -1:
print("NG")
| k = int(input())
a, b = map(int,input().split())
c = b//k
ans=0
for i in range(c+1):
i += 1
ans = i*k
if a<= ans <=b:
print("OK")
break
else:
ans = -1
if ans == -1:
print("NG") | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 435,489 | 435,490 | u772062359 | python |
p02693 | k = int(input())
a,b = map(int, input().split())
for i in range(a,b+1):
if i % k == 0:
print("OK")
elif i == b:
print("NG")
break | k = int(input())
a,b = map(int, input().split())
for i in range(a,b+1):
if i % k == 0:
print("OK")
break
elif i == b:
print("NG")
break | [
"control_flow.break.add"
] | 435,493 | 435,494 | u617659131 | python |
p02693 | k = int(input())
a,b = map(int, inupt().split())
for i in range(a,b+1):
if i % k == 0:
print("OK")
elif i == b:
print("NG")
break
| k = int(input())
a,b = map(int, input().split())
for i in range(a,b+1):
if i % k == 0:
print("OK")
break
elif i == b:
print("NG")
break | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change",
"control_flow.break.add"
] | 435,495 | 435,494 | u617659131 | python |
p02693 | a = int(input())
b = input().split(" ")
if int(b[0]) % a == 0:
print("OK")
elif int(b[1]) % a == 0:
print("OK")
elif int(b[0]) // a + a > int(b[1]):
print("NG")
else:
print("OK") | a = int(input())
b = input().split(" ")
if int(b[0]) % a == 0:
print("OK")
elif int(b[1]) % a == 0:
print("OK")
elif int(b[0]) // a * a + a > int(b[1]):
print("NG")
else:
print("OK") | [
"control_flow.branch.if.condition.change"
] | 435,500 | 435,501 | u549494450 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.