GCJ Round 2 starts today at 14:00 UTC. It's a good chance to take cool T-Shirt, just place 1000 or higher. Top 500 contestants will advance to Round 3.
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3773 |
3 | Radewoosh | 3646 |
4 | ecnerwala | 3624 |
5 | jqdai0815 | 3620 |
5 | Benq | 3620 |
7 | orzdevinwang | 3612 |
8 | Geothermal | 3569 |
8 | cnnfls_csy | 3569 |
10 | gyh20 | 3447 |
# | User | Contrib. |
---|---|---|
1 | awoo | 161 |
2 | maomao90 | 160 |
3 | nor | 157 |
4 | atcoder_official | 156 |
4 | cry | 156 |
6 | -is-this-fft- | 155 |
7 | maroonrk | 154 |
7 | adamant | 154 |
9 | Um_nik | 151 |
10 | djm03178 | 146 |
Name |
---|
Did anyone else sort for B and then forget to reverse it before doing the output? Because... I did.
I did it to, and I got 2 WA because of it... And then 1 more WA because of mistake in reversing.
Yes!!) I thought that I am the only one) It cost me 2 tries...
I did :) But I've found it before downloading large test
Ya, 2 incorrect submissions for me, too :(
I did! 3 penalties + 20 minutes wasted because of that! Would have been in top-500 otherwise :(
I remembered to reverse before printing the output but I forgot to sort before processing :D
It seems that everyone got D-large wrong. Is there a bug in the testdata, or is the testdata extremely tricky?
Probably no one knows how to solve it properly so they tried some heuristics which didn't work.
Contest Analysis
http://code.google.com/codejam/contest/1842485/dashboard#s=a&a=4
In problem B, once we fail enough attempts to say it isn't possible to add the current circle, should we start all over again or backtrack to when we added the previours circle?
Backtracking works. I try 20 different locations then go back to the previous circle.
As stated in the analysis, we always have at least 20% chance to succeed. So the probability to fail x times is 0.8^x, which decreases rapidly. I also tried a solution without backtracking and it worked very fast. It means we only need to repeat the randomize progress until finding a consistent point. (you may take a look at tourist's code)
Is there someone who get T-shirts?
Look here.