#advent-of-code

1 messages · Page 53 of 1

proud cosmos
#

!e ```py
print("Hey\nhow are you?".split("\n"))

marsh currentBOT
#

@proud cosmos :white_check_mark: Your eval job has completed with return code 0.

['Hey', 'how are you?']
river hollow
#

I did day #23 \o/ !

livid gull
#

whoooooooohooooooo! 🎉

livid gull
wheat junco
#

hey

river hollow
#

Thanks. It was pretty tough.

livid gull
nova void
#

What is this error?

woven sable
#

you would fix that by doing str(objetive) rather than objetive

woven sable
#

np!

nova void
#

Is this correct to set "startpos" not equal to objetive?

river hollow
mossy stream
#

this doesn't seem AoC related

nova void
#

Guys

#

How do i put an if not?

#

Wait

#

Dw, imma watch a vid

#

lel

cyan sleet
livid gull
woven sable
nova void
#

k

woven sable
#

I do f"{value1}{value2}" rather than value1 + value2 sometimes tbh

muted aurora
#

it usually ends up just doing "{}{}".format(...)

woven sable
#

New color just dropped

hidden musk
#

hell yeah

bright haven
#

how do they know who completed?

minor cave
mossy stream
#

Just waiting on mister jl to get the role now haha

frigid mural
woven sable
#

The color fits your all's PFPs so well

livid gull
#

...

#

😮

muted aurora
#

ah man, was hoping for a new color but just pink again 😅

mossy stream
#

You are the pinkest person on the server, though

livid gull
#

first colour on server !

#

do we keep this or does it dissapear?

mossy stream
#

It will sadly disappear

bright haven
#

I'm still purple 🙂

mossy stream
#

But you have a cute icon

livid gull
#

when will it dissapear?

bright haven
mossy stream
#

Haha

#

Your son is pretty talented

#

You should post it in #partners, so they can add it to your role

frigid mural
bright haven
#

thanks 🙂

woven sable
muted aurora
#

that's true, very festive

#

been eyeing that gold role for a while, some day

woven sable
#

there are two gold roles 👀

#

helper & forms Team / [other] team

frigid mural
muted aurora
#

oh lol shows what I know, i meant the helper one

woven sable
#

hopefully I can solve it all by myself

muted aurora
#

Yeah same, this year was hella fun

woven sable
muted aurora
#

that's a hard one

woven sable
#

Mine was the sh packets day

#

sub packets

#

That or ALU

muted aurora
#

the subpackets one was cool, but like the description took me a while to understand

woven sable
#

Ahhh yeah ur was massive lol

#

it*

muted aurora
#

hmm idk I'm inclined to say day 19 was kinda fun

#

but the bug in me not having all orientations correct kinda ruined it for me

woven sable
#

I just took someone else's orientation because it was 1 AM and I didn't wanna calculate them myself :p

narrow crown
#

this entier chat is so pink

#

i have a new yrs resolution to become competent before 2022 aoc so i can get pink role

woven sable
#

I love this shade of pink

#

it's so calm yet vibrant

woven sable
#

The problems are mostly logic and implementing it in Python isn't too hard

#

it's mostly coming up with how you're gonna do it

muted aurora
woven sable
#

Luckyyyy

#

But also not luck because wtpython was really cool

#

Nice job on it!

muted aurora
#

it is a nice colour

#

thanks!

woven sable
#

np

narrow crown
woven sable
#

Ahh

muted aurora
#

that's a nice green too, what do I need to contribute to to snag me one of those

sleek cave
#

i see pink, i like

#

also, are we ever going to start the snailfish project

woven sable
#

Probably in Jan or so

hard parrot
hidden musk
humble copper
#

yay pink

#

also i really like this icon it looks nice

hidden musk
#

🎄

woven oriole
#

seems pink role is above helper 👀

#

also i didn't get

#

the qualification was 25,25 for this year alone right

hidden musk
#

ya, did you link your accounts?

woven oriole
#

.aoc link?

#

thats done

#

is there any other sort of link

minor cave
#

When did you finish all 50, recently or a bit ago?

woven oriole
#

bit ago

#

on 25th

minor cave
#

Hmmm, okay I'll take a look and see if I can figure out what's happening

woven oriole
#

alrighty

narrow crown
#

wont it be easier to manually give it to them

hidden musk
#

no, it could be happening to other people, and it might happen next year

minor cave
narrow crown
#

o ok

woven sable
woven oriole
#

hmm

#

in case anyone needs

narrow crown
#

what does the final homepage look like tthis year?

minor cave
#

I have bugged some folks with access to logs to take a look, so we will get it sorted out

narrow crown
#

looks like this for me ;-;

woven sable
#

one sec

narrow crown
#

ooh cmd+t is also like cmd+k for discord

woven sable
#

colorful

narrow crown
#

ooh prettty

woven sable
#

yeah I love the effort put into small things like the homepage

#

it's really awesome

hidden musk
#

they move too

woven sable
#

wait wait how

#

WAIT they do

#

this is so cool

woven oriole
#

you didn't see that moving 👀

humble copper
steel bear
#

woah 2 more days to go for me, I can hopfully do by the end of this year lol

#

thats my New year gift

slender peak
#

.aoc join

sonic silo
#

uh

#

oh good

#

i have the completionist role

hollow wharf
#

I don't :(

#

And all admins are apparently dead

woven oriole
hollow wharf
#

we completed it on december 25th

#

hey @winged trellis, if you have a sec, would you mind giving me and ak the completionist role? we have our github linked to the same account, and so only xavier got the role, it was a known future bug

#

We keep moving down the leaderboard 😔

mossy basin
#

i don't have the role either, i think it's bugged

hollow wharf
mossy basin
#

aoc link

#

i don't think it did anything

hollow wharf
#

lol

#

.help aoc link

#

Okay lance

mossy basin
#

.aoc link

hidden copperBOT
hollow wharf
#

Well, there you go, you need to do that

mossy basin
#

.aoc link salt-die

hidden copperBOT
hollow wharf
#

Now you'll have to wait for up to an hour

mossy basin
#

some pretty esoteric commands

hollow wharf
#

Seems like you haven't seen the Almighty !i e l p yet

mossy basin
#

!ielp

#

help?

#

.help

hollow wharf
#

There ya go

#

!i e l p with spaces, but it is mod only

#

It marks the last infraction as permanent

normal umbra
#

hmm day 9 is interesting

woven oriole
#

.aoc link

hidden copperBOT
stark condor
#

guys can someone help me?

#

its for my school

#

its for a code

cyan sleet
#

this is not the right channel for generic help

woven oriole
#

aye

#

does the .aoc lb thing capitalizes the first letter?

#

in display

cyan sleet
#

.aoc lb

hidden copperBOT
#

:x: Please use #aoc-bot-commands for aoc commands instead.

cyan sleet
#

welp

#

doesn't seem like it

woven oriole
#

if it does not

#

then as my linked name starts with small letter o

#

and it displays capital

#

so that might be the reason why the bot didn't give me the role

#

🤔

#

.aoc link Oreo4102004

hidden copperBOT
woven oriole
#

ok waiting upto an hour , to see if it works

minor cave
#

@woven oriole We restarted the cog and made some changes, so you should be good. We've also added some additional logging statements to see if we can further chase down the issue if it happens with anyone else

iron shadow
#

and yea, it might have been the case sensitivity

woven oriole
#

is that code open source

minor cave
#

mhm, our advent of code stuff is in lancebot

minor cave
#

But I have a feeling it's oddities with how the advent of code treats usernames and it's slight disregard for consistency with case in usernames

spring heron
#

Advent of Code Event Feedback

sleek cave
woven oriole
amber oyster
#

.aoc link aoc_lb_name_goes_here

hidden copperBOT
livid gull
#

xD

iron shadow
proud cosmos
#

(can't you literally just link to whoever you want though?)

livid gull
#

1 point in it! , Well Done Avongard!

proud cosmos
#

(Seems abusable)

#

oh nice

iron shadow
#

Yea, there's not really a good way to verify that without great effort, so we're going to deal with that after the fact, rather than with a technical solution

minor cave
proud cosmos
livid gull
iron shadow
proud cosmos
hollow wharf
#

wish i had time to participate

amber oyster
#

.aoc link your mom

hidden copperBOT
amber oyster
#

Perfect

#

:D

hollow wharf
#

theres a site for aoc ?

#

can someone link it to me ?

wanton pumice
#

What is advent of code?

livid gull
woven oriole
sleek cave
amber oyster
#

.aoc link HITOJ

hidden copperBOT
proud cosmos
sleek cave
woven oriole
sleek cave
#

I'll try, though

proud cosmos
#

It's doable

woven oriole
#

i am even sus about the fact if they are in the server

minor cave
#

haha, Oliver is indeed on this server

woven oriole
#

oh

sleek cave
#

lmao

#

how else would he have joined

#

(oh right pl code can be shared)

livid gull
#

they were talking here one of the days

proud cosmos
#

Oliver is quite impressive

livid gull
#

very fast

#

im happy i got on the LB twice !

woven oriole
#

me once

livid gull
#

next year im going for top 100, if that happens lol

#

starting my training montage now

woven oriole
proud cosmos
#

Guess I never saw them chatting since they probably chatted/did all the problems when they came out

#

Meanwhile I always started like 4 hours later

woven oriole
#

school 🥴

#

that delayed 10 hours somedays

proud cosmos
#

I just did it before work if possible

#

But yeah standing up at 6 am is not for me

livid gull
#

i had to do snailfish one day on my phone on replit with crappy data 😦

#

5hr 30 😦

proud cosmos
#

Wow impressive times

#

I wonder if I could get on the leaderboard ever if I actually tried

#

I think I stood up one day and it was a bit harder so I failed miserably

#

I'm not good enough haha

#

this day

woven oriole
#

i got on the lb during day 23

proud cosmos
#

I could've maybe gotten on it for part 1 tbh

woven oriole
#

but using paper and pen

proud cosmos
#

I just misread

livid gull
#

day 8, i didnt like day 8

proud cosmos
#

part 1 definitely had potential for day 8

#

you just needed to get really quickly that almost all the info is irrelevant

#

but I actually read the stuff

livid gull
#

i was trying to do it proplematically

hollow wharf
#

all of those people with full stars get the role PES_Think ?

proud cosmos
#

Yes they can get the role

minor cave
livid gull
#

but then worked out 7! is only 5040

hollow wharf
#

oh thats cool hapepey

proud cosmos
#

Yeah brute force is prob fastest solution to day 8

#

I actually did it normally though took an hour

#

I guess for most solution unless you immediately get the right path it is probably worth to just code up a brute force as you think about it

hidden copperBOT
#

You have not linked an Advent of Code account. Please re-run the command with one specified.

#

You have linked your Discord ID to 742308736235995138.

feral berry
#

Hi

marsh currentBOT
#

:incoming_envelope: :ok_hand: applied mute to @feral berry until <t:1640788688:f> (9 minutes and 58 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).

lost dust
#

In the second challenge, the input file has the direction and a number.

#

I am trying to understand why the split function is splitting by line and not white space.

#
!python
with open("input_2.txt",'r') as in_file:
        content_list = [line.strip()for line in in_file]```
