CARLJOSEPHLEE
CARLJOSEPHLEE
全部文章
分类
题解(26)
归档
标签
去牛客网
登录
/
注册
CARLJOSEPHLEE的博客
全部文章
(共216篇)
题解 | 牛牛是否被叫家长
print("YES" if (lambda a,b,c:a+b+c<180)(*map(int, input().split())) else "NO")
2025-07-16
1
24
题解 | 牛妹数
print("yes" if (lambda a:a > 50 and a%2 ==0)(*map(int, input().split())) else "no")
2025-07-16
1
30
题解 | 卡拉兹函数
print((lambda a:3*a+1 if a%2 == 1 else a//2)(*map(int, input().split())))
2025-07-16
1
29
题解 | 比大小
print((lambda a,b:{1: ">", 0: "=", -1: "<"}[(a > b) - (a < b)])(*map(int, input().split())))
2025-07-16
1
24
题解 | 判断闰年
print("yes" if (lambda y: (y % 4 == 0 and y % 100 != 0) or y % 400 == 0)(int(input())) else "no")
2025-07-16
1
34
题解 | 明天星期几?
print(int(input())%7+1)
2025-07-16
1
23
题解 | 小乐乐求和
print((lambda x:x*(x+1)//2)(int(input())))
2025-07-15
2
35
题解 | 成绩
print((lambda x,y,z:x//10*2+y//10*3+z//10*5)(*map(int,input().split())))
2025-07-15
1
33
题解 | 牛牛学立体
我宣布我彻底学会了python压行:) print("\n".join(map(str,(lambda x,y,z:(2*(x*y+x*z+y*z),x*y*z))(*map(int,input().split())))))
2025-07-15
1
39
题解 | 计算机内存
print(int(input())*2**18)
2025-07-15
1
44
首页
上一页
7
8
9
10
11
12
13
14
15
16
下一页
末页