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.
It seems test case# 4 doesn't validate.
I am getting the exact output as the expected output for test case# 4, however, still not sure why it does not validate.
Test Case# 4:
input : 04:59:59PM
Desired output : 16:59:59
Output of my code for this test case : 16:59:59
Not sure, whats going wrong !
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Time Conversion
You are viewing a single comment's thread. Return to all comments →
It seems test case# 4 doesn't validate. I am getting the exact output as the expected output for test case# 4, however, still not sure why it does not validate. Test Case# 4: input : 04:59:59PM Desired output : 16:59:59
Output of my code for this test case : 16:59:59
Not sure, whats going wrong !