Heyo Codefoworcers!↵
As I was practicing some of the problems, I came across the problem [problem:1553C] and while solving this I literally blown up CF OJ and my Laptop!!! ↵
↵
The fact is my submission [submission:280945613] gets AC while getting {warning: control reaches end of non-void function [-Wreturn-type]} this on my laptop and also this is not the end!↵
↵
**The code breaks the range i from 0 to n = 10 and proceeds to i=10 ...you can check it out ↵
I ran this code on ideone.com it just works perfectly fine there as well, I literally don't have any idea about this. Even I changed compiler it still gets an AC. Drop your thoughts on it! ↵
↵
As I was practicing some of the problems, I came across the problem [problem:1553C] and while solving this I literally blown up CF OJ and my Laptop!!! ↵
↵
The fact is my submission [submission:280945613] gets AC while getting {warning: control reaches end of non-void function [-Wreturn-type]} this on my laptop and also this is not the end!↵
↵
**The code breaks the range i from 0 to n = 10 and proceeds to i=10 ...you can check it out ↵
I ran this code on ideone.com it just works perfectly fine there as well, I literally don't have any idea about this. Even I changed compiler it still gets an AC. Drop your thoughts on it! ↵
↵