TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
x,y = map(int,input().split())	

if x<11:
  r=y-100(10-x)
else:
  r=y
  
print(r)

x,y = map(int,input().split())	

if x<11:
  r=y+100(10-x)
else:
  r=y
  
print(r)

x,y = map(int,input().split())	

if x<10:
  r=y+100(10-x)
else:
  r=y
  
print(r)

x,y = map(int,input().split())	

if x<11:
  r=y+100*(10-x)
else:
  r=y
  
print(r)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
import sys
sys.stdin = open('input.txt', 'r') 
sys.stdout = open('output.txt', 'w')

n, k = map(int, input().split())
if(n >= 10):
	print(k)
else:
	print(k + 100 * (10 - n))	


n, k = map(int, input().split())
if(n >= 10):
	print(k)
else:
	print(k + 100 * (10 - n))	

Verdicts: Runtime Error

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
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)
else:
    print(r+100*(10-n))

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
n,k=map(int,input().split())
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)


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
n,r=map(int,input().split())
if n>=10:print(r)
else:print(r-100*(10-k))

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))

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
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(R)  

N,R=map(int, input().split()) 
if N>=10:
  t=R
else :
  t=R+100*(10-N)
print(t)  

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
N, K = map(int, input().split())
i = N
count = 1
while i >= K:
    i //= K
    count += 1
print(count)

N, R = map(int, input().split())
if N >= 10:
    print(R)
elif N < 10:
    print(R + (100*(10-N)))

Verdicts: Runtime Error

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
N, R = list(map(int,input().split(" ")))

if N < 10:
  print(R-100*(10-N))
else:
  print(R)

N, R = list(map(int,input().split(" ")))

if N < 10:
  print(R+100*(10-N))
else:
  print(R)


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
N, R = map(int, input().split())

if N <= 10:
    print(R)
else:
    print(R - 100 * (10 - N))


N, R = map(int, input().split())

if 10 <= N:
    print(R)
else:
    print(R - 100 * (10 - N))


N, R = map(int, input().split())

if 10 <= N:
    print(R)
else:
    print(R + 100 * (10 - N))


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
N=input()
R=input()
N=int(N)
R=int(R)
if N<10:
  R+=100*(10-N)
print(R)

N,R=input().split()
N=int(N)
R=int(R)
if N<10:
  R+=100*(10-N)
print(R)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
n, k = map(int, input().split())
res = 0
while n >= k:
  res += 1
  n //= k
print(res+1)

n, r = map(int, input().split(' '))
if n < 10:
  ans = r - 100 * (10-n)
else:
  ans = r
print(ans)

n, k = map(int, input().split())
res = 0
while n >= k:
  res += 1
  n //= k
print(res+1)

n, r = map(int, input().split(' '))
if n < 10:
  ans = r + 100 * (10-n)
else:
  ans = r
print(ans)

Verdicts: Runtime Error

Wrong Answer

Runtime Error

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
a, m = map(int, input().split()) 
if a >=10:
  print(m)
else:
  out = m - 100 *(10-a)
  if out <= 1:
    print(1)
  else:
    print(out)

a, m = map(int, input().split()) 
if a >=10:
  print(m)
else:
  out = m - 100 *(10-a)
  print(out)

a, m = map(int, input().split()) 
if a >=10:
  print(m)
else:
  out = m - 100 *(10-a)
  if out <= 1:
    print(1)
  else:
    print(out)

a, m = map(int, input().split()) 
if a >=10:
  print(m)
else:
  out = m + 100 *(10-a)
  if out <= 1:
    print(1)
  else:
    print(out)

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
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))

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
n,r=map(int,input().split())

if n>=10:
  print(r)
elif n<10:
  print(r-(100*(10-n)))

n,r=map(int,input().split())

if n>=10:
  print(r)
elif n<10:
  print(r+(100*(10-n)))

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):

def main():
    n, r = map(int, input().split())
    if n >= 10:
        print(r)
    else:
        print(r - (100 * (10 - n)))


