Time Limit: 2 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: APIO 2026

Subtask Score
1 6
2 14
3 20
4 20
5 40
6 0