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 Revisions

6 of 6
deleted 233 characters in body
Neil
  • 184.4k
  • 12
  • 76
  • 290

Charcoal, (削除) 69 (削除ここまで) (削除) 68 (削除ここまで) (削除) 63 (削除ここまで) (削除) 56 (削除ここまで) 52 bytes

F⪪"&⌊Oτe¿k⟲iζLbψ#>φuCNoς...X◧9gF→G⌈H≡M*e{-"2Φθ=ι+§κ0§κ3

Try it online! Link is to verbose version of code. Explanation: Now a port of @Sok's Pyth answer.

F⪪"&⌊Oτe¿k⟲iζLbψ#>φuCNoς...X◧9gF→G⌈H≡M*e{-"2

Take the compressed string rrylgebwsrbcorpcryovvlfnlagdccmvcacmsvrearlorsgyppwtpkonbe and loop over each substring of length 2.

Φθ=ι+§κ0§κ3

For each substring print those input strings whose first and fourth (cyclically) characters equal the substring.

Neil
  • 184.4k
  • 12
  • 76
  • 290

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