Source Code
   #include<bits/stdc++.h>
    using namespace std;
#define  ll long long
#define Min_Element(a)    (*min_element((a).begin(), (a).end()))
#define Max_Element(a)    (*max_element((a).begin(), (a).end()))
    int main() {
        ios_base::sync_with_stdio(0);
        cin.tie(0);
        cout.tie(0);
            string s;
            cin>>s;
            int count=0;
            vector<int>v(26,0);

            int A=0 ,T=0 ,Y=0, P=0  ,I=0,C=0,a=0 ,L=0 ;
        for (int i = 0; i <s.size(); ++i) {
            if (s[i]=='A') A++;
            else if (s[i]=='t') T++;
            else if (s[i]=='y') Y++;
            else if (s[i]=='p') P++;
            else if (s[i]=='i') I++;
            else if (s[i]=='c') C++;
            else if (s[i]=='a') a++;
            else if (s[i]=='l') L++;
            //Atypical"
        }
        if ( A and T and Y and P and I and C and a and L) cout<<"Yes";
        else cout<<"No";
    }
Copy
We Love Atypical AhmedEzzat
GNU G++17
0 ms
360 KB
Wrong Answer