Problem Description
Eddy begins to like painting pictures recently ,he is sure of himself to become a painter.Every day Eddy draws pictures in his small room, and he usually puts out his newest pictures to let his friends appreciate. but the result it can ...
分类:
编程语言 时间:
2015-02-23 09:45:09
阅读次数:
333
Description描述His Royal Highness King of Berland Berl XV was a very wise man and had a very accomplished wife, who was aware of the fact, that prominen...
分类:
其他好文 时间:
2015-02-22 13:27:23
阅读次数:
171
Mahesh and his lost arrayProblem code: ANUMLASubmitAll SubmissionsAll submissions for this problem are available.Read problems statements in Mandarin ...
分类:
其他好文 时间:
2015-02-22 12:13:33
阅读次数:
122
这是 Codeforces Round #292 (Div. 2)的一道题,原题在这里,题意就是:
小明有n个男同学(编号为 0 ~ n-1)和m个女同学 (编号为 0 ~ m-1),小明要安排男女之间约会,如何安排约会呢,假设时间是i (i >=0) ,小明在 i 天就邀请 i % n 号男同学,和 i % m 号女同学约会,如果男女同学之间有一个是快乐的,那么两个人都是快乐的,那么问题来了,...
分类:
移动开发 时间:
2015-02-22 06:49:28
阅读次数:
244
About 900 years ago, a Chinese philosopher Sima Guang wrote a history book in which he talked about people's talent and virtue. According to his theor...
分类:
其他好文 时间:
2015-02-21 19:54:04
阅读次数:
263
B. Drazil and His Happy Friends
time limit per test2 seconds
memory limit per test256 megabytes
inputstandard input
outputstandard output
Drazil has many friends. Some of them are happy and some o...
分类:
移动开发 时间:
2015-02-20 16:22:34
阅读次数:
281
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