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 listMay 30, 2021 00:24Egor SergeevEgor SergeevScore: 5,156Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 00:245,13338,423,76416,425,00002,490,368
2May 30, 2021 00:245,14733,112,82416,469,00002,502,656
3May 30, 2021 00:245,14833,205,24716,475,00002,498,560
4May 30, 2021 00:245,15033,161,96716,479,00002,494,464
5May 30, 2021 00:245,15234,091,30516,485,00002,277,376
6May 30, 2021 00:245,15434,328,83416,492,00002,498,560
7May 30, 2021 00:245,15639,209,84616,500,00002,277,376
8May 30, 2021 00:245,15936,226,84916,510,00002,277,376
9May 30, 2021 00:245,16835,942,06216,539,00002,277,376
10May 30, 2021 00:245,38571,046,94817,231,70502,260,992
11May 30, 2021 00:245,40275,169,84317,286,29102,236,416
12May 30, 2021 00:245,41063,416,61817,313,59402,248,704