Time Limit: 2 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: HCI NOI Selection Test 2017

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