I have heard that he composed that piece on a 100-ruble bet.
Yes. That is right. He did it in a very short time.