# TopCoder

$\huge 南ことり$
$ε=ε=ε=(~￣▽￣)~烙跑囉$

95.2% (20/21)

86.0% (43/50)

# Description

#### 測資限制

• $1 \leq N \leq 1000$
• $0 \leq x_i,y_i \leq 10^ 9$

6
0 0
0 1
0 2
1 0
1 1
1 2

3

19
4 2
6 4
4 6
2 12
4 18
8 10
12 2
8 20
10 16
12 12
14 8
18 4
12 22
16 14
20 6
20 12
20 18
18 20
20 22

19

# Hints

• $\{1,4,2,5\}$
• $\{1,4,3,6\}$
• $\{2,5,3,6\}$

# Problem Source

2021 師大附中校隊培訓 模擬競賽

No. Testdata Range Constraints Score
1 0~1 範例測資 0
2 0~12 $N \le 80$ 12
3 0~24 $N \le 200$ 23
4 0~35 無額外限制 65

# Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 2000 524288 65536 1 2 3 4
1 2000 524288 65536 1 2 3 4
2 2000 524288 65536 2 3 4
3 2000 524288 65536 2 3 4
4 2000 524288 65536 2 3 4
5 2000 524288 65536 2 3 4
6 2000 524288 65536 2 3 4
7 2000 524288 65536 2 3 4
8 2000 524288 65536 2 3 4
9 2000 524288 65536 2 3 4
10 2000 524288 65536 2 3 4
11 2000 524288 65536 2 3 4
12 2000 524288 65536 2 3 4
13 2000 524288 65536 3 4
14 2000 524288 65536 3 4
15 2000 524288 65536 3 4
16 2000 524288 65536 3 4
17 2000 524288 65536 3 4
18 2000 524288 65536 3 4
19 2000 524288 65536 3 4
20 2000 524288 65536 3 4
21 2000 524288 65536 3 4
22 2000 524288 65536 3 4
23 2000 524288 65536 3 4
24 2000 524288 65536 3 4
25 2000 524288 65536 4
26 2000 524288 65536 4
27 2000 524288 65536 4
28 2000 524288 65536 4
29 2000 524288 65536 4
30 2000 524288 65536 4
31 2000 524288 65536 4
32 2000 524288 65536 4
33 2000 524288 65536 4
34 2000 524288 65536 4
35 2000 524288 65536 4