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 3, 2024 19:38zielajzielajScore: 4,683Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 19:384,65837,190,21714,906,00002,379,776
2Aug 3, 2024 19:384,65834,657,24513,843,0001,064,0002,383,872
3Aug 3, 2024 19:384,66542,013,41712,937,0001,990,0002,289,664
4Aug 3, 2024 19:384,66935,599,79212,950,0001,992,0002,289,664
5Aug 3, 2024 19:384,67029,753,81912,951,0001,992,0002,400,256
6Aug 3, 2024 19:384,67833,960,09713,973,000998,0002,277,376
7Aug 3, 2024 19:384,68333,388,98712,987,0001,998,0002,269,184
8Aug 3, 2024 19:384,69334,415,06313,017,0002,002,0002,289,664
9Aug 3, 2024 19:384,71434,468,40513,074,0002,011,0002,289,664
10Aug 3, 2024 19:384,89381,222,52015,658,49102,310,144
11Aug 3, 2024 19:384,91376,916,62915,721,78202,310,144
12Aug 3, 2024 19:384,93483,218,42115,787,67602,318,336