www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Advent of Code 2022 anyone?

reply Ivan Kazmenko <gassa mail.ru> writes:
Hey, are you doing Advent of Code this year?
https://adventofcode.com/2022

It's 25 days, one programming problem in two parts, each day.
Common motivations are:
* use it to learn something new (language, programming paradigm, 
...)
* compete for being the first 100 to solve
* just have fun

Didn't see any D solutions posted for the first day, posted mine:
(spoiler warning if you plan to take part!)
https://www.reddit.com/r/adventofcode/comments/z9ezjb/comment/iyhhmuf

Ivan Kazmenko.
Dec 01 2022
next sibling parent Steven Schveighoffer <schveiguy gmail.com> writes:
On 12/1/22 9:55 AM, Ivan Kazmenko wrote:
 Hey, are you doing Advent of Code this year?
 https://adventofcode.com/2022
 
 It's 25 days, one programming problem in two parts, each day.
 Common motivations are:
 * use it to learn something new (language, programming paradigm, ...)
 * compete for being the first 100 to solve
 * just have fun
 
 Didn't see any D solutions posted for the first day, posted mine:
 (spoiler warning if you plan to take part!)
 https://www.reddit.com/r/adventofcode/comments/z9ezjb/comment/iyhhmuf
I will try it, if I can find the time... I started last years (after it was over), but never finished: https://github.com/schveiguy/adventofcode/tree/master/2021 -Steve
Dec 01 2022
prev sibling next sibling parent reply Siarhei Siamashka <siarhei.siamashka gmail.com> writes:
On Thursday, 1 December 2022 at 14:55:38 UTC, Ivan Kazmenko wrote:
 Hey, are you doing Advent of Code this year?
 https://adventofcode.com/2022

 It's 25 days, one programming problem in two parts, each day.
 Common motivations are:
 * use it to learn something new (language, programming 
 paradigm, ...)
 * compete for being the first 100 to solve
 * just have fun

 Didn't see any D solutions posted for the first day, posted 
 mine:
 (spoiler warning if you plan to take part!)
 https://www.reddit.com/r/adventofcode/comments/z9ezjb/comment/iyhhmuf
Thanks for the link. BTW, just noticed the following advertisement randomly showing up on the adventofcode website:
 Our [sponsors](https://adventofcode.com/2022/sponsors) help 
 make Advent of Code possible:

 [Kotlin by JetBrains](https://kotlinlang.org/) - Trees, lists, 
 packages - it's Advent of Code time! Get ready to solve puzzles 
 in Kotlin. Watch us livestream our discussions about the 
 solutions for the first few puzzles, join our leaderboard, win 
 prizes. Happy holidays!
Kotlin people are using this event to promote their language. So indeed, posting D solutions on reddit may be useful. As an alternative to Kotlin/Rust/Python. Also "being the first 100 to solve" is really difficult when there are more than 168K participants. Scoring 0 points every day is a bit demotivating.
Dec 03 2022
parent ichneumwn <idonotenjoyemail idonotenjoyemail.org> writes:
On Sunday, 4 December 2022 at 05:35:12 UTC, Siarhei Siamashka 
wrote:
 Also "being the first 100 to solve" is really difficult when 
 there are more than 168K participants. Scoring 0 points every 
 day is a bit demotivating.
Don't be, the top people are more-or-less professional code puzzle solvers. Ridiculously fast. If you stick with the competition, you will see the percentage of people solving a particular puzzle drop. Although that will be partially due to puzzle-tiredness rather than ability.
Dec 04 2022
prev sibling next sibling parent Azi Hassan <azi.hassan live.fr> writes:
On Thursday, 1 December 2022 at 14:55:38 UTC, Ivan Kazmenko wrote:
 Hey, are you doing Advent of Code this year?
 https://adventofcode.com/2022

 It's 25 days, one programming problem in two parts, each day.
 Common motivations are:
 * use it to learn something new (language, programming 
 paradigm, ...)
 * compete for being the first 100 to solve
 * just have fun

 Didn't see any D solutions posted for the first day, posted 
 mine:
 (spoiler warning if you plan to take part!)
 https://www.reddit.com/r/adventofcode/comments/z9ezjb/comment/iyhhmuf

 Ivan Kazmenko.
I'm in. I'll be doing them exclusively in D this year, at least the ones I can solve. Here's today's submission: https://www.reddit.com/r/adventofcode/comments/zdw0u6/2022_day_6_solutions/iz3s9qf/
Dec 06 2022
prev sibling parent FeepingCreature <feepingcreature gmail.com> writes:
On Thursday, 1 December 2022 at 14:55:38 UTC, Ivan Kazmenko wrote:
 Hey, are you doing Advent of Code this year?
 https://adventofcode.com/2022

 It's 25 days, one programming problem in two parts, each day.
 Common motivations are:
 * use it to learn something new (language, programming 
 paradigm, ...)
 * compete for being the first 100 to solve
 * just have fun

 Didn't see any D solutions posted for the first day, posted 
 mine:
 (spoiler warning if you plan to take part!)
 https://www.reddit.com/r/adventofcode/comments/z9ezjb/comment/iyhhmuf

 Ivan Kazmenko.
I'm doing Advent of Code '22 in Neat! https://github.com/Neat-Lang/neat/tree/master/demos/advent22 :)
Dec 08 2022