📅  最后修改于: 2022-03-11 14:44:46.942000             🧑  作者: Mango
#include // std::sort
int myints[] = {32,71,12,45,26,80,53,33};
// using default comparison (operator <):
std::sort (myvector.begin(), myvector.begin()+4); //(12 32 45 71)26 80 53 33
// fun returns some form of a