上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 60 下一页
摘要: [codeforces 55]D. Beautiful numbers 试题描述 Volodya is an odd boy and his taste is strange as well. It seems to him that a positive integer number is bea 阅读全文
posted @ 2016-12-03 13:43 xjr01 阅读(237) 评论(0) 推荐(0) 编辑
摘要: [HDU3709]Balanced Number 试题描述 A balanced number is a non-negative integer that can be balanced if a pivot is placed at some digit. More specifically, 阅读全文
posted @ 2016-12-02 19:50 xjr01 阅读(197) 评论(0) 推荐(0) 编辑
摘要: [COJ0528]BJOI幸运数 试题描述 输入 输入 输入 输入 见“试题描述” 见“试题描述” 见“试题描述” 输出 见“试题描述” 输入示例 见“试题描述” 输出示例 见“试题描述” 数据规模及约定 见“试题描述” 题解 首先想到一个比较暴力的数位 dp 方法:设 f[i][j][s1][s2 阅读全文
posted @ 2016-12-01 19:40 xjr01 阅读(271) 评论(0) 推荐(0) 编辑
摘要: [TimusOJ1057]Amount of Degrees 试题描述 Create a code to determine the amount of integers, lying in the set [X;Y] and being a sum of exactly K different i 阅读全文
posted @ 2016-11-30 16:53 xjr01 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 今天终于拿到官方数据,兴致勃勃地全 A 了。 Day 1 T1 toy 处理一下正负号加加减减取模乱搞就好了。 Day 1 T2 running 受到“链”和“S 恒为 1”和“T 恒为 1”的特殊点的启发,我们发现可以将每条链 [Si, Ti] 分成 [Si, Ci] 和 [Ci, Ti] 两条, 阅读全文
posted @ 2016-11-29 19:19 xjr01 阅读(289) 评论(2) 推荐(0) 编辑
摘要: [HDU2089]不要62 试题描述 杭州人称那些傻乎乎粘嗒嗒的人为62(音:laoer)。杭州交通管理局经常会扩充一些的士车牌照,新近出来一个好消息,以后上牌照,不再含有不吉利的数字了,这样一来,就可以消除个别的士司机和乘客的心理障碍,更安全地服务大众。不吉利的数字为所有含有4或62的号码。例如: 阅读全文
posted @ 2016-11-28 18:15 xjr01 阅读(205) 评论(0) 推荐(0) 编辑
摘要: [POJ1185]炮兵阵地 试题描述 司令部的将军们打算在N*M的网格地图上部署他们的炮兵部队。一个N*M的地图由N行M列组成,地图的每一格可能是山地(用"H" 表示),也可能是平原(用"P"表示),如下图。在每一格平原地形上最多可以布置一支炮兵部队(山地上不能够部署炮兵部队);一支炮兵部队在地图上 阅读全文
posted @ 2016-11-27 21:59 xjr01 阅读(281) 评论(0) 推荐(0) 编辑
摘要: [HDU3555]Bomb 试题描述 The counter-terrorists found a time bomb in the dust. But this time the terrorists improve on the time bomb. The number sequence of 阅读全文
posted @ 2016-11-27 20:37 xjr01 阅读(247) 评论(0) 推荐(0) 编辑
摘要: [POJ3096]Surprising Strings 试题描述 The D-pairs of a string of letters are the ordered pairs of letters that are distance D from each other. A string is  阅读全文
posted @ 2016-11-26 22:58 xjr01 阅读(318) 评论(0) 推荐(0) 编辑
摘要: [POJ1068]Parencodings 试题描述 Let S = s1 s2...s2n be a well-formed string of parentheses. S can be encoded in two different ways: q By an integer sequenc 阅读全文
posted @ 2016-11-26 22:26 xjr01 阅读(314) 评论(0) 推荐(0) 编辑
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 60 下一页