基于map关键字查找字符个数
自看
题目:
小明现在在做课程设计
他现在有一个模块需要实现
这个模块的字符频度统计的功能 并且出现的次数从小到大排序 并且如果出现频度相同我们就按字典序排序: 例如他把这一段代码的字频统计出来
#include<stdio.h>
#include<math.h>
#define N 111110
//#define cin(x) scanf("%d",&x)
#define cin(x) ((x)=read())
#define cout(x) printf("%
原创
2021-07-18 22:57:34 ·
186 阅读 ·
0 评论