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

Commonmark migration
Source Link

#Japt -h, 11 bytes

Japt -h, 11 bytes

à f@øX «VøX

Try it

 :Implicit input of strings U & V
à :All combinations of U
 f@ :Filter each as X
 øX : Does U contain X?
 « : Logical AND with the negation of
 VøX : Does V contain X?
 :Implicit output of last element

#Japt -h, 11 bytes

à f@øX «VøX

Try it

 :Implicit input of strings U & V
à :All combinations of U
 f@ :Filter each as X
 øX : Does U contain X?
 « : Logical AND with the negation of
 VøX : Does V contain X?
 :Implicit output of last element

Japt -h, 11 bytes

à f@øX «VøX

Try it

 :Implicit input of strings U & V
à :All combinations of U
 f@ :Filter each as X
 øX : Does U contain X?
 « : Logical AND with the negation of
 VøX : Does V contain X?
 :Implicit output of last element
Source Link
Shaggy
  • 45k
  • 4
  • 39
  • 95

#Japt -h, 11 bytes

à f@øX «VøX

Try it

 :Implicit input of strings U & V
à :All combinations of U
 f@ :Filter each as X
 øX : Does U contain X?
 « : Logical AND with the negation of
 VøX : Does V contain X?
 :Implicit output of last element

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