08 2021 档案
摘要:#include<iostream> #include<string> #include<sstream> #include<vector> using namespace std; int main() { //input:3 2 5 4 6 5 8 7 string line; getline(
阅读全文
摘要:C++ STL find函数总结 ##适用场景: ###1. hash stl的哈希map有专门的find****&&****count函数用来查找是否存在某个key 具体用法见用例 /* * 哈希表的find返回的是一个迭代器,可以通过x->first访问Key,x->second访问val,如果
阅读全文