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
10
Task/Matrix-transposition/Ring/matrix-transposition.ring
Normal file
10
Task/Matrix-transposition/Ring/matrix-transposition.ring
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
load "stdlib.ring"
|
||||
transpose = newlist(5,4)
|
||||
matrix = [[78,19,30,12,36], [49,10,65,42,50], [30,93,24,78,10], [39,68,27,64,29]]
|
||||
for i = 1 to 5
|
||||
for j = 1 to 4
|
||||
transpose[i][j] = matrix[j][i]
|
||||
see "" + transpose[i][j] + " "
|
||||
next
|
||||
see nl
|
||||
next
|
||||
Loading…
Add table
Add a link
Reference in a new issue