Hi, I've been trying to solve this problem(Building Blocks on codechef) for some time now but always end up with a WA.
I have matched my output for all inputs(n = 0 to 10^5) with that from an AC code and found no differences.
When I submit my code it fetches me a WA while the other code gives an AC veridct. :(
My submission: https://www.codechef.com/viewsolution/15623378
AC code with which i matched my output : https://www.codechef.com/viewsolution/15618920
I can't seem to understand whats wrong. Is this an issue of the judge? Any help would be appreciated.