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 listJun 3, 2021 16:24Yuriy LyfenkoYuriy LyfenkoScore: 5,021Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 16:244,988340,599,58413,966,0001,995,0002,408,448
2Jun 3, 2021 16:245,000340,635,55614,000,0002,000,0002,273,280
3Jun 3, 2021 16:245,007342,668,82515,020,0001,001,0002,281,472
4Jun 3, 2021 16:245,009340,937,07115,027,0001,001,0002,281,472
5Jun 3, 2021 16:245,011336,515,22115,034,0001,002,0002,273,280
6Jun 3, 2021 16:245,012338,904,61515,037,0001,002,0002,281,472
7Jun 3, 2021 16:245,021338,259,72514,060,0002,008,0002,412,544
8Jun 3, 2021 16:245,033337,103,34516,107,00002,281,472
9Jun 3, 2021 16:245,034340,197,52015,104,0001,006,0002,281,472
10Jun 3, 2021 16:245,156371,500,71916,497,71202,256,896
11Jun 3, 2021 16:245,166379,069,71816,529,93902,252,800
12Jun 3, 2021 16:245,170377,348,66716,544,18402,252,800