939c专题

CodeForces 939C Convenient For Everybody(前缀和+滑动窗口)

传送门 题目描述: In distant future on Earth day lasts for n hours and that's why there are n timezones. Local times in adjacent timezones differ by one hour. For describing local time, hours numbers from 1