我是芭芭拉的狗
我是芭芭拉的狗
全部文章
分类
归档
标签
去牛客网
登录
/
注册
我是芭芭拉的狗的博客
全部文章
(共162篇)
题解 | 判断闰年
n=int(input()) if n%400==0: print('yes') elif n%4==0 and n%100!=0: print('yes') else: print('no')
2025-11-23
1
26
题解 | 牛牛的判断题
x,l,r=map(int,input().split()) if x<l or x>r: print('false') else: print('true')
2025-11-23
1
24
题解 | 判断整数奇偶性
while True: try: n=int(input()) if n%2==0: print('Even') else: print('Odd') except EOFError: ...
2025-11-23
1
35
题解 | 及格分数
n=int(input()) if n>=60: print('Pass') else: print('Fail')
2025-11-23
1
23
题解 | 你是天才吗?
n=int(input()) if n>=140: print('Genius')
2025-11-23
1
26
题解 | kiki算数
a,b=map(int,input().split()) c=(a+b)%100 print(c)
2025-11-23
1
26
题解 | (a+b-c)*d的计算问题
a,b,c,d=map(int,input().split()) e=(a+b-c)*d print(e)
2025-11-23
2
22
题解 | 小乐乐与欧几里得
import math n,m=map(int,input().split()) yue=math.gcd(n,m) bei=n*m//yue print(yue+bei)
2025-11-23
1
34
题解 | 小乐乐排电梯
n=int(input()) ci=n//12 deng=4*ci min=deng+2 print(min)
2025-11-23
1
29
题解 | 小乐乐定闹钟
start,sleep=input().split() h,m=map(int,start.split(':')) sleep=int(sleep) old=h*60+m new=old+sleep hour=new//60%24 min=new%60 print(f'{hour:02d}:{min...
2025-11-23
1
23
首页
上一页
8
9
10
11
12
13
14
15
16
17
下一页
末页