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 23:18Yuriy LyfenkoYuriy LyfenkoScore: 5,220Success
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 23:185,17737,473,07515,531,0001,035,0002,387,968
2May 23, 2021 23:185,18431,102,03615,554,0001,036,0002,392,064
3May 23, 2021 23:185,18935,906,49615,569,0001,037,0002,392,064
4May 23, 2021 23:185,19633,879,90915,587,0001,039,0002,265,088
5May 23, 2021 23:185,19741,914,33515,590,0001,039,0002,473,984
6May 23, 2021 23:185,21332,041,48616,680,00002,506,752
7May 23, 2021 23:185,22041,584,87116,705,00002,383,872
8May 23, 2021 23:185,22434,310,73416,718,00002,396,160
9May 23, 2021 23:185,22933,031,49416,733,00002,260,992
10May 23, 2021 23:185,36578,122,23017,168,66402,273,280
11May 23, 2021 23:185,43775,837,20917,397,27102,281,472
12May 23, 2021 23:185,46370,299,70017,482,09902,269,184