Slimes

n has been reduced to 2000 for ST1 and 100000 for ST2/3 to avoid TLEs. tc = 1 on codebreaker.
Time Limit: 5 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: Singapore Informatics League 2026 Finals (TheRaptor)

Subtask Score
1 34
2 33
3 33