Many bananas Problem code: LCH15JGH



wat’s wrong in this code


In 1-2 seconds you can perform around 10^6 operations( the online judge @ codechef can perform around 10^7 operations). Your code in the worst case will do atleast O(n^2) ~ 10^5 * 10^5 operations which will result in TLE.


but its giving me wa


getting wa