aoc2021-abap
aoc
aoc2021-abap | aoc | |
---|---|---|
3 | 22 | |
1 | 1 | |
- | - | |
1.9 | 9.0 | |
over 1 year ago | 4 months ago | |
ABAP | Raku | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
aoc2021-abap
-
-🎄- 2021 Day 20 Solutions -🎄-
I've created solutions for all days except day 19 in ABAP. Feel free to take a look at the whole repository. The code is standalone and doesn't require any DDIC types or classes. Just a local file on the application server to read the input from.
-
-🎄- 2021 Day 3 Solutions -🎄-
ABAP Github While I found an easy way to convert a binary number string to an int, ABAP doesn't allow bit operations on ints but only on variables with type x or xstring. To apply a NOT/XOR to the int, it has to be converted to type x, XORed and converted back to an int. Fortunately with the ABAP version in SAP NetWeaver 7.50 conversion can be done inline.
-
-🎄- 2021 Day 1 Solutions -🎄-
Github
aoc
- -❄️- 2023 Day 10 Solutions -❄️-
-
-❄️- 2023 Day 9 Solutions -❄️-
Full code at GitHub.
-
-❄️- 2023 Day 7 Solutions -❄️-
Edit: you don't need to determine the type of hand, but you can directly compare the card counts. Second version @GitHub.
-
-🎄- 2022 Day 13 Solutions -🎄-
New version @GitHub.
-
-🎄- 2022 Day 12 Solutions -🎄-
So, a new version with a lot less almost-duplicate code @GitHub.
- -🎄- 2022 Day 2 Solutions -🎄-
-
-🎄- 2022 Day 1 Solutions -🎄-
@GitHub
-
-🎄- 2021 Day 21 Solutions -🎄-
Completed part 2, see GitHub. I couldn't really use the same `DiracDice` class and simply use another `Die`, but had to create a separate `DiracDice2` class.Basically, just keep track of the possible universe state and their counts, and try all possible combinations of die rolls. Keep playing until all universes have a winner.
-
-🎄- 2021 Day 20 Solutions -🎄-
The rest is the same as my first attempt, but full code at GitHub.
-
-🎄- 2021 Day 18 Solutions -🎄-
I spent way too much time on this, but I completed my original attempt with the proper object model, see GitHub
What are some alternatives?
aoc2021 - Advent of Code 2021 on my homemade 16-bit CPU SCAMP
rockstar - The Rockstar programming language specification
advent-2021 - [Moved to: https://github.com/Crazytieguy/advent-of-code]
AdventOfCode - My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA
adventofcode - Advent of code solutions
advent-of-code-2021 - zig solutions to advent of code 2021
Advent-of-Code - Advent of Code
AdventOfCode2021FSharp - Solutions for Advent of Code 2021 in F#
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
perlweeklychallenge-club - Knowledge base for The Weekly Challenge club members using Perl, Raku, Ada, APL, Awk, Bash, BASIC, Bc, Befunge-93, Bourne Shell, BQN, Brainfuck, C3, C, CESIL, C++, C#, Clojure, COBOL, Coconut, Crystal, D, Dart, Dc, Elm, Emacs Lisp, Erlang, Excel VBA, Fennel, Fish, Forth, Fortran, Gembase, GNAT, Go, Haskell, Haxe, HTML, Idris, IO, J, Janet, Java, JavaScript, Julia, Kotlin, Lisp, Lua, M4, Miranda, Modula 3, MMIX, Mumps, Myrddin, Nim, Nix, Node.js, Nuweb, OCaml, Odin, Ook, Pascal, PHP, Python, Postscript, Prolog, R, Ring, Ruby, Rust, Scala, Scheme, Sed, Smalltalk, SQL, Swift, Tcl, TypeScript, Visual BASIC, WebAssembly, Wolfram, XSLT and Zig.
advent-of-code - My solutions to the Advent of Code
advent-of-code