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 8, 2021 00:04Yuriy LyfenkoYuriy LyfenkoScore: 5,328Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 00:045,30743,349,80314,984,0001,997,0002,473,984
2Jul 8, 2021 00:045,31446,352,98915,005,0002,000,0002,396,160
3Jul 8, 2021 00:045,31544,087,75215,007,0002,000,0002,265,088
4Jul 8, 2021 00:045,31943,853,47316,019,0001,001,0002,265,088
5Jul 8, 2021 00:045,32045,132,56615,022,0002,003,0002,265,088
6Jul 8, 2021 00:045,32239,944,18715,027,0002,003,0002,265,088
7Jul 8, 2021 00:045,32837,336,29416,048,0001,003,0002,396,160
8Jul 8, 2021 00:045,33643,558,27615,066,0002,008,0002,265,088
9Jul 8, 2021 00:045,34942,410,80515,103,0002,013,0002,392,064
10Jul 8, 2021 00:045,49385,584,69017,577,85402,281,472
11Jul 8, 2021 00:045,49670,782,23117,587,60702,273,280
12Jul 8, 2021 00:045,52871,352,76117,688,75102,269,184