题解 | #智乃的数字#

智乃的数字

https://www.nowcoder.com/practice/8f1b8129db30467787167da1a589b324

喜欢打表

res=[3,5,9,15,21,25,27]
t=int(input())
for _ in range(0,t):
    k=int(input())
    k-=1
    print(k//7*30+res[k%7])
全部评论

相关推荐

牛马人的牛马人生:一开始看成了网吧
点赞 评论 收藏
分享
评论
2
收藏
分享

创作者周榜

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