关于string类型的问题

学术版

@[Skeleton](/space/show?uid=59558) 大概是 ```cpp auto res = s2.find(s1); int pos = res != std::string::npos ? res : -1; ``` 吧
by Anguei @ 2018-08-11 00:19:45


@[Skeleton](/space/show?uid=59558) emmm... 能给个例子说一下什么时候能够匹配吗
by Prurite @ 2018-08-11 07:18:39


yyf巨佬!
by _ztyqwq @ 2018-08-11 08:26:45


@[yyfcpp](/space/show?uid=53062) 通过题目颜色统计怎么做,求Py3代码……(附:需要什么下载的库啊)
by _ztyqwq @ 2018-08-11 08:27:22


@[刷题永动机](/space/show?uid=73645) 都说了是 Py2.。
by Anguei @ 2018-08-11 15:24:22


emm
by _ztyqwq @ 2018-08-11 17:33:13


|