Toggle navigation
Bulletin
Problems
Submissions
Contests
Discuss
About
Rank
Sign in
Sign up
×
Close
1306
已加強測資並 rejudge
2246 . A. 迷宮入口
Submit
Status
Discussion / Solution
Ranklist
Back to Problems List
TopCoder
abcabcabc
快去寫 TIOJ 2311 > <
User's AC Ratio
89.4% (
160/179
)
Submission's AC Ratio
50.2% (
209
/
416
)
Tags
Show solution-related tags
TOI
TOI-pre
2022-TOI-pre
Description
題目 PDF 檔在這裡
Input Format
Output Format
Sample Input 1
copy
3 2
0 0
-1 0
2 0
Sample Output 1
copy
17
Hints
Problem Source
2022 TOI 初選
測資來源:
TWPCA GitHub
Subtasks
No.
Testdata Range
Constraints
Score
1
0
範例測資。
0
2
1~10
$n = 1$
26
3
11~23
$|x_i| \le 100$ 且 $|y_i| \le 100$
36
4
24~34
無額外限制。
38
Testdata and Limits
No.
Time Limit (ms)
Memory Limit (VSS, KiB)
Output Limit (KiB)
Subtasks
0
1000
1048576
65536
1
1
1000
1048576
65536
2
2
1000
1048576
65536
2
3
1000
1048576
65536
2
4
1000
1048576
65536
2
5
1000
1048576
65536
2
6
1000
1048576
65536
2
7
1000
1048576
65536
2
8
1000
1048576
65536
2
9
1000
1048576
65536
2
10
1000
1048576
65536
2
11
1000
1048576
65536
3
12
1000
1048576
65536
3
13
1000
1048576
65536
3
14
1000
1048576
65536
3
15
1000
1048576
65536
3
16
1000
1048576
65536
3
17
1000
1048576
65536
3
18
1000
1048576
65536
3
19
1000
1048576
65536
3
20
1000
1048576
65536
3
21
1000
1048576
65536
3
22
1000
1048576
65536
3
23
1000
1048576
65536
3
24
1000
1048576
65536
4
25
1000
1048576
65536
4
26
1000
1048576
65536
4
27
1000
1048576
65536
4
28
1000
1048576
65536
4
29
1000
1048576
65536
4
30
1000
1048576
65536
4
31
1000
1048576
65536
4
32
1000
1048576
65536
4
33
1000
1048576
65536
4
34
1000
1048576
65536
4
Submit
Back to Top