博客园 首页 私信博主 显示目录 隐藏目录 管理
摘要: Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription统计给定的n个数中,负数、零和正数的个数。Input输入数据有多组,每组占一行,每行的第一个数是整数n(nint main(){ int m... 阅读全文
posted @ 2015-10-23 18:03 hfcnal 阅读(268) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription给定一段连续的整数,求出他们中所有偶数的平方和以及所有奇数的立方和。Input输入数据包含多组测试实例,每组测试实例包含一行,由两个整数m和n组成... 阅读全文
posted @ 2015-10-23 17:33 hfcnal 阅读(413) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription给你n个整数,求他们中所有奇数的乘积。Input输入数据包含多个测试实例,每个测试实例占一行,每行的第一个数为n,表示本组数据一共有n个,接着是n... 阅读全文
posted @ 2015-10-23 16:58 hfcnal 阅读(295) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription给定一个日期,输出这个日期是该年的第几天。Input输入数据有多组,每组占一行,数据格式为YYYY/MM/DD组成,具体参见sample inpu... 阅读全文
posted @ 2015-10-23 10:26 hfcnal 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription输入一个百分制的成绩t,将其转换成对应的等级,具体转换规则如下: 90~100为A; 80~89为B; 70~79为C; 60~69为D; 0~5... 阅读全文
posted @ 2015-10-23 09:13 hfcnal 阅读(404) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription求实数的绝对值。Input输入数据有多组,每组占一行,每行包含一个实数。Output对于每组输入数据,输出它的绝对值,要求每组数据输出一行,结果保... 阅读全文
posted @ 2015-10-23 09:07 hfcnal 阅读(258) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription输入三个字符后,按各字符的ASCII码从小到大的顺序输出这三个字符。Input输入数据有多组,每组占一行,有三个字符组成,之间无空格。Output... 阅读全文
posted @ 2015-10-23 08:58 hfcnal 阅读(390) 评论(2) 推荐(0) 编辑
摘要: F -City GameTime Limit:3000MSMemory Limit:0KB64bit IO Format:%lld & %lluBob is a strategy game programming specialist. In his new city building game t... 阅读全文
posted @ 2015-10-16 19:55 hfcnal 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription根据输入的半径值,计算球的体积。Input输入数据有多组,每组占一行,每行包括一个实数,表示球的半径。Output输出对应的球的体积,对于每组输入... 阅读全文
posted @ 2015-10-15 19:55 hfcnal 阅读(297) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription输入两点坐标(X1,Y1),(X2,Y2),计算并输出两点间的距离。Input输入数据有多组,每组占一行,由4个实数组成,分别表示x1,y1,x2... 阅读全文
posted @ 2015-10-15 19:39 hfcnal 阅读(265) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionYour task is to calculate the sum of some integers.InputInput contains an... 阅读全文
posted @ 2015-10-15 19:27 hfcnal 阅读(1587) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionYour task is to Calculate a + b.InputThe input will consist of a series o... 阅读全文
posted @ 2015-10-15 19:19 hfcnal 阅读(452) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionYour task is to calculate the sum of some integers.InputInput contains mu... 阅读全文
posted @ 2015-10-15 19:16 hfcnal 阅读(442) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionYour task is to calculate the sum of some integers.InputInput contains an... 阅读全文
posted @ 2015-10-15 19:07 hfcnal 阅读(559) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionYour task is to Calculate the sum of some integers.InputInput contains mu... 阅读全文
posted @ 2015-10-15 19:01 hfcnal 阅读(1565) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionYour task is to Calculate a + b.InputInput contains multiple test cases. ... 阅读全文
posted @ 2015-10-14 21:03 hfcnal 阅读(703) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionYour task is to Calculate a + b.InputInput contains an integer N in the f... 阅读全文
posted @ 2015-10-14 20:56 hfcnal 阅读(1029) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionYour task is to Calculate a + b. Too easy?! Of course! I specially design... 阅读全文
posted @ 2015-10-14 20:49 hfcnal 阅读(1030) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionCalculateA + B.InputEach line will contain two integersAandB. Process to ... 阅读全文
posted @ 2015-10-14 20:37 hfcnal 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 复习时间Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescription为了能过个好年,xhd开始复习了,于是每天晚上背着书往教室跑。xhd复习有个习惯,在复习完一门课后,他总是挑一门更... 阅读全文
posted @ 2015-08-26 20:39 hfcnal 阅读(199) 评论(0) 推荐(0) 编辑