Time Limit: 3 Seconds
Memory Limit: 2048MB
Your best score: 0
Source: APIO 2026

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