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 17, 2023 22:48Alexander MonakovAlexander MonakovScore: 4,817Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 22:484,77137,409,12315,267,00002,502,656
2Mar 17, 2023 22:484,77239,750,57415,269,00002,490,368
3Mar 17, 2023 22:484,78532,521,14115,313,00002,498,560
4Mar 17, 2023 22:484,78932,299,61815,325,00002,498,560
5Mar 17, 2023 22:484,80032,329,14015,361,00002,277,376
6Mar 17, 2023 22:484,81341,272,09215,401,00002,277,376
7Mar 17, 2023 22:484,81729,695,61215,413,00002,277,376
8Mar 17, 2023 22:484,82237,001,50914,402,0001,028,0002,277,376
9Mar 17, 2023 22:484,82538,238,80214,412,0001,029,0002,277,376
10Mar 17, 2023 22:485,03559,512,25616,113,30402,236,416
11Mar 17, 2023 22:485,07255,515,32216,229,36902,244,608
12Mar 17, 2023 22:485,076101,745,11816,244,53202,240,512