摘要:
#include <iostream>#include <vector>#include <numeric> int main() { double a[]={1, 3, 5.4}; double b[]={1, 5, 7}; std::vector<double> v_a, v_b; for(si 阅读全文
posted @ 2018-08-25 15:01
东宫得臣
阅读(190)
评论(0)
推荐(0)
摘要:
#include <string>#include <iostream>#include <stack> int main() { std::string str="hello"; std::stack<char> reverse_str; std::cout<<str<<std::endl; fo 阅读全文
posted @ 2018-08-25 13:32
东宫得臣
阅读(540)
评论(0)
推荐(0)
摘要:
template <class T1, class T2>double ManhattanDistance(std::vector<T1> &inst1, std::vector<T2> &inst2) { if(inst1.size() != inst2.size()) { std::cout<< 阅读全文
posted @ 2018-08-25 12:56
东宫得臣
阅读(1763)
评论(0)
推荐(0)
浙公网安备 33010602011771号