taxes

The constraints of N should be 1 ≤ N ≤ 150000 instead.


Time Limit: 4 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: December Course 2018 Advanced Final Contest, ROI 2018 Day 1

Subtask Score
1 12
2 14
3 19
4 14
5 19
6 11
7 11
8 0