#

This returns: 'forward 6', 'down 7', 'up 3'

woven oriole
#

```py
code
```

woven oriole
lost dust
#

@woven oriole I thought split works on white space?

woven oriole
#

yeah it does

#

by default it splits by space

#

but strip is a different thingy

lost dust
#

ugh

woven oriole
#

!e print(" hello this is me ".strip())

marsh currentBOT
#

@woven oriole :white_check_mark: Your eval job has completed with return code 0.

hello     this     is    me
woven oriole
#

!e print(" hello this is me ".split())

marsh currentBOT
#

@woven oriole :white_check_mark: Your eval job has completed with return code 0.

['hello', 'this', 'is', 'me']
lost dust
#

I see

woven oriole
#

strip clears the white spaces at the start and end of the string vs split makes a list out of all the sub strings separated by white space (by default , when no parameter is passed)

lost dust
#

@woven oriole thank you

woven oriole
#

np!

sleek cave
sleek cave
livid gull
#

i didnt for p2 i gave up and went back to bed lol

#

i didnt even read the prompt

proud cosmos
#

Fastest solution including time to come up with it

#

Smart takes less time to run

normal umbra
#

Hey there can someone help me out with day9? My code generates the correct output for the example given, that is 15. But when I run it for my actual input, and run it, the site says

That's not the right answer; your answer is too low. Curiously, it's the right answer for someone else; you might be logged in to the wrong account or just unlucky. In any case, you need to be using your puzzle input. If you're stuck, make sure you're using the full input data; there are also some general tips on the about page, or you can ask for hints on the subreddit. Please wait one minute before trying again.

And I am just confused what to do now 😕

#

ok I think I found a bug. yay!

marsh currentBOT
#

@hollow wharf :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     print(„ez”)
003 |           ^
004 | SyntaxError: invalid character '„' (U+201E)
sleek cave
normal umbra
#

day 9 pt 2 is kinda tricky lol

ruby epoch
#

@normal umbraYou got slightly ahead. :p I finished 8B today and am going to start 9 tomorrow

normal umbra
ruby epoch
#

I haven't even clicked to look yet

normal umbra
#

Oh lol

ruby epoch
#

Are you on the second part, then?

normal umbra
#

Yeah

ruby epoch
#

Congrats!

normal umbra
summer void
#

!e print('Test!')

zinc kindle
#

Considering trying out Advent of code for a previous year, after having finished this year. What year is the most fun?

peak dock
#

lot of people here seem to like 2019

zinc kindle
#

thanks. will do that.

cerulean bobcat
#

what is dis

#

nvm ill just read faq

solid ether
#

.aoc link aoc_lb_name_goes_here

hidden copperBOT
solid ether
#

.aoc link 725935067569979442

hidden copperBOT
iron shadow
wise pilot
#

.aoc link BlockOG

hidden copperBOT
zinc kindle
#

Can I join the leaderboard and get AoC completionist if I did the advent in a language other than python?

placid lake
#

yes!

#

as long as you have all 50 stars, you're all set to get the role

sonic fox
#

!e

from datetime import date
print("Ingresá la fecha que querés calcular (DD MM AAAA) ejemplo: 31 12 2021 ")
fecha = "31 12 2021".split()
dia = int(fecha[0])
mes = int(fecha[1])
año = int(fecha[2])
today = date.today()
today = date(year=today.year, month=today.month, day=today.day)
fecha = date(year=año, month=mes, day=dia)
result = abs(today - fecha).days
if fecha > today:
   print(f"Faltan {result} días")
