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 30, 2024 11:45BenBenScore: 4,898Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 11:454,85932,827,84114,512,0001,036,0002,379,776
2Jul 30, 2024 11:454,86539,372,31214,530,0001,037,0002,379,776
3Jul 30, 2024 11:454,87032,079,92215,584,00002,375,680
4Jul 30, 2024 11:454,87635,306,81714,564,0001,040,0002,379,776
5Jul 30, 2024 11:454,88444,262,61315,628,00002,375,680
6Jul 30, 2024 11:454,88833,322,81015,642,00002,265,088
7Jul 30, 2024 11:454,89835,255,95415,673,00002,379,776
8Jul 30, 2024 11:454,91335,433,97114,673,0001,048,0002,265,088
9Jul 30, 2024 11:454,91942,995,66315,742,00002,371,584
10Jul 30, 2024 11:455,05579,839,57316,176,02502,265,088
11Jul 30, 2024 11:455,09472,795,68016,299,98102,269,184
12Jul 30, 2024 11:455,12580,323,85516,401,22702,273,280