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 listJun 13, 2021 23:20evgenikwtevgenikwtScore: 5,322Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 23:205,27135,565,42316,866,00002,265,088
2Jun 13, 2021 23:205,28242,931,02014,915,0001,988,0002,265,088
3Jun 13, 2021 23:205,28843,891,85714,931,0001,990,0002,265,088
4Jun 13, 2021 23:205,30834,424,44615,986,000999,0002,265,088
5Jun 13, 2021 23:205,31548,293,40315,008,0002,001,0002,379,776
6Jun 13, 2021 23:205,31834,373,92615,016,0002,002,0002,396,160
7Jun 13, 2021 23:205,32234,228,62316,029,0001,001,0002,527,232
8Jun 13, 2021 23:205,32945,693,60616,050,0001,003,0002,387,968
9Jun 13, 2021 23:205,33836,956,76315,072,0002,009,0002,375,680
10Jun 13, 2021 23:205,51284,112,98217,637,65502,285,568
11Jun 13, 2021 23:205,52063,321,78517,663,82702,277,376
12Jun 13, 2021 23:205,53268,864,93917,702,81902,277,376