captain_fto
captain_fto
全部文章
分类
题解(54)
归档
标签
去牛客网
登录
/
注册
captain_fto的博客
全部文章
(共40篇)
题解 | #删除记录(一)#
delete from exam_record where score<60 and (UNIX_TIMESTAMP(submit_time)-UNIX_TIMESTAMP(start_time))/60 <5
Mysql
2021-12-29
0
451
题解 | #获取有奖金的员工相关信息。#
select a.emp_no,a.first_name,a.last_name,b.btype,c.salary,replace(format((b.btype*c.salary/10),1),',','') as bonus from employees a,emp_bonus b,salari...
Mysql
2021-12-29
0
259
题解 | #KiKi去重整数并排序#
n=input() nums=input().split(" ") nums_list=list(map(int,nums)) nums_list.sort() for i in range(len(nums_list)): if i<len(nums_list)-1 and nums...
Python3
2021-12-19
1
404
题解 | #小乐乐与序列#
while True: try: nums_list=[] n=input() for i in range(int(n)): nums=input() nums_list.append(int(...
Python3
2021-12-19
0
417
题解 | #小乐乐走台阶#
def steps(n): if n==1: return 1 elif n==2: return 2 else: return steps(n-1)+steps(n-2) n=input() print(steps(int(n...
Python3
2021-12-19
2
406
题解 | #上三角矩阵判定#
注意类型 n=input() matrix_list=[] for i in range(int(n)): matrix_val=input().split(" ") matrix_list.append(matrix_val) flag=True for i in range(in...
Python3
2021-12-19
0
365
题解 | #最高身高#
num=input().split(" ") n,m=map(int,num) matrix_list=[] for i in range(n): matrix_val=input().split(" ") matrix_list.append(matrix_val) max_val...
Python3
2021-12-19
0
380
题解 | #序列重组矩阵#
num=input().split(" ") n,m=map(int,num) matrix_val=input().split(" ") for i in range(n): for j in range(m): print(matrix_val[i*m+j],end=" ...
Python3
2021-12-19
0
466
题解 | #矩阵元素定位#
index值注意减一 num=input().split(" ") n,m=map(int,num) matrix_list=[] for i in range(n): matrix_val=input().split(" ") matrix_list.append(matrix_v...
Python3
2021-12-19
0
308
题解 | #班级成绩输入输出#
for i in range(5): num=input().split(" ") nums=list(map(float,num)) print("{:.1f} {:.1f} {:.1f} {:.1f} {:.1f} {:.1f}".format(nums[0],nums[...
Python3
2021-12-19
0
397
首页
上一页
1
2
3
4
下一页
末页