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 3, 2023 21:18Hal FHal FScore: 4,731Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 21:184,71438,618,74313,074,0002,011,0002,289,664
2Jan 3, 2023 21:184,72139,379,68613,092,0002,014,0002,383,872
3Jan 3, 2023 21:184,72236,761,99014,103,0001,007,0002,289,664
4Jan 3, 2023 21:184,72435,708,28513,101,0002,015,0002,265,088
5Jan 3, 2023 21:184,72639,532,56413,107,0002,016,0002,289,664
6Jan 3, 2023 21:184,73036,435,45314,127,0001,009,0002,289,664
7Jan 3, 2023 21:184,73146,846,80514,129,0001,009,0002,289,664
8Jan 3, 2023 21:184,73633,243,86513,134,0002,020,0002,531,328
9Jan 3, 2023 21:184,74435,895,13313,158,0002,024,0002,289,664
10Jan 3, 2023 21:184,96256,506,08815,879,13402,301,952
11Jan 3, 2023 21:184,96582,909,11515,888,45202,289,664
12Jan 3, 2023 21:184,98489,910,17915,949,42702,297,856