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 23, 2025 07:01vahookvahookScore: 4,166Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 23, 2025 07:004,14226,205,25813,254,00002,494,464
2Apr 23, 2025 07:004,14524,036,36611,370,0001,895,0002,273,280
3Apr 23, 2025 07:004,15630,109,53913,300,00002,273,280
4Apr 23, 2025 07:004,15830,344,56311,406,0001,901,0002,273,280
5Apr 23, 2025 07:014,15831,186,10113,305,00002,490,368
6Apr 23, 2025 07:004,16333,104,00813,322,00002,498,560
7Apr 23, 2025 07:014,16629,023,69413,330,00002,494,464
8Apr 23, 2025 07:014,16733,918,85613,334,00002,490,368
9Apr 23, 2025 07:004,17432,972,16113,356,00002,273,280
10Apr 23, 2025 07:014,18127,284,29813,379,00002,273,280
11Apr 23, 2025 07:014,18428,253,64113,389,00002,494,464
12Apr 23, 2025 07:014,18833,189,30113,401,00002,273,280