HackerEarth A special date problem solution - TheCScience