HDOJ 2560 Buildings (水题)
来源:互联网 发布:fcn网络结构 编辑:程序博客网 时间:2024/06/04 18:48
HDACM 2560
import java.util.Scanner;public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int t = sc.nextInt(); while(t-->0){ int n = sc.nextInt(); int m = sc.nextInt(); int count = 0; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { int x = sc.nextInt(); if (x==1) { count++; } } } System.out.println(count); } sc.close(); }}
阅读全文
0 0
- HDOJ 2560 Buildings (水题)
- HDOJ/HDU 2560 Buildings(嗯~水题)
- 其他-HDOJ-5301-Buildings
- [hdoj试题]Buildings
- hdoj-5301-Buildings
- Buildings 2560
- HDOJ 题目4296 Buildings(贪心)
- HDU 2560 Buildings
- HDU-2560-Buildings
- hdu 2560 buildings
- hdu 2560 Buildings
- HDU2560 Buildings【水题】
- Buildings
- Buildings
- Buildings
- Buildings
- Buildings
- Buildings
- 相似性度量—范数
- ACdream 1064完美数
- Python Selenium设计模式-POM
- 在cmd 里写入MySQL
- Greendao的简单使用和封装
- HDOJ 2560 Buildings (水题)
- 彻底搞定C指针---指向指针的指针
- linux下安装python
- laravel
- HDU 5698-瞬间移动
- Retrofit3
- 五、 统计学习理论:无界实损失函数上的大数定理
- ViewPager点击跳转
- 自定义控件----继承framLayout --textview与checkBox