We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
read the question statement carefully , before 1917 julian calendar was followed according to which every year divisible by 4 is a leap year irrespective of divisibility by 100 so 1900 is a leap year according to julian calendar.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day of the Programmer
You are viewing a single comment's thread. Return to all comments →
read the question statement carefully , before 1917 julian calendar was followed according to which every year divisible by 4 is a leap year irrespective of divisibility by 100 so 1900 is a leap year according to julian calendar.