| # | User | Rating |
|---|---|---|
| 1 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3603 |
| 4 | jiangly | 3583 |
| 5 | turmax | 3559 |
| 6 | tourist | 3541 |
| 7 | strapple | 3515 |
| 8 | ksun48 | 3461 |
| 9 | dXqwq | 3436 |
| 10 | Otomachi_Una | 3413 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 157 |
| 2 | adamant | 153 |
| 3 | Um_nik | 147 |
| 3 | Proof_by_QED | 147 |
| 5 | Dominater069 | 145 |
| 6 | errorgorn | 142 |
| 7 | cry | 139 |
| 8 | YuukiS | 135 |
| 9 | TheScrasse | 134 |
| 10 | chromate00 | 133 |
|
+13
Also the two neighbours submissions have pretty different amount of includes... |
|
0
You also can sort all of the cubes and use two iterators for the current upper cube and the corresponding cube it lays on. |
|
+19
Your friends are lying to you to collect some thumbs up! |
|
0
Что должно выдавать в D(40) на тесте N = 20, K = 1, A[i] = 50 (для всех i = {0, ..., 19})? А еще спешу огорчить тех, у кого в B(20), на тесте 3 7 7, выдает 9:( |
|
0
If we do what you say by the R = 2-eps, everythin will be OK:) Because it'll be uncovered point in a center of rectangle. UPD: And if we don't reduce the sides of rectangle (but increase the radius of all circles by 2), it would means that the point with coordinate (4; 1.9) is a center of result circle. But it's false. Because it intersects with bottom side of rectangle. |
|
+1
Yes, but not "_the above mentioned rectangle_", because you have to decrease the sides of it. |
|
+1
We need to be able to check: is it possible to place a circle of radius R. This problem is equivalent to search uncovered point inside the rectangle, after increasing the radius of the circles on R. Also you have to remember to reduce the sides of the rectangle on R. |
|
+1
You have to use binary search by the answer. So you need to increase the radius of each circle at the checked value and determine "Whether there is any point which is located out of all circles?". It can be solved by using the divide and conquer algorithm. If all the circles don't intersect current rectangle, then we've already found uncovered points. If some circles intersect our rectangle, then we need to devide our rectangle into 4 smaller and return to the first part of algorithm. Otherwise, if the current rectangle is entirely inside any circle, then we exit from current branch of recursion. It works O(N * log(MaxAns/eps)).. But I'm not sure in this asymptotic. |
|
0
Секунд 15 вчитывался в сообщение.. вот уж грамотей.. |
|
-9
А что такого в D на 12ом тесте? |
|
+3
I think, you cannot make the conclusions becouse of first and second tasks. |
|
+5
Just a bug) |
| Name |
|---|


