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 listFeb 24, 2023 21:53Andranik ChakiryanAndranik ChakiryanScore: 5,652Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 24, 2023 21:535,62646,924,39016,002,0002,000,0002,342,912
2Feb 24, 2023 21:535,62947,891,06517,014,0001,000,0002,351,104
3Feb 24, 2023 21:535,63242,778,15016,019,0002,002,0002,355,200
4Feb 24, 2023 21:535,63743,700,02017,037,0001,002,0002,359,296
5Feb 24, 2023 21:535,64345,491,95215,047,0003,009,0002,342,912
6Feb 24, 2023 21:535,65051,832,58117,076,0001,004,0002,342,912
7Feb 24, 2023 21:535,65237,011,67217,082,0001,004,0002,367,488
8Feb 24, 2023 21:535,67236,280,21517,141,0001,008,0002,342,912
9Feb 24, 2023 21:535,67237,607,98517,143,0001,008,0002,338,816
10Feb 24, 2023 21:535,68176,163,91618,179,71802,183,168
11Feb 24, 2023 21:535,69073,125,87318,208,06802,191,360
12Feb 24, 2023 21:535,78373,491,97218,506,79502,191,360