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

Subtask Score
1 20
2 40
3 40
4 0