laingdc
laingdc
全部文章
分类
归档
标签
去牛客网
登录
/
注册
laingdc的博客
全部文章
(共46篇)
题解 | #蛇形矩阵#
#include <stdio.h> int main() { int n; scanf("%d",&n); int i ,j =0; int k = 1; int top[n]; int s = 0; top[0] = 1; ...
2023-03-29
0
205
题解 | #单词倒排#
#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { char* str = (char*)malloc(sizeof(char)*1000); gets(s...
2023-03-28
0
191
题解 | #字符串排序#
#include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct { char a; int tag; } str; void bubble_sort(str ...
2023-03-24
0
259
题解 | #删除字符串中出现次数最少的字符#
#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { char*str = (char*)malloc(sizeof(char)*20); char m[10...
2023-03-19
0
387
题解 | #简单错误记录#
#include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct { //定义储存结构体 char str[100]; int line; int num;...
2023-03-18
0
381
题解 | #提取不重复的整数#
#include <stdio.h> int main() { int c = 0; int x = 0; char hash[10] = {0}; int out = 0; while(~scanf("%d",&c)) { ...
2023-03-14
0
267
首页
上一页
1
2
3
4
5
下一页
末页