Time Limit: 1 Seconds
Memory Limit: 256MB
Your best score: 0
Source: CPIC 2024 Final Contest (Shadow1)
Editorial: 1

Subtask Score
1 5
2 16
3 24
4 20
5 14
6 7
7 13
8 1