上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 59 下一页
摘要: Description 一个数x各个数位上的数之积记为$f(x)$ 求[L,R)中满足$0 include include include include include define RG register define il inline define iter iterator define 阅读全文
posted @ 2017-10-17 18:32 PIPIBoss 阅读(342) 评论(0) 推荐(0)
摘要: Description 著名的电子产品品牌 SHOI 刚刚发布了引领世界潮流的下一代电子产品——概率充电器: “采用全新纳米级加工技术,实现元件与导线能否通电完全由真随机数决定!SHOI 概率充电器,您生活不可或缺的必需品!能充上电吗?现在就试试看吧!” SHOI 概率充电器由 n 1 条导线连通了 阅读全文
posted @ 2017-10-16 22:42 PIPIBoss 阅读(270) 评论(0) 推荐(0)
摘要: Description Given a string S. K string is the sub string of S and it appear in the S at least K times.It means there are at least K different pairs (i 阅读全文
posted @ 2017-10-16 18:44 PIPIBoss 阅读(208) 评论(0) 推荐(0)
摘要: Description 沫沫非常喜欢看足球赛,但因为沉迷于射箭游戏,错过了最近的一次足球联赛。此次联 赛共N支球队参加,比赛规则如下: (1) 每两支球队之间踢一场比赛。 (2) 若平局,两支球队各得1分。 (3) 否则胜利的球队得3分,败者不得分。 尽管非常遗憾没有观赏到精彩的比赛,但沫沫通过新闻 阅读全文
posted @ 2017-10-16 15:51 PIPIBoss 阅读(161) 评论(0) 推荐(0)
摘要: Description In middle school, teachers used to encourage us to pick up pretty sentences so that we could apply those sentences in our own articles. On 阅读全文
posted @ 2017-10-15 15:58 PIPIBoss 阅读(268) 评论(0) 推荐(0)
摘要: Description 对于一个给定长度为N的字符串,求它的第K小子串是什么。 Input 第一行是一个仅由小写英文字母构成的字符串S 第二行为两个整数T和K,T为0则表示不同位置的相同子串算作一个。T=1则表示不同位置的相同子串算作多个。K的意义如题所述。 Output 输出仅一行,为一个数字串, 阅读全文
posted @ 2017-10-15 12:12 PIPIBoss 阅读(165) 评论(0) 推荐(1)
摘要: Description 在2016年,佳媛姐姐喜欢上了数字序列。因而他经常研究关于序列的一些奇奇怪怪的问题,现在他在研究一个难题,需要你来帮助他。这个难题是这样子的:给出一个1到n的全排列,现在对这个全排列序列进行m次局部排序,排序分为两种:1:(0,l,r)表示将区间[l,r]的数字升序排序2:( 阅读全文
posted @ 2017-10-13 20:31 PIPIBoss 阅读(145) 评论(0) 推荐(0)
摘要: Description Byteasar the gardener is growing a rare tree called Rotatus Informatikus. It has some interesting features: The tree consists of straight 阅读全文
posted @ 2017-10-13 19:11 PIPIBoss 阅读(198) 评论(0) 推荐(0)
摘要: Description 永无乡包含 n 座岛,编号从 1 到 n,每座岛都有自己的独一无二的重要度,按照重要度可 以将这 n 座岛排名,名次用 1 到 n 来表示。某些岛之间由巨大的桥连接,通过桥可以从一个岛 到达另一个岛。如果从岛 a 出发经过若干座(含 0 座)桥可以到达岛 b,则称岛 a 和岛 阅读全文
posted @ 2017-10-13 16:56 PIPIBoss 阅读(179) 评论(0) 推荐(0)
摘要: Description Now Coach Pang is preparing for the Graduate Record Examinations as George did in 2011. At each day, Coach Pang can: "+w": learn a word w 阅读全文
posted @ 2017-10-13 15:21 PIPIBoss 阅读(196) 评论(0) 推荐(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 59 下一页