Time Limit: 2 Seconds
Memory Limit: 256MB
Your best score: 0
Source: RI Problem Setter Contest 2019 (bensonlzl)

Subtask Score
1 10
2 14
3 11
4 12
5 17
6 14
7 22
8 0