A question about CERC 2016 Problem G

Правка en5, от zhouzhendong, 2020-10-14 07:45:55

(Sorry for my poor English. >_<)

(Sorry for my poor English. >_<)

(Sorry for my poor English. >_<)

First of all, here are some links about CERC2016:

[1] The contest page in CF: https://codeforces.me/gym/101173

[2] The official tutorial: https://cerc.hsin.hr/2016/tasks/cerc2016_presentation.pdf


The text I put below is from page 117 of the official tutorial.

Finally, we'll revise our gap-finding algorithm, not to visit both children when the split would result in two tiles that look the same with respect to intersecting with the polygon. Instead we visit only one children, but create twice as many gaps in that branch. It can be shown that this way we'll only visit $$$O(nm^2)$$$ states. ...

It mentioned that "this way we'll only visit $$$O(nm^2)$$$ states".

I have spent several hours on trying to prove this. However, I can't prove it. And it seems to have some counterexamples.

Maybe it is a counterexample:

Let's assume $$$m \approx 2 ^ 8 \times 4, n \approx 32$$$ first. This will make it more convenient to describe the counterexamples.

Let's construct a polygon. It looks like the picture showed below.

pic1

This polygon is made up of many vertical or horizontal sticks. The width of each stick is 1.

Firstly, a vertical stick is put into the leftmost part of the $$$2 ^ n \times 2 ^ n$$$ rectangular grid. Then $$$\approx 2^8$$$ horizontal sticks will be put in while the conditions below holds:

  1. The left endpoint of each stick is next to the vertical stick.

  2. For two adjacent sticks, the distance between them is about $$$2 ^ 8$$$ and the stick below is $$$2^{24}$$$ longer than the one above.

Let $$$x$$$ be a integer so that $$$x \in [16,24)$$$(approximately).

Given the polygon above and an $$$2^x \times 2^x$$$ rectangular tiling of the plane, there will be $$$O(m)$$$ different tiles with respect to intersection with the polygon. To solve the subtasks bounded by rectangles in the following figure, we need to visit $$$O(m ^ 2n)$$$ states. But don't forget that there're $$$O(n)$$$ valid values for $$$x$$$. So it will be $$$O(m ^ 2n ^ 2)$$$ states to visit.

pic2

I wonder that whether my counterexample is right and whether there is a proof for the unproven conclusion in the tutorial.

Can anyone help me?

Thank you in advance!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en14 Английский zhouzhendong 2020-10-15 04:40:57 1675
en13 Английский zhouzhendong 2020-10-14 14:51:53 3 Tiny change: 's a proof for the unpro' -> 's a proof of the unpro'
en12 Английский zhouzhendong 2020-10-14 13:56:54 5 Tiny change: ''s assume $m \appro' -> ''s assume that $m \appro'
en11 Английский zhouzhendong 2020-10-14 08:34:27 0 (published)
en10 Английский zhouzhendong 2020-10-14 08:33:34 0 (saved to drafts)
en9 Английский zhouzhendong 2020-10-14 07:51:39 0 (published)
en8 Английский zhouzhendong 2020-10-14 07:49:55 3
en7 Английский zhouzhendong 2020-10-14 07:49:25 6 Tiny change: 'approx 32$ first. This wil' -> 'approx 32$. This wil'
en6 Английский zhouzhendong 2020-10-14 07:47:48 16 Tiny change: 'ons below holds:\n\n1. Th' -> 'ons below are satisfied:\n\n1. Th'
en5 Английский zhouzhendong 2020-10-14 07:45:55 12 Tiny change: 'id. Then $m$ horizont' -> 'id. Then $\approx 2^8$ horizont'
en4 Английский zhouzhendong 2020-10-14 07:44:12 2 Tiny change: 'that look > the same ' -> 'that look the same '
en3 Английский zhouzhendong 2020-10-14 07:42:19 12 Tiny change: 'solve the problems bounded ' -> 'solve the subtasks bounded '
en2 Английский zhouzhendong 2020-10-14 07:41:03 677
en1 Английский zhouzhendong 2020-10-14 07:18:37 1891 Initial revision (saved to drafts)