代码太难写
代码太难写
全部文章
分类
归档
标签
去牛客网
登录
/
注册
代码太难写的博客
全部文章
(共196篇)
题解 | #排序#
/** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * 将给定数组排序 * @param arr int整型一维数组 待排序的数组 * @param arrLen int arr数组长度 * @return int整型一维数组 * @return int...
2023-03-25
0
281
题解 | #明明的随机数#
#include<stdio.h> void Srot(int* arr, int len); void Deduplication(int* arr, int* len); int main() { int arr[1005] = { 0 }; int n = 0; ...
2023-03-22
1
311
题解 | #计算日期到天数转换#
#include <stdio.h> int monthday[]={0, // (1) 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; int sumday[13]; c...
2023-03-21
0
261
题解 | #【模板】栈#
#include <stdio.h> #include <stdlib.h> #include<string.h> // 链式栈节点结构体 typedef struct Node { int data; // 数据域 struc...
2023-03-20
1
298
题解 | #Hello World!#
import sys str='Hello World!' print(str)
2023-02-28
0
228
题解 | #截取字符串#
#include <stdio.h> #include<string.h> int main() { char arr[10000]={0}; int input = 0; gets(arr); scanf("%d",&input); ...
2023-02-27
0
258
题解 | #取近似值#
#include <stdio.h> #include<math.h> int main() { float a; scanf("%f",&a); int ret = a+0.5f; printf("%d",ret); }
2023-02-27
0
218
题解 | #合并两个排序的链表#
/** * struct ListNode { * int val; * struct ListNode *next; * }; */ /** * * @param pHead1 ListNode类 * @param pHead2 ListNode类 * @return(7...
2023-02-25
0
293
题解 | #牛牛的单链表求和#
#include <stdio.h> #include<stdlib.h> #include<assert.h> typedef struct Node{ int data; struct Node*next; }Stlist; Stlist*new...
2023-02-24
1
265
题解 | #KiKi定义电子日历类#
#include <stdio.h> int main() { int a,b,c; scanf("%d%d%d",&a,&b,&c); printf("%d/%d/%d",c,b,a); }
2023-02-23
0
220
首页
上一页
5
6
7
8
9
10
11
12
13
14
下一页
末页