Skip to main content

Timeline for How many petals around the rose

Current License: CC BY-SA 4.0

12 events
when toggle format what by license comment
Mar 6, 2020 at 17:36 comment added Veskah While nice and short, this isn't up to spec. Goal is to take a list of numbers and for each odd, add $_-1 to a running total. See my answer
Mar 6, 2020 at 8:52 comment added avarice @mazzy thanks so much!
Mar 6, 2020 at 8:52 history edited avarice CC BY-SA 4.0
added 33 characters in body
Mar 6, 2020 at 8:11 comment added mazzy you can save some bytes in your solution Try it online!
Mar 5, 2020 at 22:18 comment added RGS It is easy. In the tio.run site, you choose the programming language you were using and put the code there. Then, on top of the page, there will be a couple of buttons. A triangle pointing to the right can be used to run the code. The button to the right shows a link. If you click that, you can copy a link to the code on tio! Then you just have to include it in your answer by substituting the link in this text: [Try it online](your link here)
Mar 5, 2020 at 18:26 comment added avarice I don't know how to add a tio link with code.
Mar 5, 2020 at 18:25 comment added RGS I don't understand your example output for input 6. I wanted you to include a link for your code. Try checking the other answers: the vast majority has a link in the end that you can click, to try their code.
Mar 5, 2020 at 18:19 comment added avarice @RGS done it. Please verify! I have run it in tio and It works.
Mar 5, 2020 at 18:18 history edited avarice CC BY-SA 4.0
added 48 characters in body
Mar 5, 2020 at 18:15 comment added RGS Hey, thanks for your submission! You may want to consider including a tio link, or at least a screenshot of the results of your program for a couple of test cases! :D Ping me when you do that!
Mar 5, 2020 at 17:25 review Low quality posts
Mar 5, 2020 at 17:25
Mar 5, 2020 at 17:09 history answered avarice CC BY-SA 4.0