Output incorrect

this ques. pass has passed partial…for n=15 then never be pass the test case
ques::https://www.codechef.com/JUNE20B/problems/CHFICRM
code::https://ide.codingblocks.com/s/251796

@Kamal_it sorry but ongoing contest discussion are not allowed so just mark the doubt as resolved :smiley: