会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
仲立言
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
2016年8月27日
兔子问题
摘要: #include<stdio.h>int a[100][100]={0},t=0,m,n;int A(int x,int y)//自定义函数 { a[x][y]=1; if(x==m-1&&y==n-1) t++; else { if(a[x+1][y]==0&&x+1<m)A(x+1,y); if
阅读全文
posted @ 2016-08-27 20:33 仲立言
阅读(95)
评论(0)
推荐(0)
编辑
明明的随机数
摘要: #include<stdio.h>int main(){ int a[1000],n,t; freopen("random.in","r",stdin); freopen("random.out","w",stdout); scanf("%d",&n); for(int i=0;i<=n-1;i++
阅读全文
posted @ 2016-08-27 20:00 仲立言
阅读(121)
评论(0)
推荐(0)
编辑