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 4, 2021 23:35evgenikwtevgenikwtScore: 5,286Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 4, 2021 23:355,26843,100,19915,866,000991,0002,265,088
2Jun 4, 2021 23:355,27343,553,16215,882,000992,0002,383,872
3Jun 4, 2021 23:355,27832,809,66914,904,0001,987,0002,265,088
4Jun 4, 2021 23:355,27950,150,57315,901,000993,0002,379,776
5Jun 4, 2021 23:355,28243,942,00214,915,0001,988,0002,527,232
6Jun 4, 2021 23:355,28432,365,10615,915,000994,0002,387,968
7Jun 4, 2021 23:355,28634,606,21814,926,0001,990,0002,265,088
8Jun 4, 2021 23:355,29542,612,26014,952,0001,993,0002,387,968
9Jun 4, 2021 23:355,31441,359,24916,004,0001,000,0002,387,968
10Jun 4, 2021 23:355,46579,498,41317,488,41402,277,376
11Jun 4, 2021 23:355,48092,912,02517,535,96002,281,472
12Jun 4, 2021 23:355,51375,540,46817,642,16502,277,376