Time Limit: 2 Seconds
Memory Limit: 256MB
Your best score: 0
Source: VS Practice Contest for CatOI 2026 (thatlycheeoolongdrink)
Editorial: 1

Subtask Score
1 9
2 6
3 11
4 13
5 16
6 21
7 24
8 0