Time Limit: 4 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: NOI 2021 Finals (eutroph)

Subtask Score
1 17
2 23
3 26
4 34
5 0