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:30BenBenScore: 4,648Success
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:304,58333,850,07314,667,00002,387,968
2Jul 28, 2024 08:304,59931,038,36713,666,0001,051,0002,392,064
3Jul 28, 2024 08:304,61029,407,93014,751,00002,383,872
4Jul 28, 2024 08:304,63435,161,16913,840,000988,0002,265,088
5Jul 28, 2024 08:304,64741,295,36413,878,000991,0002,527,232
6Jul 28, 2024 08:304,64841,230,21213,881,000991,0002,387,968
7Jul 28, 2024 08:304,64839,752,07013,882,000991,0002,392,064
8Jul 28, 2024 08:304,64933,727,96412,893,0001,983,0002,527,232
9Jul 28, 2024 08:304,65530,354,35714,895,00002,265,088
10Jul 28, 2024 08:304,85086,165,73015,520,99402,281,472
11Jul 28, 2024 08:304,86689,214,20115,571,66402,285,568
12Jul 28, 2024 08:304,87685,533,60515,603,40802,285,568