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 03:22Chris ScarboroughChris ScarboroughScore: 5,364Success
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 03:225,33841,053,78217,080,00002,527,232
2Jul 28, 2024 03:225,34033,292,37915,078,0002,010,0002,392,064
3Jul 28, 2024 03:225,34933,017,74216,110,0001,006,0002,396,160
4Jul 28, 2024 03:225,34941,999,72216,110,0001,006,0002,383,872
5Jul 28, 2024 03:225,35436,452,06116,127,0001,007,0002,265,088
6Jul 28, 2024 03:225,35743,357,46916,134,0001,008,0002,265,088
7Jul 28, 2024 03:225,36442,790,38415,145,0002,019,0002,383,872
8Jul 28, 2024 03:225,36834,187,76815,156,0002,020,0002,265,088
9Jul 28, 2024 03:225,38034,821,71115,191,0002,025,0002,392,064
10Jul 28, 2024 03:225,56785,963,45317,813,88802,285,568
11Jul 28, 2024 03:225,58192,073,90217,857,96802,285,568
12Jul 28, 2024 03:225,591100,316,84517,889,63202,277,376