if __name__ == "__main__":
    main()



def main():
    n, r = map(int, input().split())
    if n >= 10:
        print(r)
    else:
        print(100 * (10 - k))


if __name__ == "__main__":
    main()



def main():
    n, r = map(int, input().split())
    if n >= 10:
        print(r)
    else:
        print(100 * (10 - n))


if __name__ == "__main__":
    main()



def main():
    n, r = map(int, input().split())
    if n >= 10:
        print(r)
    else:
        print(r + (100 * (10 - n)))


if __name__ == "__main__":
    main()


Verdicts: Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
n, k = map(int, input().split())
count = 0
while n >0:
    n //= k
    count += 1
print(count)

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))

n, r = map(int, input().split())
if n >= 10:
  print(r)
else:
  print(r + 100*(10-n))

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
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)))


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
if N >= 1 and N < 10:
  return R+100*(10-n)
else:
  return R

if N >= 1 and 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)

n,r=map(int,input().split())
if N >= 1 and N < 10:
  return R+100*(10-n)
else:
  return R

N,R=map(int,input().split())
if N < 10:
  return R+100*(10-n)
else:
  return R

N,R=map(int,input().split())
if N < 10:
  print(R+100*(10-N))
else:
  print(R)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
N,R = input().split(" ")
N = int(N)
R = int(R)
if(N >= 10):
    print(R)
else:
    print(R-100*(10-N))

N,R = input().split(" ")
N = int(N)
R = int(R)
if(N >= 10):
    print(R)
else:
    print(R+100*(10-N))

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
n,k = map(int,input().split())

if n >= 10:
  print(k)
else:
  print(k + 100*(10-k))


n,k = map(int,input().split())

if n >= 10:
  print(k)
else:
  print(100*(100-k))

n,k = map(int,input().split())

if n >= 10:
  print(k)
else:
  print(k + 100*(10-n))


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
# input
N, R = map(int, input().split())

if N >= 10:
    print(R)
else:
    print(R - (100 * (10 - N)))

# input
N, R = map(int, input().split())

if N >= 10:
    print(R)
else:
    print(R + (100 * (10 - N)))


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
A = input().split( )

N = int(A[0])
R = int(A[1])

if N >= 10:
    print(R + N)

else :
    print(100*(10-N))

A = input().split( )

N = int(A[0])
R = int(A[1])

if N >= 10:
    print(R)

else :
    print(100*(10-N))

A = input().split( )
 
N = int(A[0])
R = int(A[1])
 
if N >= 10:
    print(R)
 
else :
    print(100*(10-N) + R)

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
N = int(input())
R = int(input())
 
if N < 10:
  N = R + 100 * (10 - N) 
  print(n)
  
if N >= 10:
  N = R
  print(N)

N = int(input())
R = int(input())
 
if N < 10:
  n = R + 100 * (10 - N) 
  print(n)
  
if N >= 10:
  n = R
  print(n)

N = int(input())
R = int(input())

if N < 10:
  N = 100 * (10 - N) 
  print(N)
  
if N > 10:
  N = R
  print(N)
  

N = int(input())
R = int(input())
 
if N < 10:
  N = R + 100 * (10 - N) 
  print(N)
  
if N >= 10:
  N = R
  print(N)

N, R = int(input().split())
 
if N < 10:
  N = R + 100 * (10 - N) 
  print(N)
  
else:
  N = R
  print(N)

N, R = int(input( , ))
 
if N < 10:
  N = R + 100 * (10 - N) 
  print(N)
  
else:
  N = R
  print(N)

N, R = (int(x) for x in input().split())
 
if N < 10:
  N = R + 100 * (10 - N) 
  print(N)
  
else:
  N = R
  print(N)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
[n, r] = map(int, input().rstrip().split(' '))

if n > 10:
    print(r)
else:
    print(r - 100 * (10 - n))


[n, r] = map(int, input().rstrip().split(' '))

if n > 10:
    return r
else:
    return r - 100 * (10 - n)


