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 2, 2024 13:09mgildermgilderScore: 5,746Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2024 13:095,72447,317,48716,283,0002,035,0002,367,488
2Aug 2, 2024 13:095,72648,031,03216,288,0002,036,0002,535,424
3Aug 2, 2024 13:095,72746,276,28916,290,0002,036,0002,351,104
4Aug 2, 2024 13:095,73638,355,63517,337,0001,019,0002,351,104
5Aug 2, 2024 13:095,74341,827,28518,377,00002,523,136
6Aug 2, 2024 13:095,74347,290,00418,378,00002,363,392
7Aug 2, 2024 13:095,74644,959,62916,344,0002,043,0002,351,104
8Aug 2, 2024 13:095,76841,576,62218,456,00002,527,232
9Aug 2, 2024 13:095,76945,182,46717,435,0001,025,0002,351,104
10Aug 2, 2024 13:095,999102,134,57019,197,87202,207,744
11Aug 2, 2024 13:096,01190,853,89019,236,08902,215,936
12Aug 2, 2024 13:096,05196,452,22619,362,13002,211,840