Skip to main content
added 130 characters in body
Source Link
Dennis
  • 210.3k
  • 41
  • 370
  • 824

GS2, 2 bytes

Wd

Try it online!

How it works

W     Read all numbers.
      For input x, this executes map(int, re.findall(r'-?\d+', x)) internally.
 d    Compute their sum.

GS2, 2 bytes

Wd

Try it online!

GS2, 2 bytes

Wd

Try it online!

How it works

W     Read all numbers.
      For input x, this executes map(int, re.findall(r'-?\d+', x)) internally.
 d    Compute their sum.
Source Link
Dennis
  • 210.3k
  • 41
  • 370
  • 824

GS2, 2 bytes

Wd

Try it online!