STL Vector

xiaoxiao2021-04-08  387

* # include #include #include

Using namespace std;

Void Main (Void) {Vector Num; // STL in the VECTOR container INT ELEMENT;

// Read the integer from the standard input device, / / ​​until the input is not integer data, while (Cin >> Element) Num.push_back (element);

Sort algorithm in // STL (Num.Begin (), Num.end ());

// output the sort result to the standard output device for (int i = 0; I

转载请注明原文地址:https://www.9cbs.com/read-132737.html

New Post(0)