last_hour's blog

By last_hour, history, 2 months ago, In English

Heyo Codefoworcers! As I was practicing some of the problems, I came across the problem 1553C - Penalty and while solving this I literally blown up CF OJ and my Laptop!!!

The fact is my 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!

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it