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 listAug 6, 2024 15:14BenBenScore: 4,968Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2024 15:144,89431,005,35915,661,00002,535,424
2Aug 6, 2024 15:144,90233,001,35515,685,00002,535,424
3Aug 6, 2024 15:144,90336,138,49515,691,00002,494,464
4Aug 6, 2024 15:144,90842,528,62915,707,00002,277,376
5Aug 6, 2024 15:144,96340,680,31415,880,00002,277,376
6Aug 6, 2024 15:144,96340,090,06614,889,000992,0002,277,376
7Aug 6, 2024 15:144,96844,845,07314,904,000993,0002,486,272
8Aug 6, 2024 15:144,97828,231,15914,933,000995,0002,277,376
9Aug 6, 2024 15:144,98029,751,10614,941,000996,0002,494,464
10Aug 6, 2024 15:145,17459,910,32716,557,39202,260,992
11Aug 6, 2024 15:145,17859,506,71316,569,33502,236,416
12Aug 6, 2024 15:145,22978,720,81016,732,05802,240,512