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.
I was also getting WA for the same test cases and my solution was giving 1 and 1719 respectively for your following TCs:
19883251989713100000000000022100000000100032
After fixing this I got AC. I wanted to say this as it may help you. Besides I did not need to invert dates since y1 <= y2 is stated in the problem. Lastly, we cannot see other people's submissions as this is an ongoing contest.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #19: Counting Sundays
You are viewing a single comment's thread. Return to all comments →
I was also getting WA for the same test cases and my solution was giving 1 and 1719 respectively for your following TCs:
After fixing this I got AC. I wanted to say this as it may help you. Besides I did not need to invert dates since y1 <= y2 is stated in the problem. Lastly, we cannot see other people's submissions as this is an ongoing contest.