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:43BenBenScore: 4,651Success
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:434,60131,286,12213,673,0001,051,0002,396,160
2Jul 28, 2024 08:434,60233,115,99414,726,00002,265,088
3Jul 28, 2024 08:434,64542,708,05912,883,0001,982,0002,392,064
4Jul 28, 2024 08:434,64834,901,31412,891,0001,983,0002,265,088
5Jul 28, 2024 08:434,65032,967,22713,888,000992,0002,375,680
6Jul 28, 2024 08:434,65139,909,13213,891,000992,0002,383,872
7Jul 28, 2024 08:434,65132,267,90112,900,0001,984,0002,392,064
8Jul 28, 2024 08:434,65437,164,56413,900,000992,0002,265,088
9Jul 28, 2024 08:434,65536,206,18413,903,000993,0002,265,088
10Jul 28, 2024 08:434,78990,158,86915,323,25402,277,376
11Jul 28, 2024 08:434,80368,645,73215,369,28902,285,568
12Jul 28, 2024 08:434,84167,002,88515,491,75502,285,568