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 28, 2021 20:41Dmitry DolgopolovDmitry DolgopolovScore: 5,197Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 20:415,16337,782,92315,489,0001,032,0002,441,216
2May 28, 2021 20:415,16835,949,67415,503,0001,033,0002,535,424
3May 28, 2021 20:415,16837,090,65115,504,0001,033,0002,449,408
4May 28, 2021 20:415,16938,356,80915,509,0001,033,0002,445,312
5May 28, 2021 20:415,17040,536,94715,511,0001,034,0002,535,424
6May 28, 2021 20:415,17438,314,82915,523,0001,034,0002,273,280
7May 28, 2021 20:415,17435,122,36415,522,0001,034,0002,445,312
8May 28, 2021 20:415,17639,788,78615,529,0001,035,0002,437,120
9May 28, 2021 20:415,18340,779,03615,549,0001,036,0002,273,280
10May 28, 2021 20:415,18446,074,90015,553,0001,036,0002,445,312
11May 28, 2021 20:415,18631,777,70415,557,0001,037,0002,273,280
12May 28, 2021 20:415,18630,860,89415,557,0001,037,0002,535,424
13May 28, 2021 20:415,19744,039,82215,592,0001,039,0002,449,408
14May 28, 2021 20:415,19753,614,16615,591,0001,039,0002,273,280
15May 28, 2021 20:415,19837,189,91315,593,0001,039,0002,437,120
16May 28, 2021 20:415,21138,127,47915,633,0001,042,0002,453,504
17May 28, 2021 20:415,21148,886,10215,634,0001,042,0002,535,424
18May 28, 2021 20:415,22243,828,33115,666,0001,044,0002,273,280
19May 28, 2021 20:415,40355,875,93417,290,94702,199,552
20May 28, 2021 20:415,42440,308,27317,357,97902,191,360
21May 28, 2021 20:415,42674,162,07817,363,12002,203,648
22May 28, 2021 20:415,43691,229,16517,394,42602,203,648
23May 28, 2021 20:415,45556,252,50717,454,44602,256,896
24May 28, 2021 20:415,48763,605,68617,557,23402,195,456