Here is my code . Have a look.

#include

using namespace std;

int main() {

```
int t,count;
cin>>t;
while(t)
{
long long int n,i,j,k;
cin>>n;
long long int a[n+1],count=n;
for(k=1;k<=n;k++)
cin>>a[k];
for(k=1;k<n;k++)
{
i=j=k;
int flag=0;
while(j<n && flag==0)
{
if(a[j]<a[j+1])
{
count++;
//cout<<"Count : "<<count<<" i: "<<i<<" j: "<<j+1<<endl;
}
else
flag=1;
j++;
//cout<<"Count : "<<count<<" i: "<<i<<" j: "<<j<<endl;
}
}
cout<<count<<endl;
t--;
}
return 0;
```

}

some subtask is satisfying but some donâ€™t. I just want to know what is task# thing here.

task# of 11,12,13,14 is giving me an error but except them, it is accepted. Pls, suggest me how to solve this kind of problems.

thank you.