usaco-guide
usaco-guide copied to clipboard
POI 2004 Spies
module link:https://usaco.guide/solutions/poi-04-szp?lang=cpp
Explain the optimizations to get from the MLE code to the AC code
specifically, turning the
vi adj[mx]
into
int adj[mx]
Can you do it? :((
I can do it.
why did 3 prs related to this get closed what
Believe the first two weren't meant to be open, the last one didn't have a complete explanation so it was eventually closed due to staleness.
i looked at the solution why is this problem in the tree dp module if the solution doesn't involve tree dp
It's related to "Tree Matching" from the module
Alternative way to get past the ML: https://codeforces.com/blog/entry/67883