elif fecha < today:
   print(f"Pasaron {result} días")
marsh currentBOT
#

@sonic fox :white_check_mark: Your eval job has completed with return code 0.

001 | Ingresá la fecha que querés calcular (DD MM AAAA) ejemplo: 31 12 2021 
002 | Faltan 1 días
sonic fox
#

!e

from datetime import date
print("Ingresá la fecha que querés calcular (DD MM AAAA) ejemplo: 31 12 2021 ")
fecha = "21 12 2021".split()
dia = int(fecha[0])
mes = int(fecha[1])
año = int(fecha[2])
today = date.today()
today = date(year=today.year, month=today.month, day=today.day)
fecha = date(year=año, month=mes, day=dia)
result = abs(today - fecha).days
if fecha > today:
   print(f"Faltan {result} días")
elif fecha < today:
   print(f"Pasaron {result} días")
marsh currentBOT
#

@sonic fox :white_check_mark: Your eval job has completed with return code 0.

001 | Ingresá la fecha que querés calcular (DD MM AAAA) ejemplo: 31 12 2021 
002 | Pasaron 9 días
sleek cave
#

me: goes to salt's gh to see how they implemented a*/dijkstra for d15
also salt:

#

bruh-

frigid mural
#

I've got a presumably dijkstras solution for this

sleek cave
solid ether
iron shadow
#

The name will be shown next to the logout button at the top

candid sigil
#

Started on day 24. I'm trying ||memoization||, but the process getting killed after a minute or two tells me that's probably not going to work.

woven sable
potent pumice
#

also what even is the word because i can't unspoil it

#

so I'm extremely curious

woven oriole
azure pivot
#

print "Hello world"

cyan sleet
covert arrow
jaunty coyote
#

So I just started the Advent of Code and I am on Day 3 Part 2. What do you do to the your possible ratings if none of the values match the bit criteria?

proud cosmos
#

None match the bit criteria?

jaunty coyote
#

Yep. I keep getting a list of numbers with nothing in it at the end of running my code

steel bear
#

I finally did it after stuck in Day 23 for so long 🙂

iron shadow
#

Nice!

#

Don't forget to run .aoc link if you're after the lovely pink role!

jaunty coyote
#

Can we just run that in this chat?

hidden copperBOT
#

You have not linked an Advent of Code account. Please re-run the command with one specified.

proud cosmos
#

Nice!

#

you need to add your leaderboard name at the end

steel bear
#

.aoc link shankar-shiv

hidden copperBOT
sleek cave
sleek cave
jaunty coyote
jaunty coyote
#

Thanks

carmine dagger
#

Help i am new

#

I wanna learn

jaunty coyote
#

What do you want to learn?

carmine dagger
#

Do you know how to hack games?

#

Creating apks?

jaunty coyote
#

This is not the chat for that

woven solar
frigid mural
carmine dagger
#

What's the use of this ?

frigid mural
#

this channel is for an event called Advent of Code that runs every year, see #911684406605930496 for more. this server as a whole is for Python, but not topics that almost certainly go against the TOS of whatever you are using

candid sigil
young wind
#

hi

marsh currentBOT
#

Hey @nova flame!

It looks like you tried to attach file type(s) that we do not allow (). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a, .csv, .json.

Feel free to ask in #community-meta if you think this is a mistake.

nova flame
#

5063813572:AAEdAh4zI8bZ0aQKnswbpALHay_F4Ujuk_E

#

5005386269

wispy glacier
#

@nova flamedon't spam, and please change* your nickname

somber plover
#

I didn't know I had the role

wispy glacier
somber plover
#

thanks

sleek cave
#

lmao the universal dissent

cunning sigil
#

Im trying to complete day 1 of this months challenge. ive got the file opening fine but im not sure how to properly define or compare lines of data in the txt file to actually finish the challange. any help would be nessesary and heres my code ```pyf = open("problem.txt", "r")

answer = 0

print(f.readlines())```

muted aurora
#

@cunning sigil
You can read in all the numbers into a list as follows:

nums = []
with open(...) as f:
  for line in f:
    nums.append(int(line))

or more compactly:

with open(...) as f:
  nums = [int(x) for x in f.read().split()]
cunning sigil
muted aurora
#

Yeah, you usually want to read the information into python as a list (or sometimes a dictionary, or some other data structure), and then you solve the problem with the data

#

the only reason the input is in a file is so that they don't have to provide different code for different languages, and just let people parse it however they want

cunning sigil
#

makes sense ty so much lol. theres alot of info out there but finding exactly what i need info wise is so circumstantial

idle junco
#

.aoc link

hidden copperBOT
# idle junco .aoc link

You have not linked an Advent of Code account. Please re-run the command with one specified.

sly minnow
#

How to count the occurrence of a given character in a String?

woven oriole
sly minnow
#

Ohh, okay

#

Thanks

hollow wharf
#

hey does anyone know how can I build a chatting app for android using python?

sharp panther
hollow wharf
#

okaaaaaaaaaaaaaaaaaaaaaaaaaaaaaayyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy!!!!!!!!!!!!!!!!!!!!!!!!!!111111111

wide garnet
#

hey guys small question. if i want to benchmark my code, do i start the time counter at the beginning of the program or after reading the file or after parsing my input data to a preferable format (like for example converting input into a 2d array)

wide garnet
#

yeah

bright spindle
#

Ok, well, depends on what you want to measure

wide garnet
#

oh

bright spindle
#

I mean, why do you want to benchmark your code? To compare with other people's solutions?

wide garnet
#

yeah sort of

bright spindle
#

I guess it just depends on how those people benchmarked it

wide garnet
#

fairs ig

bright spindle
#

For the most accurate comparison, you should do the same thing they did

wide garnet
#

yea

crystal shard
#

.aoc link akomi

#

What?! Where is my completionist role?

steady berry
crystal shard
steady berry
#

🤷‍♂️

crystal shard
steady berry
#

@crystal shard maybe try running in #aoc-bot-commands

crystal shard
steady berry
#

i suspect someone took your name

minor cave
#

Commands are back up and running! .aoc link and .aoc lb your hearts out

potent carbon
#

...man I wish I'd thought to check if this server knew about this! I found out about it somewhere else and was like 'oh yeah I should tell the python discord about it'

#

this rules btw

hollow wharf
#

overall I'm quite happy about it

#

longest is D23P1 for absolutely no apparent reason

proud cosmos
#

124s seconds

tranquil cargo
#

Now that this is over

#

Was there anything truly interesting

#

If so, which day

cyan sleet
#

24 was interesting because ||reverse engineering||

#

19 was interesting because on first read I had no idea what to do, and then you have a realization and it becomes very doable

#

16 I liked for some reason, it felt nice to write a simple parser for a format in a new programming language

#

I think those are the more memorable/interesting ones to me who has a bunch of programming and cs experience, but ymmv

#

a bunch of the puzzles has some nice intros to cs concepts, e.g. 6, 10, 15

#

but as someone who knows them it's not too interesting, more of a "huh, just do X and you're done"

placid lake
#

day 23 is quite interesting as well

#

||pathfinding the states of the burrow||

#

day 19 was def interesting, yeah

