foo.cc: In function 'int Diff(std::__cxx11::string)':
foo.cc:6:18: error: 'std::__cxx11::string {aka class std::__cxx11::basic_string<char>}' has no member named 'lengh'; did you mean 'length'?
for(int i=0;i<s.lengh();i++)
^~~~~
length
foo.cc: In function 'int main()':
foo.cc:24:33: error: 'Endl' was not declared in this scope
cout<<Diff(s1)<<" "<<Diff(s2)<<Endl;
^~~~
foo.cc:24:33: note: suggested alternative: 'ynl'
cout<<Diff(s1)<<" "<<Diff(s2)<<Endl;
^~~~
ynl
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务