As a general rule of thumb, anything that you aren't 99% confident you can code from scratch should be stored in the notebook. Especially in high-pressure situations, if there's any doubt that you might screw up, you should probably add it.
The Stanford notebook last year had a number of implementations of network flow, geometry subroutines, number theory subroutines, FFT, suffix arrays, BITs, and KMP. We didn't use our notebook at all during World Finals (nor do we think that having adding anything would have helped greatly).
Read other related questions on Quora:
- What are some of the most important data structures and algorithms for online rounds of ACM ICPC? Can I start now and get selected for regionals in India?
- What are some ways to simplify the data structure "rope" for ACM-ICPC?
- What are the most important data structures needed to reach the ACM-ICPC World Finals?
from Quora http://ift.tt/29NmEtB
No comments:
Post a Comment