r/adventofcode • • Dec 02 '22

SOLUTION MEGATHREAD -🎄- 2022 Day 2 Solutions -🎄-

NEW AND NOTEWORTHY


--- Day 2: Rock Paper Scissors ---


Post your code solution in this megathread.


This thread will be unlocked when there are a significant number of people on the global leaderboard with gold stars for today's puzzle.

EDIT: Global leaderboard gold cap reached at 00:06:16, megathread unlocked!

103 Upvotes

1.5k comments sorted by

View all comments

1

u/marx38 Dec 02 '22 edited Dec 07 '22

(ChatGPT)

"My code" to solve this problem using https://chat.openai.com/chat

Solution

2

u/juicerfriendly Dec 02 '22

That's crazy! What did you use as input?

1

u/marx38 Dec 02 '22

I copy pasted the whole problem description, and nothing else.

I haven't been able to solve the hardest version though. The model is struggling with that one. The natural language explanation is correct, but the code is incorrect. I try to guide it but logic errors remain.

1

u/daggerdragon Dec 05 '22

Please edit your post to expand the full name of the programming language (ChatGPT). This makes it easier for folks to Ctrl-F the megathreads searching for solutions written in a specific programming language.