码迷,mamicode.com
首页 > 其他好文 > 详细

uva-11044-水题

时间:2017-08-10 22:42:03      阅读:110      评论:0      收藏:0      [点我收藏+]

标签:main   std   ret   end   int   stdin   space   name   pre   

#include <iostream>
#include<memory.h>
#include<stdio.h>
using namespace std;

int main()
{
	freopen("d:\\1.txt", "r", stdin);
	int t;
	cin >> t;
	int r, c;
	while (t--)
	{
		cin >> r >> c;
		cout<<(r/3)*(c/3)<<endl;
	}
	return 0;
}

  

uva-11044-水题

标签:main   std   ret   end   int   stdin   space   name   pre   

原文地址:http://www.cnblogs.com/shuiyonglewodezzzzz/p/7341218.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!