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 23, 2021 13:18Vladimir KuryakovVladimir KuryakovScore: 5,623Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 13:185,59453,955,88915,912,0001,989,0002,260,992
2May 23, 2021 13:185,60648,044,14316,943,000996,0002,392,064
3May 23, 2021 13:185,60637,963,15915,947,0001,993,0002,519,040
4May 23, 2021 13:185,60846,129,82815,951,0001,993,0002,519,040
5May 23, 2021 13:185,60945,629,13216,952,000997,0002,396,160
6May 23, 2021 13:185,62333,573,56815,994,0001,999,0002,383,872
7May 23, 2021 13:185,62334,765,77915,994,0001,999,0002,387,968
8May 23, 2021 13:185,62736,014,84716,005,0002,000,0002,519,040
9May 23, 2021 13:185,66644,432,31918,131,00002,392,064
10May 23, 2021 13:185,861110,853,63618,754,01302,273,280
11May 23, 2021 13:185,90464,155,69418,892,42502,277,376
12May 23, 2021 13:185,93677,289,07318,995,79202,269,184