Source Code
#include<bits/stdc++.h>
using namespace std;
int main(){
    string s;cin>>s;
    string t="Atypical";
    for(int i=0;i<t.size();i++){
        bool f=0;
        for(int j=0;j<s.size();j++){
            if(tolower(s[j])==tolower(t[i])){
                f=1;
                //cout<<s[j]<<" "<<t[i]<<endl;
                break;
            }
        }
    if(!f){
        cout<<"No";
        return 0;
    }
}
 cout<<"Yes";

}
Copy
We Love Atypical X_404
GNU G++17
2 ms
204 KB
Wrong Answer