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:00Yuriy LyfenkoYuriy LyfenkoScore: 5,086Success
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:005,028542,472,73814,077,0002,011,0002,273,280
2Jun 3, 2021 16:005,028543,057,49514,080,0002,011,0002,273,280
3Jun 3, 2021 16:005,037539,528,39014,103,0002,014,0002,281,472
4Jun 3, 2021 16:005,062541,125,27315,185,0001,012,0002,281,472
5Jun 3, 2021 16:005,070542,874,84616,223,00002,273,280
6Jun 3, 2021 16:005,072538,880,23915,215,0001,014,0002,281,472
7Jun 3, 2021 16:005,086541,300,07615,257,0001,017,0002,273,280
8Jun 3, 2021 16:005,086542,559,23916,276,00002,404,352
9Jun 3, 2021 16:005,087538,802,46715,262,0001,017,0002,281,472
10Jun 3, 2021 16:005,202577,195,76916,645,52102,289,664
11Jun 3, 2021 16:005,214575,206,20616,686,15702,289,664
12Jun 3, 2021 16:005,222575,296,12416,709,82002,293,760