随笔分类 - online judge codeforces
摘要: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
阅读全文
摘要: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
阅读全文
摘要:/*题意:给你一个序列经过最小变换,变换一次为一个数+1,一个数-1,使得最大值与最小值相差1;思路:与最后得到的序列相差的sum/2;*/#include #include #include #include #include #include #include #include #include #include #include #include using namespace std; ...
阅读全文