LuaXD's blog

By LuaXD, history, 9 years ago, In English

Today I was taking part of a virtual Codeforces round ( CF 218Div 2 ). At the time of solving problem C I thought of a Union Find Disjoint Set Data Structure, I coded it and submitted such code. Since it was a virtual round, I immediately got the WA verdict, nevertheless I was sure that the idea was correct. So I made some unimportant changes, submitted again and got the AC verdict.

The thing is, when the round was over, I wanted to know what was wrong with my first submitted code. I opened the log which shows information for each test case to see what happened, but the log info for that case was blank (View the submission 11613966).

I was very saddened to see that the usual WA message wouldn't show up (wrong answer 1st numbers differ — expected: '1', found: '3'). So I decided to copy my code and resubmit.

The resubmission verdict was AC. Both submissions are literally the same. As you can see, one has got a WA verdict and the other has got an AC. This are the two submissions: 11613966 and 11614370

Has this ever happened to any of you? It seems like a very odd bug and I can't figure out why it happened. It is literally a WA verdict for no reason

Full text and comments »

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

By LuaXD, 9 years ago, In English

I have heard that there are some issues when installing the 4.9 GCC release on any Linux distro. Is this true? In any case, can someone tell me how to install the 4.9 GCC release on any Linux distro? Thanks!

Full text and comments »

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