正在加载……
← 返回 goldmansachs 的题目列表
Minimum Number of Socks
类型:online_judge
There are 2 blue socks, 10 white socks, and 50 red socks. How many socks must you draw at minimum to ensure you have at least one matching pair? Example Input 2 blue, 10 white, 50 red