百炼OJ
文章平均质量分 79
DrakePassge
这个作者很懒,什么都没留下…
展开
-
百炼OJ1006
描述Some people believe that there are three cycles in a person's life that start the day he or she is born. These three cycles are the physical, emotional, and intellectual cycles, and they have peri原创 2016-01-15 14:35:57 · 440 阅读 · 0 评论 -
百炼OJ1009
描述IONU Satellite Imaging, Inc. records and stores very large images using run length encoding. You are to write a program that reads a compressed image, finds the edges in the image, as described be原创 2016-01-19 11:38:05 · 784 阅读 · 0 评论 -
百炼OJ1001
描述Problems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt is a taxing experience for many computer sy原创 2016-01-13 19:13:46 · 642 阅读 · 0 评论 -
百炼OJ1002
描述英文字母(除Q和Z外)和电话号码存在着对应关系,如下所示:A,B,C -> 2D,E,F -> 3G,H,I -> 4J,K,L -> 5M,N,O -> 6P,R,S -> 7T,U,V -> 8W,X,Y -> 9标准的电话号码格式是xxx-xxxx,其中x表示0-9中的一个数字。有时为了方便记忆电话号码,我们原创 2016-01-14 00:09:43 · 586 阅读 · 0 评论 -
百炼OJ1004
描述Larry今年毕业并找到了一份工作。他赚很多钱,但似乎总是不够。Larry认为他需要控制他的投资以解决自己的财务问题。Larry拿到了自己的银行账户详单,想看看自己有多少钱。请帮助Larry写一个程序,通过过去12个月中每月的月末结余,计算平均结余。输入输入包含12行,每行包含一个数,为某个月的结余。每个数都是不大于1,000,000的正数,保留两位小数,省略"$"符。原创 2016-01-15 14:31:13 · 2745 阅读 · 0 评论 -
百炼OJ1005
描述Fred Mapper is considering purchasing some land in Louisiana to build his house on. In the process of investigating the land, he learned that the state of Louisiana is actually shrinking by 50 squ原创 2016-01-15 14:34:30 · 571 阅读 · 0 评论 -
百炼OJ1007
描述现在有一些长度相等的DNA串(只由ACGT四个字母组成),请将它们按照逆序对的数量多少排序。逆序对指的是字符串A中的两个字符A[i]、A[j],具有i A[j] 的性质。如字符串”ATCG“中,T和C是一个逆序对,T和G是另一个逆序对,这个字符串的逆序对数为2。输入第1行:两个整数n和m,n(0第2至m+1行:每行是一个长度为n的字符串输出按逆原创 2016-01-15 14:50:34 · 978 阅读 · 0 评论 -
百炼OJ1003
描述How far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of half a card length. (We're assuming that the cards must be perpendicular to the原创 2016-01-14 12:41:07 · 473 阅读 · 0 评论