GithubHelp home page GithubHelp logo

sekoiatree / aoc-2020 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shilangyu/aoc-2020

0.0 0.0 0.0 72 KB

Advent Of Code 2020 in whatever language I'm able to write a simple program in

License: MIT License

Rust 16.20% Shell 1.97% Go 4.98% Julia 2.49% TypeScript 11.31% Python 5.47% C 8.71% Nim 6.73% C++ 9.93% Dart 6.67% C# 16.18% Swift 9.35%

aoc-2020's Introduction

AoC-2020

Advent of Code 2020 in Rust, Golang, Julia, Typescript, Python, C, Nim, C++, Dart, Zig, C#, and Swift

function writtenIn(day: number): string {
  const choices = [
    "Rust",
    "Golang",
    "Julia",
    "Typescript",
    "Python",
    "C",
    "Nim",
    "C++",
    "Dart",
    "Zig",
    "C#",
    "Swift",
  ];
  return choices[(day - 1) % choices.length];
}
day part 1 part 2
1
2
3
4
5
6
7
8
9
10 ❌ (Still studying Zig) ❌ (Still studying Zig)
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

Run all with ./run.sh. Requires:

WARNING: contains answers
day 1:
  part 1: 858496
  part 2: 263819430
day 2:
  part 1: 396
  part 2: 428
day 3:
  part 1: 205
  part 2: 3952146825
day 4:
  part 1: 202
  part 2: 137
day 5:
  part 1: 938
  part 2: 696
day 6:
  part 1: 6680
  part 2: 3117
day 7:
  part 1: 335
  part 2: 2431
day 8:
  part 1: 1217
  part 2: 501
day 9:
  part 1: 373803594
  part 2: 51152360
day 11:
  part 1: 2277
  part 2: 2066
day 12:
  part 1: 757
  part 2: 51249
day 13:
  part 1: 2545
  part 2: 266204454441577

aoc-2020's People

Contributors

shilangyu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.