>Yes, but the correct thing to do in this situation is to pay the $5,000 for the Hello World program, NOT post it (you never promised to publicize the results)
Just to play the devil's advocate, what's stopping unscrupulous companies from canceling the prize and saying they did the above?
They say, "I'm sorry, you weren't the winner" to any contestant who asked, and without a public announcement of who the winner was, they could get away without paying the prize money to anyone.