摘要: Sasha and Kolya decided to get drunk with Coke, again. This time they have k types of Coke. i-th type is characterised by its carbon dioxide concentra 阅读全文
posted @ 2017-04-09 21:10 Wally的博客 阅读(254) 评论(0) 推荐(0) 编辑
摘要: Something happened in Uzhlyandia again... There are riots on the streets... Famous Uzhlyandian superheroes Shean the Sheep and Stas the Giraffe were c 阅读全文
posted @ 2017-04-09 19:57 Wally的博客 阅读(231) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/gym/100623/attachments A题 题意:有n个球(0~n-1)先放在A个盒子(0~A-1)里面,然后将(0~n-1)放在B个盒子(0~B-1),问abs(A盒子所在位置-B盒子所在位置)的和是多少? 思路:现将小球分成两部分(1.k个A与 阅读全文
posted @ 2017-04-09 19:02 Wally的博客 阅读(143) 评论(0) 推荐(0) 编辑