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):
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):
import numpy as np

n = int(input())
x = np.array(list(map(int,input().split())))
# x = np.array(x)
r = np.full(100, 100 * n)

for p in range(100):
    r[p] = np.sum((x - p + 1)**2)
print(np.min(r))

n,r = [int(i) for i in 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 = 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))

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*N -1000)

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


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 = lambda(int,input().split())
print(r-100*max(0,10-n))

n, r = map(int,input().split())
print(r-10*max(0,10-n))

n, r = map(int,input().split())
print(r-100*max(0,10-n))

n, r = map(int,input().split())
print(r-100*max(0,10-n))

n, r = map(int,input().split())
print(r+100*max(0,10-n))

Verdicts: Runtime Error

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):
import math
n,a,b = map(int,input().split())
mod = 10**9+7
ans = pow(2,n,mod)
def cmb(n, r, mod):
    if ( r<0 or r>n ):
        return 0
    r = min(r, n-r)
    return g1[n] * g2[r] * g2[n-r] % mod

mod = 10**9+7
N = 10**4
g1 = [1, 1]
g2 = [1, 1]
inverse = [0, 1]

for i in range(2, N + 1):
    g1.append( (g1[-1]*i) % mod)
    inverse.append( (-inverse[mod % i] * (mod//i)) % mod)
    g2.append( (g2[-1]*inverse[-1]) % mod)
ans = ans-(cmb(n,a,mod)+cmb(n,b,mod))-1
print(ans)

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):
deta = input().split()
n = deta[0]
r = deta[1]
if n>=10:
    print(r)
else:
    rate = 100*(10-int(n))
    print(rate)

deta = input().split()
n = deta[0]
r = deta[1]
if int(n)>=10:
    print(r)
else:
    rate = 100*(10-int(n))
    print(rate)

deta = input().split()
n = deta[0]
r = deta[1]
if int(n)>=10:
    print(r)
else:
    rate = 100*(10-int(n))+int(r)
    print(rate)

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,m=map(int,input().split())
if 10<=n:
  print(m)
else:
  m=m-(10-n)*100
  print(m)

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

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:
    R' = R
else:
    R' = R + 100 * (10 - N)

print(R')

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

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

print(R')

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

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

print(X)

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):
N,R = map(int,input().split())
if N <= 10:
    print(R)
else:
    print(R + 1000 -10*N)

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

N,R = map(int,input().split())
if N >= 10:
    print(R)
else:
    print(R + 1000 -100*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,r=int(input())
 
if n<10:
  print(int(r+100*(10-n)))
else:
  print(r)

n,r=int(input())

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)

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):
a,b=map(int, input().split())

if a > 10:
    print(b)
else:
    print(b-100*(10 - a))

a,b=map(int, input().split())

if a >= 10:
    print(b)
else:
    print(b-100*(10 - a))

n = int(input())

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

a,b=map(int, input().split())

if a >= 10:
    print(b)
else:
    print(b + 100*(10 - a))

Verdicts: Wrong Answer

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

n, r = 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):
def main():
 n, r = map(int,input().split())
 if n >= 10:
     print(r)
 else:
     print(r + 100* (10 - r))
main()

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

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

def main():
 n, r = map(int,input().split())
 if n >= 10:
     print(r)
 else:
     print(r + 100* (10 - n))
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, R = map(int, input().split())
ans = 0

if(N>=10):
  ans = R
else:
  ans = R + 100*(10−K)

print(ans)


N, R = map(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−K)

print(ans)


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

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

print(ans)


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):
N,R = int(input())
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)

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:
  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())
print(n, r)
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().strip().split())

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

n, r = map(int, input().strip().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())
ans = 0

if n >= 10:
  ans = r
else:
  ans = 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)

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())
print(r - (10 - min(n, 10)) * 100)

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


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())
print(r if n >= 10 else r - 100 * (10 - n))

n, r = map(int, input().split())
print(r if n >= 10 else 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):
# -*- 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(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()

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

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 + N)
else:
    print(N)

N,R = 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 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):
from sys import stdin
n,k = map(int,stdin.readline().rstrip().split())
if n >= 10:
    print(k)
else:
    print(n*100+k)

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

if n >= 10:
    print(r)
