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 listJul 6, 2021 00:21Yuriy LyfenkoYuriy LyfenkoScore: 5,314Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 00:215,27742,658,35515,893,000993,0002,396,160
2Jul 6, 2021 00:215,27943,799,62215,900,000993,0002,396,160
3Jul 6, 2021 00:215,28343,853,15614,916,0001,988,0002,265,088
4Jul 6, 2021 00:215,29636,586,68714,954,0001,993,0002,383,872
5Jul 6, 2021 00:215,29834,740,85914,958,0001,994,0002,265,088
6Jul 6, 2021 00:215,29841,612,11214,958,0001,994,0002,392,064
7Jul 6, 2021 00:215,31432,738,72415,006,0002,000,0002,265,088
8Jul 6, 2021 00:215,32844,675,27115,043,0002,005,0002,527,232
9Jul 6, 2021 00:215,33647,088,18416,070,0001,004,0002,506,752
10Jul 6, 2021 00:215,46583,054,86517,487,81102,277,376
11Jul 6, 2021 00:215,48373,801,86617,544,77902,277,376
12Jul 6, 2021 00:215,50888,519,01217,625,65102,273,280