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

Subtask Score
1 2
2 10
3 18
4 30
5 40
6 0