摘要:
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 ... 阅读全文
摘要:
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... 阅读全文
摘要:
B. Vasya and WrestlingVasya has become interested in wrestling. In wrestling wrestlers use techniques for which they are awarded points by judges. The... 阅读全文
摘要:
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... 阅读全文
摘要:
题意:求给出图的表面积,不包括底面///1085422276#includeusing namespace std ;typedef long long ll;#define mem(a) memset(a,0,sizeof(a))#define meminf(a) memset(a,127,siz... 阅读全文
摘要:
Chip FactoryProblem DescriptionJohn is a manager of a CPU chip factory, the factory produces lots of chips everyday. To manage large amounts of produc... 阅读全文
摘要:
Partial TreeProblem DescriptionIn mathematics, and more specifically in graph theory, a tree is an undirected graph in which any two nodes are connect... 阅读全文
摘要:
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... 阅读全文
摘要:
Almost Sorted ArrayProblem DescriptionWe are all familiar with sorting algorithms: quick sort, merge sort, heap sort, insertion sort, selection sort, ... 阅读全文