数据结构:hash
数据结构:hash
LSD20164388
如果你过几天就忘了,那么你并没有真正的掌握。
展开
-
HDU 6231 K-th Number (2017CCPC哈尔滨 B)离散化+二分
K-th Number Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 3111Accepted Submission(s): 1126 Problem Description Alice are given an arrayA[1..N]withNnumbers. Now Alice want to build an...原创 2020-06-16 22:30:22 · 196 阅读 · 0 评论 -
牛客网暑期ACM多校训练营(第三场)E Sort String(KMP)
链接:https://www.nowcoder.com/acm/contest/141/E 来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K Special Judge, 64bit IO Format: %lld 题目描述 Eddy likes to play with string which is a sequen...原创 2018-07-26 20:53:57 · 184 阅读 · 0 评论 -
unordered_map的用法
转自https://blog.csdn.net/u012530451/article/details/53228098 在c++11以前要使用unordered_map需要 #include<tr1/unordered_map>//在unordered_map之前加上tr1库名, using namespace std::tr1;//与此同时需要加上命名空间...转载 2018-07-27 10:06:26 · 1082 阅读 · 0 评论