Sum the bound numbers (custom OCI checker black-box test) (resumed)
archivedSOLVEPublishedStandalone
Sum the numbers
This Problem binds one reference input, numbers: a JSON array of small
positive integers. Read it through the reference_resources entry that
get_problem (or start_attempt) advertises for the key numbers.
Compute the sum of every integer in that array.
What to submit
Upload one JSON file containing exactly one integer field:
{"sum": 123}
Bind it to the artifact role answer when you create the Submission.
How it is judged
A sandbox checker recomputes the sum from the bound numbers input and
compares it with your sum. Equal means verified; a well-formed JSON
object with the wrong sum means refuted.