基础题
荣不翻身的咸鱼
这个作者很懒,什么都没留下…
展开
-
Let the Balloon Rise
Contest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is guessing the most popular problem. When the contest is over, they will cou...原创 2018-07-19 07:44:40 · 68 阅读 · 0 评论 -
Maximum Sum
A problem that is simple to solve in one dimension is often much more difficult to solve in more than one dimension. Consider satisfying a boolean expression in conjunctive normal form in which each c...原创 2018-07-22 14:35:37 · 171 阅读 · 0 评论 -
Mr. Kitayuta's Colorful Graph
Mr. Kitayuta has just bought an undirected graph consisting of n vertices and medges. The vertices of the graph are numbered from 1 to n. Each edge, namely edge i, has a color ci, connecting vertex ai...原创 2018-08-19 15:20:43 · 138 阅读 · 0 评论 -
Large Division
Given two integers, a and b, you should check whether a is divisible by b or not. We know that an integer a is divisible by an integer b if and only if there exists an integer c such that a = b * c....原创 2018-09-02 20:34:16 · 133 阅读 · 0 评论 -
Farey Sequence
The Farey Sequence Fn for any integer n with n >= 2 is the set of irreducible rational numbers a/b with 0 < a < b <= n and gcd(a,b) = 1 arranged in increasing order. The first few are F2 ...原创 2018-09-02 20:36:21 · 143 阅读 · 0 评论 -
Stars Drawing (Hard Edition)
A star is a figure of the following type: an asterisk character '*' in the center of the figure and four rays (to the left, right, top, bottom) of the same positive length. The size of a star is the l...原创 2018-09-02 20:37:31 · 285 阅读 · 0 评论