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:20BenBenScore: 5,040Success
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:204,97239,573,66913,921,0001,988,0002,265,088
2Jul 28, 2024 07:205,00431,134,32714,012,0002,001,0002,387,968
3Jul 28, 2024 07:205,00629,557,02615,017,0001,001,0002,392,064
4Jul 28, 2024 07:205,01433,174,52114,039,0002,005,0002,527,232
5Jul 28, 2024 07:205,02844,080,56015,086,0001,005,0002,265,088
6Jul 28, 2024 07:205,03444,224,15615,103,0001,006,0002,498,560
7Jul 28, 2024 07:205,04035,465,23615,121,0001,008,0002,265,088
8Jul 28, 2024 07:205,05347,537,98614,147,0002,021,0002,265,088
9Jul 28, 2024 07:205,05935,633,57515,177,0001,011,0002,396,160
10Jul 28, 2024 07:205,33980,816,84117,085,15702,281,472
11Jul 28, 2024 07:205,38873,627,57317,240,55402,285,568
12Jul 28, 2024 07:205,41573,263,34317,329,43802,285,568