Codeforces Round 388 (Div. 2) First at all, I want to complain about compiler!
Same code for problem D, I tried on my PC and on ideone, it's all fine. But it got CE on Codeforces compiler, then I changed lang to G++14 6.1.0, it got passed. So I got 2 wrong submissions and that wasn't my fail.
But that's no the worst!
When system testing end, I got AC at A B C D. And while i'm waiting for rating change, I found that my codes were skipped, without a announcement or reason.
Seriously, I SOLVED PROBLEMS ON MY OWN!
I'm looking forward to receiving feedback from pitfall and thank you in advance! GG!
UPD: This is my fail not setting privacy on ideone, but plz don't down vote, I had a really bad night, I don't wanna get negative contribution anymore :(
As you said, you tested your code on ideone. Probably, your codes were made public there and someone copied them.
But this is caused by Codeforces's compiler error. I never meet this case before.
fofao_funk is talking about the reason your submissions were skipped (someone copied them from ideone and submitted them from his/her account).
Compilation error does not add any penalty
How about testing your code on ideone and you forgot to set it private? Like this http://codeforces.net/blog/entry/48584
First, you don't get any points deducted for compilation errors. This is the official rule regarding this:
" If the result of the judging is Compilation Error, Denial of judgement (or similar) or if the solution didn't pass the first pretest, then this solution won't be considered in calculating results. " Link
Second, surely someone saw your code on ideone and submitted them from his/her account. You should have never left your code public at ideone during a contest in the first place.
Take this as a lesson and never keep codes public on any code sharing site or anywhere on the internet during a contest in the future.
If I didn't get CE, I'd not have it tested on ideone. Anyway, thanks for replying, I'll take this as my worst experience!
btw, these are some users used my code
humblecool
unbelievable02
RoadToMaster (Yes, Master ...)
Lmao humblecool is indeed so cool. His last 50 submissions got skipped, and yet he does not give up. May be someday he will beat the system...
out of curiousity, why did some people write their code in ideone instead of their local computer?
As I said, due to Codeforces compiler's error, I have no idea what is going on, then I tried on ideone to make sure that it's not my error
Would you mind sharing your compilation error messages? Looks suspicious. I've tried to submit one of your codes 23159820 myself (23172978) and Compilation Error feedback looks empty, the only message is
Can't compile file:
It's empty, too.
Custom Invocation
Compilation error: 23178254
No compilation error: 23178264
No compilation error : 23178382.
Blog related
That's really weird. Looks like a kind of compiler bug to me (or testing system bug), resembles me this one.
Another blog post with similar issue that _index has pointed to is here.
23159820 and 23159992 got skipped, so I can't show error messages, but they are same as above. Thanks for consideration!
I tried to compile the code on my laptop, and it took nearly 10 seconds with the flag
-std=c++11
and used more than 2 GB of memory. Either the long time or the memory usage might be the reason why Codeforces aborted the compilation.Appenrently there is a bug in gcc (link). It can't handle arrays of pairs in tuples.
Tested with gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4).
This shouldn't be a problem anymore with version 6.2. Or at least not a big problem. Only 1.5 seconds time and 0.5 GB memory usage.
Which version of the the compiler does Codeforces use?
You use 32bit compiler, aren't you?