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:46BenBenScore: 4,746Success
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:464,72532,426,06114,112,0001,008,0002,375,680
2Jul 30, 2024 11:464,73027,242,13814,128,0001,009,0002,371,584
3Jul 30, 2024 11:464,74137,275,45413,148,0002,022,0002,375,680
4Jul 30, 2024 11:464,74332,188,42914,167,0001,011,0002,383,872
5Jul 30, 2024 11:464,74432,106,51314,168,0001,012,0002,371,584
6Jul 30, 2024 11:464,74532,081,73013,159,0002,024,0002,379,776
7Jul 30, 2024 11:464,74644,994,41313,162,0002,025,0002,371,584
8Jul 30, 2024 11:464,76040,572,38214,218,0001,015,0002,265,088
9Jul 30, 2024 11:464,76934,476,93613,226,0002,034,0002,265,088
10Jul 30, 2024 11:464,95998,438,87315,869,74302,240,512
11Jul 30, 2024 11:464,98558,275,50315,951,55502,273,280
12Jul 30, 2024 11:464,98875,546,52015,961,62502,273,280