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 08:37Dmitry DolgopolovDmitry DolgopolovScore: 5,146Success
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 08:375,09131,207,45814,254,0002,036,0002,379,776
2May 23, 2021 08:375,10137,468,37615,304,0001,020,0002,387,968
3May 23, 2021 08:375,10238,965,77915,306,0001,020,0002,387,968
4May 23, 2021 08:375,11344,054,01116,362,00002,387,968
5May 23, 2021 08:375,11637,642,03815,348,0001,023,0002,260,992
6May 23, 2021 08:375,13332,226,80316,424,00002,265,088
7May 23, 2021 08:375,13842,675,51816,440,00002,387,968
8May 23, 2021 08:375,14642,076,33115,439,0001,029,0002,265,088
9May 23, 2021 08:375,14643,624,98115,439,0001,029,0002,265,088
10May 23, 2021 08:375,33782,048,47417,077,62702,273,280
11May 23, 2021 08:375,36176,844,02317,156,72602,273,280
12May 23, 2021 08:375,37471,901,94017,197,85602,281,472
13May 23, 2021 08:375,37657,324,70517,202,34602,277,376
14May 23, 2021 08:375,38973,066,08617,245,99602,281,472
15May 23, 2021 08:375,40893,271,91617,305,52802,277,376