首页 新闻 会员 周边 捐助

请教大神详解

0
悬赏园豆:20 [待解决问题]

Determine the size of an int variable, a double
variable, and a pointer on your computer. (The C++ operator sizeof might be
useful here if you do not already know the answer.)
(a) Calculate the break-even point, as a function
of n, beyond which the array-based list is more space efficient than the linked
list for lists whose elements are of type int.
(b) Calculate the break-even point, as a function of n, beyond which the array-based list is more space efficient than the linked list for lists whose elements are of typedouble.

晴空4320的主页 晴空4320 | 初学一级 | 园豆:182
提问于:2015-09-30 18:46
< >
分享
所有回答(1)
0

确定一个int变量的大小,一双
变量,和计算机上的指针。(C++运算符sizeof可能
在这里有用,如果你不知道答案。)
(一)计算出的盈亏平衡点,作为一个函数
N,超出该阵列列表更多的空间比EFfi有效链接
列表的元素是int类型列表
(b)计算盈亏平衡点,作为n的函数,超越基于数组列表更多的空间效率比EFfi链表链表元素是型。

 

翻译么??

如此低调的男人 | 园豆:842 (小虾三级) | 2015-09-30 19:07
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册