First spiral, then diagonal – codegolf.stackexchange.com 10:45 Posted by Unknown No Comments Given a positive input number n, construct a spiral of numbers from 1 to n^2, with 1 in the top-left, spiraling inward clockwise. Take the sum of the diagonals (if n is odd, the middle number n^2 is ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitDraw some ASCII stars – codegolf.stackexchange.comWhy was Ron more affected by the Veela than Harry was? – scifi.stackexchange.comThese Days Work for Me – codegolf.stackexchange.comHow see if opAmp is rail to rail using only datasheet – electronics.stackexchange.comWhy this code wasn't written in a much simpler way? – electronics.stackexchange.comHow can this "illegal geometry" problem be possible? – math.stackexchange.com
0 Comment to "First spiral, then diagonal – codegolf.stackexchange.com"
Post a Comment