摘要: #include #include using namespace std; bool fncomp (char lhs, char rhs) {return lhs>rhs;} struct classcomp { bool operator() (const char& lhs, const char& rhs) const { return lhs> maps... 阅读全文
posted @ 2019-01-02 21:44 super行者 阅读(847) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std; int main() { set st; st.insert("apple"); st.insert("orange"); st.insert("strawberry"); st.insert("peach"); st.insert("orange");... 阅读全文
posted @ 2019-01-02 21:03 super行者 阅读(108) 评论(0) 推荐(0) 编辑