不是双指针 想知道哪里错了
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int flag = 0; string s1,s2; ci……
最长不含重复字符的子字符串-题解(C++尺取法)
摘要:#include<bits/stdc++.h>
using namespace std;
signed main() {
string s;
cin>>s;
int res=-1;
……