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 10:38Matt StuchlikMatt StuchlikScore: 4,988Success
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 10:384,95834,405,33713,881,0001,983,0002,289,664
2Jul 20, 2024 10:384,95832,384,42713,883,0001,983,0002,273,280
3Jul 20, 2024 10:384,95939,330,36813,885,0001,983,0002,289,664
4Jul 20, 2024 10:384,96150,570,29813,892,0001,984,0002,523,136
5Jul 20, 2024 10:384,96243,684,48014,886,000992,0002,269,184
6Jul 20, 2024 10:384,96347,061,72614,888,000992,0002,289,664
7Jul 20, 2024 10:384,98836,767,26513,966,0001,995,0002,265,088
8Jul 20, 2024 10:384,98932,842,23713,971,0001,995,0002,273,280
9Jul 20, 2024 10:385,00641,162,18814,017,0002,002,0002,523,136
10Jul 20, 2024 10:385,22083,157,51816,703,84702,285,568
11Jul 20, 2024 10:385,23658,229,01516,755,15402,293,760
12Jul 20, 2024 10:385,28479,512,78116,910,08702,293,760