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

Subtask Score
1 27
2 27
3 46
4 0