Time Limit: 2 Seconds
Memory Limit: 1024MB
No. of ACs: 8
Your best score: 0
Source: BOI 2022

Subtask Score
1 5
2 25
3 30
4 40
5 0