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 12:34Huy Duc LeHuy Duc LeScore: 5,497Success
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 12:345,46741,022,47916,466,0001,029,0002,293,760
2Feb 22, 2024 12:345,47034,405,92717,504,00002,293,760
3Feb 22, 2024 12:345,47643,837,89816,494,0001,030,0002,293,760
4Feb 22, 2024 12:345,47740,509,36516,495,0001,030,0002,293,760
5Feb 22, 2024 12:345,47836,877,55616,500,0001,031,0002,273,280
6Feb 22, 2024 12:345,49137,134,05516,538,0001,033,0002,293,760
7Feb 22, 2024 12:345,49745,061,40517,589,00002,293,760
8Feb 22, 2024 12:345,51143,905,76217,636,00002,527,232
9Feb 22, 2024 12:345,54743,364,91516,706,0001,044,0002,367,488
10Feb 22, 2024 12:345,69790,879,83318,230,35102,301,952
11Feb 22, 2024 12:345,69965,726,14218,236,27702,297,856
12Feb 22, 2024 12:345,74499,259,72818,380,00002,301,952