//https://www.nowcoder.com/questionTerminal/20082c12f1ec43b29cd27c805cd476cd #include <map> #include <iostream> #include <cstdio> #include <cstring> using namespace std; int main() { map<char,int> inputTime = { //字母按几次 {'a',1},{'b',2},{'c',3}, ...