牛客857079027号
牛客857079027号
全部文章
分类
未归档(1)
题解(60)
归档
标签
去牛客网
登录
/
注册
牛客857079027号的博客
全部文章
(共58篇)
题解 | #字符串加密#
while True: try: a = input() d = input() e = a.upper() f = d.upper() b = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' ...
Python3
2021-12-14
0
244
题解 | #图片整理#
while True: try: a = input() b = sorted(a) print(''.join(b)) except: break
Python3
2021-12-13
0
197
题解 | #蛇形矩阵#
while True: try: a = int(input()) res = [] for i in range(a): if i == 0: res = [(j+2)...
Python3
2021-12-13
0
260
题解 | #求小球落地5次后所经历的路程和第5次反弹的高度#
h = int(input()) print(format(2.875*h,'.6f').rstrip('0')) print(format(1/(2**5)*h,'.6f').rstrip('0'))
Python3
2021-12-13
0
210
题解 | #统计每个月兔子的总数#
while True: try: n = int(input()) def count(i)...
Python3
2021-12-08
0
286
题解 | #杨辉三角的变形#
while True: try: n = int(input()) if n<3 : ...
Python3
2021-12-08
0
335
题解 | #完全数计算#
while True: try: a = int(input()) d = [] for i in range(2, a+1): s = 0 for j in range (1, int(i/2+1)): ...
Python3
2021-12-08
0
301
题解 | #公共子串计算#
a, b = input(), input() c= [] for i in range(len(a)+1): for j in range(i, len(a)+1): if a[i:(j+1)] in b: c.append(len(a[i:(j+1...
Python3
2021-12-06
8
869
首页
上一页
1
2
3
4
5
6
下一页
末页