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 listMar 15, 2023 19:38Alexander MonakovAlexander MonakovScore: 5,261Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 15, 2023 19:385,21038,779,29115,630,0001,042,0002,400,256
2Mar 15, 2023 19:385,21136,973,29815,634,0001,042,0002,281,472
3Mar 15, 2023 19:385,21635,054,08816,692,00002,281,472
4Mar 15, 2023 19:385,21841,057,95315,654,0001,043,0002,281,472
5Mar 15, 2023 19:385,22939,969,43915,687,0001,045,0002,281,472
6Mar 15, 2023 19:385,23040,541,18216,735,00002,408,448
7Mar 15, 2023 19:385,26144,138,21015,846,000990,0002,281,472
8Mar 15, 2023 19:385,27842,660,06414,902,0001,987,0002,392,064
9Mar 15, 2023 19:385,28132,937,09216,900,00002,396,160
10Mar 15, 2023 19:385,41156,001,63817,314,88902,277,376
11Mar 15, 2023 19:385,41186,108,79217,315,09902,297,856
12Mar 15, 2023 19:385,41573,219,23817,326,88602,293,760