Time Limit: 2 Seconds
Memory Limit: 512MB
No. of ACs: 5
Your best score: 0
Source: BOI 2021

Subtask Score
1 3
2 2
3 3
4 2
5 5
6 5
7 10
8 10
9 13
10 12
11 18
12 17
13 0