Skip to main content
35 events
when toggle format what by license comment
May 27, 2023 at 0:36 answer added 138 Aspen timeline score: 0
May 22, 2023 at 12:42 answer added Dominic van Essen timeline score: 2
May 22, 2023 at 10:40 answer added Kevin Cruijssen timeline score: 2
May 22, 2023 at 10:22 answer added Roman Czyborra timeline score: 0
Sep 18, 2021 at 19:58 vote accept rajb245
Sep 7, 2021 at 16:16 answer added Wasif timeline score: 0
Sep 4, 2021 at 18:00 history tweeted twitter.com/StackCodeGolf/status/1434214687546224642
Sep 2, 2021 at 11:00 answer added G B timeline score: 2
Sep 2, 2021 at 5:49 answer added xnor timeline score: 2
Sep 1, 2021 at 23:28 answer added Kjetil S timeline score: 0
Sep 1, 2021 at 23:03 answer added dingledooper timeline score: 14
Sep 1, 2021 at 21:08 answer added Level River St timeline score: 1
Sep 1, 2021 at 18:46 comment added xnor And do we need to have separators for the rows of the magic squares, or can we output each as, say, a string of 9 digits?
Sep 1, 2021 at 18:44 answer added Neil timeline score: 0
Sep 1, 2021 at 18:18 comment added Luis Mendo Can we output the 8 matrices without separators, like this? (The output is unambiguous because each matrix is known to have 3 rows). If not, what separators are allowed?
Sep 1, 2021 at 18:06 answer added pajonk timeline score: 3
Sep 1, 2021 at 17:24 answer added Wasif timeline score: 2
Sep 1, 2021 at 16:25 answer added Jonathan Allan timeline score: 3
Sep 1, 2021 at 16:17 answer added Luis Mendo timeline score: 4
Sep 1, 2021 at 16:17 answer added ovs timeline score: 3
Sep 1, 2021 at 16:12 answer added Wheat Wizard timeline score: 2
Sep 1, 2021 at 16:07 answer added Shaggy timeline score: 2
Sep 1, 2021 at 16:02 answer added caird coinheringaahin g timeline score: 3
Sep 1, 2021 at 15:46 history edited Wheat Wizard
edited tags
Sep 1, 2021 at 15:46 history edited rajb245 CC BY-SA 4.0
edited title
Sep 1, 2021 at 15:45 comment added rajb245 @WheatWizard there is no input to the code, it is for generating all 3x3 squares. i started with a challenge for the general case but simplified it to the 3x3 only. i'll edit the title, thanks!
Sep 1, 2021 at 15:45 comment added rajb245 @MarcMush I've clarified that there are 8 such solutions for the 3x3 problem.
Sep 1, 2021 at 15:40 history edited rajb245 CC BY-SA 4.0
added 26 characters in body
Sep 1, 2021 at 15:38 answer added ophact timeline score: 3
Sep 1, 2021 at 14:10 comment added Wheat Wizard I'm a bit confused by the wording. Is there any input to the code at all? The wording and title of most of the body seem to imply that we take \$n\$ and produce all the order \$n\$ magic squares, but the final bit just says order 3.
Sep 1, 2021 at 14:01 comment added caird coinheringaahin g Closely related (generate a magic square of a given size, rather than generate all)
Sep 1, 2021 at 13:46 comment added pxeger Also, your output requirement "print them, and the brackets are allowed" is unusual; I'd recommend using the site default rules about I/O, to allow (for example) submissions to return the array from a function rather than submit a full program.
Sep 1, 2021 at 13:44 comment added pxeger Welcome to Code Golf! This looks like a reasonably well-specified challenge, but for future reference, we strongly recommend using the Sandbox to get feedback on challenge ideas before posting them to the main site.
S Sep 1, 2021 at 13:43 review First questions
Sep 1, 2021 at 13:58
S Sep 1, 2021 at 13:43 history asked rajb245 CC BY-SA 4.0