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

Subtask Score
1 27
2 27
3 46
4 0