Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

deleted 142 characters in body
Source Link
DJMcMayhem
  • 60.1k
  • 18
  • 203
  • 352

V, (削除) 28, 26, 25 (削除ここまで), 2523 bytes (Competing)

¬AZÓ¬A[/a
lDÓ./& ò
ÎÛä$Û>>
ça/jdGò-Ûä$Û>

Try it online! Try it online!

Note that although I have been planning on adding certain features for a long time, this challenge was what convinced me to finally do it.

The output contains one leading space on each line and one trailing newline.

Hexdump:

00000000: ac41 5ad35b2f 2e2f1261 26200a6c f20a44d3 cedb2e2f e4242620 db3ef20a .AZA[/.a.lD../& ..
00000010: f22d dbe4 24db 3e .-..$.>
00000010:

Explanation:

¬A[ 3e0a e712 612f 6a64 47 " Insert 'ABCDEFGHIJKLMNOPQRSTUVWXYZ['
 / " Search >for...a
 <C-r>a " The input
l " Move one character to the right
 D " And delete every character after the cursor
 Ó " Search for...
 . " Any character
 /jdG " And replace it with...
 & ò " That character followed by a space and a newline
ò " Recursively...
 - " Move to the beginning of the next line up
 Ûä$ " Make *line number* copies of the current line
 Û> " And indent this line by *line number* spaces

V, (削除) 28, 26 (削除ここまで), 25 bytes (Competing)

¬AZÓ./& ò
ÎÛä$Û>>
ça/jdG

Try it online!

Note that although I have been planning on adding certain features for a long time, this challenge was what convinced me to finally do it.

The output contains one leading space on each line.

Hexdump:

00000000: ac41 5ad3 2e2f 2620 f20a cedb e424 db3e .AZ../& .....$.>
00000010: 3e0a e712 612f 6a64 47 >...a/jdG

V, (削除) 28, 26, 25 (削除ここまで), 23 bytes (Competing)

¬A[/a
lDÓ./& ò
ò-Ûä$Û>

Try it online!

Note that although I have been planning on adding certain features for a long time, this challenge was what convinced me to finally do it.

The output contains one leading space on each line and one trailing newline.

Hexdump:

00000000: ac41 5b2f 1261 0a6c 44d3 2e2f 2620 f20a .A[/.a.lD../& ..
00000010: f22d dbe4 24db 3e .-..$.>

Explanation:

¬A[ " Insert 'ABCDEFGHIJKLMNOPQRSTUVWXYZ['
 / " Search for...
 <C-r>a " The input
l " Move one character to the right
 D " And delete every character after the cursor
 Ó " Search for...
 . " Any character
 / " And replace it with...
 & ò " That character followed by a space and a newline
ò " Recursively...
 - " Move to the beginning of the next line up
 Ûä$ " Make *line number* copies of the current line
 Û> " And indent this line by *line number* spaces
added 163 characters in body
Source Link
DJMcMayhem
  • 60.1k
  • 18
  • 203
  • 352

V, (削除) 28, 26 (削除ここまで), 2625 bytes (Competing)

¬AZÓ./& ò
çá/Ûä$Û>ÎÛä$Û>>
ça/jdG

Try it online! Try it online!

Note that although I have been planning on adding certain features for a long time, this challenge was what convinced me to finally do it.

The output contains one leading space on each line.

Hexdump:

00000000: ac41 5ad3 2e2f 2620 f20a e7e1 2fdbcedb e424 db3e .AZ../& ..../..$.>
00000010: db3e3e0a 0ae7e712 1261612f 2f6a6a64 644747 .>...a/jdG

V, (削除) 28 (削除ここまで), 26 bytes (Competing)

¬AZÓ./& ò
çá/Ûä$Û>
ça/jdG

Try it online!

Note that although I have been planning on adding certain features for a long time, this challenge was what convinced me to finally do it.

The output contains one leading space on each line.

Hexdump:

00000000: ac41 5ad3 2e2f 2620 f20a e7e1 2fdb e424 .AZ../& ..../..$
00000010: db3e 0ae7 1261 2f6a 6447 .>...a/jdG

V, (削除) 28, 26 (削除ここまで), 25 bytes (Competing)

¬AZÓ./& ò
ÎÛä$Û>>
ça/jdG

Try it online!

Note that although I have been planning on adding certain features for a long time, this challenge was what convinced me to finally do it.

The output contains one leading space on each line.

Hexdump:

00000000: ac41 5ad3 2e2f 2620 f20a cedb e424 db3e .AZ../& .....$.>
00000010: 3e0a e712 612f 6a64 47 >...a/jdG
added 56 characters in body
Source Link
DJMcMayhem
  • 60.1k
  • 18
  • 203
  • 352

V, 28(削除) 28 (削除ここまで), 26 bytes (Competing?)

¬AZÓ./& ò
çá/Ûä$Û>>XÛä$Û>
ça/jdG

Try it online! Try it online!

Note that although I have been planning on adding certain features for a long time, this challenge was what convinced me to finally do it.

The output contains one leading space on each line.

Hexdump:

00000000: ac41 5ad3 2e2f 2620 f20a e7e1 2fdb e424 .AZ../& ..../..$
00000010: db3e 3e58 0ae7 1261 2f6a 6447 .>>X>...a/jdG

V, 28 bytes (Competing?)

¬AZÓ./& ò
çá/Ûä$Û>>X
ça/jdG

Try it online!

Note that although I have been planning on adding certain features for a long time, this challenge was what convinced me to finally do it.

Hexdump:

00000000: ac41 5ad3 2e2f 2620 f20a e7e1 2fdb e424 .AZ../& ..../..$
00000010: db3e 3e58 0ae7 1261 2f6a 6447 .>>X...a/jdG

V, (削除) 28 (削除ここまで), 26 bytes (Competing)

¬AZÓ./& ò
çá/Ûä$Û>
ça/jdG

Try it online!

Note that although I have been planning on adding certain features for a long time, this challenge was what convinced me to finally do it.

The output contains one leading space on each line.

Hexdump:

00000000: ac41 5ad3 2e2f 2620 f20a e7e1 2fdb e424 .AZ../& ..../..$
00000010: db3e 0ae7 1261 2f6a 6447 .>...a/jdG
Source Link
DJMcMayhem
  • 60.1k
  • 18
  • 203
  • 352
Loading

AltStyle によって変換されたページ (->オリジナル) /