战神牛牛收割offer
战神牛牛收割offer
全部文章
分类
归档
标签
去牛客网
登录
/
注册
战神牛牛收割offer的博客
全部文章
(共30篇)
题解 | #牛牛的替换#
#include <stdio.h> int main() { int n = 0; char a1 = 0; char a2 = 0; char a3 = 0; char a4 = 0; scanf("%d %c %c %c...
2024-02-04
0
157
题解 | #牛牛逆序输出#
#include <stdio.h> void get_num(int n) { if (n != 0) { printf("%d", n % 10); get_num(n / 10); } } int main...
2024-01-30
0
152
题解 | #兔子的序列#
#include <stdio.h> #include<math.h> int judge_name(int num, int max, int min, int* map) { for (int i = max; i >= min; i--) { ...
2024-01-27
0
243
题解 | #寻找奇数#
#include <stdio.h> int main() { // a ^ a = 0; // a ^ 0 = a; int n = 0; scanf("%d", &n); int num = 0; int s...
2024-01-25
0
243
题解 | #牛牛的素数和#
#include <stdio.h> #include<math.h> int judge_prime(int num) { int flag = 0; for (int i = 2; i <= sqrt(num); i++) { ...
2024-01-22
0
172
题解 | #[NOIP2010]数字统计#
#include <stdio.h> int two(int l, int r) { int cnt = 0; for (int i = l; i <= r; i++) { int temp = i;//暂时存储i的值 whi...
2024-01-22
0
180
题解 | 巴啦啦小魔仙变身
#include <stdio.h> int main() { int n = 0; while (~scanf("%d", &n)) { again: ; int sum = 0; ...
2024-01-18
0
194
题解 | #数位五五#
#include <stdio.h> void get_num(int num, int* psum) { if (num != 0) { get_num(num / 10, &(*psum)); *psum += num % 10...
2024-01-18
0
191
题解 | #简写单词#
#include <stdio.h> #include<string.h> int main() { char str[5001] = { 0 }; //输入 gets(str); int len = strlen(str); //输出...
2024-01-18
0
236
题解 | #添加逗号#
#include <stdio.h> #include<string.h> #define NUM 2000000 int main() { char str[NUM] = { 0 }; //输入 while (~scanf("%s"...
2024-01-18
0
163
首页
上一页
1
2
3
下一页
末页