What is mistake in my code
Hi @spagire4 ,u need to initialize A with 0 at line 7 using vector<vector>A(2,vector(2,0));
and the your answer should be comp(m+2)-comp(n+1) instead of comp(n+2)
Here , i have corrected your code : -
@O17LPOLA020023 Thank u sir u clear my doubts in most magnificant way.Thanks for it,in further doubts of course if at discussion forum can i directly approach u
yeah !! tag me in case u have any doubt