UVA 11044 - Searching for Nessy

UVA Sep 1, 2020

Problem PDF

Solution:

#include
 int main()
 {
   int t,n,m;
   scanf("%d",&t);
   while(t--)
   {
      scanf("%d %d",&n,&m);
      printf("%d\n",(n/3)*(m/3));
    }
 }
https://github.com/Shipu/OnlineJudgeProblemSolutionWithCPlusPlus/tree/master/uva/11044/11044.cpp

Tags

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.