Time Limit: 1 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: AOI 2025 Day 1 (shoryu386)

Subtask Score
1 0
2 7
3 9
4 21
5 27
6 36