laingdc
laingdc
全部文章
分类
归档
标签
去牛客网
登录
/
注册
laingdc的博客
全部文章
(共46篇)
题解 | #数据分类处理#
#include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct { int inde; int num; } inde_num; int cmp(const v...
2023-04-18
0
290
题解 | #火车进站#
#include <stdio.h> #include <string.h> #include <stdlib.h> int n; int train[10]; int list_n[10]; int list[6000][10]; int stack[10]...
2023-04-18
0
249
题解 | #24点游戏算法#
#include <math.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> const int target =24; const double EPSILON = 1e-...
2023-04-16
0
295
题解 | #查找兄弟单词#
#include<stdio.h> #include<stdlib.h> #include<string.h> /* IsBrother() 是兄弟字串,则返回1;否则返回0 */ int IsBrother(char* aim,char* src) { ...
2023-04-15
0
260
题解 | #购物单#
#include <math.h> #include <stdio.h> #include <string.h> int main() { int money = 0,num = 0; int v,p,q; scanf("%d %d",&...
2023-04-15
0
282
题解 | #在字符串中找出连续最长的数字串#
#include <ctype.h> #include <stdio.h> #include <string.h> typedef struct{ int head_index; int count; }a ; int main() { ...
2023-04-12
0
229
题解 | #将真分数分解为埃及分数#
#include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> void intochar(unsigned long a, char str[]) { ...
2023-04-11
0
328
题解 | #火车进站#
#include <stdio.h> #include <string.h> #include <stdlib.h> char list[6000][10]; int stack[10]; int train[10]; int kind = 0; int n; i...
2023-04-11
0
226
题解 | #公共子串计算#
#include <stdio.h> #include <string.h> int main() { char shor[150]; char lon[150]; int n1 = strlen(shor); int n2 = strlen(lon)...
2023-04-11
0
221
题解 | #参数解析#
#include <stdio.h> #include <string.h> int main() { int n = 0; char str[1000] = {0}; while (gets(str)) { int n1 = str...
2023-04-11
0
224
首页
上一页
1
2
3
4
5
下一页
末页