Chris_csp
Chris_csp
全部文章
分类
归档
标签
去牛客网
登录
/
注册
Chris_csp的博客
全部文章
(共6篇)
题解 | 完数VS盈数
#include <iostream> #include <vector> using namespace std; int main() { vector<int> wanshu; vector<int> yinshu; ...
2025-06-03
0
20
题解 | 冒泡排序求最大最小数
#include <iostream> #include <algorithm> using namespace std; int SortAsc(int a,int b) { return a>b; } int SortDesc(int a,int b)...
2025-05-19
0
34
题解 | 玛雅人的密码
#include <any> #include <cstring> #include <iostream> #include <string> #include <unordered_map> #include <queue> ...
2025-05-16
0
26
题解 | 二叉树遍历
#include <stdio.h> #include <stdlib.h> typedef struct TreeNode { char val; struct TreeNode* left;//在结构体内部引用自身类型时,必须使用完整的结构体标签,所...
2025-05-15
0
24
题解 | 成绩排序
#include <stdio.h> #include<stdlib.h> #include <string.h> #define N 100 typedef struct student { int sno; int score; }STU...
2025-05-14
0
33
题解 | 手机键盘
#include<stdio.h> #include<string.h> #define N 100 int main() { int i,time; i=0; time=0; char str[26]={1,2,3,1,2,3,...
2025-05-12
0
45