
- Renamed all folders from format NEx (e.g., 1Ex, 2Ex...) to 0NEx (01Ex, 02Ex, etc.) - Updated subdirectories and files accordingly - Removed old main Makefile and tasks (a01.c–a09.c, solve.c, io_status.h), likely obsolete - Cleaned up deprecated task binaries and configs
15 lines
235 B
C
15 lines
235 B
C
#include "solve.h"
|
|
#include "math.h"
|
|
|
|
void t6_solve(double *a, int n, int m, int i, int j)
|
|
{
|
|
double temp;
|
|
int k;
|
|
(void)n;
|
|
for (k = 0; k < m; k++)
|
|
{
|
|
temp = a[i * m + k];
|
|
a[i * m + k] = a[j * m + k];
|
|
a[j * m + k] = temp;
|
|
}
|
|
}
|