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 listMay 16, 2021 13:32Yuriy LyfenkoYuriy LyfenkoScore: 5,469Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 13:325,43537,635,80317,392,00002,392,064
2May 16, 2021 13:325,44638,586,51216,401,0001,025,0002,396,160
3May 16, 2021 13:325,45240,841,22615,395,0002,052,0002,523,136
4May 16, 2021 13:325,45337,284,20917,450,00002,371,584
5May 16, 2021 13:325,45440,145,35617,452,00002,519,040
6May 16, 2021 13:325,46744,478,52515,435,0002,058,0002,383,872
7May 16, 2021 13:325,46940,517,99215,443,0002,059,0002,519,040
8May 16, 2021 13:325,48037,581,13215,474,0002,063,0002,392,064
9May 16, 2021 13:325,48336,813,53817,547,00002,519,040
10May 16, 2021 13:325,69278,954,88218,214,45602,281,472
11May 16, 2021 13:325,70992,384,31018,270,15902,281,472
12May 16, 2021 13:325,71385,873,72218,280,04802,277,376