else:
    print(1000-100*n+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=input()
R=input()
Naibu = int(R) + 100*(10-int(N))
if int(N)<=9:
    print(Naibu)
else:
    print(R)

N=input().split()

Naibu = int(N[1]) + 100*(10-int(N[0]))
if int(N[0])<=9:
    print(Naibu)
else:
    print(N[1])

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 = int(input())
R = int(input())

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

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

if N < 10:
    ans = R + (100 * (10 - N))
    print(ans)
else:
    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,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)
  

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

n,r = 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)

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 = int(input())
X = list(map(int, input().split()))
x_min = min(X)
x_max = max(X)

min_val = 10**6 + 1

for i in range(x_min, x_max + 1):
    min_val = min(min_val, sum(map(lambda x: (x-i)**2, X)))

print(min_val)

N, R = list(map(int, input().split()))
print(R if N >= 10 else 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:
  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())
ans=r

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

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

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

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())
if a<10:
  print(b+(100*(10-a))
else:
  print(b)
        

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

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

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

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):
N, R = map(int,input().split())
print(type(N), N, R)

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

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

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


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

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

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


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


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

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
314159265 3

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

while n > 0:
    n = n // k
    count += 1

print(count)


Verdicts: Runtime Error

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
strings = input().split(' ')
N = int(strings[0])
K = int(strings[1])
 
ans = 1
max = 1

while max < N:
  max = max * K
  ans  =ans + 1
  
print(ans)

strings = input().split(' ')
N = int(strings[0])
K = int(strings[1])
 
ans = 1
max = K

while max <= N:
  max = max * K
  ans  =ans + 1
  
print(ans)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

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


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


Verdicts: Wrong Answer

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
import math
print(math.ceil(math.log(int(input()), int(input()))))

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

Verdicts: Runtime Error

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

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

n,k=map(int,input().split())
def Base_10_to_n(X, n):
    if (int(X/n)):
        return Base_10_to_n(int(X/n), n)+str(X%n)
    return str(X%n)
print(len(Base_10_to_n(n,k)))



Verdicts: Wrong Answer

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
[N,K] = list(map(int,input().split()))
shou= N // K
amari=[]
while shou<K:
    shou = shou // K
    ama=shou % K
    amari.append(ama)
    

print(len(amari)+2)

[N,K] = list(map(int,input().split()))
if N<K:
    print(1)
else:
    i=N
    j=0
    while i>=K:
        i = i/K
        j=j+1
    print(j+1)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

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

n,k = map(int,input().split())
n2 = k
count = 0
while n2 <= n:
  n2*=k
  count+=1
print(count+1)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

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

for i in range(0,1000000):
  
    if n-k**i>1:
        print(i)
        break
    if n=k**i-1:
        print(i-1)
        break

import math  
def findNumberOfDigits(n, b): 
    dig = (math.floor(math.log(n) /math.log(b)) + 1) 
    return dig
n, k = map(int, input().strip().split())
print(findNumberOfDigits(n, k))

Verdicts: Runtime Error

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
import numpy as np

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

print(len(str(n)))

import numpy as np

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

k = 1
a = 1
while True:
    a *= r
    if n >= a:
        k += 1
    else:
        print(k)
        break


Verdicts: Wrong Answer

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
n,p=map(int,input().split())
for i in range(10000):
  if p**i<=n<p**(i+1):
    print(i-1)
    exit()

n,p=map(int,input().split())
for i in range(10000):
  if p**i<=n<p**(i+1):
    print(i+1)
    exit()


Verdicts: Wrong Answer

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
N,K = map(int, input().split())
X = N
a = ""
while X > 0:
  a = str(X&K) + a
  X = X/K

  
print(a)

N,K = map(int, input().split())
X = N
a = ""
while X > 0:
  a = str(X%K) + a
  X = X//K

  
print(len(a))

Verdicts: Runtime Error

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

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

import math
n, k = input().split(" ")
n= int(n)
k= int(k)
dig = (math.floor(math.log(n) / math.log(k)) + 1)
print(dig)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

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


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


Verdicts: Wrong Answer

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

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

N,K=map(int,input().split())
c=1
while N>=K**c:
    c+=1
print(c)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
N,K = map(int,input().split())
N =+ 1
ans = 1
for i in range(1000000): 
	if K**(ans) < N:
		ans += 1
	else:
		print(ans)
		break

