ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1835. Swamp Doctor

how to optimize memory
Posted by Shen Yang 6 May 2018 13:19
my solution is very fast using trie,but unfortuntly it use 1e6*27 memory ,and it is hard to optimize
Re: how to optimize memory
Posted by Shen Yang 6 May 2018 14:52
I use adj list  to construct tries and get AC.. 171ms 5W+K