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 listJul 22, 2022 19:08Robert BurkeRobert BurkeScore: 5,343Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 19:085,29737,596,87815,954,000997,0002,433,024
2Jul 22, 2022 19:085,31540,176,72416,007,0001,000,0002,281,472
3Jul 22, 2022 19:085,31538,048,31516,009,0001,000,0002,433,024
4Jul 22, 2022 19:085,32646,507,47815,038,0002,005,0002,433,024
5Jul 22, 2022 19:085,33742,039,12615,070,0002,009,0002,428,928
6Jul 22, 2022 19:085,33941,135,64216,080,0001,005,0002,281,472
7Jul 22, 2022 19:085,34344,145,34915,085,0002,011,0002,424,832
8Jul 22, 2022 19:085,35033,424,76115,106,0002,014,0002,433,024
9Jul 22, 2022 19:085,35739,116,29416,133,0001,008,0002,437,120
10Jul 22, 2022 19:085,49167,722,83217,571,85602,191,360
11Jul 22, 2022 19:085,53371,698,86017,707,04802,183,168
12Jul 22, 2022 19:085,57979,294,22517,853,91102,183,168