+ 2

Issue in cpp!

My code works on code block but not here can someone help please? :( https://code.sololearn.com/ccdGS4Gqkf5b/?ref=app https://code.sololearn.com/ccdGS4Gqkf5b/?ref=app

3rd Aug 2018, 7:11 PM
Comsis Alexis
Comsis Alexis - avatar
4 Answers
+ 2
Tried compiling it in an online compiler. Error says "stray '\302' in the program". This is a known and discussed issue about character encoding in different IDE's. Most probably you used tab-keys or shift+space while writing code in codeblocks. Remove tabs and try again. Read this if it helps. https://stackoverflow.com/questions/5167656/error-stray-302-in-program
3rd Aug 2018, 7:30 PM
nillyhan
+ 1
Thanks a lot!
3rd Aug 2018, 7:29 PM
Comsis Alexis
Comsis Alexis - avatar
+ 1
Thank you too men yes I've removed tabs and it works well
3rd Aug 2018, 7:35 PM
Comsis Alexis
Comsis Alexis - avatar
+ 1
it is good code exillant
6th Aug 2018, 10:32 PM
Apo Giath Sham
Apo Giath Sham - avatar