linkusl
linkusl
全部文章
分类
归档
标签
去牛客网
登录
/
注册
linkusl的博客
全部文章
(共5篇)
题解 | 取近似值
#include <stdio.h> int main() { int d, f; scanf("%d.%d", &d, &f); while (f >= 10) f /= 10; // printf("...
2026-03-17
0
13
题解 | 进制转换
#include <stdio.h> #include <string.h> int str2Num(char ch) { if(ch >= '0' && ch <= '9') { return ch - '0'; ...
2026-03-14
0
12
题解 | 字符串分隔
#include <stdio.h> #include <string.h> int main() { char str[10]; int len; while(scanf("%8s",str) != EOF) { ...
2026-03-13
0
16
题解 | 24点运算
#include <stdio.h> #include <string.h> #undef DEBUG #if defined(DEBUG) #define debug(fmt, ...) printf(fmt, ##__VA_ARGS__) #else #define ...
2026-03-11
0
12
题解 | 小红的双生英雄
#include <stdio.h> #include <stdlib.h> #include <string.h> #undef DEBUG #ifdef DEBUG #define debug(fmt, ...) printf(fmt, ##__VA_ARG...
2026-03-08
0
15