摘要: 查找数组中元素出现次数最多的元素,不同于一般的排序和使用Map的办法。可参考 1 #include<iostream> 2 using namespace std; 3 4 int main() 5 { 6 int a[8] = {1,2,3,4,3,2,5,3}; 7 int len = size 阅读全文
posted @ 2020-09-15 18:12 墨酒儿 阅读(914) 评论(0) 推荐(0)