Monday, May 1, 2017

URI Solution 1300 Hours and Minutes - Solution in C++ | Ad Hoc

URI Solution 1300 Hours and Minutes - Solution in C++ | Ad Hoc


URI Online Judge Solution Hours and Minutes  | Ad Hoc
URI Main Problem Link - https://www.urionlinejudge.com.br/judge/en/problems/view/1300

Problem Name: URI Problem Hours and Minutes
Problem Number : URI Problem 1300 Solution
Online Judge : URI Online Judge Solution
Level: Ad Hoc
Solution Language : C plus plus


URI Solution 1300 Code in CPP:


#include <iostream>
using namespace std;

int main()
{
 int n;

 while(cin >> n)
 {
  if(n % 6 == 0){
   cout << "Y" << '\n';
  }else{
   cout << "N" << '\n';
  }
 }

 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.