air_1
air_1
全部文章
分类
归档
标签
去牛客网
登录
/
注册
air_1的博客
全部文章
(共37篇)
题解 | 神秘石像的镜像序列
#include <stdio.h> #include <stdlib.h> const int n = 101; int main() { int arr[n]; int i,cnt = 0; while(i != 0){ scanf...
2026-04-23
1
9
题解 | 素数判断
#include <stdio.h> #include <stdlib.h> int main(int argc, char* argv[]) { int i, j, n, T; scanf("%d", &T); for ...
2026-04-23
1
8
题解 | 查找后降序排列
select device_id,gpa,age from user_profile order by gpa desc,age desc 不知道能不能在gpa一样的时候降序排列,反正是通过了
2026-04-22
1
8
题解 | 将查询后的列重新命名
select device_id as user_infos_example from user_profile limit 2; as用来做重命名
2026-04-22
0
9
题解 | 查询结果去重
SELECT DISTINCT university FROM user_profile distinct用来做重复元素的去重
2026-04-22
1
7
题解 | 平方根
/** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 求非负整数 n 的平方根 * @param n int整型 你需要求 n 的平方根 * @return double浮点型 */ #include <math.h> double ...
2026-04-22
0
8
题解 | a 加 b 问题(函数)
/** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 实现求两个参数的和 * @param Integer1 int整型 * @param Integer2 int整型 * @return int整型 */ int addTwoInteger...
2026-04-22
0
7
题解 | 查询结果限制返回行数
select device_id from user_profile where id<=2
2026-04-22
0
8
题解 | 查找除复旦大学的用户信息
select device_id,gender,age,university from user_profile where university!="复旦大学"
2026-04-22
0
8
题解 | 查找某个年龄段的用户信息
select device_id,gender,age from user_profile where age between 20 and 23
2026-04-22
0
8
首页
上一页
1
2
3
4
下一页
末页