Time Limit: 3 Seconds
Memory Limit: 1024MB
No. of ACs: 1
Your best score: 0
Source: JOISC 2017, Day 1

Subtask Score
1 0
2 2
3 3
4 15
5 40
6 20
7 20