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 16, 2024 15:24vahookvahookScore: 4,367Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 16, 2024 15:244,34530,007,56513,903,00002,273,280
2Aug 16, 2024 15:244,34930,865,60112,923,000994,0002,498,560
3Aug 16, 2024 15:244,35233,549,50812,932,000994,0002,498,560
4Aug 16, 2024 15:244,35331,760,19713,928,00002,277,376
5Aug 16, 2024 15:244,35831,649,41512,948,000996,0002,277,376
6Aug 16, 2024 15:244,35936,095,47712,952,000996,0002,494,464
7Aug 16, 2024 15:244,36730,062,57212,976,000998,0002,277,376
8Aug 16, 2024 15:244,37836,167,98013,009,0001,000,0002,277,376
9Aug 16, 2024 15:244,38131,624,24813,019,0001,001,0002,535,424
10Aug 16, 2024 15:244,63177,717,82914,817,76402,367,488
11Aug 16, 2024 15:244,63879,767,25614,841,44302,371,584
12Aug 16, 2024 15:244,64290,243,97214,855,84502,240,512