九度
文章平均质量分 66
thistf
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【九度】题目1000:计算a+b
题目描述: 求整数a,b的和。 输入: 测试案例有多行,每行为a,b的值。 输出: 输出多行,对应a+b的结果。 样例输入: 1 2 4 5 6 9 样例输出: 3 9 15 import java.util.Scanner; public class Main { public static void main(Stri原创 2013-12-28 21:06:57 · 951 阅读 · 0 评论 -
【九度】题目1001:A+B for Matrices
题目描述: 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 several test cases, each原创 2013-12-28 21:10:23 · 818 阅读 · 0 评论 -
【九度】题目1002:Grading
题目描述: 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. One way is to assign each exam prob转载 2013-12-31 07:45:30 · 825 阅读 · 0 评论 -
【九度】题目1003:A+B
题目描述: 给定两个整数A和B,其表示形式是:从个位开始,每三位数用逗号","隔开。 现在请计算A+B的结果,并以正常形式输出。 输入: 输入包含多组数据数据,每组数据占一行,由两个整数A和B组成(-10^9 输出: 请计算A+B的结果,并以正常形式输出,每组数据占一行。 样例输入: -234,567,890 123,456,789原创 2014-01-03 12:16:45 · 722 阅读 · 0 评论 -
【九度】题目1004:Median
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, and the median of S2={9, 10, 15, 16, 17} is 15. The原创 2014-01-05 23:16:53 · 723 阅读 · 0 评论 -
【九度】题目1005:Graduate Admission
题目描述: 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 you could write a program to automate转载 2014-01-14 10:36:54 · 657 阅读 · 0 评论 -
【九度】题目1006:ZOJ问题
题目描述: 对给定的字符串(只包含'z','o','j'三种字符),判断他是否能AC。 是否AC的规则如下: 1. zoj能AC; 2. 若字符串形式为xzojx,则也能AC,其中x可以是N个'o' 或者为空; 3. 若azbjc 能AC,则azbojac也能AC,其中a,b,c为N个'o'或者为空; 输入: 输入包含多组测试用例,每行有一个只包含'z','o','j'三转载 2014-01-14 10:40:18 · 707 阅读 · 0 评论
分享