摘要: 1034. 有理数四则运算(20)时间限制200 ms内存限制65536 kB代码长度限制8000 B判题程序Standard作者CHEN, Yue本题要求编写程序,计算2个有理数的和、差、积、商。输入格式:输入在一行中按照“a1/b1 a2/b2”的格式给出两个分数形式的有理数,其中分子和分母全是... 阅读全文
posted @ 2015-04-08 22:19 ~Arno 阅读(394) 评论(0) 推荐(0) 编辑
摘要: Problem Description Each employee of a bureaucracy has a job description - a few paragraphs that describe the responsibilities of the job. The employe... 阅读全文
posted @ 2015-04-04 13:12 ~Arno 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 03-树2. Tree Traversals Again (25)时间限制200 ms内存限制65536 kB代码长度限制8000 B判题程序Standard作者CHEN, YueAn inorder binary tree traversal can be implemented in a non... 阅读全文
posted @ 2015-03-31 09:43 ~Arno 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Given a tree, you are supposed to list all the leaves in the order of top down, and left to right.Input Specification:Each input file contains one tes... 阅读全文
posted @ 2015-03-26 17:06 ~Arno 阅读(436) 评论(0) 推荐(0) 编辑
摘要: 描述 某国为了防御敌国的导弹袭击,发展中一种导弹拦截系统。但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能高于等于前一发的高度。某天,雷达捕捉到敌国导弹来袭。由于该系统还在试用阶段,所以只用一套系统,因此有可能不能拦截所有的导弹。输入 第一行输入测试数据... 阅读全文
posted @ 2015-02-22 20:35 ~Arno 阅读(744) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionGiven an integer N(0 ≤ N ≤ 10000), your task is to calculate N!InputOne N in one line, process to the end of file.OutputFor each N,... 阅读全文
posted @ 2015-02-07 11:10 ~Arno 阅读(466) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionWe all know that Bin-Laden is a notorious terrorist, and he has disappeared for a long time. But recently, it is reported that he h... 阅读全文
posted @ 2015-02-07 00:46 ~Arno 阅读(234) 评论(0) 推荐(0) 编辑
摘要: Big NumberTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 27546Accepted Submission(s): 12525Proble... 阅读全文
posted @ 2015-01-22 16:04 ~Arno 阅读(190) 评论(0) 推荐(0) 编辑
摘要: MilkTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 14739Accepted Submission(s): 3643Problem Descr... 阅读全文
posted @ 2015-01-22 15:32 ~Arno 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 排序Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 37058Accepted Submission(s): 10501Problem Descri... 阅读全文
posted @ 2015-01-21 22:24 ~Arno 阅读(134) 评论(0) 推荐(0) 编辑