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:36Hayden DonnellyHayden DonnellyScore: 10,288Success
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:3610,15861,891,1861,970,00030,536,0002,285,568
2Nov 27, 2024 18:3610,17856,181,7614,071,00028,498,0002,396,160
3Nov 27, 2024 18:3610,27060,084,0216,971,00025,894,0002,293,760
4Nov 27, 2024 18:3610,27461,197,3197,970,00024,908,0002,293,760
5Nov 27, 2024 18:3610,28856,395,8036,983,00025,940,0002,293,760
6Nov 27, 2024 18:3610,40059,966,0563,025,00030,255,0002,293,760
7Nov 27, 2024 18:3610,40658,642,5823,027,00030,273,0002,293,760
8Nov 27, 2024 18:3610,61361,113,0131,997,00031,963,0002,387,968
9Nov 27, 2024 18:3610,76059,001,6689,114,00025,318,0002,392,064