-
Notifications
You must be signed in to change notification settings - Fork 2
heimavinna
bradendubois edited this page Nov 8, 2021
·
7 revisions
ID: heimavinna
Difficulty: 1.1 - 1.3
CPU Time: 1 second
Memory: 1024 MB
For this, just split the input at the semicolons, and if it is one value (no -
), add this to a total. otherwise, split the values at the -
, and add high - low + 1
to the total, to make both ends of the range included.