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

61.54% Correct | 38.46% Incorrect
Last Solution submitted on Oct 24, 2025

Solution Comments

Show comments

Problem Recent Solvers8

Suggested Problems

More from this Author22

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!