第一道,01交错串,代码如下: #include <iostream> #include <string> #include <algorithm> using namespace std; using size_type = string::size_type; int main() { string str; while(cin>>str){ size_type start = 0; size_type end = 0; size_type maxlen = 1; for(size_type i=1;...