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 28, 2024 08:36BenBenScore: 4,594Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 08:364,55429,499,84413,532,0001,040,0002,265,088
2Jul 28, 2024 08:364,56946,142,58014,621,00002,265,088
3Jul 28, 2024 08:364,57430,747,57714,636,00002,265,088
4Jul 28, 2024 08:364,57932,943,48414,653,00002,265,088
5Jul 28, 2024 08:364,58534,759,06214,672,00002,392,064
6Jul 28, 2024 08:364,59140,901,04213,643,0001,049,0002,265,088
7Jul 28, 2024 08:364,59445,560,32213,650,0001,050,0002,392,064
8Jul 28, 2024 08:364,60134,818,16613,671,0001,051,0002,383,872
9Jul 28, 2024 08:364,60428,995,99512,768,0001,964,0002,387,968
10Jul 28, 2024 08:364,836101,237,51115,474,80502,281,472
11Jul 28, 2024 08:364,84091,051,77515,489,43702,277,376
12Jul 28, 2024 08:364,86087,087,93215,551,22602,285,568