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:59BenBenScore: 4,554Success
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:594,52935,491,73513,457,0001,035,0002,387,968
2Jul 28, 2024 08:594,53429,940,55213,473,0001,036,0002,392,064
3Jul 28, 2024 08:594,53432,004,96514,510,00002,265,088
4Jul 28, 2024 08:594,54935,093,39313,518,0001,039,0002,383,872
5Jul 28, 2024 08:594,55134,748,25914,562,00002,527,232
6Jul 28, 2024 08:594,55232,227,06013,526,0001,040,0002,387,968
7Jul 28, 2024 08:594,55433,447,16813,532,0001,040,0002,265,088
8Jul 28, 2024 08:594,56835,431,53914,616,00002,387,968
9Jul 28, 2024 08:594,56943,802,20314,621,00002,265,088
10Jul 28, 2024 08:594,78982,898,00015,325,36302,244,608
11Jul 28, 2024 08:594,79890,465,53415,353,30202,285,568
12Jul 28, 2024 08:594,80474,221,89215,372,40902,269,184