Time Limit: 3 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: HCI-NUSH NOI Selection 2022 (errorgorn, oolimry, yanhao)
Editorial: 1 2

Subtask Score
1 4
2 9
3 7
4 13
5 12
6 5
7 22
8 3
9 25
10 0