Merge branch 'master' of dwarves.iut-fbleau.fr:moguljak/TP1
This commit is contained in:
commit
658b105c44
11
Exo3/ij_ji.c
11
Exo3/ij_ji.c
@ -22,17 +22,16 @@ int main()
|
|||||||
|
|
||||||
/* version 1 */
|
/* version 1 */
|
||||||
|
|
||||||
for(i=0;i<N;i++) for(j=0;j<N;j++)
|
// for(i=0;i<N;i++) for(j=0;j<N;j++)
|
||||||
t[i][j] = 1;
|
// t[i][j] = 1;
|
||||||
|
|
||||||
/* version 2 */
|
/* version 2 */
|
||||||
|
|
||||||
// for(i=0;i<N;i++) for(j=0;j<N;j++)
|
for (i = 0; i < N; i++)
|
||||||
//t[j][i] = 1;
|
for (j = 0; j < N; j++)
|
||||||
|
t[j][i] = 1;
|
||||||
//
|
//
|
||||||
t2 = tstamp();
|
t2 = tstamp();
|
||||||
printf("time = %lf\n", t2 - t1);
|
printf("time = %lf\n", t2 - t1);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user