python之王
python之王
全部文章
分类
归档
标签
去牛客网
登录
/
注册
python之王的博客
全部文章
(共38篇)
题解 | #牛客每个人最近的登录日期(三)#
select round((count(distinct d.user_id))/count(distinct c.user_id) ,3) as p from login c left join ( select a.user_id,...
2023-12-05
0
189
题解 | #牛客每个人最近的登录日期(二)#
select u_n, c_n, date from ( select u.name as u_n, c.name as c_n, date, row_nu...
2023-12-05
0
162
题解 | #异常的邮件概率#
select date, p from ( select id, send_id, round( ( sum(if ...
2023-12-05
0
185
题解 | #统计人次#
name = 'NiuNiu'list_sign = input().split()n = 0list_num = []for i in range(len(list_sign)):&nbs...
2022-11-03
1
308
题解 | #统计牛客网数据#
questions_num_list = list(map(int, input().split()))max_num = max(questions_num_list)min_num = min(questions_num_li...
2022-11-03
0
241
题解 | #改变单词游戏#
import copywords1 = input()words2 = input()list_words = words1.split()list_del = copy.copy(list_words)lis...
2022-11-03
0
241
题解 | #牛牛的朋友们#
def get_days(d1, d2): sum = d1 + d2 diff = d1 - d2&nbs...
2022-11-03
0
268
题解 | #网页的生成#
def get_height(h1, h2): print(h1*2) print(h2*2)h = input("请输入高度:")list_height = list(map(int, h.split()))#print(list_height)get_height(*list_hei...
2022-11-03
0
235
首页
上一页
1
2
3
4
下一页
末页