## Pat(A) 1108. Finding Average (20)

### 原题目：

原题链接：https://www.patest.cn/contests/pat-a-practise/1108

1108. Finding Average (20)

The basic task is simple: given N real numbers, you are supposed to calculate their average. But what makes it complicated is that some of the input numbers might not be legal. A "legal" input is a real number in [-1000, 1000] and is accurate up to no more than 2 decimal places. When you calculate the average, those illegal numbers must not be counted in.