11044 - Searching for Nessy | UVa - Samsus Salehin Sabbir

Header Ads

11044 - Searching for Nessy | UVa

Problem Link : 11044 - Searching for Nessy

Solution :
      Develop by
 Samsus Salehin Sabbir 


  1. #include<iostream>
  2. using namespace std;

  3. int main() {
  4. // your code goes here
  5. int m,n,mul=1,t,i;
  6. cin >> t;
  7. for(i=0;i<t;i++)
  8. {
  9. cin >> n >> m;
  10. mul = (n/3)*(m/3);
  11. cout << mul << endl;
  12. mul=1;
  13. }

  14. return 0;
  15. }

No comments

Powered by Blogger.