Skip to main content
deleted 3 characters in body
Source Link
TheLethalCoder
  • 7.2k
  • 27
  • 43

C# (.NET Core), 50 + 18 = 68 bytes

s=>s.Sum(c=>"02210313074020029000033739"[c-65]-47)

+18 bytes is for using System.Linq;

Try it online!

C# (.NET Core), 50 + 18 = 68 bytes

s=>s.Sum(c=>"02210313074020029000033739"[c-65]-47)

+18 bytes is for using System.Linq;

Try it online!

C# (.NET Core), 50 + 18 = 68 bytes

s=>s.Sum(c=>"02210313074020029000033739"[c-65]-47)

+18 bytes for using System.Linq;

Try it online!

Source Link
TheLethalCoder
  • 7.2k
  • 27
  • 43

C# (.NET Core), 50 + 18 = 68 bytes

s=>s.Sum(c=>"02210313074020029000033739"[c-65]-47)

+18 bytes is for using System.Linq;

Try it online!