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 listApr 10, 2024 17:06Drew GarciaDrew GarciaScore: 5,363Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 17:065,32942,073,92716,049,0001,003,0002,281,472
2Apr 10, 2024 17:065,33345,011,34215,059,0002,007,0002,281,472
3Apr 10, 2024 17:065,33840,344,52015,074,0002,009,0002,281,472
4Apr 10, 2024 17:065,34742,862,57114,090,0003,019,0002,281,472
5Apr 10, 2024 17:065,35133,790,99115,110,0002,014,0002,281,472
6Apr 10, 2024 17:065,35643,158,51914,115,0003,024,0002,281,472
7Apr 10, 2024 17:065,36335,244,68614,135,0003,028,0002,281,472
8Apr 10, 2024 17:065,36438,015,17614,135,0003,029,0002,281,472
9Apr 10, 2024 17:065,36935,975,87414,149,0003,031,0002,281,472
10Apr 10, 2024 17:065,58196,869,91817,860,60402,183,168
11Apr 10, 2024 17:065,58260,793,25217,863,31702,301,952
12Apr 10, 2024 17:065,60877,274,49317,944,43802,179,072