Time Limit: 4 Seconds
Memory Limit: 1024MB
No. of ACs: 3
Your best score: 0
Source: IOI 2019

Subtask Score
1 10
2 14
3 15
4 18
5 43
6 0