Problem 61020. The Case of the Missing Prototype - Count the Fingerprints Found at the Lab Door to Begin Your Investigation

You arrive at the Innovation Lab where the secret prototype was stolen. The door has been dusted for fingerprints, and a technician provides you with a binary vector prints.
Here, 1 represents a fingerprint found and 0 means a clean spot.
Your first task as Detective Alex Verma is to count the total number of fingerprints discovered at the scene. Every fingerprint brings you one step closer to the truth.
Return a single number — the count of 1s in prints.

Solution Stats

55.56% Correct | 44.44% Incorrect
Last Solution submitted on Oct 25, 2025

Solution Comments

Show comments