#include <iostream> #include <cstring> #include <algorithm> using namespace std; // ASCII字符转换 int transfer(char c1) { int dif = c1 - 48; if(dif < 10) return dif; if(dif >= 10) return c1 - 55; return 0; } int main() { string str; while(cin >> s...