叶花永不相见
叶花永不相见
全部文章
分类
题解(183)
归档
标签
去牛客网
登录
/
注册
叶花永不相见的博客
全部文章
(共155篇)
题解 | #获得月份天数#
while 1: try: y,m = map(int, input().split()) list = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] day = list[m] ...
Python3
2022-06-16
0
254
题解 | #计算一元二次方程#
while 1: try: a,b,c = map(float, input().split()) if a == 0: print("Not quadratic equation") else: ...
Python3
2022-06-16
0
224
题解 | #牛牛的计划#
y,***p(int, input().split()) y1,m1,d1 = map(int, input().split()) if y1>y : print("yes") elif y1==y and m1>=m and d1>=d: print("yes")...
Python3
2022-06-16
0
213
题解 | #三角形判断#
while 1: try: a,b,c = map(int, input().split()) if a+b>c: if a == b and b == c: print("Equilateral ...
Python3
2022-06-16
0
254
题解 | #在行列都排好序的矩阵中找指定的数#
#include<stdio.h> int main() { int n, m, k; int flag = 0; int arr[1000][1000]; scanf("%d %d %d", &n, &m, &k); fo...
C
2022-06-15
0
255
题解 | #计算单位阶跃函数#
while 1: try: t = int(input()) if t > 0: print(1) elif t == 0: print(0.5) else: ...
Python3
2022-06-15
0
211
题解 | #HTTP状态码#
while 1: try: n = int(input()) if n == 200: print("OK") elif n == 202: print("Accepted") e...
Python3
2022-06-15
2
342
题解 | #牛牛的金币#
x,y = map(int, input().split()) x1,y1 = map(int, input().split()) if x == x1 and y1-y == 1: print("u") elif x == x1 and y1-y == -1: print("d")...
Python3
2022-06-15
0
265
题解 | #计算商品打折结算金额#
m = float(input()) if m >= 5000: m *= 0.6 elif m >= 2000: m *= 0.7 elif m >= 500: m *= 0.8 elif m >= 100: m *= 0.9 print("...
Python3
2022-06-14
0
225
题解 | #牛牛的快递#
import math a, b = input().split() a = float(a) p = 20 if a > 1: p = p + math.ceil(a)-1 if b == 'y': p += 5 print(p)
Python3
2022-06-14
0
292
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页