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 27, 2021 01:11Egor SergeevEgor SergeevScore: 5,170Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 01:115,13435,388,02216,429,00002,277,376
2May 27, 2021 01:115,15737,286,48216,502,00002,494,464
3May 27, 2021 01:115,16439,346,40216,524,00002,502,656
4May 27, 2021 01:115,16829,950,21516,538,00002,277,376
5May 27, 2021 01:115,16830,190,06716,539,00002,277,376
6May 27, 2021 01:115,16930,435,21416,540,00002,498,560
7May 27, 2021 01:115,17040,773,50916,543,00002,277,376
8May 27, 2021 01:115,17347,417,01316,552,00002,535,424
9May 27, 2021 01:115,18436,412,99916,590,00002,277,376
10May 27, 2021 01:115,36744,986,20017,174,15002,236,416
11May 27, 2021 01:115,41466,643,81817,323,87002,244,608
12May 27, 2021 01:115,45566,155,03817,457,39502,244,608