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 |
|---|---|---|---|---|---|---|---|
p02765
|
def InnerRating(N, R):
if N >= 10:
return R
else:
return R + 100 * (10 - N)
N, R = map(int, input())
print (InnerRating(N, R))
|
def InnerRating(N, R):
if N >= 10:
return R
else:
return R + 100 * (10 - N)
N, R = map(int, input().split())
print (InnerRating(N, R))
|
[
"call.add"
] | 557,380
| 557,381
|
u243061947
|
python
|
p02765
|
N, R = map(int, input().split())
def a(N,R):
if N >= 10:
print(R)
else:
print(R+(100*(10-N)))
return
a()
|
N, R = map(int, input().split())
def a(N,R):
if N >= 10:
print(R)
else:
print(R+(100*(10-N)))
return
a(N,R)
|
[
"call.arguments.add"
] | 557,385
| 557,386
|
u089786098
|
python
|
p02765
|
N, R = map(int, input().split())
print(R if 10 <= N else (R - (100 * (10 - N))))
|
N, R = map(int, input().split())
print(R if 10 <= N else (R + (100 * (10 - N))))
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,393
| 557,394
|
u540698208
|
python
|
p02765
|
N, R = map(int, input().split())
print(R if 10 <= N else (100 * (10 - N)))
|
N, R = map(int, input().split())
print(R if 10 <= N else (R + (100 * (10 - N))))
|
[
"call.arguments.change"
] | 557,395
| 557,394
|
u540698208
|
python
|
p02765
|
n, k = map(int,input().slpit())
print(k+(100*(10-k)) if n<10 else k)
|
n, k = map(int,input().split())
print(k+(100*(10-n)) if n<10 else k)
|
[
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,408
| 557,409
|
u829778936
|
python
|
p02765
|
l = list(map(int, input().split()))
if l[0] >= 10:
print(l[1])
else:
print(l[1]-(10-l[0])*100)
|
l = list(map(int, input().split()))
if l[0] >= 10:
print(l[1])
else:
print(l[1]+(10-l[0])*100)
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,414
| 557,415
|
u215630013
|
python
|
p02765
|
N,R=map(int, input().split())
print(R+100*min(10-N,0))
|
N,R=map(int, input().split())
print(R+100*max(10-N,0))
|
[
"misc.opposites",
"identifier.change",
"call.function.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,421
| 557,422
|
u781758937
|
python
|
p02765
|
s = input().split()
K = int(s[0])
N = int(s[1])
if K >= 10:
print(N)
else:
print(N - 100*(10-K))
|
s = input().split()
K = int(s[0])
N = int(s[1])
if K >= 10:
print(N)
else:
print(N + 100*(10-K))
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,427
| 557,428
|
u113083337
|
python
|
p02765
|
N, R = map(int,input().split())
if N < 10:
print(R + 100 * (10 - R))
else:print(R)
|
N, R = map(int,input().split())
if N < 10:
print(R + 100 * (10 - N))
else:print(R)
|
[
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,445
| 557,446
|
u809816772
|
python
|
p02765
|
スコード
Copy
Copy
N, R = map(int, input().split())
if N > 10:
print(R)
else:
ans = R - (100*(10-R))
print(ans)
|
N, R = map(int, input().split())
if N > 10:
print(R)
else:
ans = R + (100*(10-N))
print(ans)
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change",
"identifier.change"
] | 557,474
| 557,475
|
u501451051
|
python
|
p02765
|
N, R = map(int, input().split())
if N >= 10:
print(R)
else:
ans = R - (100*(10-R))
print(ans)
|
N, R = map(int, input().split())
if N > 10:
print(R)
else:
ans = R + (100*(10-N))
print(ans)
|
[
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"misc.opposites",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change",
"identifier.change"
] | 557,476
| 557,475
|
u501451051
|
python
|
p02765
|
n, r = map(int, input().split())
if r >= 10:
x = r
print(x)
else:
x = r - 100 * (10 - n)
print(x)
|
n, r = map(int, input().split())
if n >= 10:
x = r
print(x)
else:
x = r + 100 * (10 - n)
print(x)
|
[
"identifier.change",
"control_flow.branch.if.condition.change",
"misc.opposites",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 557,479
| 557,480
|
u193222738
|
python
|
p02765
|
n, r = map(int, input().split())
if r >= 10:
x = r
print(x)
else:
x = r + 100 * (10 - n)
print(x)
|
n, r = map(int, input().split())
if n >= 10:
x = r
print(x)
else:
x = r + 100 * (10 - n)
print(x)
|
[
"identifier.change",
"control_flow.branch.if.condition.change"
] | 557,481
| 557,480
|
u193222738
|
python
|
p02765
|
n,r=map(int,input().split())
if n >= 10:
ans = r
else:
ans = r + 1000 - 100 * n
|
n,r=map(int,input().split())
if n >= 10:
ans = r
else:
ans = r + 1000 - 100 * n
print(ans)
|
[
"call.add"
] | 557,484
| 557,485
|
u083494782
|
python
|
p02765
|
n,r=map(int,input(),split())
if n >= 10:
ans = r
else:
ans = r + 1000 - 100 * n
|
n,r=map(int,input().split())
if n >= 10:
ans = r
else:
ans = r + 1000 - 100 * n
print(ans)
|
[
"assignment.value.change",
"call.arguments.change",
"call.add"
] | 557,486
| 557,485
|
u083494782
|
python
|
p02765
|
n, r = map(int, input().split())
ans = r
if n < 10:
ans -= 100 * (10 - n)
print(ans)
|
n, r = map(int, input().split())
ans = r
if n < 10:
ans += 100 * (10 - n)
print(ans)
|
[
"expression.operator.change"
] | 557,489
| 557,490
|
u072949274
|
python
|
p02765
|
n, r = map(int, input().split())
ans = r
if n < 9:
ans = r - 100 * (10 - n)
print(ans)
|
n, r = map(int, input().split())
ans = r
if n < 10:
ans += 100 * (10 - n)
print(ans)
|
[
"literal.number.integer.change",
"control_flow.branch.if.condition.change",
"assignment.value.change",
"expression.operation.binary.remove"
] | 557,491
| 557,490
|
u072949274
|
python
|
p02765
|
n, r = map(int, input().split())
ans = r
if n < 9:
ans = 100*(10 - n)
print(ans)
|
n, r = map(int, input().split())
ans = r
if n < 10:
ans += 100 * (10 - n)
print(ans)
|
[
"literal.number.integer.change",
"control_flow.branch.if.condition.change",
"assignment.value.change"
] | 557,492
| 557,490
|
u072949274
|
python
|
p02765
|
a,b=map(int,input().split())
print(b+100*min(0,(10-a)))
|
a,b=map(int,input().split())
print(b+100*max(0,10-a))
|
[
"misc.opposites",
"identifier.change",
"call.function.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,522
| 557,523
|
u859897687
|
python
|
p02765
|
N,R = list(map(int,input().split()))
print(N,R)
if N < 10:
X = R + 100*(10-N)
else:
X = R
print(X)
|
N,R = list(map(int,input().split()))
if N < 10:
X = R + 100*(10-N)
else:
X = R
print(X)
|
[
"call.remove"
] | 557,530
| 557,531
|
u297103202
|
python
|
p02765
|
N, R = list(map(int, input().split()))
print(R if N >= 10 else R - (100 * (10 - N)))
|
N, R = list(map(int, input().split()))
print(R if N >= 10 else R + (100 * (10 - N)))
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,534
| 557,535
|
u599547273
|
python
|
p02765
|
time,rate = map(int,input().split())
ans = 0
if time >= 10:
ans = rate
else:
ans = rate - 100*(10 - time)
print(ans)
|
time,rate = map(int,input().split())
ans = 0
if time >= 10:
ans = rate
else:
ans = rate + 100*(10 - time)
print(ans)
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 557,550
| 557,551
|
u312524153
|
python
|
p02765
|
N, R = map(int, input().split())
print(R+100*(10-K) if N<10 else R)
|
N, R = map(int, input().split())
print(R+100*(10-N) if N<10 else R)
|
[
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,558
| 557,559
|
u690536347
|
python
|
p02765
|
# -*- coding: utf-8 -*-
N,R = map(int,input().split())
if N >= 10:
print(R)
else:
print(int(R) - 100*(10-int(N)))
|
# -*- coding: utf-8 -*-
N,R = map(int,input().split())
if N >= 10:
print(R)
else:
print(int(R) + 100*(10-int(N)))
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,616
| 557,617
|
u827021590
|
python
|
p02765
|
n, r = map(int, input().split())
if n < 10:
r = r - 100 * (10 - n)
print(r)
|
n, r = map(int, input().split())
if n < 10:
r = r + 100 * (10 - n)
print(r)
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 557,620
| 557,621
|
u580372796
|
python
|
p02765
|
# int
# A = list(map(int, input().split()))
# string
# S = input().split()
N, R = map(int, input().split())
if N >= 10:
print(R)
else:
print(R - 100 * (10-N))
|
# int
# A = list(map(int, input().split()))
# string
# S = input().split()
N, R = map(int, input().split())
if N >= 10:
print(R)
else:
print(R + 100 * (10-N))
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,625
| 557,626
|
u217530935
|
python
|
p02765
|
# int
# A = list(map(int, input().split()))
# string
# S = input().split()
N, R = map(int, input().split())
if N >= 10:
print(R)
else:
print(100 * (10-N))
|
# int
# A = list(map(int, input().split()))
# string
# S = input().split()
N, R = map(int, input().split())
if N >= 10:
print(R)
else:
print(R + 100 * (10-N))
|
[
"expression.operation.binary.add"
] | 557,627
| 557,626
|
u217530935
|
python
|
p02765
|
n,r = map(int,input().split())
if n > 10:
n = 10
print( r - 100 * (10 -n))
|
n,r = map(int,input().split())
if n > 10:
n = 10
print(r + 100 * (10 -n))
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,630
| 557,631
|
u931348791
|
python
|
p02765
|
N, R = map(int, input().split())
if N >= 10:
rate = R
else:
rate = R - (100 * (10 - N))
print(rate)
|
N, R = map(int, input().split())
if N >= 10:
rate = R
else:
rate = R + (100 * (10 - N))
print(rate)
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 557,634
| 557,635
|
u374082254
|
python
|
p02765
|
N, R = map(int, input().split())
if N >= 10:
rate = R
else:
rate = 100 * (10 - N)
print(rate)
|
N, R = map(int, input().split())
if N >= 10:
rate = R
else:
rate = R + (100 * (10 - N))
print(rate)
|
[
"assignment.change"
] | 557,636
| 557,635
|
u374082254
|
python
|
p02765
|
n,r=map(input().split())
if n<10:
r=r+100*(10-n)
print(r)
|
n,r=map(int,input().split())
if n<10:
r=r+100*(10-n)
print(r)
|
[
"call.arguments.add"
] | 557,646
| 557,647
|
u103915901
|
python
|
p02765
|
N,R = map(int, input().split())
print(R - 100 * (10 - max(10,N)))
|
N,R = map(int, input().split())
print(R + 100 * (10 - min(10,N)))
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"identifier.change",
"call.function.change"
] | 557,654
| 557,655
|
u602740328
|
python
|
p02765
|
from sys import *
input = stdin.readline
lmi = lambda: list(map(int, input().split()))
mi = lambda: map(int, input().split())
si = lambda: input().strip('\n')
ssi = lambda: input().strip('\n').split()
n, r = mi()
if n >= 10:
print(r)
else:
print(r-(100*(10-n)))
|
from sys import *
input = stdin.readline
lmi = lambda: list(map(int, input().split()))
mi = lambda: map(int, input().split())
si = lambda: input().strip('\n')
ssi = lambda: input().strip('\n').split()
n, r = mi()
if n >= 10:
print(r)
else:
print(r+(100*(10-n)))
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,656
| 557,657
|
u986985627
|
python
|
p02765
|
N,R = input().split()
N,R = int(N),int(R)
L = R
if N < 10:
L = R - 100*(10-N)
else:
L = R
print(L)
|
N,R = input().split()
N,R = int(N),int(R)
L = R
if N < 10:
L=R + 100*(10-N)
else:
L = R
print(L)
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 557,683
| 557,684
|
u705252278
|
python
|
p02765
|
N,R = input().split()
N,R = int(N),int(R)
L = R
if N < 10:
L=100*(10-N)
else:
L = R
print(L)
|
N,R = input().split()
N,R = int(N),int(R)
L = R
if N < 10:
L=R + 100*(10-N)
else:
L = R
print(L)
|
[
"assignment.change"
] | 557,685
| 557,684
|
u705252278
|
python
|
p02765
|
n, r = map(int, input().split(' '))
if n < 10:
ans = r - 100 * (10-n)
else:
ans = r
print(ans)
|
n, r = map(int, input().split(' '))
if n < 10:
ans = r + 100 * (10-n)
else:
ans = r
print(ans)
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 557,699
| 557,700
|
u263438842
|
python
|
p02765
|
N, P = list(map(int, input().split()))
if N >= 10:
print(P)
else:
print(P - 100*(10-N))
|
N, P = list(map(int, input().split()))
if N >= 10:
print(P)
else:
print(P + 100*(10-N))
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,701
| 557,702
|
u328755070
|
python
|
p02765
|
N,R = map(int, input.split())
if (N < 10):
print(R + ((10 - N) * 100))
else:
print(R)
|
N,R = map(int, input().split())
if (N < 10):
print(R + ((10 - N) * 100))
else:
print(R)
|
[
"call.add"
] | 557,707
| 557,708
|
u820284192
|
python
|
p02765
|
NR=list(map(int,input().split()))
if NR[0]>=10:
inR=NR[0]
print(inR)
else:
inR=int(NR[1]+100*(10-NR[0]))
print(inR)
|
NR=list(map(int,input().split()))
if NR[0]>=10:
inR=NR[1]
print(inR)
else:
inR=int(NR[1]+100*(10-NR[0]))
print(inR)
|
[
"literal.number.integer.change",
"assignment.value.change",
"variable_access.subscript.index.change"
] | 557,719
| 557,720
|
u440884206
|
python
|
p02765
|
n,r=map(int,input().split())
if n>=10:
print(r)
else:
print(r+10000-100*n)
|
n,r=map(int,input().split())
if n>=10:
print(r)
else:
print(r+1000-100*n)
|
[
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,737
| 557,736
|
u448720391
|
python
|
p02765
|
n,r = map(int,input().split())
if n < 10:
print(r+100*(10-n))
else:
print(n)
|
n,r = map(int,input().split())
if n < 10:
print(int(r + 100*(10-n)))
else:
print(r)
|
[
"call.arguments.add",
"call.arguments.change",
"identifier.change",
"io.output.change"
] | 557,743
| 557,744
|
u637138924
|
python
|
p02765
|
N,M = map(int,input().split(" "))
if N<10:
print(a+(100*(10-N)))
else:
print(M)
|
N,M = map(int,input().split(" "))
if N<10:
print(M+(100*(10-N)))
else:
print(M)
|
[
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,753
| 557,754
|
u780147002
|
python
|
p02765
|
N,M = map(int,input().split())
if N<10:
print(a+(100*(10-N)))
else:
print(M)
|
N,M = map(int,input().split(" "))
if N<10:
print(M+(100*(10-N)))
else:
print(M)
|
[
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,755
| 557,754
|
u780147002
|
python
|
p02765
|
N, R = map(int, input().split())
if N < 10:
a = 100 * (10 - 2)
else:
a = 0
print(R + a)
|
N, R = map(int, input().split())
if N < 10:
a = 100 * (10 - N)
else:
a = 0
print(R + a)
|
[
"assignment.value.change",
"identifier.replace.add",
"literal.replace.remove",
"expression.operation.binary.change"
] | 557,798
| 557,799
|
u765438844
|
python
|
p02765
|
N,R=map(int,input().split())
c=0
if N>=10:
c=R
else:
c=R+100*(10-c)
print(c)
|
N,R=map(int,input().split())
c=0
if N>=10:
c=R
else:
c=R+100*(10-N)
print(c)
|
[
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 557,807
| 557,808
|
u038819082
|
python
|
p02765
|
N,R=int(input().split())
c=0
if N>=10:
c=R
else:
c=R+100*(10-c)
print(c)
|
N,R=map(int,input().split())
c=0
if N>=10:
c=R
else:
c=R+100*(10-N)
print(c)
|
[
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.add",
"expression.operation.binary.change"
] | 557,809
| 557,808
|
u038819082
|
python
|
p02765
|
N,R = map(int,input().split())
inside = 0
if N >= 10:
inside = R
else:
inside = R - 100*(10-N)
print(inside)
|
N,R = map(int,input().split())
inside = 0
if N >= 10:
inside = R
else:
inside = R + 100*(10-N)
print(inside)
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 557,818
| 557,819
|
u991148747
|
python
|
p02765
|
n, r = map(int, input().split())
if n < 10:
a = 100 * (10 - n)
b = r - a
if b >=0:
print(b)
else:
print(0)
else:
print(r)
|
n, r = map(int, input().split())
if n < 10:
a = 100 * (10 - n)
b = r + a
if b >=0:
print(b)
else:
print(0)
else:
print(r)
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 557,826
| 557,827
|
u030278108
|
python
|
p02765
|
n, r = list(map(int, input().split()))
if n >= 10:
print(n)
else:
print(r + 100 * (10 - n))
|
n, r = list(map(int, input().split()))
if n >= 10:
print(r)
else:
print(r + 100 * (10 - n))
|
[
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 557,841
| 557,842
|
u530606147
|
python
|
p02765
|
n, r = list(map(int, input().split()))
if n >= 10:
print(n)
else:
print(n + 100 * (10 - n))
|
n, r = list(map(int, input().split()))
if n >= 10:
print(r)
else:
print(r + 100 * (10 - n))
|
[
"identifier.change",
"call.arguments.change",
"io.output.change",
"expression.operation.binary.change"
] | 557,843
| 557,842
|
u530606147
|
python
|
p02765
|
n, r = list(map(int, input().split()))
if n >= 10:
print(n)
else:
print(n - 100 * (10 - n))
|
n, r = list(map(int, input().split()))
if n >= 10:
print(r)
else:
print(r + 100 * (10 - n))
|
[
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 557,844
| 557,842
|
u530606147
|
python
|
p02765
|
N,R =[int(x) for x in input().split()]
if(N>=10):
print(R)
else:
print(R-100*(10-N))
|
N,R = [int(x) for x in input().split()]
if(N>=10):
print(R)
else:
print(R+100*(10-N))
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,847
| 557,848
|
u981269105
|
python
|
p02765
|
N,R=int(input( ).split( ))
ans=0
if N>=10:
ans=R
else:
ans=R+100*(10-N)
print(ans)
|
N,R=map(int,input().split())
ans=0
if N>=10:
ans=R
else:
ans=R+100*(10-N)
print(ans)
|
[
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.add"
] | 557,851
| 557,852
|
u872184182
|
python
|
p02765
|
N,R=int(input().split())
ans=0
if N>=10:
ans=R
else:
ans=R+100*(10-N)
print(ans)
|
N,R=map(int,input().split())
ans=0
if N>=10:
ans=R
else:
ans=R+100*(10-N)
print(ans)
|
[
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.add"
] | 557,853
| 557,852
|
u872184182
|
python
|
p02765
|
N,R=int(input().split())
ans=0
if N>=10:
ans=R
else:
ans=R-100*(10-N)
print(ans)
|
N,R=map(int,input().split())
ans=0
if N>=10:
ans=R
else:
ans=R+100*(10-N)
print(ans)
|
[
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.add",
"misc.opposites",
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 557,854
| 557,852
|
u872184182
|
python
|
p02765
|
N,R = map(int,input().split())
if N < 10:
print(R + 100*(10-N))
else:
print(N)
|
N,R = map(int,input().split())
if N < 10:
print(R + 100*(10-N))
else:
print(R)
|
[
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 557,855
| 557,856
|
u981864683
|
python
|
p02765
|
n, r = map(int, input().split())
if n >= 10:
print(r)
else:
in_r = 100 * (10-n)
print(in_r)
|
n, r = map(int, input().split())
if n >= 10:
print(r)
else:
in_r = r + 100*(10-n)
print(in_r)
|
[
"assignment.change"
] | 557,886
| 557,887
|
u704563784
|
python
|
p02765
|
import math
import copy
from copy import deepcopy
import sys
import fractions
import numpy as np
from functools import reduce
import statistics
import heapq
# input = sys.stdin.readline
# sys.setrecursionlimit(10**6)
# ===FUNCTION===
def getInputInt():
inputNum = int(input())
return inputNum
def getInputListInt():
outputData = []
inputData = input().split()
outputData = [int(n) for n in inputData]
return outputData
def getSomeInputInt(n):
outputDataList = []
for i in range(n):
inputData = int(input())
outputDataList.append(inputData)
return outputDataList
def getSomeInputListInt(n):
inputDataList = []
outputDataList = []
for i in range(n):
inputData = input().split()
inputDataList = [int(n) for n in inputData]
outputDataList.append(inputDataList)
return outputDataList
# ===CODE===
data = getInputListInt()
n = data[0]
r = data[1]
ans = 0
if n > 10:
ans = r
else:
ans = r - 100*(10-n)
print(ans)
|
import math
import copy
from copy import deepcopy
import sys
import fractions
import numpy as np
from functools import reduce
import statistics
import heapq
# input = sys.stdin.readline
# sys.setrecursionlimit(10**6)
# ===FUNCTION===
def getInputInt():
inputNum = int(input())
return inputNum
def getInputListInt():
outputData = []
inputData = input().split()
outputData = [int(n) for n in inputData]
return outputData
def getSomeInputInt(n):
outputDataList = []
for i in range(n):
inputData = int(input())
outputDataList.append(inputData)
return outputDataList
def getSomeInputListInt(n):
inputDataList = []
outputDataList = []
for i in range(n):
inputData = input().split()
inputDataList = [int(n) for n in inputData]
outputDataList.append(inputDataList)
return outputDataList
# ===CODE===
data = getInputListInt()
n = data[0]
r = data[1]
ans = 0
if n > 10:
ans = r
else:
ans = r + 100*(10-n)
print(ans)
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 557,902
| 557,903
|
u888337853
|
python
|
p02765
|
N,R = list(map(int,input().split()))
print( int(R + 100*max(0,10)) )
|
N,R = list(map(int,input().split()))
print( int(R + 100*max(0,10-N)) )
|
[
"expression.operation.binary.add"
] | 557,906
| 557,907
|
u904804404
|
python
|
p02765
|
# ABC156a
def main():
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**6)
# 再帰関数を使わない限りPypyで出すこと
n, r = map(int, input().split())
if n >= 10:
print(r)
else:
print(100*(10-n))
if __name__ == '__main__':
main()
|
# ABC156a
def main():
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**6)
# 再帰関数を使わない限りPypyで出すこと
n, r = map(int, input().split())
if n >= 10:
print(r)
else:
print(100*(10-n)+r)
if __name__ == '__main__':
main()
|
[
"expression.operation.binary.add"
] | 557,908
| 557,909
|
u278356323
|
python
|
p02765
|
N, R = map(int, input().split())
print(R if N >= 10 else R - 100*(10-N))
|
N, R = map(int, input().split())
r = R if N >= 10 else R + 100*(10-N)
print(r)
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"call.add"
] | 557,920
| 557,921
|
u905743924
|
python
|
p02765
|
# -*- coding: utf-8 -*-
def main():
N,R = map(int,input().split())
if N >= 10:
print(R)
return
else:
print(R-(100*(10-N)))
if __name__ == '__main__':
main()
|
# -*- coding: utf-8 -*-
def main():
N,R = map(int,input().split())
if N >= 10:
print(R)
return
else:
print(R+(100*(10-N)))
if __name__ == '__main__':
main()
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,934
| 557,935
|
u981040490
|
python
|
p02765
|
# -*- coding: utf-8 -*-
def main():
N,R = map(int,input().split())
if N >= 10:
print(R)
return
else:
print(100*(10-N))
if __name__ == '__main__':
main()
|
# -*- coding: utf-8 -*-
def main():
N,R = map(int,input().split())
if N >= 10:
print(R)
return
else:
print(R+(100*(10-N)))
if __name__ == '__main__':
main()
|
[
"call.arguments.add",
"call.arguments.change"
] | 557,936
| 557,935
|
u981040490
|
python
|
p02765
|
n,r = map(int,input().split())
if n >= 10:
print(r)
else:
print(r - (100 * (10 - n)))
|
n,r = map(int,input().split())
if n >= 10:
print(r)
else:
print(r + (100 * (10 - n)))
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,949
| 557,950
|
u740909619
|
python
|
p02765
|
N, p = map(int,input().split())
if N < 10:
K = 100 * (10 - N)
print(p + K)
else:
print(P)
|
N, p = map(int,input().split())
if N < 10:
K = 100 * (10 - N)
print(p + K)
else:
print(p)
|
[
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 557,955
| 557,956
|
u113124229
|
python
|
p02765
|
a,b=input().split()
a=int(a)
b=int(b)
if a>=10:
print(b)
else:
c=b+100*a-1000
print(c)
|
a,b=input().split()
a=int(a)
b=int(b)
if a>=10:
print(b)
else:
c=b-100*a+1000
print(c)
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 557,959
| 557,960
|
u771538568
|
python
|
p02765
|
n,r = [int(x) for x in input().split()]
if n < 10:
print(r - 100*(10-n))
else:
print(r)
|
n,r = [int(x) for x in input().split()]
if n < 10:
print(r + 100*(10-n))
else:
print(r)
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,967
| 557,968
|
u657357805
|
python
|
p02765
|
a,b =map(input().split())
if a<10:a=10-a
else:a=0
print(b+ (a*100))
|
a,b =map(int, input().split())
if a<10:a=10-a
else:a=0
print(b+ (a*100))
|
[
"call.arguments.add"
] | 557,977
| 557,978
|
u528594564
|
python
|
p02765
|
attend, rate = input().split(' ')
if int(attend) >= 10:
print(rate)
else:
print(int(rate) - 100 * (10 - int(attend)))
|
attend, rate = input().split(' ')
if int(attend) >= 10:
print(rate)
else:
print(int(rate) + 100 * (10 - int(attend)))
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 557,979
| 557,980
|
u674347990
|
python
|
p02765
|
n = [i for i in input().split()]
a = n[0]
b = n[1]
if a < 10:
b += (10-a)*100
print(b)
|
n = [int(i) for i in input().split()]
a = n[0]
b = n[1]
if a < 10:
b += (10-a)*100
print(b)
|
[
"call.add",
"call.arguments.change"
] | 558,003
| 558,004
|
u079474701
|
python
|
p02765
|
n = [i for i in input().split()]
a = n[1]
b = n[2]
if a < 10:
b += (10-a)*100
print(b)
|
n = [int(i) for i in input().split()]
a = n[0]
b = n[1]
if a < 10:
b += (10-a)*100
print(b)
|
[
"call.add",
"call.arguments.change",
"literal.number.integer.change",
"assignment.value.change",
"variable_access.subscript.index.change"
] | 558,005
| 558,004
|
u079474701
|
python
|
p02765
|
n = [i for i in input().split()]
a = n[1]
b = n[2]
if a <10:
b += (10-a)*100
print(b)
|
n = [int(i) for i in input().split()]
a = n[0]
b = n[1]
if a < 10:
b += (10-a)*100
print(b)
|
[
"call.add",
"call.arguments.change",
"literal.number.integer.change",
"assignment.value.change",
"variable_access.subscript.index.change"
] | 558,006
| 558,004
|
u079474701
|
python
|
p02765
|
n,r = input().split()
if int(n) >= 10:
h = int(r)
else:
h = int(r) + (100 * (10-n))
print(h)
|
n,r = input().split()
if int(n) >= 10:
h = int(r)
else:
h = int(r) + (100 * (10-int(n)))
print(h)
|
[
"call.add"
] | 558,010
| 558,011
|
u244656600
|
python
|
p02765
|
N,R = input().split()
if N > 10:
print(R)
else:
print(R + (100 * (10 - N)))
|
N,R = map(int, input().split())
if N > 10:
print(R)
else:
print(R + (100 * (10 - N)))
|
[
"call.add",
"call.arguments.change"
] | 558,018
| 558,019
|
u841599623
|
python
|
p02765
|
N, R = list(map(int, input().split(' ')))
if N >= 10:
print(R)
else:
print(R + (100 - (10 - N)))
|
N, R = list(map(int, input().split(' ')))
if N >= 10:
print(R)
else:
print(R + (100 * (10 - N)))
|
[
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 558,032
| 558,033
|
u078316894
|
python
|
p02765
|
N, R = list(map(int, input().split(' ')))
if N >= 10:
print(R)
else:
print(R + (100 - (10 - K)))
|
N, R = list(map(int, input().split(' ')))
if N >= 10:
print(R)
else:
print(R + (100 * (10 - N)))
|
[
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"identifier.change"
] | 558,034
| 558,033
|
u078316894
|
python
|
p02765
|
n,r = map(int,input().split())
if n < 10:
print(r-(100*(10-n)))
else:
print(r)
|
n,r = map(int,input().split())
if n < 10:
print(r+(100*(10-n)))
else:
print(r)
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 558,057
| 558,058
|
u185935459
|
python
|
p02765
|
n,r = map(int,input().split())
if r < 10:
print(n-(100*(10-r)))
else:
print(n)
|
n,r = map(int,input().split())
if n < 10:
print(r+(100*(10-n)))
else:
print(r)
|
[
"identifier.change",
"control_flow.branch.if.condition.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 558,059
| 558,058
|
u185935459
|
python
|
p02765
|
n = list(map(int, input().split()))
if n[0] > 10:
print(l[1])
else:
print(n[1] + 100*(10-n[0]))
|
n = list(map(int, input().split()))
if n[0] > 10:
print(n[1])
else:
print(n[1] + 100*(10-n[0]))
|
[
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 558,062
| 558,063
|
u098679988
|
python
|
p02765
|
N,R = map(int,input().split())
print(R if N >= 10 else R+N*100)
|
N,R = map(int,input().split())
print(R if N >= 10 else R+(10-N)*100)
|
[
"call.arguments.change"
] | 558,064
| 558,065
|
u607729897
|
python
|
p02765
|
N,R = map(int,input().split())
print(R if N <= 10 else R+N*100)
|
N,R = map(int,input().split())
print(R if N >= 10 else R+(10-N)*100)
|
[
"misc.opposites",
"expression.operator.compare.change",
"call.arguments.change",
"io.output.change"
] | 558,066
| 558,065
|
u607729897
|
python
|
p02765
|
N, R = list(map(int, input().split()))
if(N>=10):
print(R)
else:
print(R - 100*(10-N))
|
N, R = list(map(int, input().split()))
if(N>=10):
print(R)
else:
print(R + 100*(10-N))
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 558,077
| 558,078
|
u088989565
|
python
|
p02765
|
# -*- coding: utf-8 -*-
N,R = map(int, input().split())
if N <= 10:
R = R - 100 * (10 - N )
print(R)
|
# -*- coding: utf-8 -*-
N,R = map(int, input().split())
if N < 10:
R = R + 100 * (10 - N )
print(R)
|
[
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"misc.opposites",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 558,081
| 558,082
|
u021521597
|
python
|
p02765
|
# -*- coding: utf-8 -*-
N,R = map(int, input().split())
if N < 10:
R = R - 100 * (10 - N )
print(R)
|
# -*- coding: utf-8 -*-
N,R = map(int, input().split())
if N < 10:
R = R + 100 * (10 - N )
print(R)
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 558,083
| 558,082
|
u021521597
|
python
|
p02765
|
n, r = map(int, input().split())
if n < 10:
k = 10 - n
kk = 100 * k
print(r - kk)
else:
print(r)
|
n, r = map(int, input().split())
if n < 10:
k = 10 - n
kk = 100 * k
print(r + kk)
else:
print(r)
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 558,089
| 558,090
|
u445624660
|
python
|
p02765
|
N, R = map(int, input().split())
ans = R
if N < 10:
ans -= 100 * (10 - N)
print(ans)
|
N, R = map(int, input().split())
ans = R
if N < 10:
ans += 100 * (10 - N)
print(ans)
|
[
"expression.operator.change"
] | 558,103
| 558,104
|
u811967730
|
python
|
p02765
|
a,b = map(int,input().split())
print(b if a >= 10 else b-100*(10-a))
|
a,b = map(int,input().split())
print(b if a >= 10 else b+100*(10-a))
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 558,115
| 558,116
|
u427984570
|
python
|
p02765
|
a=input().split()
nm=[]
for i in range(2):
b=int(a[i])
nm.append(b)
if nm[0]<9:
nm[1]+=(100*(10-nm[0]))
print(nm[1])
|
a=input().split()
nm=[]
for i in range(2):
b=int(a[i])
nm.append(b)
if nm[0]<10:
nm[1]+=(100*(10-nm[0]))
print(nm[1])
|
[
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 558,123
| 558,124
|
u772395065
|
python
|
p02765
|
N,R=map(int,input().split())
if N<10:
r=R-(100*(10-N))
else:
r=R
print(r)
|
N,R=map(int,input().split())
if N<10:
r=R+(100*(10-N))
else:
r=R
print(r)
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 558,125
| 558,126
|
u349444371
|
python
|
p02765
|
N,R=map(int,input().split())
if N>=10:
a=N
else:
a=100*(10-N)+R
print(a)
|
N,R=map(int,input().split())
if N>=10:
a=R
else:
a=100*(10-N)+R
print(a)
|
[
"assignment.value.change",
"identifier.change"
] | 558,127
| 558,128
|
u223555291
|
python
|
p02765
|
N,R=map(int,input().split())
if N>=10:
a=R
else:
a=100*(10-N)
print(a)
|
N,R=map(int,input().split())
if N>=10:
a=R
else:
a=100*(10-N)+R
print(a)
|
[
"assignment.change"
] | 558,129
| 558,128
|
u223555291
|
python
|
p02765
|
N,R=map(int,input().split())
if R>=10:
a=N
else:
a=100*(10-N)
print(a)
|
N,R=map(int,input().split())
if N>=10:
a=R
else:
a=100*(10-N)+R
print(a)
|
[
"identifier.change",
"control_flow.branch.if.condition.change",
"assignment.value.change"
] | 558,130
| 558,128
|
u223555291
|
python
|
p02765
|
k = list(map(int, input().split()))
if k[0] >= 10:
print(k[1])
else:
print(100*(10-k[0]))
|
k = list(map(int, input().split()))
if k[0] >= 10:
print(k[1])
else:
print(100*(10-k[0]) + k[1])
|
[
"expression.operation.binary.add"
] | 558,144
| 558,145
|
u672370694
|
python
|
p02765
|
n,r=map(int(input().split(' ')))
if n<10:
print(100*(10-n)+r)
else:
print(r)
|
n,r=map(int,input().split(' '))
if n<10:
print(100*(10-n)+r)
else:
print(r)
|
[
"assignment.value.change",
"call.arguments.change"
] | 558,170
| 558,171
|
u199845325
|
python
|
p02765
|
n,r=map(int(input().split(' ')))
if n<10:
print(100*(10-n))
else:
print(r)
|
n,r=map(int,input().split(' '))
if n<10:
print(100*(10-n)+r)
else:
print(r)
|
[
"assignment.value.change",
"call.arguments.change"
] | 558,172
| 558,171
|
u199845325
|
python
|
p02765
|
# print('input >>')
N, R = map(int,(input().split()))
if N < 10:
ans = R - 100 * (10-N)
else:
ans = R
# print('-----output-----')
print(ans)
|
# print('input >>')
N, R = map(int,(input().split()))
if N <= 10:
ans = R + 100 * (10-N)
else:
ans = R
# print('-----output-----')
print(ans)
|
[
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"misc.opposites",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 558,180
| 558,181
|
u657994700
|
python
|
p02765
|
N,R= map(int, input().split())
if N>=10:
T=R
else :
T=R+100*(10-N)
pritn(T)
|
N,R=map(int, input().split())
if N>=10:
t=R
else :
t=R+100*(10-N)
print(t)
|
[
"assignment.variable.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 558,184
| 558,185
|
u257018224
|
python
|
p02765
|
N,R=map(int, input().split())
if N>=10:
t=R
else :
t=R+100*(10-N)
print(R)
|
N,R=map(int, input().split())
if N>=10:
t=R
else :
t=R+100*(10-N)
print(t)
|
[
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 558,186
| 558,185
|
u257018224
|
python
|
p02765
|
import sys
n,r = list(map(int, input().split()))
if n >= 10:
print(n)
else:
print(r + 100*(10-n))
|
import sys
n,r = list(map(int, input().split()))
if n >= 10:
print(r)
else:
print(r + 100*(10-n))
|
[
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 558,191
| 558,192
|
u382431597
|
python
|
p02765
|
import sys
n,r = list(map(int, input().split()))
if n >= 10:
print(n)
else:
print(n - 100*(10-k))
|
import sys
n,r = list(map(int, input().split()))
if n >= 10:
print(r)
else:
print(r + 100*(10-n))
|
[
"identifier.change",
"call.arguments.change",
"io.output.change",
"expression.operation.binary.change"
] | 558,193
| 558,192
|
u382431597
|
python
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.