#includeusing namespace std; map ,int> cnt; vector >> ans; int main() { ios::sync_with_stdio(false); int n,m;cin>>n>>m; for(int i=0;i line; for(int j=0;j >x; line.push_back(x); } cnt[line]++; } for(auto [k,v]:cnt) ans.push_back({-v,k});//C++ 17 版本 sort(ans.begin(),ans.end()); cout< 欢迎分享,转载请注明来源:内存溢出
PTA L2-039 清点代码库 (25 分)
L2-039 清点代码库 (25 分)
赞
(0)
打赏
微信扫一扫
支付宝扫一扫
python3的安装
上一篇
2022-12-16
python2.7安装 scipy
下一篇
2022-12-16
评论列表(0条)