独特的代码渣渣allin春招
独特的代码渣渣allin春招
全部文章
分类
归档
标签
去牛客网
登录
/
注册
独特的代码渣渣allin春招的博客
全部文章
(共10篇)
题解 | 查询结果限制返回行数
select device_id from user_profile limit 2;//limit限制
2025-03-12
0
39
题解 | 查询结果去重
select distinct university from user_profile 去重
2025-03-11
0
64
题解 | 查询多列
select device_id,gender,age,university from user_profile;查多个
2025-03-11
0
37
题解 | #牛牛的平面向量#
#include <cwchar> #include <iostream> using namespace std; struct fw { int x; int y; }; int main() { int n; cin&...
2024-09-27
0
68
题解 | #牛牛的书#
#include <iostream> #include <string> using namespace std; struct book { string name; int price; }; int mai...
2024-09-26
0
55
题解 | #牛牛的新数组求和#
#include <iostream> using namespace std; int cal(int*array,int n) { int sum=0; for(int i=0;i<n;i++) { sum+=array[i]; ...
2024-09-24
0
63
题解 | #利用指针遍历数组#
#include <iostream> using namespace std; int main() { int arr[6] = { 0 }; int* ptr = arr; int len = sizeof(arr) / sizeof(int); ...
2024-09-24
0
86
题解 | #编写函数实现两数交换(指针方式)#
#include <iostream> using namespace std; void fun(int *p,int* m) { int tame; tame=*m; *m=*p; *p=tame; } int main() { int...
2024-09-24
0
73
题解 | #复制部分字符串#
#include <iostream> using namespace std; int main() { char str[30] = { 0 }; cin.getline(str, sizeof(str)); int m; cin >>...
2024-09-24
0
59
题解 | #牛牛的排序#
#include <iostream> using namespace std; void sort(int*array,int n) { for(int i=0;i<n-1;i++) { for(int j=0;j<n-1-i;j++) ...
2024-09-24
0
74