Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Timeline for The mad chemist and the clever programmer

Current License: CC BY-SA 3.0

47 events
when toggle format what by license comment
Jun 17, 2020 at 9:04 history edited Community Bot
Commonmark migration
S May 5, 2017 at 11:27 history bounty ended Community Bot
S May 5, 2017 at 11:27 history notice removed user68509
May 5, 2017 at 11:27 vote accept Community Bot moved from User.Id=68509 by developer User.Id=1144
May 2, 2017 at 23:36 comment added user68509 @sergiol Sure as long as it respects the format
May 2, 2017 at 23:01 comment added sergiol Can I answer it graphically instead of ASCII art?
May 1, 2017 at 13:13 answer added Level River St timeline score: 3
Apr 30, 2017 at 22:42 comment added user68509 @TLW The redundancies do not need to be displayed but if you want to let them remain you can
Apr 30, 2017 at 22:02 comment added TLW Is it required to omit said symmetries, or is it allowable to do so?
Apr 30, 2017 at 12:43 history edited user68509 CC BY-SA 3.0
added 153 characters in body
Apr 30, 2017 at 12:36 history edited user68509 CC BY-SA 3.0
added 1873 characters in body
Apr 30, 2017 at 11:51 history edited user68509 CC BY-SA 3.0
added 44 characters in body
Apr 30, 2017 at 11:51 comment added user68509 @JonathanAllan Indeed the couples you mention have a symetry with the vertical or horizontal axis, however, if you turn the whole molecule you cannot achieve the transformation from r1c3 to r2c1 etc. That's why I consider them to be different, contrary to rotations which are redundancies. If you think it's a flaw I think we can correct the question
Apr 30, 2017 at 11:34 comment added user68509 @JonathanAllan The pi rotation is about the whole molecule not only a part of it. That's why you cannot consider that r1c1, r1c3, r2c2, r3c1, and r3c3are equivalent by rotation, because that would mean you only rotated a part of the molecule. Could you please explain further your labeling system? I'm interested
Apr 30, 2017 at 11:11 history edited user68509 CC BY-SA 3.0
deleted 486 characters in body
Apr 30, 2017 at 10:25 comment added user68509 @LevelRiverSt I agree for the first of the 3rd row but can't find where the 3rd one is rotated ?
Apr 30, 2017 at 10:14 comment added Level River St In that case the first and last structures on the 3rd row should be absent, as they are rotations of structures given previously. (They are also mirror images but it would seem that mirror images are considered different.)
Apr 30, 2017 at 9:33 history edited user68509 CC BY-SA 3.0
added 797 characters in body
Apr 30, 2017 at 9:19 comment added user68509 @LevelRiverSt It is indeed possible to have 2 OH group on the same carbon I totally forgot to add them and I'll do it right away ^^ Concerning the ouput it is totally acceptable to rotate it to have the carbon displayed vertically. And for your concern about the symetry with both OH group poitning down, it's because it's a rotation of pi of the first molecule. Thanks for pointing these concerns :)
Apr 30, 2017 at 3:36 comment added Level River St 3. Is it acceptable to have the outputs with the carbon chain vertical instead of horizontal?
Apr 30, 2017 at 3:35 comment added Level River St 1. Is it possible to have 2 OH groups on the same carbon? You seem to have excluded it from the examples, but I don't see anywhere in the spec that says we don't have to consider it (I know in reality these compounds exist in equilibrium with aldehydes) 2. Why is the HOCH2CH2OH with both OH groups pointing downards missing from the example? Isn't it a required output?
Apr 29, 2017 at 17:23 comment added user68509 @mzuther Technically yes it's the same molecule, just different symetries, but he doesn't see very well anyway ;)
Apr 29, 2017 at 17:20 comment added mzuther is on OpenAI strike I hope that the chemist is really mad, so he won't find out that all of the molecular structures in the example are the same molecule (just rotated)... :)
S Apr 29, 2017 at 16:11 history bounty started Community Bot
S Apr 29, 2017 at 16:11 history notice added user68509 Draw attention
Apr 29, 2017 at 1:07 history tweeted twitter.com/StackCodeGolf/status/858125492280578048
Apr 28, 2017 at 17:20 history reopened Community Bot
Toto
Timtech
Wheat Wizard
Apr 28, 2017 at 15:59 history edited user68509 CC BY-SA 3.0
deleted 4 characters in body
Apr 28, 2017 at 15:41 review Reopen votes
Apr 28, 2017 at 17:20
Apr 28, 2017 at 9:21 history edited user68509 CC BY-SA 3.0
Added the complete example and the rules needed to have complete specifications for the challenge
Apr 27, 2017 at 16:40 history closed Community Bot
Laikoni
Jonathan Allan
Toto
Needs details or clarity
Apr 27, 2017 at 16:36 review Close votes
Apr 27, 2017 at 16:41
Apr 27, 2017 at 16:31 comment added user68509 @JonathanAllan Ok I'll submit it to sandbox and edit later with the completed specifications
Apr 27, 2017 at 16:26 comment added user68509 @JonathanAllan Can you explain what is missing to make the challenge clearer please ?
Apr 27, 2017 at 16:24 comment added user68509 @ais523 Before the last edit it was specified that the output I wrote did not display ALL the molecules possible for the formula, I added it back. Concerning the neopentane you linked it contains 5 carbons, the inputs needed to work with the code contains 3 C maximum, which allows a clearer display
Apr 27, 2017 at 16:22 history edited user68509 CC BY-SA 3.0
added 56 characters in body
Apr 27, 2017 at 16:20 comment added user62131 The output you've suggested is missing a lot of potential molecules: you have two copies of propan-1,2-diol there, but is missing at least propan-1,1-diol, propan-1,3-diol, propan-2,2-diol, a large number of alcohol ethers, and various compounds where the two oxygen atoms connect to each other. Additionally, how specified is the output format? I can imagine molecules in which some of the bonds need to be drawn longer than others to fit everything in (e.g. dimethylpropane, which is apparently a real chemical).
Apr 27, 2017 at 16:18 comment added mbomb007 @Antoine Given your current challenge description, handling molecules with any number of Carbon atoms (including 4 or more) is required.
Apr 27, 2017 at 16:17 comment added user68509 @Luke The inputs I gave cannot be cyclic so you do not need to handle that. But if you want to handle molecules that contains 4 C or more you can do it and earn bonus score :) Thanks for the edit by the way! english is not my native language ^^
Apr 27, 2017 at 16:17 history edited mbomb007 CC BY-SA 3.0
deleted 1 character in body
Apr 27, 2017 at 16:13 comment added Luke Do we need to handle cyclic molecules?
Apr 27, 2017 at 16:13 history edited Luke CC BY-SA 3.0
Added clarification and grouped statements. Hope this will make the post clearer...
Apr 27, 2017 at 16:08 history edited user68509 CC BY-SA 3.0
added 652 characters in body
Apr 27, 2017 at 15:53 history edited mbomb007 CC BY-SA 3.0
More generic language concerning bonds, since H-C≡C-H should also be ruled out.
Apr 27, 2017 at 15:27 history edited user68509 CC BY-SA 3.0
edited body
Apr 27, 2017 at 15:16 history edited user68509 CC BY-SA 3.0
deleted 270 characters in body
Apr 27, 2017 at 15:07 history asked user68509 CC BY-SA 3.0
toggle format

AltStyle によって変換されたページ (->オリジナル) /