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 4, 2021 05:05evgenikwtevgenikwtScore: 6,008Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 4, 2021 05:055,97043,718,69918,100,0001,005,0002,265,088
2Jun 4, 2021 05:055,97043,490,55518,100,0001,005,0002,265,088
3Jun 4, 2021 05:055,98345,671,09317,131,0002,015,0002,383,872
4Jun 4, 2021 05:055,98540,116,12917,136,0002,016,0002,392,064
5Jun 4, 2021 05:055,99249,838,59518,166,0001,009,0002,383,872
6Jun 4, 2021 05:056,00840,342,28918,213,0001,011,0002,265,088
7Jun 4, 2021 05:056,00844,984,11518,213,0001,011,0002,502,656
8Jun 4, 2021 05:056,03946,161,57617,292,0002,034,0002,260,992
9Jun 4, 2021 05:056,05043,166,46818,342,0001,019,0002,387,968
10Jun 4, 2021 05:056,15893,036,36019,706,15002,240,512
11Jun 4, 2021 05:056,22997,944,05919,932,18902,277,376
12Jun 4, 2021 05:056,25991,837,99420,027,62102,285,568