Time Limit: 8 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: Singapore Informatics League 2025 (oolimry)

Subtask Score
1 23
2 31
3 46
4 0