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 08:19BenBenScore: 4,648Success
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 08:194,60141,915,47613,671,0001,051,0002,392,064
2Jul 28, 2024 08:194,64632,959,94213,875,000991,0002,265,088
3Jul 28, 2024 08:194,64639,192,47212,884,0001,982,0002,265,088
4Jul 28, 2024 08:194,64642,000,67013,877,000991,0002,396,160
5Jul 28, 2024 08:194,64733,624,82713,878,000991,0002,265,088
6Jul 28, 2024 08:194,64842,717,98112,891,0001,983,0002,265,088
7Jul 28, 2024 08:194,64831,143,13212,892,0001,983,0002,265,088
8Jul 28, 2024 08:194,64940,412,36412,894,0001,983,0002,375,680
9Jul 28, 2024 08:194,65046,142,39313,888,000992,0002,265,088
10Jul 28, 2024 08:194,84779,086,34815,511,26802,240,512
11Jul 28, 2024 08:194,91194,089,76215,714,68302,285,568
12Jul 28, 2024 08:194,92486,612,12815,756,76702,285,568