+ 1
Code coach analyser is wrong?
I solved the military time problem in code coach, but the analyser seems to run my code wrongly. When i run the code normally in the editor, it runs fine. Has anyone encountered this problem before?. Here's a link to my code: https://code.sololearn.com/c7CVNjDHfF77/?ref=app
5 odpowiedzi
+ 1
Jayakrishna🇮🇳 It's all correct. I passed the coach. Thanks for the feedback 👍
0
Is it failing 1 test case? Are giving error for all?
0
Jayakrishna🇮🇳 It's failing 2 cases, one is locked but the other unlocked one isn't correct in its analysis.
0
Its failing test cases : for
12:00 AM (output need is 00:00)
1:00 PM (output need is 13:00)
Its not working for PM time
Charles Ukadike You are using "pm" in small case but input is in upper case "PM"
0
Jayakrishna🇮🇳 Yeah, i think it's an issue of case letters and the 12:00 Am... I'll correct that asap.