任务1
#include<iostream>
using namespace std;
void pass1()
{
char str[100];
cin.getline(str, 100);
cout << str << endl;
}
任务2
#include<iostream>
#include<string>
using namespace std;
void pass2()
{
string s1, s2;
cin >> s1 >> s2;
if (s1 > s2) cout << s1 + s2 << endl;
else cout << s2 + s1 << endl;
}
任务3
#include<iostream>
#include<string>
using namespace std;
void pass3()
{
string s1, s2;
cin >> s1 >> s2;
if (s1.find(s2) == s1.npos) cout << "no!" << endl;
else cout << s1.find(s2) << endl;
}