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 20:56zielajzielajScore: 4,283Success
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 20:564,26829,661,97012,608,0001,050,0002,453,504
2Aug 11, 2024 20:564,27135,032,41113,666,00002,441,216
3Aug 11, 2024 20:564,27429,916,81412,625,0001,052,0002,445,312
4Aug 11, 2024 20:564,27530,686,22812,627,0001,052,0002,535,424
5Aug 11, 2024 20:564,27544,921,71312,629,0001,052,0002,449,408
6Aug 11, 2024 20:564,27940,009,55112,640,0001,053,0002,445,312
7Aug 11, 2024 20:564,28340,685,70313,704,00002,445,312
8Aug 11, 2024 20:564,28541,992,53212,659,0001,054,0002,453,504
9Aug 11, 2024 20:564,33528,218,00812,882,000990,0002,535,424
10Aug 11, 2024 20:564,54579,825,36314,545,38802,338,816
11Aug 11, 2024 20:564,54985,343,00314,558,30602,203,648
12Aug 11, 2024 20:564,55578,525,57014,577,34302,203,648