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 20:54Hal FHal FScore: 4,766Success
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 20:544,73233,510,49213,124,0002,019,0002,277,376
2Jan 3, 2023 20:544,73338,585,29514,138,0001,009,0002,289,664
3Jan 3, 2023 20:544,74138,309,21813,149,0002,023,0002,289,664
4Jan 3, 2023 20:544,75932,392,65714,213,0001,015,0002,375,680
5Jan 3, 2023 20:544,76141,443,94613,204,0002,031,0002,281,472
6Jan 3, 2023 20:544,76331,893,61113,209,0002,032,0002,289,664
7Jan 3, 2023 20:544,76632,088,34413,217,0002,033,0002,285,568
8Jan 3, 2023 20:544,78236,242,08213,262,0002,040,0002,289,664
9Jan 3, 2023 20:544,78231,580,77413,263,0002,040,0002,281,472
10Jan 3, 2023 20:544,99680,363,63315,986,23502,289,664
11Jan 3, 2023 20:545,02693,400,50116,084,16302,289,664
12Jan 3, 2023 20:545,04384,268,54916,137,32202,301,952