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 03:11Yuriy LyfenkoYuriy LyfenkoScore: 4,563Success
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 03:114,537540,489,12313,481,0001,037,0002,519,040
2Sep 7, 2022 03:114,540541,791,04813,491,0001,037,0002,523,136
3Sep 7, 2022 03:114,541541,052,88313,493,0001,037,0002,523,136
4Sep 7, 2022 03:114,552541,200,53914,566,00002,519,040
5Sep 7, 2022 03:114,554541,627,52414,572,00002,260,992
6Sep 7, 2022 03:114,561541,562,87013,552,0001,042,0002,519,040
7Sep 7, 2022 03:114,563539,771,66014,603,00002,523,136
8Sep 7, 2022 03:114,572539,263,01612,541,0002,090,0002,519,040
9Sep 7, 2022 03:114,574549,257,78012,547,0002,091,0002,527,232
10Sep 7, 2022 03:114,729573,602,24215,131,32302,281,472
11Sep 7, 2022 03:114,737582,804,13015,159,29502,285,568
12Sep 7, 2022 03:114,751574,921,41915,203,72702,277,376