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:18BenBenScore: 5,538Success
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:185,50844,056,77416,588,0001,036,0002,375,680
2Jul 30, 2024 11:185,52343,372,48516,635,0001,039,0002,265,088
3Jul 30, 2024 11:185,52350,232,55716,635,0001,039,0002,375,680
4Jul 30, 2024 11:185,52739,197,92116,704,000982,0002,265,088
5Jul 30, 2024 11:185,53248,456,66116,660,0001,041,0002,379,776
6Jul 30, 2024 11:185,53237,599,75017,702,00002,265,088
7Jul 30, 2024 11:185,53849,270,99417,722,00002,265,088
8Jul 30, 2024 11:185,58146,382,57616,868,000992,0002,265,088
9Jul 30, 2024 11:185,58444,815,98016,876,000992,0002,265,088
10Jul 30, 2024 11:185,76784,134,08718,453,47702,273,280
11Jul 30, 2024 11:185,77588,080,63418,481,22802,277,376
12Jul 30, 2024 11:185,836120,442,77918,674,43302,281,472