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:17Yuriy LyfenkoYuriy LyfenkoScore: 4,454Success
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:174,404540,660,21613,088,0001,006,0002,265,088
2Sep 7, 2022 02:174,418537,615,39412,118,0002,019,0002,400,256
3Sep 7, 2022 02:174,438536,398,56014,201,00002,265,088
4Sep 7, 2022 02:174,450540,420,96513,224,0001,017,0002,265,088
5Sep 7, 2022 02:174,451536,039,95614,242,00002,260,992
6Sep 7, 2022 02:174,451548,164,82113,227,0001,017,0002,523,136
7Sep 7, 2022 02:174,454538,256,17113,234,0001,018,0002,265,088
8Sep 7, 2022 02:174,463541,061,65912,241,0002,040,0002,396,160
9Sep 7, 2022 02:174,464544,194,11313,264,0001,020,0002,523,136
10Sep 7, 2022 02:174,616569,173,88414,771,44202,240,512
11Sep 7, 2022 02:174,624571,453,75514,795,21602,240,512
12Sep 7, 2022 02:174,634575,379,64614,829,12502,285,568