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:16Yuriy LyfenkoYuriy LyfenkoScore: 5,309Success
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:165,27241,483,81015,877,000992,0002,265,088
2Jul 6, 2021 00:165,27848,427,41115,898,000993,0002,265,088
3Jul 6, 2021 00:165,28441,875,52614,920,0001,989,0002,510,848
4Jul 6, 2021 00:165,28734,389,97216,918,00002,396,160
5Jul 6, 2021 00:165,29341,532,91914,944,0001,992,0002,392,064
6Jul 6, 2021 00:165,29934,406,14415,961,000997,0002,265,088
7Jul 6, 2021 00:165,30941,372,29614,992,0001,998,0002,265,088
8Jul 6, 2021 00:165,32838,453,01315,043,0002,005,0002,265,088
9Jul 6, 2021 00:165,33542,333,72715,063,0002,008,0002,383,872
10Jul 6, 2021 00:165,47396,883,74017,513,68902,240,512
11Jul 6, 2021 00:165,47975,345,25017,532,02302,269,184
12Jul 6, 2021 00:165,496108,427,99417,586,49202,277,376