摘要:
组合数时间限制:3000 ms | 内存限制:65535 KB难度:3描述找出从自然数1、2、... 、n(0int n,r,b[100];void dfs(int m,int sum){ if(m=1; i--) if(b[i]) pr... 阅读全文
posted @ 2016-10-22 22:00
xushukui
阅读(145)
评论(0)
推荐(0)
摘要:
//例如//0 1 0 0 0//0 1 0 1 0//0 0 0 0 0//0 1 1 1 0//0 0 0 1 0#include#includeusing namespace std;int map[5][5];int dx[4]= {1,-1,0,0};int dy[4]= {0,0,-1,... 阅读全文
posted @ 2016-10-22 15:45
xushukui
阅读(836)
评论(0)
推荐(0)
摘要:
//例如//1 1 1 0 0 1//0 1 1 1 0 0//0 0 0 0 0 0//0 0 1 1 0 0//0 0 0 0 0 0//1 1 1 0 0 1//3 1 1 4#include#include#includeusing namespace std;struct stu{ ... 阅读全文
posted @ 2016-10-22 15:26
xushukui
阅读(309)
评论(0)
推荐(0)

浙公网安备 33010602011771号