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:42Dmitry DolgopolovDmitry DolgopolovScore: 5,207Success
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:425,17633,776,62915,527,0001,035,0002,273,280
2May 28, 2021 20:425,19032,340,73015,571,0001,038,0002,535,424
3May 28, 2021 20:425,19129,957,96215,574,0001,038,0002,441,216
4May 28, 2021 20:425,19345,376,42915,580,0001,038,0002,449,408
5May 28, 2021 20:425,19335,000,90115,581,0001,038,0002,437,120
6May 28, 2021 20:425,19438,997,97415,582,0001,038,0002,535,424
7May 28, 2021 20:425,19535,758,28615,586,0001,039,0002,273,280
8May 28, 2021 20:425,19641,578,48315,589,0001,039,0002,535,424
9May 28, 2021 20:425,19730,863,76215,590,0001,039,0002,273,280
10May 28, 2021 20:425,20143,534,82416,643,00002,433,024
11May 28, 2021 20:425,20240,637,43715,605,0001,040,0002,531,328
12May 28, 2021 20:425,20344,442,33315,609,0001,040,0002,445,312
13May 28, 2021 20:425,20741,896,09215,622,0001,041,0002,437,120
14May 28, 2021 20:425,20939,732,44615,629,0001,041,0002,273,280
15May 28, 2021 20:425,21143,043,96915,633,0001,042,0002,273,280
16May 28, 2021 20:425,21342,130,53215,640,0001,042,0002,273,280
17May 28, 2021 20:425,21841,362,37915,653,0001,043,0002,535,424
18May 28, 2021 20:425,22035,888,73015,661,0001,044,0002,535,424
19May 28, 2021 20:425,38685,290,59017,234,68002,207,744
20May 28, 2021 20:425,39348,222,11717,256,61902,199,552
21May 28, 2021 20:425,41240,197,20917,317,02002,195,456
22May 28, 2021 20:425,41999,952,21317,339,54702,256,896
23May 28, 2021 20:425,42988,813,56617,373,32602,199,552
24May 28, 2021 20:425,43799,652,36417,398,65402,256,896