Pregunta de entrevista de Yandex

Find an unusual undefined behaviour in my own code