(未排序的資料結構,如vector,只能用這個。) std::set::find. set的member function,使用binary search,複雜度O(log(n)),速度快上許多。
確定! 回上一頁