Time Limit: 5 Seconds
Memory Limit: 1024MB
No. of ACs: 5
Your best score: 0
Source: APIO 2018

Subtask Score
1 5
2 7
3 10
4 23
5 35
6 20
7 0