Time Limit: 3 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: APIO 2021 (bensonlzl)
Editorial: 1

Subtask Score
1 4
2 8
3 13
4 12
5 23
6 21
7 19
8 0