?>
Можете изменить код? С++ #include using namespace std; int main() { string str; cin>>str; int flag=0; for(int i=0;i =33&&str[i]<=126){ if(str[i]=='H'||str[i]=='Q'||str[i]=='9') flag=1; } } if(flag){ cout<<"YES"; }else{ cout<<"NO"; } return 0; }
Ответы
#include<conio.h> using namespace std; #include <math.h> ... setlocale(0, "" ); int k; cout << "Введите значение K: "; cin >> k; if(k > ... string::npos) { uiEndPos = str.rfind(')'); if ( uiEndPos
Объяснение:
это правильно поверь