Skip to main content
Commonmark migration
Source Link

#J, 26, 24 bytes

J, 26, 24 bytes

-2 bytes thanks to FrownyFrog

(;(,.i.,])&.>i.7)-.\:~"1
  • (;(,.i.,])&.>i.7) calculates the full set (this part could be golfed further, I believe. And please do if you see how...)
  • -. is "set minus"
  • /:~"1 orders each of the inputs

Try it online!

##Original

Original

Try it online!

((#~<:/"1)>,{;~i.7)-./:~"1

#J, 26, 24 bytes

-2 bytes thanks to FrownyFrog

(;(,.i.,])&.>i.7)-.\:~"1
  • (;(,.i.,])&.>i.7) calculates the full set (this part could be golfed further, I believe. And please do if you see how...)
  • -. is "set minus"
  • /:~"1 orders each of the inputs

Try it online!

##Original

Try it online!

((#~<:/"1)>,{;~i.7)-./:~"1

J, 26, 24 bytes

-2 bytes thanks to FrownyFrog

(;(,.i.,])&.>i.7)-.\:~"1
  • (;(,.i.,])&.>i.7) calculates the full set (this part could be golfed further, I believe. And please do if you see how...)
  • -. is "set minus"
  • /:~"1 orders each of the inputs

Try it online!

Original

Try it online!

((#~<:/"1)>,{;~i.7)-./:~"1
added 328 characters in body
Source Link
Jonah
  • 33.8k
  • 4
  • 40
  • 94

#J, 2626, 24 bytes

-2 bytes thanks to FrownyFrog

(;(#~<:/"1),>{;~i.i.,])&.>i.7)-./\:~"1
  • (;(#~<:/"1),>{;~i.i.,])&.>i.7) calculates the full set (this part could be golfed further, I believe. And please do if you see how...)
  • -. is "set minus"
  • /:~"1 orders each of the inputs

Try it online!

##Original

Try it online!

((#~<:/"1)>,{;~i.7)-./:~"1

#J, 26 bytes

((#~<:/"1),>{;~i.7)-./:~"1
  • ((#~<:/"1),>{;~i.7) calculates the full set (this part could be golfed further, I believe. And please do if you see how...)
  • -. is "set minus"
  • /:~"1 orders each of the inputs

Try it online!

#J, 26, 24 bytes

-2 bytes thanks to FrownyFrog

(;(,.i.,])&.>i.7)-.\:~"1
  • (;(,.i.,])&.>i.7) calculates the full set (this part could be golfed further, I believe. And please do if you see how...)
  • -. is "set minus"
  • /:~"1 orders each of the inputs

Try it online!

##Original

Try it online!

((#~<:/"1)>,{;~i.7)-./:~"1
deleted 11 characters in body
Source Link
Jonah
  • 33.8k
  • 4
  • 40
  • 94

#J, 3226 bytes

((#~<:/"1)@,/@(,"0/~)i>{;~i.7)-./:~"1
  • ((#~<:/"1)@,/@(,"0/~)i>{;~i.7) calculates the full set (this part could be golfed further, I believe. And please do if you see how...)
  • -. is "set minus"
  • /:~"1 orders each of the inputs

Try it online!Try it online!

#J, 32 bytes

((#~<:/"1)@,/@(,"0/~)i.7)-./:~"1
  • ((#~<:/"1)@,/@(,"0/~)i.7) calculates the full set (this part could be golfed further, I believe. And please do if you see how...)
  • -. is "set minus"
  • /:~"1 orders each of the inputs

Try it online!

#J, 26 bytes

((#~<:/"1),>{;~i.7)-./:~"1
  • ((#~<:/"1),>{;~i.7) calculates the full set (this part could be golfed further, I believe. And please do if you see how...)
  • -. is "set minus"
  • /:~"1 orders each of the inputs

Try it online!

Source Link
Jonah
  • 33.8k
  • 4
  • 40
  • 94
Loading