Need advice on CYCLCSUM

https://www.codechef.com/viewsolution/29752068

Can anyone please tell me what is wrong in my code, or bring an example that it fails

I think i do the same logic as the tutorial but with slightly different coding

Thanks a lot in advance

1 Like