题解 | 纪年

纪年

https://www.nowcoder.com/practice/057230cf4eaa4a7eb78f70836cfb5dfb

import sys
input = lambda :sys.stdin.read().strip()
check = list(map(int,input().split()))
for n in check :
    l,r = 5,11
    print(((n-2018+l)%10+9)%10+1,((n-2018+r)%12+11)%12+1)

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

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