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:05vahookvahookScore: 4,236Success
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 15:544,19139,858,62313,412,00002,494,464
2Apr 22, 2025 16:054,19233,836,10913,415,00002,494,464
3Apr 22, 2025 16:064,21528,032,02613,489,00002,498,560
4Apr 22, 2025 16:064,21929,874,97313,500,00002,502,656
5Apr 22, 2025 15:544,22441,481,67713,516,00002,498,560
6Apr 22, 2025 15:544,23129,776,75213,540,00002,498,560
7Apr 22, 2025 16:064,23332,434,87913,545,00002,273,280
8Apr 22, 2025 16:064,23633,876,30213,554,00002,490,368
9Apr 22, 2025 16:064,23831,384,22613,562,00002,273,280
10Apr 22, 2025 16:064,24228,717,90313,574,00002,490,368
11Apr 22, 2025 16:064,24536,664,98812,540,0001,045,0002,498,560
12Apr 22, 2025 16:064,25329,619,34713,609,00002,273,280
13Apr 22, 2025 16:054,25626,886,53713,618,00002,494,464
14Apr 22, 2025 16:064,26627,951,17013,650,00002,494,464
15Apr 22, 2025 16:054,26831,962,25213,656,00002,494,464