摘要: You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each number 阅读全文
posted @ 2017-02-17 19:51 perplex 阅读(209) 评论(0) 推荐(0) 编辑
摘要: In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several consecutive metallic 阅读全文
posted @ 2017-02-17 17:52 perplex 阅读(158) 评论(0) 推荐(0) 编辑
摘要: N children are sitting in a circle to play a game. The children are numbered from 1 to N in clockwise order. Each of them has a card with a non-zero i 阅读全文
posted @ 2017-02-17 16:14 perplex 阅读(240) 评论(0) 推荐(0) 编辑