#include <iostream> #include<string> #include<algorithm> using namespace std; int main() { string str; int sublen=0; while(getline(cin,str)){ bool flag=0; int comp[4]={0,0,0,0}; int len =str.size(); //字符长度 if(len<8) { //长度超过8 cout << "NG" <<endl; flag=1; co...