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 16:47Hayden DonnellyHayden DonnellyScore: 48,952Success
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 16:4748,933180,509,724128,482,00028,105,0002,342,912
2Nov 27, 2024 16:4748,952193,999,269129,535,00027,112,0002,510,848
3Nov 27, 2024 16:4749,187185,760,189129,327,00028,071,0002,293,760