Map實現從0~100中隨機生成50個數,統計出現的數字最大值和最小值,輸出出現最多的次數及對應的數字

Map實現從0~100中隨機生成50個數,統計出現的數字最大值和最小值,輸出出現最多的次數及對應的數字ios   #include "stdafx.h" #include <iostream> #include <map> #include <fstream> #include <time.h> using namespace std; int main() { map<int,int
相關文章
相關標籤/搜索