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:49Yuriy LyfenkoYuriy LyfenkoScore: 5,275Success
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:495,22741,580,20515,681,0001,045,0002,387,968
2May 24, 2021 18:495,23045,142,73916,735,00002,392,064
3May 24, 2021 18:495,27039,123,98615,872,000992,0002,527,232
4May 24, 2021 18:495,27136,139,03414,884,0001,984,0002,396,160
5May 24, 2021 18:495,27133,815,39714,884,0001,984,0002,265,088
6May 24, 2021 18:495,27336,591,96114,889,0001,985,0002,383,872
7May 24, 2021 18:495,27533,649,08615,888,000993,0002,265,088
8May 24, 2021 18:495,27641,751,10315,891,000993,0002,265,088
9May 24, 2021 18:495,29639,661,02714,954,0001,993,0002,396,160
10May 24, 2021 18:495,43567,861,51217,393,19002,281,472
11May 24, 2021 18:495,44077,585,45117,406,45002,281,472
12May 24, 2021 18:495,45547,830,08617,455,50602,277,376