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 20, 2024 12:49Micah SwitzerMicah SwitzerScore: 11,476Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 12:5110,916108,882,54934,932,55602,310,144
2Jul 20, 2024 12:5110,97298,610,71235,109,90402,314,240
3Jul 20, 2024 12:5111,024108,264,04235,277,73802,314,240
4Jul 20, 2024 12:5011,45593,440,46236,655,39002,211,840
5Jul 20, 2024 12:5011,476105,456,47336,722,73802,224,128
6Jul 20, 2024 12:5011,487120,313,01036,758,29702,215,936
7Jul 20, 2024 12:4912,235115,382,47339,152,95402,236,416
8Jul 20, 2024 12:4912,243105,759,87739,177,14102,232,320
9Jul 20, 2024 12:4912,245108,132,14939,184,37802,232,320