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:08Alexander MonakovAlexander MonakovScore: 4,548Success
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:084,49131,557,72614,370,00002,277,376
2Mar 18, 2023 07:084,49936,958,29414,397,00002,498,560
3Mar 18, 2023 07:084,50635,164,59014,418,00002,494,464
4Mar 18, 2023 07:084,51237,657,92613,407,0001,031,0002,277,376
5Mar 18, 2023 07:084,52731,995,54413,453,0001,034,0002,494,464
6Mar 18, 2023 07:084,53738,830,79014,518,00002,502,656
7Mar 18, 2023 07:084,54837,082,15314,554,00002,277,376
8Mar 18, 2023 07:084,56240,634,49714,599,00002,498,560
9Mar 18, 2023 07:084,56639,634,55113,567,0001,043,0002,277,376
10Mar 18, 2023 07:084,77681,648,19115,284,54602,248,704
11Mar 18, 2023 07:084,79191,320,75215,330,88102,244,608
12Mar 18, 2023 07:084,86584,686,58115,567,50002,236,416