题解 1209: 密码截获

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

筛选

还是不理解为啥错了

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int ans = 0,maxx,flag,l,k,q,p;……

密码截获——python

摘要:解题思路:注意事项:参考代码:while True:    try:        L = input()        L2 = []        if len(L) == 1:         ……

又是一个动态规划的题

摘要:#include<iostream> using namespace std; int main() {     string s;     while(getline(cin,s))  ……

已是最短了,请放心食用

摘要:解题思路注意事项:参考代码:#include<stdio.h>#include<string.h>int  PalindromeString(char *s)//写一个函数来得到每一轮的结果,返回一个……

密码截获 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int huiwen_judge(int m,int k,char *s){    int l=m;    int l1=k;    f……

密码截获:模拟 + 剪枝

摘要:解题思路:模拟 + 剪枝注意事项:参考代码:#include<iostream>usingnamespacestd;boolispd(strin……

密码截获 (C语言代码)

摘要:解题思路:暴力获得一个字符串的所有部分,分别检查是否对称,如果是,比较它的长度与max注意事项:参考代码:#include<stdio.h>#include<string.h>#include<std……