Skip to main content
deleted 1 character in body; added 97 characters in body
Source Link
Yousername
  • 4.1k
  • 10
  • 24

JavaScript (Node.js), 3434 32 bytes

a=>a.map(e=>eval(a.join('+')join`+`)/4-e)

Attempt This Online!Attempt This Online!

-2 bytes thanks to Steffan

JavaScript (Node.js), 34 bytes

a=>a.map(e=>eval(a.join('+'))/4-e)

Attempt This Online!

JavaScript (Node.js), 34 32 bytes

a=>a.map(e=>eval(a.join`+`)/4-e)

Attempt This Online!

-2 bytes thanks to Steffan

Source Link
Yousername
  • 4.1k
  • 10
  • 24

JavaScript (Node.js), 34 bytes

a=>a.map(e=>eval(a.join('+'))/4-e)

Attempt This Online!