I hope you're not waiting for all the answers to figure this out. You've only got 10 seconds before you can't eat the pudding! Actually, with pudding, I probably wouldn't eat it. Now, if it were a bag of M&M's, I'd eat those regardless of how long they were on the floor. Just brush 'em off.
Maybe just eat the part that hasn't touched the floor.