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 13:00BenBenScore: 4,585Success
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 13:004,56646,029,01813,569,0001,043,0002,269,184
2Jul 28, 2024 13:004,56931,973,03613,578,0001,044,0002,265,088
3Jul 28, 2024 13:004,57432,384,86513,592,0001,045,0002,265,088
4Jul 28, 2024 13:004,57930,761,58413,607,0001,046,0002,265,088
5Jul 28, 2024 13:004,58131,925,07213,613,0001,047,0002,392,064
6Jul 28, 2024 13:004,58341,711,23513,619,0001,047,0002,392,064
7Jul 28, 2024 13:004,58540,473,26714,671,00002,527,232
8Jul 28, 2024 13:004,60134,901,10014,724,00002,265,088
9Jul 28, 2024 13:004,60635,631,49514,740,00002,265,088
10Jul 28, 2024 13:004,81287,255,15015,397,02002,289,664
11Jul 28, 2024 13:004,83360,842,88315,464,24702,277,376
12Jul 28, 2024 13:004,83982,164,24015,484,66702,293,760