Salta al contenuto

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
  • #AdventOfCode #Day8 with #rust

    Mondo adventofcode day8 rust
    1
    0 Votazioni
    1 Post
    8 Visualizzazioni
    #AdventOfCode #Day8 with #rust I spent an inordinate amount of time on part1 because * imo the problem definition is wrong* it does matter if you put permutations or combinations in the list, even if you filter them out :( Part 2 is basically the same and I already did it in ruby so I'm not doing it again, at least not today.I wanted to do this with union-find but I have yet to get to the chapter about generics and it seems cheating to do it without it :) https://gist.github.com/riffraff/267f1e326e447815ab0ac28f217bc01f