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 8, 2024 18:22Andrey LikhachevAndrey LikhachevScore: 5,824Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 18:225,79842,027,19018,553,00002,371,584
2Jun 8, 2024 18:225,79833,586,10417,524,0001,030,0002,371,584
3Jun 8, 2024 18:225,81046,982,02717,560,0001,032,0002,289,664
4Jun 8, 2024 18:225,81244,751,47418,597,00002,371,584
5Jun 8, 2024 18:225,81637,405,71317,578,0001,034,0002,371,584
6Jun 8, 2024 18:225,81744,157,14717,580,0001,034,0002,367,488
7Jun 8, 2024 18:225,82442,069,27818,638,00002,375,680
8Jun 8, 2024 18:225,83837,304,08417,644,0001,037,0002,367,488
9Jun 8, 2024 18:225,84245,758,86818,695,00002,289,664
10Jun 8, 2024 18:226,04975,134,01119,358,39002,244,608
11Jun 8, 2024 18:226,07995,364,81219,453,95802,236,416
12Jun 8, 2024 18:226,09095,142,59519,489,18202,256,896