随笔分类 -  online judge codeforces

上一页 1 ··· 6 7 8 9 10
摘要:D. Subway D. Subway A subway scheme, classic for all Berland cities is represented by a set of n stations connected by n passages, each of which conne 阅读全文
posted @ 2016-04-28 21:27 jhz033 阅读(211) 评论(0) 推荐(0)
摘要:C. The World is a Theatre C. The World is a Theatre There are n boys and m girls attending a theatre club. To set a play "The Big Bang Theory", they n 阅读全文
posted @ 2016-04-28 21:25 jhz033 阅读(233) 评论(0) 推荐(0)
摘要:/*题意:给你一个序列经过最小变换,变换一次为一个数+1,一个数-1,使得最大值与最小值相差1;思路:与最后得到的序列相差的sum/2;*/#include #include #include #include #include #include #include #include #include #include #include #include using namespace std; ... 阅读全文
posted @ 2016-03-20 10:44 jhz033 阅读(174) 评论(0) 推荐(0)

上一页 1 ··· 6 7 8 9 10