What is wrong with this

#include
using namespace std;
int main() {
int n,pr,cr;
cin>>n;
cin>>pr;
bool mpr=true;
for(int i=1;i<n;i++)
{
cin>>cr;
if(cr==pr)
{
cout<<“false”<<endl;
}
else if(cr<pr)
{
mpr=false;
}
else if(!mpr&&cr>pr)
{
cout<<“true”<<endl;
}
if(i==n-1)
{
cout<<boolalpha<<mpr<<endl;
}
pr=cr;
}

return 0;

}

Try this:

i am confused in understanding the question :according to the question what should be the output for the following test case:

9 1 3 4 5 4 3 2 1 1 is the test case