Mr_Emrul's blog

By Mr_Emrul, history, 5 years ago, In English

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.

  • Vote: I like it
  • +91
  • Vote: I do not like it

| Write comment?
»
5 years ago, # |
  Vote: I like it +4 Vote: I do not like it

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.

  • »
    »
    5 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Thanks for notifying this. I have updated my blog.

»
5 years ago, # |
  Vote: I like it +7 Vote: I do not like it

Using the copy button on codeforces includes some errant whitespace unicode characters. I have to strip them out before I can compile my code.

»
5 years ago, # |
Rev. 2   Vote: I like it +11 Vote: I do not like it

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... )

»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Mr_Emrul (previous revision, new revision, compare).

»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

now its ok