Many bananas Problem code: LCH15JGH

january
lunchtime

#1

wat’s wrong in this code
http://ideone.com/HDhMAP


#2

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.


#3

but its giving me wa


#4

getting wa