摘要: Description Description Input Output Input Input Output Output Sample Input 4 4 1 2 1 10 2 4 3 5 1 3 1 5 2 4 2 7 Sample Output 6 2 3 4 5 6 7 Sample In 阅读全文
posted @ 2018-10-24 15:43 BEYang_Z 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Description Description Input Output Input Input Output Output Sample Input 样例一: abababc 样例二: isdashagayisdashagaydashisnotagaydashisnotagay Sample Ou 阅读全文
posted @ 2018-10-24 15:36 BEYang_Z 阅读(219) 评论(0) 推荐(0) 编辑
摘要: Description 码零鼠是一只很喜欢mx数学的神犇,上面那个不是ta本人的样子。这天,ta在研究一个神奇的数列,这个数列是这样的:a0 = 1an = ai + aj (n>=1, i,j均在[0,n-1]内均匀随机)Ta想知道对于给定的n,an的期望值是多少,你能告诉ta吗?出于ta对整数的 阅读全文
posted @ 2018-10-24 15:34 BEYang_Z 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Description Hack 国的居民人人都是 OI 大师,Hometown 得知便赶紧来到 Hack 国学习。可想要进入 Hack 国并不是件容易的事情,首先就必须通过 Hack 国海关小 B 的考验。小 B 觉得 Hometown 比较菜,于是就扔了一道小水题给 Hometown。 给定一个 阅读全文
posted @ 2018-10-24 15:28 BEYang_Z 阅读(182) 评论(0) 推荐(0) 编辑