Ответ:
a,b=map(int,input().split())
c=[int(c) for c in input().split()]
s=0
for i in range(a):
if c[i]>=b:
s+=1
print(s,c.index(max(c))+1)
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
Ответ:
a,b=map(int,input().split())
c=[int(c) for c in input().split()]
s=0
for i in range(a):
if c[i]>=b:
s+=1
print(s,c.index(max(c))+1)