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:24Hayden DonnellyHayden DonnellyScore: 10,473Success
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:2410,45963,594,1799,128,00024,341,0002,396,160
2Nov 27, 2024 18:2410,46157,071,3829,129,00024,346,0002,482,176
3Nov 27, 2024 18:2410,46554,694,0334,059,00029,430,0002,293,760
4Nov 27, 2024 18:2410,47254,675,8463,046,00030,465,0002,293,760
5Nov 27, 2024 18:2410,47361,222,4306,093,00027,419,0002,392,064
6Nov 27, 2024 18:2410,58464,119,8445,976,00027,892,0002,383,872
7Nov 27, 2024 18:2410,74757,797,9369,103,00025,286,0002,293,760
8Nov 27, 2024 18:2410,83664,603,8054,079,00030,596,0002,379,776
9Nov 27, 2024 18:2410,91160,937,2074,988,00029,928,0002,396,160