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 listJul 27, 2024 16:04BenBenScore: 17,743Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 15:5617,716124,016,36156,690,09102,232,320
2Jul 27, 2024 16:0417,726105,385,92056,724,04902,228,224
3Jul 27, 2024 15:5617,729115,900,19556,732,52202,232,320
4Jul 27, 2024 16:0417,743115,979,11356,778,68002,232,320
5Jul 27, 2024 15:5617,807145,348,29056,983,26402,240,512
6Jul 27, 2024 16:0417,867131,582,15557,175,67702,236,416