第一题100 第三题90 第二题死活都是0,想了半天不知道自己错在哪,求解答~ n=int(input()) start=list(map(int,input().split(' '))) end=list(map(int,input().split(' '))) count=0 for i in range(1,n): for j in range(i): endi=end.index(start[i]) if start[j] in end[endi:]: count=count+1 break print(count)
点赞 评论

相关推荐

Cherrycola01:0实习 0项目 约等于啥也没有啊 哥们儿这简历认真的吗
点赞 评论 收藏
分享
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务