麻烦大佬看看我这个为啥显示答案错误
#include<iostream>
using namespace std;
int main()
{
int num;
cin >> num;
for (int j = 0; j < num; j++)
{
string arr;
int a = 0, b = 0, c = 0, d = 0;
int sum = 0;
cin >> arr;
int x = arr.length();
if (x >= 8 && x <= 16)
{
for (int i = 0; i < x; i++)
{
if (arr[i] >= 48 && arr[i] <= 57)
{
a = 1;
}
if (arr[i] >= 65 && arr[i] <= 90)
{
b = 1;
}
if (arr[i] >= 97 && arr[i] <= 122)
{
c = 1;
}
if (arr[i] == ',' || arr[i] == '!' || arr[i] == '@' || arr[i] == '#' || arr[i] == '$' || arr[i] == '%' || arr[i]=
2021-03-05 16:54:32