while True: try: s = input() L = input().lower() print(L.index(s[-1])) except: print(-1) 尽力了,不知道怎么搞
点赞 评论

相关推荐

牛客网
牛客企业服务