Friday, August 19, 2016

SOLUTION OF UVA 11044


// Question of uva 11044 - Searching for Nessy
// Mahmud_Jamil



 #include<stdio.h>
 int main()
 {
    int t,n,m;
   scanf("%d",&t);
   while(t--)
   {
      scanf("%d %d",&n,&m);
      printf("%d\n",(n/3)*(m/3));
    }
 }