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 1, 2024 13:23Drew GarciaDrew GarciaScore: 5,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 1, 2024 13:235,61146,551,86414,964,0002,992,0002,281,472
2Apr 1, 2024 13:235,61545,882,07716,970,000998,0002,281,472
3Apr 1, 2024 13:235,61545,456,89216,971,000998,0002,277,376
4Apr 1, 2024 13:235,61842,162,15614,983,0002,996,0002,273,280
5Apr 1, 2024 13:235,62740,566,67717,007,0001,000,0002,539,520
6Apr 1, 2024 13:235,64147,634,63415,043,0003,008,0002,289,664
7Apr 1, 2024 13:235,64843,921,50616,065,0002,008,0002,379,776
8Apr 1, 2024 13:235,65146,074,82416,075,0002,009,0002,281,472
9Apr 1, 2024 13:235,66444,045,47217,118,0001,006,0002,281,472
10Apr 1, 2024 13:235,94185,868,90619,012,28802,301,952
11Apr 1, 2024 13:235,94991,445,19519,038,33602,293,760
12Apr 1, 2024 13:235,98080,756,16119,137,18902,174,976