Advent of code: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

18 December 2024

13 December 2024

7 December 2024

  • curprev 17:3417:34, 7 December 2024Mip talk contribs 2,008 bytes +472 No edit summary
  • curprev 17:0917:09, 7 December 2024Mip talk contribs 1,536 bytes +1,536 Created page with "Some tips to solve https://adventofcode.com/. == I/O == === Read a list of numbers === {| class=wikitable |- ! Code !! Output |- | <source lang="python"> print("Input:") for line in open(INPUT): print(line.strip()) </source> | <source lang="text"> Input: 3 4 4 3 2 5 1 3 3 9 3 3 </source> |- | <source lang="python"> F=[] # Flat for line in open(INPUT): numbers = list(map(int,line.split())) F.extend(numbers) print(f"{F}") </source> | <source lang..."