+ 1
Why the output says "compilation error"?
I tried it in the compiler of Code::Blocks and Dev c++ but it worked fine, in the compiler of SoloLearn presents this error. this is the code: https://code.sololearn.com/cU36FR836g5E/?ref=app
5 odpowiedzi
+ 3
Great. I was on a laptop earlier so I saw the pink rectangles, representing weird characters. I only noticed later that your code displayed ok on a mobile device.
Definitely report this to the SoloLearn team. The team should also search all code in the Code Playground for weird characters and replace them with spaces.
+ 2
You have weird characters in the Solo Learn editor (the pink blocks)
I removed them, and it now works:
https://code.sololearn.com/cw21BYfgw42d/#cpp
+ 2
Try in Chrome browser on a laptop or desktop. They don't appear when viewing on a mobile device it seems.
This is a bug with SoloLearn. Can you report it to them? They need to only allow valid characters when typing or pasting code.
+ 1
Could you mention an example of "weird characters"?. I tried to find them and modified the program a bit but i still don't find anything weird
+ 1
I understood after entering SoloLearn from the browser... thank you very much!