알고리즘

[알고리즘] 백준 25372 - 성택이의 은밀한 비밀번호

blueberrysoda 2024. 7. 11. 23:56
#include<iostream>
using namespace std;

int main(){
    int N; 
    string S;
    
    cin >> N;
    for(int i=0; i<N; i++){
        cin >> S;
        if(S.length() >= 6 && S.length() <= 9){
            cout << "yes\n";
        } 
        else{
            cout << "no\n";
        }
    }

    return 0;
}