This, from IRS ublication 526:
Costs of raffles, bingo, lottery, etc. You cannot deduct as a charitable contribution amounts you pay to buy raffle or lottery tickets or to play bingo or other games of chance. For information on how to report gambling winnings and losses, see Deductions Not Subject to the 2% Limit in Publication 529.