燕草如碧
燕草如碧
全部文章
分类
题解(60)
归档
标签
去牛客网
登录
/
注册
燕草如碧的博客
全部文章
(共66篇)
题解 | #乘法表#敢敢单单
敢敢单单 for i in range(1,10): for j in range(0,i): if i==j+1: print(f"{j+1:}*{i:}={i*(j+1):2d}",end ="") else: ...
Python3
2022-06-17
0
302
题解 | #牛牛的计划#
plan = int("".join(input().split())) date = int("".join(input().split())) if plan <=date: print("yes") else: print("no")
Python3
2022-06-14
0
261
题解 | #牛牛的金币#
x,y = map (int,input().split()) x1,y1 = map(int,input().split()) y2 = y1-y x2 = x1-x if (x2,y2)==(0,1): print("u") if (x2,y2)==(0,-1): print("...
Python3
2022-06-14
0
222
题解 | #计算商品打折结算金额#
a = float(input()) if a >5000: a= a*0.6 elif a>2000: a = a*0.7 elif a>500: a = a*0.8 elif a>100: a = a*0.9 print(f"{a:.1f}...
Python3
2022-06-14
0
287
题解 | #牛牛的快递#
import math a = input().split() weight = float(a[0]) price = 0 emg = a[1] if weight <= 1: price = 20 if emg == 'y': price = price +...
Python3
2022-06-14
0
243
题解 | #小乐乐定闹钟#
这不挺简单吗?? h,m,k = map(int,input().replace(":"," ").split()) h1=((m+k)//60+h)%24 m1=(m+k)%60 print("{:02d}:{:02d}".format(h1,m1))
Python3
2022-06-13
2
461
首页
上一页
1
2
3
4
5
6
7
下一页
末页