Time Limit: 2.5 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: APIO 2023
Editorial: 1

Subtask Score
1 5
2 8
3 13
4 19
5 7
6 16
7 29
8 3
9 0