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:00Huy Duc LeHuy Duc LeScore: 5,008Success
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:004,96932,700,29313,914,0001,987,0002,293,760
2Feb 22, 2024 13:004,97342,528,96314,854,0001,061,0002,269,184
3Feb 22, 2024 13:004,98342,583,66813,952,0001,993,0002,293,760
4Feb 22, 2024 13:004,98835,309,28613,966,0001,995,0002,289,664
5Feb 22, 2024 13:004,98838,906,89913,966,0001,995,0002,269,184
6Feb 22, 2024 13:004,99856,001,18213,995,0001,999,0002,293,760
7Feb 22, 2024 13:005,00833,842,87214,021,0002,003,0002,293,760
8Feb 22, 2024 13:005,01737,529,18715,051,0001,003,0002,293,760
9Feb 22, 2024 13:005,02038,437,78714,056,0002,008,0002,523,136
10Feb 22, 2024 13:005,19888,104,03216,634,69702,297,856
11Feb 22, 2024 13:005,23294,461,70916,743,67902,301,952
12Feb 22, 2024 13:005,23393,972,21916,745,50102,310,144