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 24, 2021 20:04Yuriy LyfenkoYuriy LyfenkoScore: 5,200Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 20:045,13745,423,48415,410,0001,027,0002,260,992
2May 24, 2021 20:045,14832,053,20615,443,0001,029,0002,379,776
3May 24, 2021 20:045,14843,109,39616,474,00002,523,136
4May 24, 2021 20:045,15636,422,57015,468,0001,031,0002,383,872
5May 24, 2021 20:045,17040,037,63716,543,00002,523,136
6May 24, 2021 20:045,18346,318,38015,550,0001,036,0002,523,136
7May 24, 2021 20:045,20047,446,40216,641,00002,387,968
8May 24, 2021 20:045,20144,394,67416,644,00002,383,872
9May 24, 2021 20:045,20638,780,19615,619,0001,041,0002,387,968
10May 24, 2021 20:045,38747,798,43617,237,57402,277,376
11May 24, 2021 20:045,39940,229,86917,277,52802,273,280
12May 24, 2021 20:045,45880,653,86217,464,45702,281,472