B*********h 发帖数: 800 | 1 ☆─────────────────────────────────────☆
BulletTooth (DesertEagle.50) 于 (Sun Jul 9 21:59:14 2006) 提到:
Character Sequence Monitoring
面试公司:
面试部门:
面试职位:
*****
问题:
*****
Unless you have been asked to use a specific language write the program in any
programming language that you know well (no pseudo-code). The program
should monitor a possibly infinite stream of characters from the keyboard (
standard input). If it detects the sequence "aaa" it outputs a "0". If
it detects the seq |
|