AC in C++ 4.3.2 but Run-time error(SIGABRT) in C++ 4.8.1

I’ve submitted exactly the same code to this problem in both C++ 4.8.1 and C++ 4.3.2, but got RE in the former and AC in the latter one. Can anyone tell me why is that so?

Thanks in advance.

Brother, you should get your answer here:-

GCC 4.3 changes
GCC 4.8 changes

3 Likes

thanks bro…I’ll figure it out later (if you know what I mean)…
meanwhile if anyone gets what’s the problem is…please share it…