Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listOct 8, 2026 20:30Karthik ReddyKarthik ReddyScore: 3,926Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 8, 2026 20:313,9106,021,725,34212,512,000020,480
2Oct 8, 2026 20:313,9146,022,060,25712,526,000020,480
3Oct 8, 2026 20:313,9226,021,645,91812,552,000020,480
4Oct 8, 2026 20:313,9256,021,711,12612,562,000020,480
5Oct 8, 2026 20:313,9266,021,687,86212,564,000020,480
6Oct 8, 2026 20:313,9276,021,659,39912,569,000020,480
7Oct 8, 2026 20:313,9356,021,655,87412,594,000020,480
8Oct 8, 2026 20:313,9416,021,702,12012,614,000020,480
9Oct 8, 2026 20:313,9576,021,771,09812,663,000020,480