距某点最近的算法实现
摘要:
#include double dist(double i1, double i2) { return fabs(i1-i2); } int main() { vector iv; iv.push_back(1); iv.push_back(2); iv.push_back(3); iv.push_back(4.9); iv.push_back(6); iv.push_b... 阅读全文
posted @ 2010-10-18 21:58 flydream 阅读(249) 评论(0) 推荐(0) 编辑