摘要: D. Vasya and ChessVasya decided to learn to play chess. Classic chess doesn't seem interesting to him, so he plays his own sort of chess.The queen is ... 阅读全文
posted @ 2015-11-19 22:32 meekyan 阅读(182) 评论(0) 推荐(0) 编辑
摘要: C. Vasya and BasketballVasya follows a basketball game and marks the distances from which each team makes a throw. He knows that each successful throw... 阅读全文
posted @ 2015-11-19 22:28 meekyan 阅读(208) 评论(0) 推荐(0) 编辑
摘要: B. Vasya and WrestlingVasya has become interested in wrestling. In wrestling wrestlers use techniques for which they are awarded points by judges. The... 阅读全文
posted @ 2015-11-19 22:23 meekyan 阅读(217) 评论(0) 推荐(0) 编辑
摘要: A. Vasya and FootballVasya has started watching football games. He has learned that for some fouls the players receive yellow cards, and for some foul... 阅读全文
posted @ 2015-11-19 22:18 meekyan 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 题意:求给出图的表面积,不包括底面///1085422276#includeusing namespace std ;typedef long long ll;#define mem(a) memset(a,0,sizeof(a))#define meminf(a) memset(a,127,siz... 阅读全文
posted @ 2015-11-19 14:18 meekyan 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Chip FactoryProblem DescriptionJohn is a manager of a CPU chip factory, the factory produces lots of chips everyday. To manage large amounts of produc... 阅读全文
posted @ 2015-11-19 14:16 meekyan 阅读(300) 评论(0) 推荐(0) 编辑
摘要: Partial TreeProblem DescriptionIn mathematics, and more specifically in graph theory, a tree is an undirected graph in which any two nodes are connect... 阅读全文
posted @ 2015-11-19 14:12 meekyan 阅读(223) 评论(0) 推荐(0) 编辑
摘要: Dancing Stars on MeProblem DescriptionThe sky was brushed clean by the wind and the stars were cold in a black sky. What a wonderful night. You observ... 阅读全文
posted @ 2015-11-19 14:08 meekyan 阅读(339) 评论(0) 推荐(0) 编辑
摘要: Almost Sorted ArrayProblem DescriptionWe are all familiar with sorting algorithms: quick sort, merge sort, heap sort, insertion sort, selection sort, ... 阅读全文
posted @ 2015-11-19 14:04 meekyan 阅读(435) 评论(0) 推荐(0) 编辑