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 listAug 24, 2024 20:24Charlie ShepherdCharlie ShepherdScore: 5,398Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 24, 2024 20:245,34242,163,19115,083,0002,011,0002,367,488
2Aug 24, 2024 20:245,35636,905,95916,131,0001,008,0002,371,584
3Aug 24, 2024 20:245,36042,241,92215,135,0002,018,0002,293,760
4Aug 24, 2024 20:245,36440,566,15815,147,0002,019,0002,371,584
5Aug 24, 2024 20:245,36538,865,83615,149,0002,019,0002,293,760
6Aug 24, 2024 20:245,37539,421,04215,178,0002,023,0002,293,760
7Aug 24, 2024 20:245,39837,459,04215,240,0002,032,0002,375,680
8Aug 24, 2024 20:245,40139,716,66117,283,00002,371,584
9Aug 24, 2024 20:245,40245,552,28315,254,0002,033,0002,367,488
10Aug 24, 2024 20:245,63382,814,78618,024,66602,248,704
11Aug 24, 2024 20:245,64395,452,34118,056,21102,236,416
12Aug 24, 2024 20:245,66091,889,47218,113,39902,379,776