Time Limit: 3 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: APIO 2025

Subtask Score
1 5
2 11
3 8
4 15
5 15
6 20
7 26
8 0