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 21, 2025 22:31vahookvahookScore: 4,266Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2025 22:314,24330,454,80913,576,00002,490,368
2Apr 21, 2025 22:314,24532,939,38713,584,00002,494,464
3Apr 21, 2025 22:314,26127,554,07913,635,00002,498,560
4Apr 21, 2025 22:314,26332,951,08713,640,00002,273,280
5Apr 21, 2025 22:314,26639,855,10513,650,00002,273,280
6Apr 21, 2025 22:314,26830,962,73013,658,00002,273,280
7Apr 21, 2025 22:314,27138,644,01613,668,00002,498,560
8Apr 21, 2025 22:314,33926,914,85712,895,000991,0002,273,280
9Apr 21, 2025 22:314,34132,075,69011,907,0001,984,0002,273,280