func_code_string: #include <bits/stdc++.h>   const int N = 1e6 + 10;   const int mod = 1e9 + 7;   const int INF = 0x3f3f3f3f;   using namespace std;   int gcd(int a, int b) { return b ? gcd(b, a % b) : a; }   int lcm(int a, int b) { return a / gcd(a, b) * b; }   inline int read() {     int X = 0;     bool flag = 1;     char ch = getchar();     while (ch< 0  | ch>  9 ) {       if (ch ==  - ) flag = 0;       ch = getchar();     }     while (ch >=  0  && ch <=  9 ) {       X = (X << 1) + (X << 3) + ch -  0 ;       ch = getchar();     }     if (flag) return X;     return ~(X - 1);   }   int t;   string s;   int main() {     ios::sync_with_stdio(false);     cin.tie(0);     cout.tie(0);     cin >> t;     while (t--) {       cin >> s;       sort(s.begin(), s.end());       bool flag = true;       for (int i = 0; i <= (int)s.size() - 2; ++i) {         if (s[i] + 1 != s[i + 1]) {           flag = false;           break;         }       }       if (flag)         cout <<  YES n ;       else         cout <<  NO n ;     }     return 0;   }   