
HDOJ
散人的纪念
小代码
展开
-
HDOJ_1000_C
//////时间:2013-7-15//作者:小代码////编译器:CodeBlocks////题目:////Description////Calculate a+b//Input////Two integer a,b (0<=a,b<=10)//Output////Output a+b//Sample Input////1 2//Sample Outpu原创 2013-07-15 23:01:10 · 213 阅读 · 0 评论 -
HDOJ_最小公倍数
题目:Problem Description给定两个正整数,计算这两个数的最小公倍数。 Input输入包含多组测试数据,每组只有一行,包括两个不大于1000的正整数. Output对于每个测试用例,给出这两个数的最小公倍数,每个实例输出一行。 Sample Input10 14原创 2013-07-17 18:01:36 · 243 阅读 · 0 评论 -
HDOJ_1001 Sum Problem
Problem DescriptionHey, welcome to HDOJ(Hangzhou Dianzi University Online Judge).In this problem, your task is to calculate SUM(n) = 1+ 2 + ... + n InputThe input will consist of a series of原创 2013-09-28 02:35:05 · 299 阅读 · 0 评论 -
HDOJ_1001 Sum Problem
Problem DescriptionHey, welcome to HDOJ(Hangzhou Dianzi University Online Judge).In this problem, your task is to calculate SUM(n) = 1+ 2 + ... + n InputThe input will consist of a series of原创 2013-09-28 02:37:03 · 275 阅读 · 0 评论 -
HDOJ_1000 A + B Problem
Problem DescriptionCalculate A + B1、[calculate] verb 计算,核算 InputEach line will contain two integers A and B.Process to end line.1、[contain] verb 包含,含有2、[process] verb 加工,处理 OutputF原创 2013-09-28 02:31:50 · 290 阅读 · 0 评论