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 24, 2021 18:32Yuriy LyfenkoYuriy LyfenkoScore: 5,148Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:325,10639,494,52816,340,00002,387,968
2May 24, 2021 18:325,11536,647,82416,368,00002,265,088
3May 24, 2021 18:325,12342,446,40816,392,00002,387,968
4May 24, 2021 18:325,12744,880,82715,380,0001,025,0002,400,256
5May 24, 2021 18:325,12836,960,77515,386,0001,025,0002,383,872
6May 24, 2021 18:325,13137,262,08216,420,00002,265,088
7May 24, 2021 18:325,14843,372,35115,443,0001,029,0002,265,088
8May 24, 2021 18:325,15935,220,72715,478,0001,031,0002,265,088
9May 24, 2021 18:325,16433,148,40215,494,0001,032,0002,383,872
10May 24, 2021 18:325,29360,393,86716,937,40702,277,376
11May 24, 2021 18:325,36599,245,39117,168,31102,273,280
12May 24, 2021 18:325,61971,954,03217,980,95602,265,088