Time Limit: 2 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: APIO 2025 (errorgorn, tqbfjotld)

Subtask Score
1 6
2 6
3 10
4 24
5 24
6 30
7 0