>>269
ぱっと見こんなかんじかな。

>using namespace std;
これ消して
#include <vector>
を追加。

>vecotr<double> v;
を
std::vector<double> v;
にする。