Hello https://codeforces.net/contest/1392/problem/B I dont understand why my code fails? https://ideone.com/OvJGfP
Algo: if k is odd : then -=max from every element. if k is even: then dont do anything because the subtractions will eliminate each other like max-(max-x) = x
Thanks,