6 人解决,53 人已尝试。
9 份提交通过,共有 153 份提交。
8.9 EMB 奖励。
单点时限: 2.0 sec
内存限制: 256 MB
We call a number ambitious number if it’s the smallest number that is divisible by all the integers between 1 and N, inclusive, and output it modulo 987654321.
There are many test case.Each test case include one interger N(1<=N<=500000)
Output the ambitious number.
1 3
1 6 Hint: case 2:The smallest number divisible by 1, 2 and 3 is just 1 * 2 * 3.
6 人解决,53 人已尝试。
9 份提交通过,共有 153 份提交。
8.9 EMB 奖励。
创建: 16 年,9 月前.
修改: 7 年,4 月前.
最后提交: 4 年,1 月前.
来源: N/A