题解 | #开学?#

开学?

https://www.nowcoder.com/practice/9cc35bd0754f4feca18e10e57c672467

while True:
    try:
        a,b=map(int,input().split())
        c=(a+b)%7
        if c==0:
            print(7)
        else:
            print(c)
    except:
        break

全部评论

相关推荐

06-11 13:34
门头沟学院 C++
offe从四面八方来:我真的没时间陪你闹了
点赞 评论 收藏
分享
北漂的牛马人:211佬,包进的,可能是系统问题
点赞 评论 收藏
分享
曲霜晨:娱乐至上的年代
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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