Playground
//koristi C++11 - http://mendo.mk/Lecture.do?id=26 #include <bits/stdc++.h> using namespace std; int main() { vector<int> v = {10, 5, 7}; sort(v.begin(), v.end()); for(auto number : v) { cout << number << endl; } return 0; }
Input data
Program output
Execute
Language: ????????? | Memory: ???? KB | Time: ??? ms
Nothing has been executed, yet!