100
中级农民
syf921006 发表于 2015-11-19 08:24 因为你只保存了非0元素呀,vector是稀疏的,这样就只需要保存很少。 hashmap存的话算dot product是没问题 ...
使用道具 举报
1111
高级农民
1152
ljdsoft 发表于 2015-12-12 11:31 楼主过了吗?
本版积分规则 发表回复 回帖后跳转到最后一页