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 5, 2021 23:45evgenikwtevgenikwtScore: 5,279Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 23:455,26835,906,35815,865,000991,0002,265,088
2Jun 5, 2021 23:455,26942,713,95914,878,0001,983,0002,265,088
3Jun 5, 2021 23:455,27142,305,33115,876,000992,0002,510,848
4Jun 5, 2021 23:455,27245,070,16114,886,0001,984,0002,265,088
5Jun 5, 2021 23:455,27340,692,65715,882,000992,0002,392,064
6Jun 5, 2021 23:455,27645,052,80814,897,0001,986,0002,392,064
7Jun 5, 2021 23:455,27946,828,74115,901,000993,0002,265,088
8Jun 5, 2021 23:455,28236,922,90114,913,0001,988,0002,265,088
9Jun 5, 2021 23:455,29343,753,91415,941,000996,0002,502,656
10Jun 5, 2021 23:455,46575,910,48217,489,00302,281,472
11Jun 5, 2021 23:455,49080,390,43517,567,64002,289,664
12Jun 5, 2021 23:455,52477,371,04317,677,73402,277,376