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 09:10BenBenScore: 4,732Success
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 09:104,69826,642,44113,030,0002,004,0002,383,872
2Jul 28, 2024 09:104,71932,451,50213,089,0002,013,0002,265,088
3Jul 28, 2024 09:104,72034,552,66313,090,0002,013,0002,265,088
4Jul 28, 2024 09:104,72128,426,66814,101,0001,007,0002,527,232
5Jul 28, 2024 09:104,72542,230,64914,113,0001,008,0002,387,968
6Jul 28, 2024 09:104,72936,758,62714,125,0001,008,0002,265,088
7Jul 28, 2024 09:104,73240,929,92013,123,0002,018,0002,383,872
8Jul 28, 2024 09:104,73531,770,04713,133,0002,020,0002,506,752
9Jul 28, 2024 09:104,74631,882,31513,162,0002,025,0002,265,088
10Jul 28, 2024 09:104,94781,680,24615,829,77802,285,568
11Jul 28, 2024 09:104,94974,062,26715,836,48502,293,760
12Jul 28, 2024 09:104,96086,322,65715,872,98502,285,568