摘要: IncredibleTime Limit:2000ms,Special Time Limit:5000ms,Memory Limit:65536KBTotal submit users:9,Accepted users:8Problem 12312 :No special judgementProblem descriptionZhuge Liang, a person?of?great?wisdom?and?resourcefulness, who is capable of knowing things 500 years ago and predicting things 500 yea 阅读全文
posted @ 2012-07-19 21:52 黑色的铅笔 阅读(157) 评论(0) 推荐(0) 编辑
摘要: FibnaccistringTime Limit:1000ms,Special Time Limit:2500ms,Memory Limit:65536KBTotal submit users:208,Accepted users:172Problem 10805 :No special judgementProblem descriptionThe Fibnacci string is as follows:S1=bS2=aSk=Sk-1Sk-2k>2We are given a string, is there a Fibnacci string?InputThe input wil 阅读全文
posted @ 2012-07-19 21:51 黑色的铅笔 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 幻方矩阵Time Limit:4000ms,Special Time Limit:8000ms,Memory Limit:2048KBTotal submit users:547,Accepted users:367Problem 10029 :Special judgeProblem description幻方是一种很有意思的数字矩阵,在很早著名的九宫八卦阵就与幻方有关。幻方的定义为:1 到 N*N 的整数填入N*N的方格中,每行和每列以及对角线的数字之和必须是相等的。你作为八卦公司的顶级程序员,现在需要你解决一个问题,将任意奇数阶的幻方找出来。Input输入包括多个测试集,每行为一个正奇数 阅读全文
posted @ 2012-07-19 21:50 黑色的铅笔 阅读(817) 评论(0) 推荐(0) 编辑
摘要: XorTime Limit:1000ms,Special Time Limit:2500ms,Memory Limit:32768KBTotal submit users:109,Accepted users:92Problem 11130 :No special judgementProblem descriptionWe all know that huicpc302 is good at maths, now he does a job below.At first he got a n numbers.Then he got a function below:long long Cal 阅读全文
posted @ 2012-07-19 21:49 黑色的铅笔 阅读(184) 评论(0) 推荐(0) 编辑
摘要: LongestOrderedSubsequenceTime Limit:1000ms,Special Time Limit:2500ms,Memory Limit:32768KBTotal submit users:1884,Accepted users:1572Problem 10001 :No special judgementProblem descriptionA numeric sequence ofaiis ordered ifa1<a2< ... <aN. Let the subsequence of the given numeric sequence (a1 阅读全文
posted @ 2012-07-19 21:46 黑色的铅笔 阅读(754) 评论(0) 推荐(0) 编辑
摘要: TheBraveSirRobin’scAsEcOrReCtOrTime Limit:2000ms,Special Time Limit:5000ms,Memory Limit:65536KBTotal submit users:48,Accepted users:28Problem 10931 :No special judgementProblem descriptionDissatisfied with the loud and constant pronouncements of his alleged misdeeds by a trio of indefatigable minstr 阅读全文
posted @ 2012-07-19 21:43 黑色的铅笔 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 字符串的修改Time Limit:1000ms,Special Time Limit:2500ms,Memory Limit:32768KBTotal submit users:235,Accepted users:221Problem 10411 :No special judgementProblem description设A和B是两个字符串。我们要用最少的字符操作次数,将字符串A转换为字符串B。这里所说的字符操作共有三种:1. 删除一个字符;2. 插入一个字符;3. 将一个字符改为另一个字符。对任给的两个字符串A和B,计算出将字符串A变换为字符串B所用的最少字符操作次数。Input第一 阅读全文
posted @ 2012-07-19 21:21 黑色的铅笔 阅读(436) 评论(0) 推荐(0) 编辑
摘要: SimplySyntaxTime Limit:1000ms,Special Time Limit:2500ms,Memory Limit:32768KBTotal submit users:89,Accepted users:84Problem 10224 :No special judgementProblem descriptionIn the land of Hedonia the official language is Hedonian. A Hedonian professor had noticed that many of her students still did not 阅读全文
posted @ 2012-07-19 21:20 黑色的铅笔 阅读(203) 评论(0) 推荐(0) 编辑
摘要: lettersTime Limit:1000ms,Special Time Limit:2500ms,Memory Limit:32768KBTotal submit users:34,Accepted users:32Problem 12316 :No special judgementProblem descriptionMr Sythe is teaching an ESOL class about repeated letters in English words. As an exercise,he gets his students to replace all the repea 阅读全文
posted @ 2012-07-19 21:17 黑色的铅笔 阅读(164) 评论(0) 推荐(0) 编辑
摘要: HelloKittyTime Limit:1000ms,Special Time Limit:2500ms,Memory Limit:32768KBTotal submit users:295,Accepted users:282Problem 10639 :No special judgementProblem descriptionKitty sends a kind of original email messages to her friend Garf. To write a message, she chooses a word W and a number n and repli 阅读全文
posted @ 2012-07-19 21:16 黑色的铅笔 阅读(277) 评论(0) 推荐(0) 编辑