摘要: 题目: 给定 N 个实数,计算它们的平均值。但复杂的是有些输入数据可能是非法的。一个“合法”的输入是 [−] 区间内的实数,并且最多精确到小数点后 2 位。当你计算平均值的时候,不能把那些非法的数据算在内。 输入格式: 输入第一行给出正整数 N(≤)。随后一行给出 N 个实数,数字间以一个空格分隔。 阅读全文
posted @ 2019-08-19 21:47 hbhdhd 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 题目: Trouble came from the overseas lands: a three-headed dragon Gorynych arrived. The dragon settled at point C and began to terrorize the residents o 阅读全文
posted @ 2019-08-19 16:12 hbhdhd 阅读(169) 评论(0) 推荐(0) 编辑
摘要: Problem Description In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several 阅读全文
posted @ 2019-08-19 10:40 hbhdhd 阅读(143) 评论(0) 推荐(0) 编辑