摘要:
Permutation p is an ordered set of integers p1, p2, ..., pn, consisting of n distinct positive integers, each of them doesn't exceed n. We'll denote t 阅读全文
posted @ 2018-12-20 17:11
nimphy
阅读(359)
评论(0)
推荐(0)
摘要:
In an attempt to make peace with the Mischievious Mess Makers, Bessie and Farmer John are planning to plant some flower gardens to complement the lush 阅读全文
posted @ 2018-12-20 15:35
nimphy
阅读(447)
评论(0)
推荐(0)
摘要:
As Gerald, Alexander, Sergey and Gennady are already busy with the usual New Year chores, Edward hastily decorates the New Year Tree. And any decent N 阅读全文
posted @ 2018-12-20 15:24
nimphy
阅读(243)
评论(0)
推荐(0)
摘要:
Sereja is interested in intervals of numbers, so he has prepared a problem about intervals for you. An interval of numbers is a pair of integers [l, r 阅读全文
posted @ 2018-12-20 15:09
nimphy
阅读(348)
评论(0)
推荐(0)