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 15, 2024 14:10kytanskytansScore: 20,254Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 14:0820,156127,769,43364,497,94102,236,416
2Jul 15, 2024 14:1020,179116,597,31464,572,51502,232,320
3Jul 15, 2024 14:0820,183127,356,76464,587,18502,236,416
4Jul 15, 2024 14:1020,254125,422,30064,812,23102,236,416
5Jul 15, 2024 14:0820,276145,669,34164,884,60702,240,512
6Jul 15, 2024 14:1020,302134,056,04064,966,93002,232,320