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 listApr 7, 2022 20:32Egor SergeevEgor SergeevScore: 5,135Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 7, 2022 20:325,11038,761,52316,352,00002,502,656
2Apr 7, 2022 20:325,11538,950,42316,368,00002,502,656
3Apr 7, 2022 20:325,11831,864,31916,379,00002,502,656
4Apr 7, 2022 20:325,12241,080,10516,391,00002,277,376
5Apr 7, 2022 20:325,12831,835,55916,409,00002,277,376
6Apr 7, 2022 20:325,13441,935,67216,428,00002,494,464
7Apr 7, 2022 20:325,13538,879,31016,432,00002,277,376
8Apr 7, 2022 20:325,14033,566,72616,448,00002,502,656
9Apr 7, 2022 20:325,14632,578,98916,467,00002,273,280
10Apr 7, 2022 20:325,36385,788,48317,161,72302,256,896
11Apr 7, 2022 20:325,36574,184,51417,167,93202,260,992
12Apr 7, 2022 20:325,41281,876,46417,319,63302,244,608