Time Limit: 2 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: IOI 2016

Subtask Score
1 9
2 14
3 8
4 7
5 33
6 22
7 4
8 3
9 0