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:42Huy Duc LeHuy Duc LeScore: 4,998Success
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:424,97241,959,09813,922,0001,988,0002,273,280
2Feb 22, 2024 13:424,97848,397,32814,936,000995,0002,273,280
3Feb 22, 2024 13:424,98241,589,25313,949,0001,992,0002,273,280
4Feb 22, 2024 13:424,98235,615,70814,946,000996,0002,289,664
5Feb 22, 2024 13:424,99337,098,74214,981,000998,0002,289,664
6Feb 22, 2024 13:424,99447,317,95913,984,0001,997,0002,269,184
7Feb 22, 2024 13:424,99846,085,61213,995,0001,999,0002,269,184
8Feb 22, 2024 13:424,99935,599,19213,997,0001,999,0002,289,664
9Feb 22, 2024 13:425,04236,676,94114,118,0002,016,0002,289,664
10Feb 22, 2024 13:425,21169,056,83916,676,54202,301,952
11Feb 22, 2024 13:425,21279,235,15916,677,41002,174,976
12Feb 22, 2024 13:425,229104,561,92816,732,10402,174,976