摘要:
You are given two strings ss and tt both of length nn and both consisting of lowercase Latin letters. In one move, you can choose any length lenlen fr 阅读全文
posted @ 2019-11-06 19:07
晴屿
阅读(131)
评论(0)
推荐(0)
摘要:
There are nn students at your university. The programming skill of the ii-th student is aiai. As a coach, you want to divide them into teams to prepar 阅读全文
posted @ 2019-11-06 11:37
晴屿
阅读(196)
评论(0)
推荐(0)
摘要:
You are given a binary string of length nn (i. e. a string consisting of nn characters '0' and '1'). In one move you can swap two adjacent characters 阅读全文
posted @ 2019-11-06 02:15
晴屿
阅读(218)
评论(0)
推荐(0)
摘要:
There is a river of width nn. The left bank of the river is cell 00 and the right bank is cell n+1n+1 (more formally, the river can be represented as 阅读全文
posted @ 2019-11-06 01:43
晴屿
阅读(561)
评论(0)
推荐(1)