3 ms·
Is this really saying for 2021, the first solution to the first problem came in 30 seconds after being posted? That's insane!
by Volundr 5y ago
Is this really saying for 2021, the first solution to the first problem came in 30 seconds after being posted? That's insane!
- Rietty 5y agoPeople are incredibly quick at both skimming/parsing the problem, coupled with a language like python where you can generally express stuff incredibly concisely and not have to worry too much about types, it makes it very quick.
- notafraudster 5y agoI'm in a really bad time zone for AoC right now, but here was my solution in R for day 1 problem 1. library(tidyverse) # pre-typed lines = readLines("data/day1.txt") %>% as.numeric() # Read data diff(lines) %>% .[. > 0] %>% length() # Part 1 This didn't involve me being a sophisticated or good programmer, and if I was in a time zone to be competitive I also would have written a function to submit my answer from within my IDE (which can also be pre-written). I could absolutely buy people wanting to be competitive and being able to do this in 30 seconds. I actually could have pre-written the second line of three, in point of fact.
- jazzyjackson 5y agowhoa I didn’t even consider automating my answer submission, suppose it’s just a curl away