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:25parsersmailparsersmailScore: 5,829Success
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:255,78240,517,75418,501,00002,347,008
2Aug 10, 2023 09:255,79037,384,90817,500,0001,029,0002,334,720
3Aug 10, 2023 09:255,79342,353,96618,536,00002,347,008
4Aug 10, 2023 09:255,80435,698,52518,574,00002,326,528
5Aug 10, 2023 09:255,80441,998,47018,574,00002,334,720
6Aug 10, 2023 09:255,82546,098,48216,570,0002,071,0002,330,624
7Aug 10, 2023 09:255,82945,161,57918,652,00002,347,008
8Aug 10, 2023 09:255,83152,937,25817,624,0001,036,0002,347,008
9Aug 10, 2023 09:255,84538,254,91518,705,00002,322,432
10Aug 10, 2023 09:255,89283,953,88518,852,83902,285,568
11Aug 10, 2023 09:255,89979,497,96718,876,61902,285,568
12Aug 10, 2023 09:256,02290,769,89819,271,12802,293,760