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 listNov 27, 2024 18:33Hayden DonnellyHayden DonnellyScore: 10,578Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2024 18:3310,53558,408,1559,194,00024,518,0002,510,848
2Nov 27, 2024 18:3310,57859,905,6906,969,00026,881,0002,383,872
3Nov 27, 2024 18:3310,79456,243,3808,127,00026,414,0002,293,760