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 10, 2023 09:27parsersmailparsersmailScore: 5,828Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2023 09:275,77442,352,07018,477,00002,347,008
2Aug 10, 2023 09:275,79638,237,18117,516,0001,030,0002,347,008
3Aug 10, 2023 09:275,79936,006,11818,558,00002,461,696
4Aug 10, 2023 09:275,80842,378,12317,554,0001,032,0002,347,008
5Aug 10, 2023 09:275,81144,248,46717,562,0001,033,0002,347,008
6Aug 10, 2023 09:275,81235,311,06917,564,0001,033,0002,347,008
7Aug 10, 2023 09:275,82844,205,64618,651,00002,347,008
8Aug 10, 2023 09:275,83277,665,94918,661,22902,293,760
9Aug 10, 2023 09:275,84947,498,73917,678,0001,039,0002,347,008
10Aug 10, 2023 09:275,90147,748,88916,897,0001,987,0002,347,008
11Aug 10, 2023 09:275,91196,065,93618,915,40902,289,664
12Aug 10, 2023 09:275,99777,927,56519,190,23902,301,952