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:50BenBenScore: 4,752Success
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:504,71340,687,82213,070,0002,010,0002,392,064
2Jul 28, 2024 07:504,73531,726,11414,143,0001,010,0002,523,136
3Jul 28, 2024 07:504,73533,459,23913,133,0002,020,0002,396,160
4Jul 28, 2024 07:504,73643,955,64913,134,0002,020,0002,265,088
5Jul 28, 2024 07:504,74236,549,66913,151,0002,023,0002,379,776
6Jul 28, 2024 07:504,74642,451,39313,163,0002,025,0002,527,232
7Jul 28, 2024 07:504,75238,849,33014,194,0001,013,0002,265,088
8Jul 28, 2024 07:504,75332,532,56313,183,0002,028,0002,387,968
9Jul 28, 2024 07:504,75634,920,62614,204,0001,014,0002,527,232
10Jul 28, 2024 07:504,93986,177,65215,805,83602,240,512
11Jul 28, 2024 07:504,99973,355,86715,996,40002,273,280
12Jul 28, 2024 07:505,00569,838,32216,017,33202,281,472