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:44BenBenScore: 4,559Success
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:444,51937,270,78414,461,00002,363,392
2Jul 30, 2024 11:444,52432,348,07013,443,0001,034,0002,375,680
3Jul 30, 2024 11:444,53636,060,19413,479,0001,036,0002,375,680
4Jul 30, 2024 11:444,53741,411,05714,518,00002,379,776
5Jul 30, 2024 11:444,55231,355,23314,566,00002,265,088
6Jul 30, 2024 11:444,55633,998,70014,580,00002,375,680
7Jul 30, 2024 11:444,55936,260,40914,589,00002,379,776
8Jul 30, 2024 11:444,56436,567,01513,562,0001,043,0002,371,584
9Jul 30, 2024 11:444,58232,269,89914,661,00002,260,992
10Jul 30, 2024 11:444,78799,910,75315,319,32202,396,160
11Jul 30, 2024 11:444,81579,805,88015,408,08802,269,184
12Jul 30, 2024 11:444,82660,626,04115,443,43802,269,184