
期中考试
anniewwy
这个作者很懒,什么都没留下…
展开
-
Two Stacks In One Array
6-1 Two Stacks In One Array (20 分)Write routines to implement two stacks using only one array. Your stack routines should not declare an overflow unless every slot in the array is used.Format of f...原创 2018-11-08 19:22:20 · 358 阅读 · 0 评论 -
Quick Power
6-3 Quick Power (10 分)The function Power calculates the exponential function Nk. But since the exponential function grows rapidly, you are supposed to return (Nk)%10007instead.Format of func...原创 2018-11-08 22:49:07 · 2575 阅读 · 0 评论