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 listOct 27, 2021 10:03Ilya AniskovetsIlya AniskovetsScore: 5,519Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 27, 2021 10:035,45835,473,30916,438,0001,027,0002,289,664
2Oct 27, 2021 10:035,46539,165,95717,488,00002,269,184
3Oct 27, 2021 10:035,48640,688,62516,524,0001,032,0002,281,472
4Oct 27, 2021 10:035,48840,777,70317,562,00002,289,664
5Oct 27, 2021 10:035,49934,979,83416,563,0001,035,0002,371,584
6Oct 27, 2021 10:035,50841,802,23717,627,00002,269,184
7Oct 27, 2021 10:035,51941,788,78316,622,0001,038,0002,289,664
8Oct 27, 2021 10:035,53036,834,95416,656,0001,041,0002,289,664
9Oct 27, 2021 10:035,53136,578,31317,698,00002,289,664
10Oct 27, 2021 10:035,64085,364,01918,049,42302,297,856
11Oct 27, 2021 10:035,64484,245,89518,061,68402,297,856
12Oct 27, 2021 10:035,65961,721,69718,107,27002,289,664