#include<iostream>
#include<cstdio>
#include<cmath>
using namespace std;
int main ()
{
int n,m;
while(scanf("%d %d",&m,&n)&&m&&n)
{
int t=,flag=;
int a[][]={};
int i,j;
for(i=;i<n;i++)
for(j=;j<m;j++)
scanf("%d",&a[i][j]);
for(j=;j<m;j++)
{
t=,flag=;
for(i=;i<n;i++)
t+=a[i][j];
if(t==n){flag=;break;}
}
if(flag)
printf("yes\n");
else
printf("no\n");
}
return ;
}

最新文章

  1. 如何判断自己的VPS是那种虚拟技术实现的
  2. 登录oracle数据库提示账户锁定解决方法
  3. Error Domain=ASIHTTPRequestErrorDomain Code=8 &quot;Failed to move file from&quot;xxx/xxx&quot;to&quot;xxx/xxx&quot;
  4. 一步一步教你如何解锁被盗的iPhone 6S
  5. 让Bootstrap轮播插件carousel支持左右滑动手势的三种方法
  6. leetcode@ [354] Russian Doll Envelopes (Dynamic Programming)
  7. mac os x 10.9.1 安装 Homebrew软件包管理工具及brew安装maven3.1.1
  8. 【转】UILabel、UITextView自适应得到高度
  9. ckeditor常用设置
  10. 开源的Android视频播放器
  11. C语言陷阱:浮点运算
  12. 中篇: php 微信支付 基于Thinkphp3.2开发
  13. Android图表库MPAndroidChart(十三)——简约的底部柱状图
  14. Dubbo x Cloud Native 服务架构长文总结(很全)
  15. 解决phpmyadmin 遇见的问题
  16. gtid_executed和gtid_purged变量是如何初始化的
  17. python学习之基础语法
  18. linux centos 如何设置swap大小?
  19. 【转】各种消息下wParam及lParam值的含义
  20. 配置文件备份方案(expect+shell)

热门文章

  1. URL,URLConnection,HttPURLConnection的使用
  2. javascript闭包特性
  3. javac: cannot execute binary file
  4. apache httpd, nginx, tomcat, jboss
  5. 国内常用ntp服务器ip地址
  6. 全国计算机等级考试二级教程-C语言程序设计_第4章_选择结构
  7. Java程序员应该知道的10个面向对象理论
  8. Android(一)
  9. node.js url模块
  10. L8_2