Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Slavko and Mirko learned about the mean in school today. So, related to the topic, Slavko asks Mirko some queries. There are 2 types of queries:
- 1)Add X into the array. What is the mean of the array now?
- 2)I added an element into the array and the mean is now A/B. What element did I add?
- Help Mirko and answer Slavko's queries!
Add Comment
Please, Sign In to add comment