Problem

Comma-separated ints in one line; return their sum.

Examples

  • sumCsvRow("10,20,5") -> 35
  • sumCsvRow("7") -> 7
Compile and test (Ctrl+Enter)