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 16:21Yuriy LyfenkoYuriy LyfenkoScore: 5,115Success
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 16:215,05833,675,00115,175,0001,011,0002,265,088
2May 23, 2021 16:215,07733,487,00815,231,0001,015,0002,265,088
3May 23, 2021 16:215,08045,845,86015,240,0001,016,0002,392,064
4May 23, 2021 16:215,08447,177,94215,252,0001,016,0002,265,088
5May 23, 2021 16:215,08746,329,42916,277,00002,392,064
6May 23, 2021 16:215,09740,042,70316,309,00002,265,088
7May 23, 2021 16:215,11532,391,77216,367,00002,265,088
8May 23, 2021 16:215,13339,026,33415,398,0001,026,0002,527,232
9May 23, 2021 16:215,14243,096,62415,425,0001,028,0002,392,064
10May 23, 2021 16:215,31899,773,56017,017,82302,273,280
11May 23, 2021 16:215,33051,717,57817,056,64502,269,184
12May 23, 2021 16:215,34580,262,98017,103,40002,273,280