![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法讨论
文章平均质量分 84
erow
这个作者很懒,什么都没留下…
展开
-
算法连载3
Problem Statement You have N balls, where N is odd. The balls are numbered from 0 to N-1. In that order, they are arranged into a row going from the left to the right.In addition to the原创 2012-10-04 07:31:41 · 368 阅读 · 0 评论 -
ThreeColorabilityEasy
Problem Statement There is a H times W rectangle divided into unit cells. The rows of cells are numbered 0 to H-1 from top to bottom, and the columns are numbered 0 to W-1 from left to ri原创 2013-08-06 14:01:07 · 749 阅读 · 0 评论 -
InsertZ
Problem Statement You are given two strings: init and goal. Bothinit and goal contain lowercase letters only. Additionally,init does not contain the character 'z'. Your goal is to t原创 2013-08-06 10:49:19 · 1497 阅读 · 0 评论 -
SRM 558 backup 1div 1
Problem Statement There are some red points and blue points on the Cartesian plane. All red points are on the x-axis and all blue points are in the upper half-plane. That is, the y-coordina原创 2012-12-16 07:47:26 · 548 阅读 · 0 评论 -
SRM559
Problem Statement In the Land of Winter lives the Toy King. The Toy King owns many fields and in each field he has control over different plots of land. The Toy King also has nine lords und原创 2012-11-17 22:11:33 · 438 阅读 · 0 评论 -
srm 558 backup 1 DIV 2
Problem Statement Cat and Rabbit are going to play the following game.There are some tiles in a row. Each of the tiles is colored white or black. You are given a stringtiles, describing原创 2012-10-28 08:43:16 · 468 阅读 · 0 评论 -
算法连载6
Problem Statement Little Fox Jiro has a rectangular board. On the board there is a row of N unit cells. The cells are numbered 0 through N-1 from the left to the right. Initially, the cells原创 2012-10-27 16:45:16 · 497 阅读 · 0 评论 -
算法连载5:
Problem Statement Surrounding Game is a single-player game played on a rectangular grid of cells. Cells are considered adjacent if they share a common side. (Hence, each cell has at most fo原创 2012-10-20 16:48:33 · 360 阅读 · 0 评论 -
算法连载2:跳蚤问题
今天的算法是个1000Points的。Problem Statement The amazing flea circus Nehryzma is in town! The most famous act of this flea circus looks as follows: On the table there are N marked s原创 2012-09-16 14:21:16 · 782 阅读 · 0 评论 -
million contestants:算法分析
Problem Statement Exactly one million contestants, numbered 1 through 1,000,000, took part in a programming contest. The rules of the contest are simple: the winner is the contestant who原创 2012-09-22 18:07:27 · 478 阅读 · 0 评论 -
算法连载4
Problem Statement You just bought a very delicious chocolate bar from a local store. This chocolate bar consists of N squares, numbered 0 through N-1. All the squares are arranged in a singl原创 2012-10-04 15:10:02 · 406 阅读 · 0 评论