#include <iostream> using namespace std; int main() { int keyTab[26] = {1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 1, 2, 3, 4}; string str; while (cin >> str) { int time = 0; for (int i = 0; i < str.size(); i++) { //此处为str.size() ...