Time Limit: 4 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: Codeforces 983D

Subtask Score
1 0
2 10
3 35
4 55