template<typename T> std::ostream & operator << (std::ostream & out, const std::vector<T> & v) { for(size_t i = 0 ; i < v.size(); i++ ) out << v[i] << std::endl; return out; }