10070.cpp, C++ Solution of problem: UVa 10070 - Leap Year or Not Leap Year and .... In this post we will see how we can solve this challenge in C++ for UVa Online Judge.

Problem Description

The ancient race of Gulamatu is very advanced in their year calculation scheme. They understand what leap year is (A year that is divisible by 4 and not divisible by 100 with the exception that years that are divisible by 400 are also leap year.) and they have also similar festival years. One is the Huluculu festival (happens on years divisible by 15) and the Bulukulu festival (Happens on years di


You can find the full details of the problem Leap Year or Not Leap Year and ... at UVa Online Judge

Solution: Please check the 10070.cpp snippet for the solution.

Solution originally posted at: Github by @SITZ