Time Limit: 1 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: JOIG 2023

Subtask Score
1 0
2 3
3 4
4 31
5 31
6 31