📅  最后修改于: 2022-03-11 14:44:45.460000             🧑  作者: Mango
#include
#include
#include
using namespace std;
int main() {
array arraysort{ 4,2,3,5,1 };
sort(arraysort.begin(), arraysort.end());
for (int i = 0; i < arraysort.size(); i++) {
cout << arraysort[i] << " ";
}
return 0;
}