Programming Pearls Chapter 5 A Small Matter of Programming
/* Copyright (C) 1999 Lucent Technologies *//* From 'Programming Pearls' by Jon Bentley *//* http://www.cs.bell-labs.com/cm/cs/pearls/ *//* search.c -- test and time binary and sequential search Select one of three modes by editing main() below. 1.) Probe one function 2.) Test one function extensively 3.) Time all functions Input lines: algnum n numtests Output lines: algnum n numtests clicks nanosecs_per_elem See timedriver for algnum codes */#include
本文使用Blog_Backup未注册版本导出,请到soft.pt42.com注册。