hdu A team
来源:互联网 发布:图纸软件下载 编辑:程序博客网 时间:2024/05/19 22:59
#include<stdio.h>
int main()
{
int n,a,b,c,s,num;
while(~scanf("%d",&n))
{
num=0;
while(n--)
{
s=0;
scanf("%d%d%d",&a,&b,&c);
s=a+b+c;
if(s>=2)
num++;
}
printf("%d\n",num);
}
return 0;
}
int main()
{
int n,a,b,c,s,num;
while(~scanf("%d",&n))
{
num=0;
while(n--)
{
s=0;
scanf("%d%d%d",&a,&b,&c);
s=a+b+c;
if(s>=2)
num++;
}
printf("%d\n",num);
}
return 0;
}
- hdu A team
- HDU 4247 A Famous ICPC Team
- nyoj107&&hdu A Famous ICPC Team
- A. Team
- a good team
- We are a team!!!
- A team called capture...
- Leading a team
- WE ARE A TEAM
- A Famous ICPC Team
- A. Team Olympiad
- 231A - Team
- 231A Team
- 【CODEFORCES】 A. Team Olympiad
- CF 231A team
- Problem A:队伍(team)
- codeforces 231A Team
- HDU-1387-Team Queue
- 顺序表基本操作(Java)
- hdu-2025-查找最大元素
- Bison生成文件分析
- sql第一章总结函数 select into from
- 发现大量的TIME_WAIT解决办法
- hdu A team
- non-local static 变量初始化顺序不确定,带来的问题
- SAE下安装wordpress
- 结构化设计程序
- RAC概念和理论知识
- 论业务流程管理的实现
- check and recover data block corrupted
- 用python 在输入的列表里 以分数筛选出 第一名 与 第二名- 急
- Java项目导出为jar包,并在windows/linux下运行