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 listJun 1, 2026 20:43Victor MerckléVictor MerckléScore: 4,502Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 1, 2026 20:434,47921,977,91313,294,0001,040,0002,113,536
2Jun 1, 2026 20:434,48821,997,80514,364,00002,113,536
3Jun 1, 2026 20:434,49822,015,57514,395,00002,113,536
4Jun 1, 2026 20:434,50021,979,60113,327,0001,074,0002,113,536
5Jun 1, 2026 20:434,50222,022,92013,367,0001,042,0002,113,536
6Jun 1, 2026 20:434,51022,060,94313,354,0001,078,0002,113,536
7Jun 1, 2026 20:434,51422,056,14314,445,00002,113,536
8Jun 1, 2026 20:434,53022,197,02714,499,00002,113,536
9Jun 1, 2026 20:434,55222,147,65213,482,0001,085,0002,113,536