2015年7月24日

HDU 2054 A==B?

摘要: A == B ? Problem Description Give you two numbers A and B, if A is equal to B, you should print "YES", or print "NO". Input each test case contains tw 阅读全文

posted @ 2015-07-24 19:55 焰 阅读(145) 评论(0) 推荐(0) 编辑

HDU 1042 N!(大数阶乘)

摘要: N!Problem DescriptionGiven an integer N(0 ≤ N ≤ 10000), your task is to calculate N!InputOne N in one line, process to the end of fi... 阅读全文

posted @ 2015-07-24 18:10 焰 阅读(167) 评论(0) 推荐(0) 编辑

HDU 2005 第几天?

摘要: 第几天?Problem Description给定一个日期,输出这个日期是该年的第几天。Input输入数据有多组,每组占一行,数据格式为YYYY/MM/DD组成,具体参见sample input ,另外,可以向你确保所有的输入数据是合法的。Output对于每组输入... 阅读全文

posted @ 2015-07-24 18:07 焰 阅读(213) 评论(0) 推荐(0) 编辑

HDU 1201 18岁生日

摘要: 18岁生日Problem DescriptionGardon的18岁生日就要到了,他当然很开心,可是他突然想到一个问题,是不是每个人从出生开始,到达18岁生日时所经过的天数都是一样的呢?似乎并不全都是这样,所以他想请你帮忙计算一下他和他的几个朋友从出生到达18岁生日所... 阅读全文

posted @ 2015-07-24 18:03 焰 阅读(197) 评论(0) 推荐(0) 编辑

HDU 1212 Big Number(同余定理)

摘要: Big NumberProblem DescriptionAs we know, Big Number is always troublesome. But it's really important in our ACM. And today, your task is to... 阅读全文

posted @ 2015-07-24 18:01 焰 阅读(267) 评论(0) 推荐(0) 编辑

HDU 1047 Integer Inquiry

摘要: Integer InquiryProblem DescriptionOne of the first users of BIT's new supercomputer was Chip Diller. He extended his exploration of pow... 阅读全文

posted @ 2015-07-24 17:57 焰 阅读(157) 评论(0) 推荐(0) 编辑

ZJUTOJ大数乘

摘要: 大数乘 Time Limit:5000MS Memory Limit:32768KDescription:给定一些大数,请计算其积。Input:输入数据中含有一些整数对(对数≤1000),若某对整数(整数位数≤200)的值为0 0,则表示输入结束。Output:每对整数对应一个乘法计算结果,输出该结... 阅读全文

posted @ 2015-07-24 15:06 焰 阅读(344) 评论(0) 推荐(0) 编辑

HDU 1002 大数A+B

摘要: A + B Problem IIProblem DescriptionI have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of... 阅读全文

posted @ 2015-07-24 10:47 焰 阅读(193) 评论(0) 推荐(0) 编辑

导航