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 8, 2023 11:44Andrew MoonAndrew MoonScore: 5,348Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 11:445,29940,046,14714,963,0001,995,0002,527,232
2Jul 8, 2023 11:445,32330,251,35415,031,0002,004,0002,502,656
3Jul 8, 2023 11:445,32543,715,68715,035,0002,004,0002,265,088
4Jul 8, 2023 11:445,32543,391,74616,038,0001,002,0002,396,160
5Jul 8, 2023 11:445,32841,670,67215,045,0002,006,0002,265,088
6Jul 8, 2023 11:445,33434,563,43115,062,0002,008,0002,265,088
7Jul 8, 2023 11:445,34837,169,74116,106,0001,006,0002,379,776
8Jul 8, 2023 11:445,36046,118,97515,135,0002,018,0002,383,872
9Jul 8, 2023 11:445,36939,618,09616,171,0001,010,0002,383,872
10Jul 8, 2023 11:445,54587,906,08517,745,24502,285,568
11Jul 8, 2023 11:445,55881,106,83217,785,97802,273,280
12Jul 8, 2023 11:445,56579,836,17217,806,45502,277,376