1 #include2 #include3usingnamespace std; 4int main() 5{ 6int n; 7 cin >> n; 8 getchar(); 9while (n--) 10 { 11string a; 12 getline(cin,a); 13if (isalpha(a[0])||a[0]=='_')//isalpha(a)判断a是否为字母,若是则返回0; 14 { 15int flag =1; 16for (int i =1; i