Time Limit: 2 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: CEOI 2024

Subtask Score
1 3
2 6
3 17
4 27
5 47
6 0