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:04Drew 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:045,34345,903,14015,085,0002,011,0002,281,472
2Apr 10, 2024 17:045,34339,605,17615,087,0002,011,0002,289,664
3Apr 10, 2024 17:045,34341,701,68216,094,0001,005,0002,281,472
4Apr 10, 2024 17:045,34545,586,31415,092,0002,012,0002,281,472
5Apr 10, 2024 17:045,34945,525,88915,103,0002,013,0002,277,376
6Apr 10, 2024 17:045,35439,883,55415,117,0002,015,0002,281,472
7Apr 10, 2024 17:045,36343,410,02615,143,0002,019,0002,281,472
8Apr 10, 2024 17:045,37834,020,61015,184,0002,024,0002,281,472
9Apr 10, 2024 17:045,38339,864,93114,186,0003,040,0002,281,472
10Apr 10, 2024 17:045,56486,707,18517,804,97502,179,072
11Apr 10, 2024 17:045,59673,350,06617,905,74302,179,072
12Apr 10, 2024 17:045,62295,220,80717,989,75602,183,168