What is the time complexity T(n) of the following program?

//------------------------------//

Question1:

////============///

int n, d, i, j;

cin >> n;

for (d=1; d<=n; d++)

for (i=1; i<=d; i++)

for (j=1; j<=n; j += n/10)

cout << d << " " << i << " " << j << endl;

//------------------------------

question2:

//------------------------------

void main()

{ int n, s, t;

cin >> n;

for (s = 1; s <= n/4; s++)

{t = s;

while (t >= 1)

{ cout << s << " " << t << endl;

t--;

}

}

}

//=========================//

question3:

//=========================//

void main()

{ int n, r, s, t;

cin >> n;

for (r = 2; r <= n; r = r * 2)

for (s = 1; s <= n/4; s++)

{

t = s;

while (t >= 1)

{

cout << s << " " << t << endl;

t--;

}

}

}