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 listDec 14, 2024 23:23MatthiasMatthiasScore: 5,039Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 14, 2024 23:284,73136,294,87613,121,0002,018,0002,392,064
2Dec 14, 2024 23:284,75037,922,85713,173,0002,026,0002,285,568
3Dec 14, 2024 23:284,79642,557,57814,324,0001,023,0002,269,184
4Dec 14, 2024 23:235,03937,429,56514,111,0002,015,0002,285,568
5Dec 14, 2024 23:235,04835,539,51715,146,0001,009,0002,519,040
6Dec 14, 2024 23:235,10339,581,34414,287,0002,041,0002,285,568