Problem Link : https://www.spoj.com/problems/MIXTURES/
My Solution Link:
Hey @amangoel987357
I checked ur code ,looks good to me
Also working in hackerblocks .
Also if u do
int n instead of ll n
&
collect n as int in fun
Then its giving WA on spoj instead of TLE but still correct ans on Hackerblocks .
So I guess its some issue with spoj compiler .
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOkay.
just to complete mandatory 20 characters.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.