Problem - CodeChef: Practical coding for everyone
My solution - uTGrCx - Online C++0x Compiler & Debugging Tool - Ideone.com
Why am I getting this error?
terminate called after throwing an instance of ‘std::length_error’
what(): basic_string::_M_replace_aux
Any help would be appreciated. Thank you