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 listJan 22, 2024 11:09matsuoka-601matsuoka-601Score: 5,524Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 11:095,46942,625,36417,502,00002,535,424
2Jan 22, 2024 11:095,47837,105,01416,500,0001,031,0002,285,568
3Jan 22, 2024 11:095,48350,105,42616,512,0001,032,0002,527,232
4Jan 22, 2024 11:095,48739,137,16217,557,00002,527,232
5Jan 22, 2024 11:095,50249,272,49016,572,0001,035,0002,273,280
6Jan 22, 2024 11:095,50444,680,94916,576,0001,036,0002,285,568
7Jan 22, 2024 11:095,52444,330,88716,637,0001,039,0002,285,568
8Jan 22, 2024 11:095,58245,753,06615,878,0001,984,0002,285,568
9Jan 22, 2024 11:095,59037,504,65017,887,00002,285,568
10Jan 22, 2024 11:095,78083,975,33718,497,31502,301,952
11Jan 22, 2024 11:095,82981,870,06918,652,40902,289,664
12Jan 22, 2024 11:095,83484,203,68818,668,32902,306,048