hdu 2560 Buildings (水)

点击打开链接

水题!找n*m数组中,值为1的个数!

#include
int main()
{
	int i,j,n,m,sum,t,a;
	scanf("%d",&t);
	while(t--)
	{
		scanf("%d%d",&n,&m);
		sum=0;
		for(i=0;i


转载于:https://www.cnblogs.com/yyf573462811/archive/2012/09/02/6365240.html

你可能感兴趣的:(hdu 2560 Buildings (水))