Let's notice that

Hence you can:
* take 10 times the 100-mL cup
* take 2 times the 500 mL cup.
Here are some other ways you could have done it:
* use once the 500 mL cup, once the 300 mL cup and twice the 100 mL cup
* use three times the 300 mL cup and once the 100 mL cup
* etc.