摘要:
For example, given that the pattern ="abc", replace"abcdeffdfegabcabc"with"XdeffdfegX". Note that multiple occurrences ofabc's that are contiguous will be replaced with only one'X'. Solution:string& repalce(string& s, string ch) // the only problems 阅读全文
posted @ 2013-07-25 01:34
pgu2
阅读(199)
评论(0)
推荐(0)
浙公网安备 33010602011771号