+ 2

Can someone help me. What's wrong with my code? Test it in code coach military time and see...

https://code.sololearn.com/cUgBsLNpl8XY/?ref=app

30th Aug 2022, 6:42 AM
Emmanuel Odukoya
Emmanuel Odukoya - avatar
4 Réponses
+ 2
sample input => 1:00 AM output should be 01:00 12:00 PM output should be 12:00 12:00 AM output should be 00:00
30th Aug 2022, 2:47 PM
Jayakrishna 🇮🇳
+ 2
It should solve all test cases. You're welcome...
31st Aug 2022, 12:07 PM
Jayakrishna 🇮🇳
+ 1
Thank you soo much, your idea was helpful. check update: https://code.sololearn.com/cUgBsLNpl8XY/?ref=app
30th Aug 2022, 8:11 PM
Emmanuel Odukoya
Emmanuel Odukoya - avatar
0
Let me check it
30th Aug 2022, 7:44 PM
Emmanuel Odukoya
Emmanuel Odukoya - avatar