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,834Success
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,79834,364,80518,555,00002,375,680
2Jun 8, 2024 18:225,81234,558,26217,565,0001,033,0002,371,584
3Jun 8, 2024 18:225,81342,499,65717,567,0001,033,0002,363,392
4Jun 8, 2024 18:225,81444,660,14518,606,00002,289,664
5Jun 8, 2024 18:225,81545,266,82817,576,0001,033,0002,359,296
6Jun 8, 2024 18:225,82550,161,45218,641,00002,478,080
7Jun 8, 2024 18:225,83440,063,05518,670,00002,367,488
8Jun 8, 2024 18:225,83635,722,41717,639,0001,037,0002,379,776
9Jun 8, 2024 18:225,84142,590,82017,653,0001,038,0002,375,680
10Jun 8, 2024 18:226,04882,383,19219,354,56502,248,704
11Jun 8, 2024 18:226,05697,980,01619,377,69402,240,512
12Jun 8, 2024 18:226,10168,450,61219,523,25702,363,392