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 28, 2024 08:34BenBenScore: 4,962Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 08:344,95434,421,18315,853,00002,265,088
2Jul 28, 2024 08:344,95636,072,19514,868,000991,0002,265,088
3Jul 28, 2024 08:344,95837,557,75414,874,000991,0002,387,968
4Jul 28, 2024 08:344,95844,813,34014,876,000991,0002,265,088
5Jul 28, 2024 08:344,96040,820,97714,880,000992,0002,265,088
6Jul 28, 2024 08:344,96137,112,10614,884,000992,0002,383,872
7Jul 28, 2024 08:344,96233,118,15314,887,000992,0002,265,088
8Jul 28, 2024 08:344,96335,952,55014,889,000992,0002,387,968
9Jul 28, 2024 08:344,96432,617,64314,893,000992,0002,375,680
10Jul 28, 2024 08:345,15077,481,20416,480,00702,281,472
11Jul 28, 2024 08:345,17494,043,02616,556,50102,289,664
12Jul 28, 2024 08:345,18073,518,50416,577,11102,281,472