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 listMay 24, 2021 14:36Dmitry DolgopolovDmitry DolgopolovScore: 5,592Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 14:365,57446,484,83615,855,0001,981,0002,269,184
2May 24, 2021 14:365,58246,080,50016,870,000992,0002,265,088
3May 24, 2021 14:365,58442,292,93015,883,0001,985,0002,392,064
4May 24, 2021 14:365,58748,679,40316,885,000993,0002,265,088
5May 24, 2021 14:365,58742,056,98917,879,00002,396,160
6May 24, 2021 14:365,58934,988,92817,885,00002,265,088
7May 24, 2021 14:365,59237,210,56215,905,0001,988,0002,392,064
8May 24, 2021 14:365,59942,460,50615,927,0001,990,0002,265,088
9May 24, 2021 14:365,60946,877,63716,952,000997,0002,265,088
10May 24, 2021 14:365,73782,245,02518,359,14502,277,376
11May 24, 2021 14:365,78083,412,34618,497,22302,285,568
12May 24, 2021 14:365,79664,062,48018,546,63802,281,472