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 listMay 30, 2021 21:08Egor SergeevEgor SergeevScore: 5,208Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 21:085,16432,250,99416,525,00002,498,560
2May 30, 2021 21:085,17239,454,84216,551,00002,494,464
3May 30, 2021 21:085,18443,293,83716,590,00002,494,464
4May 30, 2021 21:085,19848,311,02216,634,00002,498,560
5May 30, 2021 21:085,20236,241,00316,646,00002,277,376
6May 30, 2021 21:085,20432,038,13116,653,00002,277,376
7May 30, 2021 21:085,20839,184,16416,667,00002,277,376
8May 30, 2021 21:085,22841,310,40116,730,00002,277,376
9May 30, 2021 21:085,26537,359,50516,848,00002,277,376
10May 30, 2021 21:085,42767,192,05217,366,30502,256,896
11May 30, 2021 21:085,44779,159,63517,428,81202,260,992
12May 30, 2021 21:085,45865,190,04517,465,60602,236,416