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:22Charlie 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:225,34738,241,34416,105,0001,006,0002,293,760
2Aug 24, 2024 20:225,36738,326,15716,163,0001,010,0002,293,760
3Aug 24, 2024 20:225,36940,313,45716,171,0001,010,0002,293,760
4Aug 24, 2024 20:225,37538,097,49315,178,0002,023,0002,371,584
5Aug 24, 2024 20:225,38137,553,94516,206,0001,012,0002,293,760
6Aug 24, 2024 20:225,38338,606,53516,214,0001,013,0002,293,760
7Aug 24, 2024 20:225,39843,132,76016,256,0001,016,0002,375,680
8Aug 24, 2024 20:225,42249,090,20616,329,0001,020,0002,293,760
9Aug 24, 2024 20:225,43935,532,30716,382,0001,023,0002,367,488
10Aug 24, 2024 20:225,62457,262,91117,997,83802,260,992
11Aug 24, 2024 20:225,63087,939,00418,016,95302,363,392
12Aug 24, 2024 20:225,68970,580,92418,203,69002,240,512