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 listOct 27, 2021 09:50Ilya AniskovetsIlya AniskovetsScore: 5,521Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 27, 2021 09:505,46739,528,27516,464,0001,029,0002,277,376
2Oct 27, 2021 09:505,48433,852,84717,548,00002,269,184
3Oct 27, 2021 09:505,48838,400,63217,563,00002,387,968
4Oct 27, 2021 09:505,50436,894,65317,612,00002,289,664
5Oct 27, 2021 09:505,51143,430,81316,597,0001,037,0002,289,664
6Oct 27, 2021 09:505,51345,191,87216,606,0001,037,0002,531,328
7Oct 27, 2021 09:505,52143,964,73016,628,0001,039,0002,289,664
8Oct 27, 2021 09:505,52149,754,01316,629,0001,039,0002,277,376
9Oct 27, 2021 09:505,52951,078,96416,652,0001,040,0002,367,488
10Oct 27, 2021 09:505,64477,915,51218,059,67002,297,856
11Oct 27, 2021 09:505,67089,499,68718,143,33602,174,976
12Oct 27, 2021 09:505,67678,877,02218,162,01402,179,072