#

reminded me of 2020 day 20

#

the lochness monster

cyan sleet
#

23 was a case of "I know what to do, but implementing it feels annoying" for me

steel bear
#

It's easily doable by hand

north silo
#

Oh wait, thought you meant day 19.

tranquil cargo
hollow wharf
#

helo guys

#

anyone here

jaunty coyote
#

Gotta say. Having a lot of fun with the AoC so far. A lot of the challenges are just recognize the algorithm needed and implement it with a twist. Not the hardest thing in the world, but really makes you rethink a lot of the algorithms you use often

steel bear
#

I am learning C from CS50, implementing in C has been fun so far

bright spindle
#

C is just such an inconvenient language to work with.

hollow wharf
#

hi guys, im new to python and wanted to get some help with what i should create, and pls dont say things like calculator or something like that, i want to create something that i will acctuelly use

bright spindle
hollow wharf
sharp panther
#

!mute 859587457619853312 3h That's not appropriate.

marsh currentBOT
#

:incoming_envelope: :ok_hand: applied mute to @final sluice until <t:1641259629:f> (2 hours and 59 minutes).

steel bear
muted aurora
#

Some were kinda painful, but most were OK. with the right abstractions it kind of resembles the python versions?

#

It's a fun exercise seeing how you can do it all without all the conveniences of Python

woven sable
#

Day 19 and day 23 were a pain to implement

hollow wharf
#

henlo bois

#

i am new here

mossy stream
candid berry
#

@woven oriole your message and your reaction are looking an awful lot like trolling

#

why are you harrassing Akarys?

woven oriole
#

oh it was not supposed to be took that way but nvm

candid berry
#

How else could it have looked? What joke were you trying to make?

sleek grail
#

Is this event ended? Where can I see the last couple of questions?

cyan sleet
#

(or manually go to https://adventofcode.com/<year> which I end up doing)

hollow wharf
#

dont be zuzzy

marsh currentBOT
#

:incoming_envelope: :ok_hand: applied mute to @hollow wharf until <t:1641429876:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).

deep merlin
oblique pivot
#

glad AOC doesn't stand for Alexandria Ocasio-Cortez

swift obsidian
#

was just doing aoc 2021 day 14 (the polymer template one) and thought that the only letters used were N, C, B and H in the example and in the real input. but little did i know i would have to rewrite all my code... (pretty sure this isnt aoc spoilers if it is ill repost it there)

rancid creek
#

Hey how did people get the adventofcode and aoc completeionist roles?

minor cave
#

for the advent of code role, .aoc subscribe
for aoc completionist, do .aoc link your_aoc_lb_name_here and it should apply within 30 minutes

rancid creek
#

Odd, thought I did all that to get on the leaderboard. 🙂

#

"Advent of Code can only be assigned during November and December."
BAH.

minor cave
#

whooops, I'll see if I can extend that to January. But it doesn't do much besides ping for each puzzle release

rancid creek
#

eh, no worries, I just noticed peopel with a snazzy role and thought it would be nice to highlight I was also an aoc person. Not sure how many hours I spent answering questions in #advent-of-code-spoilers-archive but it was a lot every day. 🙂

final sluice
#

Who arecus x 2.0

tribal sentinel
#

what is advent of code ?

woven sable
#

Each challenge gives you a star, and you have to try and get all 50 stars. These are challenges that you should code a solution to btw

trim rain
#

the challenges also stay up after Christmas so you can still do them if you want

hollow wharf
#

Hi guys

brisk ether
#

If I complete last year's advent of code late, will I get the pink name? 🥺

minor cave
brisk ether
#

okay pog thank you

#

and how would i demonstrate that i've completed them? (though, i havent just yet)

bright spindle
brisk ether
#

i'll try this in bot-commands

bright spindle
#

@minor cave Do we have a workaround for this?

iron shadow
hidden copperBOT
brisk ether
#

Now that you've pushed the patch, i'll try again

iron shadow
#

It's not pushed yet.

#

It needs to be reviewed and then merged, then it'll be fixed 😄

brisk ether
#

oh whoops >w<

#

misunderstood what this means

#

but anyway, thanks - i'll sign up once the process is done

hidden wraith
#

yo guys

near zodiac
#

yyyoooo

fluid pebble
#

.aoc

hidden copperBOT
#
Command Help

**```
.adventofcode

**Can also use:** `aoc`

*All of the Advent of Code commands.*

**Subcommands:**
**`about `**
*Learn about Advent of Code*
**`countdown `**
*Return time left until next day*
**`join `**
*Learn how to join the leaderboard (via DM)*
**`link [aoc_name]`**
*Tie your Discord account with your Advent of Code name.*
**`subscribe `**
*NOTE: This command has been moved to !subscribe*
**`unlink `**
*Tie your Discord account with your Advent of Code name.*
fluid pebble
#

.aoc link MaskDuck

hidden copperBOT
fluid pebble
#

.help aoc

#

.aoc

hidden copperBOT
#
Command Help

**```
.adventofcode

**Can also use:** `aoc`

*All of the Advent of Code commands.*

**Subcommands:**
**`about `**
*Learn about Advent of Code*
**`countdown `**
*Return time left until next day*
**`join `**
*Learn how to join the leaderboard (via DM)*
**`link [aoc_name]`**
*Tie your Discord account with your Advent of Code name.*
**`subscribe `**
*NOTE: This command has been moved to !subscribe*
**`unlink `**
*Tie your Discord account with your Advent of Code name.*
fluid pebble
#

.aoc countdown

hidden copperBOT
#

The Advent of Code event is not currently running. The next event will start <t:1669870800:R>.

kind dune
#

.aoc link savagemorse

hidden copperBOT
kind dune
#

.aox

#

.aoc

hidden copperBOT
#
Command Help

