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 listSep 7, 2022 02:48Yuriy LyfenkoYuriy LyfenkoScore: 4,437Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 02:484,410445,413,57613,104,0001,008,0002,523,136
2Sep 7, 2022 02:484,415444,573,86712,109,0002,018,0002,260,992
3Sep 7, 2022 02:484,423445,875,88712,131,0002,021,0002,387,968
4Sep 7, 2022 02:484,425443,835,01913,150,0001,011,0002,260,992
5Sep 7, 2022 02:484,429439,587,84414,172,00002,527,232
6Sep 7, 2022 02:484,433446,128,76613,174,0001,013,0002,523,136
7Sep 7, 2022 02:484,437440,207,48214,199,00002,523,136
8Sep 7, 2022 02:484,447439,695,16713,214,0001,016,0002,523,136
9Sep 7, 2022 02:484,448435,634,99613,216,0001,016,0002,523,136
10Sep 7, 2022 02:484,605465,644,03714,734,71202,244,608
11Sep 7, 2022 02:484,615466,815,22114,769,26702,244,608
12Sep 7, 2022 02:484,626469,443,71614,804,62502,277,376