Time Limit: 4 Seconds
Memory Limit: 512MB
Your best score: 0
Source: APIO 2019

Subtask Score
1 10
2 5
3 5
4 5
5 5
6 20
7 20
8 30
9 0