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:22Andranik ChakiryanAndranik ChakiryanScore: 5,626Success
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:225,58743,840,07614,899,0002,979,0002,342,912
2Feb 25, 2023 22:225,58945,333,10216,891,000993,0002,351,104
3Feb 25, 2023 22:225,60133,839,76316,927,000995,0002,359,296
4Feb 25, 2023 22:225,60236,819,59214,938,0002,987,0002,334,720
5Feb 25, 2023 22:225,61143,837,89614,962,0002,992,0002,342,912
6Feb 25, 2023 22:225,62646,130,54417,003,0001,000,0002,355,200
7Feb 25, 2023 22:225,62646,377,31216,004,0002,000,0002,342,912
8Feb 25, 2023 22:225,64650,060,34316,060,0002,007,0002,342,912
9Feb 25, 2023 22:225,65546,502,18615,081,0003,016,0002,342,912
10Feb 25, 2023 22:225,689100,732,67518,204,67802,191,360
11Feb 25, 2023 22:225,70591,735,06618,257,16002,183,168
12Feb 25, 2023 22:225,75580,343,14418,414,91802,187,264