The simple program is giving wrong answer when I used “array of float” and as I changed it to “array of int” the It Gave correct answer, why so ?
PS :- This program requires to find the average of elements of some remaining element
after doing manipulation as given in question.
-
Question Link : SIMPSTAT Problem - CodeChef
-
Correct Answer : CodeChef: Practical coding for everyone
-
Wrong Answer : CodeChef: Practical coding for everyone