摘要:
sa[i] 表示排名第i的是前缀str(sa[i]), rank[i]表示前缀str(i)的排名。 阅读全文
posted @ 2017-07-29 21:00
starry_sky
阅读(185)
评论(0)
推荐(0)
摘要:
Long Long Message Description The little cat is majoring in physics in the capital of Byterland. A piece of sad news comes to him these days: his moth 阅读全文
posted @ 2017-07-29 20:57
starry_sky
阅读(330)
评论(0)
推荐(0)
摘要:
最小的数 Problem Description 定义一种正整数集合K,集合中有N个数,集合中元素Ki(1<=i<=N)是包含i个不同质因子的最小的数。因为Ki可能会很大,所以将集合中所有Ki对10^9+7取余。 Input 本题只有唯一一组测试数据,第一行给出N,q,表示K的个数以及q次询问。1< 阅读全文
posted @ 2017-07-29 20:31
starry_sky
阅读(374)
评论(0)
推荐(0)

浙公网安备 33010602011771号