摘要: [codeforces724E]Goods transportation 试题描述 There are n cities located along the one-way road. Cities are numbered from 1 to n in the direction of the r 阅读全文
posted @ 2017-01-22 18:32 xjr01 阅读(545) 评论(0) 推荐(0) 编辑
摘要: [codeforces724D]Dense Subsequence 试题描述 You are given a string s, consisting of lowercase English letters, and the integer m. One should choose some sy 阅读全文
posted @ 2017-01-22 16:32 xjr01 阅读(312) 评论(0) 推荐(0) 编辑
摘要: [codevs2495]水叮当的舞步 试题描述 水叮当得到了一块五颜六色的格子形地毯作为生日礼物,更加特别的是,地毯上格子的颜色还能随着踩踏而改变。 为了讨好她的偶像虹猫,水叮当决定在地毯上跳一支轻盈的舞来卖萌~~~ 地毯上的格子有N行N列,每个格子用一个0~5之间的数字代表它的颜色。 水叮当可以随 阅读全文
posted @ 2017-01-22 13:44 xjr01 阅读(305) 评论(0) 推荐(0) 编辑
摘要: [BZOJ4052][Cerc2013]Magical GCD 试题描述 给出一个长度在 100 000 以内的正整数序列,大小不超过 10^12。 求一个连续子序列,使得在所有的连续子序列中,它们的GCD值乘以它们的长度最大。 给出一个长度在 100 000 以内的正整数序列,大小不超过 10^1 阅读全文
posted @ 2017-01-22 11:00 xjr01 阅读(384) 评论(0) 推荐(0) 编辑