Moving Average from Data Stream

给一个steam和size, 求平均数. 用queue.