Dorijanko

Prosjek(200)

Aug 23rd, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. 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:
  2. 1)Add X into the array. What is the mean of the array now?
  3. 2)I added an element into the array and the mean is now A/B. What element did I add?
  4. Help Mirko and answer Slavko's queries!
Add Comment
Please, Sign In to add comment