#include <iostream>
#include <vector>
using std::cout;
using std::cin;
using std::endl;
using std::vector;
//input elements for the vector class object v.
void input(vector<int> &v);
//display the elements.
void output(vector<int> v);
//return the bool value. If the elements are ascending, return 1,otherwise return 0.
bool isAscendingOrder(vector<int> v);
int main()
{
if (isAscendingOrder(v))
cout << "The elements are ascending!" << endl;
else
#include <vector>
using std::cout;
using std::cin;
using std::endl;
using std::vector;
//input elements for the vector class object v.
void input(vector<int> &v);
//display the elements.
void output(vector<int> v);
//return the bool value. If the elements are ascending, return 1,otherwise return 0.
bool isAscendingOrder(vector<int> v);
int main()
{
vector<int> v;
if (isAscendingOrder(v))
cout << "The elements are ascending!" << endl;
else