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 30, 2024 03:14BenBenScore: 4,574Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 03:144,52240,522,15413,437,0001,033,0002,383,872
2Jul 30, 2024 03:144,52829,821,19213,456,0001,035,0002,510,848
3Jul 30, 2024 03:144,54235,703,98513,495,0001,038,0002,265,088
4Jul 30, 2024 03:144,55035,897,79513,520,0001,040,0002,392,064
5Jul 30, 2024 03:144,55632,593,03913,539,0001,041,0002,265,088
6Jul 30, 2024 03:144,57233,121,87214,629,00002,523,136
7Jul 30, 2024 03:144,57442,978,53513,593,0001,045,0002,392,064
8Jul 30, 2024 03:144,57535,370,40913,594,0001,045,0002,265,088
9Jul 30, 2024 03:144,57732,016,90814,645,00002,383,872
10Jul 30, 2024 03:144,78582,699,32615,312,15202,281,472
11Jul 30, 2024 03:144,79590,600,02215,344,44102,289,664
12Jul 30, 2024 03:144,80668,723,79315,380,35802,281,472