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 25, 2025 21:06vahookvahookScore: 377,967Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2025 20:514,20626,570,06613,460,00002,502,656
2Apr 25, 2025 20:514,24325,321,21613,577,00002,273,280
3Apr 25, 2025 20:514,28525,691,07813,712,00002,498,560
4Apr 25, 2025 21:06377,9671,236,444,0081,209,493,00002,273,280
5Apr 25, 2025 21:06378,5061,238,470,8691,211,220,00002,269,184
6Apr 25, 2025 21:06379,1421,244,415,5121,213,254,00002,498,560