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 listJun 9, 2024 19:09джулисджулисScore: 5,523Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 19:095,49437,891,62417,581,00002,293,760
2Jun 9, 2024 19:095,49441,817,25716,547,0001,034,0002,293,760
3Jun 9, 2024 19:095,50044,558,69316,565,0001,035,0002,293,760
4Jun 9, 2024 19:095,50236,239,70817,607,00002,375,680
5Jun 9, 2024 19:095,50842,092,26117,626,00002,482,176
6Jun 9, 2024 19:095,51544,166,63516,609,0001,038,0002,293,760
7Jun 9, 2024 19:095,52336,147,67717,674,00002,293,760
8Jun 9, 2024 19:095,52744,080,91817,687,00002,293,760
9Jun 9, 2024 19:095,53241,248,00716,661,0001,041,0002,289,664
10Jun 9, 2024 19:095,75074,616,04218,400,24302,240,512
11Jun 9, 2024 19:095,77889,696,18118,491,00502,252,800
12Jun 9, 2024 19:095,82069,337,97118,624,13902,240,512