牛客497079527号
牛客497079527号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客497079527号的博客
全部文章
(共93篇)
题解 | #牛牛的链表交换#
#include <stdio.h> #include<stdlib.h> typedef struct SList { int date; struct SList* next; } SList; SList* CreatNode(int x) { ...
2024-05-30
0
158
题解 | #牛牛的单向链表#
#include <stdio.h> #include<stdlib.h> typedef struct SList { int date; struct SList* next; } SList; SList* CreatSList(int x) { ...
2024-05-30
0
173
题解 | #牛牛的单向链表#
#include <stdio.h> #include<stdlib.h> typedef struct SList { int date; struct SList* next; } SList; SList* CreatSList(int x) { ...
2024-05-30
1
165
题解 | #登录验证#
#include <stdio.h> #include<string.h> int main() { char ch[]="admin"; char ch2[101]={0}; char ch3[101]={0}; int ...
2024-05-24
0
150
题解 | #截取字符串#
#include <stdio.h> void Fact(int k, char* pa) { while (*pa && k > 0) { pa++; k--; } *pa = '\0'; } int ...
2024-05-21
0
163
题解 | #记负均正#
#include <stdio.h> int main() { int n=0; scanf("%d",&n); int arr[n]; int i=0; double sum=0.0; int count=0...
2024-01-13
0
190
题解 | #获得月份天数#
#include <stdio.h> int Year(int y) { if(y%4==0&&y%100!=0||y%400==0) { return 1; } else return 0; } int Date(int y,in...
2023-12-26
0
204
题解 | #变种水仙花#
#include <stdio.h> int main() { int n = 0; int i = 0; int num = 0; int j = 0; for (i = 10000; i < 100000; i++) { int sum = 0; for (...
2023-12-21
0
183
题解 | #牛牛的新数组求和#
#include <stdio.h> int cal(int* array,int sz) { int sum=0; int j=0; for(j=0;j<sz;j++) { sum+=array[j]; } ret...
2023-12-14
0
169
题解 | #牛牛的排序#
#include <stdio.h> void sort(int *array,int sz) { int i=0; int j=0; for(i=0;i<sz-1;i++) { for(j=0;j<sz-1-i;j++) { ...
2023-12-14
0
183
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页