摘要: !!!题目地址!!! class Solution { public: double average(vector<int>& salary) { int maxNum = salary[0]; int minNum = salary[0]; int total = 0; for (int i = 阅读全文
posted @ 2022-05-17 23:47 ReaIms 阅读(28) 评论(0) 推荐(0)
摘要: !!!题目链接!!! class Solution { public: int countOdds(int low, int high) { return (high-low-high%2-low%2)/2 + high%2 + low%2; } }; 阅读全文
posted @ 2022-05-17 23:17 ReaIms 阅读(24) 评论(0) 推荐(0)