Performance improvements for 2024 Quest 16
This commit is contained in:
parent
6d665a8e71
commit
5d1320bec9
10 changed files with 462 additions and 0 deletions
26
2024/day16_cat_grin_of_fortune/tests/challenge1
Normal file
26
2024/day16_cat_grin_of_fortune/tests/challenge1
Normal file
|
@ -0,0 +1,26 @@
|
|||
10,3,11,20
|
||||
|
||||
>_^ >,^ >:> >,^
|
||||
>:> ^.> <:* <:*
|
||||
<_< >:> <:* <_<
|
||||
<_< <,> ^,- <,>
|
||||
>,^ >:> <:- <,>
|
||||
*_< *_< >,^ >:>
|
||||
^,- *_< ^,- ^,-
|
||||
<:- >,^ <_< <:-
|
||||
<:* ^.> ^.> <:-
|
||||
>_^ >_^ <_< >_^
|
||||
*_< >:>
|
||||
<:* <,>
|
||||
^,- ^.>
|
||||
<:-
|
||||
<:-
|
||||
>:>
|
||||
<:*
|
||||
^,-
|
||||
<,>
|
||||
>_^
|
||||
>_^
|
||||
^,-
|
||||
>_^
|
||||
<_<
|
42
2024/day16_cat_grin_of_fortune/tests/challenge2
Normal file
42
2024/day16_cat_grin_of_fortune/tests/challenge2
Normal file
|
@ -0,0 +1,42 @@
|
|||
47,79,59,83,53,73,43,71,67,61
|
||||
|
||||
{_* -_" +.` o:o ~:T <,< ],> [.P );X $_"
|
||||
>;x G.Q $_Y -_] =;` G.$ S,+ o;T <;| \,%
|
||||
I,- {,@ ):T -,= /:* T_o Y_o >.X Q_= Q,P
|
||||
*:+ <./ ~.I ^:) '.G /.U -:~ $,' &;^ =.P
|
||||
#;< 0,G Q;- /," >;X T_G ].} *.I #_@ ),+
|
||||
|.T {,> *;$ /_$ }.` >.0 U_| /,\ %,X G_$
|
||||
X:/ },\ -;< `.} %.O I,O `,I (.~ ~.[ /;O
|
||||
X:* `.| >,` }.= *_G o,% +;G >;& '_P [:x
|
||||
P:' %:~ <;% -,Q S.0 /;P <,\ %./ =,* <;'
|
||||
Q;' Q;} %_% @_[ (,= x_~ S;= ];\ >.' &:{
|
||||
}_< ~_- &:/ +.I o_% `:> +.= ",I (,0 O.\
|
||||
~_@ /_U +;+ P_` <;x T_] |.@ [;( T,` >,^
|
||||
^:@ {:) \:- &.Q *.] }:^ `_$ <_{ ';# ~:0
|
||||
`,P ';P @,$ X_T Q.Y P,x >.- `:) /,~ ):*
|
||||
/:] [,x X_T ):X G:~ %:~ ^;U |,# -_{ ~:[
|
||||
$_Y =;< @,O /;= U;% $_Q ~_) x_[ -_= O.I
|
||||
P_x @;{ [.) }_~ \:# |.] %_< },~ Q,U ^,(
|
||||
Y.% ',/ x,T #_| I;S #,P @_@ G.) ";} {_0
|
||||
(:T T_S o_Q x:~ `.[ x_U #_S S_# |_+ \;/
|
||||
Y_S Y.` &,@ *,( I:x I_= ].) *.0 -,Y ):}
|
||||
T_T /_T #_+ @;% ^_& *;( I,) 0_x
|
||||
T;- ];( ):o U,$ G:0 I_] -,+ <:"
|
||||
-.$ ".] T:Q (:) (,T *:~ O.& P_~
|
||||
-.< +_\ ~,U ):| @,| Y," $.+ `_}
|
||||
"_( ':| o;Y S,T |,] |,S ':I -_/
|
||||
+_` |;- @,& >;G ":} Q.%
|
||||
=:X O_O >,o ):x T:| Y.$
|
||||
<.T ^:/ \:{ x:^ };< =_+
|
||||
X:| @;~ <_\ ";` ";- >.&
|
||||
(,@ O_$ <,G +.^ Y_S ~:[
|
||||
>,S <_" X:/ >_&
|
||||
/;" ~;% (:Q (:U
|
||||
\_] ];# (.[ &_/
|
||||
U.U };T -,# ]_>
|
||||
(_) $_> #.` >_{
|
||||
Q.| ^:(
|
||||
<.G S:x
|
||||
$;X #;~
|
||||
\:$ >.>
|
||||
]_P
|
52
2024/day16_cat_grin_of_fortune/tests/challenge3
Normal file
52
2024/day16_cat_grin_of_fortune/tests/challenge3
Normal file
|
@ -0,0 +1,52 @@
|
|||
53,47,61,59,43
|
||||
|
||||
o.> =:< o:- ^.> o.-
|
||||
$.o <.< $:> *:^ -:^
|
||||
<.= *.< ^:> o:o -.o
|
||||
*.= >.< =:* =:o o.=
|
||||
^.< *:= *:$ -:< =:>
|
||||
>:< <:- ^.< >.> <.^
|
||||
^:o $:* o.= =.< o:=
|
||||
>.< <.* >.* *.$ =:*
|
||||
>.^ =:= -.^ >.$ o.o
|
||||
o.$ $:= ^:$ $:- =.o
|
||||
=:^ o:^ o.< *.* -:>
|
||||
<.o $.- <:- *:- -.<
|
||||
>.- >:$ ^:^ ^.< o:*
|
||||
^.o ^.$ $.o >.= <.-
|
||||
>.> *:$ >:> o.> >.^
|
||||
-:* *.o >:* *.> -:o
|
||||
=:^ <:* =.^ ^.* >:^
|
||||
>:$ >:= *:- -:> -.$
|
||||
-:< <.> >:> o.$ ^:*
|
||||
*.= -.> =:> =.- *:*
|
||||
=.$ -:> <.= -:$ ^.<
|
||||
^:= $:$ -.^ o.o *.=
|
||||
$.> o:> >:> o:$ *.^
|
||||
-.^ *.* =.= o:* *.<
|
||||
<.o o.- -:< $.$ <:=
|
||||
-:^ >.- $:^ ^:^ $.*
|
||||
o:= ^.> -:^ ^:^ *.^
|
||||
o:^ -:= <:* ^.> ^:<
|
||||
^:o <.$ <:- o.< *.<
|
||||
-:= <.= *:* =:< o.>
|
||||
-.$ -:- o:< *.=
|
||||
*:= *.= <.* *:*
|
||||
*.^ *:> -:^ o:>
|
||||
>.$ >.o -:> =.-
|
||||
o.^ >.- *:> >.<
|
||||
^:> ^:= -.$
|
||||
$.o -:* <.<
|
||||
>:o *.* =.=
|
||||
o:- o:o o.^
|
||||
*.^ =:< ^.o
|
||||
$.> <.<
|
||||
-:* ^.^
|
||||
$:o $:-
|
||||
-.- <:-
|
||||
>.= -.o
|
||||
-:$
|
||||
o.^
|
||||
-.*
|
||||
=.<
|
||||
o:<
|
7
2024/day16_cat_grin_of_fortune/tests/sample1
Normal file
7
2024/day16_cat_grin_of_fortune/tests/sample1
Normal file
|
@ -0,0 +1,7 @@
|
|||
1,2,3
|
||||
|
||||
^_^ -.- ^,-
|
||||
>.- ^_^ >.<
|
||||
-_- -.- >.<
|
||||
-.^ ^_^
|
||||
>.>
|
7
2024/day16_cat_grin_of_fortune/tests/sample2
Normal file
7
2024/day16_cat_grin_of_fortune/tests/sample2
Normal file
|
@ -0,0 +1,7 @@
|
|||
1,2,3
|
||||
|
||||
^_^ -.- ^,-
|
||||
>.- ^_^ >.<
|
||||
-_- -.- >.<
|
||||
-.^ ^_^
|
||||
>.>
|
7
2024/day16_cat_grin_of_fortune/tests/sample3
Normal file
7
2024/day16_cat_grin_of_fortune/tests/sample3
Normal file
|
@ -0,0 +1,7 @@
|
|||
1,2,3
|
||||
|
||||
^_^ -.- ^,-
|
||||
>.- ^_^ >.<
|
||||
-_- -.- ^.^
|
||||
-.^ >.<
|
||||
>.>
|
Loading…
Add table
Add a link
Reference in a new issue