枯叶北风寒,忽然年以残,念往昔,语默心酸。二十光阴无一物,韶光贱,寐难安; 不畏形影单,道途阻且慢,哪曲折,如渡飞湍。斩浪劈波酬壮志,同把酒,共言欢! -如梦令
{5, 8}
Returns: 40.0
{1.5, 1.8}
Returns: 3.3
{8.26, 7.54, 3.2567}
Returns: 202.82857868
{1.5, 1.7, 1.6, 1.5}
Returns: 9.920000000000002
{10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10}
Returns: 1.0E50
发现偶还是太水了。。。
谁能证明下这份代码的正确性?
posted on 2010-03-02 22:27 abilitytao 阅读(1052) 评论(0) 编辑 收藏 引用
Powered by: C++博客 Copyright © abilitytao