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 listApr 22, 2025 16:20vahookvahookScore: 4,221Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2025 16:204,19925,200,19613,436,00002,531,328
2Apr 22, 2025 16:204,21432,766,86313,485,00002,494,464
3Apr 22, 2025 16:204,21531,895,38513,487,00002,490,368
4Apr 22, 2025 16:204,21631,737,50013,490,00002,273,280
5Apr 22, 2025 16:204,22131,492,51213,507,00002,502,656
6Apr 22, 2025 16:204,22130,536,73613,507,00002,494,464
7Apr 22, 2025 16:204,24325,177,00813,577,00002,490,368
8Apr 22, 2025 16:204,25235,283,72013,605,00002,494,464
9Apr 22, 2025 16:204,25333,189,59213,608,00002,502,656