摘要: Problem DescriptionThere must be many A + B problems in our HDOJ , now a new one is coming.Give you two hexadecimal integers , your task is to calculate the sum of them,and print it in hexadecimal too.Easy ? AC it !InputThe input contains several test cases, please process to the end of the file.Eac 阅读全文
posted @ 2014-01-06 14:38 段少 阅读(410) 评论(0) 推荐(1) 编辑
摘要: DescriptionAn earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wireless network with the lap computers, but an unexpected aftershock attacked, all computers in the network were all broken. The computers are repaired one by one, and the network gradually 阅读全文
posted @ 2014-01-06 13:35 段少 阅读(185) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionIn many applications very large integers numbers are required. Some of these applications are using keys for secure transmission of data, encryption, etc. In this problem you are given a number, you have to determine the number of digits in the factorial of the number.InputInput c 阅读全文
posted @ 2014-01-06 11:19 段少 阅读(121) 评论(0) 推荐(0) 编辑