+ 2

Top 2 max numbers out of five numbers... It is running in my pc (code blocks) but not in this app(sololearn)... Help pls

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

17th Oct 2017, 5:57 PM
rahul rawat
rahul rawat - avatar
3 Respostas
+ 9
The C++ code consists of leading non-standard space for each indented line and the compiler failed to parse it. If you're using Notepad++, you may try to copy the the character and replace it with a normal space. Otherwise you can try to remove all the space in front of indented lines (so all lines aligned to the left) and apply tab in Code Playground and you'll be fine. 😉
18th Oct 2017, 3:14 AM
Zephyr Koo
Zephyr Koo - avatar
+ 5
You're welcome! 😉
18th Oct 2017, 10:17 AM
Zephyr Koo
Zephyr Koo - avatar
+ 2
thanks @zephyr
18th Oct 2017, 10:08 AM
rahul rawat
rahul rawat - avatar