So it's... Military Time | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

So it's... Military Time

Well, I tried my best to solve that Military Time problem, but I failed with test 4. I don't really understand where my mistake is, so maybe someone could tell me :) I just at the beginning of my learning c++, and my code may be far from being perfect, so don't judge me too strictly https://code.sololearn.com/cfaAebt5Jblc/?ref=app

22nd Mar 2022, 11:32 AM
StacyF
StacyF - avatar
2 Answers
+ 2
https://www.sololearn.com/Discuss/2998660/?ref=app
22nd Mar 2022, 11:39 AM
Simba
Simba - avatar
+ 2
I see, thanks so much. The input example was "1:15 PM", so I just thought the input format is NOT XX:XX, you know. I was a little bit confused 😃
22nd Mar 2022, 11:56 AM
StacyF
StacyF - avatar