
图
文章平均质量分 85
苏摩夜
持之以恒
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
UVA - 10557 XYZZY
Problem D: XYZZY ADVENT: /ad�vent/, n. The prototypical computer adventure game, first designed by Will Crowther on the PDP-10 in the mid-1970s as an attempt at computer-refereed fantasy gaming,原创 2014-09-05 00:19:30 · 607 阅读 · 0 评论 -
UVA - 10054 The Necklace
My little sister had a beautiful necklace made of colorful beads. Two successive beads in the necklace shared a common color at their meeting point. The figure below shows a segment of the necklace:原创 2014-09-13 18:28:00 · 481 阅读 · 0 评论 -
UVA - 10596 Morning Walk
Problem H Morning Walk Time Limit 3 Seconds Kamalis a Motashotaguy. He has got a new job in Chittagong.So, he has moved to Chittagong fromDinajpur. He was getting fatter原创 2014-09-15 23:14:00 · 413 阅读 · 0 评论 -
UVA - 10305 Ordering Tasks
Problem F Ordering Tasks Input: standardinput Output: standardoutput Time Limit: 1 second Memory Limit: 32MB John has n tasks to do.Unfortunately, the tasks are not independent and the execut原创 2014-09-15 23:36:09 · 456 阅读 · 0 评论 -
UVA - 10129 Play on Words
Play on Words Some of the secret doors contain a very interesting word puzzle. The team of archaeologists has to solve it to open that doors. Because there is no other way to open the doors, the puz原创 2014-09-12 19:16:50 · 457 阅读 · 0 评论 -
UVA - 10004 Bicoloring
Bicoloring In 1976 the ``Four Color Map Theorem" was proven with the assistance of a computer. This theorem states that every map can be colored using only four colors, in such a way that原创 2014-09-11 22:16:06 · 363 阅读 · 0 评论 -
UVA - 10004 Bicoloring
方法二:原创 2014-09-11 23:11:02 · 373 阅读 · 0 评论 -
UVA - 784 Maze Exploration
style="font-size:24px;color:#c0ffff;"> Maze Exploration A maze of rectangular rooms is represented on a two dimensional grid as illustrated in figure 1a. Each point of the grid is represented by a原创 2014-08-23 09:17:11 · 468 阅读 · 0 评论 -
UVA - 439 Knight Moves
A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight moves that visits each square of a given set of n squares on a chessbo原创 2014-08-24 08:32:26 · 519 阅读 · 0 评论 -
UVA - 705 Slash Maze
By filling a rectangle with slashes (/) and backslashes ( ), you can generate nice little mazes. Here is an example: As you can see, paths in the maze cannot branch, so the whole maze only contai原创 2014-08-23 15:24:49 · 659 阅读 · 0 评论 -
UVA - 572 Oil Deposits
The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creates a grid that divides th原创 2014-08-22 14:35:00 · 427 阅读 · 0 评论 -
UVA - 657 The die is cast
InterGames is a high-tech startup company that specializes in developing technology that allows users to play games over the Internet. A market analysis has alerted them to the fact that games of chan原创 2014-08-22 19:30:56 · 618 阅读 · 0 评论 -
UVA - 10047 The Monocycle
A monocycle is a cycle that runs on one wheel and the one we will be considering is a bit more special. It has a solid wheel colored with five different colors as shown in the figure: The colored原创 2014-09-05 22:00:53 · 410 阅读 · 0 评论 -
UVA - 532 Dungeon Master
You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes one minute to move one unit north, south原创 2014-09-03 19:27:46 · 523 阅读 · 0 评论