
Sicily
文章平均质量分 83
BetaBin
学
展开
-
算法学习【6】 - 1028. Hanoi Tower Sequence
题目:http://soj.me/10281028. Hanoi Tower SequenceDescriptionHanoi Tower is a famous game invented by the French mathematician Edourard Lucas in 1883. We are given a tower of n di原创 2012-03-16 15:33:42 · 1864 阅读 · 0 评论 -
算法学习【14】—— 1190. Reduced ID Numbers
题目来源:http://soj.me/11901190. Reduced ID NumbersConstraintsTime Limit: 2 secs, Memory Limit: 32 MBDescriptionT. Chur teaches various groups of students at university U. Ever原创 2012-07-25 18:55:24 · 2624 阅读 · 2 评论 -
算法学习【16】—— 1119. Factstone Benchmark
题目来源:http://soj.me/11191119. Factstone BenchmarkConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionAmtel has announced that it will release a 128-bit computer chi原创 2012-07-26 11:21:22 · 3052 阅读 · 0 评论 -
算法学习【17】—— 1193. Up the Stairs
题目来源: http://soj.me/11931193. Up the StairsConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionJohn is moving to the penthouse of a tall sky-scraper. He packed all原创 2012-07-26 12:44:36 · 1991 阅读 · 0 评论 -
算法学习【13】—— 1443. Printer Queue
题目来源:http://soj.me/14431443. Printer QueueDescriptionThe only printer in the computer science students' union is experiencing an extremely heavy workload. Sometimes there are a hun原创 2012-04-20 20:55:56 · 2005 阅读 · 0 评论 -
算法学习【12】—— 1155. Can I Post the lette
题目来源:http://soj.me/11551155. Can I Post the letteDescriptionI am a traveler. I want to post a letter to Merlin. But because there are so many roads I can walk through, and maybe I can’t原创 2012-04-13 21:55:34 · 2559 阅读 · 2 评论 -
算法学习【11】—— 1156. Binary tree
题目来源:http://soj.me/11561156. Binary treeDescriptionYour task is very simple: Given a binary tree, every node of which contains one upper case character (‘A’ to ‘Z’); you just need to pri原创 2012-04-13 21:13:29 · 2208 阅读 · 0 评论 -
算法学习【10】—— 1006. Team Rankings
题目来源:http://soj.me/10061006. Team RankingsDescriptionIt's preseason and the local newspaper wants to publish a preseason ranking of the teams in the local amateur basketball league原创 2012-04-13 20:45:09 · 2221 阅读 · 0 评论 -
算法学习【9】—— 1035. DNA matching
题目:http://soj.me/10351035. DNA matchingDescriptionDNA (Deoxyribonucleic acid) is founded in every living creature as the storage medium for genetic information. It is comprised of subuni原创 2012-04-05 09:29:41 · 1499 阅读 · 0 评论 -
算法学习【8】——1083. Networking
题目:http://soj.me/10831083. NetworkingDescriptionYou are assigned to design network connections between certain points in a wide area. You are given a set of points in the area, and原创 2012-04-04 09:35:24 · 1818 阅读 · 0 评论 -
算法学习【7】—— 1090. Highways
有老同学回家,要过去看看,有点空闲,就看了下Sicily的1090,题目很简单,不难,就是简单的最小生成树。打算直接套用kruskal类(http://blog.youkuaiyun.com/betabin/article/details/7389263),不过,出问题了。不知道哪里错了,不能过,上网搜了些,貌似也过不了了。郁闷。然后换成prim类(http://blog.youkuaiyun.com/betabin/a原创 2012-04-03 15:07:23 · 1698 阅读 · 0 评论 -
算法学习【1】 - 1027. MJ, Nowhere to Hide
题目:http://soj.me/10271027. MJ, Nowhere to HideDescriptionOn BBS, there is a familiar term called MJ (short for MaJia), which means another BBS ID of one person besides his/her原创 2012-03-15 12:29:02 · 1642 阅读 · 0 评论 -
算法学习【2】 - 1020. Big Integer
题目:http://soj.me/10201020. Big IntegerDescriptionLong long ago, there was a super computer that could deal with VeryLongIntegers(no VeryLongInteger will be negative). Do you know原创 2012-03-15 13:39:15 · 1447 阅读 · 0 评论 -
算法学习【3】 - 1294. 高级机密
题目:http://soj.me/12941294. 高级机密Description 在很多情况下,我们需要对信息进行加密。特别是随着Internet的飞速发展,加密技术就显得尤为重要。 很早以前,罗马人为了在战争中传递信息,频繁地使用替换法进行信息加密。然而在计算机技术高速发展的今天,这种替换法显得不堪一击。因此密码研究人员正在试图寻找原创 2012-03-15 13:56:15 · 1455 阅读 · 0 评论 -
算法学习【4】 - 1381. a*b
题目:http://soj.me/13811381. a*bDescriptionGive two positive integers a and b, please help us calculate a*b.InputThe first line of the input is a positive integer T. T is the number原创 2012-03-15 14:37:50 · 1476 阅读 · 0 评论 -
算法学习【5】 - 1021. Couples
题目:http://soj.me/10211021. CouplesDescriptionN couples are standing in a circle, numbered consecutively clockwise from 1 to 2N. Husband and wife do not always stand together. W原创 2012-03-16 13:51:02 · 2158 阅读 · 0 评论 -
算法学习【15】—— 1176. Two Ends
题目来源:http://soj.me/11761176. Two EndsConstraintsTime Limit: 1 secs, Memory Limit: 64 MBDescriptionIn the two-player game "Two Ends", an even number of cards is laid out in原创 2012-07-25 22:05:46 · 2454 阅读 · 0 评论