题解 | #字符串字符匹配#

字符串字符匹配

http://www.nowcoder.com/practice/22fdeb9610ef426f9505e3ab60164c93

import sys
s=[]
for i in sys.stdin:
    s.append(i[0:-1])
re=''
for i in s[0]:
    if i not in s[1] :
        re='false'
        break
    else:re='true'
print(re)
全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务