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 listAug 11, 2024 02:01Yuriy LyfenkoYuriy LyfenkoScore: 4,384Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2024 02:014,365540,204,04811,972,0001,995,0002,535,424
2Aug 11, 2024 02:014,371534,382,58711,988,0001,998,0002,535,424
3Aug 11, 2024 02:014,376539,873,20312,925,0001,077,0002,535,424
4Aug 11, 2024 02:014,380541,657,29512,013,0002,002,0002,449,408
5Aug 11, 2024 02:014,381538,205,57612,017,0002,002,0002,535,424
6Aug 11, 2024 02:014,381535,927,16012,017,0002,002,0002,535,424
7Aug 11, 2024 02:014,384538,531,49312,025,0002,004,0002,535,424
8Aug 11, 2024 02:014,385535,835,53312,027,0002,004,0002,535,424
9Aug 11, 2024 02:014,392536,767,51612,047,0002,007,0002,453,504
10Aug 11, 2024 02:014,570580,717,26814,624,79502,207,744
11Aug 11, 2024 02:014,579572,437,82514,653,74402,203,648
12Aug 11, 2024 02:014,628578,476,81614,811,02102,338,816