递归
zzuzxy
牛顿说:“我不知道世人怎样看我,但我自己以为我不过像一个在海边玩耍的孩子,不时为发现比寻常更为美丽的一块卵石或一片贝壳而沾沾自喜,至于展现在我面前的浩翰的真理海洋,却全然没有发现。”
展开
-
递归例题
1664:Placing apples http://bailian.openjudge.cn/practice/1664/ 递归求解问题的经典分解 总Time Limit:1000msMemory Limit:65536kB Description We are going to place M same apples into N same plates. There could b原创 2017-07-14 23:08:39 · 336 阅读 · 0 评论 -
三角形 - 题库 - 计蒜客(递归打印三角形)
三角形查找特点,递归打印#include <bits/stdc++.h>using namespace std;void show(char* buf, int w){ int i,j; for(i=0; i<w; i++) { for(j=0; j<2*w; j++) { ...原创 2018-04-02 14:15:21 · 928 阅读 · 0 评论