ADASHOP2 SOLUTION

In case anyone who want to read code for ADASHOP2 , I am posting my solution link here:
https://www.codechef.com/viewsolution/30079768
Suggestions are welcome!!!

3 Likes

I thought only I m going for that weird approach :stuck_out_tongue_winking_eye:

2 Likes

I did the same thing after thinking too much

2 Likes