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 listJul 31, 2024 04:40BenBenScore: 4,649Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2024 04:404,60726,774,42413,690,0001,053,0002,367,488
2Jul 31, 2024 04:404,63441,357,85213,842,000988,0002,371,584
3Jul 31, 2024 04:404,64736,477,43313,878,000991,0002,383,872
4Jul 31, 2024 04:404,64837,936,35013,882,000991,0002,371,584
5Jul 31, 2024 04:404,64830,730,34713,882,000991,0002,371,584
6Jul 31, 2024 04:404,64934,776,92112,893,0001,983,0002,383,872
7Jul 31, 2024 04:404,64937,516,48312,893,0001,983,0002,265,088
8Jul 31, 2024 04:404,65244,247,41012,901,0001,984,0002,527,232
9Jul 31, 2024 04:404,65833,844,76713,912,000993,0002,379,776
10Jul 31, 2024 04:404,90674,971,00315,698,28902,273,280
11Jul 31, 2024 04:404,91964,292,13215,740,50502,273,280
12Jul 31, 2024 04:404,95096,918,87415,840,75802,273,280