奈何


私信TA

用户名:6020212708

访问量:2455

签 名:

等  级
排  名 157
经  验 7049
参赛次数 1
文章发表 114
年  龄 0
在职情况 学生
学  校 大学
专  业

  自我简介:

解题思路:

注意事项:

参考代码:

while True:

    try:

        L = list(map(str,input().split('.')))

        s = 0

        for i in L:

            if i in list(map(str,range(256))):

                s+=1

        if s == 4:

            print('Y')

        else:

            print('N')

    except EOFError:

        break


 

0.0分

0 人评分

  评论区