摘要:
#include #include #include #include #include #include using namespace std; //返回一个迭代器指向找到的元素 vector::iterator search_vec(vector::iterator beg, vector::iterator end, int val){ for (; beg != end; be... 阅读全文
摘要:
#include #include #include #include #include #include using namespace std; /*istream & f(istream&in){ string v; while (in>>v,!in.eof()) { if (in.bad()) throw runtime_error("IO流错误"); if ... 阅读全文