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 listFeb 22, 2024 13:01Huy Duc LeHuy Duc LeScore: 4,982Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:014,95038,344,93015,841,00002,269,184
2Feb 22, 2024 13:014,95534,205,67413,874,0001,982,0002,293,760
3Feb 22, 2024 13:014,96238,430,27113,893,0001,984,0002,293,760
4Feb 22, 2024 13:014,96236,626,18313,894,0001,984,0002,293,760
5Feb 22, 2024 13:014,96641,538,15115,890,00002,293,760
6Feb 22, 2024 13:014,96840,424,27613,909,0001,987,0002,293,760
7Feb 22, 2024 13:014,98238,197,81613,950,0001,992,0002,371,584
8Feb 22, 2024 13:014,98339,320,36313,951,0001,993,0002,269,184
9Feb 22, 2024 13:015,00636,765,38614,018,0002,002,0002,269,184
10Feb 22, 2024 13:015,17781,848,50716,566,65202,179,072
11Feb 22, 2024 13:015,204110,322,30516,653,84902,297,856
12Feb 22, 2024 13:015,35295,937,72617,125,22902,297,856