Untitled
unknown
c_cpp
a year ago
211 B
3
Indexable
std::vector< int > getSquareVector( const std::vector< int >& vec ) { std::vector< int > result; for( auto const& e : vec ) { result.push_back( e * e ); } return result; }
Editor is loading...
Leave a Comment