文章
1
粉丝
133
获赞
0
访问
8.5k
#include<iostream>
#include<cstdio>
#include<string>
#include<algorithm>
#include<vector>
#include<cctype>
using namespace std;
int main() {
string a, b;
while (cin >> a >> b) {
string ret;
int n1 = a.size(), n2 = b.size();
bool hit = false;
for (int i = n1; i >= 1; i--) {
for (int j = 0; j + i <= n1; j++) {
string temp = a.substr(j, i);
bool flag = true;
for (char e : temp) {
 ...
登录后发布评论
暂无评论,来抢沙发