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 5, 2023 22:36Hal FHal FScore: 4,692Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2023 22:364,64630,907,91012,885,0001,982,0002,289,664
2Jan 5, 2023 22:364,64735,824,78612,889,0001,982,0002,289,664
3Jan 5, 2023 22:364,65832,119,55714,905,00002,289,664
4Jan 5, 2023 22:364,67738,581,98312,972,0001,995,0002,277,376
5Jan 5, 2023 22:364,67933,031,90612,978,0001,996,0002,277,376
6Jan 5, 2023 22:364,68831,393,97713,001,0002,000,0002,289,664
7Jan 5, 2023 22:364,69230,631,14213,012,0002,001,0002,277,376
8Jan 5, 2023 22:364,69736,250,69513,027,0002,004,0002,289,664
9Jan 5, 2023 22:364,71432,360,91613,075,0002,011,0002,277,376
10Jan 5, 2023 22:364,90986,639,04215,708,68002,301,952
11Jan 5, 2023 22:364,92378,905,56515,753,51102,174,976
12Jan 5, 2023 22:364,96856,593,42015,896,30002,293,760