- 博客(1)
- 收藏
- 关注
翻译 C语言学习-分鱼函数
#include "stdafx.h"#include "stdio.h"#include "stdlib.h"int fish(int n, int x){ if ((x - 1) % 5 == 0) { if (n == 1) return 1; else return fish(n - 1, (x - 1) / 5 * 4); } return 0;}int _tmain(int...
2018-07-03 21:27:36
422
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人