+ 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

26th Nov 2021, 3:43 PM
Eden Noah
3 Answers
+ 1
Sometimes it cuts the first two digits: 04:15 AM output: :15 expected: 04:15
26th Nov 2021, 3:52 PM
Denise Roßberg
Denise Roßberg - avatar
+ 1
Please always tag the language you're asking about. https://code.sololearn.com/W3uiji9X28C1/?ref=app
26th Nov 2021, 5:11 PM
Simon Sauter
Simon Sauter - avatar
0
I made this code my way if you would like to benefit from it. https://code.sololearn.com/cyxNID0dl4CB/#c
27th Nov 2021, 2:17 PM
SoloProg
SoloProg - avatar