Time Limit: 1 Seconds
Memory Limit: 512MB
Your best score: 0
Source: NYOI 2024 Final Round (Shadow1)

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