Tuesday, May 2, 2017

URI Solution 1428 Searching for Nessy - Solution in C++ | Ad Hoc

URI Solution 1428 Searching for Nessy - Solution in C++ | Ad Hoc


URI Online Judge Solution  1428 Searching for Nessy | Ad Hoc
URI Main Problem Link - 1428 Searching for Nessy - https://www.urionlinejudge.com.br/judge/en/problems/view/1428

Problem Name: URI Problem 1428 Searching for Nessy
Problem Number : URI Problem 1428 Searching for Nessy Solution
Online Judge : URI Online Judge Solution
Level: Ad Hoc
Solution Language : C plus plus

URI Solution 1428 Searching for Nessy Code in CPP:


#include <cstdio>

int main(int argc, char const *argv[])
{
 int c, x, y;
 scanf("%i", &c);

 while(c--)
 {
  scanf("%i %i", &x, &y);
  printf("%i\n", (x / 3) * (y / 3));
 }
 return 0;
}

No comments:
Write comments

To know more about the problem, give us your valuable commment. We'll try to help you. Thanks

All rights reserved ©2016 -URI ONLINE JUDGE SOLUTION | Developed by Maniruzzaman Akash

© 2016 URI ONLINE JUDGE SOLUTION. Developed by Maniruzzaman Akash | Distributed By Gooyaabi Templates
Powered by Blogger.