[n, r] = map(int, input().rstrip().split(' '))

if n > 10:
    print(r)
else:
    print(r + 100 * (10 - n))


Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
n,k = map(int,input().split())

for i in range(10**10):
  if n <= k**(i+1) -1:
    print(i+1)
    exit()

n,r = map(int,input().split())
print(r if 10 <= n else r + 1000 - 100*n)

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
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)))


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
n,r=map(int,input().split())
if n>=10:
  print(r)
else:
  print(r+100*(10-r))

n,r=map(int,input().split())
if n>=10:
  print(r)
else:
  print(r+100*(10-n))


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
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)


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
N, R = int(input())

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))


Verdicts: Runtime Error

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
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:
    r += 100 * (10 - n)
print(r)

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
N,K = [int(i) for i in input().split()]
print(K-(100*(10-N)))

N,R = [int(i) for i in input().split()]
if (N>=10): 
    print(R)
else: 
    print(R+(100*(10-N)))


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
import sys
sys.setrecursionlimit(10**6)
readline = sys.stdin.readline
n,r = [int(i) for i in readline().split()]

if n >= 10:
    print(r)
else:
    print(r-100*(10-n))

import sys
sys.setrecursionlimit(10**6)
readline = sys.stdin.readline
n,r = [int(i) for i in readline().split()]

if n >= 10:
    print(r)
else:
    print(r+100*(10-n))

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
if(int(N) >= 10):
    print(R)
else:
    print(int(R) + 100 * (10 - int(N)))

N, R = input().split()

if(int(N) >= 10):
    print(R)
else:
    print(int(R) + 100 * (10 - int(N)))


Verdicts: Runtime Error

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
N,R = map(int,input().split())

if N >= 10 :
  print(R)
  
elif N < 10 :
  print(100*(10-N))

N,R = map(int,input().split())

if N >= 10 :
  print(R)
  
else :
  print(100*(10-N))

N,R = map(int,input().split())

if N >= 10 :
  print(R)
  
else :
  print(R+100*(10-N))

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
N, R = int(input())

if N >= 10: print(K)
else: print(100*(10-K))

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(K)
else: print(100*(10-K))

N, R = map(int, input().split())
 
if N >= 10: print(K)
else: print(100*(10-K))

N, R = map(int, input().split())
 

print(R + 100 * (10-min(10, N)))

Verdicts: Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
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))

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
n,r = map(int,input().split())

if n >= 10:
    print(r)
else:
    print(r - (100*(100-n)))
    


n,r = map(int,input().split())

if n >= 10:
    print(r)
else:
    print(r + (100*(10-n)))


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
time,rate = map(int,input().split())
ans = 0
if time >= 10:
  ans = r
else:
  ans = r - 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)

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)

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
n = int(input())
r = int(input())
if (n<10):
  print(100*(10-n)+r)
else:
   print(r)

n,r = map(int,input().split())
if(n>=10):
  print(r)
else:
  print(100*(10-n)+r)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
L, R = map(int, input().split())
print(type(L), L, R)

if L < 10:
    print(R + (100*(10-L)))
else:
    print(R)


L, R = map(int, input().split())

if L < 10:
    print(R + (100*(10-L)))
else:
    print(R)


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
N,K=map(int,input().split())
i=0
while N>=K**i:
    i+=1
print(i)

N,R=map(int,input().split())
if N>=10:
    rate=R
else:
    rate=R+100*(10-N)
print(rate)

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
K,R = map (int, input ().split ())
if K < 10:
  print (R-100*(10-K))
else:
  print (R)

K,R = map (int, input ().split ())
if K < 10:
  print (R+100*(10-K))
else:
  print (R)

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
import sys
input = sys.stdin.readline
from collections import deque
N = int(input())
graph = [deque([]) for _ in range(N)]
has = []
stack = []
for i in range(N):
  u,k,* v = [int(x) for x in input().split()]
  v.sort()
  for j in v:
    graph[u-1].append(j)
time = 0
arrive_time = [-1]*N

