HELP ME - CHEF PIZZA PARTY

https://www.codechef.com/problems/PIZPAR
I was asked to write a program to find
out the maximum number of slices he can get following the constraints.

1
2
  1 ≤ M ≤ 2*105
  1 ≤ N,Ai ≤ 2*105
So what is your question?
We're not going to write the code for you.
Topic archived. No new replies allowed.