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:40BenBenScore: 4,650Success
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:404,64434,846,11512,879,0001,981,0002,265,088
2Jul 28, 2024 08:404,64844,813,60312,889,0001,983,0002,265,088
3Jul 28, 2024 08:404,64828,521,88413,882,000991,0002,527,232
4Jul 28, 2024 08:404,64831,154,21212,892,0001,983,0002,392,064
5Jul 28, 2024 08:404,64938,308,64513,886,000991,0002,265,088
6Jul 28, 2024 08:404,65030,992,35512,896,0001,984,0002,392,064
7Jul 28, 2024 08:404,65037,799,34613,888,000992,0002,265,088
8Jul 28, 2024 08:404,65131,842,26313,892,000992,0002,510,848
9Jul 28, 2024 08:404,67034,326,37413,948,000996,0002,392,064
10Jul 28, 2024 08:404,86881,174,22115,576,84902,281,472
11Jul 28, 2024 08:404,88784,019,17115,638,82902,273,280
12Jul 28, 2024 08:404,91191,844,20815,714,74102,285,568