上一页 1 ··· 66 67 68 69 70 71 72 73 74 ··· 138 下一页
摘要: 畅通工程 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 30649 Accepted Submission(s): 16109 Problem Description 某省调查城镇交通状况,得到现有城镇道路统计表,... 阅读全文
posted @ 2014-08-11 11:43 katago 阅读(221) 评论(0) 推荐(0)
摘要: 数组名是指针常量,他的类型是指向元素类型的指针,他指向数组的第一个元素。int matrix[3][10];matrix可以看做是一维数组,包含3个元素,只是每个元素正好是包含10个整形元素的一维数组。matrix这个名字的值是指向第一个元素的指针,所以matrix是一个指向包含10个整数元素的数组... 阅读全文
posted @ 2014-08-07 09:55 katago 阅读(173) 评论(0) 推荐(0)
摘要: A Puzzling Problem The goal of this problem is to write a program which will take from 1 to 5 puzzle pieces such as those shown below and arrange them, if possible, to form a square. An example ... 阅读全文
posted @ 2014-08-06 14:29 katago 阅读(339) 评论(0) 推荐(0)
摘要: Graph Coloring You are to write a program that tries to find an optimal coloring for a given graph. Colors are applied to the nodes of the graph and the only available colors are black and white. Th... 阅读全文
posted @ 2014-08-05 11:30 katago 阅读(262) 评论(0) 推荐(0)
摘要: Firetruck The Center City fire department collaborates with the transportation department to maintain maps of the city which reflects the current status of the city streets. On any given day, se... 阅读全文
posted @ 2014-08-01 09:02 katago 阅读(344) 评论(0) 推荐(0)
摘要: Transportation Ruratania is just entering capitalism and is establishing new enterprising activities in many fields including transport. The transportation company TransRuratania is starting ... 阅读全文
posted @ 2014-07-31 15:20 katago 阅读(472) 评论(0) 推荐(0)
摘要: The Settlers of Catan Within Settlers of Catan, the 1995 German game of the year, players attempt to dominate an island by building roads, settlements and cities across its uncharted wilderness.... 阅读全文
posted @ 2014-07-29 14:48 katago 阅读(205) 评论(0) 推荐(0)
摘要: Mapping the Swaps Sorting an array can be done by swapping certain pairs of adjacent entries in the array. This is the fundamental technique used in the well-known bubble sort. If we list the id... 阅读全文
posted @ 2014-07-29 10:10 katago 阅读(341) 评论(0) 推荐(0)
摘要: Flip Sort Sorting in computer science is an important part. Almost every problem can be solved effeciently if sorted data are found. There are some excellent sorting algorithm which has already ... 阅读全文
posted @ 2014-07-28 16:11 katago 阅读(602) 评论(1) 推荐(0)
摘要: Your task is to write a program that can decide whether you can find an arithmetic expression consisting of five given numbers (1 {1,2,3,4,5} is a bijective functionand {+,-,*} (1#include#include#inc... 阅读全文
posted @ 2014-07-28 13:43 katago 阅读(285) 评论(0) 推荐(0)
上一页 1 ··· 66 67 68 69 70 71 72 73 74 ··· 138 下一页