TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

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

for i in range(N)
    if h[i]>=K
        count+=1
print(count)

N,K = map(int,input().split())
h= list(map(int,input().split()))
count=0

for i in range(N):
    if h[i]>=K:
        count+=1
print(count)

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

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

print(sum([1 if K<=a else 0 for a in A])

N,K = list(map(int,input().split()))
A = list(map(int,input().split()))
print(sum([1 if K<=a else 0 for a in A]))

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
N, K = map(int, input().split())
List = list(map(int, input().split()))
count = 0
for i in List:
  if i>=K:
    count +=
print(count)

N, K = map(int, input().split())
List = list(map(int, input().split()))
count = 0
for i in List:
  if i>=K:
    count += 1
print(count)


Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

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

N,K = map(int,input().split())
H = list(map(int,input().split()))
count = 0
for i in H:
  if i>=K:
    count = count+1
print(count)


Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n,k=map(int,input().split())
hs=list(input().split())
h=[int(s) for s in hs]
a=0
for i in range(0,n):
    if h[i]>=k:
        a=a+1
    else:
        break
print(a)

n,k=map(int,input().split())
hs=list(input().split())
h=[int(s) for s in hs]
a=0
for i in range(0,n):
    if h[i]>=k:
        a=a+1
print(a)

Verdicts: Wrong Answer

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n,k=map(int,input().split())
ans=0
for i in range(n):
  h=int(input())
  if h>=k:
    ans+1
print(ans)

n,k=map(int,input().split())
ans=0
hlist=[int(input()) for i in range(n)]
for height in hlist:
  if height>=k:
    ans+=1
print(ans)

n,k=map(int,input().split())
ans=0
hlist=[int(input()) for i in range(n)]
for height in hlist:
  if height>=k:
    ans+1
print(ans)

n,k=map(int,input().split())
ans=0
hlist=list(map(int,input().split()))
for height in hlist:
  if height>=k:
    ans+=1
print(ans)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n,m = int(input().split(''))
arr = list(map(int,input().split('')))
res = 0
for i in arr:
  if i >= m:
    res += 1
return res

n, k = map(int, input().split(' '))
hs = list(map(int, input().split(' ')))
print(len([h for h in hs if h >= k]))

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n, k = map(int,input().split())
h = list(map(int,input().split()))
ans = 0
for i in range(n):
  if h[0] >= k:
    ans += 1
print(ans)

n, k = map(int,input().split())
h = list(map(int,input().split()))
ans = 0
for i in range(n):
  if n[0] >= k:
    ans += 1
print(ans)

n, k = map(int,input().split())
h = list(map(int,input().split()))
ans = 0
for i in range(n):
  if h[i] >= k:
    ans += 1
print(ans)

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

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

h = [int(x) for x in input().split()]
cnt=0
for i in n:
    if h[i] < k:
        cnt+=1
print(cnt)



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

h = [int(x) for x in input().split()]
cnt=0
for i in range(n):
    if h[i] >= k:
        cnt+=1
print(cnt)


Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n, m = map(int, input().split())
a = list(map(int, input().split()))
cnt = 0
for i in range(n):
  if(a[i] >= m:
     cnt += 1
print(cnt)

n, m = map(int, input().split())
a = list(map(int, input().split()))
cnt = 0
for i in range(n):
  ifa[i] >= m:
     cnt += 1
print(cnt)

n, m = map(int, input().split())
a = list(map(int, input().split()))
cnt = 0
for i in range(n):
  if a[i] >= m:
     cnt += 1
print(cnt)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

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

N,K =map(int, input().split())
A=list(map(int, input().split()))
cnt = 0
for i in A :
    if i >= K:
        cnt +=1
print(cnt)

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n, k = [int(x) for x in input().split(' ')]
frei = [int(x) for x in input().split(' ')]

ans = 0
for x int frie:
  if x >= k:
    ans += 1
print(ans)
     

n, k = [int(x) for x in input().split(' ')]
frei = [int(x) for x in input().split(' ')]

ans = 0
for x in frei:
    if x >= k:
        ans += 1
print(ans)


Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
import re

num, lim = input().split()
x = re.split(' +', input())
if len(x) > num:
    print(0)
else:
    print(len([person for person in x if person >= lim]))

num, lim = map(int, input().split())
x = map(int, input().split())
print(len([person for person in x if person >= lim]))

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

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

N, K = map(int, input().split())
input_list = list(map(int,input().split()))
cnt = 0
for i in input_list:
    if i >= K:
        cnt += 1
print(cnt)

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
N, K = map(int, input().split())
l = [map(int, input().spilt())]
ans = [i if i >= K for i in l]
print(len(ans))

N, K = map(int, input().split())
l = list(map(int, input().split()))
ans = [1 if i >= K else 0 for i in l]
print(sum(ans))

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
def calculate(people_num, limit, height_array):
  permit = [height for height_array if height < limit]
  return len(permit)

if __name__ == "__main__":
  input_data = '\n'.join(iter(raw_input, ''))split()
  people_num = input_data[0]
  limit= input_data[1]
  height_array = input_data[2:len(input_data)]
  result_num = calculate(people_num, limit, height_array)
  print(result_num)
  

def calculate(people_num, limit, height_array):
    permission = [height for height in height_array if height >= limit]
    return len(permission)

if __name__ == "__main__":
    input_data = '\n'.join(iter(raw_input, '')).split()
    people_num = input_data[0]
    limit= input_data[1]
    height_array = input_data[2:len(input_data)-1]
    result_num = calculate(people_num, limit, height_array)
    print(result_num)
    

def calculate(people_num, limit, height_array):
    permission = [height for height in height_array if height >= limit]
    return len(permission)

if __name__ == "__main__":
    input_data = '\n'.join(iter(raw_input, '')).split()
    people_num = input_data[0]
    limit= input_data[1]
    height_array = input_data[2:len(input_data)]
    result_num = calculate(people_num, limit, height_array)
    print(result_num)
    

def calculate(peoople_num, limit, height_array):
    permission = [height for height in height_array if height < limit]
    return len(permission)

if __name__ == "__main__":
    input_data = '\n'.join(iter(raw_input, '')).split()
    people_num = input_data[0]
    limit= input_data[1]
    height_array = input_data[2:len(input_data)]
    result_num = calculate(people_num, limit, height_array)
    print(result_num)

def calculate(people_num, limit, height_array):
    permission = [height for height in height_array if height >= limit]
    return len(permission)
 
if __name__ == "__main__":
    people_num, limit = map(int, input().split())
    height_array = map(int, input().split())
    result_num = calculate(people_num, limit, height_array)
    print(result_num)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n, k = input().split(' ')
h = input().split(' ')
h = list(map(int, h))
h.reverse()
i, count = 1, 0
while i <= int(n):
  if h[-i] >= int(k):
    count += 1
    i += 1
  else:
    break
print(count)

n, k = input().split(' ')
h = input().split(' ')
h = list(map(int, h))
h.reverse()
i, count = 1, 0
while i <= len(h):
  if h[-i] >= int(k):
    count += 1
    i += 1
  else:
    break
print(count)

n, k = input().split(' ')
h = input().split(' ')
h = list(map(int, h))
h.reverse()
count = 0
for i in range(0, int(n)):
  if h[i] >= int(k):
    count += 1
  else:
    break
print(count)

n, k = input().split(' ')
h = input().split(' ')
h = list(map(int, h))
h.reverse()
i, count = 0, 0
while i < int(n):
  if h[i] >= int(k):
    count += 1
    i += 1
  else:
    break
print(count)

n, k = input().split(' ')
h = input().split(' ')
h = list(map(int, h))
h.reverse()
count = 0
for i in range(0, int(n)):
  if h[i] >= int(k):
    count += 1
    i += 1
  else:
    break
print(count)

n, k = input().split(' ')
h = input().split(' ')
h.reverse()
count = 0
for i in range(0, int(n)):
  if int(h[i]) >= int(k):
    count += 1
  else:
    pass
print(count)

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

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

ans = 0
for h in H:
    if h >= K:
        ans += 1
print(ans)

N,K = map(int,input().split())
H = map(int,input().split())
ans = 0
for h in H:
    if h >= K:
        ans += 1
print(ans)

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
N, K = map(int,input().split())
H = list(map(int,input().split()))
print(sum([h>=Kfor h in H]))

N, K = map(int,input().split())
H = list(map(int,input().split()))
print(sum([h>=K for h in H]))


Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
N, K = map(int, input().split())
h[] = int(input().split())
for i in h:
  if i > K:
    total+=1
print(total)    

N, K = map(int, input().split())
h = list(map(int, input().split()))
total=0
for i in h:
  if i > K:
    total+=1
print(total)    

N, K = map(int, input().split())
h[] = map(int, input().split())
for i in h:
  if i > K:
    total+=1
print(total)    

N, K = map(int, input().split())
h = list(map(int, input().split()))
for i in h:
  if i > K:
    total+=1
print(total)    

N, K = map(int, input().split())
h = list(map(int, input().split()))
total=0
for i in h:
  if i >= K:
    total+=1
print(total)    

Verdicts: Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n,k = map(int, input().split())
h = list(map(int, input().split()))
count = 0
for i in range(n):
  if h[n] >= k:
    count += 1
print(count)

n,k = map(int, input().split())
h = list(map(int, input().split()))
count = 0
for i in range(n):
  if h[i] >= k:
    count += 1
print(count)

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n,k=map(int,input().split())
xlist =list(map(int,input().split()))
count = 0
for i in range(n):
  if x[i]>=k:
    count+=1
print(count)

n,k=map(int,input().split())
xlist =list(map(int,input().split()))
count = 0
for i in range(n):
  if xlist[i]>=k:
    count+=1
print(count)

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
N、K = map(int,input().split())
H = list(map(int,input().split()))
count = 0
for i in range(N):
  if H[i] >= K:
    count += 1
print(count)


N、K = map(int,input().split())
H = list(map(int,input().split()))
count = 0

for i in range(N):
  if H[i] >= K:
    count += 1
    
print(count)

N,K = map(int,input().split())
H = list(map(int,input().split()))
count = 0
for i in range(N):
  if H[i] >= K:
    count += 1
print(count)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n, k = map(int, input().split())
a = list(map(int, input().split()))
print(a.count(a >= k))

n, k = map(int, input().split())
a = list(map(int, input().split()))
print(len([e for e in a if e >= k]))

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

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

h = [int(input()) for i in range(n)]

ans = 0

for i in range(n):
	if h[i] >= k:
		ans += 1


print(ans)

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

h = [int(x) for x in input().split()]

ans = 0

for i in range(n):
	if h[i] >= k:
		ans += 1


print(ans)

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n ,k = map(int,input().split())
h = map(int, input().strip().split())
count = 0
for i in h:
    if i > k:
        count = count + 1
print(count)

n ,k = map(int,input().split())
h = map(int, input().strip().split())
count = 0
for i in h:
    if i >= k:
        count = count + 1
print(count)

Verdicts: Wrong Answer

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n = int(input())
min_height = int(input())

height = []
for _ in range(n):
    height.append(int(input()))
height.sort(reverse=True)

cnt = 0
for h in height:
    if h < min_height:
        break
    cnt += 1
print(cnt)


n, min_height = map(int, input().split())
height = list(map(int, input().split()))
height.sort(reverse=True)

cnt = 0
for h in height:
    if h < min_height:
        break
    cnt += 1
print(cnt)


Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

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

N,K=map(int,input().split(" "))
h=list(map(int,input().split(" ")))
co=0
for i in h:
    if i>=K:
        co+=1
print(co)

Verdicts: Wrong Answer

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
N,K = [int(i) for i input().split()]
h = [int(i) for i input().split()]

count = 0
for i in range(N):
  if h[i] >= K:
    count += 1

print(count)

N,K = [int(i) for i in input().split()]
h = [int(i) for i in input().split()]
 
count = 0
for i in range(N):
  if h[i] >= K:
    count += 1
 
print(count)

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n,k=map(int,input().split())
List=[int(i) for i in input().split()]
cnt=0
for i in range(0,n-1):
  if List[i]<=k:
    cnt=cnt+1
print(cnt)    
  

n,k=map(int,input().split())
List=[int(i) for i in input().split()]
cnt=0
for i in range(0,n):
  if List[i]>=k:
    cnt=cnt+1
print(cnt)    
  


Verdicts: Wrong Answer

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
N, K = map(int, input().split())
l = [input() for i in range(N+1)]
ans = 0
while True:
  if max(l) >= K:
    l.remove(max(l))
    ans += 1
    
print(ans)
    


N, K = map(int, input().split())
l = list(map(int, input().split())
ans = 0
while max(l) <= K:
         l.remove(max(l))
         ans += 1
    
print(ans)
    


N, K = map(int, input().split())
l = [map(int, input().split())]
ans = 0
while max(l)<K:
  if max(l) >= K:
    l.remove(max(l))
    ans += 1
    
print(ans)
    


N, K = map(int, input().split())
l = []
l += map(int, input().split())
ans = 0
while True:
  if max(l) >= K:
    l.remove(max(l))
    ans += 1
    
print(ans)
    

N, K = map(int, input().split())
l = [map(int, input().split())]
ans = 0
while True:
  if max(l) >= K:
    l.remove(max(l))
    ans += 1
    
print(ans)
    


N, K = map(int, input().split())
l = list(map(int, input().split())
ans = 0
for i in l:
     if i >= K
         ans += 1
print(ans)
    

N, K = map(int, input().split())
l = list(map(int, input().split())
ans = 0
for i in range(len(l)):
     if l[i] >= K
         ans += 1
print(ans)
    


N, K = map(int, input().split())
l = list(map(int, input().split())
ans = 0
while True:
  if max(l) >= K:
    l.remove(max(l))
    ans += 1
    
print(ans)
    


N, K = map(int, input().split())
l = list(map(int, input().split())
ans = 0
for i in range(len(l)):
     if l[i] >= K
         ans += 1
print(ans)
    


N, K = map(int, input().split())
li = list(map(int, input().split()))
ans = 0
for i in range(N):
  if li[i] >= K:
    ans += 1
print(ans)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n,k = map(int,input().split())
ans = 0
a = list[map(int,input().split())]
for i in range(n):
  if a[i] >= k:
    ans += 1
print(ans)

n,k = map(int,input().split())
ans = 0
for i in range(n):
  if i >= k:
    ans += 1
print(ans)
  

n,k = map(int,input().split())
ans = 0
a = list(map(int,input().split()))
for i in range(n):
  if a[i] >= k:
    ans += 1
print(ans)

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
N, K = map(int, input().split());
h = list(map(int, input().split()))
for i in range(N):
  if h[i] >= K:
    ans += 1
print(ans)

N, K = map(int, input().split());
h = list(map(int, input().split()))
ans = 0
for i in range(N):
  if h[i] >= K:
    ans = ans + 1
print(ans)


Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n, k = map(int, input().split())
h = map(input().split())
ans = 0
for i in range(n):
    if h[i] >= k:
        ans += 1
print(ans)

n, k = map(int, input().split())
h = list(map(int, input().split()))
ans = 0
for i in range(n):
    if h[i] >= k:
        ans += 1
print(ans)


Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

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

result = 0
h = map(int, input().split())
for i in h:
    if i >= K:
        result += 1
print(result)

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

result = 0
h = map(int, input().split())
for i in h:
    if i >= K:
        result += 1
print(result)

Verdicts: Wrong Answer

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
N,K = map(int,input())
li = [int(input()) for i in range(N)]
ans = 0
for i in li:
  if i >= K:
    ans += 1
print(ans)

N,K = int(input())
li = [int(input()) for i in range(N)]
ans = 0
for i in li:
  if i >= K:
    ans += 1
print(ans)

N,K = map(int,input().split())
li = list(map(int,input().split()))
ans = 0
for i in li:
  if i >= K:
    ans += 1
print(ans)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
import bisect
n = int(input())
k = int(input())
array = list(map(int,input().strip().split()))
array.sort()
index = bisect.bisect_left(array,k)
print (n - index)


import bisect
n,k = input().strip().split()
n,k = [int(n),int(k)]
array = list(map(int,input().strip().split()))
array.sort()
index = bisect.bisect_left(array,k)
print (n - index)

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n,k = map(int,input().split())
h = list(map(int,input().split()))
x = 0
for i in n:
  if h[i-1]>=k:
    x += 1
print(x)

n,k = map(int,input().split())
h = list(map(int,input().split()))
x = 0
for i in range(n):
  if h[i-1]>=k:
    x += 1
print(x)

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n,k=map(int,input().split())
h=list(map(int,input()split()))
c=0
for i in range(n):
  if i<=k:
    c=c+1
print(c)

n,k=map(int,input().split())
h=list(map(int,input().split()))
c=0
for i in range(n):
  if k<=h[i]:
    c=c+1
print(c)

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n, k = map(int, input().split())
hs = input().split()
count = 0
for i in range(0, N):
    h = int(hs[i])
    if h >= k:
        count += 1
print(count)

n, k = map(int, input().split())
hs = input().split()
count = 0
for i in range(0, n):
    h = int(hs[i])
    if h >= k:
        count += 1
print(count)

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
import numpy as np

N,K=map(int,input().split())
h=list(map(int,input().split()))
# N,K=4,150
# h=[150, 140, 100, 200]

harry=np.array(h)
ans=np.where(harry>=K)

print(ans[0][1])


# import sys
# print(sys.version_info)

import numpy as np

N,K=map(int,input().split())
h=list(map(int,input().split()))
# N,K=4,150
# h=[150, 140, 100, 200]

harry=np.array(h)
ans=np.where(harry>=K)


print(harry)
print(ans[0][1])
print(type(ans))


import numpy as np

N,K=map(int,input().split())
h=list(map(int,input().split()))
# N,K=4,150
# h=[150, 140, 100, 200]

harry=np.array(h)
ans=np.count_nonzero(harry>=K)

print(ans)


# import sys
# print(sys.version_info)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
N, K = map(int,input().split( ))
H = [int(i) for i in input().split( )]

H = sorted(H)
def binary_search(arr, x):
    start = 0
    end = len(arr)-1
    while(end >= start):
        mid = int(start + (end-start)/2)
        if x > arr[mid]:
            start = mid+1
        elif x < arr[mid]:
            end = mid -1
        else:
            for i in range(mid-start):
                if arr[mid-i-1] < x:
                    start = mid - i
                    break
            break
    return start
print(K - binary_search(H, K))

N, K = map(int,input().split( ))
H = [int(i) for i in input().split( )]

def binary_search(arr, x):
    start = 0
    end = len(arr)-1
    while(end >= start):
        mid = int(start + (end-start)/2)
        if x > arr[mid]:
            start = mid+1
        elif x < arr[mid]:
            end = mid -1
        else:
            for i in range(mid-start):
                if arr[mid-i-1] < x:
                    start = mid - i
                    break
            break
    return start
print(binary_search(H, K))

N, K = map(int,input().split( ))
H = [int(i) for i in input().split( )]

H = sorted(H)
def binary_search(arr, x):
    start = 0
    end = len(arr)-1
    while(end >= start):
        mid = int(start + (end-start)/2)
        if x > arr[mid]:
            start = mid+1
        elif x < arr[mid]:
            end = mid -1
        else:
            for i in range(mid-start):
                if arr[mid-i-1] < x:
                    start = mid - i
                    break
            break
    print(N-start)
binary_search(H, K)

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n, k = map(int, input().split())
h = list(map(int, input().split()))
sum = 0
for i in h:
    if h >= k:
        sum += 1
print(sum) 

n, k = map(int, input().split())
h = list(map(int, input().split()))
sum = 0
for i in h:
    if i >= k:
        sum += 1
print(sum)

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
import numpy

N,K = [int(s) for s in input.split()]
heights = np.array([int(s) for s in input().split()])

sum(heights > K)

N,K = [int(s) for s in inpput().split()]
heights = [int(s) for s in input().split()]

count = 0

for i in range(N):
  if heights[i] >= K:
    count+=1
    
print(count)

def LI():
  return [int(s) for s in input().split()]

N,K = LI()

h_s = LI()
h_s.sort(reverse = True)

count = 0

for h in h_s:
  if h  < K:
    break
  count+=1
  
print(count)


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

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

while i in range(N):
  if(h[i] >= K):
    count+=1

print(count)

N, K = map(int, input().split())
h = list(map(int, input().split()))
count=0
 
while i in range(N):
  if h[i] >= K:
    count+=1
 
print(count)

N, K = map(int, input().split())
h = list(map(int, input().split()))
count=0
 
for i in range(N):
  if h[i] >= K:
    count+=1
 
print(count)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

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

cnt = 0
for h in H:
  if h >= K:
    cnt += 1
  else:
    break
print(cnt)

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

ans = 0
for i in h:
  if h >= K:
    ans += 1
print(ans)

N,K = map(int,input().split())
H = list(map(int,input().split()))
H.sort(reverse=True)

cnt = 0
for h in H:
  if h >= K:
    cnt += 1
  else:
    break
print(cnt)


Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
N, K = input().split()
l = list(int(i) for i int input().split())
count = 0

for i in l:
  if(i > K):
    count = count + 1

print(count)

N, K = input().split()
l = list(int(i) for i in input().split())
count = 0
 
for i in l:
  if(i > int(K)):
    count = count + 1

print(count)

N, K = input().split()
l = list(int(i) for i int input().split())
count = 0
 
for i in l:
  if(i > K):
    count = count + 1

print(count)

N, K = input().split()
l = list(int(i) for i in input().split())
count = 0
 
for i in l:
  if(i >= int(K)):
    count = count + 1

print(count)

Verdicts: Runtime Error

Wrong Answer

Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
N, K = map(int, input().split())
H = list(map(int, input().split()))
c = 0
for h in H:
  if h>=K:
    c += 1
primt(c)

N, K = map(int, input().split())
H = list(map(int, input().split()))
c = 0
for h in H:
  if h>=K:
    c += 1
print(c)

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):

x = input()
hights_str = input()

low_limit = int(x.split(" ")[1]
hights = map(int, hights_str.split(" "))

count = 0
for hight in hights:
    if hight >= low_limit:
        count += 1

print(count)


x = input()
hights_str = input()

low_limit = int(x.split(" ")[1])
hights = map(int, hights_str.split(" "))

count = 0
for hight in hights:
    if hight >= low_limit:
        count += 1

print(count)


Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

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

ans = 0

for i in range(0,N):
    print(i, h_n[i])
    if h_n[i] >= K:
        ans += 1

print(ans)

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

ans = 0

for i in range(0,N):
    if h_n[i] >= K:
        ans += 1

print(ans)

Verdicts: Wrong Answer

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
N,K = list(map(int,input().split()))
H  = list(map(int,input().split()))
counter = 0
for h in H:
  if h >= K:
    couter += 1
    
print(counter)

N,K = list(map(int,input().split()))
H  = list(map(int,input().split()))
counter = 0
for h in H:
  if h >= K:
    counter += 1
    
print(counter)


Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
import numpy as np
K = list(map(int, input().split()))[1]
h = list(map(int, input().split()))
print(sum(np.array(h)>=K)

import numpy as np
K = list(map(int, input().split()))[1]
h = list(map(int, input().split()))
print(sum(np.array(h)>=K))


Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

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

lis = []
count = 0

for _ in range(int(input())):
  lis.append(input())
  
for height in lis:
  if height >= K:
    count += 1
    
print(count)
  

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

lis = []
count = 0

lis = list(map(int,input().split()))
  
for height in lis:
  if height >= K:
    count += 1
    
print(count)
  

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
rule = input().split()
men = input().split()

mens = 0
for i in men:
  if int(rule[0]) <= int(i):
    mens += 1

print(mens)

rule = input().split()
men = input().split()

mens = 0
for i in men:
  if int(rule[0]) <= int(i):
    mens += 1

print(mens)

rule = input().split()
men = input().split()

mens = 0
for i in men:
  if int(rule[0]) <= int(i):
    mens += 1

print(mens)

rule = input().split()
men = input().split()

mens = 0
for i in men:
  if int(rule[1]) <= int(i):
    mens += 1

print(mens)

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
a,b=input().strip().split(' ')
a,b=[int(a),int(b)]
cn=0
c=[int(x) for x in input().split(' ')]
for i in c:
  if i>=c:
    cn+=1
print(cn)

a,b=input().strip().split(' ')
a,b=[int(a),int(b)]
co=0
c=list(map(int,input().strip().split(' ')))
for i in c:
  if i>=b:
    co+=1
print(co)

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

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

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

count = 0

for i in range(n):
        if a[i] > k:
           count = count + 1

print(count)

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

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

count = 0

for i in range(n):
        if a[i] >= k:
           count = count + 1

print(count)

Verdicts: Wrong Answer

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
a,b=(int(x) for x in input().split())
X=input()
Y=X.split()
count=0

for i in range(len(Y)):
    if b<int(Y[i]):
        count=count+1
    ++i
print(count)

a,b=(int(x) for x in input().split())
X=input()
Y=X.split()
count=0

for i in range(len(Y)):
    if b<=int(Y[i]):
        count=count+1
    ++i
print(count)

Verdicts: Wrong Answer

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
S=input()
odd=S[0::2]
even=S[1::2]
if 'L' in odd or 'R' in even:
    print('No')

else:
    print('Yes')


N,K=map(int,input().split())
H=sorted(list(map(int,input().split())))

ans=0
for i in range(N):
    if K<=H[i]:
        ans+=1

print(ans)


Verdicts: Wrong Answer

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
# -*- coding: <encoding name> -*-

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

count = 0

for i in h:
	if i >= k:
		count++

print(count)

# -*- coding: <encoding name> -*-

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

count = 0

for i in h:
	if i >=:
		count++

print(count)

# -*- coding: <encoding name> -*-

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

count = 0

for i in h:
	if i >= k:
		count += 1

print(count)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n, k = map(int, input().split())
a = list(map(int, input().split()))
i = 0
ans = 0
while i < n:
    if a[i] >= k:
        ans += 1
        i += 1
print(ans)


n, k = map(int, input().split())
h = list(map(int, input().split()))
i = 0
ans = 0
for i in range(n):
    if h[i] >= k:
        ans+=1
print(ans)

Verdicts: Time Limit Exceeded

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

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

ans = 0
for x in h:
    if h >= K:
        ans += 1

print(ans)

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

ans = 0
for x in h:
    if x >= K:
        ans += 1

print(ans)

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
import fileinput
for i, line in enumerate(fileinput.input()):
  if i == 0:
    N, K = map(int, line.strip().split())
  else:
    hs = map(int, line.strip().split())
    print(sum([1 for h in hs if h > K]))
    break


import fileinput
for i, line in enumerate(fileinput.input()):
  if i == 0:
    N, K = map(int, line.strip().split())
  else:
    hs = map(int, line.strip().split())
    print(sum([1 for h in hs if h >= K]))
    break


Verdicts: Wrong Answer

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
N, K = list(map(lambda n: int(n), input().split(" ")))
h = list(map(lambda x: int(n), input().split(" ")))
print(len(list(filter(lambda height: height >= K, h))))

N, K = list(map(lambda n: int(n), input().split(" ")))
h = list(map(lambda x: int(x), input().split(" ")))
print(len(list(filter(lambda height: height >= K, h))))

Verdicts: Runtime Error

Accepted
Problem: N friends of Takahashi has come to a theme park.  To ride the most popular roller coaster in the park, you must be at least K centimeters tall.  The i-th friend is h_i centimeters tall.  How many of the Takahashi's friends can ride the roller coaster?

Submission attempts (in order):
n=int(input())
k=int(input())
N=map(int,input().split())
count=0
for n1 in n:
  if N>k:
    count+=1
  ekse:
    print(0)
pribt(count)


n=int(input())
k=int(input())
N=map(int,input().split())
count=0
for n1 in n:
  if N>k:
    count+=1
  ekse:
    count+=0
pribt(count)


N, K = map(int, input().split())
h = list(map(int, input().split()))
count = 0
for i in range(len(h)):
    a = h[i]
    if h >= K:
        count += 1
print(count)

N,K=map(int,input().split())
h=[int(input() for i in range(N))]
count=0
for a in range(1,N+1):
  if a<=K:
    count+=1
  else:
    pass
print(count)

n=int(input())
k=int(input())
N=map(int,input().split())
count=0
for n1 in n:
  if N>=k:
    count+=1
  ekse:
    count+=0
print(count)

N, K = map(int, input().split())
h = list(map(int, input().split()))
count = 0
for i in h:
    if i >= K:
      count+=1
print(count)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted