Time Limit: 2 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: APIO 2016
Editorial: 1

Subtask Score
1 30
2 70