摘要: Question:Given an interger X and intergers A0,A1,……,A(n-1), which are presorted and already in memory,find i such that Ai=X, or return i=-1 if X is no... 阅读全文
posted @ 2014-04-15 22:00 猫了个妖喵 阅读(143) 评论(0) 推荐(0) 编辑
摘要: list简介#inlude 实质为双向链表是类模板实例化example: 1 //instantiate an empty list 2 list listA; 3 4 //instantiate a list with 7 intergers,each initialized to 0 5 li... 阅读全文
posted @ 2014-04-15 13:23 猫了个妖喵 阅读(125) 评论(0) 推荐(0) 编辑