Problem Code: SUBINC , I can't understand this task# thing in the problem.

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.

Task# are the various inputs that your program is checked on. Since you are getting error on some subtasks, it means that your program is not giving the correct output for those cases or is giving some other kind of error. Try to optimize your code and test your program on corner test cases.