Skip to content

jobexpenses

bradendubois edited this page Jun 9, 2021 · 6 revisions

Job Expenses

ID: jobexpenses

Difficulty: 1.4

CPU Time: 1 second

Memory: 1024 MB

Solution

A basic loop over the second line, and simply add the absolute value of each negative number to a total, and output it when done.

Clone this wiki locally