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 listMay 6, 2025 12:52lukostlukostScore: 4,509Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 6, 2025 12:534,48828,155,66413,336,0001,025,0002,490,368
2May 6, 2025 12:534,48933,545,28914,366,00002,260,992
3May 6, 2025 12:534,50230,511,81114,406,00002,494,464
4May 6, 2025 12:524,50927,965,23514,428,00002,260,992
5May 6, 2025 12:524,51238,143,84213,407,0001,031,0002,486,272
6May 6, 2025 12:524,52330,809,26313,440,0001,033,0002,523,136