N,K = map(int,input().split())
N += 1
ans = 1
for i in range(1000000): 
	if K**(ans) < N:
		ans += 1
	else:
		print(ans)
		break

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
def ans(n, k):
    if (int(n/k)):
        return ans(int(n/k), k)+str(n % k)
    return str(n % k)


def main():
    n, k = map(int, input().split())
    print(ans(n, k))


if __name__ == "__main__":
    main()


def ans(n, k):
    if (int(n/k)):
        return ans(int(n/k), k)+str(n % k)
    return str(n % k)


def main():
    n, k = map(int, input().split())
    print(len(ans(n, k)))


if __name__ == "__main__":
    main()


Verdicts: Wrong Answer

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
n, k = map(int, input().split())
ans = []
while n!=0 :
    ans.append(n % x)
    n = n // x
print(len(ans))

n, x = map(int, input().split())
ans = []
while n!=0 :
    ans.append(n % x)
    n = n // x
print(len(ans))

Verdicts: Runtime Error

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
import numpy as np
import scipy.sparse as sps
import scipy.misc as spm
import collections as col
import functools as func
import itertools as ite
import fractions as frac
import math as ma
from math import cos,sin,tan,sqrt
import cmath as cma
import copy as cp
import sys
import re
import bisect as bs
sys.setrecursionlimit(10**7)
EPS = sys.float_info.epsilon
PI = np.pi; EXP = np.e; INF = np.inf
MOD = 10**9 + 7

def sinput(): return sys.stdin.readline().strip()
def iinput(): return int(sinput())
def imap(): return map(int, sinput().split())
def fmap(): return map(float, sinput().split())
def iarr(n=0):
    if n: return [0 for _ in range(n)]
    else: return list(imap())
def farr(): return list(fmap())
def sarr(n=0):
    if n: return ["" for _ in range(n)]
    else: return sinput().split()
def adj(n): return [[] for _ in range(n)]

class unionfind:
    def __init__(self, n):
        self.parent = [i for i in range(n)]
        self.size = [1 for i in range(n)]
    def find(self,a):
        if a == self.parent[a]: return a
        else: self.parent[a] = find(self,self.parent[a]); return self.parent[a]
    def unite(self,a,b):
        pa,pb = self.find(self,a), self.find(self,b)
        if pa == pb: return
        else: self.parent[pb] = pa; self.size[pa] += self.size[pb]
    def same(self,a,b): return find(self,a) == find(self,b)

n,k = imap()
for i in range(31):
    if k**i > n: ans = i; break
ans = 1 if
print(ans)


import numpy as np
import scipy.sparse as sps
import scipy.misc as spm
import collections as col
import functools as func
import itertools as ite
import fractions as frac
import math as ma
from math import cos,sin,tan,sqrt
import cmath as cma
import copy as cp
import sys
import re
import bisect as bs
sys.setrecursionlimit(10**7)
EPS = sys.float_info.epsilon
PI = np.pi; EXP = np.e; INF = np.inf
MOD = 10**9 + 7

def sinput(): return sys.stdin.readline().strip()
def iinput(): return int(sinput())
def imap(): return map(int, sinput().split())
def fmap(): return map(float, sinput().split())
def iarr(n=0):
    if n: return [0 for _ in range(n)]
    else: return list(imap())
def farr(): return list(fmap())
def sarr(n=0):
    if n: return ["" for _ in range(n)]
    else: return sinput().split()
def adj(n): return [[] for _ in range(n)]

class unionfind:
    def __init__(self, n):
        self.parent = [i for i in range(n)]
        self.size = [1 for i in range(n)]
    def find(self,a):
        if a == self.parent[a]: return a
        else: self.parent[a] = find(self,self.parent[a]); return self.parent[a]
    def unite(self,a,b):
        pa,pb = self.find(self,a), self.find(self,b)
        if pa == pb: return
        else: self.parent[pb] = pa; self.size[pa] += self.size[pb]
    def same(self,a,b): return find(self,a) == find(self,b)

n,k = imap()
for i in range(31):
    if k**i > n: ans = i; break
print(ans)


Verdicts: Runtime Error

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

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

N,K = map(int,input().split())
ans=1
p=K
while p <= N:
  p *= K
  ans+=1
print(ans)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

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

