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 11, 2024 16:06Drew GarciaDrew GarciaScore: 5,375Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 11, 2024 16:065,33044,185,67816,052,0001,003,0002,281,472
2Apr 11, 2024 16:065,34540,662,73216,098,0001,006,0002,277,376
3Apr 11, 2024 16:065,34644,255,06715,095,0002,012,0002,281,472
4Apr 11, 2024 16:065,35344,947,94516,121,0001,007,0002,281,472
5Apr 11, 2024 16:065,36438,644,07813,127,0004,039,0002,281,472
6Apr 11, 2024 16:065,37340,072,02415,171,0002,022,0002,281,472
7Apr 11, 2024 16:065,37540,825,09116,188,0001,011,0002,281,472
8Apr 11, 2024 16:065,38844,333,14115,214,0002,028,0002,273,280
9Apr 11, 2024 16:065,40038,677,37616,265,0001,016,0002,281,472
10Apr 11, 2024 16:065,57965,963,17217,853,79002,183,168
11Apr 11, 2024 16:065,59661,547,18217,906,95902,187,264
12Apr 11, 2024 16:065,61388,178,61517,961,62402,191,360