reference problem https://www.codechef.com/problems/HBOB02
here in this problem i solved it using below code but firstly i used arrays instead of vector but there i got w