**```
.adventofcode

**Can also use:** `aoc`

*All of the Advent of Code commands.*

**Subcommands:**
**`about `**
*Learn about Advent of Code*
**`countdown `**
*Return time left until next day*
**`join `**
*Learn how to join the leaderboard (via DM)*
**`link [aoc_name]`**
*Tie your Discord account with your Advent of Code name.*
**`subscribe `**
*NOTE: This command has been moved to !subscribe*
**`unlink `**
*Tie your Discord account with your Advent of Code name.*
kind dune
#

Join

#

.aoc join

#

I should've used this in #aoc-bot-commands

rocky wraith
#

.aoc join

frigid zephyr
hidden copperBOT
#
What is Advent of Code?

Advent of Code (AoC) is a series of small programming puzzles for a variety of skill levels, run every year during the month of December.

They are self-contained and are just as appropriate for an expert who wants to stay sharp as they are for a beginner who is just learning to code. Each puzzle calls upon different skills and has two parts that build on a theme.

How do I sign up?

Sign up with one of these services:

Auth Services

GitHub
Google
Twitter
Reddit

How does scoring work?

For the global leaderboard, the first person to get a star first gets 100 points, the second person gets 99 points, and so on down to 1 point at 100th place.

For private leaderboards, the first person to get a star gets N points, where N is the number of people on the leaderboard. The second person to get the star gets N-1 points and so on and so forth.

Join our private leaderboard!

Come join the Python Discord private leaderboard and compete against other people in the community! Get the join code using .aoc join and visit the private leaderboard page to join our leaderboard.

#

:x: Failed to get join code! Notified maintainers.

vale bison
#

.aoc join

#

.aoc link ddjerqq

hidden copperBOT
uneven leaf
#

.aoc join aday913

#

.aoc link aday913

hidden copperBOT
void charm
#

How do I get the completionist role? I completed it and linked my account

#

But it's a anonymous account, do I need a non anonymous account on adventofcode?

iron shadow
#

It should work, you might need to do .aoc link Anonymous #1437011

#

rather than just the number

void charm
#

how long does it take for roles to get assigned?

iron shadow
#

the job runs every 10 minutes

#

so at most 10 minutes

void charm
#

I did what you said

#

Okay thanks!

iron shadow
#

.aoc lb Anonymous #1437011

hidden copperBOT
#

Here's our current top 10 (and your personal stats compared to the top 10)! 🎄🎄🎄

     | Name                      | Score | ⭐, ⭐⭐
--------------------------------------------------
  98 | (You) Anonymous #1437011  | 38561 | (25, 25)
   1 | Oliver Ni                 | 48085 | (25, 25)
   2 | Zeyu Chen                 | 47961 | (25, 25)
   3 | Defelo                    | 47823 | (25, 25)
   4 | Anonymous #1087784        | 47536 | (25, 25)
   5 | rocket3989                | 47516 | (25, 25)
   6 | Kevin Sheng               | 47430 | (25, 25)
   7 | Kelly Dance               | 47359 | (25, 25)
   8 | Will Da Silva             | 47105 | (25, 25)
   9 | Connor Nelson             | 47051 | (25, 25)

The leaderboard is refreshed every 30 minutes.

Number of Participants

967

Full Leaderboard
iron shadow
#

Yea, you're on the lb with 50/50

#

so it should assign the role shortly

void charm
#

nice, thank you!

warm berry
#

.aoc lb brad90four

hidden copperBOT
#

Here's our current top 10 (and your personal stats compared to the top 10)! 🎄🎄🎄

     | Name                      | Score | ⭐, ⭐⭐
--------------------------------------------------
 415 | (You) brad90four          |  3924 | (3, 3)
   1 | Oliver Ni                 | 48085 | (25, 25)
   2 | Zeyu Chen                 | 47961 | (25, 25)
   3 | Defelo                    | 47823 | (25, 25)
   4 | Anonymous #1087784        | 47536 | (25, 25)
   5 | rocket3989                | 47516 | (25, 25)
   6 | Kevin Sheng               | 47430 | (25, 25)
   7 | Kelly Dance               | 47359 | (25, 25)
   8 | Will Da Silva             | 47105 | (25, 25)
   9 | Connor Nelson             | 47051 | (25, 25)

The leaderboard is refreshed every 30 minutes.

Number of Participants

967

Full Leaderboard
warm berry
#

Wow, only did 3 days and still in the top 43%

#

94 people did all of the days

#

400 joined the leaderboard and did not complete a day

slender hollow
#

.aoc lb bitsima

hidden copperBOT
#

:x: Please use #aoc-bot-commands for aoc commands instead.

slender hollow
#

.aoc join

topaz coyote
#

.aoc lb hbregalad

hidden copperBOT
#

:x: Please use #aoc-bot-commands for aoc commands instead.

topaz coyote
#

Oh, right.

rough bear
#

.aoc join

potent pumice
iron shadow
potent pumice
#

and the score is cached for said link

#

gotcha

#

makes sense

iron shadow
#

Yea, a proper implementation would be to refresh it with the lb and when running the link command

potent pumice
#

would make sense to check on link then 🤔

iron shadow
#

This was just the easiest for now

potent pumice
#

lmaooo

crisp coyote
#

we needed those that had already linked to get the role, so just checking on link would not have been sufficient

wispy glacier
#

@still pumice what did you need help on?

still pumice
#

How can I join?

#

also does it get removed every month or its for a year

wispy glacier
#

so the vanity role (pink w/ the christmas tree) is temporary

still pumice
#

Is there a specific day? And how can a person join?

wispy glacier
#

i think all you have to do is .aoc join?

#

that's to join the leaderboard

still pumice
#

.aoc join

#

yep

wispy glacier
#

and then there's another command to link your aoc account with your discord ID here on this server

still pumice
#

how longs the process?

wispy glacier
#

.aoc link YOUR_AOC_ACCOUNT_NAME

#

i think ^. i did not actually do aoc lmao

still pumice
#

Mate I am asking for how long it takes to finish it lol

wispy glacier
#

finish all 25 days of puzzles?

#

quite a long time, even if you're a seasoned pro

#

.aoc lb

hidden copperBOT
#

Here's our current top 10! 🎄🎄🎄

     | Name                      | Score | ⭐, ⭐⭐
--------------------------------------------------
   1 | Oliver Ni                 | 48235 | (25, 25)
   2 | Zeyu Chen                 | 48111 | (25, 25)
   3 | Defelo                    | 47973 | (25, 25)
   4 | Anonymous #1087784        | 47686 | (25, 25)
   5 | rocket3989                | 47666 | (25, 25)
   6 | Kevin Sheng               | 47578 | (25, 25)
   7 | Kelly Dance               | 47509 | (25, 25)
   8 | Will Da Silva             | 47255 | (25, 25)
   9 | Connor Nelson             | 47201 | (25, 25)
  10 | RadioactiveHydra          | 47149 | (25, 25)

The leaderboard is refreshed every 30 minutes.

Number of Participants

970

Full Leaderboard
wispy glacier
still pumice
#

Alright, thanks for your help, i'll register tmr cuz I am tired.

still pumice
#

.aoc join

hollow wharf
#

.aoc join

sweet plinth
#

.aoc join

ruby epoch
vague tundra
#

.aoc join

tight dragon
#

.aoc join

rich cloud
#

. aoc about

#

.aoc about

hidden copperBOT
#
What is Advent of Code?

Advent of Code (AoC) is a series of small programming puzzles for a variety of skill levels, run every year during the month of December.

They are self-contained and are just as appropriate for an expert who wants to stay sharp as they are for a beginner who is just learning to code. Each puzzle calls upon different skills and has two parts that build on a theme.

How do I sign up?

Sign up with one of these services:

Auth Services

GitHub
Google
Twitter
Reddit

How does scoring work?

For the global leaderboard, the first person to get a star first gets 100 points, the second person gets 99 points, and so on down to 1 point at 100th place.

For private leaderboards, the first person to get a star gets N points, where N is the number of people on the leaderboard. The second person to get the star gets N-1 points and so on and so forth.

Join our private leaderboard!

Come join the Python Discord private leaderboard and compete against other people in the community! Get the join code using .aoc join and visit the private leaderboard page to join our leaderboard.

timid bluff
#

.aoc join

still pumice
#

What are the requirements to join?

#

As in level of skill.

sharp panther
#

Anyone can participate in AoC

still pumice
#

Skill level?

still pumice
sharp panther
#

You might want some understanding of some common algos though

#

I've heard BFS, DFS, A*, Dijkstra, and some others all mentioned here

still pumice
#

So 1.5 years in python and good knowledge of problem solving is enough?

#

Reply to me as I am turning my phone off

sharp panther
still pumice
#

K

woven sable
ruby epoch
#

I know that I don't know much when it comes to DSA, so I'm actually hoping to learn them through AoC

#

In fact, is there a list as to which algos are best suited to which days?

wispy glacier
#

if you find one show me :D

still pumice
still pumice
#

nvm. I probably should have read it twic

still pumice
ruby epoch
#

Day 12 is binary tree walking, right?

cyan sleet
ruby epoch
cyan sleet
#

the DFS is nice in that you can do/undo state updates as you enter/backtrack

#

makes things cleaner

#

e.g. add one to visited count for that node when entering, subtract one when backtracking out again

still pumice
proven vale
#

.aoc join

covert fern
#

.aoc join

#

I am kind of stuck in aoc21 prob3 part 2, anyone up for help, I am using numpy, drop me a dm

verbal coral
#

heyoo
im sorry where can I see the tasks?

iron shadow
bright spindle
#

Even if you don't know how to solve all of them, you will learn a lot by trying.

ruby epoch
#

I’ve learned a lot by going through them, and I’m more comfortable with language features I didn’t know/use before too

still pumice
still pumice
bright spindle
#

You can put your solutions on your Github and include a link to your Github in your application, but that's about it, I think.l

#

I wouldn't mention it separately.

ruby epoch
#

I'm planning to put AoC as a single bullet point on my CV the next time I refresh it, and my code is all on my GH page

#

And yep, succeeding at any task gives me a level of satisfaction

cyan sleet
#

I can put "IOCCC winner" on my CV and see who knows what that obscure thing is. Worst case it sounds vaguely impressive, best case someone knows about it and get horrified

nimble panther
#

i am going to convert my name into your waveform and play it on-loop when someone visits my website

ruby epoch
#

I want to flex because I just did day 13 part 1 with no googling, no looking at others answers, no internet connect, nothing. I’m pretty pleased with myself for that. I submitted the answer on my phone too

hollow wharf
#

And i think im doing pretty good

#

my 2nd day of learning to program with python

#

i have done a lot already

tropic abyss
#

.aoc join

split portal
#

.aoc join

hidden copperBOT
#

:x: @split portal, please (temporarily) enable DMs to receive the join code

split portal
#

.aoc join

hollow wharf
#

.aoc join

#

.aoc join

feral grove
#

.aoc join

dull apex
#

.aoc join

hidden copperBOT
#

:x: @dull apex, please (temporarily) enable DMs to receive the join code

thin token
#

.aoc join

untold minnow
#

.aoc join

leaden juniper
#

.aoc join

velvet ferry
#

.aoc join

spark snow
#

.aoc join

smoky thicket
#

大家好

hidden copperBOT
#

:x: @loud hearth, please (temporarily) enable DMs to receive the join code

loud hearth
#

.aoc join

hollow wharf
#

If I complete advent of code, will I automatically get the pink role?
Ping please.

tulip wing
#

.aoc join

#

Can someone give me a quick info about AOC?

signal grotto
signal grotto
hidden copperBOT
#
What is Advent of Code?

Advent of Code (AoC) is a series of small programming puzzles for a variety of skill levels, run every year during the month of December.

They are self-contained and are just as appropriate for an expert who wants to stay sharp as they are for a beginner who is just learning to code. Each puzzle calls upon different skills and has two parts that build on a theme.

How do I sign up?

Sign up with one of these services:

Auth Services

GitHub
Google
Twitter
Reddit

How does scoring work?

For the global leaderboard, the first person to get a star first gets 100 points, the second person gets 99 points, and so on down to 1 point at 100th place.

For private leaderboards, the first person to get a star gets N points, where N is the number of people on the leaderboard. The second person to get the star gets N-1 points and so on and so forth.

Join our private leaderboard!

Come join the Python Discord private leaderboard and compete against other people in the community! Get the join code using .aoc join and visit the private leaderboard page to join our leaderboard.

terse comet
#

I don't think that we are giving it any more though?
from what I remember it was given in Jan 1st to last until Feb 1st, but I could be wrong

signal grotto
#

I think it might still be obtainable until February, but I'm not entirely sure about exact dates

tulip wing
#

Ah thanks for that, I understood. I guessed i missed last year's. I would have to wait for a while

signal grotto
#

You can still complete the challenges at any time, it's just a difference in whether you'll get the role here for it 🙂

placid lake
#

yeah, the role will be gone in february

ruby epoch
#

Tuesday

minor cave
placid lake
#

ooh that wouldd

tardy sandal
#

where can I ask to help to fix my code

viral ore
#

.aoc join

mystic plover
#

advent of code

valid valve
#

advent of code

serene sail
#

hello

#

where would i go to find tools to learn python

warm grail
marsh currentBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

warm grail
#

check out the list of resources on our website

serene sail
#

thank you

young tree
#

.aoc help

hidden copperBOT
#
Command Help

**```
.adventofcode

