17 人解决,30 人已尝试。
17 份提交通过,共有 93 份提交。
6.0 EMB 奖励。
单点时限: 2.0 sec
内存限制: 1024 MB
Cuber QQ’s research interests lie in number theory, especially for greatest common divisor (GCD) and least common multiple (LCM).
He is also an artist, the creator of beautiful things. On his birthday, his friends will send him some positive integer sets as gifts.
Assume Cuber QQ receive a non-empty positive integer set
Cuber QQ will give his friends
The only line contains one integer
The output contains one integer indicating the answer.
Print the answer modulo
4
2
100
322
For the first example, all beautiful sets are
17 人解决,30 人已尝试。
17 份提交通过,共有 93 份提交。
6.0 EMB 奖励。
创建: 2 年,5 月前.
修改: 2 年,5 月前.
最后提交: 6 月,2 周前.
来源: N/A