我是学网络的
我是学网络的
全部文章
分类
归档
标签
去牛客网
登录
/
注册
我是学网络的的博客
全部文章
(共3篇)
题解 | 获取字符串长度
#include <stdio.h> int main() { char str[100] = { 0 }; gets(str); // write your code here...... char* p = str; int count ...
2025-07-03
0
43
题解 | 牛牛学数列5
#include <stdio.h> int _list (int x) { if (x < 3) return 1; else return _list(x - 1) + _list(x - 2); } int main(...
2025-05-30
0
50
题解 | 求四位数各个位数之和
#include <stdio.h> int main() { int a = 0, sum = 0; scanf("%d", &a); while (a) { sum += a % 10; ...
2025-05-26
4
66