Time Limit: 2.5 Seconds
Memory Limit: 512MB
Your best score: 0
Source: APIO 2019
Editorial: 1

Subtask Score
1 13
2 16
3 17
4 14
5 13
6 27
7 0