1286. Pascal Library
来源:互联网 发布:列宁格勒号驱逐舰数据 编辑:程序博客网 时间:2024/06/01 21:49
水之。
#include <iostream>using namespace std;int main(){int n,d,arr[107][507];bool b[107];while(cin>>n>>d,n||d){for(int i=0;i<n;i++){bool b2=true;for(int j=0;j<d;j++){cin>>arr[i][j];if(b2&&arr[i][j]==0){b[i]=false;b2=false;}}if(b2) b[i]=true;}bool b3=0;for(int i=0;i<n;i++){if(b[i]==true){b3=1;cout<<"yes"<<endl;break;}}if(!b3) cout<<"no"<<endl;}return 0;}
- 1286. Pascal Library
- Sicily 1286. Pascal Library
- 1286. Pascal Library
- Pascal Library
- poj 2864 Pascal Library
- POJ 2864 - Pascal Library
- poj2864 Pascal Library
- TOJ 2142.Pascal Library
- POJ 2864 Pascal Library 水
- POJ 2864 Pascal Library G++
- 《数据结构编程实验》 2.4.3Pascal Library
- POJ 2864 Pascal Library(水~)
- POJ-2864 Pascal Library-年年参加聚会
- pascal
- Pascal
- PASCAL
- (简单模拟2.4.3)POJ 2864 Pascal Library(某一个环节的值决定全局的值)
- POJ 2864 Pascal Library(我的水题之路——都来了么)
- 飞行棋
- Linux笔记——vim常用操作及扩展补充[手册]
- Oracle BIEE开发入门(更新完毕)
- MVT定制HTC Desire HD(G10 DHD) 2.3.5 Sense3.5 ROM
- DSP学习的三个阶段
- 1286. Pascal Library
- C# 方法参数
- Telerik RadAsyncUpload Event OnFileUploaded
- IOS 小技巧积累(持续更新)
- struts的简单工作原理
- MFC菜单的建立
- 13. 第二次跳槽:意料之外的结局 - 上
- C# 抽象类的使用
- MySQL性能优化