Unless the cups are made of flour, neither. The first one is the most redeemable: just insert "of" between cup and flour. FYI: "of" is a popular preposition when uncountable nouns are being quantified.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.