Talk:Spiral matrix: Difference between revisions

m
→‎Lua spiralling error?: inwards with a different starting corner
m (→‎Lua spiralling error?: inwards with a different starting corner)
Line 290:
 
I haven't run the program to see its output, but could someone check that the spiral is as in the task description? Thanks. --[[User:Paddy3118|Paddy3118]] 08:24, 29 January 2010 (UTC)
 
: Lua output is
<pre>
14 15 16 17 18 19 20 21
13 38 39 40 41 42 43 22
12 37 54 55 56 57 44 23
11 36 53 62 63 58 45 24
10 35 52 61 60 59 46 25
9 34 51 50 49 48 47 26
8 33 32 31 30 29 28 27
7 6 5 4 3 2 1 0</pre>
 
: which seems correct (even though starting from lower-rightmost corner). &mdash; [[User:ShinTakezou|ShinTakezou]] 10:35, 21 May 2010 (UTC)