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 listOct 29, 2023 06:41goon-goon-Score: 5,627Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2023 06:415,58442,502,14216,876,000992,0002,383,872
2Oct 29, 2023 06:415,58442,085,96916,878,000992,0002,379,776
3Oct 29, 2023 06:415,58749,322,19115,893,0001,986,0002,265,088
4Oct 29, 2023 06:415,59044,502,41917,887,00002,506,752
5Oct 29, 2023 06:415,59439,559,25015,913,0001,989,0002,387,968
6Oct 29, 2023 06:415,60646,895,07216,943,000996,0002,387,968
7Oct 29, 2023 06:415,62742,617,50417,007,0001,000,0002,392,064
8Oct 29, 2023 06:415,62945,019,77417,014,0001,000,0002,506,752
9Oct 29, 2023 06:415,63244,509,23517,022,0001,001,0002,265,088
10Oct 29, 2023 06:415,75979,785,38118,427,57002,281,472
11Oct 29, 2023 06:415,77976,828,18218,491,89502,281,472
12Oct 29, 2023 06:415,81096,424,43318,592,45802,281,472