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 14:34Dmitry DolgopolovDmitry DolgopolovScore: 5,586Success
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 14:345,52545,474,48016,641,0001,040,0002,269,184
2May 24, 2021 14:345,57643,748,22516,853,000991,0002,265,088
3May 24, 2021 14:345,57844,679,62615,865,0001,983,0002,387,968
4May 24, 2021 14:345,58145,234,46216,867,000992,0002,269,184
5May 24, 2021 14:345,58243,830,58716,870,000992,0002,379,776
6May 24, 2021 14:345,58342,888,91717,867,00002,510,848
7May 24, 2021 14:345,58642,733,25416,883,000993,0002,387,968
8May 24, 2021 14:345,58945,010,29615,897,0001,987,0002,265,088
9May 24, 2021 14:345,60334,143,81515,937,0001,992,0002,383,872
10May 24, 2021 14:345,74676,613,98918,386,70402,273,280
11May 24, 2021 14:345,76661,071,77618,449,68302,273,280
12May 24, 2021 14:345,79974,808,20818,555,50402,281,472