zoj
文章平均质量分 77
小鸡炖蘑菇_
stay hungry,stay foolish.
展开
-
ZOJ 3132 DNA Consensus String
ZOJ 3132 DNA Consensus String Figure 1. DNA (Deoxyribonucleic Acid) is the molecule which contains the genetic instructions. It consists of four different nucleotides, namely Adenine, Thymine, Guan原创 2015-08-15 21:00:46 · 552 阅读 · 0 评论 -
ZOJ 1107 FatMouse and Cheese
ZOJ 1107 FatMouse and Cheese FatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: each grid location is labelled (p,q) where 0 <= p < n and 0 <= q <原创 2015-08-18 17:58:26 · 404 阅读 · 0 评论 -
ZOJ 3529 A Game Between Alice and Bob
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3529Alice and Bob play the following game. A series of numbers is written on the blackboard. Alice and Bob take turns choosing one of the nu原创 2015-08-21 19:32:42 · 394 阅读 · 0 评论 -
zoj 2507 Let's play a game
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1507Elves from the Lothvain forest have created a very interesting game. The rules are very simple:There are two players.In the beginning the原创 2015-08-21 19:40:07 · 730 阅读 · 0 评论 -
ZOJ 2083 Win the Game
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2083A and B play a game. There are n lines. A and B color them by turns (A first). One can only color a segment of a line, with length 2, wh原创 2015-08-21 19:46:37 · 531 阅读 · 0 评论 -
HDU-1252 || ZOJ-1103 || POJ-2415 Hike on a Graph(bfs)
Problem Description“Hike on a Graph” is a game that is played on a board on which an undirected graph is drawn. The graph is complete and has all loops, i.e. for any two locations there is exactly one原创 2016-01-18 10:44:04 · 340 阅读 · 0 评论