摘要: Description 有一个N个整数的序列(每个数的初值为0)。每个数都是整数。你有M次操作。操作有两种类型: ——Add Di Xi 从第一个数开始每隔Di 个位置增加Xi ——Query Li Ri 回答当前序列Li项到Ri项的和 有一个N个整数的序列(每个数的初值为0)。每个数都是整数。你有 阅读全文
posted @ 2016-04-17 20:35 Pat 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 传送门 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 Finally, you come to the interview room. You know that a Microsoft interviewer is in the room though the do 阅读全文
posted @ 2016-04-17 12:03 Pat 阅读(328) 评论(0) 推荐(0) 编辑