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 16, 2024 15:17vahookvahookScore: 4,350Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 16, 2024 15:174,33436,089,68413,868,00002,277,376
2Aug 16, 2024 15:174,33531,471,95712,881,000990,0002,277,376
3Aug 16, 2024 15:174,33536,030,05513,871,00002,277,376
4Aug 16, 2024 15:174,33633,496,80312,883,000991,0002,502,656
5Aug 16, 2024 15:174,33827,543,72812,890,000991,0002,498,560
6Aug 16, 2024 15:174,34031,841,60012,897,000992,0002,277,376
7Aug 16, 2024 15:174,35034,531,82812,925,000994,0002,498,560
8Aug 16, 2024 15:174,35029,544,96712,927,000994,0002,535,424
9Aug 16, 2024 15:174,35828,288,67312,951,000996,0002,498,560
10Aug 16, 2024 15:174,59186,251,81614,692,62702,236,416
11Aug 16, 2024 15:174,61093,053,93414,751,27302,240,512
12Aug 16, 2024 15:174,63655,313,41214,836,42102,248,704