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 28, 2023 17:54Ilya AniskovetsIlya AniskovetsScore: 5,284Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 28, 2023 17:545,27544,696,77116,879,00002,265,088
2Aug 28, 2023 17:545,27640,136,96915,891,000993,0002,387,968
3Aug 28, 2023 17:545,27734,725,09316,886,00002,383,872
4Aug 28, 2023 17:545,27745,637,54514,900,0001,986,0002,387,968
5Aug 28, 2023 17:545,28044,821,43914,908,0001,987,0002,379,776
6Aug 28, 2023 17:545,28142,517,76314,910,0001,988,0002,392,064
7Aug 28, 2023 17:545,28435,359,22614,921,0001,989,0002,269,184
8Aug 28, 2023 17:545,28843,087,10715,864,0001,057,0002,527,232
9Aug 28, 2023 17:545,29744,001,27115,953,000997,0002,383,872
10Aug 28, 2023 17:545,49487,432,19817,581,71002,289,664
11Aug 28, 2023 17:545,51088,846,56617,631,99102,289,664
12Aug 28, 2023 17:545,51989,819,23617,661,22002,281,472