Time Limit: 5 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: IOI 2019 (Day 1)

Subtask Score
1 8
2 7
3 12
4 22
5 10
6 13
7 28
8 0