**Can also use:** `aoc`

*All of the Advent of Code commands.*

**Subcommands:**
**`about `**
*Learn about Advent of Code*
**`countdown `**
*Return time left until next day*
**`join `**
*Learn how to join the leaderboard (via DM)*
**`subscribe `**
*NOTE: This command has been moved to !subscribe*
young tree
#

.aoc join

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

tame hull
#

hi

#

.

rocky wraith
#

.aoc join

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

rocky wraith
#

.aoc

hidden copperBOT
#
Command Help

**```
.adventofcode

**Can also use:** `aoc`

*All of the Advent of Code commands.*

**Subcommands:**
**`about `**
*Learn about Advent of Code*
**`countdown `**
*Return time left until next day*
**`join `**
*Learn how to join the leaderboard (via DM)*
**`subscribe `**
*NOTE: This command has been moved to !subscribe*
rocky wraith
#

.about

#

.apply

#

!join

marsh currentBOT
#

Joining Iterables

If you want to display a list (or some other iterable), you can write:

colors = ['red', 'green', 'blue', 'yellow']
output = ""
separator = ", "
for color in colors:
    output += color + separator
print(output)
# Prints 'red, green, blue, yellow, '

However, the separator is still added to the last element, and it is relatively slow.

A better solution is to use str.join.

colors = ['red', 'green', 'blue', 'yellow']
separator = ", "
print(separator.join(colors))
# Prints 'red, green, blue, yellow'

An important thing to note is that you can only str.join strings. For a list of ints,
you must convert each element to a string before joining.

integers = [1, 3, 6, 10, 15]
print(", ".join(str(e) for e in integers))
# Prints '1, 3, 6, 10, 15'
rocky wraith
#

.join

#

.aoc join

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

tame hull
#

hello

vestal burrow
#

.

rocky wraith
#

.join

#

.apc

#

.aoc

hidden copperBOT
#
Command Help

**```
.adventofcode

**Can also use:** `aoc`

*All of the Advent of Code commands.*

**Subcommands:**
**`about `**
*Learn about Advent of Code*
**`countdown `**
*Return time left until next day*
**`join `**
*Learn how to join the leaderboard (via DM)*
**`subscribe `**
*NOTE: This command has been moved to !subscribe*
rocky wraith
#

.join

#

join

#

!join

marsh currentBOT
#

Joining Iterables

If you want to display a list (or some other iterable), you can write:

colors = ['red', 'green', 'blue', 'yellow']
output = ""
separator = ", "
for color in colors:
    output += color + separator
print(output)
# Prints 'red, green, blue, yellow, '

However, the separator is still added to the last element, and it is relatively slow.

