Hello!
I invite you to participate in Codeforces Beta Round #48. This time I acted as the author of the contest. I believe it is really exciting too! I urge you to follow my example. Codeforces is happy to contest authors.
With contest proposals please contact RAD (our problem coordinator).Participants are waiting for your problems!
UPD:
PDF statements will be also available after the contest start. Please, use the link.
I wish you beautiful solutions,
MikeMirzayanov
2
1 0
Like on TopCoder; reply to this with your sad stories.
On task C, around half an hour before the end of the contest, I noticed it was possible to print the distance in scientific notation (i.e. 1.5e+8). I asked whether it was OK. Then, I saw an answer "No" and resubmitted (so my points for the task dropped to 1000). Ten minutes later I noticed the "No" I saw was in the Broadcasted column and the actual answer was yes :D...
During competition i wrote (int)floor(p1+mid) and got WA.
In practice i removed floor,i.e, (int)(p1+mid) and got Accepted.
That just makes me sad!
After my program passed pretest, I locked D to hack other people's solution. Then I finally noticed my misreading with unsuccessful hack like "5 6". Thanks to this, I fell to yellow from red.
Scanner in = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
while(in.hasNextLine()) sb.append(in.nextLine());
The initial post didn't seem to go through and I decided to click the button once again. After that the site went down and started showing "all your bugs are belong to me" error message for a couple of minutes. But then all the sudden all my replies got posted, and I can't even delete them now.
My solution couldnot pass test 14. Can you suggest reason for it?
I think you are not giving importance to sequence of a,b,c,d.
I think it is important.
Did you try any test with 1000 _different_ tiles?
It seems that you start to read and write to unallocated memory and various interesting effects claimed as "undefined behavior" take place.
P.S. And your code gets AC after changing 110 to 1100 =)
Yes depending on pretest is a big mistake that we do.
I lost my whole B. :( ...and egor who hacked 20 solutions..was in my room , why did he not hack mine ... :(
I tried ur code...
total 4 tests (no change in code during tests)
test lang:GNU C++
test1:runtime error testno.42
test2:runtime error testno.50
test3.runtime error testno.50
test4.runtime error testno.50
-----------------------------------
test no. 50 was:
6
9 9 9 9 9 9
I am still waiting for tutorial for last problem .....