HDU2054 A==B?
摘要:
题目地址:HDU2054将读出的浮点数保存在字符数组中(声明大小或者new一个),除去前置零和小数点后的后置零,若小数点后数全为零,则连小数点一起去掉。 注意:去掉后置零时 *p--=0 的表达方式。代码:#include#include#includeusing namespac... 阅读全文
posted @ 2015-10-03 22:12 师者为王 阅读(127) 评论(0) 推荐(0) 编辑
posted @ 2015-10-03 22:12 师者为王 阅读(127) 评论(0) 推荐(0) 编辑
posted @ 2015-10-03 21:34 师者为王 阅读(120) 评论(0) 推荐(0) 编辑
posted @ 2015-10-03 20:14 师者为王 阅读(1675) 评论(0) 推荐(0) 编辑
posted @ 2015-10-03 14:35 师者为王 阅读(218) 评论(0) 推荐(0) 编辑
posted @ 2015-10-03 12:17 师者为王 阅读(119) 评论(0) 推荐(0) 编辑
posted @ 2015-10-03 11:24 师者为王 阅读(487) 评论(0) 推荐(0) 编辑