Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
i.zyryanov1
other
Commits
77a3b887
Commit
77a3b887
authored
1 year ago
by
i.zyryanov1
Browse files
Options
Download
Email Patches
Plain Diff
Update main.c
parent
43ef1ecc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
homework(17-09-2022)/src/main.c
homework(17-09-2022)/src/main.c
+1
-9
No files found.
homework(17-09-2022)/src/main.c
View file @
77a3b887
...
...
@@ -82,13 +82,5 @@ int **copyMatrix(int **matrix, int n, int m) {
return
copyMat
;
}
int
**
transposeMatrix
(
int
**
matrix
,
int
n
,
int
m
){
int
**
transposed
=
allocateMatrix
(
m
,
n
);
for
(
int
i
=
0
;
i
<
m
;
i
++
){
for
(
int
j
=
0
;
j
<
n
;
j
++
){
transposed
[
j
][
i
]
=
matrix
[
i
][
j
];
}
}
freeMatrix
(
matrix
,
n
);
return
transposed
;
int
transposeMatrix
(
int
***
matrix
,
int
*
n
,
int
*
m
){
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment