Solution:
Answer: 35
Consider the number of beans Alice has in base 5. Note that 2008=310135, 42=1325, and 100=4005. Now, suppose Alice has dk⋯d2d1 beans when she wins; the conditions for winning mean that these digits must satisfy d2d1=32, dk⋯d3≥310, and dk⋯d3=4i+1 for some i.
To gain these dk⋯d2d1 beans, Alice must spend at least 5(d1+d2+⋯+dk)+k−1 cents (5 cents to get each bean in the "units digit" and k−1 cents to promote all the beans). We now must have k≥5 because dk⋯d2d1>2008. If k=5, then dk≥3 since dk⋯d3≥3100; otherwise, we have dk≥1.
Therefore, if k=5, we have 5(d1+d2+⋯+dk)+k−1≥44>36; if k>5, we have 5(d1+d2+⋯+dk)+k−1≥30+k−1≥35. But we can attain 36 cents by taking dk⋯d3=1000, so this is indeed the minimum.