周半仙儿
周半仙儿
全部文章
题解
未归档(1)
归档
标签
去牛客网
登录
/
注册
周半仙儿的博客
全部文章
/ 题解
(共18篇)
题解 | #牛牛的排序#
#include <stdio.h> void sort(int *array,int n){ int i; int j; int temp; for(i = 0;i <...
C
2022-04-13
0
254
题解 | #编写函数实现两数交换(指针方式)#
#include <stdio.h> int cal(int *array,int n){ int i; int num = 0; for(i = 0;i < n;i++){ &n...
C
2022-04-13
0
352
题解 | #计算某字符出现次数#
#include <stdio.h> #include <string.h> #include <stdlib.h> int main(){ int times = 0; char a[1000] = {0...
C
2022-04-11
0
278
题解 | #字符串最后一个单词的长度#
#include <stdio.h> #include <stdlib.h> #include <string.h> int main(){ char a[5000] = {0}; char *p; &nb...
C
2022-04-11
4
228
题解 | #排序#
/** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param numbers int整型一维数组 * @param numbersLen int numbers数组长...
C
2022-04-11
0
303
题解 | #排序#
#include<stdio.h> #include<stdlib.h> #define N 100000 //定义队列最大多少个 struct queue { int data[N];//保存数据的数组 ...
C
2022-04-08
3
428
题解 | #排序#
/** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * 将给定数组排序 * @param arr int整型一维数组 待排序的数组 * @param arrLen int arr数组长度 * @return...
C
2022-04-08
0
255
题解 | #点击消除#
#include <stdio.h> #include <string.h> #include <stdlib.h> char * removeDuplicates(char * S){ int len = strlen (S); &...
C
2022-04-06
3
417
首页
上一页
1
2
下一页
末页