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 25, 2023 22:31Andranik ChakiryanAndranik ChakiryanScore: 5,632Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 25, 2023 22:315,59647,510,29615,918,0001,989,0002,342,912
2Feb 25, 2023 22:315,60238,312,10415,934,0001,991,0002,342,912
3Feb 25, 2023 22:315,60634,670,33715,946,0001,993,0002,338,816
4Feb 25, 2023 22:315,61245,417,33615,963,0001,995,0002,351,104
5Feb 25, 2023 22:315,62242,504,22816,991,000999,0002,342,912
6Feb 25, 2023 22:315,62348,007,25714,996,0002,999,0002,342,912
7Feb 25, 2023 22:315,63242,679,43116,019,0002,002,0002,347,008
8Feb 25, 2023 22:315,63236,354,42517,022,0001,001,0002,355,200
9Feb 25, 2023 22:315,63843,936,01416,037,0002,004,0002,355,200
10Feb 25, 2023 22:315,68660,122,86018,195,71502,183,168
11Feb 25, 2023 22:315,79986,569,03618,557,35902,187,264
12Feb 25, 2023 22:315,91287,887,77918,919,30002,187,264