上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 76 下一页
摘要: It is said that in 2011, there are about 100 graduate schools ready to proceed over 40,000 applications in Zhejiang Province. It would help a lot if y 阅读全文
posted @ 2018-10-02 11:10 bernieloveslife 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 给定两个整数A和B,其表示形式是:从个位开始,每三位数用逗号","隔开。 现在请计算A+B的结果,并以正常形式输出。 输入包含多组数据数据,每组数据占一行,由两个整数A和B组成(-10^9 < A,B < 10^9)。 请计算A+B的结果,并以正常形式输出,每组数据占一行。 阅读全文
posted @ 2018-10-02 11:09 bernieloveslife 阅读(221) 评论(0) 推荐(0) 编辑
摘要: Given an increasing sequence S of N integers, the median is the number at the middle position. For example, the median of S1={11, 12, 13, 14} is 12, a 阅读全文
posted @ 2018-10-02 11:09 bernieloveslife 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Grading hundreds of thousands of Graduate Entrance Exams is a hard work. It is even harder to design a process to make the results as fair as possible 阅读全文
posted @ 2018-10-02 11:08 bernieloveslife 阅读(145) 评论(0) 推荐(0) 编辑
摘要: This time, you are supposed to find A+B where A and B are two matrices, and then count the number of zero rows and columns. The input consists of seve 阅读全文
posted @ 2018-10-02 11:07 bernieloveslife 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 读入两个不超过25位的火星正整数A和B,计算A+B。需要注意的是:在火星上,整数不是单一进制的,第n位的进制就是第n个素数。例如:地球上的10进制数2,在火星上记为“1,0”,因为火星个位数是2进制的;地球上的10进制数38,在火星上记为“1,1,1,0”,因为火星个位数是2进制的,十位数是3进制的 阅读全文
posted @ 2018-10-02 11:06 bernieloveslife 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 题目描述: To store English words, one method is to use linked lists and store a word letter by letter. To save some space, we may let the words share the 阅读全文
posted @ 2018-10-02 11:05 bernieloveslife 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example, "helloworld" can be printed as: h d e l 阅读全文
posted @ 2018-10-02 11:04 bernieloveslife 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 如果A,B是C的父母亲,则A,B是C的parent,C是A,B的child,如果A,B是C的(外)祖父,祖母,则A,B是C的grandparent,C是A,B的grandchild,如果A,B是C的(外)曾祖父,曾祖母,则A,B是C的great-grandparent,C是A,B的great-gra 阅读全文
posted @ 2018-10-02 11:03 bernieloveslife 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 当n为3时,我们在验证xxx定律的过程中会得到一个序列,3,5,8,4,2,1,将3称为关键数,5,8,4,2称为覆盖数。现在输入n个数字a[i],根据关键数与覆盖数的理论,我们只需要验证其中部分数就可以确定所有数满足xxx定律,输出输入的n个数中的关键数。如果其中有多个关键数的话按照其输入顺序的逆 阅读全文
posted @ 2018-10-02 11:02 bernieloveslife 阅读(149) 评论(0) 推荐(0) 编辑
上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 76 下一页