由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 一道算法题,到现在也没弄明白,谁能帮忙看看。
相关主题
一道interview design pattern题 (转载)Perl插入MySQL中双引号的问题
convert Fortune code to Matlab问一个python的string split问题
史上最全!57个Web框架4轮横向对比 (zz)help on string parse
令人神往的MIT (转载)string /File IO processing using C
天方夜谭 节选istream_iterator问题
如何实现 strtok() ?how to read a sentence into a vector of string?
这个有更好的算法吗?我来贡献一个面试题吧
如何实现这个“time to send out email“?怎样才能用perl等东西知道c macro中的数值
相关话题的讨论汇总
话题: fortune话题: each话题: fortunes话题: random话题: several
进入Programming版参与讨论
1 (共1页)
t**********s
发帖数: 930
1
The fortune program on most *nix boxes displays a random fortune. Fortunes
are kept in several files in a particular directory (usually /user/share/
fortune). Each file contains several (many) fortunes, of various length.
Each fortune in a file is separated by a line w/some delimiter character,
typically '%'
When the program is run, a random fortune is chosen, and displayed on the
screen. This should be done quickly. You are to devise a scheme whereby the
time required to choose a fortune isn't
N*********y
发帖数: 105
2
must be a google question, hehe.
1 (共1页)
进入Programming版参与讨论
相关主题
怎样才能用perl等东西知道c macro中的数值天方夜谭 节选
诚心请教Perl:简单的Variable Match in Regular expression如何实现 strtok() ?
有没有类似strtok的函数这个有更好的算法吗?
(char **)返回值怎么用SWIG包成Python list (of strings如何实现这个“time to send out email“?
一道interview design pattern题 (转载)Perl插入MySQL中双引号的问题
convert Fortune code to Matlab问一个python的string split问题
史上最全!57个Web框架4轮横向对比 (zz)help on string parse
令人神往的MIT (转载)string /File IO processing using C
相关话题的讨论汇总
话题: fortune话题: each话题: fortunes话题: random话题: several