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 21:50Robert BurkeRobert BurkeScore: 4,885Success
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 21:504,84830,381,03615,513,00002,535,424
2Jul 22, 2022 21:504,85136,359,80315,524,00002,273,280
3Jul 22, 2022 21:504,85434,823,21015,532,00002,273,280
4Jul 22, 2022 21:504,86129,287,25014,518,0001,037,0002,535,424
5Jul 22, 2022 21:504,86631,565,32815,572,00002,428,928
6Jul 22, 2022 21:504,87941,587,21114,572,0001,040,0002,433,024
7Jul 22, 2022 21:504,88541,092,66115,632,00002,433,024
8Jul 22, 2022 21:504,90138,001,53114,637,0001,045,0002,273,280
9Jul 22, 2022 21:504,96345,499,89713,895,0001,985,0002,437,120
10Jul 22, 2022 21:504,98183,502,29715,939,02402,183,168
11Jul 22, 2022 21:505,02356,945,36616,074,34202,183,168
12Jul 22, 2022 21:505,07753,633,07516,245,21202,183,168