+ 1

Whats wrong with this code?

I just started to learn cpp so I am still confused about this code. I compared my two solutions (Python and cpp) and I think It is just the same, it just differs with the syntax and structure but somehow the cpp has still one test case failed. Can someone please tell me where did I go wrong or how are they different? Thank you! https://code.sololearn.com/c08pZBfK9A2y/?ref=app https://code.sololearn.com/cdwpQLVCSgYx/?ref=app

4th Dec 2020, 12:53 PM
noteve
noteve - avatar
2 Respuestas
+ 3
See this code it will more help https://code.sololearn.com/cqCygvV00apN/?ref=app
4th Dec 2020, 1:18 PM
Sâñtôsh
Sâñtôsh - avatar
+ 1
Thank you!
4th Dec 2020, 1:21 PM
noteve
noteve - avatar