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:34BenBenScore: 5,279Success
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:345,22845,993,85215,686,0001,045,0002,281,472
2Jul 28, 2024 07:345,26243,345,34514,857,0001,980,0002,277,376
3Jul 28, 2024 07:345,26343,165,86614,861,0001,981,0002,289,664
4Jul 28, 2024 07:345,27033,497,01315,873,000992,0002,289,664
5Jul 28, 2024 07:345,27238,877,26614,885,0001,984,0002,289,664
6Jul 28, 2024 07:345,27442,322,49314,893,0001,985,0002,289,664
7Jul 28, 2024 07:345,27945,944,70814,905,0001,987,0002,375,680
8Jul 28, 2024 07:345,28342,674,52815,912,000994,0002,289,664
9Jul 28, 2024 07:345,28747,113,86914,929,0001,990,0002,277,376
10Jul 28, 2024 07:345,40679,206,29617,298,64402,183,168
11Jul 28, 2024 07:345,42963,557,44517,372,50002,174,976
12Jul 28, 2024 07:345,46380,383,55117,482,58102,179,072