← November 2025 questions

NOVEMBER 2025 / BEGINNER / QUESTION 10

Robot Count

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.

Robots need at least 50Write code to count and print how many robots have enough
battery.
87, 12, 55, 43, 91, 64, 29, 50, 73, 8, 41, 56, 79, 32, 18, 95, 67, 24,
52, 88, 14, 99, 63, 47, 58, 21, 83, 36, 76, 60, 5, 72, 54, 11, 34, 98,
66, 25, 57, 80, 49, 51, 62, 16, 97, 33, 74, 45, 59, 90, 68, 27, 82, 39,
19, 53, 85, 44, 70, 26, 15, 93, 52, 37, 69, 7, 84, 48, 61, 22, 96, 35,
71, 13, 86, 40, 75, 28, 92, 30, 17, 65, 89, 46, 20, 81, 57, 38, 94, 9,
23, 78, 55, 31, 63, 10, 58, 42, 100, 77
Print how many robots have enough battery.

CHECK YOUR ANSWER

Try your answer.

The first sentence is truncated in the booklet. This check uses the stated threshold of at least 50.

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

56

Count all battery readings at least 50, including readings equal to 50.

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.