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

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2021 23:465,27044,748,60915,872,000992,0002,510,848
2Jun 7, 2021 23:465,27034,926,22914,881,0001,984,0002,265,088
3Jun 7, 2021 23:465,27137,444,21115,874,000992,0002,396,160
4Jun 7, 2021 23:465,27144,984,48914,884,0001,984,0002,527,232
5Jun 7, 2021 23:465,27237,686,21815,878,000992,0002,265,088
6Jun 7, 2021 23:465,27333,095,57414,887,0001,985,0002,265,088
7Jun 7, 2021 23:465,27444,511,79315,885,000992,0002,506,752
8Jun 7, 2021 23:465,28640,524,77815,921,000995,0002,506,752
9Jun 7, 2021 23:465,30441,119,33314,976,0001,996,0002,383,872
10Jun 7, 2021 23:465,45593,086,66317,456,04802,289,664
11Jun 7, 2021 23:465,47972,980,45017,534,38102,273,280
12Jun 7, 2021 23:465,48454,506,66717,549,71602,277,376