Problem Description
FFZ's birthday is coming. GTY wants to give a gift to ZZF. He asked his gay friends what he should give to ZZF. One of them said, 'Nothing is more interesting than a number multis...
分类:
其他好文 时间:
2015-02-19 18:43:02
阅读次数:
219
time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDrazil has many friends. Some of them are happy ...
分类:
移动开发 时间:
2015-02-18 18:44:57
阅读次数:
245
题目链接:http://codeforces.com/problemset/problem/515/B题目意思:有 n 个 boy 和 m 个 girl,有 b 个 boy 和 g 个 girl (通过给出数组下标)是 happy的,规定每轮 dinner 中,派出编号为 i mod n 个男 和 ...
分类:
移动开发 时间:
2015-02-18 14:06:19
阅读次数:
211
B. Drazil and His Happy Friends
time limit per test
2 seconds
memory limit per test
256 megabytes
input
standard input
output
standard output
Drazil has many friends. So...
分类:
移动开发 时间:
2015-02-18 11:56:33
阅读次数:
129
DescriptionMatt has N friends. They are playing a game together.Each of Matt’s friends has a magic number. In the game, Matt selects some (could be ze...
分类:
移动开发 时间:
2015-02-17 17:41:00
阅读次数:
197
题目大意:
After the Ferries Wheel, many friends hope to receive the Misaki's kiss again,so Misaki numbers them
1,2...N?1,N,if
someone's number is M and satisfied the GCD(N,M)
equals to N
XOR M,he
...
分类:
其他好文 时间:
2015-02-17 14:07:57
阅读次数:
133