#include #include #include #include #include #include #include #include /// This Contest and Compile does not support C++11. //#include //#include //#include //#include using namespace std; char line[1024]; int main() { //cout<<"Hello World!"<='A'&&line[0]<='Z')||(line[0]>='a'&&line[0]<='z')||(line[0]=='_'))) { printf("no\n"); continue; } int len=strlen(line); bool done=false; for(int j=1;j='A'&&line[j]<='Z')|| (line[j]>='a'&&line[j]<='z')|| (line[j]=='_')|| (line[j]>='0'&&line[j]<='9') )) { printf("no\n"); done=true; break; } } if(!done) { printf("yes\n"); } } return 0; }