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 listJan 8, 2023 12:41Hal FHal FScore: 4,779Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 8, 2023 12:414,75337,104,08413,183,0002,028,0002,527,232
2Jan 8, 2023 12:414,75840,406,24913,197,0002,030,0002,289,664
3Jan 8, 2023 12:414,75938,417,08513,198,0002,030,0002,289,664
4Jan 8, 2023 12:414,75943,077,52613,199,0002,030,0002,289,664
5Jan 8, 2023 12:414,76431,044,59813,214,0002,032,0002,277,376
6Jan 8, 2023 12:414,77339,152,77613,239,0002,036,0002,289,664
7Jan 8, 2023 12:414,77937,460,52513,254,0002,039,0002,277,376
8Jan 8, 2023 12:414,77940,215,26413,255,0002,039,0002,277,376
9Jan 8, 2023 12:414,90931,332,23715,710,00002,289,664
10Jan 8, 2023 12:414,96859,366,02715,896,12702,301,952
11Jan 8, 2023 12:414,97171,181,03615,906,43802,174,976
12Jan 8, 2023 12:414,99670,039,77715,988,09102,293,760