Time Limit: 2 Seconds
Memory Limit: 512MB
No. of ACs: 5
Your best score: 0
Source: APIO 2020
Editorial: 1

Subtask Score
1 10
2 16
3 21
4 19
5 34
6 0