LCP 06. 拿硬币 Poison 2023-09-20 Greedy 123456789class Solution { public int minCount(int[] coins) { int count = 0; for (int coin : coins) { count += (coin + 1) / 2; } return count; }} ReferencesLCP 06. 拿硬币