代码改变世界

随笔档案-2010年10月5日

a zig-zag array

2010-10-05 11:14 by wansishuang, 295 阅读, 收藏,
摘要: Produce a zig-zag array. A zig-zag array is a square arrangement of the first N2 integers, where the numbers increase sequentially as you zig-zag along the anti-diagonals of the array. For a graphical... 阅读全文