In the story, it said: "To avoid arousing unnecessary talk, he took from the table the writing in which the millions were renounced, and when he got home locked it up in the fireproof safe."
The watchmen had come back to tell the banker that the young man had escaped through the window, letting know that the young man lost the bet, and the banker won, letting him keep his money.
Answer: The Banker won.