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 11, 2021 20:20Yuriy LyfenkoYuriy LyfenkoScore: 5,585Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 20:205,53232,912,01517,703,00002,400,256
2May 11, 2021 20:205,54447,139,48417,742,00002,387,968
3May 11, 2021 20:205,58044,101,58017,857,00002,387,968
4May 11, 2021 20:205,58243,715,59717,863,00002,523,136
5May 11, 2021 20:205,58444,206,39215,884,0001,985,0002,523,136
6May 11, 2021 20:205,58434,977,94516,878,000992,0002,260,992
7May 11, 2021 20:205,58547,830,41516,880,000992,0002,396,160
8May 11, 2021 20:205,58745,732,63215,891,0001,986,0002,392,064
9May 11, 2021 20:205,60144,185,51415,933,0001,991,0002,265,088
10May 11, 2021 20:205,74387,393,58318,377,95002,273,280
11May 11, 2021 20:205,77074,542,27118,462,80402,281,472
12May 11, 2021 20:205,78580,991,50918,511,88802,273,280