Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
copy_30-Seconds-of-C++
//g++ 5.4.0 #include<iostream> #include<vector> #include<algorithm> int main() { std::vector<int> origin {1, 2, 3}; std::vector<int> destination; std::copy(origin.begin(), origin.end(), std::back_inserter(destination)); // destination is now {1, 2, 3} for (auto value : destination) { std::cout << value << " "; } }
run
|
edit
|
history
|
help
0
Minimum Vertices to Traverse Directed Graph
Building squares using smallest amount of matches
Summation Of Primes
List add
TwoVarRegression
odws
enums
19 მარტს დამუშავებული
1744. Can You Eat Your Favorite Candy on Your Favorite Day?
Procesos E