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:59BenBenScore: 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 07:594,59432,540,40813,650,0001,050,0002,265,088
2Jul 28, 2024 07:594,60840,384,45314,747,00002,392,064
3Jul 28, 2024 07:594,63432,789,52713,840,000988,0002,383,872
4Jul 28, 2024 07:594,64336,927,13013,866,000990,0002,265,088
5Jul 28, 2024 07:594,64635,556,64513,875,000991,0002,379,776
6Jul 28, 2024 07:594,64631,866,08814,868,00002,387,968
7Jul 28, 2024 07:594,64830,565,40712,890,0001,983,0002,383,872
8Jul 28, 2024 07:594,65242,804,77913,894,000992,0002,265,088
9Jul 28, 2024 07:594,65330,312,38213,896,000992,0002,265,088
10Jul 28, 2024 07:594,86584,327,37415,568,39602,281,472
11Jul 28, 2024 07:594,87599,172,89615,598,41802,289,664
12Jul 28, 2024 07:594,88583,165,01215,631,85102,285,568