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:32BenBenScore: 5,282Success
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:325,27346,919,70414,888,0001,985,0002,265,088
2Jul 30, 2024 11:325,27345,152,32814,888,0001,985,0002,371,584
3Jul 30, 2024 11:325,27442,769,73815,885,000992,0002,363,392
4Jul 30, 2024 11:325,27736,631,89915,892,000993,0002,265,088
5Jul 30, 2024 11:325,28035,868,79514,909,0001,987,0002,375,680
6Jul 30, 2024 11:325,28034,288,40114,909,0001,987,0002,265,088
7Jul 30, 2024 11:325,28242,245,28315,908,000994,0002,379,776
8Jul 30, 2024 11:325,28342,935,20015,911,000994,0002,523,136
9Jul 30, 2024 11:325,29447,253,18615,944,000996,0002,379,776
10Jul 30, 2024 11:325,50572,704,96717,615,31202,273,280
11Jul 30, 2024 11:325,53188,292,69017,698,27302,273,280
12Jul 30, 2024 11:325,55572,637,93417,777,00202,260,992