Time Limit: 1 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: Ucup Stage 8 M (modified)

Subtask Score
1 5
2 5
3 5
4 20
5 15
6 20
7 30
8 0