文章
308
粉丝
0
获赞
122
访问
17.4k
while(1): try: n=int(input()) s=list(map(int,input().split())) m=int(input()) l=len(s) count=0 for i in range(l): if(s[i]==m): print(i) count+=1 if(count==0): print("-1") except: break
登录后发布评论
暂无评论,来抢沙发