码迷,mamicode.com
首页 >  
搜索关键字:a+bproblem    ( 21个结果
HDoj-2524 - 矩形A+B
Problem Description 给你一个高为n ,宽为m列的网格,计算出这个网格中有多少个矩形,下图为高为2,宽为4的网格. Input 第一行输入一个t, 表示有t组数据,然后每行输入n,m,分别表示网格的高和宽 ( n Output 每行输出网格中有多少个矩形. Sample Input 2 1 2 2 4 Sample Output 3 ...
分类:其他好文   时间:2014-10-12 19:22:28    阅读次数:269
21条   上一页 1 2 3
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!