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:17Yuriy LyfenkoYuriy LyfenkoScore: 5,288Success
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:175,26842,878,18114,876,0001,983,0002,392,064
2Jul 6, 2021 00:175,27447,303,21814,891,0001,985,0002,265,088
3Jul 6, 2021 00:175,27432,854,71014,892,0001,985,0002,396,160
4Jul 6, 2021 00:175,27636,196,70014,898,0001,986,0002,265,088
5Jul 6, 2021 00:175,28042,076,19015,903,000993,0002,265,088
6Jul 6, 2021 00:175,28340,281,60214,918,0001,989,0002,392,064
7Jul 6, 2021 00:175,28843,509,99514,930,0001,990,0002,392,064
8Jul 6, 2021 00:175,29837,985,12715,955,000997,0002,265,088
9Jul 6, 2021 00:175,30034,122,01815,964,000997,0002,269,184
10Jul 6, 2021 00:175,46475,842,38517,484,59702,269,184
11Jul 6, 2021 00:175,46580,882,24817,486,81602,281,472
12Jul 6, 2021 00:175,49385,707,27417,576,42302,281,472