小苕
小苕
全部文章
分类
归档
标签
去牛客网
登录
/
注册
小苕的博客
全部文章
(共14篇)
题解 | #n的阶乘#
#include <stdio.h> long long Multi(int n){ if(n == 1){ return 1; }else{ return n * Multi(n - 1); } } int main() { ...
2023-03-18
0
345
题解 | #后缀子串排序#
#include <stdio.h> #include <stdlib.h> #include <string.h> #define N 100 char res[N]; char dest[N][N]; int cmp_str(const void * c1...
2023-03-18
0
369
题解 | #Digital Roots#
#include <stdio.h> #include <string.h> int root(int number) { int cnt = 0; while (number != 0) { //获取各个位的数值 cnt += (nu...
2023-03-18
0
335
题解 | #skew数#
#include <stdio.h> #include <string.h> #include <math.h> int main() { char c[100]; while(scanf("%s",c + 1) != EOF){ ...
2023-03-18
0
256
首页
上一页
1
2
下一页
末页