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 20, 2024 12:28Matt StuchlikMatt StuchlikScore: 4,971Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 12:284,95839,097,01013,884,0001,983,0002,289,664
2Jul 20, 2024 12:284,95833,488,53614,876,000991,0002,273,280
3Jul 20, 2024 12:284,96032,921,56413,888,0001,984,0002,281,472
4Jul 20, 2024 12:284,96041,631,70814,881,000992,0002,289,664
5Jul 20, 2024 12:284,96432,844,25814,893,000992,0002,527,232
6Jul 20, 2024 12:284,96439,250,07813,901,0001,985,0002,269,184
7Jul 20, 2024 12:284,97134,001,97013,920,0001,988,0002,265,088
8Jul 20, 2024 12:284,98334,988,75913,953,0001,993,0002,285,568
9Jul 20, 2024 12:284,99142,301,70613,975,0001,996,0002,277,376
10Jul 20, 2024 12:285,21364,109,50316,680,39402,289,664
11Jul 20, 2024 12:285,21579,884,61016,686,63502,293,760
12Jul 20, 2024 12:285,24389,102,86916,777,27902,293,760