def dfs(x):
  stack.append(x)
  while stack:
    v = stack.pop()
    has.append(v)
    for i in graph[v-1]:
      if i in has:
        continue
      elif i in stack:
        continue
      else:
        stack.append(i)
  print(*has)
dfs(1)


N,R = map(int,input().split())
if N >= 10:
  print(R)
else:
  print(R+100*(10-N))

Verdicts: Runtime Error

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
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)


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
a,b=map(int,input().split())
if a>=10:
  print(b)
else:
  print(b+100*(10-b))

a,b=map(int,input().split())
if a>=10:
  print(b)
else:
  print(b+100*(10-a))

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
n,r = map(int, input().split())

if n < 10:
    print(100 * (10-r))
else:
    print(r)

n,r = map(int, input().split())

if n < 10:
    print(100 * (n-r))
else:
    print(r)

n,r = map(int, input().split())

if n < 10:
    print((100 * (10-r))+r)
else:
    print(r)

n,r = map(int, input().split())

if n < 10:
    print(100 * (10-r))
else:
    print(r)

n,r = map(int, input().split())

if n < 10:
    print((100 * (10-n))+r)
else:
    print(r)

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
N, R = map(int, input().split())
if N >= 10:
  print(R)
  exit()
else:
print(100 * (10 - N) + R)

N, R = map(int, input().split())
if N >= 10:
  print(R)
  exit()
else:
	print(100 * (10 - N) + R)


Verdicts: Runtime Error

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
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))

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
NK = input().split()

N = int(NK[0])
K = int(NK[1])

ans = 1
while True:
    if N > K**ans:
        ans += 1
    else:
        break
print(ans)

NR = input().split()

N = int(NR[0])
R = int(NR[1])

if N < 10:
    R += 100*(10-N)
print(R)

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
#k = int(input())
#s = input()
#a, b = map(int, input().split())
#l = list(map(int, input().split()))

n,k = map(int, input().split())

if (n >= 10):
    print(k)
else:
    print(k-100*(10-n))


#k = int(input())
#s = input()
#a, b = map(int, input().split())
#l = list(map(int, input().split()))

n,k = map(int, input().split())

if (n >= 10):
    print(k)
else:
    print(k+100*(10-n))


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
N, R = map(int, input().split())
if N >= 10:
  print(R)
else:
  print(R-100*(10-K))

N,R = map(int, input().split())
if N >= 10:
  print(R)
else:
  print(R+100*(10-K))

N,R = map(int, input().split())
if N >= 10:
  print(R)
else:
  print(R+100*(10-N))


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
line = list(map(int,input().split()))
if line[0] >= 10:
  print(line[1])
else:
  print(line[1] + (100 * (10 - line[0]))

line = list(map(int,input().split()))
if line[0] >= 10:
  print(line[1])
else:
  print(line[1] + (100 * (10 - line[0])))

Verdicts: Runtime Error

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
n,r=map(int,input())
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))

n,r=map(int,input().split())
if n>=10:
  print(r)
else:
  print(r+100*(10-n))


Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
N, K = map(int, input())
a = 0

if N < 10:
  a = 100*(10-N) + K
  print(a)
  
elif N >= 10:
  print(K)
  

N, K = map(int, input().split())
a = 0
 
if N < 10:
  a = 100*(10-N) + K
  print(a)
  
elif N >= 10:
  print(K)
  

Verdicts: Runtime Error

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
n, r=map(int, input().split())
if n>9:
    print(r)
else:
    print(r-100*(10-n))
    

n, r=map(int, input().split())
if n>9:
    print(r)
else:
    print(r+100*(10-n))
    

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a member of a programming competition site, _ButCoder_.  Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**.  The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests.  Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating.

Submission attempts (in order):
n,r = map(int, input().split())
if n>= 10: print(r)
else:
  print(r-100*(10-n))

n,r = map(int,input().split())
print(r if n>=10 else r + 100*(10-n))

Verdicts: Wrong Answer

Accepted