#include <iostream>
using namespace std;
int main ()
{
int n;
cin>>n;
while(n--)
{
int m, n;
cin>>m>>n;
int a = m/3;
int b = n/3;
cout<<a*b<<endl;
}
return 0;
}
UVA11044-寻找Nessy
最新推荐文章于 2018-01-02 19:55:00 发布