commit ec7778ddc1f391eb73329ce863f247dc325915b0 Author: Dimitri Lozeve Date: Mon Oct 23 10:58:34 2023 +0200 Initial commit diff --git a/phase1.bqn b/phase1.bqn new file mode 100644 index 0000000..9d3b0ca --- /dev/null +++ b/phase1.bqn @@ -0,0 +1,8 @@ +EliminationSort←{(𝕩=⌈`𝕩)/𝕩} +FindEnd←{⌽(≠𝕩)↑(⥊𝕨)⍷○⌽⥊𝕩} +alph←" "∾'A'+↕26 +Caesar←(alph⊸⊐⊏⌽⟜alph) +VersionOrder←(⊑∘×∘-´(<⋈>)⊐¨1˙) +RiskScore←(/⁼∘>´(⌊○≠)↑¨⋈) +SplitOn←((0∾(≠-1˙)⥊1˙)↓¨⊢)∘(+`∘=⊔⊢) +KeyValue←(>∘((1⊏⊣)SplitOn¨(⊏⊸SplitOn))) diff --git a/phase1.dyalog b/phase1.dyalog new file mode 100644 index 0000000..0cc5bc2 --- /dev/null +++ b/phase1.dyalog @@ -0,0 +1,2 @@ + EliminationSort←{(⍵=⌈\⍵)/⍵} + Rational←(÷\(1∧⊢),⊢) diff --git a/phase2.bqn b/phase2.bqn new file mode 100644 index 0000000..31be168 --- /dev/null +++ b/phase2.bqn @@ -0,0 +1 @@ +RNA←{'U'¨⌾(('T'=𝕩)⊸/)𝕩}