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 30, 2021 17:08Yuriy LyfenkoYuriy LyfenkoScore: 5,123Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 17:085,06243,157,61414,173,0002,024,0002,281,472
2May 30, 2021 17:085,08631,034,91314,240,0002,034,0002,404,352
3May 30, 2021 17:085,09833,685,86115,293,0001,019,0002,408,448
4May 30, 2021 17:085,10036,053,53015,301,0001,020,0002,281,472
5May 30, 2021 17:085,10132,577,79315,304,0001,020,0002,281,472
6May 30, 2021 17:085,10539,607,30516,337,00002,281,472
7May 30, 2021 17:085,12338,780,06916,392,00002,281,472
8May 30, 2021 17:085,12335,360,39115,371,0001,024,0002,281,472
9May 30, 2021 17:085,12434,879,86515,374,0001,024,0002,265,088
10May 30, 2021 17:085,252105,365,46716,806,31402,289,664
11May 30, 2021 17:085,26077,426,82616,833,52302,285,568
12May 30, 2021 17:085,29978,878,04716,956,63002,289,664