# Tag Info

1 vote

### Shift right by half a bit

Excel, 13 Bytes An anonymous function that takes input from A1 and outputs to the calling cell =Int(A1/2^.5) Excel VBA (32-bit)...
• 8,586

### Find the Factorial!

Rust, 35 bytes fn f(n:u32)->u32{(1..=n).product()} Attempt This Online!
• 729

### Is this even or odd?

what about just 1&++n or maybe ~n&1 I presume ( ) for the 2nd version is superfluous ...

### Is this even or odd?

Uiua, 5 bytes, 3 characters ◿2 Try it on Uiua Pad! "0" means even, "1" means odd
• 81

Vyxal 3, 8 bytes Assumes that the inputs are zero-padded. Ṃ₉÷Tᵛ/G“ Try it Online!
• 3,528

Uiua, 14 bytes ⋕⇌/↥⬚@ ⊟∩(⇌°⋕) Try this online! Explanation: ...
1 vote

UiuaSBCS, 1 byte Try it here! Input as two space-padded strings. ↥ maximum compares each pair of characters and puts the ...
• 332
1 vote

### The Luhn algorithm for verifying credit card numbers, etc

Rust, 83 bytes |d|(0..).zip(d).fold(0,|a,(b,&c)|a+[(c-48)*2%10+(c-48)/5,c-48][b%2^d.len()%2])%10<1 Attempt This Online!
• 13k

### Infer pluses and minuses

Raku (Perl 6) (rakudo), 59 bytes Outputs a list of all valid solutions, using 1 for + and -1 ...
• 3,528

### Infer pluses and minuses

StackControl, 64 characters Pretty bad solution, but i m too lazy to think more sooo works only on the last commit since ∸ and one bug btw can work with any operations (add them onto this: ...

• 3,528

### What do you get when you multiply 6 by 9? (42)

UiuaSBCS, 11 bytes ⨬/×42≍6_9.⊂ Try it here! Takes two arguments, first on top. Explanation ...
• 332
1 vote

### Cartesian - polar conversion couple

Uiua, 6+5=11 bytes Cartesian to polar (y x -> r ϕ): 6 bytes ⊃(⌵ℂ)∠ Try it! Polar to cartesian (...
• 384
1 vote

### Cartesian - polar conversion couple

JCram, 21 bytes in total (SBCS). ,⟄⍂euL⍄⑤⍵Ⓧq Ⓛ⟄⍂¹η∑↑Ⓗ①⍘ The two programs map to: ...
• 12.5k
1 vote

### 1, 2, Fizz, 4, Buzz

J, 47 bytes echo(0{[:\:~":,:'FizzBuzz'#~4#0=3 5&|)"0>:i.100 Attempt This Online! or, if you assume implicit echo like in Jconsole, as the other ...
• 9,060
1 vote

### 1, 2, Fizz, 4, Buzz

gnuplot, 72 68 bytes -4 bytes thanks to noodle person se pr'-' do for[i=1:100]{pr i%15?i%5?i%3?i:"Fizz":"Buzz":"FizzBuzz"} Try it ...
1 vote

### Sum It Up with a Digital Triangle

K (ngn/k), 42 bytes {`0:({x#" "}'!#x),'{" "/\$x}'-1_{1_+':x}\x} Try it online!
• 51

Top 50 recent answers are included