上一页 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 阅读(139) 评论(0) 推荐(0)
摘要: 给定两个整数A和B,其表示形式是:从个位开始,每三位数用逗号","隔开。 现在请计算A+B的结果,并以正常形式输出。 输入包含多组数据数据,每组数据占一行,由两个整数A和B组成(-10^9 < A,B < 10^9)。 请计算A+B的结果,并以正常形式输出,每组数据占一行。 阅读全文
posted @ 2018-10-02 11:09 bernieloveslife 阅读(230) 评论(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 阅读(140) 评论(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 阅读(153) 评论(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 阅读(196) 评论(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 阅读(205) 评论(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 阅读(136) 评论(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 阅读(177) 评论(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 阅读(314) 评论(0) 推荐(0)
摘要: 浙江桐乡乌镇共有n个人,请找出该镇上的前m个大富翁. 输入包含多组测试用例. 每个用例首先包含2个整数n(0<n<=100000)和m(0<m<=10),其中: n为镇上的人数,m为需要找出的大富翁数, 接下来一行输入镇上n个人的财富值. n和m同时为0时表示输入结束. 请输出乌镇前m个大富翁的财产 阅读全文
posted @ 2018-10-02 11:02 bernieloveslife 阅读(426) 评论(0) 推荐(0)
上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 76 下一页