YunBaichuan
YunBaichuan
全部文章
分类
归档
标签
去牛客网
登录
/
注册
YunBaichuan的博客
全部文章
(共123篇)
题解 | #牛牛的单向链表#
#include <stdio.h> #include <stdlib.h> typedef struct ListNode { int data; struct ListNode *next; }ListNode; ListNode* creat_Nod...
2024-03-16
0
239
题解 | #牛牛的链表交换#
#include <stdio.h> #include <stdlib.h> typedef struct ListNode { int data; struct ListNode* next; }ListNode; ListNode* creat_lis...
2024-03-16
0
261
题解 | #获取字符串长度#
#include <iostream> using namespace std; int Count(char *str) { char *p = str; while(*p != '\0') p++; int count = p - str; ...
2024-02-25
0
196
题解 | #翻转金字塔图案#
#include <stdio.h> int main() { int a = 0; while(scanf("%d",&a) != EOF) { for(int i = a;i >= 1;i--) ...
2024-02-05
0
208
题解 | #金字塔图案#
#include <stdio.h> int main() { int a = 0; while(scanf("%d",&a) != EOF) { for(int i = 1;i <= a;i++) ...
2024-02-05
0
332
题解 | #带空格直角三角形图案#
#include <stdio.h> int main() { int a = 0; while(scanf("%d",&a) != EOF) { for(int i = 0;i < a;i++) ...
2024-02-05
0
176
题解 | #翻转直角三角形图案#
#include <stdio.h> int main() { int a = 0; while(scanf("%d",&a) != EOF) { for(int i = 0;i < a;i++) ...
2024-02-04
0
161
题解 | #反向输出一个四位数#
#include <stdio.h> int main() { int n = 0; scanf("%d",&n); while(n) { printf("%d",n % 10); n /=...
2024-01-25
0
163
题解 | #公务员面试#
#include <stdio.h> int main() { int min = 100; int max = 0; int sum = 0; int count = 0; int n = 0; while(scanf("%...
2024-01-25
0
211
题解 | #包含数字9的数#
#include <stdio.h> int Panduan(int n) { while(n) { int y = n % 10; if(y % 9 == 0 && y != 0) return 1; ...
2024-01-25
0
201
首页
上一页
4
5
6
7
8
9
10
11
12
13
下一页
末页