New answers tagged

2 votes

TYPOGLYCEMIA - Cna Yuo Raed Tihs?

Ruby, 94 93 characters ->s{i=0;s.gsub(/\S+/){|w|r=[-1,1,2,w.size/2,-2][(i+=1)%5];w[4]&&(w[r],w[r-1]=w[r-1],w[r]);w}} Sample run: ...
manatwork's user avatar
  • 20.1k
1 vote

TYPOGLYCEMIA - Cna Yuo Raed Tihs?

J, 61 60 bytes ;:inv@(A.&.>~[:(<@0 1|:4&<*#!@$1,~2,~>.@-:,~1 2-~/])#&>)&cut Try it online! ...
Jonah's user avatar
  • 33.3k
2 votes

TYPOGLYCEMIA - Cna Yuo Raed Tihs?

Bash (GNU sed + tr), 188 177 bytes ...
Jan Blumschein's user avatar
1 vote

TYPOGLYCEMIA - Cna Yuo Raed Tihs?

Jelly, 25 bytes ḲẈ’_‘:¥ṛṠ5ƭ€2!a@>ʋ4‘œ?"ḲK A monadic Link that accepts a list of characters and yields a list of characters reordered as described by the ...
Jonathan Allan's user avatar
1 vote

TYPOGLYCEMIA - Cna Yuo Raed Tihs?

JavaScript (ES6), 106 bytes s=>s.replace(/\S+/g,w=>w[s=++s%5|0,4]?w.slice(0,q=s<2?s:(w.length-2>>2/s)-s%2)+w[q+1]+w[q]+w.slice(q+2):w) Try it ...
Arnauld's user avatar
  • 191k
1 vote

TYPOGLYCEMIA - Cna Yuo Raed Tihs?

Retina 0.8.2, 212 bytes ...
Neil's user avatar
  • 169k
1 vote

TYPOGLYCEMIA - Cna Yuo Raed Tihs?

Charcoal, 48 bytes ⪫E⪪S ⭆⟦⁻⊗§⟦¹¦²÷Lι²⁻Lι²⊖Lι⟧κ›Lι⁴⟧⭆ι⎇⊖↔⁻⊗ξλν§ι⁻λξ Try it online! Link is to verbose version of code. Explanation: ...
Neil's user avatar
  • 169k
3 votes

TYPOGLYCEMIA - Cna Yuo Raed Tihs?

Perl 5 + -040plF, 60 bytes @F>4&&s;^.{@{[(@F-2,0,1,0|@F/2-1,@F-3)[$.%5]]}}\K(.)(.);$2$1 Try it online! Explanation ...
Dom Hastings's user avatar
  • 23.2k
2 votes

TYPOGLYCEMIA - Cna Yuo Raed Tihs?

05AB1E, 39 bytes #εDg©4›i1Ý2L®;D<‚®3-D>‚D>)ćDrNè©è®Rǝ]ðý Try it online. Explanation: ...
Kevin Cruijssen's user avatar
2 votes

TYPOGLYCEMIA - Cna Yuo Raed Tihs?

Uiua SBCS, 59 57 bytes /$"_ _"≡⊔(□(◌|⍜⊏⇌)>4⧻,⊟+1.(0|1|-1⌊÷2⧻.|¯3|¯2))◿5⇡⧻.⊜□≠@ . Try it!
chunes's user avatar
  • 23.5k
2 votes

TYPOGLYCEMIA - Cna Yuo Raed Tihs?

Perl 5 -p, 118 bytes ...
Xcali's user avatar
  • 14.3k
4 votes

TYPOGLYCEMIA - Cna Yuo Raed Tihs?

Rattle, 181171 bytes ...
Daniel H.'s user avatar
  • 3,358
3 votes
Accepted

TYPOGLYCEMIA - Cna Yuo Raed Tihs?

Python 3, 159 156 154 144 138 bytes ...
enzo's user avatar
  • 1,953
2 votes

TYPOGLYCEMIA - Cna Yuo Raed Tihs?

C (gcc), 240 bytes ...
vengy's user avatar
  • 1,791
0 votes

English An or A?

Uiua, 25 bytes ("a"|"an")∊:"aeiouAEIOU"⊢ Test pad
Joao-3's user avatar
  • 1,021
0 votes

English An or A?

CLC-INTERCAL, 126 bytes, CAPITAL OUTPUT ...
鳴神裁四点一号's user avatar
0 votes

Tell me how many math problems I have to do!

Go, 358 bytes ...
bigyihsuan's user avatar
  • 9,208

Top 50 recent answers are included