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 20:59Adam FolwarcznyAdam FolwarcznyScore: 4,174Success
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 20:594,15137,654,51113,283,00002,273,280
2May 6, 2025 20:594,15432,695,16113,294,00002,490,368
3May 6, 2025 20:594,15633,022,98413,300,00002,494,464
4May 6, 2025 20:594,16736,599,78613,333,00002,490,368
5May 6, 2025 20:594,17435,743,18713,356,00002,490,368
6May 6, 2025 20:594,17534,127,97113,359,00002,273,280
7May 6, 2025 20:594,17931,303,52612,346,0001,028,0002,502,656
8May 6, 2025 20:594,19131,206,65613,410,00002,498,560
9May 6, 2025 20:594,24532,645,71913,583,00002,273,280