Time Limit: 2 Seconds
Memory Limit: 512MB
No. of ACs: 12
Your best score: 0
Source: JOI 2022 Final Round

Subtask Score
1 25
2 35
3 40
4 0