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注册。

posted @ 2010-09-27 19:29  莫忆往西  阅读(95)  评论(0编辑  收藏  举报