Time Limit: 1.5 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: CPIC 2025 Final Contest (PlayVoltz)
Editorial: 1

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