skill input

Jul 19, 2018 at 2:54pm
Why? How?

Please note that this is not a homework site. We won't do your homework for you. The purpose of homework is that you learn by doing. However we are always willing to help solve problems you encountered, correct mistakes you made in your code and answer your questions.

We didn't see your attempts to solve this problem yourself and so we cannot correct mistakes you didn't made and answer questions you didn't ask. To get help you should do something yourself and get real problems with something. If your problem is "I don't understand a thing", then you should go back to basics and study again.
Jul 20, 2018 at 6:43am
@keskiverto
I tried it and i am getting tle.
I just need a hint not solution.
Last edited on Jul 20, 2018 at 6:45am
Jul 20, 2018 at 10:14am
You're getting what?
Jul 21, 2018 at 7:18am
@keskiverto i have done brute force.... but what i feels is the only way out as we cant sort the array as we will be requiring it the next queries .. what else can be done? please give a hint nnot the soln.... I M GETING TLE .. i can even share code if required
Jul 21, 2018 at 3:38pm
closed account (3U5X216C)
Hi has anyone done this problem
Topic archived. No new replies allowed.