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:19BenBenScore: 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 30, 2024 03:194,63831,776,39912,864,0001,979,0002,392,064
2Jul 30, 2024 03:194,64432,063,40513,872,000990,0002,392,064
3Jul 30, 2024 03:194,64730,892,54312,887,0001,982,0002,387,968
4Jul 30, 2024 03:194,64940,649,25712,893,0001,983,0002,265,088
5Jul 30, 2024 03:194,64937,189,70813,885,000991,0002,265,088
6Jul 30, 2024 03:194,64934,180,94812,895,0001,983,0002,527,232
7Jul 30, 2024 03:194,65134,031,17812,899,0001,984,0002,265,088
8Jul 30, 2024 03:194,65532,262,35413,904,000993,0002,265,088
9Jul 30, 2024 03:194,67532,267,41313,962,000997,0002,265,088
10Jul 30, 2024 03:194,83981,811,22315,485,06602,277,376
11Jul 30, 2024 03:194,84090,963,16115,486,57402,285,568
12Jul 30, 2024 03:194,85284,342,91115,525,96702,289,664