New answers tagged

1 vote

Sum the powers that be

Uiua 0.11.0, 14 bytes SBCS /+▽=0:⟜◿ⁿ:+1⇡, Try on Uiua Pad! Takes k and n and returns the ...
Tbw's user avatar
  • 1,795
0 votes

Add two numbers

Brainfuck extended, 6 bytes (@(+%) Explanation ...
None1's user avatar
  • 375
1 vote

Solve a squared cryptarithm

R, 281 bytes Here is a very slow version in R. Exceeds 60 seconds but could be tested in RStudio. Edit: works online with a minimal example ("aba","ta"). ...
Patric's user avatar
  • 130
0 votes

1, 2, Fizz, 4, Buzz

Uiua, 43 bytes ≡(&p⊏++.°⊟=0◿5_3:⊂,{⊃↙↘4."FizzBuzz"})+1⇡100 Try it Explanation: ≡( … )+1⇡100 For each N in the ...
noodle man's user avatar
  • 6,893
0 votes

Distributing Numbers

Pip, 23 bytes HDQa^'(R:+XD'(.+a.`*&)` Attempt This Online! Explanation ...
DLosc's user avatar
  • 39.4k
1 vote

1, 2, Fizz, 4, Buzz

Easyfuck, 103 92 90 bytes Æ¡ãÄ©␟[Vîê§VTSx(\ùòîO␗.SÉD§ÏAPC>|¥ãÄSTSHYÞHù␋åoPU2c[HOPD®␊y$|NELóçÉ␞c[HOPD§Ü␔ò|úÛÇHTJÝÝCCHñsÄSTMWÞ»␂4-=}d␂␄␘\¢PAD due to lack of unicode representations for c1 control ...
Quadruplay's user avatar
1 vote

Invert a Minesweeper Board

Scala 3, 405 bytes A port of @Level River St's Ruby answer in Scala. 405 bytes, it can be golfed more. Golfed version. Attempt This Online! ...
138 Aspen's user avatar
  • 5,741
0 votes

Invert a Minesweeper Board

Uiua, 53 bytes ⍜☇≡(⟨@*◌|⊢°⋕/+¬⟩°⊂=@*)1⍉≡(↘⊟.¯1↻)☇1⊞⊟.0_1_¯1¤⬚@*↙+1△. Try it in the pad! Port of Dennis's CJam answer.
Joao-3's user avatar
  • 1,103
0 votes

Invert a Minesweeper Board

Vyxal 3 j, 28 bytes ᵛƛ•=[ð|•]:Þȯᵛᵛ•CZᵗZᵛᵛ₳•c¿•]“ Try it Online! wish vectorize modifier deep vectorized input is a 2d list of ...
pacman256's user avatar
  • 3,760

Top 50 recent answers are included