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 13, 2021 20:12alex3dalex3dScore: 4,808Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 20:124,75541,909,38612,173,0003,043,0002,392,064
2May 13, 2021 20:124,77942,134,92115,293,00002,392,064
3May 13, 2021 20:124,79342,010,85013,292,0002,045,0002,383,872
4May 13, 2021 20:124,79936,601,14615,358,00002,383,872
5May 13, 2021 20:124,80335,545,64113,319,0002,049,0002,392,064
6May 13, 2021 20:124,80429,688,90015,373,00002,519,040
7May 13, 2021 20:124,80836,261,01514,360,0001,025,0002,519,040
8May 13, 2021 20:124,81545,631,55514,380,0001,027,0002,519,040
9May 13, 2021 20:124,81738,802,79915,414,00002,396,160
10May 13, 2021 20:125,06286,010,93216,198,45402,273,280
11May 13, 2021 20:125,06288,353,33116,197,91502,281,472
12May 13, 2021 20:125,06859,654,60416,216,82002,277,376