摘要: Description 小西有一条很长的彩带,彩带上挂着各式各样的彩珠。已知彩珠有N个,分为K种。简单的说,可以将彩带考虑为x轴,每一个彩珠有一个对应的坐标(即位置)。某些坐标上可以没有彩珠,但多个彩珠也可以出现在同一个位置上。 小布生日快到了,于是小西打算剪一段彩带送给小布。为了让礼物彩带足够漂亮 阅读全文
posted @ 2017-03-21 21:34 happy_codes 阅读(156) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 20971 Accepted: 5290 Description Consider two natural numbers A and B. Let S be the sum of 阅读全文
posted @ 2017-03-21 21:25 happy_codes 阅读(223) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 135099 Accepted: 43146 Description Some people believe that there are three cycles in a per 阅读全文
posted @ 2017-03-21 20:59 happy_codes 阅读(121) 评论(0) 推荐(0) 编辑