#include using namespace std; vector allCase(4,false); int minimumNumber(int n, string password) { // Return the minimum number of characters to make the password strong int i = 0; string sc = "!@#$%^&*()-+"; while(password[i]){ if(password[i]>='a' && password[i]<='z') allCase[0] = true; if(password[i]>='A' && password[i]<='Z') allCase[1] = true; if(password[i]>='0' && password[i]<='9') allCase[2] = true; for(int j=0; j> n; string password; cin >> password; int answer = minimumNumber(n, password); cout << answer << endl; return 0; }