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 listJul 6, 2021 00:28Yuriy LyfenkoYuriy LyfenkoScore: 5,092Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 00:285,0281,043,323,05614,078,0002,011,0002,265,088
2Jul 6, 2021 00:285,0291,040,732,13914,083,0002,011,0002,527,232
3Jul 6, 2021 00:285,0431,045,767,07614,120,0002,017,0002,265,088
4Jul 6, 2021 00:285,0551,039,923,00314,155,0002,022,0002,260,992
5Jul 6, 2021 00:285,0591,039,336,97415,177,0001,011,0002,523,136
6Jul 6, 2021 00:285,0731,040,547,38115,219,0001,014,0002,265,088
7Jul 6, 2021 00:285,0921,036,129,96016,293,00002,523,136
8Jul 6, 2021 00:285,1141,039,201,13415,343,0001,022,0002,265,088
9Jul 6, 2021 00:285,1181,047,138,48615,353,0001,023,0002,523,136
10Jul 6, 2021 00:285,2021,070,262,41516,645,88702,277,376
11Jul 6, 2021 00:285,2281,068,196,27016,730,07802,277,376
12Jul 6, 2021 00:285,2511,073,812,20116,804,12302,277,376