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 26, 2025 03:59vahookvahookScore: 4,155Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2025 04:004,09728,175,00212,101,0001,008,0002,498,560
2Apr 26, 2025 04:004,11827,057,01212,166,0001,013,0002,531,328
3Apr 26, 2025 03:594,13730,149,22413,238,00002,494,464
4Apr 26, 2025 04:004,14430,296,47713,262,00002,502,656
5Apr 26, 2025 03:594,14731,865,22713,271,00002,494,464
6Apr 26, 2025 03:594,15027,962,08613,279,00002,273,280
7Apr 26, 2025 04:004,15533,325,41513,296,00002,273,280
8Apr 26, 2025 04:004,15626,997,06513,300,00002,273,280
9Apr 26, 2025 03:594,16630,505,89013,330,00002,273,280
10Apr 26, 2025 04:004,17328,313,10613,352,00002,273,280
11Apr 26, 2025 03:594,18434,687,96913,388,00002,498,560
12Apr 26, 2025 03:594,18627,186,31613,394,00002,531,328