|
|
back to boardI was using STL container to store inequal words When I was using STD::SET and STD::MAP, it was TLE #18. When I switched to STD::UNORDERED_SET and STD::UNORDERED_MAP, it was ACCEPTED 0.6 sec 38 MB. I was using reserve (1<<16) and max load factor of 0.25. Re: I was using STL container to store inequal words After replacing everything by STD::VECTOR Accepted 46 ms 15 MB |
|
|