大橙子有糖
大橙子有糖
全部文章
分类
归档
标签
去牛客网
登录
/
注册
大橙子有糖的博客
TA的专栏
130篇文章
16人订阅
华为HJ103所有解法
104篇文章
1332人学习
动态规划专题
26篇文章
292人学习
全部文章
(共137篇)
题解 | #信封嵌套#
来自专栏
#这道题需要同时判断信封的长和宽,显得有些麻烦,如果能只处理一个就好了#有这个思路就可以使用咱们万能的排序,先按长排序#之后再按照最长递增子序列的方法来解决即可,当然,要注意一下宽的判断#动态规划五部曲:确定dp含义、写出递推公式、初始化、遍历计算、debug#dp[i]表示以a[i][0]这个长度...
2023-04-16
0
0
题解 | #插入记录(一)#
insert into exam_record (uid,exam_id,start_time,submit_time,score) values (1001,9001,"2021-09-01 22:11:12","2021-09-01 23:01:12",90); insert into ...
2023-02-22
0
324
SQL16 题解 | #查找GPA最高值#
select round(max(gpa),1) from user_profile where university="复旦大学";
2023-02-15
1
619
SQL15 题解 | #查看学校名称中含北京的用户#
select device_id,age,university from user_profile where university like "北京%";
2023-02-15
0
260
SQL22 题解 | #统计平均答题数#
select university,round(count(question_id)/count(distinct question_practice_detail.device_id),4) as avg_answer_cnt from user_profile,question_practice...
SQL
2023-02-15
1
341
SQL14 题解 | #操作符混合运用#
select device_id,gender,age,university,gpa from user_profile where (gpa>3.5 and university="山东大学") or (gpa>3.8 and university="复旦大学");
2023-02-15
0
266
SQL13 题解 | #Where in 和Not in#
select device_id,gender,age,university,gpa from user_profile where university in ("北京大学","复旦大学","山东大学");
2023-02-15
0
278
SQL12 题解 | #高级操作符练习(2)#
select device_id,gender,age,university,gpa from user_profile where university="北京大学" or gpa>3.7;
2023-02-15
0
346
SQL11 题解 | #高级操作符练习(1)#
select device_id,gender,age,university,gpa from user_profile where gender="male" and gpa>3.5;
2023-02-15
0
293
SQL10 题解 | #用where过滤空值练习#
select device_id,gender,age,university from user_profile where not age="";
2023-02-15
0
227
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页