szazone
szazone
全部文章
分类
归档
标签
去牛客网
登录
/
注册
szazone的博客
全部文章
(共44篇)
题解 | #蛇形矩阵#
#include <stdio.h> int main() { unsigned int N = 0; unsigned int result[100][100] = {}; unsigned int i,row,column; scanf("...
2024-09-17
1
91
题解 | #图片整理#
#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> // 定义单向链表 typedef struct __LinkedList_ts { ...
2024-09-16
0
100
题解 | #整数与IP地址间的转换#
#include "stdint.h" #include <stdint.h> #include <stdio.h> #include <string.h> // 定义 IP 联合体 typedef union __IP_tu { u...
2024-09-16
0
74
题解 | #密码截取#
#include <stdint.h> #include <stdio.h> #include <string.h> // 以字符串s的index下标为中心,计算最长的对称长度 uint32_t maxLen(char* s, uint32_t index) {...
2024-09-16
0
86
题解 | #单词倒排#
#include <stdint.h> #include <stdio.h> #include <string.h> void swap(char* a, char* b) { char temp; if (a != b) { ...
2024-09-16
0
85
题解 | #字符串加解密#
#include <stdio.h> #include <string.h> void encrypt(char* s) { unsigned int length,i; length = strlen(s); for (i=0; i<len...
2024-09-15
0
93
题解 | #删除字符串中出现次数最少的字符#
#include <stdint.h> #include <stdio.h> #include <string.h> int main() { char s[21] = {}; uint8_t num[20] = {}; uint32_t...
2024-09-09
0
84
题解 | #简单密码#
#include <stdint.h> #include <stdio.h> #include <string.h> int main() { char s[101]; uint32_t length = 0; scanf("...
2024-09-09
0
101
题解 | #密码验证合格程序#
#include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <string.h> bool checkRepeat(char* s) { bool result =...
2024-09-09
0
77
题解 | #坐标移动#
#include <stdio.h> #include <string.h> char s[10001] = {}; int main() { unsigned int start = 0, end = 0; unsigned int length = 0;...
2024-09-09
0
83
首页
上一页
1
2
3
4
5
下一页
末页