爱吃的代码渣渣许愿简历通过
爱吃的代码渣渣许愿简历通过
全部文章
分类
归档
标签
去牛客网
登录
/
注册
爱吃的代码渣渣许愿简历通过的博客
全部文章
(共69篇)
题解 | 牛妹数
n = int(input()) if n % 2 == 0 and n > 50: print("yes") else: print("no")
2025-12-16
0
14
题解 | 卡拉兹函数
n = int(input()) f = 0 if n % 2 == 1: f = 3 * n + 1 else: f = n // 2 print(f)
2025-12-16
0
15
题解 | 比大小
a, b = map(int, input().split()) if a < b: print("<") elif a > b: print(">") else: print("=")
2025-12-16
0
12
题解 | 判断闰年
n = int(input()) if n % 400 == 0: print("yes") elif n % 4 == 0 and n % 100 != 0: print("yes") else: print("no&qu...
2025-12-16
0
14
题解 | 明天星期几?
d = int(input()) i = 1 if d < 7: i = d + 1 print(i)
2025-12-16
0
11
题解 | 小乐乐求和
n = int(input()) s = (n + 1) * n // 2 print(s)
2025-12-16
0
13
题解 | 成绩
a, b, c = map(int, input().split()) s = 0.2 * a + 0.3 * b + 0.5 * c print(int(s))
2025-12-16
0
10
题解 | 牛牛学立体
a, b, c = map(int, input().split()) s = 2 * (a * b + b * c + c * a) v = a * b * c print(s) print(v)
2025-12-16
0
12
题解 | 计算机内存
n = int(input()) b = n * 1024 * 1024 zhengshu = b // 4 print(zhengshu)
2025-12-16
0
14
题解 | 时间转换
seconds = int(input()) miaoshu = seconds % 60 seconds //= 60 fenzhong = seconds % 60 seconds //= 60 xiaoshi = seconds print(xiaoshi, end=" &...
2025-12-16
0
15
首页
上一页
1
2
3
4
5
6
7
下一页
末页