菜菜

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
#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;
}

  

posted on 2017-08-10 20:18  好吧,就是菜菜  阅读(130)  评论(0编辑  收藏  举报