文章
19
粉丝
0
获赞
4
访问
11.3k
#include<bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
string str;
while (n--) {
cin >> str;
if (str.size() < 8 || str.size() > 16) {
cout << "NO" << endl;
continue;
}
int flag[4] = { 0 };
for (int i = 0; i < str.size(); i++) {
if (str[i] >= 'A' && str[i] <= 'Z') {
flag[0] = 1;
}
&nb...
登录后发布评论
暂无评论,来抢沙发