题解 1162: 密码

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

c++字符串简单解法

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std;int main(){ string str; int n; cin>>n; string ……

1162密码(简单的字符分类?)

摘要:解题思路:统计字符串中是否存在三种不同字符,但是奇怪的是,我一开始按照前面字符统计的题目去做,案列虽然过了,但是后面的答案错误,我一看题目要求,它要求的特殊字符只要它列出来的那几种,其他的都不行,这也……

1162: 密码(遍历)

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int m,cnt = 0; string s, ……

密码-题解(Python代码)

摘要:```python m=int(input()) for i in range(0,m): #输入m行密码 s=input() if len(s)>=8 and len(s)=……

编写题解 1162: 密码(C++)

摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main() {     int ……

【密码】 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    int M,a,b,c,d,i,j;    char str[60],……