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 28, 2024 09:24BenBenScore: 4,788Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 09:244,75040,654,14513,173,0002,026,0002,379,776
2Jul 28, 2024 09:244,75535,367,36214,201,0001,014,0002,527,232
3Jul 28, 2024 09:244,76540,923,48214,233,0001,016,0002,383,872
4Jul 28, 2024 09:244,76635,102,09913,218,0002,033,0002,265,088
5Jul 28, 2024 09:244,77050,258,76413,229,0002,035,0002,375,680
6Jul 28, 2024 09:244,77933,402,31115,293,00002,392,064
7Jul 28, 2024 09:244,78836,478,20515,320,00002,265,088
8Jul 28, 2024 09:244,79332,620,77713,292,0002,045,0002,383,872
9Jul 28, 2024 09:244,80039,386,29215,361,00002,392,064
10Jul 28, 2024 09:245,015101,423,81216,048,83402,281,472
11Jul 28, 2024 09:245,01696,620,51816,052,66402,277,376
12Jul 28, 2024 09:245,04978,768,50016,155,42502,285,568