摘要:
题目描述 原文 The government of Byteland has decided that it is time to connect their little country to the Internet, so that all citizens can participate i 阅读全文
摘要:
Function 时限:5s 空限:256M (都是单点) Discription 现在你有一个函数: 其中v可以被看成是一个无限大的每一个位置初始值都为0的数组。 对于一个给定的n,大(shen)葱想知道 f(n) 的期望是多少。 但是这个问题太简单了,于是他把它丢给了你。 Input 一行一个整 阅读全文
摘要:
题目描述 Let's denote as L(x,p)L(x,p) an infinite sequence of integers yy such that gcd(p,y)=1gcd(p,y)=1 and y>xy>x (where gcdgcd is the greatest common d 阅读全文