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 listMay 17, 2023 00:38Martin StensgårdMartin StensgårdScore: 5,470Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2023 00:385,43640,004,69816,372,0001,023,0002,269,184
2May 17, 2023 00:385,44533,814,35917,423,00002,367,488
3May 17, 2023 00:385,44844,591,00217,435,00002,371,584
4May 17, 2023 00:385,45444,466,95217,454,00002,269,184
5May 17, 2023 00:385,46640,459,90416,462,0001,028,0002,367,488
6May 17, 2023 00:385,46834,134,87917,496,00002,367,488
7May 17, 2023 00:385,47045,767,21017,505,00002,269,184
8May 17, 2023 00:385,51447,133,43716,607,0001,037,0002,531,328
9May 17, 2023 00:385,51934,749,63316,623,0001,038,0002,269,184
10May 17, 2023 00:385,63169,333,22118,020,48502,256,896
11May 17, 2023 00:385,64791,171,33718,071,83002,265,088
12May 17, 2023 00:385,65787,319,45618,101,76302,244,608