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

Subtask Score
1 10
2 11
3 15
4 6
5 12
6 10
7 16
8 20
9 0