摘要: 1007: TrianglesResultTIME LimitMEMORY LimitRun TimesAC TimesJUDGE3s8192K70202611StandardA triangle can be made up out of dots, like the ones shown below:The number of dots in each one is called a triangular number. More precisely, a number is said to be triangular if it is of the form ½ n(n+1). 阅读全文
posted @ 2012-07-30 16:09 dancingrain 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 1006: All your baseResultTIME LimitMEMORY LimitRun TimesAC TimesJUDGE3s8192K61952080StandardGiven a base, and two positive integers in decimal (base 10), convert the two numbers to the new base, add them, and display their sum in the new base.InputThree positive integers denoting the base and the tw 阅读全文
posted @ 2012-07-30 15:35 dancingrain 阅读(133) 评论(0) 推荐(0) 编辑