+ 1
Military time code coach can't pass hidden cases
i don't know what's wrong with my code that the hidden cases failing. https://code.sololearn.com/cEWy8g0bFh5v/#c
3 Answers
+ 1
Sometimes it cuts the first two digits:
04:15 AM
output: :15
expected: 04:15
+ 1
Please always tag the language you're asking about.
https://code.sololearn.com/W3uiji9X28C1/?ref=app
0
I made this code my way if you would like to benefit from it.
https://code.sololearn.com/cyxNID0dl4CB/#c