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 21, 2023 10:55gchebanovgchebanovScore: 5,642Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2023 10:555,58937,543,34015,897,0001,987,0002,265,088
2Jul 21, 2023 10:555,60137,361,69415,933,0001,991,0002,265,088
3Jul 21, 2023 10:555,61039,153,14515,959,0001,994,0002,265,088
4Jul 21, 2023 10:555,63743,986,69017,036,0001,002,0002,527,232
5Jul 21, 2023 10:555,63845,891,91617,040,0001,002,0002,392,064
6Jul 21, 2023 10:555,63935,074,07518,045,00002,265,088
7Jul 21, 2023 10:555,64249,114,39217,051,0001,003,0002,265,088
8Jul 21, 2023 10:555,64334,698,92017,055,0001,003,0002,383,872
9Jul 21, 2023 10:555,66048,306,40917,106,0001,006,0002,265,088
10Jul 21, 2023 10:555,75092,308,81818,401,31302,281,472
11Jul 21, 2023 10:555,75794,742,03418,422,79502,285,568
12Jul 21, 2023 10:555,77676,701,44918,481,97302,281,472