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 20, 2024 17:30Matt StuchlikMatt StuchlikScore: 5,128Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 17:305,08437,773,51314,235,0002,033,0002,289,664
2Jul 20, 2024 17:305,09837,056,25014,274,0002,039,0002,289,664
3Jul 20, 2024 17:305,09836,821,18914,276,0002,039,0002,289,664
4Jul 20, 2024 17:305,10331,491,30514,289,0002,041,0002,379,776
5Jul 20, 2024 17:305,10640,809,92114,298,0002,042,0002,289,664
6Jul 20, 2024 17:305,11434,614,69415,343,0001,022,0002,289,664
7Jul 20, 2024 17:305,12841,370,55814,359,0002,051,0002,269,184
8Jul 20, 2024 17:305,13739,393,32314,384,0002,054,0002,265,088
9Jul 20, 2024 17:305,16232,892,28516,517,00002,363,392
10Jul 20, 2024 17:305,37473,507,47617,195,86402,293,760
11Jul 20, 2024 17:305,42469,895,58717,356,45202,293,760
12Jul 20, 2024 17:305,44088,807,13617,407,38102,285,568