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:23vahookvahookScore: 4,370Success
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:234,35031,208,54713,920,00002,494,464
2Aug 16, 2024 15:234,35135,614,21712,930,000994,0002,498,560
3Aug 16, 2024 15:234,35828,311,85512,950,000996,0002,277,376
4Aug 16, 2024 15:234,36330,359,72712,963,000997,0002,498,560
5Aug 16, 2024 15:234,36337,638,82512,966,000997,0002,498,560
6Aug 16, 2024 15:234,36733,238,23812,975,000998,0002,539,520
7Aug 16, 2024 15:234,37029,271,54412,985,000998,0002,498,560
8Aug 16, 2024 15:234,37628,188,78813,003,0001,000,0002,277,376
9Aug 16, 2024 15:234,38131,214,73613,018,0001,001,0002,273,280
10Aug 16, 2024 15:234,64279,421,90914,853,78902,244,608
11Aug 16, 2024 15:234,64387,755,09114,858,65402,244,608
12Aug 16, 2024 15:234,64481,930,78614,862,10902,244,608