为什么会错?!
#include<bits/stdc++.h> using namespace std; int x,y,z;int a[10006]; string k,l; int main() { getline(cin,k); getline(cin,l); x=l.find(k); if(x!=-1) { cout<<k<<" is substring of "<<l; } else cout<<"No substring"; return 0; }
救救我