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 12:25BenBenScore: 4,651Success
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 12:254,60542,394,83014,735,00002,265,088
2Jul 30, 2024 12:254,60538,586,65614,736,00002,265,088
3Jul 30, 2024 12:254,60740,769,29013,689,0001,053,0002,375,680
4Jul 30, 2024 12:254,63241,265,76212,847,0001,976,0002,265,088
5Jul 30, 2024 12:254,64431,444,42413,871,000990,0002,265,088
6Jul 30, 2024 12:254,64638,502,25213,876,000991,0002,383,872
7Jul 30, 2024 12:254,65136,849,39814,883,00002,387,968
8Jul 30, 2024 12:254,65132,217,54713,891,000992,0002,379,776
9Jul 30, 2024 12:254,65143,165,59512,900,0001,984,0002,379,776
10Jul 30, 2024 12:254,87868,947,54115,609,70602,277,376
11Jul 30, 2024 12:254,880100,870,14515,616,69802,277,376
12Jul 30, 2024 12:254,97695,314,47415,924,70202,277,376