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 19, 2024 08:00Huy Duc LeHuy Duc LeScore: 5,508Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 19, 2024 08:005,48038,595,67116,504,0001,031,0002,293,760
2Feb 19, 2024 08:005,49946,750,23816,561,0001,035,0002,293,760
3Feb 19, 2024 08:005,50139,940,25616,567,0001,035,0002,293,760
4Feb 19, 2024 08:005,50332,974,82616,575,0001,035,0002,293,760
5Feb 19, 2024 08:005,50643,288,16516,582,0001,036,0002,293,760
6Feb 19, 2024 08:005,50744,987,26916,585,0001,036,0002,293,760
7Feb 19, 2024 08:005,50844,656,52817,624,00002,531,328
8Feb 19, 2024 08:005,50949,739,33416,593,0001,037,0002,269,184
9Feb 19, 2024 08:005,51550,615,46617,647,00002,293,760
10Feb 19, 2024 08:005,67494,706,51018,156,29402,301,952
11Feb 19, 2024 08:005,70181,177,31518,244,32902,297,856
12Feb 19, 2024 08:005,70299,303,29518,247,15302,285,568