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 31, 2024 04:32BenBenScore: 4,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2024 04:324,64130,832,68813,862,000990,0002,371,584
2Jul 31, 2024 04:324,64240,998,46013,864,000990,0002,379,776
3Jul 31, 2024 04:324,64833,283,05414,872,00002,379,776
4Jul 31, 2024 04:324,64839,618,84113,882,000991,0002,265,088
5Jul 31, 2024 04:324,64829,534,60413,883,000991,0002,375,680
6Jul 31, 2024 04:324,64835,739,84912,891,0001,983,0002,265,088
7Jul 31, 2024 04:324,64834,703,38213,883,000991,0002,379,776
8Jul 31, 2024 04:324,64929,682,80214,877,00002,371,584
9Jul 31, 2024 04:324,65234,144,17514,886,00002,265,088
10Jul 31, 2024 04:324,90083,579,54715,681,28602,273,280
11Jul 31, 2024 04:324,91867,262,32715,737,49702,265,088
12Jul 31, 2024 04:324,95264,907,95915,845,86302,269,184