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 18, 2023 07:46Alexander MonakovAlexander MonakovScore: 4,576Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 18, 2023 07:464,52531,964,55814,480,00002,277,376
2Mar 18, 2023 07:464,53231,999,81214,501,00002,486,272
3Mar 18, 2023 07:464,55229,822,86114,567,00002,277,376
4Mar 18, 2023 07:464,55938,848,25414,590,00002,277,376
5Mar 18, 2023 07:464,56532,373,30614,607,00002,502,656
6Mar 18, 2023 07:464,56826,834,49213,575,0001,044,0002,494,464
7Mar 18, 2023 07:464,57645,715,13714,644,00002,277,376
8Mar 18, 2023 07:464,58539,494,70213,625,0001,048,0002,277,376
9Mar 18, 2023 07:464,58830,352,58214,682,00002,498,560
10Mar 18, 2023 07:464,76397,831,34815,241,74802,260,992
11Mar 18, 2023 07:464,79590,852,05115,344,90702,260,992
12Mar 18, 2023 07:464,81284,155,86915,396,92402,244,608