← November 2025 questions

NOVEMBER 2025 / BEGINNER / QUESTION 5

Average of Even Energy Levels

Archived question

Try the question in your own editor, then check your output below.

THE QUESTION

Text from the official booklet. Refer to the PDF for original mathematical notation, formatting, and linked input files. Printed samples and inputs are reproduced as published.

A robot factory stores 100 energy values. Compute the average of all even values (round
to 2 d.p.). If no even values exist, print 0.00.
[55, 42, 33, 64, 27, 81, 92, 14, 37, 86, 73, 28, 91, 48, 35, 60, 77,
18, 84, 50, 13, 22, 79, 56, 68, 41, 90, 31, 66, 95, 12, 80, 29, 54, 88,
39, 76, 17, 70, 24, 61, 46, 83, 30, 36, 67, 44, 97, 20, 53, 58, 15, 99,
38, 47, 72, 19, 82, 51, 40, 63, 26, 89, 34, 93, 48, 65, 12, 78, 21, 49,
60, 33, 88, 23, 52, 75, 94, 27, 68, 55, 90, 41, 86, 31, 70, 22, 63, 56,
99, 18, 47, 84, 35, 62, 13, 97, 44, 79, 50, 21, 72, 29, 66, 33, 88, 24,
91, 40, 55]
Print the average

CHECK YOUR ANSWER

Try your answer.

The printed count is inaccurate: there are 110 supplied entries. This check uses all of them.

Run your program in your own editor, then paste its output below. This checks the stated output; it does not assess your full program. Practice attempts do not affect competition scores.

Use the question input above. Enter only the output.

Reveal worked answer

Your output

55.00

Sum the 58 even entries, divide by 58, and round to two decimal places.

Source: Girls in Code SEA 2025 Fall Competition, 29 November 2025. Booklet created by Emily Xu and the GIC question authors. Shared for non-commercial educational use with attribution, as permitted in the booklet.