#include <iostream> #include <vector> #include <map> using namespace std; int n,m,c,num_i,kind,sum; map<int,int> mymap; map<int,int>::iterator it; void caltimes(vector<vector<int>> fnum) { &nbs...