Show the accurate running time of each line and total running time for the following function:
int f1(int n, int A[ ], int B[ ])
{
if ( (n>=5) || (n<0) )
return 0;
for (int i=0; i<=n; ++i)
{
A[I] = 0;
for (int j=0; j<i; ++j)
B[I] = A[I] + I;
}
return 0;
}
What?