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 21:44zielajzielajScore: 4,198Success
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 21:444,15730,624,14613,303,00002,531,328
2Aug 16, 2024 21:444,15834,583,13013,306,00002,269,184
3Aug 16, 2024 21:444,16030,717,19913,313,00002,498,560
4Aug 16, 2024 21:444,16438,833,32513,325,00002,269,184
5Aug 16, 2024 21:444,16428,890,05913,325,00002,498,560
6Aug 16, 2024 21:444,18029,302,62313,376,00002,486,272
7Aug 16, 2024 21:444,19834,434,53013,432,00002,269,184
8Aug 16, 2024 21:444,19930,074,31613,436,00002,502,656
9Aug 16, 2024 21:444,21134,384,82212,438,0001,036,0002,494,464
10Aug 16, 2024 21:444,44591,741,40814,224,57102,240,512
11Aug 16, 2024 21:444,45385,241,56214,248,47702,244,608
12Aug 16, 2024 21:444,47182,686,43314,305,77302,236,416