alphcode spoj SIGABRT, although code works fine on ideone

the link to the prob : SPOJ.com - Problem ACODE
my code : i8Di2j - Online C++0x Compiler & Debugging Tool - Ideone.com
one of the accepted sol : WyQBBn - Online C++0x Compiler & Debugging Tool - Ideone.com

it will give runtime error for string of smaller lengths .

ideone link

see the error on ideone link .The error is self explanatory :slight_smile:

1 Like