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 07:53BenBenScore: 4,635Success
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 07:534,57545,239,29313,594,0001,045,0002,265,088
2Jul 28, 2024 07:534,58132,867,82913,612,0001,047,0002,265,088
3Jul 28, 2024 07:534,58844,960,67513,633,0001,048,0002,396,160
4Jul 28, 2024 07:534,60834,112,14013,693,0001,053,0002,383,872
5Jul 28, 2024 07:534,61331,344,30514,761,00002,527,232
6Jul 28, 2024 07:534,62742,407,32412,831,0001,974,0002,527,232
7Jul 28, 2024 07:534,63533,022,46513,844,000988,0002,392,064
8Jul 28, 2024 07:534,64741,196,92513,878,000991,0002,392,064
9Jul 28, 2024 07:534,65031,183,66514,880,00002,383,872
10Jul 28, 2024 07:534,86184,748,47515,554,41402,281,472
11Jul 28, 2024 07:534,86378,281,42915,560,09602,281,472
12Jul 28, 2024 07:534,86697,093,95715,570,10702,285,568