Skip to main content
edited body
Source Link
a spaghetto
  • 11.3k
  • 3
  • 48
  • 83

#DUP, 31 byteschars / 39 bytes [2ø2ø2ø++2/%3ø^=3ø2ø=3ø3ø=||.] Try it here!

My first DUP submission ever! Unicode is your oyster.

It's an anonymous function/lambda. Usage:

5 3 2[2ø2ø2ø++2/\%3ø^=3ø2ø=3ø3ø=||.]!

#Explanation [ {start lambda} 2ø2ø2ø {duplicate 3 inputnums} ++ {push sum(3 popped stack items)} 2/% {push (popped stack item)/2} 3ø^=3ø2ø=3ø3ø= {for all 3 inputs, -1 if inputnum=sum/2; else 0} || {check if any of the 3 resulting values are truthy} . {output top of stack (boolean value)} ] {end lambda}

#DUP, 31 bytes / 39 bytes [2ø2ø2ø++2/%3ø^=3ø2ø=3ø3ø=||.] Try it here!

My first DUP submission ever! Unicode is your oyster.

It's an anonymous function/lambda. Usage:

5 3 2[2ø2ø2ø++2/\%3ø^=3ø2ø=3ø3ø=||.]!

#Explanation [ {start lambda} 2ø2ø2ø {duplicate 3 inputnums} ++ {push sum(3 popped stack items)} 2/% {push (popped stack item)/2} 3ø^=3ø2ø=3ø3ø= {for all 3 inputs, -1 if inputnum=sum/2; else 0} || {check if any of the 3 resulting values are truthy} . {output top of stack (boolean value)} ] {end lambda}

#DUP, 31 chars / 39 bytes [2ø2ø2ø++2/%3ø^=3ø2ø=3ø3ø=||.] Try it here!

My first DUP submission ever! Unicode is your oyster.

It's an anonymous function/lambda. Usage:

5 3 2[2ø2ø2ø++2/\%3ø^=3ø2ø=3ø3ø=||.]!

#Explanation [ {start lambda} 2ø2ø2ø {duplicate 3 inputnums} ++ {push sum(3 popped stack items)} 2/% {push (popped stack item)/2} 3ø^=3ø2ø=3ø3ø= {for all 3 inputs, -1 if inputnum=sum/2; else 0} || {check if any of the 3 resulting values are truthy} . {output top of stack (boolean value)} ] {end lambda}

deleted 36 characters in body
Source Link
Mama Fun Roll
  • 10k
  • 1
  • 38
  • 47

#DUP, 31 bytes / 39 bytes [2ø2ø2ø++2/%3ø^=3ø2ø=3ø3ø=||.] Try it here!

My first DUP submission ever!

There are less than 256 characters used in DUP, so 1 char = 1 byte.Unicode is your oyster.

It's an anonymous function/lambda. Usage:

5 3 2[2ø2ø2ø++2/\%3ø^=3ø2ø=3ø3ø=||.]!

#Explanation [ {start lambda} 2ø2ø2ø {duplicate 3 inputnums} ++ {push sum(3 popped stack items)} 2/% {push (popped stack item)/2} 3ø^=3ø2ø=3ø3ø= {for all 3 inputs, -1 if inputnum=sum/2; else 0} || {check if any of the 3 resulting values are truthy} . {output top of stack (boolean value)} ] {end lambda}

#DUP, 31 bytes [2ø2ø2ø++2/%3ø^=3ø2ø=3ø3ø=||.] Try it here!

My first DUP submission ever!

There are less than 256 characters used in DUP, so 1 char = 1 byte.

It's an anonymous function/lambda. Usage:

5 3 2[2ø2ø2ø++2/\%3ø^=3ø2ø=3ø3ø=||.]!

#Explanation [ {start lambda} 2ø2ø2ø {duplicate 3 inputnums} ++ {push sum(3 popped stack items)} 2/% {push (popped stack item)/2} 3ø^=3ø2ø=3ø3ø= {for all 3 inputs, -1 if inputnum=sum/2; else 0} || {check if any of the 3 resulting values are truthy} . {output top of stack (boolean value)} ] {end lambda}

#DUP, 31 bytes / 39 bytes [2ø2ø2ø++2/%3ø^=3ø2ø=3ø3ø=||.] Try it here!

My first DUP submission ever! Unicode is your oyster.

It's an anonymous function/lambda. Usage:

5 3 2[2ø2ø2ø++2/\%3ø^=3ø2ø=3ø3ø=||.]!

#Explanation [ {start lambda} 2ø2ø2ø {duplicate 3 inputnums} ++ {push sum(3 popped stack items)} 2/% {push (popped stack item)/2} 3ø^=3ø2ø=3ø3ø= {for all 3 inputs, -1 if inputnum=sum/2; else 0} || {check if any of the 3 resulting values are truthy} . {output top of stack (boolean value)} ] {end lambda}

added 615 characters in body
Source Link
Mama Fun Roll
  • 10k
  • 1
  • 38
  • 47

#[DUP][1]#DUP, 31 bytes [2ø2ø2ø++2/%3ø^=3ø2ø=3ø3ø=||.] MyTry it here!

My first DUP submission ever!

There are less than 256 characters used in DUP, so 1 char = 1 byte.

It's an anonymous function/lambda. Usage:

5 3 2[2ø2ø2ø++2/\%3ø^=3ø2ø=3ø3ø=||.]!

#Explanation Will be done soon[ {start lambda} 2ø2ø2ø {duplicate 3 inputnums} ++ {push sum(3 popped stack items)} 2/% {push (popped stack item)/2} 3ø^=3ø2ø=3ø3ø= {for all 3 inputs, -1 if inputnum=sum/2; else 0} || {check if any of the 3 resulting values are truthy} . {output top of stack (boolean value)} [1]:] https://esolangs.org/wiki/DUP{end lambda}

#[DUP][1], 31 bytes [2ø2ø2ø++2/%3ø^=3ø2ø=3ø3ø=||.] My first DUP submission ever!

There are less than 256 characters used in DUP, so 1 char = 1 byte.

It's an anonymous function/lambda. Usage:

5 3 2[2ø2ø2ø++2/\%3ø^=3ø2ø=3ø3ø=||.]!

#Explanation Will be done soon. [1]: https://esolangs.org/wiki/DUP

#DUP, 31 bytes [2ø2ø2ø++2/%3ø^=3ø2ø=3ø3ø=||.] Try it here!

My first DUP submission ever!

There are less than 256 characters used in DUP, so 1 char = 1 byte.

It's an anonymous function/lambda. Usage:

5 3 2[2ø2ø2ø++2/\%3ø^=3ø2ø=3ø3ø=||.]!

#Explanation [ {start lambda} 2ø2ø2ø {duplicate 3 inputnums} ++ {push sum(3 popped stack items)} 2/% {push (popped stack item)/2} 3ø^=3ø2ø=3ø3ø= {for all 3 inputs, -1 if inputnum=sum/2; else 0} || {check if any of the 3 resulting values are truthy} . {output top of stack (boolean value)} ] {end lambda}

Source Link
Mama Fun Roll
  • 10k
  • 1
  • 38
  • 47
Loading