Time Limit: 1.5 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: NYOI 2024 Practice Round (Shadow1)
Editorial: 1

Subtask Score
1 5
2 15
3 10
4 2
5 27
6 16
7 25
8 0