Statistics for Continuous-time Quantum Algorithms: Searching and Adiabatic Computation