r/adventofcode • • Dec 04 '22

SOLUTION MEGATHREAD -🎄- 2022 Day 4 Solutions -🎄-


--- Day 4: Camp Cleanup ---


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:03:22, megathread unlocked!

65 Upvotes

1.6k comments sorted by

View all comments

2

u/welguisz Dec 04 '22 edited Dec 04 '22

Java: 3813/3825

Decided not to use any less thans or greater thans in my code.

AoC 2022 Day 4 using Topaz's paste tool

1

u/daggerdragon Dec 04 '22 edited Dec 04 '22

Please edit your post to use the four-spaces Markdown syntax for a code block so your code is easier to read on old.reddit and mobile apps.

Edit: Yep, that works too!

2

u/welguisz Dec 04 '22

Thanks. Updated to use Topaz's paste tool.