Блог пользователя Mr_Emrul

Автор Mr_Emrul, история, 5 лет назад, По-английски

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.

  • Проголосовать: нравится
  • +91
  • Проголосовать: не нравится

»
5 лет назад, # |
  Проголосовать: нравится +4 Проголосовать: не нравится

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 лет назад, # |
  Проголосовать: нравится +7 Проголосовать: не нравится

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 лет назад, # |
Rev. 2   Проголосовать: нравится +11 Проголосовать: не нравится

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 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
5 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

now its ok