A better solution is to use str.join.

colors = ['red', 'green', 'blue', 'yellow']
separator = ", "
print(separator.join(colors))
# Prints 'red, green, blue, yellow'

An important thing to note is that you can only str.join strings. For a list of ints,
you must convert each element to a string before joining.

integers = [1, 3, 6, 10, 15]
print(", ".join(str(e) for e in integers))
# Prints '1, 3, 6, 10, 15'
rocky wraith
#

Why it's not working

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

silent flame
#

can someone help me with work

warm grail
proud cosmos
#

Nice we get a few more days

young tree
#

.aoc help

hidden copperBOT
#
Command Help

**```
.adventofcode

**Can also use:** `aoc`

*All of the Advent of Code commands.*

**Subcommands:**
**`about `**
*Learn about Advent of Code*
**`countdown `**
*Return time left until next day*
**`join `**
*Learn how to join the leaderboard (via DM)*
**`subscribe `**
*NOTE: This command has been moved to !subscribe*
young tree
#

.aoc join

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

main epoch
#

.aoc about

hidden copperBOT
#
What is Advent of Code?

Advent of Code (AoC) is a series of small programming puzzles for a variety of skill levels, run every year during the month of December.

They are self-contained and are just as appropriate for an expert who wants to stay sharp as they are for a beginner who is just learning to code. Each puzzle calls upon different skills and has two parts that build on a theme.

How do I sign up?

Sign up with one of these services:

Auth Services

GitHub
Google
Twitter
Reddit

How does scoring work?

For the global leaderboard, the first person to get a star first gets 100 points, the second person gets 99 points, and so on down to 1 point at 100th place.

For private leaderboards, the first person to get a star gets N points, where N is the number of people on the leaderboard. The second person to get the star gets N-1 points and so on and so forth.

Join our private leaderboard!

Come join the Python Discord private leaderboard and compete against other people in the community! Get the join code using .aoc join and visit the private leaderboard page to join our leaderboard.

wanton pike
#

.aoc join

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

zenith slate
#

.aoc join

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

floral loom
#

.aoc join 2021

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

proud wing
#

So how do you .aoc join since this has been extended?

iron shadow
#

If you're not already on the leader board, you cannot join. That event has wrapped up now, so the commands are inactive until November.

#

We are however keeping the role around for a little longer.

proud wing
#

😦 😢 😭

pine tiger
#

more roles

#

oh wait

#

role icon nice

iron shadow
#

FWIW, it's also in the announcement that we sent out earlier today, in #announcements

final oriole
#

.aoc join

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

final oriole
#

ah'

#

mb

#

I just read up

earnest forge
#

So like
I'm on the leaderboard and did the whole link thing that set the default lookup on the leaderboard

#

I also have 50*

#

But no role?

iron shadow
earnest forge
#

That's correct

#

It's my github account

iron shadow
#

but the API is listing you as "Starwort", so the script handing out the automatic role isn't giving you it

earnest forge
#

Ah, I've been got by case sensitivity

iron shadow
#

Of course, since the commands have been disabled now so you can't fix that I'll assign manually

earnest forge
#

Which is surprising because lb was case insensitive

#

Thanks

iron shadow
#

yea, not too sure about the differences there

#

we should fix that for next year though 😛

earnest forge
#

Absolutely lol

shadow musk
#

.aoc join 2021

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

shadow musk
#

.aoc

hidden copperBOT
#
Command Help

**```
.adventofcode

**Can also use:** `aoc`

*All of the Advent of Code commands.*

**Subcommands:**
**`about `**
*Learn about Advent of Code*
**`countdown `**
*Return time left until next day*
**`join `**
*Learn how to join the leaderboard (via DM)*
**`subscribe `**
*NOTE: This command has been moved to !subscribe*
stuck rose
#

.aoc join

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

tacit reef
#

.aoc join

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

mental marlin
#

about

junior bridge
#

.aoc about

hidden copperBOT
#
What is Advent of Code?

Advent of Code (AoC) is a series of small programming puzzles for a variety of skill levels, run every year during the month of December.

They are self-contained and are just as appropriate for an expert who wants to stay sharp as they are for a beginner who is just learning to code. Each puzzle calls upon different skills and has two parts that build on a theme.

How do I sign up?

Sign up with one of these services:

Auth Services

GitHub
Google
Twitter
Reddit

How does scoring work?

For the global leaderboard, the first person to get a star first gets 100 points, the second person gets 99 points, and so on down to 1 point at 100th place.

For private leaderboards, the first person to get a star gets N points, where N is the number of people on the leaderboard. The second person to get the star gets N-1 points and so on and so forth.

Join our private leaderboard!

Come join the Python Discord private leaderboard and compete against other people in the community! Get the join code using .aoc join and visit the private leaderboard page to join our leaderboard.

willow sail
#

.aoc join

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

rocky wraith
#

.aoc join

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

rocky wraith
#

.aoc join

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

lyric sentinel
#

.aoc join

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

dim ocean
#

.aoc join

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

signal grotto
#

PSA: The .aoc join command won't be available again until November 🙂

rich fractal
#

.aoc join

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

rich fractal
#

;-;

warm grail
#

yes

onyx gulch
dull apex
#

dang

ocean spire
#

.aoc join

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

violet hare
#

.aoc about

hidden copperBOT
#
What is Advent of Code?

Advent of Code (AoC) is a series of small programming puzzles for a variety of skill levels, run every year during the month of December.

They are self-contained and are just as appropriate for an expert who wants to stay sharp as they are for a beginner who is just learning to code. Each puzzle calls upon different skills and has two parts that build on a theme.

How do I sign up?

Sign up with one of these services:

Auth Services

GitHub
Google
Twitter
Reddit

How does scoring work?

For the global leaderboard, the first person to get a star first gets 100 points, the second person gets 99 points, and so on down to 1 point at 100th place.

For private leaderboards, the first person to get a star gets N points, where N is the number of people on the leaderboard. The second person to get the star gets N-1 points and so on and so forth.

Join our private leaderboard!

Come join the Python Discord private leaderboard and compete against other people in the community! Get the join code using .aoc join and visit the private leaderboard page to join our leaderboard.

violet hare
#

.aoc join

#

.aoc join

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

signal grotto
#

Moving this down a bit:
PSA: The .aoc join command won't be available again until November 🙂

simple epoch
dark musk
#

hi

#

!voiceverify

#

hu

#

bruh

#

print ("bruh")

stable badger
#

!e

class There:
     def __init__(self) -> None:
          pass
     
     def __str__(self):
           return "Bruh"

print(There()) 
marsh currentBOT
#

@stable badger :white_check_mark: Your eval job has completed with return code 0.

Bruh
pliant canopy
#

!e
import youtube.dI

marsh currentBOT
#

@pliant canopy :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | ModuleNotFoundError: No module named 'youtube'
pliant canopy
#

!e
import youtube

marsh currentBOT
#

@pliant canopy :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | ModuleNotFoundError: No module named 'youtube'
sleek grail
#

Where can I find the link to advent of code questions?

signal grotto
viscid sentinel
#

!e
print("hi")

#

!e
while True:
print("hi")

marsh currentBOT
#

@viscid sentinel :x: Your eval job has completed with return code 143 (SIGTERM).

