http://www.spoj.com/problems/LEXISORT/
add -fsanitize=address-full