C++ std::inner_product works but shouldn't

后端 未结 0 1551
天涯浪人
天涯浪人 2021-02-04 12:07

I use std::inner_product to count length of common prefix in 2 strings:

string a = "abcdef", b = "abc";
size_t r = s         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题