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:31BenBenScore: 5,279Success
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:315,26947,174,04914,878,0001,983,0002,367,488
2Jul 30, 2024 11:315,27139,902,41615,876,000992,0002,498,560
3Jul 30, 2024 11:315,27545,372,34214,895,0001,986,0002,265,088
4Jul 30, 2024 11:315,27644,401,87414,897,0001,986,0002,527,232
5Jul 30, 2024 11:315,27844,977,30115,897,000993,0002,383,872
6Jul 30, 2024 11:315,27946,412,82815,899,000993,0002,379,776
7Jul 30, 2024 11:315,27937,663,23514,905,0001,987,0002,265,088
8Jul 30, 2024 11:315,27943,048,52015,901,000993,0002,383,872
9Jul 30, 2024 11:315,29437,655,00915,946,000996,0002,265,088
10Jul 30, 2024 11:315,54490,314,89417,741,15702,273,280
11Jul 30, 2024 11:315,57058,439,03617,823,78702,269,184
12Jul 30, 2024 11:315,61680,768,53417,972,14502,269,184