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 27, 2024 16:16Matt StuchlikMatt StuchlikScore: 4,663Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 16:164,64834,728,48412,891,0001,983,0002,433,024
2Jul 27, 2024 16:164,65035,286,67913,889,000992,0002,273,280
3Jul 27, 2024 16:164,65143,321,87814,883,00002,433,024
4Jul 27, 2024 16:164,65141,746,22313,892,000992,0002,428,928
5Jul 27, 2024 16:164,65237,228,67013,893,000992,0002,420,736
6Jul 27, 2024 16:164,65936,514,26713,915,000993,0002,273,280
7Jul 27, 2024 16:164,66330,046,38512,933,0001,989,0002,514,944
8Jul 27, 2024 16:164,66636,240,07413,936,000995,0002,428,928
9Jul 27, 2024 16:164,66831,936,08712,947,0001,991,0002,514,944
10Jul 27, 2024 16:164,88378,916,10215,625,49302,179,072
11Jul 27, 2024 16:164,91785,692,27515,735,01702,191,360
12Jul 27, 2024 16:164,91989,125,80615,739,57702,187,264