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 listJul 4, 2021 00:17Egor SergeevEgor SergeevScore: 5,153Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2021 00:175,12234,740,03916,389,00002,498,560
2Jul 4, 2021 00:175,12837,733,79916,411,00002,502,656
3Jul 4, 2021 00:175,13930,444,82916,446,00002,490,368
4Jul 4, 2021 00:175,14336,654,51716,456,00002,494,464
5Jul 4, 2021 00:175,14337,526,86216,457,00002,277,376
6Jul 4, 2021 00:175,14833,199,23916,475,00002,535,424
7Jul 4, 2021 00:175,15328,213,46616,490,00002,490,368
8Jul 4, 2021 00:175,16639,743,16016,530,00002,494,464
9Jul 4, 2021 00:175,16641,500,89416,530,00002,277,376
10Jul 4, 2021 00:175,39550,308,92717,264,02002,236,416
11Jul 4, 2021 00:175,44365,987,22017,417,56402,236,416
12Jul 4, 2021 00:175,45485,490,42517,451,68302,240,512