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 26, 2021 20:25Yuriy LyfenkoYuriy LyfenkoScore: 5,448Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2021 20:255,39541,442,34217,265,00002,383,872
2May 26, 2021 20:255,40334,689,92416,272,0001,017,0002,527,232
3May 26, 2021 20:255,40632,855,08317,300,00002,265,088
4May 26, 2021 20:255,42442,166,70015,315,0002,042,0002,265,088
5May 26, 2021 20:255,42647,645,21316,343,0001,021,0002,265,088
6May 26, 2021 20:255,42737,344,92916,346,0001,021,0002,265,088
7May 26, 2021 20:255,44839,007,95516,408,0001,025,0002,265,088
8May 26, 2021 20:255,45843,027,92317,466,00002,396,160
9May 26, 2021 20:255,47340,325,71616,484,0001,030,0002,392,064
10May 26, 2021 20:255,59363,865,17717,897,85302,281,472
11May 26, 2021 20:255,59378,028,93817,896,01202,277,376
12May 26, 2021 20:255,69243,995,66618,215,51702,281,472