Time Limit: 4 Seconds
Memory Limit: 512MB
No. of ACs: 1
Your best score: 0
Source: BOI 2021
Editorial: 1

Subtask Score
1 5
2 10
3 10
4 10
5 25
6 20
7 20
8 0