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 19:15vahookvahookScore: 4,279Success
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 19:154,24830,759,43213,593,00002,277,376
2Apr 21, 2025 19:154,25529,950,57913,616,00002,498,560
3Apr 21, 2025 19:154,26325,968,15613,641,00002,273,280
4Apr 21, 2025 19:154,26441,103,95313,646,00002,277,376
5Apr 21, 2025 19:154,27935,520,41713,692,00002,494,464
6Apr 21, 2025 19:154,28137,148,65513,700,00002,490,368
7Apr 21, 2025 19:154,28332,510,55113,705,00002,494,464
8Apr 21, 2025 19:154,28441,945,53112,656,0001,054,0002,277,376
9Apr 21, 2025 19:154,33930,666,26412,893,000991,0002,494,464