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 listOct 20, 2024 10:48Sybrand AarnoutseSybrand AarnoutseScore: 5,580Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 20, 2024 10:485,52244,707,66616,631,0001,039,0002,281,472
2Oct 20, 2024 10:485,53036,088,93816,656,0001,041,0002,289,664
3Oct 20, 2024 10:485,53545,973,59417,712,00002,269,184
4Oct 20, 2024 10:485,54050,601,41416,687,0001,042,0002,289,664
5Oct 20, 2024 10:485,58043,030,91715,873,0001,984,0002,531,328
6Oct 20, 2024 10:485,58244,491,24415,878,0001,984,0002,269,184
7Oct 20, 2024 10:485,58738,326,51715,892,0001,986,0002,269,184
8Oct 20, 2024 10:485,58844,123,35716,889,000993,0002,289,664
9Oct 20, 2024 10:485,59138,207,66915,904,0001,988,0002,535,424