Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
9
Task/Matrix-transposition/Phix/matrix-transposition.phix
Normal file
9
Task/Matrix-transposition/Phix/matrix-transposition.phix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
function transpose(sequence in)
|
||||
sequence out = repeat(repeat(0,length(in)),length(in[1]))
|
||||
for n=1 to length(in) do
|
||||
for m=1 to length(in[1]) do
|
||||
out[m][n] = in[n][m]
|
||||
end for
|
||||
end for
|
||||
return out
|
||||
end function
|
||||
Loading…
Add table
Add a link
Reference in a new issue