001 | hi
002 | hi
003 | hi
004 | hi
005 | hi
006 | hi
007 | hi
008 | hi
009 | hi
010 | hi
011 | hi
... (truncated - too many lines)

Full output: too long to upload

dusky vessel
#

!e

marsh currentBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*

dusky vessel
#

!eval [print("hi")]

marsh currentBOT
#

@dusky vessel :white_check_mark: Your eval job has completed with return code 0.

hi
bronze girder
#

!eval maas = [1000,2000,3000,4000,5000]

def gelire_gore_zam(x):
for i in maas:
if i > 3000:
print(i+i0.1)
elif i < 3000:
print(i+i
0.2)
gelire_gore_zam(maas)

marsh currentBOT
#

@bronze girder :white_check_mark: Your eval job has completed with return code 0.

001 | 1200.0
002 | 2400.0
003 | 4400.0
004 | 5500.0
terse comet
golden grove
#

thanks

#

i was curious too

hidden copperBOT
#
What is Advent of Code?

Advent of Code (AoC) is a series of small programming puzzles for a variety of skill levels, run every year during the month of December.

They are self-contained and are just as appropriate for an expert who wants to stay sharp as they are for a beginner who is just learning to code. Each puzzle calls upon different skills and has two parts that build on a theme.

How do I sign up?

Sign up with one of these services:

Auth Services

GitHub
Google
Twitter
Reddit

How does scoring work?

For the global leaderboard, the first person to get a star first gets 100 points, the second person gets 99 points, and so on down to 1 point at 100th place.

For private leaderboards, the first person to get a star gets N points, where N is the number of people on the leaderboard. The second person to get the star gets N-1 points and so on and so forth.

Join our private leaderboard!

Come join the Python Discord private leaderboard and compete against other people in the community! Get the join code using .aoc join and visit the private leaderboard page to join our leaderboard.

signal grotto
#

btw ^

ivory venture
foggy patio
#

!e

marsh currentBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*

foggy patio
#

!e console.Writeline("Hello World")

marsh currentBOT
#

@foggy patio :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | NameError: name 'console' is not defined
hollow wharf
#

!e print('Hello everyone')

hollow wharf
#

i need help

potent pumice
#

.aoc

hidden copperBOT
#
Command Help

**```
.adventofcode

**Can also use:** `aoc`

*All of the Advent of Code commands.*

**Subcommands:**
**`about `**
*Learn about Advent of Code*
**`countdown `**
*Return time left until next day*
**`join `**
*Learn how to join the leaderboard (via DM)*
**`subscribe `**
*NOTE: This command has been moved to !subscribe*
muted latch
#

.aoc

hidden copperBOT
#
Command Help

**```
.adventofcode

**Can also use:** `aoc`

*All of the Advent of Code commands.*

**Subcommands:**
**`about `**
*Learn about Advent of Code*
**`countdown `**
*Return time left until next day*
**`join `**
*Learn how to join the leaderboard (via DM)*
**`subscribe `**
*NOTE: This command has been moved to !subscribe*
muted latch
#

.adventofcode

hidden copperBOT
#
Command Help

**```
.adventofcode

**Can also use:** `aoc`

*All of the Advent of Code commands.*

**Subcommands:**
**`about `**
*Learn about Advent of Code*
**`countdown `**
*Return time left until next day*
**`join `**
*Learn how to join the leaderboard (via DM)*
**`subscribe `**
*NOTE: This command has been moved to !subscribe*
muted latch
#

.join

#

.aoc subscribe

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

muted latch
#

.aoc subscribe

hidden copperBOT
#
No way, José.

This command, .adventofcode subscribe has moved to !subscribe.
Please use !subscribe instead.

hollow wharf
#

.aoc about

hidden copperBOT
#
What is Advent of Code?

Advent of Code (AoC) is a series of small programming puzzles for a variety of skill levels, run every year during the month of December.

They are self-contained and are just as appropriate for an expert who wants to stay sharp as they are for a beginner who is just learning to code. Each puzzle calls upon different skills and has two parts that build on a theme.

How do I sign up?

Sign up with one of these services:

Auth Services

GitHub
Google
Twitter
Reddit

How does scoring work?

For the global leaderboard, the first person to get a star first gets 100 points, the second person gets 99 points, and so on down to 1 point at 100th place.

For private leaderboards, the first person to get a star gets N points, where N is the number of people on the leaderboard. The second person to get the star gets N-1 points and so on and so forth.

Join our private leaderboard!

Come join the Python Discord private leaderboard and compete against other people in the community! Get the join code using .aoc join and visit the private leaderboard page to join our leaderboard.

sleek shuttle
#

.aoc join

hidden copperBOT
#

The Python Discord leaderboard for 2022 is not yet available!

sleek shuttle
#

.aoc participate

hidden copperBOT
#
Command Help

**```
.adventofcode

**Can also use:** `aoc`

*All of the Advent of Code commands.*

**Subcommands:**
**`about `**
*Learn about Advent of Code*
**`countdown `**
*Return time left until next day*
**`join `**
*Learn how to join the leaderboard (via DM)*
**`subscribe `**
*NOTE: This command has been moved to !subscribe*
sleek shuttle
#

.aoc

hidden copperBOT
#
Command Help

**```
.adventofcode

**Can also use:** `aoc`

*All of the Advent of Code commands.*

**Subcommands:**
**`about `**
*Learn about Advent of Code*
**`countdown `**
*Return time left until next day*
**`join `**
*Learn how to join the leaderboard (via DM)*
**`subscribe `**
*NOTE: This command has been moved to !subscribe*
sleek shuttle
#

.aoc subscribe

hidden copperBOT
#
Nah.

This command, .adventofcode subscribe has moved to !subscribe.
Please use !subscribe instead.

trim ginkgo
#

.aoc about

hidden copperBOT
#
What is Advent of Code?

Advent of Code (AoC) is a series of small programming puzzles for a variety of skill levels, run every year during the month of December.

They are self-contained and are just as appropriate for an expert who wants to stay sharp as they are for a beginner who is just learning to code. Each puzzle calls upon different skills and has two parts that build on a theme.

How do I sign up?

Sign up with one of these services:

Auth Services

GitHub
Google
Twitter
Reddit

How does scoring work?

For the global leaderboard, the first person to get a star first gets 100 points, the second person gets 99 points, and so on down to 1 point at 100th place.

For private leaderboards, the first person to get a star gets N points, where N is the number of people on the leaderboard. The second person to get the star gets N-1 points and so on and so forth.

Join our private leaderboard!

Come join the Python Discord private leaderboard and compete against other people in the community! Get the join code using .aoc join and visit the private leaderboard page to join our leaderboard.

hexed bay
#

I am developing python project. I have some issues. can someone help me?

#

in model.fit(), they appears issues.

last field
#

ok

main edge
#

.aoc

hidden copperBOT
#
Command Help

**```
.adventofcode

**Can also use:** `aoc`

*All of the Advent of Code commands.*

**Subcommands:**
**`about `**
*Learn about Advent of Code*
**`countdown `**
*Return time left until next day*
**`join `**
*Learn how to join the leaderboard (via DM)*
**`subscribe `**
*NOTE: This command has been moved to !subscribe*
proud cosmos
#

There it goes

livid gull
#

bye bye role 😦

terse elbow
#

i was really late to the advent of code and i never even finished it