Time Limit: 5 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: APIO 2019 but with more pain

Subtask Score
1 0
2 100