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 listSep 23, 2024 07:15MaxMaxScore: 5,656Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 23, 2024 07:155,62346,855,52115,996,0001,999,0002,289,664
2Sep 23, 2024 07:155,63747,446,61516,034,0002,004,0002,289,664
3Sep 23, 2024 07:155,64251,699,27316,049,0002,006,0002,277,376
4Sep 23, 2024 07:155,65644,623,54916,088,0002,011,0002,289,664
5Sep 23, 2024 07:155,65643,162,45518,100,00002,289,664
6Sep 23, 2024 07:155,65747,763,14816,091,0002,011,0002,527,232
7Sep 23, 2024 07:155,66144,444,35817,108,0001,006,0002,371,584
8Sep 23, 2024 07:155,67349,995,24516,138,0002,017,0002,289,664
9Sep 23, 2024 07:155,68048,169,49416,158,0002,019,0002,289,664