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 19:16Andranik ChakiryanAndranik ChakiryanScore: 5,750Success
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 19:165,68739,014,06516,177,0002,022,0002,347,008
2Feb 24, 2023 19:165,71340,318,45516,249,0002,031,0002,342,912
3Feb 24, 2023 19:165,71742,177,77617,277,0001,016,0002,338,816
4Feb 24, 2023 19:165,73547,405,18717,333,0001,019,0002,347,008
5Feb 24, 2023 19:165,73643,037,24017,336,0001,019,0002,342,912
6Feb 24, 2023 19:165,74843,338,79018,395,00002,351,104
7Feb 24, 2023 19:165,75044,017,49118,399,00002,342,912
8Feb 24, 2023 19:165,77795,449,81718,486,88202,183,168
9Feb 24, 2023 19:165,79687,632,77518,548,39802,191,360
10Feb 24, 2023 19:165,80545,872,71917,544,0001,032,0002,351,104
11Feb 24, 2023 19:165,84947,380,83516,637,0002,079,0002,342,912
12Feb 24, 2023 19:165,890105,878,07818,849,53402,191,360