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 30, 2024 03:13BenBenScore: 4,558Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 03:134,52130,518,69213,435,0001,033,0002,400,256
2Jul 30, 2024 03:134,52740,679,33913,453,0001,034,0002,383,872
3Jul 30, 2024 03:134,54035,818,01114,529,00002,265,088
4Jul 30, 2024 03:134,54634,141,92614,548,00002,527,232
5Jul 30, 2024 03:134,55029,431,87313,520,0001,040,0002,387,968
6Jul 30, 2024 03:134,55840,614,13914,584,00002,387,968
7Jul 30, 2024 03:134,55832,514,29214,585,00002,387,968
8Jul 30, 2024 03:134,55934,244,95913,547,0001,042,0002,265,088
9Jul 30, 2024 03:134,56040,021,20513,549,0001,042,0002,265,088
10Jul 30, 2024 03:134,77099,052,97315,263,51002,277,376
11Jul 30, 2024 03:134,80495,476,17515,373,76702,285,568
12Jul 30, 2024 03:134,80681,193,42415,379,34302,277,376