Hello, Codeforces!
I have been facing a problem since last 1-2 months. Whenever I copy a solution by clicking "Copy" from a submission page and then submit the same solution (or after some edit), I am getting Compilation Error
.
The compilation message is like
Can't compile file:
program.cpp:3:1: error: stray '\302' in program
Â
^
Example, I copied this 59853141 submission which verdict is Wrong Answer
.
After submitting this code, the submission 59853172 is getting Compilation Error
.
I hope, the Codeforces authority will take care about that issue.
UPD: The bug is fixed now.
I've experienced the same issue, exactly as you have explained. However both of your blog submissions are the same. The last one is showing WA and not CE.
Thanks for notifying this. I have updated my blog.
Using the copy button on codeforces includes some errant whitespace unicode characters. I have to strip them out before I can compile my code.
Yes ; something needs to be done to fix the copy button...
However ; I have noticed that if I manually point my cursor to the starting point of the code and then scroll it till the end ( Select all code manually using mouse ) ; and then copy-paste it ; the issue vanishes...!
Although keeping in mind that this is a little time consuming process ( As compared to pressing copy button ) ; it solves the problem !
( However I still feel that something must be done with the copy button as that is a lengthy process... )
Auto comment: topic has been updated by Mr_Emrul (previous revision, new revision, compare).
now its ok