I wanted to know about how Codechef handles failed assertions. Or does it simply ignore them using the “-O” switch?
You can do your own test using some problem in practice section.
I didn’t try it yet, but in FAQ it’s written, that failed assertions throws SIGABRT (in C++).
assert statements are probably ingored, because there is no
-ea defined (at least I do not know about it).