def f(n, k):
    if n//k:
        return f(n//k, k) + str(n%k)
    else:
        return str(n%k)

print(f(N, K))

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

def f(n, k):
    if n//k:
        return f(n//k, k) + str(n%k)
    return str(n%k)

print(len(f(N, K)))

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
inp=list(map(int,input().strip().split()))[:2]
n,r=inp[0],inp[1]
count=0
while(n > 0):
  n=n//r
  count+=1
return count


inp=list(map(int,input().strip().split()))[:2]
n,r=inp[0],inp[1]
count=0
while(n > 0):
  n=n//k
  count+=1
return count

inp=list(map(int,input().strip().split()))[:2]
n,r=inp[0],inp[1]
count=0
while(n > 0):
    n=n//r
    count+=1
print(count)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
n,k=[int(k) for k in input().strip().split(" ")]

res=0
while n:
    n/=k
    res+=1

print(res)

n,k=[int(k) for k in input().strip().split(" ")]

res=0
while n:
    n//=k
    res+=1

print(res)

Verdicts: Wrong Answer

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
N,K=map(int, input().split()) 
for i in　range(10)
	if K**i<=N<=K**(i+1):
    	print(i+1)


N,K=map(int, input().split()) 
for i in range(100000):
    if K**i<=N<=K**(i+1):
        print(i+1)

N,K=map(int, input().split()) 
for i in range(8000):
    if K**i<=N<K**(i+1):
        print(i+1)

Verdicts: Runtime Error

Time Limit Exceeded

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
a,b=map(int,input().split())
cnt=0
while a>0:
  a//=b
  cnt+=1
 

a,b=map(int,input().split())
cnt=0
while a>0:
  a//=b
  cnt+=1
print(x)

a,b=map(int,input().split())
cnt=0
while a>0:
  a//=b
  cnt+=1
print(cnt)

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
from sys import stdin

n,k=map(int,input().split())
num = n
sum_k = k
for sum_k <= n:
    sum_k= sum_k * k
print(len(sum_k))
 


from sys import stdin

n,k=map(int,input().split())
num = k
sum_k = n
for sum_k <= n:
    sum_k= sum_k*n
print(len(sumk))
 


from sys import stdin
n,k=map(int,input().split())
c=0
while n > 0:
    c += 1
    n=n//k
print(c)


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

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

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

Verdicts: Runtime Error

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
s, k = map(int,input().split())
c = list()
while s >= 0:
    a = s % k
    c.append(a)
    s = s // k

print(len(c))


s, k = map(int,input().split())
c = []
while s > 0:
    a = s % k
    c.append(a)
    s //= k

print(len(c))


Verdicts: Time Limit Exceeded

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
a = list(map(int, input().split()))
b = a[0]
c = 0
while b > 0:
  b = b / a[1]
  c += 1
print(c)


a = list(map(int, input().split()))
b = a[0]
c = 0
while b > 1:
  b = b // a[1]
  c += 1
print(c)


a = list(map(int, input().split()))
b = a[0]
c = 0
while b > 0:
  b = b // a[1]
  c += 1
print(c)


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
def Base_10_to_n(X, n):
    if (int(X/n)):
        return Base_10_to_n(int(X/n), n)+str(X%n)
    return str(X%n)
  
N,K = map(int,imput().split())
A = Base_10_to_n(N, K)
print(len(A))


import math
N,K = map(int,imput().split())

def Base_10_to_n(X, n):
    if (int(X/n)):
        return Base_10_to_n(int(X/n), n)+str(X%n)
    return str(X%n)

A = Base_10_to_n(N, K)
print(len(A))


def Base_10_to_n(X, n):
    if (int(X/n)):
        return Base_10_to_n(int(X/n), n)+str(X%n)
    return str(X%n)
  
N,K = map(int,input().split())
A = Base_10_to_n(N, K)
print(len(A))


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

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

import math
N,K = list(map(int,input().split()))

print(math.ceil(math.log(N,K)+1))

import math
N,K = list(map(int,input().split()))

print(int(math.log(N,K)+1))

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Given is an integer N. Find the number of digits that N has in base K.

Submission attempts (in order):
n, k = (int(z) for z in input().split())
ans = 0
while n:
  n /= k
  ans += 1
print(ans)

n, k = (int(z) for z in input().split())
ans = 0
while n:
	n /= k
    ans += 1
print(ans)

n, k = (int(z) for z in input().split())
ans = 0
while n:
  n //= k
  ans += 1
print(ans)


Verdicts: Wrong Answer

Runtime Error

Accepted