模拟
dashuxiaoai52613
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
pku1068
<br />/*心得*/#include<iostream>#define max 45using namespace std;int p[max],w[max],s[max],ans[max];int main(){ int t,n; cin>>t; while(t--) { cin>>n; memset(s,0,sizeof(s)); int k=0; for(int i=0;i<n;i++) scanf("%d",&p[i]);原创 2010-06-04 23:22:00 · 450 阅读 · 1 评论 -
pku1573机器人运动
<br />#include<iostream>using namespace std;struct { int x,y; int step; char c;}map[11][11];int main(){ int n,m,l,i,j,a,b; while(cin>>n>>m>>l&&(n||m||l)) { getchar();//细节还是犯错了 char c; memset(map,0,sizeof(map));原创 2010-06-06 11:36:00 · 294 阅读 · 0 评论
分享