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:36BenBenScore: 4,668Success
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:364,64933,849,35413,886,000991,0002,510,848
2Jul 28, 2024 08:364,65242,673,22212,901,0001,984,0002,383,872
3Jul 28, 2024 08:364,65933,561,22412,922,0001,988,0002,265,088
4Jul 28, 2024 08:364,65934,945,48214,910,00002,392,064
5Jul 28, 2024 08:364,66139,680,19513,922,000994,0002,265,088
6Jul 28, 2024 08:364,66629,134,18513,937,000995,0002,527,232
7Jul 28, 2024 08:364,66838,081,10712,945,0001,991,0002,482,176
8Jul 28, 2024 08:364,68439,315,43512,990,0001,998,0002,265,088
9Jul 28, 2024 08:364,69534,942,79214,024,0001,001,0002,265,088
10Jul 28, 2024 08:364,88760,775,39315,636,95502,289,664
11Jul 28, 2024 08:364,90959,157,45215,707,44102,293,760
12Jul 28, 2024 08:364,92878,367,74215,769,93002,285,568